/* How-To tutorials — self-contained (does NOT load style.css: this page must stay light).
   Tokens mirror public/style.css :root so it reads as the same product. */
:root {
  --navy: #0f172a; --navy-light: #1e293b; --blue: #3b82f6; --blue-light: #eff6ff;
  --teal: #14b8a6; --red: #ef4444; --orange: #f97316; --yellow: #f59e0b;
  --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0; --gray-300: #cbd5e1;
  --gray-400: #94a3b8; --gray-600: #475569; --gray-700: #334155; --gray-800: #1e293b; --white: #fff;
  --shadow: 0 1px 2px rgba(15,23,42,.06); --shadow-md: 0 4px 12px rgba(15,23,42,.10);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.16); --radius: 10px; --radius-lg: 14px;
  --accent: #f97316; /* overlay ink: warm orange reads on navy AND white UI */
  --topbar-h: 56px; --nav-w: 272px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--gray-800); background: var(--gray-50); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }

/* ── Buttons ── */
.ht-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap; }
.ht-btn-primary { background: var(--blue); color: var(--white); }
.ht-btn-primary:hover { background: #2563eb; }
.ht-btn-primary:disabled { opacity: .6; cursor: default; }
.ht-btn-ghost { background: transparent; color: var(--gray-200); border-color: rgba(255,255,255,.18); }
.ht-btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }
.ht-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius); border: 0; background: transparent; color: inherit; cursor: pointer; }
.ht-icon-btn:hover { background: rgba(15,23,42,.06); }

/* ── Sign-in ── */
.ht-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%); }
.ht-login-box { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 6px; }
.ht-login-brand { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.ht-login-brand h1 { margin: 0; font-size: 20px; }
.ht-login-brand p { margin: 2px 0 0; color: var(--gray-600); font-size: 14px; }
.ht-login-box label { font-size: 13px; font-weight: 600; color: var(--gray-700); margin-top: 8px; }
.ht-login-box input { padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius); font: inherit; }
.ht-login-box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
.ht-login-box .ht-btn { margin-top: 16px; justify-content: center; padding: 11px; }
.ht-login-error { color: var(--red); font-size: 13px; margin: 6px 0 0; }
.ht-login-help { text-align: center; font-size: 13px; color: var(--gray-600); margin: 12px 0 0; }
.ht-login-back { text-align: center; font-size: 13px; margin-top: 10px; }
.ht-logo-dot { flex: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--teal)); display: inline-block; }

/* ── App frame ── */
.ht-app { min-height: 100vh; display: flex; flex-direction: column; }
.ht-topbar { position: sticky; top: 0; z-index: 20; height: var(--topbar-h); background: var(--navy); color: var(--white); display: flex; align-items: center; gap: 12px; padding: 0 16px; box-shadow: var(--shadow-md); }
.ht-nav-toggle { display: none; color: var(--white); }
.ht-nav-toggle:hover { background: rgba(255,255,255,.1); }
.ht-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; font-size: 15px; }
.ht-brand .ht-logo-dot { width: 26px; height: 26px; border-radius: 8px; }
.ht-brand-sep { color: var(--gray-400); }
.ht-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ht-lang { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 8px; padding: 2px; }
.ht-lang button { border: 0; background: transparent; color: var(--gray-300); padding: 5px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; }
.ht-lang button.active { background: var(--white); color: var(--navy); }

.ht-body { flex: 1; display: flex; }
.ht-nav { width: var(--nav-w); flex: none; background: var(--white); border-right: 1px solid var(--gray-200); padding: 18px 12px 32px; position: sticky; top: var(--topbar-h); height: calc(100vh - var(--topbar-h)); overflow-y: auto; }
.ht-nav-section { margin-bottom: 18px; }
.ht-nav-section-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); padding: 0 10px 6px; }
.ht-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--gray-700); font-size: 14px; font-weight: 500; }
.ht-nav a:hover { background: var(--gray-100); }
.ht-nav a.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.ht-nav-num { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--gray-100); color: var(--gray-600); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ht-nav a.active .ht-nav-num { background: var(--blue); color: var(--white); }
.ht-nav-soon { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--gray-400); font-size: 14px; }
.ht-nav-soon .ht-nav-num { opacity: .5; }

.ht-main { flex: 1; min-width: 0; padding: 32px 40px 80px; }
.ht-status { color: var(--gray-600); }

