@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.italic{font-style:italic}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--background:#f7f8f4;--foreground:#23382d;--primary:#275742;--muted:#768279;--border:#e1e7de;--radius:.75rem;color:var(--foreground);background:var(--background);font-synthesis:none;font-family:Arial,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--primary)}input,select,textarea{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--foreground);border-radius:8px;padding:11px 12px}input:focus,textarea:focus,select:focus{outline:2px solid var(--primary)}select{cursor:pointer}input[type=checkbox]{accent-color:var(--primary);width:16px;height:16px}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.8px;font-size:44px;font-weight:600;line-height:1.18}h2{letter-spacing:-.4px;font-size:21px;font-weight:600}h3{font-weight:600}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.center{text-align:center}.inline{display:inline}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--surface-soft);border-right:1px solid var(--border);z-index:10;flex-direction:column;flex-shrink:0;width:232px;padding:31px 21px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{color:var(--muted);letter-spacing:-1.1px;align-items:center;gap:9px;font-size:25px;font-weight:650;text-decoration:none;display:flex}.brand-mark{background:var(--accent-soft);border-radius:10px;place-items:center;width:34px;height:36px;font-family:serif;font-size:24px;font-weight:400;display:grid}.brand-dot{color:var(--muted);margin-left:-5px}.nav-label{letter-spacing:1.6px;color:var(--muted);margin:47px 12px 13px;font-size:9px;font-weight:600}.sidebar nav{gap:6px;display:grid}.nav-item{text-align:left;color:var(--muted);background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;padding:13px 12px;font-size:13px;display:flex}.nav-item.active{background:var(--accent-soft);color:var(--muted);font-weight:600}.nav-item:hover{background:var(--surface-soft)}.count-badge{background:var(--accent-strong);border-radius:6px;margin-left:auto;padding:2px 7px;font-size:10px}.sidebar-note{border:1px solid var(--border);color:var(--muted);background:linear-gradient(130deg, var(--surface-soft), var(--surface-soft));border-radius:12px;margin-top:64px;padding:20px 15px}.sidebar-note h3{color:var(--muted);margin:15px 0 8px;font-family:Georgia,serif;font-size:19px;font-weight:400}.sidebar-note p{font-size:11px}.note-rule{background:var(--accent-soft);height:1px;margin:20px 0 12px}.sidebar-note small{font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:28px}.help-button{color:var(--muted);background:0 0;border:0;align-items:center;gap:9px;width:100%;padding:12px 0;font-size:11px;display:flex}.help-button svg:last-child{margin-left:auto}.account{border-top:1px solid var(--border);color:var(--muted);align-items:center;gap:11px;padding-top:17px;font-size:12px;display:flex}.account small{color:var(--muted);margin-top:5px;font-size:10px;display:block}.demo-avatar{background:var(--accent-soft);border-radius:50%;place-items:center;width:33px;height:33px;font-family:serif;font-size:20px;display:grid}main{flex:1;min-width:0;margin-left:232px}.topbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;height:82px;padding:0 44px;display:flex}.breadcrumb{color:var(--muted);align-items:center;gap:12px;font-size:11px;display:flex}.breadcrumb strong{color:var(--muted);font-weight:500}.topbar-right{align-items:center;gap:15px;display:flex}.language-pill{border:1px solid var(--border);background:var(--surface);border-radius:20px;align-items:center;gap:7px;padding:7px 12px;font-size:11px;display:flex}.status-dot,.tiny-dot{background:var(--primary);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.mode-pill{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.page-content{max-width:1320px;margin:auto;padding:42px 44px 0}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin:8px 0 34px;display:flex}.eyebrow{letter-spacing:1.9px;color:var(--muted);margin-bottom:13px;font-size:9px;font-weight:600}h1 span{color:var(--muted);font-family:Georgia,Times New Roman,serif;font-style:italic;font-weight:400}.subheading{color:var(--muted);margin-top:17px;font-size:13px}.intro-graphic{flex-shrink:0;width:195px;height:155px;margin-right:40px;position:relative}.graphic-circle{border:1px solid var(--border);border-radius:50%;width:132px;height:132px;position:absolute;top:4px;left:26px;box-shadow:0 0 0 16px #edf1e880,0 0 0 32px #edf1e845}.graphic-hanzi{color:var(--muted);font-family:serif;font-size:65px;position:absolute;top:10px;left:57px;transform:rotate(-8deg)}.graphic-caption{color:var(--muted);letter-spacing:.5px;font-size:10px;position:absolute;top:100px;left:58px}.graphic-wave{color:var(--muted);position:absolute;bottom:19px;right:6px;transform:rotate(-15deg)}.source-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.source-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:25px 25px 24px;box-shadow:0 3px 8px #183d3303}.card-top{justify-content:space-between;align-items:center;margin-bottom:21px;display:flex}.icon-tile{background:var(--surface-soft);width:41px;height:41px;color:var(--muted);border-radius:11px;place-items:center;display:grid}.icon-tile.warm{background:var(--surface-soft);color:var(--muted)}.tag{letter-spacing:1.5px;color:var(--muted);font-size:8px;font-weight:600}.source-card h2{font-size:20px}.source-card>p{color:var(--muted);margin-top:10px;font-size:11px;line-height:1.8}.upload-zone{text-align:left;background:var(--surface);border:1px dashed var(--border);width:100%;color:var(--muted);border-radius:8px;align-items:center;gap:13px;margin-top:24px;padding:17px 15px;display:flex}.upload-zone strong{color:var(--muted);font-size:11px;font-weight:500;display:block}.upload-zone small{color:var(--muted);margin-top:6px;font-size:9px;display:block}.upload-zone>svg:last-child{margin-left:auto}.upload-zone:hover{background:var(--surface-soft);border-color:var(--border)}.sample-card{background:var(--surface)}.sample-card-bottom{justify-content:space-between;align-items:center;gap:10px;margin-top:38px;display:flex}.sample-meta{color:var(--muted);font-size:10px}.sample-meta span{margin:0 6px}.button{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:9px;padding:11px 15px;font-size:11px;font-weight:600;line-height:1.3;transition:background .15s;display:inline-flex}.button-primary{background:var(--primary);color:var(--on-primary);box-shadow:0 2px 2px #17351a08}.button-primary:hover{background:var(--primary)}.button-outline{border-color:var(--border);background:var(--surface);color:var(--muted)}.button-outline:hover{background:var(--surface-soft)}.button-ghost{color:var(--muted);background:0 0}.button-ghost:hover{background:var(--surface-soft)}.section-heading{justify-content:space-between;align-items:center;gap:18px;margin:35px 0 16px;display:flex}.section-heading h2{font-size:16px}.section-heading h2>span{background:var(--surface-soft);vertical-align:middle;color:var(--muted);border-radius:5px;margin-left:7px;padding:3px 7px;font-size:10px}.empty-library{border:1px solid var(--border);background:var(--surface);border-radius:11px;align-items:center;gap:17px;padding:28px;display:flex}.empty-icon{background:var(--surface-soft);width:50px;height:50px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.empty-library strong{color:var(--muted);font-size:12px;font-weight:500}.empty-library p{color:var(--muted);margin-top:5px;font-size:11px}.how-it-works{grid-template-columns:repeat(3,1fr);gap:30px;margin-top:17px;padding:30px 0 33px;display:grid}.how-it-works>div{grid-template-columns:25px 1fr;column-gap:9px;display:grid}.how-it-works span{color:var(--muted);grid-row:span 2;font-family:Georgia,serif;font-size:19px;font-style:italic}.how-it-works strong{color:var(--muted);font-size:11px;font-weight:500}.how-it-works p{color:var(--muted);margin-top:6px;font-size:10px}.page-footer{border-top:1px solid var(--border);color:var(--muted);align-items:center;gap:18px;margin-top:18px;padding:24px 0;font-size:10px;display:flex}.page-footer>span{letter-spacing:-.6px;color:var(--muted);font-size:15px;font-weight:600}.page-footer .brand-dot{margin-left:0}.page-footer button{color:var(--muted);background:0 0;border:0;align-items:center;gap:6px;margin-left:auto;font-size:10px;display:flex}.lesson-list{gap:9px;display:grid}.lesson-row{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:13px;display:flex}.lesson-row>button:first-child{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:15px;min-width:0;display:flex}.lesson-row strong{overflow-wrap:anywhere;font-size:13px}.lesson-row small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.lesson-row>button:first-child>svg{margin-left:auto}.lesson-thumb{background:var(--surface-soft);width:44px;height:44px;color:var(--muted);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.icon-button{color:var(--muted);background:0 0;border:0;place-items:center;padding:9px;display:grid}.icon-button:hover{color:var(--error-text);background:var(--error-bg);border-radius:5px}.back-link{color:var(--muted);background:0 0;border:0;align-items:center;gap:8px;padding:0;font-size:11px;display:flex}.lesson-heading{margin:24px 0}.lesson-heading h1{letter-spacing:-1px;font-size:29px}.lesson-heading>div:first-child{flex:1;min-width:0}.lesson-title-trigger{color:inherit;font:inherit;letter-spacing:inherit;text-align:left;overflow-wrap:anywhere;background:0 0;border:0;padding:0}.lesson-title-trigger svg{color:var(--muted);vertical-align:middle;margin-left:10px;display:inline-block}.lesson-title input{letter-spacing:-.5px;width:100%;padding:5px 8px;font-size:25px;font-weight:600}.lesson-title [role=alert]{color:var(--muted)}.lesson-title p{margin-top:8px}.studio-grid{grid-template-columns:minmax(260px,.85fr) minmax(350px,1.15fr);align-items:start;gap:20px;display:grid}.player-panel,.transcript-panel{border:1px solid var(--border);background:var(--surface);border-radius:13px;overflow:hidden}.audio-art{background:radial-gradient(ellipse at 20% 20%, var(--accent-soft), transparent 70%), var(--accent-soft);flex-direction:column;align-items:center;height:260px;padding-top:30px;display:flex}.player-panel.youtube-panel{display:block}.source-grid .sample-card{grid-column:1/-1}.youtube-frame{aspect-ratio:16/9;background:var(--primary);width:100%;min-height:200px}.youtube-frame iframe{border:0;width:100%;height:100%;min-height:200px;display:block}.youtube-player>a{padding:12px 20px;font-size:12px;text-decoration:underline;display:block}.youtube-player>.inline-error{padding:12px 20px}.orb{border:1px solid var(--border);border-radius:50%;place-items:center;width:98px;height:98px;display:grid;box-shadow:0 0 0 12px #d0ddc180,0 0 0 24px #dbe5ce80}.orb span{color:var(--muted);font-family:serif;font-size:48px}.static-wave{justify-content:center;align-items:center;gap:4px;height:65px;margin-top:19px;display:flex}.static-wave i{background:var(--accent-strong);opacity:.7;border-radius:3px;width:3px}.art-label{letter-spacing:2px;color:var(--muted);margin-top:13px;font-size:8px}.player-controls{padding:22px}.player-controls h3{margin-bottom:9px;font-size:15px}.player-controls>p{font-size:12px}.player-controls audio{width:100%;height:42px}.speed-control{color:var(--muted);justify-content:space-between;align-items:center;margin-top:12px;font-size:11px;display:flex}.speed-control select{padding:6px 9px;font-size:11px}.listening-tip{border-top:1px solid var(--border);color:var(--muted);align-items:flex-start;gap:10px;margin-top:25px;padding-top:20px;display:flex}.listening-tip svg{flex-shrink:0;margin-top:2px}.listening-tip p{color:var(--muted);font-size:11px}.listening-tip strong{color:var(--muted);font-weight:500}.transcript-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:19px;display:flex}.transcript-header h2{font-size:15px}.transcript-header h2 span{color:var(--muted);margin-left:7px;font-size:10px}.switch-label{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.transcript-status{color:var(--muted);justify-content:space-between;padding:12px 19px;font-size:9px;display:flex}.transcript-status button{color:var(--muted);background:0 0;border:0;text-decoration:underline}.transcript-lines{scrollbar-width:thin;max-height:450px;overflow:auto}.transcript-line{border-bottom:1px solid var(--border);align-items:flex-start;gap:10px;padding:17px 15px;transition:background .2s;display:flex}.transcript-line.is-current{background:var(--surface-soft);border-left:3px solid var(--border);padding-left:12px}.timestamp{color:var(--muted);background:0 0;border:0;flex-shrink:0;padding:5px 0;font-size:9px}.segment-copy{flex:1;min-width:0}.segment-pinyin{color:var(--muted);margin-bottom:5px;font-size:11px;line-height:1.6}.segment-text{letter-spacing:1px;-webkit-user-select:text;user-select:text;font-size:19px;line-height:1.7}.segment-text::selection{background:var(--accent-strong);color:var(--muted)}.segment-actions{flex-direction:column;gap:3px;display:flex}.segment-actions button{color:var(--muted);background:0 0;border:0;padding:5px}.segment-actions button:hover{background:var(--surface-soft);color:var(--muted);border-radius:4px}.transcript-footer{color:var(--muted);background:var(--surface);align-items:center;gap:8px;padding:15px 19px;font-size:10px;display:flex}.processing-panel{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-direction:column;align-items:center;gap:20px;padding:65px 30px;display:flex}.processing-panel h2{font-size:23px}.processing-panel p{color:var(--muted);max-width:550px;font-size:13px}.smaller h1{font-size:34px}.smaller{margin-bottom:35px}.bank-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px;display:flex}.search-field{flex:1;min-width:220px;position:relative}.search-field svg{color:var(--muted);position:absolute;top:12px;left:12px}.search-field input{width:100%;padding-left:38px;font-size:12px}.bank-toolbar>select{font-size:12px}.empty-state{text-align:center;background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:12px;flex-direction:column;align-items:center;gap:18px;margin-top:20px;padding:68px 30px;display:flex}.empty-state h2{color:var(--muted)}.empty-state p{color:var(--muted);max-width:420px;font-size:13px}.word-list{gap:12px;margin-top:18px;display:grid}.word-row{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:18px;padding:20px;display:flex}.speaker{background:var(--surface-soft);color:var(--muted);border:0;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.word-main{flex:1;min-width:0}.word-actions{flex-shrink:0;gap:4px;display:flex}.edit-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.word-main small{color:var(--muted);font-size:11px}.word-main h3{overflow-wrap:anywhere;margin-top:5px;font-size:21px}.word-context{color:var(--muted);margin-top:8px;font-size:11px}.word-meaning{flex:1;min-width:0}.word-meaning p{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.bank-tag{background:var(--surface-soft);color:var(--muted);border-radius:4px;margin-top:10px;padding:4px 8px;font-size:9px;display:inline-block}.flashcard-wrap{max-width:620px;margin:30px auto 45px}.flashcard-meta{letter-spacing:1px;color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.review-progress{background:var(--accent-soft);border-radius:3px;height:3px;margin:15px 0 20px}.review-progress i{background:var(--primary);height:3px;display:block}.flashcard{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:20px;width:100%;min-height:330px;padding:40px 25px;display:flex;position:relative;box-shadow:0 12px 35px #36532608}.flashcard.revealed{background:var(--surface-soft)}.card-label{color:var(--muted);letter-spacing:1.7px;font-size:9px;position:absolute;top:28px}.card-pinyin{color:var(--muted);margin-top:20px;font-size:18px}.flashcard .card-hanzi{font-size:38px;font-weight:500}.flashcard h2{overflow-wrap:anywhere;max-width:100%;font-size:25px}.card-context{color:var(--muted);font-size:15px}.tap-hint{color:var(--muted);font-size:10px;position:absolute;bottom:25px}.review-actions{justify-content:center;align-items:center;gap:22px;margin:24px 0 16px;display:flex}.review-summary{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;align-items:center;gap:20px;max-width:630px;margin:40px auto;padding:40px;display:flex}.summary-icon{background:var(--surface-soft);width:64px;height:64px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.review-summary h2{font-family:Georgia,serif;font-size:32px;font-weight:400}.review-summary>p{color:var(--muted);font-size:13px}.summary-stats{gap:50px;margin:15px 0;display:flex}.summary-stats strong{color:var(--muted);font-size:32px;display:block}.summary-stats span{color:var(--muted);font-size:11px}.button-row{justify-content:center;gap:12px;display:flex}.dialog-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:40;background:#15241955;position:fixed;inset:0}.dialog-content{background:var(--surface);border:1px solid var(--border);z-index:41;border-radius:16px;width:min(490px,100% - 32px);max-height:90dvh;padding:30px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 90px #18281030}.dialog-title{letter-spacing:-.7px;margin-right:20px;font-size:23px;font-weight:600}.dialog-content>p{margin:11px 0 20px;font-size:12px}.dialog-close{color:var(--muted);background:0 0;border:0;place-items:center;padding:4px;display:grid;position:absolute;top:17px;right:17px}.form-stack{flex-direction:column;gap:16px;margin-top:20px;display:flex}.form-stack label{color:var(--muted);flex-direction:column;gap:7px;font-size:11px;font-weight:500;display:flex}.form-stack textarea{resize:vertical;min-height:82px;font-size:13px}.form-stack input,.form-stack select{font-size:13px}.form-stack .checkbox-label{flex-direction:row;align-items:center;gap:10px;line-height:1.5}.checkbox-label input{flex-shrink:0}.form-stack fieldset{border:1px solid var(--border);border-radius:8px;gap:10px;padding:12px;display:grid}.form-stack legend{color:var(--muted);padding:0 7px;font-size:11px}.selected-phrase{background:var(--surface-soft);border-radius:9px;justify-content:space-between;align-items:center;gap:15px;padding:15px;display:flex}.selected-phrase p{overflow-wrap:anywhere}.selected-phrase .speaker{background:var(--accent-soft)}.inline-error{color:var(--error-text);background:var(--error-bg);border-radius:7px;padding:10px 12px;font-size:12px}.setup-list{margin:20px 0}.setup-list p{border-bottom:1px solid var(--border);color:var(--muted);justify-content:space-between;gap:15px;padding:13px 0;font-size:11px;display:flex}.setup-list strong{color:var(--muted);font-size:10px;font-weight:500}.delete-name{background:var(--surface-soft);border-radius:8px;padding:15px;font-size:20px!important}.toast{background:var(--primary);max-width:min(650px,90vw);color:var(--on-primary);z-index:60;border-radius:10px;align-items:center;gap:20px;padding:15px 20px;font-size:12px;line-height:1.6;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #23421f22}.toast button{color:var(--muted);background:0 0;border:0;flex-shrink:0}.loading-screen{color:var(--muted);align-items:center;gap:10px;padding:60px;display:flex}.error-banner{background:var(--error-bg);color:var(--error-text);border-radius:8px;justify-content:space-between;align-items:center;gap:20px;margin:25px 44px;padding:15px;font-size:13px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.mobile-nav{display:none}progress{width:100%;accent-color:var(--primary)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:1500px){.page-content{padding-top:60px}.page-heading{margin-bottom:42px}.source-card{padding:30px}.how-it-works{padding-top:45px}}@media (max-width:1100px){.sidebar{width:200px;padding-left:16px;padding-right:16px}main{margin-left:200px}.topbar{padding:0 28px}.page-content{padding:32px 28px 0}.intro-graphic{width:165px;margin-right:0}.source-card{padding:20px}.sample-card-bottom{flex-wrap:wrap;gap:15px;margin-top:24px}.studio-grid{grid-template-columns:1fr}.player-panel{grid-template-columns:1fr 1fr;display:grid}.audio-art{height:100%;min-height:260px}.word-row{gap:12px}}@media (max-width:760px){.sidebar{display:none}main{margin-left:0}.topbar{height:66px;padding:0 20px}.breadcrumb{gap:6px;font-size:10px}.topbar-right{gap:7px}.mode-pill{display:none}.language-pill{font-size:10px}.mobile-nav{border-bottom:1px solid var(--border);background:var(--surface-soft);justify-content:space-around;gap:8px;padding:12px;display:flex}.mobile-nav button{color:var(--muted);background:0 0;border:0;align-items:center;gap:6px;padding:5px;font-size:11px;display:flex}.page-content{padding:28px 20px 0}.page-heading{align-items:flex-start;margin-bottom:25px}.page-heading h1{font-size:35px}.intro-graphic{display:none}.source-grid{grid-template-columns:1fr;gap:15px}.source-card{padding:22px}.sample-card-bottom{margin-top:25px}.section-heading{margin-top:28px}.section-heading>.small{display:none}.how-it-works{grid-template-columns:1fr;gap:22px;padding-top:20px}.how-it-works>div{grid-template-columns:30px 1fr}.how-it-works p{margin-top:3px;font-size:11px}.how-it-works strong{font-size:12px}.empty-library{gap:12px;padding:20px}.empty-library strong{font-size:11px}.page-footer>p{display:none}.player-panel{display:block}.audio-art{height:245px;min-height:0}.studio-grid{grid-template-columns:minmax(0,1fr)}.lesson-heading{flex-wrap:wrap}.lesson-heading>div:first-child{flex-basis:100%}.lesson-heading h1{font-size:25px}.smaller{flex-direction:column;gap:20px}.bank-toolbar>select{flex:1}.word-row{grid-template-columns:36px minmax(0,1fr);align-items:start;gap:12px;padding:17px;display:grid}.word-main{min-width:0}.word-meaning{grid-column:2;margin-left:0}.word-actions{grid-column:2;justify-content:flex-end}.review-actions{gap:12px}.flashcard{min-height:310px}.flashcard .card-hanzi{font-size:29px}.dialog-content{padding:25px}.review-summary{padding:30px 20px}.review-summary h2{font-size:27px}.button-row{flex-wrap:wrap}.error-banner{margin:15px}.segment-text{font-size:18px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.source-card>p{color:var(--muted);font-size:13px}.subheading{color:var(--muted);font-size:14px}.segment-pinyin,.word-main small{color:var(--muted);font-size:13px}.word-context,.word-meaning p{color:var(--muted)}.empty-library p,.how-it-works p{color:var(--muted);font-size:12px}.empty-library strong{font-size:13px}.sample-meta,.transcript-status,.transcript-footer,.upload-zone small{color:var(--muted)}.transcript-status,.transcript-footer{font-size:11px}.upload-zone strong,.how-it-works strong{font-size:13px}.upload-zone small{font-size:11px}.button{font-size:12px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
:root,:root[data-theme=jade]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f1f5f3;--foreground:#193c32;--primary:#126653;--primary-hover:#0b4c40;--on-primary:#fff;--muted:#546b63;--border:#d2e2d9;--surface:#fff;--surface-soft:#f5f9f6;--sidebar:#e8f0ec;--accent-soft:#e1f2e9;--accent-strong:#b6dccb;--warm-bg:#fff0df;--warm-text:#8a4b18;--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=ocean]{--background:#eef3fa;--foreground:#203658;--primary:#2458bd;--primary-hover:#194597;--muted:#536884;--border:#cfdaec;--surface-soft:#f4f7fc;--sidebar:#e5ecf7;--accent-soft:#e1ebfc;--accent-strong:#b9d2f5}:root[data-theme=plum]{--background:#f5f0f8;--foreground:#3d2a50;--primary:#7043a8;--primary-hover:#563080;--muted:#705b7f;--border:#e0d3e9;--surface-soft:#faf6fc;--sidebar:#eee5f4;--accent-soft:#efe2f8;--accent-strong:#dac4ed}:root[data-theme=ember]{--background:#faf2e9;--foreground:#4d3026;--primary:#a1472c;--primary-hover:#81341d;--muted:#7a6053;--border:#e8d5c6;--surface:#fffdf8;--surface-soft:#fcf5ed;--sidebar:#f3e5d8;--accent-soft:#f9e6d8;--accent-strong:#edc3aa}:root[data-theme=midnight]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#101923;--foreground:#e4edf4;--primary:#86dfcc;--primary-hover:#a9ebdd;--on-primary:#112922;--muted:#b0c1cf;--border:#34475a;--surface:#192532;--surface-soft:#1c2c3b;--sidebar:#121f2c;--accent-soft:#213e44;--accent-strong:#325b62;--warm-bg:#44382c;--warm-text:#f3c895;--error-bg:#472a30;--error-text:#ffb8ae}body{background:var(--background);color:var(--foreground)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}.sidebar{background:var(--sidebar);width:200px;padding:26px 17px 16px}main{margin-left:200px}.brand{color:var(--primary);gap:6px;font-size:24px}.brand-mark,.nav-item.active,.count-badge{background:var(--accent-strong);color:var(--foreground)}.nav-label{margin-top:35px}.nav-item{padding:12px 10px}.nav-item.active{box-shadow:inset 3px 0 var(--primary)}.sidebar-note{background:linear-gradient(145deg, var(--accent-soft), var(--surface-soft));margin-top:36px}.sidebar-note h3,.breadcrumb strong{color:var(--foreground)}.topbar{background:var(--surface);height:68px;padding:0 26px}.topbar-right{gap:12px}.page-content{max-width:1680px;padding:24px 26px 0}.workspace-columns{align-items:start;gap:24px;display:grid}.workspace-primary{min-width:0}.workspace-columns.has-library{grid-template-columns:minmax(0,1fr) 282px}.page-heading{border:1px solid var(--border);background:linear-gradient(120deg, var(--accent-soft), var(--surface));border-radius:18px;margin:0 0 20px;padding:26px;overflow:hidden}.page-heading h1{letter-spacing:-1.3px;font-size:clamp(30px,2.6vw,40px)}h1 span,.brand-dot,.graphic-hanzi{color:var(--primary)}.page-heading .eyebrow{margin-bottom:10px}.subheading{color:var(--muted);margin-top:12px}.intro-graphic{width:130px;height:145px;margin-right:12px}.graphic-circle{width:110px;height:110px;box-shadow:0 0 0 14px var(--accent-soft);top:10px;left:10px}.graphic-hanzi{top:11px;left:32px}.graphic-caption{top:100px;left:30px}.graphic-wave{color:var(--primary);bottom:12px;right:-8px}.source-grid{gap:14px}.source-card{border-top:3px solid var(--accent-strong);border-radius:14px;padding:20px}.card-top{margin-bottom:14px}.source-card h2{font-size:19px;line-height:1.35}.source-card>p{margin-top:8px;font-size:13px;line-height:1.6}.source-card>.button{margin-top:18px}.icon-tile,.lesson-thumb,.speaker{background:var(--accent-soft);color:var(--primary)}.icon-tile.warm{background:var(--warm-bg);color:var(--warm-text)}.tag{color:var(--muted);letter-spacing:1px;font-size:9px}.upload-zone{gap:10px;margin-top:18px;padding:12px}.upload-zone>span{min-width:0}.upload-zone svg{flex-shrink:0}.sample-card{background:var(--surface-soft);grid-template-columns:minmax(0,1fr) auto;column-gap:16px;display:grid}.sample-card .card-top{grid-column:1/-1;margin-bottom:10px}.sample-card .card-top .icon-tile{width:30px;height:30px}.sample-card>p{grid-column:1}.sample-card-bottom{flex-direction:column;grid-area:2/2/4;justify-content:center;align-items:flex-end;gap:12px;margin:0}.sample-meta{font-size:11px}.button-primary{background:var(--primary);color:var(--on-primary)}.button-primary:hover{background:var(--primary-hover)}.button-outline{color:var(--primary);background:var(--surface);border-color:var(--border)}.button-outline:hover,.button-ghost:hover,.nav-item:hover{background:var(--accent-soft)}.how-it-works{gap:14px;margin-top:0;padding:20px 0 10px}.how-it-works>div{grid-template-columns:22px 1fr}.how-it-works strong{color:var(--foreground);font-size:12px}.how-it-works p{margin-top:4px;font-size:11px}.how-it-works span{color:var(--primary)}.page-footer{margin-top:24px;padding:20px 0}.appearance-trigger{border:1px solid var(--border);background:var(--surface-soft);color:var(--foreground);border-radius:9px;align-items:center;gap:7px;padding:8px 10px;font-size:11px;display:flex}.appearance-trigger:hover{background:var(--accent-soft)}.appearance-trigger svg{color:var(--primary)}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.theme-option{border:1px solid var(--border);text-align:left;background:var(--surface);color:var(--foreground);border-radius:12px;padding:10px}.theme-option[aria-pressed=true]{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.theme-preview{border-radius:6px;grid-template-columns:24px 1fr;gap:7px;height:65px;padding:9px;display:grid}.theme-preview>span{border-radius:3px}.theme-preview>span:first-child{grid-row:span 2}.theme-preview>span:last-child{opacity:.7;width:60%}.theme-option-label{justify-content:space-between;align-items:center;margin:10px 0 4px;font-size:13px;display:flex}.theme-option-label svg{color:var(--primary)}.theme-option small{color:var(--muted);font-size:11px;line-height:1.5;display:block}.library-rail{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;min-width:0;max-height:calc(100dvh - 120px);padding:20px 14px 14px;display:flex;position:sticky;top:20px;box-shadow:0 8px 28px #122b2310}.library-heading{justify-content:space-between;align-items:center;padding:0 4px;display:flex}.library-heading .eyebrow{color:var(--primary);margin:0;font-size:9px}.library-count{background:var(--accent-soft);color:var(--primary);border-radius:6px;padding:3px 8px;font-size:11px;font-weight:600}.library-rail h2{margin:10px 4px 4px;font-size:19px}.library-intro{color:var(--muted);margin:0 4px 16px;font-size:12px}.library-search{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted);border-radius:8px;align-items:center;gap:8px;margin-bottom:12px;padding-left:10px;display:flex}.library-search:focus-within{outline:2px solid var(--primary);outline-offset:2px}.library-search input{background:0 0;border:0;outline:0;width:100%;padding:10px 8px 10px 0;font-size:12px}.library-items{scrollbar-width:thin;gap:8px;min-height:0;margin:-3px;padding:3px;display:grid;overflow:auto}.library-item{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;align-items:flex-start;display:flex;position:relative}.library-item:hover{border-color:var(--primary)}.library-item.is-selected{border-color:var(--primary);background:var(--accent-soft);box-shadow:inset 3px 0 var(--primary)}.library-open{text-align:left;min-width:0;color:var(--foreground);background:0 0;border:0;border-radius:10px;flex:1;padding:12px 2px 12px 12px}.library-open strong{overflow-wrap:anywhere;margin:7px 0;font-size:13px;font-weight:600;line-height:1.5;display:block}.library-source{color:var(--primary);align-items:center;gap:5px;font-size:10px;font-weight:600;display:flex}.library-meta{color:var(--muted);flex-wrap:wrap;gap:5px;font-size:10px;line-height:1.5;display:flex}.library-delete{color:var(--muted);flex-shrink:0;margin:8px 3px 0 0;padding:7px}.library-empty{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:26px 12px;display:flex}.library-empty svg{color:var(--primary)}.library-empty strong{font-size:14px;line-height:1.5}.library-empty p{color:var(--muted);font-size:12px}.library-footnote{color:var(--muted);border-top:1px solid var(--border);align-items:center;gap:7px;margin-top:16px;padding:12px 4px 0;font-size:10px;line-height:1.6;display:flex}.lesson-heading{gap:14px;margin:16px 0 20px}.lesson-heading h1{font-size:26px;line-height:1.35}.lesson-heading .button{flex-shrink:0}.studio-grid{grid-template-columns:minmax(240px,.85fr) minmax(300px,1.15fr);gap:16px}.player-controls{padding:16px}.audio-art{background:radial-gradient(ellipse at 20% 20%, var(--accent-strong), transparent 75%), var(--accent-soft);height:210px;padding-top:22px}.orb{width:80px;height:80px;box-shadow:0 0 0 12px var(--accent-soft)}.orb span,.static-wave i{color:var(--primary)}.static-wave{height:52px;margin-top:12px}.static-wave i{background:var(--primary)}.youtube-frame{background:#090e14}.listening-tip{margin-top:16px;padding-top:14px}.transcript-header{padding:15px}.transcript-lines{max-height:min(60dvh,560px)}.transcript-line{padding:13px 12px}.transcript-line.is-current{background:var(--accent-soft);border-left-color:var(--primary);padding-left:9px}.segment-text{line-height:1.65}.segment-text::selection{background:var(--accent-strong);color:var(--foreground)}.lesson-title [role=alert],.inline-error,.error-banner{color:var(--error-text)}.inline-error,.error-banner{background:var(--error-bg)}.dialog-overlay{background:#08121c88}.dialog-content{background:var(--surface);border-color:var(--border)}.toast button{color:var(--on-primary)}.word-row{padding:16px}.word-list{gap:9px}.flashcard.revealed{background:var(--accent-soft)}@media (max-width:1279px){.sidebar{width:180px;padding-inline:12px}main{margin-left:180px}.brand{font-size:22px}.page-content{padding:20px 20px 0}.workspace-columns.has-library{grid-template-columns:minmax(0,1fr) 252px;gap:18px}.intro-graphic{display:none}.page-heading{padding:22px}.source-grid{grid-template-columns:1fr}.source-card{padding:18px}.sample-card{display:block}.sample-card-bottom{flex-direction:row;align-items:center;margin-top:16px}.studio-grid{grid-template-columns:minmax(0,1fr)}.player-panel{display:block}.how-it-works{grid-template-columns:1fr;gap:14px}}@media (max-width:1099px){.workspace-columns.has-library{grid-template-columns:minmax(0,1fr)}.library-rail{max-height:none;position:static}.library-items{max-height:520px}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sample-card{display:grid}.sample-card-bottom{flex-direction:column;align-items:flex-end;margin:0}.how-it-works{grid-template-columns:repeat(3,minmax(0,1fr))}.mode-pill{display:none}}@media (max-width:760px){.sidebar{display:none}main{margin-left:0}.topbar{height:60px;padding:0 16px}.appearance-trigger{padding:8px}.appearance-trigger>span{display:none}.page-content{padding:18px 16px 0}.page-heading{padding:22px 18px}.page-heading h1{font-size:32px}.source-grid{grid-template-columns:minmax(0,1fr)}.sample-card{display:block}.sample-card-bottom{flex-direction:row;align-items:center;margin-top:16px}.how-it-works{grid-template-columns:1fr}.mobile-nav{background:var(--sidebar);padding:10px 12px}.mobile-nav button{color:var(--foreground)}.mobile-nav button[aria-current=page]{color:var(--primary);background:var(--accent-soft);border-radius:6px}.lesson-heading h1{font-size:23px}.lesson-heading>div:first-child{flex-basis:100%}.transcript-lines{max-height:65dvh}.library-items{max-height:500px}.theme-options{gap:10px}}@media (max-width:420px){.language-pill{display:none}.sample-card-bottom{flex-direction:column;align-items:flex-start}}
:root[data-theme=white]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--foreground:#171717;--primary:#171717;--primary-hover:#333;--muted:#525252;--surface:#fff;--surface-soft:#f5f5f5;--sidebar:#fafafa;--accent-soft:#f5f5f5;--accent-strong:#e5e5e5;--on-primary:#fff;--border:#e2e2e2;--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=black]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#000;--foreground:#f5f5f5;--primary:#f5f5f5;--primary-hover:#ddd;--muted:#b8b8b8;--surface:#111;--surface-soft:#191919;--sidebar:#080808;--accent-soft:#191919;--accent-strong:#333;--on-primary:#111;--border:#303030;--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#3a2020;--error-text:#ffb8ae}:root[data-theme=jade]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f1f6f3;--foreground:#173d2f;--primary:#00795e;--primary-hover:#00634d;--muted:#38584b;--surface:#fbfefc;--surface-soft:#e7efea;--sidebar:#dcebe2;--accent-soft:#e7efea;--accent-strong:#a8cfb6;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=ocean]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f1f4fa;--foreground:#153b65;--primary:#225de0;--primary-hover:#194bbd;--muted:#345171;--surface:#fcfdff;--surface-soft:#e7edf7;--sidebar:#dce6f6;--accent-soft:#e7edf7;--accent-strong:#aac5ed;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=plum]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f5f2f8;--foreground:#3d2552;--primary:#7c3ac6;--primary-hover:#652ca7;--muted:#554263;--surface:#fefcff;--surface-soft:#ede7f3;--sidebar:#e5dcf1;--accent-soft:#ede7f3;--accent-strong:#cbb0e3;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=ember]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f8f3ef;--foreground:#542e1e;--primary:#bd4524;--primary-hover:#9e361a;--muted:#684734;--surface:#fffcfa;--surface-soft:#f3e9e1;--sidebar:#f1dfd2;--accent-soft:#f3e9e1;--accent-strong:#e9b89b;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=lagoon]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#eef6f5;--foreground:#123f39;--primary:#007c78;--primary-hover:#006461;--muted:#254944;--surface:#fafffe;--surface-soft:#e0efec;--sidebar:#cbe9e1;--accent-soft:#e0efec;--accent-strong:#83c6b9;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=sunflower]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f8f6ed;--foreground:#4a390c;--primary:#9c6b00;--primary-hover:#805700;--muted:#635125;--surface:#fffef8;--surface-soft:#f3eed9;--sidebar:#f1e8bc;--accent-soft:#f3eed9;--accent-strong:#e8c65d;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=rose]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f8f1f4;--foreground:#4d283d;--primary:#bd2464;--primary-hover:#a11b52;--muted:#63394d;--surface:#fffcfd;--surface-soft:#f2e5eb;--sidebar:#efd9e3;--accent-soft:#f2e5eb;--accent-strong:#dfa5c0;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=terrace]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f4f5ef;--foreground:#343f22;--primary:#526e28;--primary-hover:#40591d;--muted:#475334;--surface:#fdfef9;--surface-soft:#ebeedf;--sidebar:#e1e7cc;--accent-soft:#ebeedf;--accent-strong:#bdc894;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=paper]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f4f2ee;--foreground:#38352e;--primary:#625949;--primary-hover:#4b4336;--muted:#57534b;--surface:#fdfbf7;--surface-soft:#eeebe4;--sidebar:#e8e3d9;--accent-soft:#eeebe4;--accent-strong:#d1c9bb;--on-primary:#fff;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#fff0ed;--error-text:#a0352b}:root[data-theme=midnight]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#10171e;--foreground:#e4edf4;--primary:#55dac0;--primary-hover:#83e7d3;--muted:#bfcdd8;--surface:#1b2732;--surface-soft:#26343f;--sidebar:#131e28;--accent-soft:#26343f;--accent-strong:#325b62;--on-primary:#101923;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#472a30;--error-text:#ffb8ae}:root[data-theme=cobalt]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#101827;--foreground:#edf4ff;--primary:#79adff;--primary-hover:#9dc4ff;--muted:#dae5f5;--surface:#1a2941;--surface-soft:#253754;--sidebar:#142136;--accent-soft:#253754;--accent-strong:#3664ad;--on-primary:#0d2454;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#472a30;--error-text:#ffb8ae}:root[data-theme=aurora]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#1b1723;--foreground:#f3eaff;--primary:#c797ff;--primary-hover:#d9b8ff;--muted:#cebce2;--surface:#2a2337;--surface-soft:#382e48;--sidebar:#211b2d;--accent-soft:#382e48;--accent-strong:#5a427e;--on-primary:#191426;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#472a30;--error-text:#ffb8ae}:root[data-theme=sienna]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#211a18;--foreground:#f6e7dc;--primary:#f2a777;--primary-hover:#ffc49e;--muted:#dbc1b2;--surface:#302621;--surface-soft:#41322b;--sidebar:#271e1b;--accent-soft:#41322b;--accent-strong:#674b40;--on-primary:#201917;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#472a30;--error-text:#ffb8ae}:root[data-theme=graphite]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#18191d;--foreground:#eeeff0;--primary:#d5d8df;--primary-hover:#f0f1f4;--muted:#bec1c9;--surface:#27292e;--surface-soft:#33363d;--sidebar:#202125;--accent-soft:#33363d;--accent-strong:#464b55;--on-primary:#18191d;--border:color-mix(in srgb, var(--foreground) 14%, var(--surface));--warm-bg:var(--accent-soft);--warm-text:var(--primary);--error-bg:#472a30;--error-text:#ffb8ae}:root,:root[data-theme=studio]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f4f5f7;--foreground:#17191e;--primary:#d71930;--primary-hover:#b90f25;--muted:#5e616b;--surface:#fff;--surface-soft:#eceef1;--sidebar:#191b20;--accent-soft:#fff0f1;--accent-strong:#ffc9d0;--on-primary:#fff;--border:#dcdfe5;--warm-bg:#fff0f1;--warm-text:#ac1127;--error-bg:#fff0ed;--error-text:#a0352b}
:root{--sidebar-width:232px}.sidebar{width:var(--sidebar-width);scrollbar-width:thin;overflow-y:auto}main{margin-left:var(--sidebar-width)}.app-shell{isolation:isolate;position:relative}.workspace-backdrop{inset:0 0 0 var(--sidebar-width);z-index:-1;pointer-events:none;background-position:50%;background-size:cover;position:fixed}.workspace-backdrop:after{content:"";background:var(--background);opacity:.22;position:absolute;inset:0}.source-card,.player-panel,.transcript-panel,.library-rail,.word-row,.goal-settings-card,.dialog-content,.flashcard,.empty-state,.processing-panel{background:var(--surface);border:1px solid var(--border);box-shadow:0 5px 20px #00000008}.sample-card,.page-heading,.goal-card{background:var(--surface-soft)}.topbar,.sidebar{background:var(--sidebar)}.source-card{border-top-width:1px}.nav-item.active{box-shadow:none}.library-item.is-selected{box-shadow:none;background:var(--accent-strong);border-color:var(--border)}.button{transition:none}.goal-card{margin-top:22px;padding:16px}.goal-card-top{color:var(--primary);justify-content:space-between;align-items:center;display:flex}.goal-card-top button{color:var(--muted);background:0 0;border:0;padding:4px}.goal-card h3{margin:12px 0 8px;font-size:18px;line-height:1.35}.goal-card>p{font-size:12px;line-height:1.6}.goal-totals{border-top:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:12px;padding:16px 0;display:grid}.goal-totals strong{color:var(--foreground);font-size:19px;font-weight:600;display:block}.goal-totals span{color:var(--muted);white-space:nowrap;font-size:9px}.goal-meter-label{color:var(--foreground);justify-content:space-between;gap:8px;margin-bottom:8px;font-size:11px;display:flex}.goal-card progress,.goal-summary-meter progress{background:var(--accent-strong);width:100%;height:7px;accent-color:var(--primary);border:0;border-radius:8px;display:block;overflow:hidden}.goal-card progress::-webkit-progress-bar{background:var(--accent-strong)}.goal-summary-meter progress::-webkit-progress-bar{background:var(--accent-strong)}.goal-card progress::-webkit-progress-value{background:var(--primary);border-radius:8px}.goal-summary-meter progress::-webkit-progress-value{background:var(--primary);border-radius:8px}.goal-card progress::-moz-progress-bar{background:var(--primary)}.goal-summary-meter progress::-moz-progress-bar{background:var(--primary)}.goal-card>small{margin-top:8px;font-size:10px;display:block}.goal-summary-meter{margin-bottom:22px}.goal-link{color:var(--primary);text-align:left;background:0 0;border:0;align-items:center;gap:6px;margin-top:6px;padding:8px 0 0;font-size:11px;line-height:1.5;display:flex}.goals-grid{grid-template-columns:1.2fr 1fr;gap:22px;max-width:1050px;display:grid}.goal-settings-card{border-radius:15px;min-width:0;padding:26px}.goal-settings-card h2{font-size:20px}.goal-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.goal-inputs input,.goal-inputs select{width:100%}.goal-inputs label{min-width:0}.goal-encouragement{background:var(--accent-soft);border-radius:10px;align-items:flex-start;gap:10px;padding:16px;display:flex}.goal-encouragement svg{color:var(--primary);flex-shrink:0;margin-top:2px}.goal-encouragement p{color:var(--foreground);font-size:13px;line-height:1.6}.goal-success{color:var(--primary);align-items:center;gap:8px;font-size:13px;display:flex}.goal-summary{gap:14px;margin:22px 0;display:grid}.goal-summary>div{background:var(--surface-soft);border-radius:10px;justify-content:space-between;align-items:center;padding:16px;display:flex}.goal-summary span{color:var(--muted);font-size:13px}.goal-summary strong{color:var(--primary);font-size:27px}.goal-welcome{color:var(--primary);justify-items:start;gap:22px;margin-top:20px;display:grid}.appearance-dialog{width:min(740px,100% - 32px)}.appearance-sections{border-bottom:1px solid var(--border);gap:8px;margin:20px 0 16px;padding-bottom:12px;display:flex}.appearance-sections button,.theme-filter button{color:var(--muted);background:0 0;border:0;border-radius:7px;align-items:center;gap:7px;padding:9px 12px;font-size:12px;display:flex}.appearance-sections button[aria-pressed=true],.theme-filter button[aria-pressed=true]{background:var(--accent-strong);color:var(--foreground)}.theme-filter{gap:4px;display:flex}.theme-filter button{padding:7px 10px;font-size:11px}.theme-options{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px}.theme-option{background:var(--surface-soft)}.theme-option[aria-pressed=true]{border-color:var(--primary);box-shadow:none;background:var(--accent-soft)}.theme-preview{height:57px}.theme-preview>span:first-child{grid-row:span 2}.theme-preview>span:last-child{opacity:1;width:100%}.theme-option-label{margin-top:8px}.theme-option small{font-size:10px}.appearance-status{color:var(--muted);align-items:center;gap:7px;margin-top:20px;font-size:12px;display:flex}.backdrop-settings{gap:16px;display:grid}.backdrop-preview{aspect-ratio:16/7;background-color:var(--accent-soft);color:var(--primary);text-align:center;background-position:50%;background-size:cover;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;font-size:13px;display:flex}.backdrop-settings .button-row{justify-content:flex-start}.page-footer{background:var(--surface-soft);border-top:0;border-radius:12px 12px 0 0;padding:14px 16px;display:block}.footer-guide{border-bottom:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-bottom:12px;display:grid}.footer-guide>div{grid-template-columns:20px minmax(0,1fr);column-gap:6px;display:grid}.footer-guide span{color:var(--primary);grid-row:span 2;font-family:Georgia,serif;font-size:14px;font-style:italic}.footer-guide strong{color:var(--foreground);font-size:11px;font-weight:500}.footer-guide p{color:var(--muted);margin-top:3px;font-size:10px;line-height:1.4}.footer-brand-row{color:var(--muted);align-items:center;gap:16px;padding-top:12px;font-size:10px;display:flex}.footer-brand-row>span{color:var(--primary);font-size:14px;font-weight:600}.footer-brand-row button{color:var(--muted)}@media (max-width:1279px){:root{--sidebar-width:216px}.sidebar{width:var(--sidebar-width)}main{margin-left:var(--sidebar-width)}.workspace-columns.has-library{grid-template-columns:minmax(0,1fr) 250px}}@media (max-width:1099px){.workspace-columns.has-library{grid-template-columns:minmax(0,1fr)}.goals-grid{grid-template-columns:1fr}}@media (max-width:760px){:root{--sidebar-width:0px}main{margin-left:0}.mobile-nav{gap:6px}.mobile-nav button{gap:4px;font-size:10px}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-dialog{padding:22px}.goal-settings-card{padding:20px}.footer-guide{gap:10px}.footer-guide>div{display:block}.footer-guide span{margin-bottom:4px;display:block}.footer-guide p,.footer-brand-row>p{display:none}}
.custom-library-heading,.custom-selection-count,.custom-reader-tabs,.custom-reader-options,.custom-practice-result{justify-content:space-between;align-items:center;gap:14px;display:flex}.usage-editor{border-top:1px solid var(--border);padding-top:12px}.usage-editor summary{cursor:pointer;color:var(--foreground);font-size:13px}.usage-editor>p{color:var(--muted);margin:10px 0;font-size:11px;line-height:1.6}.usage-editor fieldset{margin-top:10px}.usage-choices,.usage-tags,.usage-filters{flex-wrap:wrap;gap:8px;display:flex}.usage-choices label{background:var(--surface-soft);border-radius:6px;flex-direction:row;align-items:center;padding:5px 7px}.usage-choices input{flex-shrink:0;width:auto}.usage-tags{margin:8px 0}.usage-tags>span{background:var(--surface-soft);border:1px solid var(--border);color:var(--muted);border-radius:5px;padding:3px 7px;font-size:10px;line-height:1.5}.usage-filters{gap:12px;margin:0 0 16px}.usage-filters label{color:var(--muted);flex:0 210px;gap:6px;min-width:0;font-size:11px;display:grid}.usage-filters select{width:100%;min-width:0}.custom-picker-dialog>.custom-settings{flex:auto;min-height:120px;margin:12px 0 20px;padding:2px;overflow:auto}.lesson-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.lesson-option-grid select{width:100%;min-width:0}.form-stack .lesson-context-toggle{flex-direction:row;align-items:center;line-height:1.6}.lesson-context-toggle input{flex-shrink:0}.lesson-saved-settings{background:var(--surface-soft);overflow-wrap:anywhere;border-radius:8px;margin-top:16px;padding:12px;font-size:12px;line-height:1.7}.lesson-saved-settings span{color:var(--muted)}@media (max-width:760px){.lesson-option-grid{grid-template-columns:1fr}.usage-filters label{flex:140px}}.custom-library-heading{margin:26px 0 18px}.custom-library-heading h2{margin-bottom:6px;font-size:20px}.custom-lesson-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.custom-lesson-card{text-align:left;background:var(--surface);border:1px solid var(--border);color:var(--foreground);border-radius:14px;align-items:center;gap:16px;min-width:0;padding:20px;display:flex}.custom-lesson-card:hover{background:var(--surface-soft)}.custom-lesson-card>span:nth-child(2){flex:1;min-width:0}.custom-lesson-card strong{overflow-wrap:anywhere;font-size:16px;line-height:1.5;display:block}.custom-lesson-card small{color:var(--muted);margin-top:8px;font-size:11px;line-height:1.6;display:block}.custom-card-icon{background:var(--accent-soft);color:var(--primary);border-radius:10px;padding:10px}.custom-lesson-card>svg{flex-shrink:0}.custom-picker-dialog{flex-direction:column;width:min(720px,100% - 32px);display:flex}.custom-picker-dialog>*{flex-shrink:0}.custom-picker-dialog>.custom-word-picker{flex:340px;min-height:90px}.custom-picker-tools{grid-template-columns:minmax(0,1fr) minmax(140px,.55fr);gap:12px;margin:22px 0 16px;display:grid}.custom-picker-tools select{width:100%;min-width:0}.custom-selection-count{margin-bottom:10px;font-size:12px}.custom-selection-count button{color:var(--primary);background:0 0;border:0;padding:6px;font-size:12px}.custom-word-picker{border:1px solid var(--border);border-radius:10px;max-height:340px;margin-bottom:18px;overflow:auto}.custom-word-picker label{border-bottom:1px solid var(--border);cursor:pointer;align-items:flex-start;gap:13px;padding:13px 16px;display:flex}.custom-word-picker label:last-child{border-bottom:0}.custom-word-picker input{accent-color:var(--primary);flex-shrink:0;margin-top:6px}.custom-word-picker label>span{gap:4px;min-width:0;display:grid}.custom-word-picker strong{overflow-wrap:anywhere;font-size:17px;font-weight:500}.custom-word-picker small,.custom-word-picker label>span>span{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.5}.custom-word-picker>p{padding:20px}.custom-picker-dialog>.button{margin-top:18px}.custom-picker-dialog .inline-error{margin-top:14px}.custom-reader,.custom-status-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;margin-top:16px;padding:28px}.custom-reader header h2{overflow-wrap:anywhere;margin:8px 0 12px;font-size:28px;line-height:1.35}.custom-reader header>p:not(.eyebrow){max-width:850px;font-size:14px;line-height:1.7}.custom-reader header>small{color:var(--muted);margin-top:12px;font-size:11px;display:block}.custom-reader-tabs{border-bottom:1px solid var(--border);justify-content:flex-start;margin:24px 0 18px;padding-bottom:12px}.custom-reader-tabs button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:10px 15px;font-size:13px}.custom-reader-tabs button[aria-pressed=true]{background:var(--accent-strong);color:var(--foreground)}.custom-reader-options{color:var(--muted);flex-wrap:wrap;justify-content:flex-start;font-size:12px}.custom-reader-options label{align-items:center;gap:7px;display:flex}.custom-reader-options input{accent-color:var(--primary)}.custom-scene{counter-reset:scene;gap:12px;margin:20px 0;padding:0;list-style:none;display:grid}.custom-scene>li{counter-increment:scene;background:var(--surface-soft);border-radius:12px;min-width:0;padding:20px 20px 20px 48px;position:relative}.custom-scene>li:before{content:counter(scene, decimal-leading-zero);color:var(--primary);font-size:11px;position:absolute;top:23px;left:16px}.custom-scene p{overflow-wrap:anywhere;font-size:14px;line-height:1.7}.custom-scene .custom-line-text{margin:4px 0 8px;font-size:21px;line-height:1.9}.custom-scene .custom-line-pinyin{color:var(--muted);font-size:12px}.custom-line-text mark{background:var(--accent-strong);color:var(--foreground);border-radius:3px;padding:0 2px}.custom-scene select{width:100%;max-width:500px;margin-top:8px}.custom-vocabulary{border-top:1px solid var(--border);padding-top:18px}.custom-vocabulary summary{cursor:pointer;color:var(--primary);font-size:14px}.custom-vocabulary>div{border-bottom:1px solid var(--border);padding:14px 0;font-size:13px;line-height:1.6}.custom-vocabulary strong{margin-right:12px;font-size:17px}.custom-vocabulary span{color:var(--muted)}.custom-reader-footnote{color:var(--muted);margin-top:22px;font-size:11px;line-height:1.7}.custom-practice-intro{color:var(--muted);font-size:14px;line-height:1.7}.custom-answer{margin-top:14px;font-size:13px}.custom-answer strong{color:var(--error-text)}.custom-answer[data-correct=true] strong{color:var(--primary)}.custom-answer p{color:var(--muted);font-size:12px}.custom-practice-result{color:var(--primary);flex-wrap:wrap;justify-content:flex-start;font-size:14px}.custom-practice-result .button{margin-left:auto}.custom-status-card{justify-items:start;gap:16px;display:grid}.custom-status-card p,.custom-notice{font-size:14px;line-height:1.6}.custom-notice{background:var(--surface);border-radius:10px;margin-bottom:16px;padding:16px}@media (max-width:900px){.custom-lesson-list{grid-template-columns:1fr}}@media (max-width:760px){.mobile-nav{justify-content:flex-start;overflow-x:auto}.mobile-nav button{white-space:nowrap;flex-shrink:0}.custom-picker-tools{grid-template-columns:1fr}.custom-reader{padding:18px}.custom-reader header h2{font-size:24px}.custom-scene>li{padding:16px 12px 16px 34px}.custom-scene>li:before{top:20px;left:10px}.custom-scene .custom-line-text{font-size:19px}.custom-library-heading{align-items:flex-start}.custom-lesson-card{padding:16px}.custom-lessons-view .page-heading{flex-wrap:wrap;gap:20px}}
.source-illustration{width:100%;height:100%;display:block}.learn-sources .source-card{background:color-mix(in srgb, var(--surface) 65%, var(--primary));border:0;border-radius:18px;padding:22px}.learn-sources .source-card>.button{background:var(--primary);min-height:49px;color:var(--on-primary);font-size:14px;font-weight:600;box-shadow:0 5px 14px #00000012}.learn-sources .source-card>.button:hover{background:var(--primary-hover)}.learn-sources .source-visual{background:0 0;height:180px;overflow:visible}.sidebar-goals{margin-top:10px}.sidebar-note h3{font-family:inherit;font-size:17px;font-weight:600}.sidebar-note{margin-top:28px}.page-heading h1{letter-spacing:-.8px;font-size:32px}.page-heading .eyebrow{display:none}.app-shell>main{flex-direction:column;min-height:100svh;display:flex}.topbar{flex-shrink:0}.topbar-sign-in{white-space:nowrap;flex-shrink:0;min-height:36px;padding:9px 12px;font-size:12px}@media (max-width:760px){.has-sign-in .breadcrumb-parent,.has-sign-in .breadcrumb>svg{display:none}.has-sign-in .topbar-right{gap:8px}}.page-content{flex-direction:column;flex:1;gap:26px;width:100%;margin:0 auto;display:flex}.page-content>.page-footer{margin-top:auto}.lookup-panel{background:var(--surface);width:min(560px,100vw - 24px);max-height:min(480px,100dvh - 24px);color:var(--foreground);border:1px solid var(--border);z-index:30;border-radius:16px;padding:0 16px 12px;position:fixed;overflow-y:auto;box-shadow:0 12px 45px #00000030}.lookup-panel>header{z-index:1;background:var(--surface);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;align-items:flex-start;gap:8px;padding:12px 0;display:flex;position:sticky;top:0}.lookup-drag-header:active,.lookup-drag-handle:active{cursor:grabbing}.lookup-drag-handle{cursor:grab}.lookup-reset-position{border:1px solid var(--border);background:var(--surface-soft);min-height:34px;color:var(--foreground);cursor:pointer;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:7px;font-size:10px;display:inline-flex}.lookup-reset-position:disabled{color:var(--muted);cursor:default}.lookup-panel>header>div{flex:1}.lookup-panel h2{font-size:16px}.lookup-panel header p{color:var(--muted);margin-top:3px;font-size:10px;line-height:1.6}.lookup-panel .form-stack{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 14px;margin-top:0;display:grid}.lookup-panel .form-stack>:not(.lookup-copy-fields):not(.lookup-meaning-field){grid-column:1/-1}.lookup-copy-fields{min-width:0}.lookup-copy-fields .lookup-pronunciation-editor{margin-top:8px}.lookup-meaning-field textarea{height:92px;min-height:92px}.lookup-panel .form-stack label{font-size:11px}.lookup-panel .lookup-save-row{align-items:end;gap:12px;display:flex}.lookup-save-row label{flex:1;min-width:0}.lookup-save-row select{width:100%}.lookup-save-row>.button{flex-shrink:0;justify-content:center;min-height:40px}.lookup-panel .lookup-footnote{font-size:10px;line-height:1.5}@media (max-width:540px){.lookup-panel .form-stack{grid-template-columns:minmax(0,1fr)}.lookup-panel .form-stack>*{grid-column:1}.lookup-meaning-field textarea{height:65px;min-height:65px}}.usage-batch-list{border:1px solid var(--border);border-radius:10px;max-height:320px;overflow:auto}.usage-batch-list label{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;padding:12px;display:flex}.usage-batch-list input{flex-shrink:0;margin-top:5px}.usage-batch-list span{overflow-wrap:anywhere;min-width:0}.usage-batch-list strong{font-size:16px;display:block}.usage-batch-list small{color:var(--muted);font-size:12px}.usage-filters>.button{align-self:end}@media (max-width:760px){.page-content{display:block}.page-content>.page-footer{margin-top:24px}.lookup-panel{padding:0 12px 12px}.learn-sources .source-visual{height:160px}.learn-sources .source-card>.button{min-height:49px}}.learn-heading h1{font-size:32px;line-height:1.15}.learn-heading h1 br{display:none}.learn-heading h1 span:before{content:" "}.learn-heading .eyebrow{letter-spacing:1.8px;margin-bottom:10px;font-size:9px}.learn-heading .subheading{max-width:none;margin-top:12px;font-size:13px;line-height:1.6}.learn-sources{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.learn-sources .source-card{box-shadow:none;border-top-width:1px;flex-direction:column;padding:18px;display:flex}.learn-sources .source-card h2{margin-top:18px;font-size:19px}.learn-sources .source-card>p{flex:1;margin:8px 0 20px;font-size:13px;line-height:1.6}.learn-sources .source-card>.button{justify-content:center;align-self:stretch;margin:0}.source-detail{color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:6px;margin-top:12px;font-size:10px;line-height:1.5;display:flex}.source-detail svg{flex-shrink:0}.source-visual{background:var(--surface-soft);height:134px;color:var(--primary);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.video-visual{flex-direction:column;gap:13px}.visual-play{background:var(--accent-strong);border-radius:50%;place-items:center;width:48px;height:48px;padding-left:3px;display:grid}.visual-caption{background:var(--surface);color:var(--foreground);border-radius:6px;padding:7px 13px;font-size:12px}.visual-caption mark{background:var(--accent-strong);color:var(--foreground);border-radius:3px;padding:2px}.visual-captions-icon{color:var(--muted);position:absolute;top:12px;right:12px}.audio-visual{gap:14px}.visual-file{background:var(--surface);border-radius:10px;place-items:center;width:58px;height:70px;display:grid;transform:rotate(-7deg)}.visual-wave{align-items:center;gap:4px;max-width:58%;height:72px;display:flex}.visual-wave i{background:var(--primary);opacity:.6;border-radius:4px;width:4px;max-height:100%;display:block}.visual-wave i:nth-child(3n){opacity:1}.learn-sample{background:var(--surface);border:1px solid var(--border);border-radius:12px;grid-column:1/-1;align-items:center;gap:14px;padding:18px 20px;display:flex}.sample-cup{background:var(--accent-soft);color:var(--primary);border-radius:10px;padding:11px;display:flex}.learn-sample>div{flex:1;min-width:0}.learn-sample h2{margin:0;font-size:15px;line-height:1.4}.learn-sample p{color:var(--muted);margin-top:5px;font-size:11px}.learn-sample>.button{white-space:nowrap;font-size:12px}.footer-brand-row{padding:0 0 12px}.footer-guide{border-bottom:0;border-top:1px solid var(--border);padding:12px 0 0}.setup-list>p{gap:16px}.setup-list strong{text-align:right}.dialog-content>.small.muted{line-height:1.8}@media (max-width:1279px){.learn-heading h1{font-size:29px}.learn-sources{grid-template-columns:1fr}.source-visual{height:115px}.learn-sample{flex-wrap:wrap}.learn-sample>.button{margin-left:auto}}@media (min-width:761px) and (max-width:1099px){.learn-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.learn-heading{padding:20px 18px}.learn-heading h1{font-size:29px}.learn-heading h1 br{display:block}.learn-heading h1 span:before{content:none}.learn-sources{grid-template-columns:1fr}.source-visual{height:110px}.learn-sources .source-card{padding:16px}.learn-sample{gap:12px;padding:16px}.learn-sample>.button{justify-content:center;width:100%;margin-left:0}.footer-brand-row>p{flex:1;font-size:9px;display:block}.footer-brand-row{align-items:center;gap:10px}.setup-list>p{align-items:flex-start}.setup-list strong{max-width:52%}}.page-content{gap:22px;padding-bottom:24px}.page-content>.page-heading{margin-bottom:0}.page-heading,.page-heading.smaller{background:var(--surface-soft);border:1px solid var(--border);text-align:center;border-radius:16px;grid-template-columns:minmax(0,1fr) minmax(0,2.5fr) minmax(0,1fr);align-items:center;gap:16px;min-height:134px;padding:22px;display:grid}.page-heading>div{grid-column:2;min-width:0}.page-heading>.button,.page-heading>svg{grid-column:3;justify-self:end}.page-heading h1,.page-heading.smaller h1{letter-spacing:-.7px;font-size:30px;line-height:1.2}.page-heading .subheading{margin:8px 0 0;font-size:13px;line-height:1.6}.sidebar-progress{flex-shrink:0;margin-top:auto;padding-top:24px}.sidebar-progress .goal-card{margin-top:0}.sidebar .sidebar-bottom{margin-top:0;padding-top:18px}.sidebar-progress .sidebar-goals{margin-top:10px}.workspace-library{gap:16px;min-width:0;display:grid;position:sticky;top:20px}.workspace-library .library-rail{background:var(--surface);box-shadow:none;position:static}.library-rail h2,.library-intro{text-align:center}.learn-sources{height:100%}.learn-sources .source-card{text-align:center;min-height:450px;padding:24px 20px}.learn-sources .source-card h2{place-items:center;min-height:56px;font-size:20px;line-height:1.4;display:grid}.learn-sources .source-card>p,.learn-sources .source-detail{color:var(--foreground)}.workspace-library .learn-sample{text-align:center;flex-direction:column;gap:10px;padding:18px 14px;display:flex}.workspace-library .learn-sample>svg{color:var(--primary)}.workspace-library .learn-sample h2{font-size:14px}.workspace-library .learn-sample .button{justify-content:center;width:100%;margin:0}.lookup-panel .selected-phrase{align-items:center;margin:0;padding:12px}.segment-copy{overflow-wrap:anywhere}.lookup-pronunciation-editor summary{cursor:pointer;color:var(--muted);font-size:11px}.lookup-pronunciation-editor textarea{margin-top:8px}.recording-waveform{background:var(--surface-soft);padding:20px 16px 14px}.recording-waveform h2{text-align:center;margin:0 0 18px;font-size:15px}.waveform-track{background:var(--surface);border-radius:8px;height:140px;position:relative;overflow:hidden}.waveform-track svg{width:100%;height:100%;display:block}.waveform-track path{fill:none;stroke-width:1.5px}.waveform-unplayed{stroke:var(--primary);opacity:.45}.waveform-played,.waveform-playhead{stroke:var(--primary)}.waveform-playhead{stroke-width:2px}.waveform-zero{stroke:var(--border)}.waveform-track input[type=range]{opacity:0;cursor:crosshair;touch-action:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.waveform-zoom{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-bottom:12px;display:flex}.waveform-zoom button,.waveform-pan-controls button,.waveform-show-playhead{border:1px solid var(--border);min-width:34px;min-height:34px;color:var(--foreground);background:var(--surface);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;padding:6px 9px;font-size:11px;display:inline-flex}.waveform-zoom output{text-align:center;font-variant-numeric:tabular-nums;min-width:32px;font-size:12px}.waveform-zoom button:not(:disabled):hover,.waveform-pan-controls button:not(:disabled):hover{background:var(--accent-strong)}.waveform-pan{margin-top:16px}.waveform-pan-label{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:10px;display:flex}.waveform-pan-controls{align-items:center;gap:8px;margin-top:7px;display:flex}.waveform-pan-controls input{width:100%;min-width:0;height:30px;accent-color:var(--primary);cursor:pointer;border:0;flex:1;padding:0}.waveform-show-playhead{margin:10px auto 0;display:flex}.waveform-track:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:3px}.waveform-ticks{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;margin-top:7px;font-size:10px;display:flex}.waveform-hint{text-align:center;color:var(--muted);margin-top:14px;font-size:11px}.waveform-loading{text-align:center;min-height:170px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:12px;display:flex}.waveform-loading button{color:var(--primary);cursor:pointer;background:0 0;border:0;text-decoration:underline}@media (min-width:1100px){.workspace-columns.has-library{align-items:stretch}.workspace-library{align-self:start}}@media (max-width:1099px){.workspace-library{position:static}}@media (max-width:900px){.page-heading,.page-heading.smaller{grid-template-columns:1fr;gap:12px;padding:20px}.page-heading>div,.page-heading>.button,.page-heading>svg{grid-column:1;justify-self:center}}@media (max-width:760px){.page-content{padding-bottom:18px}.page-content>.page-heading{margin-bottom:18px}.learn-sources .source-card{min-height:390px}.learn-sources .source-visual{height:175px}.learn-sources .source-card h2{min-height:0}.page-heading h1,.page-heading.smaller h1{font-size:28px}}.learn-sources{align-content:start;height:auto}.learn-sources .source-card{min-height:0;padding:18px}.learn-sources .source-visual{height:100px}.learn-sources .source-card h2{min-height:52px;margin:8px 0 12px;font-size:19px}.learn-sources .source-card>.button{border-radius:12px;gap:10px;min-height:88px;padding:16px 12px;font-size:19px;font-weight:700;line-height:1.3}.learn-sources .source-card>.button svg{flex-shrink:0;width:22px;height:22px}.learn-sources .source-card>p{flex:none;min-height:38px;margin:12px 0 0;font-size:12px;line-height:1.5}.learn-sources .source-detail{margin-top:8px;font-size:9px}:root:not([data-theme]) .sidebar,:root[data-theme=studio] .sidebar{--foreground:#fafafa;--muted:#c4c7cf;--primary:#ff6676;--primary-hover:#ff8591;--surface:#25272e;--surface-soft:#25272e;--accent-soft:#34252c;--accent-strong:#502c35;--border:#3b3e48;color:var(--foreground)}.learn-sources .source-card{background:var(--surface);border:1px solid var(--border);box-shadow:0 6px 22px #17191e0a}.learn-sources .source-card>.button{box-shadow:0 5px 14px color-mix(in srgb, var(--primary) 15%, transparent)}.playback-lookup-setting{border-top:1px solid var(--border);margin-top:14px;padding-top:12px}.playback-lookup-setting label{cursor:pointer;align-items:center;gap:9px;font-size:12px;line-height:1.5;display:flex}.playback-lookup-setting input{flex-shrink:0}.playback-lookup-setting p{color:var(--muted);margin:5px 0 0 25px;font-size:10px}@media (min-width:761px){.learn-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.learn-sources{gap:12px}.learn-sources .source-card{grid-template-columns:60px minmax(0,1fr);gap:8px;padding:12px;display:grid}.learn-sources .source-visual{grid-area:1/1;width:60px;height:52px}.learn-sources .source-card h2{text-align:left;grid-area:1/2;place-items:center start;min-height:0;margin:0;font-size:17px}.learn-sources .source-card>.button{grid-column:1/-1;min-height:76px;padding:12px;font-size:18px}.learn-sources .source-card>p{display:none}.learn-sources .source-detail{grid-column:1/-1;margin:0}}:root:not([data-theme]) .topbar,:root[data-theme=studio] .topbar,:root:not([data-theme]) .mobile-nav,:root[data-theme=studio] .mobile-nav{background:var(--surface)}.header-account{align-items:center;gap:10px;min-width:0;display:flex}.header-account-name{text-overflow:ellipsis;white-space:nowrap;max-width:140px;font-size:13px;font-weight:600;overflow:hidden}.topbar .script-control{gap:6px;padding:4px 8px;display:inline-flex}.script-control select{background:var(--surface);width:auto;min-height:32px;color:var(--foreground);font:inherit;cursor:pointer;border:0;padding:4px 6px}.sidebar .sidebar-mode{justify-content:flex-start;width:fit-content;margin-top:14px;display:flex}.mobile-workspace-mode{display:none}@media (max-width:760px){.script-language{display:none}.topbar .script-control{padding:0}.script-control select{width:62px}.topbar .header-account-name{max-width:76px}.topbar .header-account{gap:6px}.mobile-workspace-mode{color:var(--muted);margin-top:14px;font-size:11px;display:block}}
.landing{--ink:#19191c;--red:#db2835;--paper:#faf9f6;background:var(--paper);color:var(--ink);min-height:100svh;padding:0 max(24px,50vw - 620px)}.landing>main{margin-left:0}.landing-nav{border-bottom:1px solid #e6e3df;align-items:center;gap:32px;min-height:96px;display:flex}.landing .brand{color:var(--ink);margin:0 auto 0 0}.landing .brand-mark{background:var(--red);color:#fff}.landing .brand-dot{color:var(--red)}.landing .button{background:var(--red);color:#fff;border-color:var(--red);border-radius:9px}.landing .button:hover{background:#bb1c29}.landing-hero{grid-template-columns:1.1fr 1fr;align-items:center;gap:70px;padding:82px 0 76px;display:grid}.landing-kicker{color:#676469;letter-spacing:1.8px;align-items:center;gap:8px;font-size:10px;font-weight:700;display:flex}.landing-kicker>span{background:var(--red);border-radius:50%;width:6px;height:6px}.landing h1{letter-spacing:-2.4px;margin:23px 0;font-size:clamp(38px,4.1vw,58px);font-weight:650;line-height:1.1}.landing h1 em{color:var(--red);font-style:normal}.landing-description{color:#626067;max-width:460px;font-size:16px;line-height:1.8}.landing-cta{gap:20px;min-height:54px;margin-top:28px;padding:0 25px;font-size:16px}.landing-caption{color:#77747a;margin-top:16px;font-size:11px;display:block}.landing-preview{background:#fff;border:1px solid #e5e1dd;border-radius:18px;padding:18px;position:relative;transform:rotate(1deg);box-shadow:0 24px 65px #30272710}.preview-top{color:#626067;letter-spacing:1.6px;justify-content:space-between;align-items:center;padding:2px 2px 16px;font-size:9px;display:flex}.preview-top>span{align-items:center;gap:8px;display:flex}.preview-dot{background:var(--red);border-radius:50%;width:6px;height:6px}.preview-scene{background:#242429;border-radius:9px;justify-content:center;align-items:center;height:186px;display:flex;position:relative;overflow:hidden}.scene-orbit{background:#393337;border:36px solid #302d31;border-radius:50%;width:260px;height:260px;position:absolute;top:-60px;right:-35px}.scene-character{color:#ffede4;opacity:.85;font-size:126px;font-weight:700;position:absolute;top:8px;left:24px;transform:rotate(-12deg)}.scene-play{background:var(--red);color:#fff;border-radius:14px;place-items:center;width:60px;height:44px;display:grid;position:relative;box-shadow:0 6px 26px #0004}.scene-caption{color:#ddd7d5;font-size:10px;position:absolute;bottom:16px;right:15px}.preview-transcript{grid-template-columns:32px 1fr;align-items:center;gap:25px 10px;padding:32px 8px 20px;display:grid}.preview-transcript p{white-space:nowrap;font-size:25px;line-height:1.8}.preview-transcript rt{color:#73666b;font-size:10px}.preview-transcript mark{color:#8f202a;background:#ffe2df;border-radius:5px;padding:5px 3px}.preview-time{color:#89848a;font-size:9px}.preview-faded{opacity:.5}.preview-word{background:#faf8f6;border:1px solid #ebe5df;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:17px;display:flex}.preview-word .landing-kicker{letter-spacing:1px;font-size:8px}.preview-word strong{align-items:baseline;gap:12px;margin-top:6px;font-size:20px;font-weight:500;display:flex}.preview-word small{color:#67616a;font-size:12px}.preview-saved{color:#47624d;align-items:center;gap:4px;font-size:11px;display:flex}.preview-example{text-align:right;color:#85818a;margin-top:10px;font-size:9px;display:block}.landing-features{border-top:1px solid #e6e3df;padding:40px 0 52px}.landing-section-heading{justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:28px;display:flex}.landing-section-heading h2,.landing-about h2{letter-spacing:-.6px;font-size:23px}.landing-section-heading p{color:#737078;font-size:12px}.landing-feature-grid{grid-template-columns:repeat(3,1fr);gap:30px;display:grid}.feature-art{background:#f0ede9;border-radius:10px;justify-content:center;align-items:center;gap:26px;height:118px;margin-bottom:20px;display:flex;overflow:hidden}.art-listen>span{color:#fff;background:var(--red);border-radius:12px;place-items:center;width:58px;height:42px;display:grid;transform:rotate(-6deg)}.art-listen i{background:#d6d1cd;width:1px;height:32px}.art-listen>svg{color:#68515a}.art-select{color:#a0464a;background:#f5e5e0;gap:18px}.art-select>span{color:#2b2529;background:#fff;border-radius:6px;padding:12px 18px 5px;font-size:25px;transform:rotate(-4deg)}.art-select rt{font-size:10px}.art-select small{font-size:14px}.art-review{background:#eae9e9;position:relative}.mini-card{width:100px;height:70px;color:var(--red);background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:7px;display:flex;position:relative;transform:rotate(7deg);box-shadow:0 5px 12px #0001}.card-back{background:#d9b0a8;position:absolute;transform:translate(-10px,-4px)rotate(-9deg)}.feature-number{color:#9a554f;letter-spacing:1.6px;font-size:9px;font-weight:700}.landing-feature-grid h3{letter-spacing:-.3px;margin:10px 0 8px;font-size:17px}.landing-feature-grid p,.landing-about p{color:#706a70;font-size:13px;line-height:1.75}.landing-feature-grid p{max-width:330px}.landing-footer{color:#747077;border-top:1px solid #e6e3df;justify-content:space-between;gap:20px;padding:24px 0 30px;font-size:11px;display:flex}.landing-footer>span:first-child{color:#27242a;font-weight:700}.landing-footer>span:first-child span{color:#747077;margin-left:16px;font-weight:400}.start-options{gap:20px;margin-top:22px;display:grid}.start-auth-actions{gap:12px;display:flex}.start-auth-actions>*{flex:1}.auth-privacy{background:var(--surface-soft);border-radius:10px;align-items:flex-start;gap:10px;padding:14px;display:flex}.auth-privacy>svg{color:var(--muted);flex-shrink:0;margin-top:2px}.auth-privacy p{color:var(--muted);font-size:12px;line-height:1.7}.demo-continue{color:var(--foreground);text-underline-offset:4px;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;text-decoration:underline;display:flex}.guest-notice{color:var(--muted);border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;margin-bottom:18px;padding:12px 16px;font-size:12px}.youtube-frame[hidden]{display:none}.youtube-unavailable{text-align:center;background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;justify-items:center;gap:12px;padding:28px 22px;display:grid}.youtube-unavailable p{max-width:560px;font-size:14px}.youtube-unavailable small{color:var(--muted)}.youtube-player>a{align-items:center;gap:8px;padding:10px 0;display:inline-flex}@media (max-width:850px){.landing{padding:0 24px}.landing-hero{gap:28px;padding:48px 0}.landing h1{letter-spacing:-1.7px;font-size:38px}.landing-description{font-size:14px}.preview-transcript p{font-size:20px}.preview-word strong{flex-direction:column;gap:4px}.landing-section-heading{display:block}.landing-section-heading p{margin-top:10px}.landing-feature-grid{gap:20px}.feature-art{gap:10px}}@media (max-width:620px){.landing-nav{gap:14px;min-height:78px}.landing .brand{gap:5px;font-size:23px}.landing-nav .button{padding:10px 12px;font-size:12px}.landing-hero{grid-template-columns:1fr;gap:38px;padding-top:38px}.landing h1{font-size:clamp(34px,8.5vw,46px)}.landing-preview{transform:none}.preview-transcript p{font-size:24px}.landing-feature-grid{grid-template-columns:1fr;gap:28px}.feature-art{gap:26px;height:110px;margin-bottom:16px}.landing-footer{flex-direction:column;gap:12px}.landing-footer>span:first-child span{margin:6px 0 0;display:block}}
.demo-strip{border-bottom:1px solid var(--border,#ddd);color:var(--muted-foreground,#666);justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 32px;font-size:12px;display:flex}.demo-allowance{flex:1;min-width:0}.demo-allowance summary{cursor:pointer;align-items:center;gap:8px;width:fit-content;list-style:none;display:flex}.demo-allowance summary:after{content:"⌄";margin-left:4px}.demo-allowance[open] summary:after{content:"⌃"}.demo-allowance summary strong{text-transform:uppercase;letter-spacing:.08em;border:1px solid;border-radius:5px;padding:2px 6px;font-size:10px}.demo-allowance-panel{width:100%;padding:18px 0 6px}.demo-allowance-panel p{margin:8px 0 14px;font-size:12px}.allowance-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:16px;display:grid}.allowance span{align-items:center;gap:5px;display:flex}.allowance b{margin-left:auto;font-weight:500}.allowance meter{accent-color:#467a67;width:100%;height:9px;margin:6px 0;display:block}.allowance small{display:block}.exhausted{color:#a44935}.feedback-link{white-space:nowrap;text-underline-offset:3px;align-items:center;gap:6px;text-decoration:underline;display:flex}.landing-demo-note{color:#64675e;margin-top:14px;font-size:12px;font-style:italic;display:block}.landing-about{border-top:1px solid #dedfd4;max-width:800px;padding:45px 0 55px;scroll-margin-top:20px}.landing-about h2{margin-bottom:14px}.feedback-page{max-width:640px;margin:80px auto;padding:24px}.feedback-page h1{margin:24px 0;font-size:32px}.feedback-page p{margin:16px 0;line-height:1.6}@media (max-width:600px){.demo-strip{flex-wrap:wrap;padding:10px 16px}.demo-allowance summary{gap:5px}.demo-allowance summary span{font-size:11px}.landing-about{padding:32px 0}.allowance-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}}.demo-strip{position:relative}.demo-allowance{flex-basis:100%}.demo-allowance summary{padding-right:110px}.feedback-link{position:absolute;top:12px;right:32px}@media (max-width:600px){.feedback-link{right:16px}}
.analytics-choice{z-index:20;color:#172b28;max-width:min(390px,100vw - 24px);font:13px/1.5 system-ui;position:fixed;bottom:12px;left:12px}.analytics-choice-panel{background:#fff;border:1px solid #cbd8d3;border-radius:14px;padding:16px;box-shadow:0 4px 24px #0002}body:has(.lookup-panel,[role=dialog]) .analytics-choice{visibility:hidden}.analytics-choice-panel p{margin:8px 0}.analytics-choice button,.analytics-dashboard button,.analytics-dashboard select,.analytics-dashboard input{color:#173e33;cursor:pointer;background:#fff;border:1px solid #b5c7c0;border-radius:8px;padding:8px 12px}.analytics-choice-panel div{flex-wrap:wrap;gap:8px;display:flex}.analytics-choice-panel button:first-child{color:#fff;background:#173e33}.analytics-settings{opacity:.9;font-size:11px}.analytics-help-button span{text-align:left}.analytics-help-button small{opacity:.8;font-size:10px;display:block}.analytics-help-button:hover,.help-button:hover{color:var(--foreground)}.analytics-dialog .analytics-choice-panel{box-shadow:none;color:inherit;background:0 0;border:0;padding:12px 0 0}.analytics-dialog .analytics-choice-panel button{border:1px solid var(--border);cursor:pointer;border-radius:8px;padding:10px 14px}.analytics-dialog .analytics-choice-panel button+button{color:var(--foreground);background:var(--surface-soft)}.analytics-funnel{padding-left:22px}.workspace-support{z-index:11;width:190px;padding-top:0;position:fixed;bottom:64px;left:21px}@media (min-width:761px){:root:not([data-theme]) .workspace-support,:root[data-theme=studio] .workspace-support{--foreground:#fafafa;--muted:#c4c7cf;--primary:#ff6676}}.sidebar{padding-bottom:220px}@media (max-width:1279px) and (min-width:761px){.workspace-support{width:174px}}@media (max-width:760px){.app-shell{flex-direction:column}.workspace-support{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;order:2;width:auto;margin:0 16px 64px;padding:12px 16px;position:static}.workspace-support .help-button{max-width:240px}.workspace-support .sidebar-mode{display:none}}.usage-summary{border:1px solid var(--border);background:var(--surface);border-radius:14px;margin-top:14px;padding:16px}.usage-summary table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.usage-summary caption{text-align:left;color:var(--foreground);margin-bottom:8px;font-size:16px;font-weight:600}.usage-summary caption small{color:var(--muted);margin-top:5px;font-size:11px;font-weight:400;display:block}.usage-summary thead th{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding-block:12px;font-size:10px}.usage-summary th span{align-items:center;gap:8px;display:flex}.usage-summary th svg{color:var(--primary);flex-shrink:0}.usage-summary tbody tr:nth-child(odd){background:var(--surface-soft)}.usage-summary tbody td b{color:var(--foreground);font-size:18px;font-weight:600}.usage-summary td small{color:var(--muted);white-space:nowrap}.usage-summary tbody td:last-child{background:color-mix(in srgb, var(--accent-soft) 45%, transparent)}.usage-summary tbody tr:last-child td{font-size:11px}.usage-summary th,.usage-summary td{border-bottom:1px solid var(--border);padding:8px 5px}.usage-summary th{font-weight:500}.usage-summary th:first-child{width:40%}.usage-summary p,.help-limits{margin-top:10px}.help-limits summary{cursor:pointer;color:var(--muted);font-size:12px}.account-page{width:100%;max-width:520px;margin:0 auto;padding:40px 24px}.account-page h1{margin:22px 0 12px;font-size:28px}.account-page>p{margin-bottom:20px;line-height:1.6}.account-form{justify-content:center;display:flex}.account-links{gap:14px;margin-top:20px;display:grid}.account-links a{text-decoration:underline}.registration-options>p{margin-bottom:14px}.analytics-funnel li{padding:6px}.analytics-funnel li span{margin-left:12px}.analytics-dashboard td{overflow-wrap:anywhere}.help-dialog{width:min(860px,100vw - 32px);max-width:860px}.help-steps{gap:6px;margin:22px 0;padding:0;list-style:none;display:flex}.help-steps li{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.help-steps li>svg{color:var(--muted);flex-shrink:0}.help-steps button{border:1px solid var(--border);background:var(--surface-soft);min-width:0;color:var(--muted);cursor:pointer;border-radius:12px;flex:1;justify-items:center;gap:8px;padding:14px 5px;font-size:12px;display:grid;position:relative}.help-steps button[aria-current=step]{color:var(--foreground);border-color:var(--primary);background:var(--accent-soft);box-shadow:inset 0 -3px var(--primary)}.help-step-number{font-size:10px;position:absolute;top:4px;left:8px}.help-demo{border:1px solid var(--border);background:var(--surface-soft);border-radius:16px;padding:20px}.help-demo-caption{color:var(--muted);letter-spacing:1.5px;margin-bottom:12px;font-size:10px}.help-scene{flex-direction:column;justify-content:center;align-items:center;gap:12px;max-width:440px;min-height:200px;margin:auto;display:flex}.help-scene>small{color:var(--muted);text-align:center}.help-source-options,.help-player,.help-review{align-items:center;gap:16px;display:flex}.help-source-options>span{border:1px solid var(--border);border-radius:8px;align-items:center;gap:8px;padding:10px;font-size:12px;display:flex}.help-source-options svg{width:20px}.help-player{background:var(--surface);border-radius:10px;width:100%;padding:16px}.help-player>span{letter-spacing:3px;color:var(--muted);flex:1}.help-player b{color:var(--primary)}.help-transcript{font-size:26px}.help-transcript mark{background:var(--accent-soft);color:var(--foreground);border-bottom:3px solid var(--primary);padding:3px}.help-pointer{color:var(--primary);margin-top:-12px}.help-translation{background:var(--surface);border:1px solid var(--border);border-radius:12px;gap:8px;width:100%;max-width:340px;padding:18px;display:grid;box-shadow:0 6px 16px #0001}.help-translation strong{font-size:22px}.help-translation small{color:var(--muted);margin-left:10px;font-size:13px;font-weight:400}.help-bank{border-top:1px solid var(--border);gap:4px;padding-top:10px;font-size:11px;display:grid}.help-save{background:var(--accent-soft);color:var(--foreground);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px;font-size:13px;display:flex}.help-flashcard{text-align:center;background:var(--surface);border:1px solid var(--border);width:min(100%,300px);box-shadow:5px 5px 0 var(--accent-soft);border-radius:12px;gap:14px;padding:22px;display:grid}.help-flashcard>span:first-child{letter-spacing:1.5px;color:var(--muted);font-size:9px}.help-flashcard strong{font-size:34px}.help-review>span{border:1px solid var(--border);border-radius:8px;align-items:center;gap:5px;padding:8px 12px;font-size:12px;display:flex}.help-review>span:last-child{background:var(--accent-soft)}.help-instruction{min-height:110px;padding-top:18px}.help-instruction h3{margin-bottom:8px;font-size:19px}.help-instruction p,.help-bottom p{color:var(--muted);font-size:13px;line-height:1.6}.help-controls{justify-content:space-between;align-items:center;gap:8px;display:flex}.help-controls>span{color:var(--muted);font-size:11px}.help-bottom{border-top:1px solid var(--border);align-items:center;gap:16px;margin-top:18px;padding-top:12px;display:flex}.help-bottom p{flex:1;font-size:11px}@media (max-width:600px){.help-dialog{padding:20px 16px}.help-steps{gap:4px;margin:16px 0}.help-steps li{gap:0}.help-steps li>svg{display:none}.help-steps button{gap:6px;min-height:78px;font-size:9px}.help-demo{padding:12px}.help-source-options{gap:6px}.help-source-options>span{padding:8px;font-size:10px}.help-player{gap:8px;padding:10px}.help-player>span{letter-spacing:0}.help-instruction{min-height:150px}.help-bottom{display:block}.help-controls .button{padding:10px;font-size:12px}}.analytics-dashboard{color:#203930;background:#f7faf8;max-width:1000px;min-height:100vh;margin:auto;padding:36px 20px 80px;font:15px/1.6 system-ui}.analytics-dashboard h1{margin:20px 0 8px;font-size:30px}.analytics-dashboard h2{margin-bottom:8px;font-size:19px}.analytics-dashboard p{margin:10px 0}.analytics-toolbar{flex-wrap:wrap;align-items:center;gap:16px;margin:20px 0;display:flex}.analytics-cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.analytics-dashboard section{background:#fff;border:1px solid #d9e3dd;border-radius:12px;margin:14px 0;padding:18px}.analytics-cards section{flex-direction:column;margin:0;display:flex}.analytics-cards strong{font-size:32px}.analytics-dashboard progress{accent-color:#28765d;width:100%}.analytics-dashboard table{border-collapse:collapse;text-align:left;width:100%}.analytics-dashboard th,.analytics-dashboard td{border-bottom:1px solid #e3eae6;padding:8px}.analytics-dashboard input{max-width:100%}.guest-import-notice{border:1px solid var(--border,#d8d8d8);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:12px 24px;padding:12px 16px;font-size:14px;display:flex}.shared-usage{border:1px solid #cbd8d3;border-radius:16px;margin:24px 0;padding:20px}.shared-usage-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;display:grid}.shared-usage-grid article{border:1px solid #cbd8d3;border-radius:12px;flex-direction:column;gap:8px;padding:16px;display:flex}.shared-usage-grid h3{margin:0;font-size:15px}.shared-usage-grid strong{font-size:22px}.shared-usage progress{--capacity-color:#247555;appearance:none;width:100%;height:10px;accent-color:var(--capacity-color);background:#e4eae7;border:0;border-radius:8px;overflow:hidden}.shared-usage progress::-webkit-progress-bar{background:#e4eae7}.shared-usage progress::-webkit-progress-value{background:var(--capacity-color)}.shared-usage progress::-moz-progress-bar{background:var(--capacity-color)}.shared-usage-grid [data-state=Nearing\ limit] progress{--capacity-color:#a66800}.shared-usage-grid [data-state=Limit\ reached] progress{--capacity-color:#c03935}.shared-usage-grid span,.shared-usage-grid small{font-size:12px}
