:root{font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif;color:var(--text,#183434);background:var(--page-bg,#f5f4ee);font-synthesis:none;--study-text-size:19px;--site-gutter:clamp(22px,4vw,64px);--header-height:100px;line-height:1.5}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + 24px)}
body{overflow-wrap:break-word}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button,select{touch-action:manipulation}
*{box-sizing:border-box}
body{margin:0}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:var(--accent,#175c55);text-underline-offset:4px}
button:disabled{cursor:not-allowed;opacity:.55}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
h1,h2,h3{font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif;letter-spacing:-.045em}
h1{font-size:clamp(48px,6.5vw,104px);line-height:1.05;font-weight:700;margin:0;letter-spacing:-.06em;text-wrap:balance}
h2{font-size:clamp(30px,3.1vw,48px);line-height:1.15;margin:0 0 18px;text-wrap:balance}
h3{font-size:22px;line-height:1.3}
:focus-visible{outline:2px solid var(--focus,#cf8861);outline-offset:4px}
.page-shell{width:100%;margin:auto;padding:0 var(--site-gutter)}
.site-header.site-header{position:sticky;top:0;z-index:30;background:var(--page-bg);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px 24px;min-height:100px;margin:0 calc(-1 * var(--site-gutter));padding:22px var(--site-gutter);border-bottom:1px solid var(--border)}
.brand{display:flex;align-items:center;white-space:nowrap;text-decoration:none;color:var(--text);font-size:25px;font-weight:700;letter-spacing:-1.1px}
.brand-light{font-weight:400;color:var(--text-muted)}
.brand-mark{display:inline-grid;place-items:center;width:36px;height:36px;margin-right:9px;color:var(--accent)}
.brand-mark svg{display:block;width:34px;height:34px}
.site-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}
.site-nav a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 12px;border-bottom:2px solid transparent;color:var(--text-muted);text-decoration:none;font-size:14px;font-weight:600}
.site-nav a:hover{color:var(--text);border-bottom-color:var(--border)}
.site-nav a[aria-current="page"]{color:var(--text);border-bottom-color:var(--warm-accent)}
.site-nav #header-material-count{font-size:11px;font-variant-numeric:tabular-nums;min-width:22px;padding:2px 5px;background:var(--surface-tinted);border-radius:3px}
.header-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;position:relative}
.header-library{font-size:12px;font-weight:600;text-decoration:none}
.interface-language,.interface-theme{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-muted)}
.interface-language select,.interface-theme select{border:1px solid var(--border);border-radius:4px;padding:10px;color:var(--text);background:var(--surface);font-size:13px;min-height:44px}
.interface-language select{width:72px;padding:10px 8px;font-weight:700;letter-spacing:.02em;cursor:pointer}
.theme-toggle{display:inline-grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:10px;border:1px solid var(--border);border-radius:50%;background:transparent;color:var(--text)}
.theme-toggle:hover{background:var(--surface-hover)}
.theme-icon{width:22px;height:22px;display:block}
.theme-icon-sun{display:none}
:root[data-theme="dark"] .theme-icon-sun{display:block}
:root[data-theme="dark"] .theme-icon-moon{display:none}
.header-tools .interface-language>span,.header-tools .interface-theme>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ui-language-status{position:absolute;right:0;top:100%;padding:8px;background:var(--surface,#fff);color:var(--error-text,#9a4d3f);font-size:12px;max-width:280px;z-index:5}
.skip-link{position:fixed;top:8px;left:20px;z-index:20;padding:12px 16px;border-radius:4px;background:var(--primary,#175c55);color:var(--on-primary,#fff);transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
main{min-height:calc(100dvh - 270px);padding:0 0 60px;scroll-margin-top:20px}
main:focus{outline:none}
.primary-button,.secondary-button,.account-button{padding:10px 14px;min-height:44px;font-size:13px;white-space:nowrap}
.primary-button{border:1px solid var(--primary,#175c55);background:var(--primary,#175c55);color:var(--on-primary,#fff)}
.primary-button:hover{background:var(--primary-hover,#0e4942)}
.secondary-button,.account-button{border:1px solid var(--border,#bbd0c4);background:var(--surface,#fff);color:var(--accent,#175c55)}
.secondary-button:hover,.account-button:hover{background:var(--surface-hover,#edf5ee)}
.account-button{padding:10px 14px;min-height:44px;font-size:12px}
/* The expanded navigation preserves the same links and account controls. */
.experience-ready .site-header.site-header{grid-template-columns:1fr auto;min-height:92px;gap:16px}
.experience-ready .header-tools{grid-column:2;grid-row:1}
.site-header::after{content:"";position:absolute;bottom:-1px;left:0;height:2px;width:calc(var(--page-progress,0) * 100%);max-width:100%;background:var(--warm-accent);pointer-events:none}
.reading-cue{position:absolute;left:var(--site-gutter);bottom:6px;max-width:32ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:var(--text-muted)}
.menu-toggle{display:inline-flex;align-items:center;gap:16px;min-height:44px;padding:10px 14px;border:1px solid var(--border);border-radius:4px;color:var(--text);background:transparent;font-size:13px;font-weight:700}
.menu-toggle:hover{background:var(--surface-hover)}
.menu-glyph{display:flex;flex-direction:column;gap:5px;width:18px}
.menu-glyph i{display:block;width:18px;height:1.5px;background:currentColor;transition:transform .45s cubic-bezier(.6,0,0,1)}
.menu-toggle[aria-expanded="true"] .menu-glyph i:first-child{transform:translateY(3.25px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] .menu-glyph i:last-child{transform:translateY(-3.25px) rotate(-45deg)}
.site-menu{position:fixed;z-index:25;inset:var(--header-height) 0 0;overflow:auto;overscroll-behavior:contain;background:var(--page-bg);padding:clamp(28px,4vw,64px) var(--site-gutter) 32px;display:grid;grid-template-columns:minmax(200px,.65fr) minmax(0,1.35fr);gap:32px 64px;align-content:start}
.menu-intro{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.menu-intro h2{font-size:16px;font-weight:400;letter-spacing:0;margin:0}
.menu-intro p{font-size:clamp(20px,2.4vw,32px);max-width:18ch;line-height:1.3;color:var(--text-muted);margin:0}
.menu-close{display:flex;align-items:center;gap:24px;min-height:44px;padding:10px 0;background:none;border:0;color:var(--text);font-size:13px}
.menu-close span:last-child{font-size:24px}
.menu-navigation-slot{min-width:0}
.site-menu .site-nav{display:flex;flex-direction:column;align-items:stretch;gap:0}
.site-menu .site-nav a{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--separator);min-height:76px;font-size:clamp(30px,4.6vw,68px);line-height:1.12;font-weight:500;letter-spacing:-.055em;color:var(--text)}
.site-menu .site-nav a[aria-current="page"]{border-bottom-color:var(--warm-accent)}
.site-menu .site-nav #header-material-count{font-size:14px;letter-spacing:0;align-self:center;margin-left:auto;margin-right:20px}
.menu-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:24px}
.menu-bottom .legal-links{font-size:12px;max-width:58ch}
.link-roll{position:relative;display:inline-block;overflow:hidden;vertical-align:bottom;line-height:1.3}
.roll-original,.roll-copy{display:block;transition:transform .5s cubic-bezier(.6,0,0,1)}
.roll-copy{position:absolute;inset:0;transform:translateY(115%);pointer-events:none}
@media(hover:hover){a:hover .roll-original{transform:translateY(-115%)}a:hover .roll-copy{transform:translateY(0)}a:hover .action-arrow{transform:rotate(-45deg)}}
a:focus-visible .roll-original{transform:translateY(-115%)}
a:focus-visible .roll-copy{transform:translateY(0)}
.action-arrow{display:inline-block;font-size:22px;line-height:1;margin-left:18px;transition:transform .5s cubic-bezier(.6,0,0,1);flex-shrink:0}
.site-menu .action-arrow{font-size:36px;margin-left:24px}
.view-curtain{position:fixed;z-index:20;inset:var(--header-height) 0 0;display:flex;align-items:flex-end;padding:clamp(28px,5vw,72px) var(--site-gutter);background:var(--hero-bg);color:var(--hero-text);pointer-events:none;will-change:clip-path}
.view-curtain span{font-size:clamp(40px,7vw,104px);line-height:1.1;letter-spacing:-.055em;max-width:23ch}
/* A full-width composition: oversized words above a usable lesson example. */
.hero{min-height:calc(100svh - var(--header-height));position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px clamp(32px,6vw,100px);margin:0 calc(-1 * var(--site-gutter));padding:clamp(40px,4.5vw,72px) var(--site-gutter) 40px;background:var(--hero-bg);color:var(--hero-text)}
.hero-heading{grid-column:1/-1;max-width:1500px}
.hero h1{max-width:25ch}
.hero-line-mask{display:block;overflow:hidden;padding-bottom:.09em;margin-bottom:-.09em}
.hero-line{display:block;transform:none}
.experience-ready:not(.motion-reduced) .hero-line{animation:hero-line-enter 1.1s cubic-bezier(.6,0,0,1) both}
.experience-ready:not(.motion-reduced) .hero-line-mask:nth-child(2) .hero-line{animation-delay:.08s}
@keyframes hero-line-enter{from{transform:translateY(115%)}to{transform:translateY(0)}}
.hero-scroll-cue{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:44px;padding-top:24px;border-top:1px solid var(--cover-line);color:var(--hero-muted);font-size:12px;text-decoration:none}
.hero-scroll-cue svg{display:block;width:24px;height:24px;flex-shrink:0}
.hero-copy{max-width:650px;align-self:center}
.eyebrow{font-size:14px;font-weight:500;margin:0 0 24px;color:var(--hero-muted)}
.hero-promise{max-width:52ch;font-size:13px;line-height:1.75;color:var(--hero-muted);margin:24px 0 12px}
.hero-library-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--hero-text)}
.hero-description{max-width:46ch;font-size:clamp(18px,1.5vw,22px);line-height:1.65;color:var(--hero-muted);margin:0}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:30px}
.hero .primary-button{background:var(--hero-action);border-color:var(--hero-action);color:var(--hero-on-action)}
.hero .primary-button:hover{background:var(--hero-action-hover);border-color:var(--hero-action-hover)}
#hero-try-demo{display:inline-flex;align-items:center;min-height:44px;padding:10px 0;font-size:14px;font-weight:600;color:var(--hero-text)}
.hero-actions #hero-try-demo{flex-basis:100%;width:max-content}
.hero :focus-visible{outline-color:var(--cover-warm)}
.demo-lesson{min-width:0;scroll-margin-top:28px;background:var(--cover-bg);color:var(--cover-text);padding:32px;border-top:2px solid var(--cover-warm);border-radius:0 0 4px 4px}
.demo-topline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:14px;line-height:1.5}
.demo-topline label{font-weight:650}
.demo-topline select{max-width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--cover-line);border-radius:4px;background:var(--cover-label-bg);color:var(--cover-text);font-size:13px}
.demo-caption{font-size:13px;line-height:1.6;color:var(--cover-muted);margin:24px 0 8px}
.demo-transcript{min-height:120px;display:flex;flex-wrap:wrap;align-content:center;align-items:center;gap:4px;margin:8px -6px 24px;font-size:clamp(27px,2.6vw,40px);font-weight:600;line-height:1.5;letter-spacing:-.04em}
.demo-word{min-height:44px;max-width:100%;border:0;border-radius:3px;background:transparent;color:inherit;padding:2px 6px;font:inherit;letter-spacing:inherit;overflow-wrap:anywhere;transition:background .15s ease,color .15s ease}
.demo-word:hover{background:var(--cover-label-bg)}
.demo-word.active{background:var(--cover-warm);color:var(--hero-bg)}
.demo-word:focus-visible,.demo-topline select:focus-visible{outline-color:var(--cover-warm)}
.demo-definition{padding:20px 22px;border-radius:3px;background:var(--surface);color:var(--text)}
.demo-definition strong{display:block;font-size:25px;line-height:1.35;letter-spacing:-.03em;overflow-wrap:anywhere}
.demo-definition p{font-size:19px;line-height:1.5;margin:7px 0 10px;color:var(--accent)}
.demo-definition small{display:block;font-size:13px;line-height:1.6;color:var(--text-muted)}
.demo-timeline{display:flex;align-items:center;gap:14px;margin-top:24px;font-size:12px;font-variant-numeric:tabular-nums}
.demo-track{flex:1;height:3px;background:var(--cover-line);overflow:hidden}
.demo-track span{display:block;width:0;height:100%;background:var(--cover-warm);transition:width .2s ease}
.demo-note{font-size:12px;line-height:1.65;color:var(--cover-muted);margin:16px 0 0;max-width:55ch}
.home-learning{padding:80px 0 32px;scroll-margin-top:var(--header-height)}
.section-label{display:flex;align-items:baseline;gap:24px;font-size:13px;line-height:1.6;font-weight:500;letter-spacing:0;margin:0 0 32px;color:var(--text-muted)}
.section-label>span{font-variant-numeric:tabular-nums;color:var(--warm-accent)}
.journey-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:64px;margin-bottom:48px}
.journey-heading h2{max-width:22ch;font-size:clamp(34px,4vw,60px)}
.journey-heading>div>p{font-size:16px;line-height:1.75;color:var(--text-muted);margin:0;max-width:48ch}
.journey-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:64px;align-items:start;position:relative}
.journey-stage{position:relative;padding:28px;background:var(--surface);border:1px solid var(--border);border-top:2px solid var(--warm-accent);border-radius:4px;overflow:hidden}
.journey-stage-top{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--text-muted);margin-bottom:28px}
.journey-visual{min-height:180px;padding:24px 0;border-top:1px solid var(--separator)}
.journey-visual-title{font-size:13px;color:var(--text-muted);margin:0 0 24px}
.journey-sentence{font-size:clamp(24px,2.2vw,34px);line-height:1.45;letter-spacing:-.035em;color:var(--text);margin:16px 0}
.journey-sentence mark{background:var(--selection-bg);color:var(--selection-text);padding:0 4px}
.speech-wave{color:var(--accent);max-width:360px;margin:20px auto}
.speech-wave svg{display:block;width:100%;height:90px}
.journey-word-card{display:flex;align-items:baseline;justify-content:space-between;gap:24px;padding:24px 0 0;margin-top:28px;border-top:1px solid var(--separator)}
.journey-word-card strong{font-size:clamp(28px,3vw,44px);font-weight:500;letter-spacing:-.04em}
.journey-word-card>span{font-size:20px;color:var(--accent)}
.phrase-loop{display:grid;gap:18px;justify-items:center;text-align:center}
.phrase-loop svg{width:90px;height:90px;color:var(--warm-accent)}
.journey-stage-progress{display:flex;gap:4px;margin:28px 0 20px}
.journey-stage-progress>span{height:2px;flex:1;background:var(--separator)}
.journey-stage-progress>span.active{background:var(--warm-accent)}
.journey-example-note{margin:0;font-size:12px;line-height:1.7;color:var(--text-muted);max-width:52ch}
.learning-steps{display:grid;gap:32px;counter-reset:learning}
.learning-step{counter-increment:learning;position:relative;min-width:0;padding:24px 0 24px 44px;border-top:1px solid var(--separator);scroll-margin-top:calc(var(--header-height) + 40px)}
.learning-step::before{content:counter(learning,decimal-leading-zero);position:absolute;top:32px;left:0;color:var(--warm-accent);font-size:13px}
.journey-choice{display:inline-block;font-size:clamp(28px,3.7vw,52px);font-weight:500;letter-spacing:-.045em;line-height:1.18;color:var(--text);text-decoration:none;max-width:18ch}
.learning-step p{font-size:16px;line-height:1.75;color:var(--text-muted);max-width:43ch;margin:20px 0 0}
[data-journey-enhanced="true"] .journey-stage{position:sticky;top:calc(var(--header-height) + 32px)}
[data-journey-enhanced="true"] .journey-visual{min-height:300px;display:flex;flex-direction:column;justify-content:center;border:0;padding:8px 0;animation:journey-mask-in .6s cubic-bezier(.6,0,0,1)}
[data-journey-enhanced="true"] .learning-steps{gap:0;padding-top:10vh}
[data-journey-enhanced="true"] .learning-step{min-height:62vh;padding-top:48px;display:flex;flex-direction:column;justify-content:center}
[data-journey-enhanced="true"] .learning-step::before{top:48px}
[data-journey-enhanced="true"] .learning-step:not(.active) .journey-choice{color:var(--text-quiet)}
[data-journey-enhanced="true"] .learning-step.active .journey-choice{color:var(--text)}
@keyframes journey-mask-in{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0)}}
.home-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,5vw,80px);margin:0 calc(-1 * var(--site-gutter));padding:72px var(--site-gutter);background:var(--section-bg);color:var(--section-text)}
.home-outcomes>.section-label{grid-column:1/-1;margin-bottom:0;color:var(--section-muted)}
.home-outcomes>div{padding-top:22px;border-top:1px solid var(--section-line)}
.home-outcomes>div h3{font-size:clamp(24px,2.5vw,36px);line-height:1.15;margin:0 0 20px;letter-spacing:-.04em;max-width:19ch}
.home-outcomes>div p{font-size:16px;line-height:1.75;max-width:38ch;margin:0;color:var(--section-muted)}
.home-return{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:40px 0;border-bottom:1px solid var(--separator)}
.home-return>div{min-width:0;flex:1}
.home-return p{margin:0 0 6px}
#home-resume-time{font-size:13px;color:var(--text-muted)}
.home-return h2{font-size:30px}
#home-resume-card{flex-shrink:0}
#home-resume-title{font-size:17px;line-height:1.5;overflow-wrap:anywhere;max-width:65ch;color:var(--text)}
.home-faq{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.6fr);gap:0 64px;padding:72px 0}
.home-faq>.section-label{grid-column:1/-1;margin-bottom:32px}
.home-faq h2{grid-column:1;grid-row:2/5;max-width:15ch}
.home-faq details{grid-column:2;border-bottom:1px solid var(--separator);padding:0 0 20px;margin-bottom:20px}
.home-faq details:last-child{margin-bottom:0}
.home-faq summary{cursor:pointer;padding:8px 0;min-height:44px;font-size:19px;font-weight:600;line-height:1.5}
.home-faq details p{font-size:15px;line-height:1.8;max-width:64ch;color:var(--text-muted);margin:12px 0 4px}
.home-next{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:48px 0 4px;border-top:1px solid var(--separator)}
.home-next h2{font-size:clamp(30px,3vw,44px);margin-bottom:14px;max-width:27ch}
.home-next p{font-size:16px;line-height:1.7;color:var(--text-muted);margin:0;max-width:52ch}
.home-next>.primary-button{flex-shrink:0}
.workspace{max-width:980px;margin:56px auto 30px;background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--warm-accent);border-radius:4px;padding:44px}
.section-heading p{font-size:14px;line-height:1.65;color:var(--text-muted,#617571);margin:0;max-width:60ch}
.account-access-note{margin-top:14px!important;color:var(--accent,#476f62)!important}
.video-form{margin-top:30px}
.field-label{display:block;font-size:13px;font-weight:650;margin-bottom:10px}
.url-row{display:flex;align-items:center;gap:12px;padding:6px 6px 6px 16px;border:1px solid var(--border,#dce4df);border-radius:4px;background:var(--surface-subtle,#f8faf7)}
.url-row:focus-within{outline:2px solid var(--focus,#a1c8b7);outline-offset:2px}
.link-icon{font-size:20px;color:var(--accent,#619087)}
.url-row input{flex:1;min-width:0;min-height:44px;outline:0;border:0;background:transparent;color:var(--text,#183434);font-size:15px}
.url-row input::placeholder{color:var(--text-quiet,#82908a)}
.url-row button,.language-confirm button{border:0;border-radius:4px;background:var(--primary,#175c55);color:var(--on-primary,#fff);padding:14px 18px;min-height:44px;font-size:13px;font-weight:650}
.url-row button:hover,.language-confirm button:hover{background:var(--primary-hover,#0e4942)}
.url-row button span{padding-left:8px}
.options-row{display:flex;flex-wrap:wrap;gap:20px;margin-top:22px}
.options-row label,.result-controls label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;font-weight:600;color:var(--text-muted,#617571)}
.options-row select,.language-confirm select,.result-controls select,.voice-options select{border:1px solid var(--border,#dce4df);border-radius:7px;padding:9px 10px;max-width:100%;background:var(--surface,#fff);color:var(--text,#264941);font-size:13px;min-height:44px}
.status{margin-top:24px;padding:14px 16px;border-radius:4px;background:var(--success-bg,#edf5f0);color:var(--success-text,#275950);font-size:13px;line-height:1.6}
.status.error{background:var(--error-bg,#fcefe9);color:var(--error-text,#9a4d3f)}
.language-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:20px;padding:18px;border-radius:4px;border:1px solid var(--warning-border,#ecd6c0);background:var(--warning-bg,#fff7ef)}
.language-confirm>div{flex:1;min-width:200px}
.language-confirm strong{font-size:14px}
.language-confirm p{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--warning-text,#876f62)}
.language-confirm select{max-width:170px}
.material-library{padding:56px 0 20px}
.library-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.library-heading p{max-width:62ch;font-size:14px;line-height:1.6;color:var(--text-muted,#617571);margin:0}
.library-heading>.primary-button{flex-shrink:0}
.library-size{display:block;margin:24px 0 0;font-size:12px;color:var(--text-muted,#617571)}
.library-search{display:grid;gap:8px;max-width:600px;margin:22px 0;font-size:12px;color:var(--text-muted,#526f63)}
.library-search input{width:100%;padding:13px 15px;border:1px solid var(--border,#dce4df);border-radius:4px;background:var(--surface,#fff);color:var(--text,#183434);font-size:14px}
.library-status{max-width:62ch;margin:40px 0;padding:24px 0;border-top:1px solid var(--separator,#d9e2d8);font-size:14px;line-height:1.7;color:var(--text-muted,#617571)}
.material-row{display:flex;align-items:center;gap:24px;border-top:1px solid var(--separator,#dfe5db);padding:22px 0}
.material-row:last-child{border-bottom:1px solid var(--separator,#dfe5db)}
.material-open{display:grid;gap:9px;flex:1;min-width:0;min-height:44px;background:none;border:0;text-align:left;color:var(--text,#183434);padding:4px 0}
.material-open strong{font-size:18px;line-height:1.4;overflow-wrap:anywhere;font-weight:650}
.material-open span{font-size:13px;color:var(--text-muted,#617571);line-height:1.5}
.material-open:hover strong{color:var(--accent,#28746b);text-decoration:underline;text-underline-offset:4px}
.material-resume{font-size:13px;line-height:1.5;color:var(--accent,#28746b)}
.material-delete{min-height:44px;background:none;border:0;padding:10px 4px;color:var(--text-muted,#7c7169);font-size:12px}
.material-delete:hover{color:var(--error-text,#9a4d3f);text-decoration:underline}
.back-link{display:inline-block;margin-bottom:22px;font-size:13px;font-weight:600}
.results{padding-top:40px}
.result-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:26px;margin-bottom:26px}
.result-heading>div:first-child{min-width:0;flex:1}
.result-heading p{margin:0;font-size:13px;line-height:1.65;color:var(--text-muted,#617571);overflow-wrap:anywhere;max-width:75ch}
.material-save-status{color:var(--accent,#28746b)!important;font-size:12px!important;margin-top:8px!important}
.result-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 18px;max-width:51%;font-size:12px}
.result-controls a{font-size:12px;text-decoration:none;min-height:44px;display:flex;align-items:center;line-height:1.4}
.result-controls a:hover{text-decoration:underline}
.result-controls button{min-height:44px;padding:9px 12px;border:1px solid var(--border,#bdd6c7);border-radius:7px;background:var(--surface-tinted,#edf6ef);color:var(--accent,#175c55);font-size:12px;font-weight:600}
.study-layout{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.65fr);align-items:start;gap:26px}
.study-top{display:grid;gap:16px;min-width:0;position:sticky;top:calc(var(--header-height,92px) + 20px);max-height:calc(100dvh - var(--header-height,92px) - 40px);overflow:auto;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb,#b4cbc0) transparent}
.video-panel,.word-panel,.transcript-panel{background:var(--surface,#fff);border:1px solid var(--border,#e3e9e2);border-radius:4px;min-width:0;overflow:hidden}
.video-frame{aspect-ratio:16/9;background:var(--video-bg,#183434);overflow:hidden}
.video-frame iframe,.video-frame #video-player{width:100%;height:100%;display:block}
.video-frame.video-unavailable{display:grid;place-items:center;padding:24px;color:var(--video-text,#e2ebe4);text-align:center;font-size:13px;line-height:1.6}
.player-status{margin:0;padding:12px 16px;font-size:12px;line-height:1.5;color:var(--text-muted,#647d75)}
.video-frame.audio-mode{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;background:var(--surface-tinted,#e4eee5);color:var(--text,#183434);min-height:230px;aspect-ratio:auto;text-align:center}
.audio-mode strong{font-size:21px;font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif;line-height:1.3;overflow-wrap:anywhere;max-width:100%}
.audio-mode p{font-size:12px;line-height:1.6;color:var(--text-muted,#5d7970);margin:0}
.audio-mode audio{width:100%;margin-top:5px}
.word-panel{padding:22px}
.word-panel-label,.meaning-label{font-size:12px;font-weight:650;color:var(--accent,#28746b);line-height:1.5}
.word-empty{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.65;color:var(--text-muted,#617571);margin:20px 0}
.word-empty p{margin:0}
.word-empty-icon{font-size:26px;color:var(--accent,#619087);line-height:1}
.word-panel h3{margin:16px 0 4px;font-size:30px;overflow-wrap:anywhere}
.ipa{font-size:16px;color:var(--accent,#619087);margin:0 0 22px;overflow-wrap:anywhere}
.meaning-label span{font-weight:400;font-size:10px}
.translation{font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif;font-size:22px;font-weight:650;line-height:1.5;margin:8px 0 18px;overflow-wrap:anywhere}
.word-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.word-actions button{flex:1;min-height:44px;border:1px solid var(--border,#d4e5dc);border-radius:4px;background:var(--surface-tinted,#edf6ef);color:var(--accent,#175c55);padding:10px 12px;font-size:12px;font-weight:650;line-height:1.5}
.word-actions button:first-child{background:var(--primary,#175c55);border-color:var(--primary,#175c55);color:var(--on-primary,#fff)}
.word-actions button:hover{filter:brightness(.95)}
#word-time{font-size:12px;text-decoration:none}
.voice-options{margin-top:20px;padding-top:16px;border-top:1px solid var(--separator,#e5ece6)}
.voice-options label{display:grid;gap:8px;font-size:12px;color:var(--text-muted,#647d75)}
.voice-options select{width:100%;font-size:12px}
.panel-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:18px 22px;border-bottom:1px solid var(--separator,#edf0e9);font-size:12px;line-height:1.5;color:var(--text-muted,#617571)}
.transcript-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.follow-control{display:flex;align-items:center;gap:7px;min-height:44px;cursor:pointer;color:var(--accent,#476f62)}
.follow-control input{accent-color:var(--accent,#175c55);width:16px;height:16px;margin:0}
.transcript{max-height:calc(100dvh - 140px);min-height:420px;padding:28px 32px;overflow:auto;scrollbar-color:var(--scroll-thumb,#b4cbc0) var(--surface-subtle,#f4f7f2)}
.segment{position:relative;padding:8px 10px 8px 52px;font-size:var(--study-text-size);line-height:1.95;margin:0 0 16px;color:var(--text,#30423c);border-radius:4px;transition:background .15s ease,opacity .15s ease}
.segment.focused{background:var(--surface-tinted,#edf5ee)}
.transcript.phrase-focus .segment{opacity:.7}
.transcript.phrase-focus .segment.focused,.transcript.phrase-focus .segment:focus-within,.transcript.phrase-focus .segment:hover{opacity:1}
.lesson-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin:0;padding:14px 22px;border-bottom:1px solid var(--separator,#d9e2d8)}
.lesson-tools label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted,#617571)}
.lesson-tools select,.lesson-tools button{min-height:44px;padding:10px 12px;border:1px solid var(--border,#bdd6c7);border-radius:4px;background:var(--surface,#fff);color:var(--accent,#175c55);font-size:13px}
.lesson-tools button:hover{background:var(--surface-hover,#edf5ee)}
.lesson-tools button[aria-pressed="true"]{background:var(--primary,#175c55);border-color:var(--primary,#175c55);color:var(--on-primary,#fff)}
#repeat-phrase{font-weight:600;background:var(--surface-tinted,#edf5ee)}
#stop-phrase{color:var(--error-text,#9a4d3f)}
.segment-time{position:absolute;left:0;top:14px;font-size:11px;line-height:1.95;color:var(--text-muted,#617571);font-weight:600;font-variant-numeric:tabular-nums}
.word{display:inline;min-height:44px;border:0;border-radius:4px;background:none;color:inherit;padding:3px 2px;line-height:inherit;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}
.word:hover,.word.active{background:var(--selection-bg,#dcefe4);color:var(--selection-text,#17564c)}
.word:focus-visible{background:var(--selection-bg,#dcefe4);color:var(--selection-text,#17564c);outline:2px solid var(--focus,#cf8861);outline-offset:1px}
.word.active:not(.speaking){box-shadow:inset 0 -2px 0 var(--focus,#cf8861)}
.word.speaking,.word.speaking:hover,.word.speaking:focus{background:var(--primary,#175c55);color:var(--on-primary,#fff)}
.empty-view{max-width:640px;margin:65px auto;padding:35px 0}
.empty-view h2{font-size:34px}
.empty-view p{font-size:16px;line-height:1.7;color:var(--text-muted,#617571);margin:0 0 26px}
.account-section{max-width:1050px;margin:12px auto 0;padding-bottom:10px}
.account-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.account-heading p{font-size:14px;color:var(--text-muted,#617571);margin:0;overflow-wrap:anywhere}
.account-summary{display:grid;grid-template-columns:.75fr 1fr 1fr;gap:32px;margin-top:30px;padding:26px 0;border-top:1px solid var(--separator,#dfe5db);border-bottom:1px solid var(--separator,#dfe5db)}
.account-summary>div{display:grid;align-content:start;gap:10px}
.account-summary span{font-size:13px;color:var(--text-muted,#617571)}
.account-summary strong{font-size:20px;font-weight:650}
.account-summary progress{width:100%;height:7px;accent-color:var(--accent,#28746b);border:0;border-radius:4px;overflow:hidden}
.account-summary progress::-webkit-progress-bar{background:var(--surface-tinted,#dde8df)}
.account-summary progress::-webkit-progress-value{background:var(--accent,#28746b)}
.account-summary progress::-moz-progress-bar{background:var(--accent,#28746b)}
.account-status,.billing-status,.payment-history p,.legal-note{font-size:13px;line-height:1.6;color:var(--text-muted,#617571)}
.email-verification-panel{padding:20px 24px;margin:24px 0;border-left:3px solid var(--warm-accent);background:var(--surface-tinted)}
.email-verification-panel p{font-size:14px;line-height:1.65;margin:0 0 16px;max-width:65ch;color:var(--text)}
.billing-heading{margin-top:34px}
.billing-heading h3{margin:0 0 10px}
.billing-heading p{font-size:14px;line-height:1.6;color:var(--text-muted,#617571);margin:0}
.billing-status{padding:14px 16px;background:var(--surface-tinted,#e8efe6);border-left:3px solid var(--scroll-thumb,#92b29b)}
.billing-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:22px 0}
.billing-plan{padding:24px;background:var(--surface,#fff);border:1px solid var(--border,#dce4df);border-radius:4px}
.billing-plan h4{font-size:17px;margin:0 0 18px}
.billing-plan>strong{font-size:28px;font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif}
.billing-plan p{font-size:13px;line-height:1.6;color:var(--text-muted,#617571);margin:14px 0 22px}
.billing-plan button{width:100%}
.payment-history{padding:20px 0;border-bottom:1px solid var(--separator,#dfe5db);font-size:14px}
.payment-history summary{cursor:pointer;font-weight:600}
.legal-note{max-width:70ch;font-size:12px;margin:20px 0 0}
.legal-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 18px}
.legal-links a{color:var(--accent,#527668);line-height:1.5}
.account-data{padding-top:28px}
.account-data h3{margin:0 0 10px}
.account-data p{font-size:14px;color:var(--text-muted,#617571);line-height:1.6;margin:0 0 18px}
.account-data>div{display:flex;align-items:center;flex-wrap:wrap;gap:18px}
.delete-account-button{min-height:44px;background:none;border:0;color:var(--error-text,#9a4d3f);font-size:13px;padding:10px 0;text-decoration:underline;text-underline-offset:4px}
.terms-notice{margin:28px 0;padding:24px;border:1px solid var(--border,#bfd0c4);border-radius:4px;background:var(--surface-hover,#edf5ee)}
.terms-notice h3{margin:0 0 10px}
.terms-notice>p{font-size:14px;line-height:1.6;color:var(--text-muted,#617571)}
.terms-notice .legal-links{justify-content:flex-start;font-size:13px}
.terms-notice form{display:grid;gap:14px;margin-top:20px}
.terms-checkbox{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}
.terms-checkbox input{accent-color:var(--accent,#175c55);margin:4px 0 0}
.terms-notice .primary-button{justify-self:start}
.auth-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid var(--border,#dce4df);border-radius:4px;color:var(--text,#183434);background:var(--surface-subtle,#f8faf7);box-shadow:0 24px 90px var(--dialog-shadow-color,#123c3b30)}
.auth-dialog::backdrop{background:var(--backdrop,#102b2c80)}
.auth-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-heading h2{font-size:25px;margin:0}
.auth-close{border:0;background:none;color:var(--accent,#476f62);font-size:28px;line-height:1;min-width:44px;min-height:44px}
.auth-dialog>p{font-size:14px;color:var(--text-muted,#617571);line-height:1.6;margin:16px 0 24px}
.auth-form{display:grid;gap:18px}
.auth-form>label{display:grid;gap:8px;font-size:13px;font-weight:600}
.auth-form>.follow-control{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:400}
.auth-form input:not([type="checkbox"]){width:100%;padding:13px;border:1px solid var(--border,#bfd0c4);background:var(--surface,#fff);border-radius:4px;color:var(--text,#183434);font-size:16px}
.auth-form>small{font-size:12px;color:var(--text-muted,#617571);margin-top:-9px}
.auth-consent{font-size:12px;line-height:1.65;color:var(--text-muted,#526f63)}
.auth-consent label{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}
.auth-consent input{margin:4px 0 0;accent-color:var(--accent,#175c55);flex-shrink:0}
.auth-status{font-size:13px;line-height:1.6;margin:0;padding:12px;border-radius:6px;background:var(--error-bg,#fcefe9);color:var(--error-text,#9a4d3f)}
.auth-switch{display:block;width:100%;min-height:44px;margin-top:16px;border:0;background:none;color:var(--accent,#175c55);font-size:13px;text-decoration:underline;text-underline-offset:4px}
.danger-button{background:var(--danger-bg,#9a4d3f);border-color:var(--danger-bg,#9a4d3f);color:var(--on-danger,#fff)}
.danger-button:hover{background:var(--danger-hover,#823f33)}
footer{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px 28px;padding:32px 0 36px;border-top:1px solid var(--separator,#d9e2d8);color:var(--text-muted,#617571);font-size:12px;line-height:1.5}
footer span:first-child{font-size:14px;font-weight:700;color:var(--accent,#3b685e)}
footer .legal-links{font-size:11px}
html[lang="zh"] h1{line-height:1.3;letter-spacing:-.025em}
@media(max-width:1200px){
  .site-header.site-header{grid-template-columns:1fr auto;gap:10px 20px;min-height:100px}
  .header-tools{grid-column:2;grid-row:1}
  .site-nav{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:1100px){
  .hero{gap:40px 36px;padding-bottom:56px}
  .demo-lesson{padding:24px}
  .study-layout{grid-template-columns:minmax(280px,.9fr) minmax(0,1.35fr);gap:18px}
  .transcript{padding:24px}
  .result-heading{display:block}
  .result-controls{max-width:none;justify-content:flex-start;margin-top:20px}
  .home-faq{grid-template-columns:1fr;gap:24px}
  .home-faq h2{grid-row:auto}
  .home-faq details{grid-column:1}
  .home-outcomes{padding-top:48px;padding-bottom:48px}
}
@media(max-width:900px){
  .reading-cue{display:none}
  .journey-heading,.journey-layout{grid-template-columns:1fr;gap:28px}
  .journey-heading{margin-bottom:32px}
  .journey-heading .section-label{margin-bottom:0}
  .journey-stage{padding:24px;position:static}
  .journey-visual{min-height:0}
  .journey-visual-title{margin-bottom:18px}
  .learning-step{padding:24px 0 24px 40px}
  .journey-choice{font-size:clamp(30px,5vw,44px);max-width:24ch}
  .site-menu{grid-template-columns:1fr;gap:24px}
  .menu-intro{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:16px}
  .menu-intro p{display:none}
  .menu-bottom{align-items:flex-start;flex-direction:column;gap:24px}
  .menu-bottom .legal-links{justify-content:flex-start}
}
@media(max-width:760px){
  .site-header.site-header{padding:16px var(--site-gutter);gap:12px}
  .site-nav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;gap:2px;margin:0 -6px}
  .site-nav a{flex-shrink:0;padding:10px 12px;font-size:13px}
  .header-tools{justify-content:flex-end;gap:10px}
  .hero{grid-template-columns:1fr;padding-top:44px;padding-bottom:44px;gap:30px}
  .hero-copy{max-width:620px}
  .hero h1{max-width:23ch;font-size:clamp(46px,7.5vw,68px)}
  .hero-description{font-size:18px;max-width:52ch}
  .demo-lesson{max-width:none;width:100%;padding:26px}
  .demo-transcript{font-size:30px;min-height:100px}
  .home-learning{padding:56px 0 32px}
  .home-outcomes{gap:24px}
  .home-outcomes>div h3{font-size:25px}
  .home-outcomes>div p{font-size:15px}
  .home-next{align-items:flex-start;flex-direction:column}
  .study-layout{grid-template-columns:1fr}
  .study-top{position:static;max-height:none;overflow:visible;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
  .transcript{max-height:70dvh;min-height:350px}
  .word-panel{padding:18px}
  .word-panel h3{font-size:26px}
  .word-empty{font-size:13px;margin:14px 0}
  .voice-options{margin-top:14px}
  .video-frame.audio-mode{padding:18px;min-height:220px}
  .account-summary{grid-template-columns:1fr 1fr;gap:24px}
  .account-summary>div:first-child{grid-column:1/-1}
  footer .legal-links{justify-content:flex-start;flex-basis:100%}
}
@media(max-width:520px){
  :root{--site-gutter:20px}
  .page-shell{padding:0 var(--site-gutter)}
  main{padding:0 0 36px}
  .site-header.site-header{grid-template-columns:1fr;padding:18px var(--site-gutter);gap:12px}
  .header-tools{grid-column:1;grid-row:2;width:100%;justify-content:flex-end}
  .experience-ready .site-header.site-header{grid-template-columns:1fr;gap:10px;min-height:0;padding-top:14px;padding-bottom:14px}
  .experience-ready .header-tools{grid-column:1;grid-row:2}
  .menu-toggle{padding:10px 12px;gap:12px}
  .site-menu{padding-top:20px}
  .site-menu .site-nav a{font-size:34px;min-height:70px;padding:18px 0}
  .site-nav{grid-row:3}
  .brand{font-size:21px}
  .site-nav{margin:0 -4px;width:calc(100% + 8px)}
  .site-nav a{font-size:12px;padding:10px 9px}
  .header-tools .interface-language{display:flex;gap:0;min-width:0}
  .interface-language select{width:68px;font-size:13px}
  .header-tools .account-button{padding:10px 10px}
  .header-tools{gap:8px}
  h2{font-size:27px}
  .hero h1{font-size:clamp(36px,9.4vw,50px);max-width:23ch;letter-spacing:-.05em}
  .hero-description{font-size:17px;line-height:1.7}
  .hero-actions{gap:10px;margin-top:22px}
  .hero-actions .primary-button,.hero-actions .secondary-button{flex:1;min-width:130px;font-size:13px;padding:12px 13px}
  .hero-actions #hero-try-demo{flex:0 0 100%;justify-content:flex-start;font-size:13px}
  .demo-lesson{padding:22px}
  .demo-topline{gap:10px;font-size:12px}
  .demo-topline select{padding:10px;font-size:12px}
  .demo-caption{font-size:12px;margin-top:18px}
  .demo-transcript{font-size:27px;min-height:108px;margin-bottom:16px}
  .demo-definition{padding:18px}
  .demo-definition strong{font-size:22px}
  .demo-definition p{font-size:18px}
  .demo-definition small{font-size:12px}
  .home-outcomes{padding:40px var(--site-gutter);grid-template-columns:1fr;gap:26px}
  .home-outcomes>div h3{font-size:21px}
  .home-outcomes>div p{max-width:48ch}
  .home-faq{padding:42px 0;gap:24px}
  .home-faq summary{font-size:15px}
  .home-next{padding-top:28px;gap:22px}
  .home-next h2{font-size:26px}
  .workspace{padding:28px 20px;margin:30px 0 0}
  .url-row{display:grid;grid-template-columns:18px minmax(0,1fr);padding:8px 12px;gap:8px}
  .url-row input{font-size:16px}
  .url-row button{grid-column:1/-1;width:100%}
  .options-row{display:grid;gap:16px}
  .options-row label{justify-content:space-between}
  .options-row select{min-width:0;max-width:65%}
  .library-heading{flex-wrap:wrap;gap:20px}
  .library-heading p{font-size:13px}
  .material-row{flex-wrap:wrap;gap:10px 16px;padding:20px 0}
  .material-open{flex-basis:100%}
  .material-open strong{font-size:17px}
  .material-resume{flex:1;font-size:12px}
  .study-top{grid-template-columns:1fr;gap:12px}
  .video-panel{max-width:100%}
  .video-frame{max-height:245px}
  .word-panel{padding:18px}
  .word-empty{margin:14px 0 4px}
  .word-panel h3{margin-top:12px}
  .ipa{margin-bottom:14px}
  .translation{margin-bottom:14px}
  .voice-options{margin-top:14px;padding-top:12px}
  .voice-options label{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
  .voice-options select{flex:1;min-width:170px}
  .result-controls{gap:10px 14px}
  .result-controls label{width:100%;justify-content:space-between}
  .result-controls label select{width:65%;min-width:0}
  .lesson-tools{gap:8px;padding:12px 18px}
  .lesson-tools label{flex-basis:100%;justify-content:space-between}
  .lesson-tools button{font-size:12px;padding:10px}
  .panel-top{padding:16px 18px}
  .transcript{padding:18px 12px;max-height:68dvh;min-height:320px}
  .segment{font-size:var(--study-text-size);line-height:1.95;padding-left:40px;padding-right:6px}
  .segment-time{font-size:10px;top:14px}
  .word-actions button{font-size:12px}
  .account-summary{grid-template-columns:1fr;gap:24px}
  .account-summary>div:first-child{grid-column:auto}
  .billing-plans{grid-template-columns:1fr}
  .auth-dialog{padding:24px}
  .auth-heading h2{font-size:23px}
  .empty-view{margin:25px auto;padding:20px 0}
  .empty-view h2{font-size:30px}
  .account-heading .secondary-button{font-size:12px;padding:10px 12px}
  .language-confirm>div{min-width:0;flex-basis:100%}
  .legal-links{gap:12px 16px}
}
@media(prefers-reduced-motion:reduce){
  .experience-ready .hero-line{animation:none;transform:none}
  [data-journey-enhanced="true"] .journey-stage{position:static}
  .view-curtain{display:none!important}
  .roll-original,.roll-copy,.action-arrow{transition:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* On a phone, keep the actual selected word visible while reading the transcript. */
.word-dock{display:none}
@media(max-width:520px){body[data-view="study"] main{padding-bottom:100px}.word-dock{position:fixed;z-index:8;left:18px;right:18px;bottom:16px;bottom:calc(16px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;min-height:56px;max-width:700px;margin:auto;padding:12px 16px;border:1px solid var(--border,#bbd0c4);border-radius:4px;background:var(--surface,#fff);color:var(--text,#183434);box-shadow:0 6px 28px var(--dialog-shadow-color,#123c3b30);text-align:left}.word-dock strong{max-width:42%;font-size:16px;color:var(--accent,#175c55)}.word-dock span:first-of-type{flex:1;min-width:0;color:var(--text-muted,#617571);font-size:13px}.word-dock strong,.word-dock span:first-of-type{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.word-dock span:last-child{font-size:20px;color:var(--accent,#175c55)}body:not([data-view="study"]) .word-dock{display:none}}

@media(pointer:coarse){select,.account-button,.auth-close{min-height:44px}}