/* ── Home ── */
.ht-home { max-width: 920px; }
.ht-home h1 { font-size: 26px; margin: 0 0 6px; }
.ht-home > p { color: var(--gray-600); margin: 0 0 28px; max-width: 640px; }
.ht-home-section h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin: 26px 0 10px; }
.ht-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ht-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 18px; color: inherit; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s; }
.ht-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.ht-card h3 { margin: 0; font-size: 16px; }
.ht-card p { margin: 0; color: var(--gray-600); font-size: 14px; }
.ht-card-meta { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--gray-400); font-weight: 600; }

/* ── Article ── */
.ht-article { max-width: 920px; }
.ht-crumb { font-size: 13px; color: var(--gray-400); margin-bottom: 8px; }
.ht-article-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.ht-article h1 { font-size: 28px; margin: 0; line-height: 1.2; }
.ht-article-actions { margin-left: auto; display: flex; gap: 8px; flex: none; }
.ht-btn-outline { background: var(--white); color: var(--gray-700); border-color: var(--gray-300); }
.ht-btn-outline:hover { background: var(--gray-100); }
.ht-summary { color: var(--gray-600); font-size: 16px; margin: 0 0 28px; max-width: 700px; }

.ht-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; margin-bottom: 36px; scroll-margin-top: calc(var(--topbar-h) + 16px); }
.ht-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: var(--shadow-md); }
.ht-step-text { font-size: 17px; font-weight: 500; margin: 6px 0 14px; }
.ht-step-text code, .ht-step-text kbd { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 6px; padding: 1px 6px; font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ht-step-note { font-size: 14px; color: var(--gray-600); margin: -6px 0 14px; }

/* ── Figure + overlays ── */
.ht-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); background: var(--gray-100); line-height: 0; }
.ht-figure img { display: block; width: 100%; height: auto; }
.ht-frames { position: relative; }
.ht-frames img { position: absolute; inset: 0; top: 0; left: 0; opacity: 0; transition: opacity .35s ease; }
.ht-frames img.current { opacity: 1; }
.ht-frames img.sizer { position: relative; opacity: 0; }
.ht-frames img.sizer.current { opacity: 1; }
.ht-overlay-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ht-overlay-svg .ht-box { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; paint-order: stroke; filter: drop-shadow(0 0 1.5px rgba(15,23,42,.6)); }
.ht-overlay-svg .ht-dim { fill: rgba(15,23,42,.26); }
.ht-overlay-svg .ht-arrow { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ht-overlay-svg .ht-arrow-head { fill: var(--accent); }
.ht-overlay-svg .ht-zoom-src { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }

.ht-marker { position: absolute; pointer-events: none; transform: translate(-50%, -50%); }
.ht-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--navy); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--accent), var(--shadow-md); line-height: 1; }
.ht-callout { transform: translate(-50%, calc(-100% - 14px)); background: var(--navy); color: var(--white); font-size: 13px; font-weight: 500; line-height: 1.35; padding: 8px 12px; border-radius: 8px; width: max-content; max-width: 240px; box-shadow: var(--shadow-lg); white-space: normal; }
.ht-callout::after { content: ""; position: absolute; left: var(--tail, 50%); top: 100%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--navy); }
.ht-callout.tone-success { background: #14532d; }
.ht-callout.tone-success::before { content: "✓ "; font-weight: 700; }
.ht-callout.tone-success::after { border-top-color: #14532d; }
.ht-callout.tone-success.dir-up::after { border-top-color: transparent; border-bottom-color: #14532d; }
.ht-callout.tone-success.dir-left::after { border-color: transparent #14532d transparent transparent; }
.ht-callout.tone-success.dir-right::after { border-color: transparent transparent transparent #14532d; }
.ht-figure.loading .ht-demo-chip::before { border: 2px solid var(--gray-300); border-top-color: var(--blue); background: transparent; animation: ht-spin .8s linear infinite; }
@keyframes ht-spin { to { transform: rotate(360deg); } }
.ht-callout.dir-up { transform: translate(-50%, 14px); }
.ht-callout.dir-up::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--navy); }
.ht-callout.dir-left { transform: translate(14px, -50%); }
.ht-callout.dir-left::after { left: auto; right: 100%; top: 50%; transform: translateY(-50%); border-color: transparent var(--navy) transparent transparent; }
.ht-callout.dir-right { transform: translate(calc(-100% - 14px), -50%); }
.ht-callout.dir-right::after { left: 100%; top: 50%; transform: translateY(-50%); border-color: transparent transparent transparent var(--navy); }

.ht-click { width: 26px; height: 26px; border-radius: 50%; background: rgba(249,115,22,.16); border: 3px solid var(--accent); box-shadow: 0 0 0 1.5px var(--white); }
.ht-click::before, .ht-click::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent); animation: ht-pulse 1.5s ease-out infinite; }
.ht-click::after { animation-delay: .75s; }
.ht-figure.paused .ht-click::before, .ht-figure.paused .ht-click::after { animation-play-state: paused; }
@keyframes ht-pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.ht-marker, .ht-type-text { transition: opacity .25s ease; }
.ht-marker[hidden] { display: block !important; opacity: 0; pointer-events: none; }
.ht-overlay-svg .ht-timed { transition: opacity .25s ease; }
.ht-overlay-svg .is-hidden { opacity: 0; }
.ht-cursor.is-hidden { opacity: 0; }

.ht-cursor { width: 26px; height: 30px; transform: translate(-4px, -2px); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }

.ht-zoom { position: absolute; border: 3px solid var(--accent); border-radius: 12px; box-shadow: var(--shadow-lg), 0 0 0 3px rgba(255,255,255,.9); background-repeat: no-repeat; background-color: var(--white); pointer-events: none; overflow: hidden; }

.ht-figure-wrap { margin: 0 auto 0 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); background: var(--white); }
.ht-figure-wrap .ht-figure, .ht-figure-wrap .ht-browser { border-radius: 0; border: 0; box-shadow: none; }
.ht-figure-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--gray-100); border-top: 1px solid var(--gray-200); flex-wrap: wrap; }
.ht-demo-chip { white-space: nowrap; }
.ht-demo-chip { font-size: 13px; font-weight: 500; color: var(--gray-600); display: inline-flex; align-items: center; gap: 6px; }
.ht-demo-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gray-400); }
.ht-figure-controls button:focus-visible, .ht-btn:focus-visible, .ht-lang button:focus-visible, .ht-nav a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ht-figure-controls { display: flex; gap: 8px; }
.ht-figure-controls button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--gray-300); border-radius: 8px; background: var(--white); color: var(--gray-800); font-size: 14px; font-weight: 600; padding: 7px 12px; cursor: pointer; line-height: 1; }
.ht-figure-controls button:hover { border-color: var(--navy); }
.ht-figure-controls svg { width: 14px; height: 14px; fill: currentColor; }
.ht-frame-dots { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 5px; pointer-events: none; }
.ht-frame-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(15,23,42,.3); }
.ht-frame-dots span.current { background: var(--accent); }

.ht-article-foot { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--gray-200); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ht-article-foot a { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); color: inherit; min-width: 200px; }
.ht-article-foot a:hover { border-color: var(--blue); }
.ht-article-foot small { color: var(--gray-400); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.ht-article-foot .next { margin-left: auto; text-align: right; }
.ht-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); z-index: 50; }

@media (prefers-reduced-motion: reduce) {
  .ht-click::before, .ht-click::after, .ht-cursor.tap::after { animation: none; opacity: .6; transform: none; }
}
@media (max-width: 900px) {
  .ht-nav-toggle { display: inline-flex; }
  .ht-nav { position: fixed; left: 0; top: var(--topbar-h); z-index: 15; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .ht-nav.open { transform: none; }
  .ht-main { padding: 20px 16px 60px; }
  .ht-article h1 { font-size: 22px; }
  .ht-brand-name, .ht-brand-sep { display: none; }
  .ht-btn-ghost span { display: none; }
  .ht-step { grid-template-columns: 34px 1fr; gap: 10px; }
  .ht-step-num { width: 30px; height: 30px; font-size: 13px; }
  .ht-step-text { font-size: 15px; }
  .ht-callout { max-width: 170px; font-size: 12px; padding: 6px 9px; }
  .ht-click { width: 34px; height: 34px; }
  .ht-article-head { flex-wrap: wrap; }
  .ht-article-actions { margin-left: 0; width: 100%; }
  .ht-article-actions .ht-btn { flex: 1; justify-content: center; }
  .ht-browser-tab { display: none; }
}
@media print {
  .ht-topbar, .ht-nav, .ht-article-actions, .ht-figure-controls, .ht-article-foot, .ht-frame-dots { display: none !important; }
  .ht-overlay-svg .ht-dim { display: none; }
  .ht-callout, .ht-step-num, .ht-badge, .ht-type, .ht-click, .ht-topbar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ht-main { padding: 0; }
  .ht-step { break-inside: avoid; }
}

/* ── Browser chrome around a screenshot ── */
.ht-browser { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-300); box-shadow: var(--shadow-md); background: var(--gray-200); }
.ht-browser .ht-figure { border-radius: 0; border: 0; box-shadow: none; }
.ht-browser-bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 10px; background: var(--gray-200); }
.ht-browser-tab { display: inline-flex; align-items: center; gap: 7px; background: var(--white); border-radius: 8px 8px 0 0; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--gray-700); margin-bottom: -8px; align-self: flex-end; }
.ht-browser-tab-dot { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--blue), var(--teal)); }
.ht-browser-nav { color: var(--gray-400); display: inline-flex; }
.ht-browser-url { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--gray-300); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--gray-800); min-height: 32px; font-weight: 500; }
.ht-browser-lock { color: var(--gray-600); display: inline-flex; }
.ht-browser-url-text::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--gray-800); margin-left: 1px; vertical-align: -2px; animation: ht-caret 1s step-end infinite; }
.ht-browser-url-text:not(.ht-typing-run):not(:empty)::after { display: none; }
@keyframes ht-caret { 50% { opacity: 0; } }

/* ── Simulated typing over an input ── */
.ht-type { position: absolute; display: flex; align-items: center; box-sizing: border-box; padding: 0 0 0 .85em; background: var(--white); background-clip: padding-box; border: 2px solid transparent; border-radius: 6px; color: var(--gray-800); font-family: inherit; font-weight: 400; line-height: 1; overflow: hidden; pointer-events: none; }
.ht-type-text { white-space: pre; letter-spacing: .01em; }
.ht-type-caret { width: 2px; height: 55%; background: var(--gray-800); margin-left: 2px; opacity: 0; }
.ht-type.typing .ht-type-caret { opacity: 1; animation: ht-caret 1s step-end infinite; }
.ht-figure-controls button + button { margin-left: 0; }

/* ── Tips, learn-more, step completion, progress ── */
.ht-tip { display: flex; gap: 10px; align-items: flex-start; background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid var(--yellow); border-radius: var(--radius); padding: 10px 14px; margin: 12px 0 0; font-size: 14px; color: #713f12; }
.ht-tip-icon { flex: none; font-size: 16px; line-height: 1.3; }
.ht-tip strong { color: #92400e; }
.ht-more { margin: 12px 0 0; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); }
.ht-more summary { cursor: pointer; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--gray-700); list-style: none; display: flex; align-items: center; gap: 8px; }
.ht-more summary::-webkit-details-marker { display: none; }
.ht-more summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--gray-400); border-bottom: 2px solid var(--gray-400); transform: rotate(-45deg); transition: transform .15s; margin-left: 2px; }
.ht-more[open] summary::before { transform: rotate(45deg); }
.ht-more-body { padding: 0 14px 12px; font-size: 14px; color: var(--gray-700); line-height: 1.55; }
.ht-more-body p { margin: 0 0 8px; }
.ht-step-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.ht-done-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--gray-300); background: var(--white); color: var(--gray-700); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ht-done-btn:hover { border-color: var(--blue); color: var(--blue); }
.ht-done-btn .ht-done-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.ht-step.is-answered .ht-done-btn { background: #dcfce7; border-color: #86efac; color: #166534; }
.ht-step.is-answered .ht-done-btn .ht-done-check { background: #16a34a; border-color: #16a34a; color: var(--white); }
.ht-step.is-answered .ht-step-num { background: #16a34a; }
.ht-progress { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-600); margin: 0 0 20px; }
.ht-progress-bar { flex: 1; max-width: 260px; height: 6px; border-radius: 999px; background: var(--gray-200); overflow: hidden; }
.ht-progress-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 999px; transition: width .4s ease; }
.ht-complete { margin: 8px 0 20px; padding: 16px 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #ecfdf5, #eff6ff); border: 1px solid #a7f3d0; display: flex; align-items: center; gap: 14px; }
.ht-complete strong { display: block; font-size: 16px; color: #065f46; }
.ht-complete span { font-size: 14px; color: var(--gray-700); }
.ht-sound { color: var(--gray-300); }
.ht-sound:hover { background: rgba(255,255,255,.1); color: var(--white); }
.ht-sound[aria-pressed="true"] { color: var(--white); }
.ht-sound .ht-sound-on { display: none; }
.ht-sound[aria-pressed="true"] .ht-sound-on { display: block; }
.ht-sound[aria-pressed="true"] .ht-sound-off { display: none; }
.ht-benefit { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #065f46; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 999px; padding: 3px 10px; margin: 8px 8px 0 0; }
.ht-type.multiline { align-items: flex-start; padding-top: .55em; }
.ht-type.multiline .ht-type-text { white-space: pre-wrap; word-break: break-word; line-height: 1.35; }
@media print { .ht-done-btn, .ht-progress, .ht-sound { display: none !important; } .ht-more[open] summary::before { display: none; } .ht-more:not([open]) .ht-more-body { display: block; } }
