/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@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{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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{--spacing:.25rem;--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::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,ui-sans-serif, system-ui, 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{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]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance: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{.collapse{visibility:collapse}.invisible{visibility:hidden}.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}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.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}.grid{display:grid}.hidden{display:none}.table{display:table}.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,)}.\[sound\:\.\.\/\.\.\/word\.mp3\]{sound:../../word.mp3}.\[sound\:a\.mp3\]{sound:a.mp3}.\[sound\:example\.mp3\]{sound:example.mp3}.\[sound\:first\.mp3\]{sound:first.mp3}.\[sound\:missing\.mp3\]{sound:missing.mp3}.\[sound\:second\.mp3\]{sound:second.mp3}.\[sound\:sentence\.mp3\]{sound:sentence.mp3}.\[sound\:word\.mp3\]{sound:word.mp3}.\[sound\:говорить\.mp3\]{sound:говорить.mp3}}:root{--background:#fbf8ef;--foreground:#1f251c;--muted:#687164;--panel:#fff;--panel-soft:#f6f3e8;--panel-subtle:#eaf1df;--panel-glass:#fffcf4d6;--panel-solid:#fffcf4f0;--input-bg:#fff;--chip-bg:#eaf1df;--line:#d9d7c8;--ink:#27351f;--deep-green:#263d27;--cream:#fff6dc;--active-bg:#27462f;--active-fg:#fff;--active-border:#4f8a3d;--clickable-highlight:var(--green)}@supports (color:color-mix(in lab, red, red)){:root{--clickable-highlight:color-mix(in srgb, var(--green), #fff 88%)}}:root{--clickable-highlight-strong:var(--green)}@supports (color:color-mix(in lab, red, red)){:root{--clickable-highlight-strong:color-mix(in srgb, var(--green), #fff 91%)}}:root{--clickable-highlight-ring:var(--active-border)}@supports (color:color-mix(in lab, red, red)){:root{--clickable-highlight-ring:color-mix(in srgb, var(--active-border), transparent 62%)}}:root{--green:#3f7f32;--teal:#23847e;--gold:#bd8427;--rose:#bd5860;--blue:#466fa8;--soil:#8a5f36;--soil-dark:#5d3d24;--petal:#d97991;--shadow:0 18px 45px #4537221f}*{box-sizing:border-box}body{background:var(--background);min-height:100vh;color:var(--foreground);margin:0;font-family:Arial,Helvetica,sans-serif}.login-screen{background:radial-gradient(circle at 50% 6%, #d979911a, transparent 28%), radial-gradient(circle at 12% 88%, #7c9b5724, transparent 30%), linear-gradient(315deg, #8a5f3614, transparent 42%), var(--background);place-items:center;min-height:100vh;padding:32px 18px;display:grid}.login-card{border:1px solid var(--line);background:var(--panel-solid);width:min(100%,560px);box-shadow:var(--shadow);border-radius:12px;gap:26px;padding:clamp(28px,5vw,46px);display:grid}.login-brand{text-align:center;justify-items:center;gap:10px;display:grid}.login-brand img{object-fit:contain;width:86px;height:86px}.login-brand-copy{text-align:center;justify-items:center;gap:12px;width:100%;display:grid}.login-brand p{color:var(--deep-green);margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.35rem,9vw,4rem);font-weight:800;line-height:1}.login-brand h1{width:min(100%,24rem);color:var(--muted);text-align:center;margin:0;font-size:clamp(1rem,2.4vw,1.18rem);font-weight:500;line-height:1.25}.login-form{justify-self:center;gap:16px;width:min(100%,430px);display:grid}.login-form label{color:var(--muted);gap:8px;font-weight:900;display:grid}.login-form input{min-height:54px}.login-error{border:1px solid var(--rose);margin:0}@supports (color:color-mix(in lab, red, red)){.login-error{border:1px solid color-mix(in srgb, var(--rose), #fff 50%)}}.login-error{background:var(--rose);border-radius:8px}@supports (color:color-mix(in lab, red, red)){.login-error{background:color-mix(in srgb, var(--rose), #fff 88%)}}.login-error{color:#7a2631;padding:12px 14px;font-weight:800}.login-mode-button{min-height:42px;color:var(--green);background:0 0;border:0;justify-self:center;font-weight:900}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}.app-shell{background:linear-gradient(120deg, #7c9b5729, transparent 35%), linear-gradient(315deg, #c69a521f, transparent 42%), var(--background);min-height:100vh;color:var(--foreground);grid-template-columns:104px minmax(0,1fr);display:grid}.app-shell[data-theme=dark]{--background:#11180f;--foreground:#f0f4e9;--muted:#a9b3a2;--panel:#192216;--panel-soft:#202b1b;--panel-subtle:#293523;--panel-glass:#192216e0;--panel-solid:#192216f7;--input-bg:#11180f;--chip-bg:#293523;--line:#3a4334;--ink:#f0f4e9;--deep-green:#eef7e7;--cream:#fff1c8;--active-bg:#335a37;--active-fg:#fbfff6;--active-border:#8abd62;--clickable-highlight:var(--green)}@supports (color:color-mix(in lab, red, red)){.app-shell[data-theme=dark]{--clickable-highlight:color-mix(in srgb, var(--green), var(--panel-solid) 84%)}}.app-shell[data-theme=dark]{--clickable-highlight-strong:var(--green)}@supports (color:color-mix(in lab, red, red)){.app-shell[data-theme=dark]{--clickable-highlight-strong:color-mix(in srgb, var(--green), var(--panel-solid) 78%)}}.app-shell[data-theme=dark]{--clickable-highlight-ring:var(--active-border)}@supports (color:color-mix(in lab, red, red)){.app-shell[data-theme=dark]{--clickable-highlight-ring:color-mix(in srgb, var(--active-border), transparent 54%)}}.app-shell[data-theme=dark]{--green:#94c96b;--teal:#72c9be;--gold:#dbb15b;--rose:#e48c94;--blue:#94afe8;--soil:#c18a52;--soil-dark:#6b4629;--petal:#f0a2b4;--shadow:0 18px 45px #00000057}.editor-shell{background:linear-gradient(120deg, #4f8a3d1f, transparent 36%), linear-gradient(315deg, #8a5f361a, transparent 42%), var(--background);min-height:100vh;color:var(--foreground);grid-template-columns:260px minmax(0,1fr);display:grid}.editor-sidebar{border-right:1px solid var(--line);background:var(--panel-glass);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);flex-direction:column;gap:24px;height:100vh;padding:28px 22px;display:flex;position:sticky;top:0}.editor-home-link{background:0 0;border-radius:8px;place-items:center;width:58px;height:58px;text-decoration:none;display:grid}.editor-home-link img{object-fit:contain;width:58px;height:58px;display:block}.editor-sidebar .nav-tabs{align-items:stretch}.editor-sidebar .nav-tabs button{grid-template-columns:34px minmax(0,1fr);justify-content:start;width:100%;min-height:54px;padding:0 12px}.editor-content{min-width:0;padding:34px}.editor-top-bar{margin-bottom:22px}.editor-grid{grid-template-columns:minmax(280px,520px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.editor-form,.editor-list{border:1px solid var(--line);background:var(--panel-solid);box-shadow:var(--shadow);border-radius:8px;gap:14px;padding:18px;display:grid}.editor-form-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.editor-form-header h3{margin-bottom:4px}.editor-detail{position:relative}.editor-detail .collection-detail-header{min-height:52px;padding-right:64px;display:block}.editor-detail .collection-detail-header h2{max-width:min(100%,920px)}.editor-detail .collection-detail-header .detail-close-button{position:absolute;top:18px;right:18px}.editor-library-groups{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px;display:grid}.editor-form label{gap:6px;display:grid}.editor-form label>span{color:var(--muted);font-weight:800}.topic-picker{border:0;gap:8px;margin:0;padding:0;display:grid}.topic-picker legend{color:var(--muted);padding:0;font-weight:800}.topic-picker-options{flex-wrap:wrap;gap:8px;display:flex}.topic-picker-options label{border:1px solid var(--line);background:var(--panel);min-height:34px;color:var(--foreground);border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-weight:800;display:inline-flex}.editor-list article{border-bottom:1px solid var(--line);gap:10px;padding-bottom:12px;display:grid}.editor-list article:last-child{border-bottom:0;padding-bottom:0}.editor-list h3{margin-bottom:4px}.editor-list-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.editor-list article button{justify-self:start}.editor-source-badge{background:var(--chip-bg);color:var(--muted);text-transform:uppercase;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:900}.editor-dictionary-form-preview{flex-wrap:wrap;gap:6px;display:flex}.editor-dictionary-form-preview>span{border:1px solid var(--line);background:var(--panel-soft);max-width:100%;color:var(--muted);border-radius:999px;align-items:baseline;gap:5px;padding:5px 9px;font-size:.78rem;font-weight:900;display:inline-flex}.editor-dictionary-form-preview>span.matched{border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){.editor-dictionary-form-preview>span.matched{border-color:color-mix(in srgb, var(--active-border), var(--line) 35%)}}.editor-dictionary-form-preview>span.matched{background:var(--green)}@supports (color:color-mix(in lab, red, red)){.editor-dictionary-form-preview>span.matched{background:color-mix(in srgb, var(--green), transparent 84%)}}.editor-dictionary-form-preview>span.matched{color:var(--foreground)}.editor-dictionary-form-preview strong{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-dictionary-form-preview small{color:var(--muted);white-space:nowrap;font-size:.7rem;font-weight:900}.form-note{color:var(--muted);font-weight:800}.editor-list p,.page-header p{color:var(--muted);font-weight:700}.editor-section-builder,.editor-deck-sections{gap:12px;display:grid}.editor-action-row{flex-wrap:wrap;gap:10px;display:flex}.editor-transfer-grid{grid-template-columns:minmax(280px,420px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.editor-transfer-card{align-content:start}.editor-file-button{place-items:center;display:inline-grid;position:relative}.editor-file-button input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.editor-import-status{color:var(--muted);margin:0;font-weight:800}.editor-sticky-actions{z-index:6;border-top:1px solid var(--line);background:var(--panel-solid);margin:4px -18px -18px;position:sticky;bottom:0}@supports (color:color-mix(in lab, red, red)){.editor-sticky-actions{background:color-mix(in srgb, var(--panel-solid), transparent 4%)}}.editor-sticky-actions{padding:14px 18px 18px}.danger-button{border-color:#b94a3a}@supports (color:color-mix(in lab, red, red)){.danger-button{border-color:color-mix(in srgb, #b94a3a, var(--line) 35%)}}.danger-button{color:#8f2f25}.missing-dictionary-review{border:1px solid var(--gold);gap:14px;margin-bottom:18px;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.missing-dictionary-review{border:1px solid color-mix(in srgb, var(--gold), var(--line) 50%)}}.missing-dictionary-review{background:linear-gradient(120deg, #bd84271f, transparent 45%), var(--panel-solid);box-shadow:var(--shadow);border-radius:8px;padding:18px 64px 18px 18px}.missing-dictionary-review h3{margin-bottom:4px}.missing-dictionary-review p{color:var(--muted);margin-bottom:0;font-weight:700}.missing-dictionary-review>.icon-button{position:absolute;top:14px;right:14px}.missing-word-list{flex-wrap:wrap;gap:8px;display:flex}.exercise-readiness-panel{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;gap:12px;padding:14px;display:grid}.exercise-readiness-stats{flex-wrap:wrap;gap:8px;display:flex}.exercise-readiness-stats span{border:1px solid var(--line);background:var(--panel-soft);color:var(--muted);border-radius:999px;padding:6px 10px;font-size:.82rem;font-weight:850}.exercise-readiness-list{gap:8px;max-height:360px;padding-right:2px;display:grid;overflow:auto}.exercise-readiness-list article{border-top:1px solid var(--line);gap:8px;padding-top:10px;display:grid}.exercise-readiness-list article>div{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.exercise-readiness-list strong{color:var(--foreground)}.exercise-readiness-list span,.exercise-readiness-list p,.exercise-readiness-list li{color:var(--muted);font-weight:750}.exercise-readiness-list p{margin:0}.exercise-readiness-list ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.exercise-readiness-list li{background:var(--gold);border-radius:999px}@supports (color:color-mix(in lab, red, red)){.exercise-readiness-list li{background:color-mix(in srgb, var(--gold), #fff 82%)}}.exercise-readiness-list li{padding:5px 8px;font-size:.78rem}.editor-inline-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.editor-search-surface{gap:14px;display:grid}.dictionary-editor-modal{z-index:50;overscroll-behavior:contain;background:var(--background);place-items:start center;display:grid;position:fixed;inset:0;overflow:auto}@supports (color:color-mix(in lab, red, red)){.dictionary-editor-modal{background:color-mix(in srgb, var(--background), transparent 18%)}}.dictionary-editor-modal{padding:max(16px, env(safe-area-inset-top)) clamp(12px, 3vw, 32px) max(16px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dictionary-editor-form{--dictionary-editor-window-padding:clamp(18px, 3vw, 28px);border:1px solid var(--line);background:var(--panel-solid);width:min(1120px,100%);max-height:calc(100dvh - 32px);box-shadow:var(--shadow);padding:var(--dictionary-editor-window-padding);border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;display:grid;position:relative;overflow:hidden}.dictionary-editor-scroll{overscroll-behavior:contain;gap:14px;min-height:0;padding:0 4px 4px 0;display:grid;overflow:auto}.dictionary-editor-actions{margin-right:calc(var(--dictionary-editor-window-padding) * -1);margin-bottom:calc(var(--dictionary-editor-window-padding) * -1);margin-left:calc(var(--dictionary-editor-window-padding) * -1);border-top:1px solid var(--line);background:var(--panel-solid)}@supports (color:color-mix(in lab, red, red)){.dictionary-editor-actions{background:color-mix(in srgb, var(--panel-solid), transparent 2%)}}.dictionary-editor-actions{padding-top:12px;padding-right:var(--dictionary-editor-window-padding);padding-bottom:calc(var(--dictionary-editor-window-padding) + env(safe-area-inset-bottom));padding-left:var(--dictionary-editor-window-padding)}.dictionary-editor-form input,.dictionary-editor-form select,.dictionary-editor-form textarea{min-width:0}.dictionary-editor-form .editor-inline-row,.dictionary-editor-form .dictionary-audio-source .editor-inline-row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.editor-search-toolbar{grid-template-columns:minmax(120px,180px) minmax(220px,1fr) auto;align-items:end;gap:12px;display:grid}.editor-search-toolbar .primary-button{min-height:52px}.editor-help-text,.editor-empty-note{color:var(--muted);margin-bottom:0;font-size:.9rem;font-weight:700}.editor-audit-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.editor-audit-summary article{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;gap:6px;padding:14px;display:grid}.editor-audit-summary span{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.78rem;font-weight:900}.editor-audit-summary strong{color:var(--text);font-size:2rem;line-height:1}.editor-audit-summary .has-issues strong{color:#b64535}.editor-audit-summary .has-warnings strong{color:#a46b12}.editor-completeness-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.editor-completeness-card{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;gap:6px;min-height:120px;padding:16px;display:grid}.editor-completeness-card span{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.78rem;font-weight:900}.editor-completeness-card strong{color:var(--text);font-size:2.3rem;line-height:1}.editor-completeness-card p{color:var(--muted);margin-bottom:0;font-weight:800}.editor-completeness-card.complete{background:#e1eed547;border-color:#60985759}.editor-completeness-card.complete strong{color:#4d8745}.editor-completeness-card.has-issues strong{color:#b64535}.editor-completeness-card.has-warnings strong{color:#a46b12}.editor-audit-groups{gap:14px;display:grid}.editor-audit-group{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;gap:12px;padding:16px;display:grid}.editor-audit-list{gap:10px;display:grid}.editor-audit-item{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:12px;display:grid}.editor-audit-item h4{margin-bottom:4px}.editor-audit-item p{color:var(--muted);margin-bottom:4px;font-weight:700}.editor-audit-item p:last-child{margin-bottom:0}.editor-audit-severity{background:var(--chip-bg);color:var(--muted);text-transform:uppercase;border-radius:999px;align-self:start;padding:5px 8px;font-size:.72rem;font-weight:900}.editor-audit-item.error .editor-audit-severity{color:#9e3528;background:#f9dfda}.editor-audit-item.warning .editor-audit-severity{color:#86540f;background:#f7e9ca}.editor-loading-status{z-index:5;border:1px solid var(--line);background:var(--panel-solid);width:fit-content;box-shadow:var(--shadow);color:var(--muted);border-radius:8px;align-items:center;gap:10px;margin:0 0 14px;padding:10px 12px;font-size:.95rem;font-weight:800;display:inline-flex;position:sticky;top:12px}.editor-loading-status .loading-spinner{border-width:3px;width:22px;height:22px}.title-translation-fields{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.translation-editor{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:10px;padding:12px;display:grid}.translation-editor-rows{gap:10px;display:grid}.translation-editor-row{grid-template-columns:1fr;gap:10px;display:grid}.translation-editor:not(.translation-editor-detail) .translation-editor-row{grid-template-columns:minmax(0,1fr) auto;align-items:stretch}.translation-editor-summary{border:1px solid var(--line);background:var(--panel-solid);min-width:0;color:var(--text);text-align:left;border-radius:8px;gap:4px;padding:10px 12px;display:grid}.translation-editor-summary span{color:var(--green);letter-spacing:0;text-transform:uppercase;font-size:.78rem;font-weight:900}.translation-editor-summary strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:700;overflow:hidden}.translation-editor-controls{grid-template-columns:minmax(180px,320px) auto;align-items:end;gap:10px;display:grid}.translation-editor-row textarea{min-height:180px;font-size:1.05rem;line-height:1.45}.image-upload-field{gap:8px;display:grid}.image-upload-field>span{color:var(--muted);text-transform:uppercase;font-size:.76rem;font-weight:900}.image-upload-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.image-upload-preview{border:1px solid var(--line);background:var(--panel-soft);width:88px;height:64px;color:var(--muted);border-radius:8px;place-items:center;font-size:.72rem;font-weight:900;display:grid;overflow:hidden}.image-upload-preview img{object-fit:cover;width:100%;height:100%}.audio-upload-preview{width:min(100%,280px)}.generated-audio-button{align-items:center;gap:8px;min-height:44px;display:inline-flex}.audio-upload-list{gap:8px;display:grid}.audio-generation-meta{color:var(--muted);margin:8px 0 0;font-size:.86rem}.alphabet-audio-status{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:.84rem;line-height:1.35;display:flex}.alphabet-audio-status strong{border:1px solid var(--line);background:var(--panel-soft);color:var(--text);text-transform:uppercase;border-radius:999px;padding:4px 8px;font-size:.76rem}.alphabet-audio-status.generated strong{border-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.alphabet-audio-status.generated strong{border-color:color-mix(in srgb, var(--accent) 55%, var(--line))}}.alphabet-audio-status.uploaded strong{border-color:#4d87c7}@supports (color:color-mix(in lab, red, red)){.alphabet-audio-status.uploaded strong{border-color:color-mix(in srgb, #4d87c7 55%, var(--line))}}.alphabet-audio-status.no-audio strong,.alphabet-audio-status.stale strong{border-color:#bd8427}@supports (color:color-mix(in lab, red, red)){.alphabet-audio-status.no-audio strong,.alphabet-audio-status.stale strong{border-color:color-mix(in srgb, #bd8427 62%, var(--line))}}.alphabet-audio-status.no-audio strong,.alphabet-audio-status.stale strong{background:#bd8427}@supports (color:color-mix(in lab, red, red)){.alphabet-audio-status.no-audio strong,.alphabet-audio-status.stale strong{background:color-mix(in srgb, #bd8427 12%, var(--panel-soft))}}.alphabet-bulk-audio-progress{border:1px solid var(--accent);gap:8px;display:grid}@supports (color:color-mix(in lab, red, red)){.alphabet-bulk-audio-progress{border:1px solid color-mix(in srgb, var(--accent) 45%, var(--line))}}.alphabet-bulk-audio-progress{background:var(--accent);border-radius:8px}@supports (color:color-mix(in lab, red, red)){.alphabet-bulk-audio-progress{background:color-mix(in srgb, var(--accent) 10%, var(--panel))}}.alphabet-bulk-audio-progress{padding:12px}.alphabet-bulk-audio-progress>div{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.alphabet-bulk-audio-progress progress{width:100%}.alphabet-bulk-audio-progress p{color:var(--muted);margin:0;font-size:.86rem;font-weight:800}.voice-profile-editor{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:14px;padding:14px;display:grid}.book-translation-management{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:14px;margin-bottom:18px;padding:14px;display:grid}.book-translation-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start;gap:12px;display:grid}.book-translation-column{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:12px;min-width:0;padding:12px;display:grid}.book-translation-column header{gap:8px;display:grid}.book-translation-column h4{color:var(--text);margin:0;font-size:1.08rem;line-height:1.18}.book-translation-chip-row,.book-translation-story-meta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.book-translation-note{color:var(--muted);margin:0;font-size:.82rem;line-height:1.35}.book-translation-chapter-list,.book-translation-story-list,.book-translation-page-list{gap:8px;display:grid}.book-translation-chapter-list details,.book-translation-story-list details{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:8px}.book-translation-chapter-list summary,.book-translation-story-list summary{cursor:pointer;color:var(--text);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;font-weight:900;list-style-position:inside;display:grid}.book-translation-chapter-list summary span:first-child,.book-translation-story-list summary span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.book-translation-chapter-list summary span:last-child,.book-translation-story-list summary span:last-child{color:var(--muted);font-size:.78rem}.book-translation-story-list{padding-top:8px}.book-translation-story-meta{padding:8px 0}.book-translation-page-row{border-top:1px solid var(--line);color:var(--text);grid-template-columns:minmax(80px,1fr) auto auto auto;align-items:center;gap:6px;padding-top:8px;font-size:.82rem;display:grid}.book-translation-page-row>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:800;overflow:hidden}.book-translation-page-row small{color:var(--muted);grid-column:1/-1;font-size:.76rem}.translation-status-chip,.translation-status-dot{border:1px solid var(--line);white-space:nowrap;border-radius:999px;align-items:center;min-height:26px;padding:4px 8px;font-size:.72rem;font-weight:900;display:inline-flex}.translation-status-chip.complete,.translation-status-dot.complete{color:#2f7d58;background:#e7f2e8;border-color:#2f7d5852}.translation-status-chip.partial{color:#8b641f;background:#f8efd8;border-color:#b37a2257}.translation-status-chip.missing,.translation-status-dot.missing{color:#974a4a;background:#f3e1de;border-color:#974a4a52}.translation-status-chip.empty{background:var(--panel-soft);color:var(--muted)}.editor-checkbox-line{flex-direction:row;align-items:center;gap:10px;display:flex}.editor-checkbox-line input{width:auto}.dictionary-audio-editor{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:10px;padding:12px;display:grid}.dictionary-audio-source-list{gap:10px;display:grid}.dictionary-audio-source{border-top:1px solid var(--line);gap:10px;padding-top:10px;display:grid}.dictionary-audio-source .editor-inline-row{grid-template-columns:minmax(160px,.4fr) minmax(220px,1fr)}.compact-upload-button{min-width:0;min-height:44px;padding:0 16px}.image-upload-preview-empty{background:var(--panel-soft)}.image-upload-button{cursor:pointer;text-align:center;place-items:center;min-width:112px;min-height:64px;display:inline-grid}.image-upload-button input{display:none}.editor-deck-section{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:12px;padding:14px;display:grid}.dictionary-editor-part,.dictionary-editor-meaning{border-top:1px solid var(--line);gap:12px;padding-top:14px;display:grid}.dictionary-editor-meaning{margin-left:12px;padding-left:12px}.dictionary-editor-meaning-body,.dictionary-example-row-body{gap:12px;padding-top:12px;display:grid}.dictionary-editor-summary{border:1px solid var(--line);background:var(--panel-solid);color:var(--text);cursor:pointer;border-radius:8px;grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 12px;display:grid;position:relative}.dictionary-editor-summary::-webkit-details-marker{display:none}.dictionary-editor-summary:before{content:">";color:var(--muted);margin-left:-2px;font-weight:900;position:absolute;transform:translate(-100%)}details[open]>.dictionary-editor-summary:before{content:"v"}.dictionary-editor-summary span{color:var(--green);text-transform:uppercase;font-size:.78rem;font-weight:900}.dictionary-editor-summary strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:800;overflow:hidden}.dictionary-editor-summary small{color:var(--muted);font-size:.78rem;font-weight:800}.dictionary-editor-meaning .translation-editor input,.dictionary-editor-meaning .translation-editor textarea{min-height:56px;font-size:1.05rem}.derived-pos-labels{flex-wrap:wrap;gap:8px;display:flex}.derived-pos-labels span{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:999px;align-items:center;gap:6px;padding:7px 10px;font-size:.86rem;font-weight:800;display:inline-flex}.derived-pos-labels strong{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.68rem}.editor-deck-section-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.editor-deck-section-header p{color:var(--muted);margin-bottom:0;font-size:.86rem;font-weight:800}.editor-inline-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.qa-choice-editor-list{gap:12px;display:grid}.qa-editor-heading p{max-width:700px}.qa-question-editor{gap:16px}.qa-question-layout{grid-template-columns:minmax(0,1fr) minmax(260px,.42fr);align-items:start;gap:14px;display:grid}.qa-question-fields{gap:12px;display:grid}.qa-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.qa-question-preview{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;gap:10px;padding:12px;display:grid;position:sticky;top:18px}.qa-question-preview img{border:1px solid var(--line);object-fit:cover;border-radius:8px;width:100%;max-height:180px}.qa-question-preview h5{color:var(--text);margin:0;font-size:1rem;line-height:1.25}.qa-question-preview audio{width:100%}.qa-preview-empty{border:1px dashed var(--line);background:var(--panel-soft);min-height:90px;color:var(--muted);text-transform:uppercase;border-radius:8px;place-items:center;font-size:.78rem;font-weight:900;display:grid}.qa-preview-answers{gap:8px;display:grid}.qa-preview-answers span{border:1px solid var(--line);background:var(--panel-soft);color:var(--text);border-radius:8px;padding:9px 10px;font-weight:800}.qa-preview-answers span.correct{border-color:var(--active-border);background:var(--active-bg);color:var(--green-deep)}.editor-validation-list{background:#fff7e4;border:1px solid #f0d5a5;border-radius:8px;gap:6px;padding:10px 12px;display:grid}.editor-validation-list p,.editor-valid-note{color:var(--muted);margin:0;font-size:.86rem;font-weight:800}.editor-valid-note{color:var(--green-deep)}.qa-choice-editor{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:10px;padding:12px;display:grid}.qa-choice-editor.correct{border-color:var(--active-border);background:var(--active-bg)}@supports (color:color-mix(in lab, red, red)){.qa-choice-editor.correct{background:color-mix(in srgb, var(--active-bg), var(--panel-solid) 56%)}}.qa-choice-editor-header{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.qa-correct-selector{border:1px solid var(--line);background:var(--panel-solid);color:var(--muted);border-radius:999px;min-height:40px;padding:0 14px;font-size:.86rem;font-weight:900}.qa-correct-selector.selected{border-color:var(--active-border);background:var(--green);color:var(--panel-solid)}.checkbox-row{width:fit-content;color:var(--muted);align-items:center;gap:8px;font-weight:800;display:inline-flex}.editor-section-word-list{flex-wrap:wrap;gap:8px;display:flex}.editor-section-word-summary{gap:10px;display:grid}.editor-section-word-summary input{border:1px solid var(--line);background:var(--panel-solid);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:12px 14px;font-weight:700}.editor-section-word{border:1px solid var(--line);background:var(--chip-bg);color:var(--foreground);border-radius:999px;align-items:center;gap:8px;padding:6px 6px 6px 12px;display:inline-flex}.editor-course-step-chip{border-radius:8px;align-items:flex-start;padding:10px}.editor-section-word small,.editor-word-results small{color:var(--muted);font-size:.74rem;font-weight:800;display:block}.editor-section-word-main{color:inherit;text-align:left;background:0 0;border:0;gap:1px;padding:0;display:grid}.editor-course-inline-diagnostic{color:var(--muted)}.editor-course-inline-diagnostic.error{color:#9e3528}.editor-course-inline-diagnostic.warning{color:#86540f}.editor-section-word button:not(.editor-section-word-main){background:var(--input-bg);width:26px;height:26px;color:var(--muted);border:0;border-radius:50%;place-items:center;font-size:1rem;font-weight:900;line-height:1;display:grid}.editor-section-word .danger-chip-button{color:#8f2f25;border-radius:999px;width:auto;min-width:54px;padding:0 9px;font-size:.74rem}.editor-section-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.managed-list,.alphabet-editor-sections,.alphabet-item-editor-list{gap:12px;display:grid}.managed-item{border:1px solid var(--line);background:var(--panel-soft);width:100%;color:var(--text);text-align:left;border-radius:8px;gap:4px;padding:12px;display:grid}.managed-item.active{border-color:var(--accent);background:var(--panel)}.managed-item span{font-size:1rem;font-weight:900}.managed-item small{color:var(--muted);font-weight:800}.editor-warning-box{border:1px solid #bd8427}@supports (color:color-mix(in lab, red, red)){.editor-warning-box{border:1px solid color-mix(in srgb, #bd8427 55%, var(--line))}}.editor-warning-box{background:#bd8427;border-radius:8px}@supports (color:color-mix(in lab, red, red)){.editor-warning-box{background:color-mix(in srgb, #bd8427 12%, var(--panel))}}.editor-warning-box{color:var(--text);padding:12px}.editor-warning-box strong{margin-bottom:8px;display:block}.editor-warning-box ul{margin:0;padding-left:20px}.alphabet-item-editor-card{border:1px solid var(--line);background:var(--input-bg);border-radius:8px;gap:12px;padding:12px;display:grid}.editor-section-title-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.editor-word-picker{max-width:920px}.editor-picker-search input{min-height:52px;font-size:1rem}.editor-picker-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:12px;display:grid}.editor-picker-filters .secondary-button{min-height:52px}.editor-word-results{gap:8px;max-height:min(58vh,620px);padding-right:4px;display:grid;overflow:auto}.editor-word-results button{border:1px solid var(--line);background:var(--panel-soft);min-height:64px;color:var(--foreground);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;display:flex}.editor-word-results button.active{border-color:var(--active-border);background:var(--active-bg);color:var(--active-fg)}.editor-word-results button:disabled{cursor:default;opacity:.58}.editor-word-results em{background:var(--chip-bg);color:var(--muted);text-transform:uppercase;border-radius:999px;flex:none;padding:4px 8px;font-size:.72rem;font-style:normal;font-weight:900}.editor-word-result-main{gap:4px;min-width:0;display:grid}.editor-create-word-button{width:100%}.editor-inline-create-word{box-shadow:none;margin-top:4px}.editor-inline-create-word .editor-form-header{margin-bottom:10px}.editor-course-book-card{gap:8px;display:grid}.editor-course-book-row{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.editor-course-book-row>button:first-child{min-width:0}.editor-course-expand{white-space:nowrap;min-height:64px}.editor-course-book-children{border-left:3px solid var(--line);gap:10px;margin-left:14px;padding:4px 0 6px 14px;display:grid}.editor-course-chapter-group{gap:6px;display:grid}.editor-course-chapter-title{color:var(--green);text-transform:uppercase;margin:0;font-size:.82rem;font-weight:900}.editor-course-diagnostics{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:10px;padding:14px;display:grid}.editor-course-diagnostics.ready{background:#6ca6511a;border-color:#6ca65166}.editor-course-diagnostics>strong,.editor-course-diagnostics .editor-deck-section-header strong{color:var(--green);letter-spacing:0;text-transform:uppercase;font-size:.82rem;font-weight:900}.editor-course-diagnostics p{color:var(--muted);margin:0;font-weight:800}.editor-course-diagnostic-list{gap:8px;display:grid}.editor-course-diagnostic{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:10px;display:grid}.editor-course-diagnostic span{background:var(--chip-bg);color:var(--muted);text-transform:uppercase;border-radius:999px;align-self:start;padding:4px 7px;font-size:.7rem;font-weight:900}.editor-course-diagnostic.error span{color:#9e3528;background:#f9dfda}.editor-course-diagnostic.warning span{color:#86540f;background:#f7e9ca}.editor-course-diagnostic strong{margin-bottom:2px;display:block}.editor-picker-actions{justify-content:flex-end;gap:10px;display:flex}.sidebar{border-right:1px solid var(--line);flex-direction:column;align-items:center;gap:28px;height:100vh;padding:22px 18px;display:flex;position:sticky;top:0;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.sidebar{border-right:1px solid color-mix(in srgb, var(--line), transparent 26%)}}.sidebar{background:linear-gradient(180deg, var(--panel-glass), transparent 78%), var(--panel-glass)}@supports (color:color-mix(in lab, red, red)){.sidebar{background:linear-gradient(180deg, color-mix(in srgb, var(--panel-glass), #fff 18%), transparent 78%), var(--panel-glass)}}.sidebar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.brand-block{width:100%;color:var(--deep-green);justify-content:center;align-self:center;align-items:center;gap:16px;display:flex}.brand-block h1{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.brand-mark{display:none}.brand-flower-mark{place-items:center;width:64px;height:64px;display:grid}.brand-flower-mark img{object-fit:contain;width:64px;height:64px;display:block}.eyebrow{color:var(--green);letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px;font-size:.76rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{letter-spacing:0;margin-bottom:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.1rem,3.8vw,3.1rem);line-height:.95}h2{letter-spacing:0;margin-bottom:0;font-size:clamp(2rem,4vw,4.2rem);line-height:.98}h3{margin-bottom:10px;font-size:1rem}h4{margin:0 0 4px;font-size:1rem}.field-group,.word-detail{gap:8px;display:grid}.user-controls{grid-template-columns:minmax(0,1fr) 42px;gap:8px;display:grid}label{color:var(--muted);font-size:.82rem;font-weight:700}input,select,textarea{border:1px solid var(--line);background:var(--input-bg);width:100%;color:var(--foreground);border-radius:8px}input,select{min-height:42px;padding:0 12px}textarea{resize:vertical;min-height:120px;padding:12px}input::placeholder{color:var(--muted);opacity:.68}.nav-tabs,.segmented-control{gap:8px;display:flex}.nav-tabs{flex-direction:column;align-items:center;width:100%}.nav-tabs button,.segmented-control button,.secondary-button,.primary-button,.story-card-bottom button{border:1px solid var(--line);background:var(--input-bg);min-height:40px;color:var(--foreground);text-align:center;border-radius:8px;justify-content:center;align-items:center;padding:0 14px;font-family:inherit;font-weight:800;line-height:1.2;display:inline-grid}.nav-tabs button{width:64px;min-height:58px;color:var(--deep-green);text-align:center;background:0 0;border-color:#0000;border-radius:12px;place-items:center;padding:0;display:grid}.nav-tabs button.active,.primary-button,.story-card-bottom button{border-color:var(--active-border);background:var(--active-bg);color:var(--active-fg)}.nav-tabs button.active{border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){.nav-tabs button.active{border-color:color-mix(in srgb, var(--active-border), var(--line) 25%)}}.nav-tabs button.active{background:var(--green)}@supports (color:color-mix(in lab, red, red)){.nav-tabs button.active{background:color-mix(in srgb, var(--green), #fff 76%)}}.nav-tabs button.active{color:var(--deep-green);box-shadow:inset 0 0 0 1px var(--active-border), 0 8px 18px #345a2a1f}@supports (color:color-mix(in lab, red, red)){.nav-tabs button.active{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--active-border), transparent 18%), 0 8px 18px #345a2a1f}}.nav-tabs button:focus-visible{outline:2px solid var(--active-border)}@supports (color:color-mix(in lab, red, red)){.nav-tabs button:focus-visible{outline:2px solid color-mix(in srgb, var(--active-border), #fff 12%)}}.nav-tabs button:focus-visible{outline-offset:3px}.nav-icon{object-fit:contain;width:42px;height:42px;display:block}.nav-label{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.editor-sidebar .nav-label{clip:auto;width:auto;height:auto;color:inherit;white-space:normal;font-size:.95rem;position:static;overflow:visible}.progress-mini{display:none}.progress-mini strong{color:var(--foreground);font-size:2.8rem;line-height:1}.content{min-width:0;padding:34px}.top-bar{justify-content:flex-end;align-items:center;gap:16px;margin-bottom:24px;display:flex}.mobile-app-bar,.mobile-bottom-nav{display:none}.top-bar-left,.top-bar-right,.user-menu{align-items:center;gap:10px;display:flex}.user-menu{position:relative}.user-menu-toggle{background:0 0;border:0;border-radius:50%;place-items:center;width:38px;height:38px;padding:0;display:grid}.user-menu-panel{z-index:40;border:1px solid var(--line);background:var(--panel);min-width:190px;box-shadow:var(--shadow);border-radius:8px;gap:10px;padding:12px;display:grid;position:absolute;top:calc(100% + 10px);right:0}.sign-out-button{min-height:40px;padding-inline:12px}.top-bar-left{margin-left:auto}.compact-control{align-items:center;gap:8px;display:flex}.compact-control select{width:auto;min-width:122px;min-height:38px}.language-switcher{border:1px solid var(--line);background:var(--panel-glass);box-shadow:var(--shadow);border-radius:999px;align-items:center;gap:8px;padding:4px;transition:width .16s;display:flex;position:relative}.language-switcher>button{background:radial-gradient(circle at 50% 50%, var(--panel) 58%, transparent 59%), var(--panel-subtle);width:42px;height:42px;min-height:42px;box-shadow:inset 0 0 0 3px var(--panel);color:var(--foreground);border:1px solid #0000;border-radius:50%;place-items:center;padding:0;font-size:1.45rem;line-height:1;display:grid}.language-flag-icon{background-image:var(--flag-icon);background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:50%;width:34px;height:34px}.language-switcher>button.active{border-color:var(--active-border);background:radial-gradient(circle at 50% 50%, var(--panel) 58%, transparent 59%), var(--active-bg);box-shadow:inset 0 0 0 3px var(--panel), 0 0 0 2px var(--active-border)}@supports (color:color-mix(in lab, red, red)){.language-switcher>button.active{box-shadow:inset 0 0 0 3px var(--panel), 0 0 0 2px color-mix(in srgb, var(--active-border), transparent 70%)}}.language-switcher>button:focus-visible{outline:3px solid var(--active-border);outline-offset:2px}.language-switcher .add-language-button{font-size:1.8rem;font-weight:500;line-height:1}.top-bar-language-level{color:var(--deep-green);letter-spacing:.08em;text-transform:uppercase;font-size:.84rem;font-weight:700}.language-picker{z-index:20;border:1px solid var(--line);background:var(--panel);width:min(280px,100vw - 32px);box-shadow:var(--shadow);border-radius:8px;gap:4px;padding:8px;display:grid;position:absolute;top:calc(100% + 10px);right:0}.language-picker button{width:100%;min-width:0;height:auto;min-height:48px;box-shadow:none;text-align:left;background:0 0;border-radius:8px;grid-template-columns:34px minmax(0,1fr);place-items:center start;gap:10px;padding:6px 10px;font-size:.98rem;display:grid}.language-picker button span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.language-picker button:hover:not(:disabled){background:var(--panel-subtle)}.language-picker button:focus-visible{background:var(--panel-subtle)}.language-picker button.studying{color:var(--muted);cursor:default;opacity:.72}.language-picker-fallback{border:1px solid var(--line);background:var(--panel-subtle);border-radius:50%;place-items:center;width:34px;height:34px;font-size:.76rem;font-weight:700;display:grid}.user-menu{border:1px solid var(--line);background:var(--panel-glass);border-radius:8px;min-height:48px;padding:4px}.user-avatar{background:var(--active-bg);width:32px;height:32px;color:var(--active-fg);text-transform:uppercase;border-radius:50%;place-items:center;font-size:.86rem;font-weight:900;display:grid}.user-name{max-width:170px;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.user-menu-action{width:100%}.view-stack{gap:24px;display:grid}.page-header,.reader-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.filter-field{gap:7px;display:grid}.reader-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.reader-bottom-actions{justify-items:end;gap:14px;margin-top:24px;display:grid}.learning-summary-card{border:1px solid var(--line);background:var(--panel-solid);box-shadow:var(--shadow);border-radius:8px;gap:18px;margin-top:22px;padding:clamp(18px,4vw,28px);display:grid;position:relative}.story-summary-view{max-width:760px}.story-summary-view .learning-summary-card{margin-top:0}.learning-summary-header{justify-content:space-between;align-items:flex-start;gap:18px;padding-right:58px;display:flex}.learning-summary-header .detail-close-button{position:absolute;top:clamp(18px,4vw,28px);right:clamp(18px,4vw,28px)}.learning-summary-card h3{margin:0;font-size:clamp(1.7rem,4vw,2.6rem);line-height:1.05}.learning-summary-grid{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;display:grid}.learning-summary-grid span{border:1px solid var(--line);background:var(--panel-soft);color:var(--muted);border-radius:8px;gap:4px;padding:12px;font-size:.85rem;font-weight:800;display:grid}.learning-summary-grid strong{color:var(--foreground);font-size:1.35rem;line-height:1}.learning-summary-card .primary-button{justify-self:end}.learning-summary-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.home-view{max-width:980px}.home-continue-card,.home-study-card{border:1px solid var(--line);background:var(--panel-solid);box-shadow:var(--shadow);border-radius:8px}button.home-continue-card,button.home-study-card{-webkit-appearance:none;appearance:none}.home-continue-card{grid-template-columns:minmax(180px,.38fr) minmax(0,1fr);gap:clamp(18px,4vw,32px);padding:clamp(16px,4vw,28px);display:grid}.home-continue-cover{border:1px solid var(--line);background:var(--collection-cover-bg,var(--panel-soft));border-radius:8px;place-items:center;min-height:220px;display:grid;overflow:hidden}.home-continue-cover img{object-fit:contain;width:100%;height:100%}.home-continue-copy{align-content:center;gap:16px;display:grid}.home-continue-copy h3,.home-study-card h3{margin:0;font-size:clamp(2rem,5vw,4rem);line-height:1.02}.home-continue-copy dl{gap:10px;margin:0;display:grid}.home-continue-copy dl div{gap:3px;display:grid}.home-continue-copy dt{color:var(--green);text-transform:uppercase;font-size:.78rem;font-weight:900}.home-continue-copy dd{color:var(--foreground);margin:0;font-size:1.1rem}.home-progress-copy{color:var(--muted);margin:0;font-weight:800}.home-study-card{justify-content:space-between;align-items:center;gap:18px;padding:20px;display:flex}.home-study-card h3{font-size:clamp(1.4rem,3vw,2rem)}.home-card-action{border:1px solid var(--line);background:var(--panel-soft);color:var(--foreground);white-space:nowrap;border-radius:8px;padding:10px 14px;font-weight:900}.reader-story-select{min-width:min(280px,100%);color:var(--muted);gap:6px;font-size:.82rem;font-weight:700;display:grid}.reader-story-select select{min-height:40px}.search-field{gap:6px;width:min(320px,100%);display:grid}.header-controls{align-items:flex-end;gap:10px;display:flex}.tier-filter-field select{width:120px;min-height:42px}.story-grid,.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.collection-grid{grid-template-columns:repeat(4,minmax(160px,1fr))}.topic-section-list{gap:22px;display:grid}.writing-system-panel{border:1px solid var(--line);background:var(--panel-solid);box-shadow:var(--shadow);border-radius:8px;gap:16px;padding:clamp(16px,3vw,22px);display:grid}.writing-system-panel-heading{grid-template-columns:minmax(0,.9fr) minmax(220px,1.1fr);align-items:end;gap:16px;display:grid}.writing-system-panel-heading h3{margin:0;font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.08}.writing-system-panel-heading p{color:var(--muted);margin:0;font-weight:800;line-height:1.35}.writing-system-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px;display:grid}.writing-system-card{border:1px solid var(--line);background:var(--panel-soft);min-height:132px;color:var(--foreground);text-align:left;border-radius:8px;grid-template-columns:56px minmax(0,1fr);gap:12px;padding:14px;display:grid}:is(.writing-system-card:hover,.writing-system-card:focus-visible){border-color:var(--active-border);background:var(--active-bg);outline:0}.writing-system-card-icon{border:1px solid var(--active-border);background:var(--cream);width:56px;height:56px;color:var(--green-deep);border-radius:8px;place-items:center;font-size:1.45rem;font-weight:950;display:grid}.writing-system-card>span:last-child{gap:5px;min-width:0;display:grid}.writing-system-card strong{font-size:1.18rem;line-height:1.12}.writing-system-card small{color:var(--muted);font-size:.9rem;font-weight:750;line-height:1.3}.writing-system-card-meta{color:var(--green-deep);font-size:.82rem;font-weight:900}.topic-section{gap:12px;display:grid}.topic-section-toggle{border:0;border-bottom:1px solid var(--line);color:var(--green-deep);letter-spacing:.06em;text-transform:uppercase;background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:16px;padding:0 0 10px;font-size:1rem;font-weight:950;display:flex}.topic-section-toggle>span{align-items:center;gap:8px;display:inline-flex}.topic-section-toggle>span:last-child{color:var(--muted);letter-spacing:0;text-transform:none;font-size:.9rem}.story-card,.collection-card,.collection-detail,.dictionary-card,.metric-card,.wide-panel,.reader-main,.reader-panel,.word-table{border:1px solid var(--line);background:var(--panel-solid);box-shadow:var(--shadow);border-radius:8px}.story-card{grid-template-columns:132px minmax(0,1fr);gap:14px;min-height:0;padding:12px;display:grid}.story-card-cover{aspect-ratio:4/5;border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;width:100%;margin-bottom:0;display:block}@supports (color:color-mix(in lab, red, red)){.story-card-cover{background:color-mix(in srgb, var(--panel-soft), #fff 34%)}}.story-card-cover{overflow:hidden}.story-card-cover img{object-fit:contain;object-position:center center;width:100%;height:100%;display:block}.story-card-body{flex-direction:column;gap:6px;min-width:0;display:flex}.collection-card{grid-template-columns:1fr;gap:7px;min-height:0;padding:7px;display:grid}.clickable-card{width:100%;color:var(--foreground);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}:is(.clickable-card:hover,.clickable-card:focus-visible){border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){:is(.clickable-card:hover,.clickable-card:focus-visible){border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}}:is(.clickable-card:hover,.clickable-card:focus-visible){background:var(--clickable-highlight);box-shadow:inset 0 0 0 2px var(--clickable-highlight-ring), 0 16px 34px #4537221f;outline:0;transform:translateY(-1px)}:is(.clickable-card:hover .collection-cover,.clickable-card:focus-visible .collection-cover,.clickable-card:hover .story-card-cover,.clickable-card:focus-visible .story-card-cover){border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){:is(.clickable-card:hover .collection-cover,.clickable-card:focus-visible .collection-cover,.clickable-card:hover .story-card-cover,.clickable-card:focus-visible .story-card-cover){border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}}.clickable-card:hover .course-row span,.clickable-card:hover .tag-row span,.clickable-card:hover .level-pill,.clickable-card:hover .read-pill{border-color:var(--active-border)}.clickable-card:focus-visible .course-row span{border-color:var(--active-border)}.clickable-card:focus-visible .tag-row span{border-color:var(--active-border)}.clickable-card:focus-visible .level-pill{border-color:var(--active-border)}.clickable-card:focus-visible .read-pill{border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){.clickable-card:hover .course-row span,.clickable-card:hover .tag-row span,.clickable-card:hover .level-pill,.clickable-card:hover .read-pill{border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}.clickable-card:focus-visible .course-row span{border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}.clickable-card:focus-visible .tag-row span{border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}.clickable-card:focus-visible .level-pill{border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}.clickable-card:focus-visible .read-pill{border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}}.clickable-card:hover .course-row span,.clickable-card:hover .tag-row span,.clickable-card:hover .level-pill,.clickable-card:hover .read-pill{background:var(--clickable-highlight-strong);color:var(--deep-green)}.clickable-card:focus-visible .course-row span{background:var(--clickable-highlight-strong);color:var(--deep-green)}.clickable-card:focus-visible .tag-row span{background:var(--clickable-highlight-strong);color:var(--deep-green)}.clickable-card:focus-visible .level-pill{background:var(--clickable-highlight-strong);color:var(--deep-green)}.clickable-card:focus-visible .read-pill{background:var(--clickable-highlight-strong);color:var(--deep-green)}.collection-cover{aspect-ratio:4/5;border:1px solid var(--line);background:var(--collection-cover-bg,var(--panel-soft));border-radius:8px;place-items:center;min-height:0;display:grid}@supports (color:color-mix(in lab, red, red)){.collection-cover{background:var(--collection-cover-bg,color-mix(in srgb, var(--panel-soft), #fff 34%))}}.collection-cover{overflow:hidden}.collection-cover img{object-fit:contain;object-position:center center;width:100%;height:100%;display:block}.writing-system-deck-card{min-height:100%}.writing-system-deck-cover{background:radial-gradient(circle at 50% 18%, var(--mint), transparent 36%), linear-gradient(160deg, var(--green-deep), var(--green-dark));align-content:center;gap:10px}@supports (color:color-mix(in lab, red, red)){.writing-system-deck-cover{background:radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--mint), white 26%), transparent 36%), linear-gradient(160deg, color-mix(in srgb, var(--green-deep), black 10%), var(--green-dark))}}.writing-system-deck-cover{color:var(--cream);text-align:center;padding:16px}.writing-system-deck-cover span{border:2px solid var(--cream);justify-self:center;place-items:center;width:58px;height:58px;display:grid}@supports (color:color-mix(in lab, red, red)){.writing-system-deck-cover span{border:2px solid color-mix(in srgb, var(--cream), transparent 28%)}}.writing-system-deck-cover span{background:var(--panel-solid);border-radius:8px}@supports (color:color-mix(in lab, red, red)){.writing-system-deck-cover span{background:color-mix(in srgb, var(--panel-solid), transparent 8%)}}.writing-system-deck-cover span{color:var(--green-deep);font-size:1.8rem;font-weight:950}.writing-system-deck-cover strong{overflow-wrap:anywhere;max-width:100%;font-size:clamp(1.25rem,4vw,2rem);line-height:1.05}.collection-body{flex-direction:column;gap:5px;min-width:0;padding:0;display:flex}.collection-card-top,.collection-card-bottom{align-items:center;gap:5px;display:flex}.collection-card-top{justify-content:space-between}.collection-card-top .eyebrow{margin-bottom:0;font-size:.66rem}.collection-card-bottom{color:var(--muted);margin-top:auto;font-size:.84rem;font-weight:400}.level-row{flex-wrap:wrap;justify-content:flex-start;gap:4px;display:flex}.collection-detail-levels{gap:8px}.collection-body h3{text-align:center;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-bottom:0;font-size:.92rem;line-height:1.12;display:-webkit-box;overflow:hidden}.writing-system-deck-subtitle{color:var(--muted);text-align:center;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.82rem;font-weight:750;line-height:1.25;display:-webkit-box;overflow:hidden}.collection-body .story-meta{text-align:center}.garden-cover-sketch{background:linear-gradient(145deg, #81995d1f, #efaaa01f), var(--cream);place-items:center;width:100%;height:100%;display:grid}@supports (color:color-mix(in lab, red, red)){.garden-cover-sketch{background:linear-gradient(145deg, #81995d1f, #efaaa01f), color-mix(in srgb, var(--cream), #fff 26%)}}.garden-cover-sketch svg{fill:none;width:76%;height:76%;stroke:var(--deep-green);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2px}.cover-sketch-1{background:linear-gradient(145deg, #81995d24, #ffffff14), var(--cream)}@supports (color:color-mix(in lab, red, red)){.cover-sketch-1{background:linear-gradient(145deg, #81995d24, #ffffff14), color-mix(in srgb, var(--cream), #e1ead1 28%)}}.cover-sketch-2{background:linear-gradient(145deg, #efaaa033, #ffffff1a), var(--cream)}@supports (color:color-mix(in lab, red, red)){.cover-sketch-2{background:linear-gradient(145deg, #efaaa033, #ffffff1a), color-mix(in srgb, var(--cream), #f7d8d2 24%)}}.collection-body button,.story-list-item button{border:1px solid var(--active-border);background:var(--active-bg);min-height:38px;color:var(--active-fg);border-radius:8px;align-self:flex-start;padding:0 14px;font-weight:800}.collection-detail{gap:20px;padding:26px;display:grid}.collection-detail-header{grid-template-columns:168px minmax(0,1fr) auto;align-items:start;gap:22px;display:grid}.collection-detail-header h2,.collection-detail-header h3{margin-bottom:0;font-size:1.65rem}.collection-detail-header h2{color:var(--green-deep);font-size:clamp(2rem,3.3vw,3.2rem);line-height:1.02}.deck-detail-header .collection-detail-copy{max-width:760px}.collection-detail-header:not(.deck-detail-header){grid-template-columns:168px minmax(0,1fr) auto}.title-with-translation{flex-wrap:wrap;align-items:baseline;gap:10px 14px;display:flex}.inline-title-translation{color:var(--muted);font-size:.62em;font-weight:700;line-height:1.2}.collection-body .inline-title-translation{font-size:1rem}.collection-detail-header .inline-title-translation{font-size:clamp(1rem,1.35vw,1.25rem)}.collection-detail-cover{aspect-ratio:4/5;border:1px solid var(--line);background:var(--garden-cream);border-radius:8px;width:168px;display:grid;overflow:hidden}.collection-detail-cover img,.collection-detail-cover .garden-cover-sketch{width:100%;height:100%}.collection-detail-cover img{object-fit:contain;object-position:center center;display:block}.collection-detail-copy{align-content:start;gap:8px;padding-top:8px;display:grid}.collection-detail-author{color:var(--foreground);margin:0;font-size:1.04rem;font-weight:600}.collection-detail-meta-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 18px;display:flex}.collection-detail-meta-row .collection-detail-progress{text-align:left;grid-template-columns:auto auto;place-items:center start;gap:8px;margin-left:auto}.collection-detail-meta-row .collection-detail-progress-icon{width:46px;height:46px}.collection-detail-progress{color:var(--muted);align-self:start;justify-items:center;gap:4px;font-size:.78rem;font-weight:800;display:grid}.collection-detail-progress-icon{background-image:var(--collection-progress-icon);background-position:50%;background-repeat:no-repeat;background-size:contain;width:92px;height:92px;display:block}.collection-detail-progress-label{color:var(--muted);white-space:nowrap;font-size:.78rem;font-weight:800;line-height:1.2}.chapter-list,.playlist-list,.course-path-list{gap:10px;display:grid}.course-path-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.course-path-heading span{color:var(--muted);font-size:.82rem;font-weight:850}.course-path-step{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:14px;display:grid}button.course-path-step{-webkit-appearance:none;appearance:none;width:100%;color:var(--foreground);font:inherit;text-align:left}.course-path-step:disabled{cursor:default;transform:none}:is(.course-path-step:disabled:hover,.course-path-step:disabled:focus-visible){border-color:var(--line);background:var(--panel-soft);box-shadow:var(--shadow)}.course-path-step.next{border-color:var(--active-border);background:var(--active-bg)}@supports (color:color-mix(in lab, red, red)){.course-path-step.next{background:color-mix(in srgb, var(--active-bg), var(--panel-solid) 64%)}}.course-path-step.next{box-shadow:inset 0 0 0 1px var(--clickable-highlight-ring)}.course-path-step.complete{background:var(--panel-soft)}@supports (color:color-mix(in lab, red, red)){.course-path-step.complete{background:color-mix(in srgb, var(--panel-soft), var(--active-bg) 22%)}}.course-path-step.locked{opacity:.68}.course-path-step.locked .course-path-index{background:var(--line-strong);color:var(--muted)}.course-path-index{background:var(--active-bg);width:34px;height:34px;color:var(--active-fg);border-radius:50%;place-items:center;font-weight:900;display:grid}.course-path-step.complete .course-path-index{background:var(--active-border)}.course-path-step h3,.course-path-step p{margin:0}.course-path-copy{gap:6px;min-width:0;display:grid}.course-path-step h3{overflow-wrap:anywhere;font-size:1.05rem;line-height:1.18}.course-path-type{color:var(--green);text-transform:uppercase;font-size:.78rem;font-weight:900}.course-path-progress-row{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:.82rem;font-weight:850;display:flex}.course-path-progress-row span:first-child{color:var(--green-deep)}.course-path-progress-track{border:1px solid var(--line);background:var(--panel-solid);border-radius:999px;max-width:360px;height:8px;display:block;overflow:hidden}.course-path-progress-track span{width:var(--course-path-progress);border-radius:inherit;background:var(--green);height:100%;display:block}.chapter-group{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;gap:0;display:grid;overflow:hidden}.chapter-toggle{min-height:50px;color:var(--foreground);background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:0 18px;font-weight:900;display:grid}.chapter-toggle-title,.chapter-toggle-meta{align-items:center;gap:12px;min-width:0;display:flex}.chapter-toggle-title{color:var(--green-deep);font-size:1.08rem;font-weight:950;line-height:1.15}.chapter-title-text{flex-wrap:wrap;align-items:baseline;gap:6px 10px;min-width:0;display:flex}.chapter-title-text .inline-title-translation{font-size:.86em}.chapter-disclosure{width:18px;color:var(--foreground);place-items:center;font-weight:800;display:inline-grid}.chapter-toggle-meta{color:var(--muted);white-space:nowrap;font-size:.86rem;font-weight:800}.story-list-item{border:0;border-top:1px solid var(--line);background:var(--panel-solid);cursor:pointer;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;width:100%;padding:10px 18px;display:grid}.story-list-main{gap:6px;min-width:0;display:grid}.story-list-main h4{min-width:0;margin:0}.story-list-main p{justify-self:start}button.story-list-item,button.story-card,button.collection-card{text-align:left}.story-list-item p{color:var(--muted);margin-bottom:0;font-size:.9rem}.story-card-top,.story-card-bottom,.course-row,.tag-row{align-items:center;gap:8px;display:flex}.story-card-top,.story-card-bottom{justify-content:flex-start}.story-card h3{margin:2px 0 0;font-size:1.55rem;line-height:1.08}.story-meta{color:var(--green);margin-bottom:10px;font-size:.86rem;font-weight:800;line-height:1.35}.story-card p,.empty-panel p,.wide-panel p{color:var(--muted);line-height:1.55}.story-card p{margin-bottom:0}.course-row,.tag-row{flex-wrap:wrap}.course-row{margin-top:2px}.tag-row{margin-top:0;padding-top:0}.course-row span,.tag-row span,.level-pill,.read-pill{background:var(--chip-bg);color:var(--muted);border:1px solid #0000;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:800}.course-row span{color:var(--teal);background:#18818a1f}.level-pill{color:var(--green);background:#2f7d5824}.collection-card .level-pill{color:var(--green);letter-spacing:.08em;text-transform:uppercase;background:0 0;border:0;border-radius:0;padding:0;font-size:.66rem}.read-pill.done{color:var(--blue);background:#486fb329}.story-card-bottom{color:var(--muted);margin-top:auto;font-size:.9rem;font-weight:400}.reader-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px;display:grid}.reader-main,.reader-panel,.wide-panel{padding:22px}.loading-view{min-height:calc(100vh - 120px)}.loading-panel{align-items:center;gap:16px;max-width:720px;display:flex}.loading-panel h3{margin-bottom:4px}.loading-spinner{border:4px solid var(--green);flex:none;width:42px;height:42px}@supports (color:color-mix(in lab, red, red)){.loading-spinner{border:4px solid color-mix(in srgb, var(--green), transparent 76%)}}.loading-spinner{border-top-color:var(--green);border-radius:50%;animation:.9s linear infinite loading-spin}.loading-spinner-small{border-width:3px;width:28px;height:28px}.loading-spinner-tiny{border-width:2px;width:14px;height:14px}.inline-loading-label{color:var(--muted);align-items:center;gap:6px;font-weight:850;line-height:1.2;display:inline-flex}.inline-loading-stack{gap:8px;width:min(100%,420px);display:grid}.inline-loading-stack .loading-line{height:12px}.loading-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.loading-card{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;gap:14px;min-height:170px;padding:22px;display:grid}@supports (color:color-mix(in lab, red, red)){.loading-card{background:color-mix(in srgb, var(--panel-solid), transparent 6%)}}.loading-card{box-shadow:var(--shadow)}.loading-line{background:linear-gradient(90deg, var(--line), var(--panel-subtle), var(--line));border-radius:999px;height:18px;display:block}@supports (color:color-mix(in lab, red, red)){.loading-line{background:linear-gradient(90deg, color-mix(in srgb, var(--line), transparent 34%), color-mix(in srgb, var(--panel-subtle), #fff 22%), color-mix(in srgb, var(--line), transparent 34%))}}.loading-line{background-size:220% 100%;animation:1.4s ease-in-out infinite loading-sheen}.loading-line.wide{width:72%}.loading-line.medium{width:48%}.loading-line.short{width:30%}@keyframes loading-spin{to{transform:rotate(360deg)}}@keyframes loading-sheen{0%{background-position:120% 0}to{background-position:-120% 0}}.reader-main{min-height:calc(100vh - 68px);position:relative}.reader-main .reader-header{padding-right:58px}.reader-main .detail-close-button{z-index:2;position:absolute;top:22px;right:22px}.story-text{color:var(--foreground);margin-top:34px;font-size:clamp(1.45rem,2.8vw,2.35rem);line-height:1.75}.story-text.han{font-size:clamp(1.7rem,3.4vw,2.7rem);line-height:1.9}.story-text.tier-highlights-hidden{font-size:clamp(1.18rem,2.25vw,1.78rem);line-height:1.72}.story-text.han.tier-highlights-hidden{font-size:clamp(1.34rem,2.65vw,2.08rem);line-height:1.82}.sentence{-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:8px;transition:background-color .16s;display:inline}.sentence.selected{background:#f6ce6e4d;box-shadow:0 0 0 4px #f6ce6e4d}.word-chip{color:inherit;line-height:inherit;background:0 0;border:0;border-radius:6px;margin:0 1px;padding:1px 4px;display:inline}.word-chip.tier-hidden{margin:0;padding:0}.story-text.han.tier-highlights-hidden .word-chip.tier-hidden{letter-spacing:0}.tier-new{background:#bd52602e}.tier-seen{background:#b9851f33}.tier-learning{background:#18818a29}.tier-familiar{background:#2f7d581f}.tier-known{color:var(--foreground);background:0 0}.word-chip.selected{background:var(--active-bg);color:var(--active-fg);outline:2px solid var(--active-border);outline-offset:2px}.sentence-translation{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;margin-top:28px;padding:18px}.story-text .sentence-translation{margin:22px 0 28px;font-size:1rem;line-height:1.45}.translation-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.translation-header .eyebrow{margin-bottom:0}.story-page{display:block}.story-page+.story-page{margin-top:28px}.story-page-label{color:var(--muted);text-transform:uppercase;margin-bottom:12px;font-size:.84rem;font-weight:900}.story-page-image{background:var(--panel-soft);border-radius:8px;margin:0 0 18px;display:block;overflow:hidden}.story-cover-image{background:var(--panel-soft);border-radius:8px;margin:28px 0 0;display:block;overflow:hidden}.story-page-image img{object-fit:contain;object-position:center center;width:100%;max-height:min(52vh,560px);display:block}.story-cover-image img{object-fit:contain;object-position:center center;width:100%;max-height:min(42vh,460px);display:block}.story-page-audio{align-items:center;gap:12px;width:fit-content;max-width:100%;min-height:48px;margin:0 0 22px;padding:0;display:flex}.story-page-audio audio{display:none}.story-page-audio[data-playing=true],.story-page-audio[data-loading=true]{color:var(--deep-green)}.story-audio-button{border:1px solid var(--active-border);background:var(--active-bg);width:44px;height:44px;color:var(--active-fg);border-radius:999px;flex:none;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #ffffff2e}.story-audio-button:focus-visible{outline:3px solid var(--active-border)}@supports (color:color-mix(in lab, red, red)){.story-audio-button:focus-visible{outline:3px solid color-mix(in srgb, var(--active-border), #fff 24%)}}.story-audio-button:focus-visible{outline-offset:3px}.story-audio-icon.play{border-top:8px solid #0000;border-bottom:8px solid #0000;border-left:12px solid;width:0;height:0;margin-left:3px}.story-audio-icon.pause{width:13px;height:16px;display:block;position:relative}.story-audio-icon.pause:before,.story-audio-icon.pause:after{content:"";background:currentColor;border-radius:999px;width:4px;height:16px;position:absolute;top:0}.story-audio-icon.pause:before{left:1px}.story-audio-icon.pause:after{right:1px}.story-audio-icon.loading{border:3px solid;width:18px;height:18px}@supports (color:color-mix(in lab, red, red)){.story-audio-icon.loading{border:3px solid color-mix(in srgb, currentColor, transparent 62%)}}.story-audio-icon.loading{border-top-color:currentColor;border-radius:999px;animation:.8s linear infinite audio-loading-spin}@keyframes audio-loading-spin{to{transform:rotate(360deg)}}.story-audio-copy{min-width:0;display:grid}.story-audio-time{color:var(--muted);white-space:nowrap;font-size:1rem;font-weight:800}.reader-page-actions{border-top:1px solid var(--line);justify-content:center;align-items:center;gap:12px;padding-top:16px;display:flex}.reader-page-count{color:var(--muted);font-weight:900}.reader-page-arrow{border:1px solid var(--line);background:var(--panel-soft);min-width:44px;min-height:44px;color:var(--deep-green);border-radius:8px;place-items:center;padding:0;font-size:1.55rem;font-weight:900;line-height:1;display:grid}.reader-page-arrow:disabled{visibility:hidden}.reader-mobile-page-bar,.reader-mobile-translation-bar{display:none}.icon-button{border:1px solid var(--line);background:var(--input-bg);width:32px;height:32px;color:var(--foreground);border-radius:8px;place-items:center;font-size:1.2rem;font-weight:800;line-height:1;display:grid}.detail-close-button{border-color:var(--line);flex:none;width:44px;height:44px;font-size:1.45rem}.sentence-translation p:last-child{color:var(--foreground);margin:0;font-size:1.08rem;line-height:1.5}.reader-panel{gap:22px;display:grid;position:sticky;top:24px}.word-detail h3{margin-bottom:0;font-size:2rem}.dictionary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.dictionary-search-empty{border:1px dashed var(--line-strong);background:var(--panel-soft);border-radius:8px;gap:8px;padding:22px;display:grid}.dictionary-search-loading{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}.dictionary-search-empty h3{margin:0;font-size:1.35rem;line-height:1.15}.dictionary-search-empty p{color:var(--muted);margin:0;font-size:1rem;line-height:1.45}.dictionary-card{border:1px solid var(--line);background:var(--panel-solid);width:100%;color:var(--foreground);text-align:left;border-radius:8px;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;padding:0;display:grid;position:relative}.dictionary-card-clickable{transition:border-color .16s,box-shadow .16s,transform .16s}:is(.dictionary-card-clickable:hover,.dictionary-card-clickable:focus-visible){border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){:is(.dictionary-card-clickable:hover,.dictionary-card-clickable:focus-visible){border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}}:is(.dictionary-card-clickable:hover,.dictionary-card-clickable:focus-visible){background:var(--clickable-highlight);box-shadow:inset 0 0 0 2px var(--clickable-highlight-ring), 0 16px 34px #4537221f;outline:0;transform:translateY(-1px)}.dictionary-card-open{width:100%;min-height:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:14px 86px 14px 18px;display:block}.dictionary-card-open:focus-visible{outline:3px solid var(--active-border)}@supports (color:color-mix(in lab, red, red)){.dictionary-card-open:focus-visible{outline:3px solid color-mix(in srgb, var(--active-border), #fff 22%)}}.dictionary-card-open:focus-visible{outline-offset:-3px}.dictionary-card-clickable:hover .pos-summary span,.dictionary-card-clickable:hover .tier-icon-badge-small{border-color:var(--active-border)}.dictionary-card-clickable:focus-visible .pos-summary span{border-color:var(--active-border)}.dictionary-card-clickable:focus-visible .tier-icon-badge-small{border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){.dictionary-card-clickable:hover .pos-summary span,.dictionary-card-clickable:hover .tier-icon-badge-small{border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}.dictionary-card-clickable:focus-visible .pos-summary span{border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}.dictionary-card-clickable:focus-visible .tier-icon-badge-small{border-color:color-mix(in srgb, var(--active-border), var(--line) 52%)}}.dictionary-card-clickable:hover .pos-summary span,.dictionary-card-clickable:hover .tier-icon-badge-small{background-color:var(--clickable-highlight-strong)}.dictionary-card-clickable:focus-visible .pos-summary span{background-color:var(--clickable-highlight-strong)}.dictionary-card-clickable:focus-visible .tier-icon-badge-small{background-color:var(--clickable-highlight-strong)}.dictionary-card-heading,.dictionary-card-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.dictionary-card-top .eyebrow{margin-bottom:0}.dictionary-card h3{min-width:0;margin-bottom:0;font-size:1.9rem;line-height:1.05}.dictionary-label-body{gap:7px;min-width:0;display:grid}.dictionary-card-translations{gap:4px;margin-top:2px;display:grid}.dictionary-card-translations p{color:var(--foreground);margin:0;font-size:.98rem;font-weight:700;line-height:1.35}.dictionary-card-forms{gap:5px;display:grid}.dictionary-card-form-row{flex-wrap:wrap;gap:6px;display:flex}.dictionary-card-form-row>span{border:1px solid var(--line);background:var(--panel-soft);max-width:100%;color:var(--muted);border-radius:999px;align-items:baseline;gap:5px;padding:5px 9px;font-size:.82rem;font-weight:900;display:inline-flex}.dictionary-card-form-row>span.matched{border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){.dictionary-card-form-row>span.matched{border-color:color-mix(in srgb, var(--active-border), var(--line) 35%)}}.dictionary-card-form-row>span.matched{background:var(--green)}@supports (color:color-mix(in lab, red, red)){.dictionary-card-form-row>span.matched{background:color-mix(in srgb, var(--green), transparent 84%)}}.dictionary-card-form-row>span.matched{color:var(--foreground)}.dictionary-card-form-row strong{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dictionary-card-form-row small{color:var(--muted);white-space:nowrap;font-size:.72rem;font-weight:900}.dictionary-card-audio{flex-wrap:wrap;gap:8px;padding:0 18px 14px;display:flex}.dictionary-word-line{align-items:baseline;gap:16px;min-width:0;display:flex}.dictionary-word-line h3{flex:0 auto}.pinyin-detail{color:var(--muted);margin:0 0 4px;font-size:.92rem;font-weight:800;display:block}.dictionary-word-line .pinyin-detail{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;margin:0;display:inline-block;overflow:hidden}.dictionary-card-tier{display:inline-flex;position:absolute;top:50%;right:18px;transform:translateY(-50%)}.dictionary-card-tier .tier-icon-badge-small{width:50px;height:62px}.dictionary-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dictionary-detail{border:1px solid var(--line);background:var(--panel-solid);min-width:0;max-width:100%;box-shadow:var(--shadow);border-radius:8px;gap:18px;padding:22px;display:grid}.nested-dictionary-detail{background:var(--panel-subtle);box-shadow:none;margin-top:18px;padding:18px}.nested-dictionary-detail .dictionary-detail-header h3{overflow-wrap:anywhere;margin:0;font-size:2.4rem;font-weight:500;line-height:1.05}.dictionary-detail-header{justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;display:flex}.dictionary-detail-header>div{min-width:0}.dictionary-detail-header h2{overflow-wrap:anywhere;text-wrap:balance;max-width:100%;margin-bottom:2px;font-size:clamp(2.1rem,5vw,3.8rem);line-height:1}.dictionary-detail-pronunciation{color:var(--muted);margin:6px 0 0;font-size:clamp(1rem,2vw,1.35rem);font-weight:900;line-height:1.25}.dictionary-entry-image{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;width:min(100%,320px);margin:0 auto;overflow:hidden}.dictionary-entry-image img{object-fit:contain;object-position:center center;width:100%;max-height:280px;display:block}.dictionary-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.dictionary-detail-footer{border-top:1px solid var(--line);grid-template-columns:minmax(180px,260px) auto;align-items:end;gap:16px;padding-top:18px;display:grid}.dictionary-compact-stats{color:var(--muted);flex-wrap:wrap;grid-column:1/-1;gap:8px;font-size:.88rem;font-weight:800;display:flex}.dictionary-compact-stats span{border:1px solid var(--line);background:var(--panel-soft);border-radius:999px;padding:7px 10px}.dictionary-compact-stats strong{color:var(--foreground)}.dictionary-card-placeholder{min-height:156px;padding:18px}.dictionary-detail-footer .dictionary-compact-stats{grid-column:1/-1}.detail-tier-control{gap:7px;max-width:260px;display:grid}.tier-label{border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:4px 10px;font-size:.76rem;font-weight:900;display:inline-flex}.tier-label-new{color:var(--rose);background:#bd526029}.tier-label-seen{color:var(--gold);background:#b9851f2e}.tier-label-learning{color:var(--teal);background:#18818a29}.tier-label-familiar{color:var(--green);background:#2f7d5829}.tier-label-known{color:var(--blue);background:#486fb329}.tier-icon-badge{border:1px solid var(--active-border);flex:none;justify-content:center;align-items:center;width:58px;height:72px;display:inline-flex;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.tier-icon-badge{border:1px solid color-mix(in srgb, var(--active-border), transparent 35%)}}.tier-icon-badge{box-shadow:none;vertical-align:middle;background:#fff7df;border-radius:8px}.tier-icon-badge-small{width:44px;height:56px}.tier-icon-badge:before{background-image:var(--tier-icon);content:"";background-position:bottom;background-repeat:no-repeat;background-size:cover;border-radius:7px;width:100%;height:100%}.tier-selector{width:max-content;max-width:100%;box-shadow:none;background:0 0;border:0;border-radius:10px;align-items:center;gap:4px;padding:0;display:inline-flex}.tier-selector button{background:0 0;border:0;border-radius:8px;place-items:center;width:52px;height:64px;min-height:64px;padding:0;display:grid}.tier-selector button.active{box-shadow:none}.tier-selector button:focus-visible{outline:3px solid var(--active-border);outline-offset:2px}.tier-selector.expanded{flex-wrap:wrap}.tier-selector .tier-icon-badge-small{width:44px;height:56px}.tier-control-row{color:var(--foreground);align-items:center;gap:12px;display:flex}.meaning-detail-list,.meaning-group,.pronunciation-group{gap:12px;display:grid}.meaning-detail-list.compact{gap:10px}.pronunciation-group+.pronunciation-group{border-top:1px solid var(--line);padding-top:14px}.pronunciation-summary-card{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:10px;padding:12px;display:grid}.pronunciation-label-list{flex-wrap:wrap;align-items:baseline;gap:8px 10px;display:flex}.pronunciation-label-list strong{color:var(--foreground);font-size:.95rem;font-weight:900}.pronunciation-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pronunciation-audio-list{flex-wrap:wrap;justify-content:flex-start;gap:8px 10px;display:flex}.pronunciation-audio-inline{margin-top:-4px}.pronunciation-audio-control{min-height:36px;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.pronunciation-audio-control audio{display:none}.pronunciation-audio-control[data-playing=true],.pronunciation-audio-control[data-loading=true]{color:var(--deep-green)}.pronunciation-audio-button{border:1px solid var(--active-border);background:var(--active-bg);width:36px;height:36px;color:var(--active-fg);border-radius:999px;flex:none;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #ffffff2e}.pronunciation-audio-button .story-audio-icon.play{border-top-width:6px;border-bottom-width:6px;border-left-width:10px}.pronunciation-audio-button .story-audio-icon.pause{width:11px;height:14px}.pronunciation-audio-button .story-audio-icon.pause:before,.pronunciation-audio-button .story-audio-icon.pause:after{width:3px;height:14px}.pronunciation-audio-button .story-audio-icon.loading{border-width:2px;width:16px;height:16px}.pronunciation-audio-button:focus-visible{outline:3px solid var(--active-border)}@supports (color:color-mix(in lab, red, red)){.pronunciation-audio-button:focus-visible{outline:3px solid color-mix(in srgb, var(--active-border), #fff 24%)}}.pronunciation-audio-button:focus-visible{outline-offset:3px}.pronunciation-audio-meta{color:currentColor;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:11rem;font-size:.82rem;font-weight:800;overflow:hidden}.pronunciation-heading div{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.pronunciation-word{color:var(--green);font-size:1.45rem;font-weight:900}.pronunciation-heading strong{color:var(--foreground);font-size:1.25rem}.pronunciation-heading>span{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:900}.meaning-group{border-top:1px solid var(--line);padding-top:14px}.meaning-group:first-child{border-top:0;padding-top:0}.pos-row,.pos-summary{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pos-row span,.pos-summary span{background:var(--chip-bg);color:var(--muted);border:1px solid #0000;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:900}.dictionary-summary-row{align-items:center;gap:10px;display:flex}.dictionary-summary-row .pos-summary{flex:none}.pos-row strong{color:var(--foreground);font-size:.88rem}.dictionary-summary{min-width:0;color:var(--muted);margin-bottom:2px;line-height:1.45}.native-definition{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;padding:12px}.dictionary-meaning-detail{gap:12px;display:grid}.dictionary-meaning-detail.compact{gap:10px}.dictionary-form-section{gap:8px;display:grid}.dictionary-form-list{flex-wrap:wrap;gap:8px;display:flex}.dictionary-form-card{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:7px;min-width:min(100%,170px);padding:10px 12px;display:grid}.dictionary-form-card>div:first-child{flex-wrap:wrap;align-items:baseline;gap:7px;display:flex}.dictionary-form-card strong{color:var(--foreground);font-size:1.25rem;line-height:1.1}.dictionary-form-card>div:first-child span{color:var(--muted);font-size:.86rem;font-weight:900}.dictionary-form-chip-row{flex-wrap:wrap;gap:6px;display:flex}.dictionary-form-chip-row span{border:1px solid var(--green)}@supports (color:color-mix(in lab, red, red)){.dictionary-form-chip-row span{border:1px solid color-mix(in srgb, var(--green), var(--line) 35%)}}.dictionary-form-chip-row span{background:var(--green);border-radius:999px}@supports (color:color-mix(in lab, red, red)){.dictionary-form-chip-row span{background:color-mix(in srgb, var(--green), transparent 88%)}}.dictionary-form-chip-row span{color:var(--muted);padding:4px 8px;font-size:.74rem;font-weight:900}.dictionary-form-card p{color:var(--muted);margin:0;font-size:.88rem;line-height:1.35}.definition-row{grid-template-columns:minmax(0,1fr);align-items:start;gap:10px;display:grid}.definition-row.numbered{grid-template-columns:auto minmax(0,1fr)}.definition-number{border:1px solid var(--green);place-items:center;width:28px;height:28px;display:inline-grid}@supports (color:color-mix(in lab, red, red)){.definition-number{border:1px solid color-mix(in srgb, var(--green), var(--line) 30%)}}.definition-number{background:var(--panel-solid);color:var(--green);border-radius:999px;font-size:.84rem;font-weight:900;line-height:1}.dictionary-subsection{gap:8px;display:grid}.dictionary-subsection-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.76rem;font-weight:900}.example-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.example-list li{border-left:3px solid var(--green);gap:4px;display:grid}@supports (color:color-mix(in lab, red, red)){.example-list li{border-left:3px solid color-mix(in srgb, var(--green), var(--line) 25%)}}.example-list li{background:var(--panel-solid)}@supports (color:color-mix(in lab, red, red)){.example-list li{background:color-mix(in srgb, var(--panel-solid), var(--panel-soft) 45%)}}.example-list li{color:var(--foreground);padding:8px 10px;line-height:1.45}.example-list li small{color:var(--muted);font-size:.9em;font-weight:700}.dictionary-example-sentence-row{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.dictionary-example-sentence-row>span:first-child{min-width:0}.dictionary-example-sentence-row .pronunciation-audio-control{flex:none;margin-top:-2px}.dictionary-example-editor{border:1px solid var(--line);background:var(--panel-subtle);border-radius:8px;gap:10px;padding:12px;display:grid}.dictionary-example-editor h5{margin:0;font-size:1rem}.dictionary-example-rows{gap:10px;display:grid}.dictionary-example-row{grid-template-columns:1fr;align-items:stretch;gap:10px;display:grid}.dictionary-example-audio-row{align-items:end}.dictionary-example-audio-preview{gap:8px;display:grid}.dictionary-example-actions{flex-wrap:wrap;gap:8px;display:flex}.dictionary-relation-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.dictionary-relation-editor{border:1px solid var(--line);background:var(--panel-subtle);border-radius:8px;gap:10px;padding:12px;display:grid}.dictionary-relation-editor h5{margin:0;font-size:1rem}.dictionary-relation-rows{gap:10px;display:grid}.dictionary-relation-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.relation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.relation-chip-row{flex-wrap:wrap;gap:6px;display:flex}.relation-chip-row span{border:1px solid var(--line);background:var(--panel-solid);color:var(--foreground);border-radius:999px;padding:5px 9px;font-size:.84rem;font-weight:800;line-height:1.1}.native-definition p{color:var(--foreground);margin-bottom:0;line-height:1.5}.native-definition p+.translation-label{margin-top:12px}.translation-label{color:var(--muted);text-transform:uppercase;margin:12px 0 8px;font-size:.82rem;font-weight:900}.meaning-list{counter-reset:meaning-translation;gap:0;margin:0;padding:0;list-style:none;display:grid}.meaning-list li{counter-increment:meaning-translation;border-top:1px solid var(--line);color:var(--foreground);grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:10px;padding:9px 0;font-size:1rem;line-height:1.35;display:grid}.meaning-list li:first-child{border-top:0;padding-top:0}.meaning-list li:last-child{padding-bottom:0}.meaning-list li:before{color:var(--muted);content:counter(meaning-translation) ".";font-size:.86rem;font-weight:900}.dictionary-empty{border:1px solid var(--line);background:var(--panel-soft);color:var(--muted);border-radius:8px;margin-bottom:14px;padding:10px 12px;line-height:1.45}.dictionary-loading-inline{align-items:center;gap:12px;display:flex}.dictionary-loading-inline div:last-child{gap:2px;display:grid}.dictionary-loading-inline strong{color:var(--foreground)}.dictionary-loading-inline span{font-size:.9rem}.deck-section-card{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;display:grid;position:relative;overflow:hidden}.deck-section-main,.deck-preview-strip{color:var(--foreground);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.deck-section-main{gap:14px;padding:18px 62px 18px 18px;transition:background .16s,box-shadow .16s;display:grid}:is(.deck-section-main:hover,.deck-section-main:focus-visible,.deck-preview-strip:hover,.deck-preview-strip:focus-visible){background:var(--clickable-highlight);box-shadow:inset 0 0 0 2px var(--clickable-highlight-ring);outline:0}.deck-section-main:disabled{cursor:default}:is(.deck-section-main:disabled:hover,.deck-section-main:disabled:focus-visible){box-shadow:none;background:0 0}.deck-section-mode-button{border:1px solid var(--line);background:var(--panel-soft);width:38px;height:38px;color:var(--green-deep);font:inherit;cursor:pointer;border-radius:8px;place-items:center;font-size:1.15rem;font-weight:950;line-height:1;display:grid;position:absolute;top:12px;right:12px}:is(.deck-section-mode-button:hover,.deck-section-mode-button:focus-visible){border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){:is(.deck-section-mode-button:hover,.deck-section-mode-button:focus-visible){border-color:color-mix(in srgb, var(--active-border), var(--line) 35%)}}:is(.deck-section-mode-button:hover,.deck-section-mode-button:focus-visible){background:var(--clickable-highlight);outline:0}.deck-section-mode-button:disabled{cursor:default;opacity:.55}.deck-section-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;display:grid}.deck-section-heading>span{color:var(--green-deep);overflow-wrap:anywhere;font-size:1.25rem;font-weight:950;line-height:1.15}.deck-section-heading strong{color:var(--foreground);white-space:nowrap;font-size:.92rem;line-height:1.2}.deck-tier-bar{border:1px solid var(--line);background:var(--panel-soft);border-radius:999px;height:12px;display:flex;overflow:hidden}.deck-tier-segment{flex:0 0 var(--tier-segment-width);min-width:0;display:block}.deck-tier-segment-new{background:var(--muted)}@supports (color:color-mix(in lab, red, red)){.deck-tier-segment-new{background:color-mix(in srgb, var(--muted), #fff 42%)}}.deck-tier-segment-seen{background:#bd8427}.deck-tier-segment-learning{background:#23847e}.deck-tier-segment-familiar{background:#3f7f32}.deck-tier-segment-known{background:#466fa8}.deck-section-stats{color:var(--muted);grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;font-size:.82rem;font-weight:900;display:grid}.deck-section-stats>span{align-items:center;gap:5px;min-width:0;display:inline-flex}.deck-section-empty{border:1px dashed var(--line);background:var(--panel-soft);color:var(--muted);border-radius:8px;padding:12px;font-size:.9rem;font-weight:800;display:block}.deck-preview-strip{border-top:1px solid var(--line);background:var(--panel-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}@supports (color:color-mix(in lab, red, red)){.deck-preview-strip{background:color-mix(in srgb, var(--panel-soft), #fff 24%)}}.deck-preview-strip{color:var(--muted);padding:12px 18px;font-size:.92rem;font-weight:850}.deck-preview-strip>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.study-mode-dialog-backdrop{z-index:60;background:var(--foreground);place-items:center;display:grid;position:fixed;inset:0}@supports (color:color-mix(in lab, red, red)){.study-mode-dialog-backdrop{background:color-mix(in srgb, var(--foreground), transparent 76%)}}.study-mode-dialog-backdrop{padding:18px}.study-mode-dialog{border:1px solid var(--line);background:var(--panel-solid);width:min(420px,100%);box-shadow:var(--shadow);border-radius:8px;gap:18px;padding:22px;display:grid}.study-mode-dialog header{justify-content:space-between;align-items:start;gap:16px;display:flex}.study-mode-dialog h3{margin:0;font-size:clamp(1.45rem,4vw,2rem);line-height:1.08}.study-mode-dialog p{color:var(--muted);margin:0;font-weight:800}.study-mode-actions{gap:10px;display:grid}.study-mode-actions button{border:1px solid var(--line);background:var(--input-bg);min-height:48px;color:var(--foreground);border-radius:8px;padding:0 14px;font-size:1rem;font-weight:850}:is(.study-mode-actions button:hover,.study-mode-actions button:focus-visible){border-color:var(--active-border);background:var(--active-bg);color:var(--active-fg);outline:0}.study-mode-actions button:disabled,.study-mode-actions button:disabled:hover{cursor:not-allowed;border-color:var(--line);background:var(--input-bg);color:var(--muted);opacity:.58}.study-mode-actions button:disabled:focus-visible{cursor:not-allowed;border-color:var(--line);background:var(--input-bg);color:var(--muted);opacity:.58}.deck-preview-strip>span:last-child{border:1px solid var(--line);background:var(--panel-solid);width:24px;height:24px;color:var(--green-deep);border-radius:999px;place-items:center;font-weight:950;display:grid}.deck-preview-panel{border-top:1px solid var(--line);background:var(--panel-soft);gap:10px;padding:14px 18px 18px;display:grid}.deck-preview-word-list{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:8px;max-height:min(46vh,420px);padding-right:2px;display:grid;overflow:auto}.deck-preview-word{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:9px 11px;display:flex}.deck-preview-word strong{overflow-wrap:anywhere;min-width:0;font-size:1rem;line-height:1.2}.deck-study-page{width:min(1120px,100%);min-width:0;max-width:1120px;overflow:hidden}.deck-study-header{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;padding-right:72px;display:grid;position:relative}.deck-study-heading{min-width:0}.deck-study-heading h2{color:var(--foreground);overflow-wrap:anywhere;margin-bottom:8px;font-size:clamp(1.85rem,3.4vw,2.85rem);line-height:1.08}.deck-study-heading h2+.eyebrow{margin-bottom:0}.deck-study-close-button{position:absolute;top:0;right:0}.writing-system-detail{gap:24px;display:grid}.writing-system-detail .deck-study-heading>p:not(.eyebrow){color:var(--muted);margin:0;font-size:1rem;font-weight:800;line-height:1.38}.writing-system-meta{flex-wrap:wrap;gap:8px;display:flex}.writing-system-meta span{border:1px solid var(--line);background:var(--panel-soft);color:var(--muted);border-radius:999px;padding:7px 11px;font-size:.82rem;font-weight:900}.writing-system-section-heading h4{color:var(--green-deep);margin:0;line-height:1.12}.writing-system-section-heading p{color:var(--muted);margin:0;font-weight:800;line-height:1.38}.writing-system-weak-symbols{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:.82rem;font-weight:900;display:flex}.writing-system-weak-symbols>div{flex-wrap:wrap;gap:6px;display:flex}.writing-system-weak-symbols mark{border:1px solid var(--danger)}@supports (color:color-mix(in lab, red, red)){.writing-system-weak-symbols mark{border:1px solid color-mix(in srgb, var(--danger) 48%, var(--line))}}.writing-system-weak-symbols mark{background:var(--danger);border-radius:999px}@supports (color:color-mix(in lab, red, red)){.writing-system-weak-symbols mark{background:color-mix(in srgb, var(--danger) 14%, var(--panel-soft))}}.writing-system-weak-symbols mark{color:var(--foreground);font:inherit;padding:4px 8px}.writing-system-section-list{gap:26px;display:grid}.writing-system-section{border-top:1px solid var(--line);gap:14px;padding-top:22px;display:grid}.writing-system-section-heading{gap:6px;display:grid}.writing-system-section-heading h4{font-size:clamp(1.15rem,2.4vw,1.55rem)}.writing-system-preview-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;display:grid}.writing-system-preview-card{-webkit-appearance:none;appearance:none;border:1px solid var(--line);background:var(--panel-soft);text-align:center;cursor:pointer;border-radius:8px;place-items:center;gap:6px;min-height:128px;padding:12px 8px;display:grid}:is(.writing-system-preview-card.active,.writing-system-preview-card:focus-visible){border-color:var(--green);box-shadow:0 0 0 2px var(--green)}@supports (color:color-mix(in lab, red, red)){:is(.writing-system-preview-card.active,.writing-system-preview-card:focus-visible){box-shadow:0 0 0 2px color-mix(in srgb, var(--green) 38%, transparent)}}:is(.writing-system-preview-card.active,.writing-system-preview-card:focus-visible){outline:none}.writing-system-preview-card strong{max-width:100%;color:var(--foreground);overflow-wrap:anywhere;font-size:clamp(1.8rem,4.8vw,3rem);line-height:1.05}.writing-system-preview-card span{color:var(--muted);font-size:1rem;font-weight:850;line-height:1.15}.writing-system-preview-card small{color:var(--muted);margin:0;font-size:.78rem;font-weight:750;line-height:1.2}.writing-system-item-detail{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:18px;padding:clamp(18px,4vw,28px);display:grid;position:relative}.writing-system-item-detail .detail-close-button{position:absolute;top:16px;right:16px}.writing-system-item-detail-header{grid-template-columns:minmax(84px,.35fr) minmax(0,1fr);align-items:center;gap:clamp(16px,4vw,28px);padding-right:72px;display:grid}.writing-system-item-detail-header>strong{color:var(--foreground);text-align:center;overflow-wrap:anywhere;font-size:clamp(4rem,14vw,8rem);line-height:.95}.writing-system-item-detail-header h3{color:var(--foreground);margin:0;font-size:clamp(2rem,5vw,3.4rem);line-height:1}.writing-system-item-detail-header p{color:var(--muted);margin:8px 0 0;font-size:clamp(1rem,2vw,1.3rem);font-weight:850}.writing-system-item-detail-body{gap:14px;display:grid}.writing-system-item-detail-body .secondary-button{justify-self:start}.writing-system-item-note,.writing-system-item-example{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;margin:0}@supports (color:color-mix(in lab, red, red)){.writing-system-item-note,.writing-system-item-example{background:color-mix(in srgb, var(--panel-solid) 70%, transparent)}}.writing-system-item-note,.writing-system-item-example{color:var(--foreground);padding:14px;font-weight:750;line-height:1.4}.writing-system-item-example{gap:6px;display:grid}.writing-system-item-example span{color:var(--muted);font-weight:800}.writing-system-item-stroke-image{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;width:min(100%,320px);overflow:hidden}.writing-system-item-stroke-image img{object-fit:contain;width:100%;max-height:280px;display:block}.study-card.writing-system-practice-card{border:1px solid var(--line);background:linear-gradient(180deg, var(--panel-soft), var(--panel));text-align:center;border-radius:8px;justify-items:center;gap:16px;padding:22px;display:grid;box-shadow:0 16px 40px #34603a1a}.writing-system-practice-card>strong{color:var(--foreground);overflow-wrap:anywhere;font-size:6.2rem;line-height:1}.writing-system-practice-card>span{color:var(--green-dark);font-size:1.3rem;font-weight:850}.writing-system-practice-card>.study-actions{width:100%}.writing-system-practice-card>.study-actions:not(:has(button:nth-child(3))){grid-template-columns:repeat(2,minmax(0,1fr))}.alphabet-example-words{text-align:left;width:min(100%,640px);min-width:0}.alphabet-example-words h4{margin:8px 0;font-size:1rem}.alphabet-example-word{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 0;display:grid}.alphabet-example-word>div:first-child{overflow-wrap:anywhere;gap:4px;display:grid}.alphabet-example-word strong{font-size:1.3rem}.alphabet-example-word span{color:var(--muted)}.alphabet-example-word .pronunciation-audio-meta{display:none}.writing-system-study-progress{justify-content:center;justify-self:center;width:100%}.writing-system-practice-card p,.writing-system-practice-card small{color:var(--muted);margin:0;font-weight:750}.study-card,.study-complete{gap:18px;display:grid}.study-actions button{border:1px solid var(--line);background:var(--panel-soft);min-height:44px;color:var(--foreground);border-radius:8px;padding:0 14px;font-weight:900}.study-toggle{color:var(--muted);align-items:center;gap:10px;font-weight:900;display:flex}.study-toggle input{width:18px;height:18px;accent-color:var(--green)}.study-settings-note{color:var(--muted);text-align:center;margin:0;font-weight:800}.study-card{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;justify-items:stretch;width:100%;min-width:0;max-width:100%;padding:clamp(18px,4vw,32px)}.study-progress{color:var(--muted);align-items:center;gap:8px;margin-bottom:0;font-weight:900;display:inline-flex}.study-card h3{overflow-wrap:anywhere;text-wrap:balance;text-align:center;justify-self:center;width:min(100%,760px);max-width:100%;margin-bottom:0;font-size:clamp(3rem,12vw,7rem);line-height:1}.study-card .pinyin-detail{text-align:center;margin-bottom:-8px}.study-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.study-show-button{justify-self:center;min-width:160px}.empty-state{border:1px solid var(--line);background:var(--panel-solid);max-width:760px;box-shadow:var(--shadow);border-radius:8px;padding:clamp(18px,4vw,34px)}.empty-state-loading{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;display:grid}.empty-state h3{margin-bottom:8px}.empty-state p{color:var(--muted);margin:0;font-weight:700}.exercise-mode-tabs button.active{border-color:var(--active-border);background:var(--active-bg);color:var(--active-fg)}.exercise-card{border:1px solid var(--line);background:var(--panel-solid);max-width:980px;box-shadow:var(--shadow);border-radius:8px;gap:18px;padding:clamp(18px,4vw,34px);display:grid}.exercise-card-header{justify-content:flex-end;display:flex}.exercise-card-header>span{color:var(--muted);white-space:nowrap;font-weight:800}.exercise-prompt{color:var(--muted);margin:0;font-size:1.05rem;font-weight:700}.qa-card{width:min(100%,760px)}.qa-prompt{gap:12px;display:grid}.qa-prompt p{color:var(--foreground);margin:0;font-size:clamp(1.35rem,3vw,2rem);line-height:1.2}.qa-choice-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.qa-choice-button{border:1px solid var(--line);background:var(--input-bg);min-height:74px;color:var(--foreground);text-align:left;border-radius:8px;gap:10px;padding:14px;font-size:1.05rem;font-weight:800;display:grid}.qa-choice-button.selected{border-color:var(--active-border);background:var(--active-bg)}.qa-choice-button.correct{border-color:var(--green)}.qa-choice-button.wrong{border-color:var(--rose)}.study-media{gap:10px;display:grid}.study-media img{object-fit:contain;background:var(--panel-soft);border-radius:8px;width:100%;max-height:280px}.study-media audio{width:100%}.study-media-compact img{max-height:150px}.exercise-answer-slots,.exercise-word-bank{flex-wrap:wrap;gap:10px;display:flex}.exercise-answer-slots{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;align-content:flex-start;min-height:74px;padding:12px}.exercise-answer-slots>span{color:var(--muted);align-self:center;font-weight:700}.exercise-answer-slots button,.exercise-word-bank button{border:1px solid var(--line);background:var(--input-bg);min-height:44px;color:var(--foreground);border-radius:8px;padding:0 16px;font-size:1.05rem;font-weight:800}.exercise-answer-slots button{border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){.exercise-answer-slots button{border-color:color-mix(in srgb, var(--active-border), var(--line) 30%)}}.exercise-answer-slots button{background:var(--clickable-highlight)}:is(.exercise-word-bank button.selected,.exercise-word-bank button:focus-visible){border-color:var(--active-border);background:var(--active-bg);color:var(--active-fg)}.exercise-word-bank button:disabled:not(.selected){opacity:.32}.exercise-word-bank button:disabled{cursor:default}.exercise-blank-sentence{margin:0;font-size:clamp(2rem,6vw,4.5rem);line-height:1.35}.exercise-blank{border:2px solid var(--active-border);background:var(--clickable-highlight-strong);min-width:3.5em;color:var(--foreground);text-align:center;border-radius:8px;padding:0 .18em;display:inline-block}.exercise-solution{border:1px solid var(--green);gap:8px;display:grid}@supports (color:color-mix(in lab, red, red)){.exercise-solution{border:1px solid color-mix(in srgb, var(--green), var(--line) 35%)}}.exercise-solution{background:var(--clickable-highlight);color:var(--foreground);border-radius:8px;padding:14px}.exercise-solution p{margin:0;font-size:1.1rem;line-height:1.45}.exercise-solution .eyebrow{color:var(--green);font-size:.78rem}.exercise-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding-top:18px;display:flex}.exercise-actions p{color:#9a4d34;margin:0;font-weight:900}.exercise-actions p.correct{color:var(--green)}.exercise-actions>div{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.study-actions button:nth-child(2){border-color:var(--green)}.study-actions button:nth-child(3){border-color:var(--active-border);background:var(--active-bg);color:var(--active-fg)}.study-complete{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;justify-items:start;padding:24px}.word-detail dl{gap:10px;margin:0;display:grid}.word-detail dl div{border-bottom:1px solid var(--line);justify-content:space-between;gap:14px;padding-bottom:8px;display:flex}.word-detail dt{color:var(--muted);font-weight:700}.word-detail dd{margin:0;font-weight:800}.word-detail .tier-stat-value{align-items:center;gap:8px;display:inline-flex}.dashboard-metric-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.metric-group{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:10px;padding:12px;display:grid}.metric-group h3{color:var(--muted);text-transform:uppercase;margin:0;font-size:.82rem;font-weight:900}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.metric-card{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;gap:6px;padding:12px 14px;display:grid}.metric-card span{color:var(--muted);font-size:.86rem;font-weight:800}.metric-card strong{font-size:clamp(1.35rem,2.8vw,1.85rem);line-height:1}.bar-list,.level-bars,.level-progress-grid{gap:14px;display:grid}.bar-row,.level-stat{grid-template-columns:96px minmax(0,1fr) 36px;align-items:center;gap:12px;display:grid}.level-stat{grid-template-columns:84px 52px minmax(0,1fr) 94px}.level-stat small{color:var(--muted);text-align:right;font-size:.82rem;font-weight:800}.bar-track{background:var(--panel-subtle);border-radius:999px;height:12px;overflow:hidden}.bar-fill{border-radius:inherit;min-width:2px;height:100%}.tier-bg-seen{background:var(--gold)}.tier-bg-learning{background:var(--teal)}.tier-bg-familiar,.story-fill{background:var(--green)}.tier-bg-known{background:var(--blue)}.timeline-panel{gap:18px}.timeline-section{gap:12px;display:grid}.timeline-section+.timeline-section{border-top:1px solid var(--line);padding-top:16px}.timeline-section-label{color:var(--green);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.82rem;font-weight:900}.timeline-controls{grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);align-items:center;gap:12px;display:grid}.timeline-tabs,.timeline-range{border:1px solid var(--line);border-radius:999px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;display:grid;overflow:hidden}.timeline-tabs button,.timeline-range button{background:0 0;border:0;border-radius:0}.timeline-tabs button+button,.timeline-range button+button{border-left:1px solid var(--line)}.panel-title-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.panel-title-row h3{margin:0}.panel-title-row span{color:var(--muted);font-weight:900}.timeline-chart{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;overflow:hidden}.timeline-chart svg{width:100%;height:auto;display:block}.timeline-area{opacity:.94}.timeline-bar{opacity:.92}.timeline-stack-bar{opacity:.94}.timeline-axis-line{stroke:var(--muted);stroke-width:1.4px;opacity:.7}.timeline-grid-line{stroke:var(--line);stroke-width:1px;opacity:.78}.timeline-axis-text{fill:var(--muted);text-anchor:end;font-size:15px;font-weight:800}.timeline-date-start{text-anchor:start}.timeline-date-end{text-anchor:end}.timeline-legend{gap:12px;max-width:560px;margin:0 auto;display:grid}.timeline-empty-row{color:var(--muted);text-align:center;font-weight:800}.timeline-legend-row,.timeline-legend-total{color:var(--muted);grid-template-columns:28px minmax(0,1fr) 48px;align-items:center;gap:14px;font-size:1.05rem;font-weight:800;display:grid}.timeline-legend-row strong,.timeline-legend-total strong{color:var(--foreground);text-align:right}.timeline-swatch{background:var(--swatch);border-radius:3px;width:22px;height:22px}.timeline-legend-total{border-top:1px solid var(--muted);color:var(--foreground);grid-template-columns:28px minmax(0,1fr) 48px;margin-top:4px;padding-top:12px}.word-table{overflow:hidden}.word-row{border-top:1px solid var(--line);grid-template-columns:minmax(110px,1fr) 160px 110px 90px;align-items:center;gap:12px;padding:12px 16px;display:grid}.word-row:first-child{border-top:0}.word-row.header{background:var(--panel-subtle);color:var(--muted);text-transform:uppercase;font-size:.8rem;font-weight:900}.settings-panel{border:1px solid var(--line);background:var(--panel-solid);box-shadow:var(--shadow);border-radius:8px;display:grid}.settings-save-error{color:var(--text);background:#be4b4b1f;border:1px solid #be4b4b61;border-radius:8px;margin:0;padding:.8rem 1rem;font-weight:700}.settings-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(190px,260px);align-items:center;gap:18px;padding:18px;display:grid}.settings-row:first-child{border-top:0}.settings-row .settings-switch{-webkit-appearance:none;appearance:none;border:2px solid var(--muted);background:var(--panel-subtle);cursor:pointer;border-radius:16px;justify-self:end;width:52px;height:30px;min-height:0;margin:7px 0;padding:0;position:relative}.settings-row:has(.settings-switch){grid-template-columns:minmax(0,1fr) auto}.settings-row h3 label{font:inherit;color:inherit;cursor:pointer;margin:0}.settings-switch:before{content:"";background:var(--muted);border-radius:50%;width:20px;height:20px;position:absolute;top:3px;left:3px}.settings-row .settings-switch:checked{background:var(--active-bg);border-color:var(--active-border)}.settings-switch:checked:before{background:var(--active-fg);transform:translate(22px)}.settings-switch:focus-visible{outline:2px solid var(--foreground);outline-offset:4px}.settings-row h3{margin-bottom:4px;font-size:1.05rem}.settings-row p{color:var(--muted);margin-bottom:0;line-height:1.45}.theme-toggle{border:1px solid var(--line);background:var(--panel-subtle);border-radius:8px;grid-template-columns:1fr 1fr;gap:6px;padding:4px;display:grid}.theme-toggle button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:6px;font-weight:900}.theme-toggle button.active{background:var(--input-bg);color:var(--foreground);box-shadow:var(--shadow)}@media (max-width:1050px){.editor-shell,.app-shell{grid-template-columns:1fr}.editor-sidebar,.sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;position:static}.sidebar{align-items:flex-start;padding:18px 24px;overflow:visible}.brand-block{justify-content:flex-start;align-self:auto;width:auto}.brand-flower-mark,.brand-flower-mark img{width:50px;height:50px}.brand-block h1{clip:auto;white-space:normal;width:auto;height:auto;font-size:2.15rem;position:static;overflow:visible}.nav-tabs{flex-flow:wrap}.nav-tabs button{text-align:center}.progress-mini{margin-top:0}.top-bar{flex-direction:column-reverse;align-items:flex-start}.top-bar-left,.top-bar-right{flex-wrap:wrap;justify-content:space-between;width:100%}.story-grid,.collection-grid,.loading-card-grid,.dictionary-grid,.dictionary-stat-grid,.dashboard-metric-groups,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{gap:4px;padding:10px}.metric-card span{font-size:.78rem}.metric-card strong{font-size:1.25rem}.dashboard-metric-groups{grid-template-columns:1fr}.collection-card{grid-template-columns:128px minmax(0,1fr)}.collection-detail-header{grid-template-columns:minmax(136px,220px) minmax(0,1fr) auto;grid-template-areas:"cover copy close""cover progress close";gap:14px 20px;position:relative}.collection-detail-cover{grid-area:cover;width:100%}.collection-detail-copy{grid-area:copy;min-width:0}.collection-detail-levels{width:fit-content;max-width:100%}.collection-detail-levels .level-pill{width:auto;min-width:0;padding:7px 14px}.collection-detail-progress{text-align:left;grid-area:progress;grid-template-columns:auto minmax(0,1fr);justify-self:start;align-items:center;gap:8px}.collection-detail-progress-icon{width:52px;height:52px}.collection-detail-progress-label{font-size:.76rem}.collection-detail-header .detail-close-button{grid-area:close;align-self:start;position:static}.collection-detail-header:not(.deck-detail-header){grid-template-columns:minmax(136px,220px) minmax(0,1fr) auto;grid-template-areas:"cover copy close"}.reader-layout{grid-template-columns:1fr}.reader-main{min-height:auto}.reader-panel{position:static}.dictionary-summary-row{flex-direction:column;align-items:flex-start;gap:8px}.editor-grid,.editor-transfer-grid,.editor-library-groups{grid-template-columns:1fr}.editor-audit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-completeness-grid,.editor-audit-item,.qa-question-layout,.qa-media-grid{grid-template-columns:1fr}.qa-question-preview{position:static}.editor-word-picker{max-width:none}}@media (max-width:680px){.editor-content,.editor-sidebar{padding:20px}.app-shell{padding-bottom:calc(84px + env(safe-area-inset-bottom));display:block}.app-shell:has(.reader-mobile-page-bar){padding-bottom:calc(156px + env(safe-area-inset-bottom))}.app-shell:has(.reader-mobile-translation-bar){padding-bottom:calc(218px + env(safe-area-inset-bottom))}.app-shell:has(.reader-mobile-page-bar):has(.reader-mobile-translation-bar){padding-bottom:calc(294px + env(safe-area-inset-bottom))}.sidebar{display:none}.content{padding:0 20px 24px}.loading-panel{align-items:flex-start;padding:18px}.loading-card-grid{grid-template-columns:1fr}.top-bar{z-index:38;border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 -20px 22px;display:grid;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.top-bar{border-bottom:1px solid color-mix(in srgb, var(--line), transparent 12%)}}.top-bar{background:var(--background)}@supports (color:color-mix(in lab, red, red)){.top-bar{background:color-mix(in srgb, var(--background), transparent 4%)}}.top-bar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:8px 14px}.mobile-app-bar{min-width:0;display:flex}.mobile-brand{min-width:0;color:var(--deep-green);align-items:center;gap:8px;font-family:Georgia,Times New Roman,serif;font-size:1.45rem;line-height:1;display:flex}.mobile-brand .brand-flower-mark,.mobile-brand .brand-flower-mark img{width:34px;height:34px}.mobile-brand-name{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.top-bar-right{flex-wrap:nowrap;justify-content:flex-end;gap:8px;width:auto}.language-switcher{box-shadow:none;flex:none;gap:4px;padding:3px}.language-switcher>button{width:36px;height:36px;min-height:36px}.language-picker button{grid-template-columns:29px minmax(0,1fr);width:100%;min-height:46px}.language-flag-icon{width:29px;height:29px}.language-switcher .add-language-button{font-size:1.5rem}.top-bar-language-level{letter-spacing:.06em;font-size:.72rem}.language-picker{right:-48px}.user-menu{background:0 0;border:0;min-height:0;padding:0}.user-menu-toggle{border:1px solid var(--line);background:var(--panel-glass)}.mobile-bottom-nav{z-index:35;border-top:1px solid var(--line);grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;display:grid;position:fixed;bottom:0;left:0;right:0}@supports (color:color-mix(in lab, red, red)){.mobile-bottom-nav{border-top:1px solid color-mix(in srgb, var(--line), transparent 12%)}}.mobile-bottom-nav{background:var(--panel)}@supports (color:color-mix(in lab, red, red)){.mobile-bottom-nav{background:color-mix(in srgb, var(--panel), transparent 3%)}}.mobile-bottom-nav{min-height:calc(62px + env(safe-area-inset-bottom));padding:7px 10px calc(7px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 -10px 30px #34412a1f}.mobile-bottom-nav button{min-width:0;min-height:46px;color:var(--deep-green);background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;padding:0;display:grid}.mobile-bottom-nav button.active{border-color:var(--active-border)}@supports (color:color-mix(in lab, red, red)){.mobile-bottom-nav button.active{border-color:color-mix(in srgb, var(--active-border), var(--line) 25%)}}.mobile-bottom-nav button.active{background:var(--green)}@supports (color:color-mix(in lab, red, red)){.mobile-bottom-nav button.active{background:color-mix(in srgb, var(--green), #fff 76%)}}.mobile-bottom-nav button.active{color:var(--deep-green)}.mobile-bottom-nav .nav-icon{width:34px;height:34px}.story-page>.story-page-audio,.story-text .sentence-translation,.reader-bottom-actions>.reader-page-actions,.reader-bottom-actions>.reader-completion-button{display:none}.learning-summary-actions,.learning-summary-card .primary-button,.learning-summary-card .secondary-button{justify-self:stretch;width:100%}.learning-summary-actions{flex-direction:column}.home-continue-card{grid-template-columns:1fr;gap:16px;padding:16px}.home-continue-cover{min-height:260px}.home-continue-copy{gap:12px}.home-continue-copy h3{font-size:clamp(2rem,10vw,3.2rem)}.home-continue-copy .primary-button,.home-study-card .secondary-button{justify-self:stretch;width:100%}.home-study-card{padding:16px;display:grid}.reader-mobile-translation-bar{right:0;bottom:calc(118px + env(safe-area-inset-bottom));z-index:34;border-top:1px solid var(--line);display:block;position:fixed;left:0}@supports (color:color-mix(in lab, red, red)){.reader-mobile-translation-bar{border-top:1px solid color-mix(in srgb, var(--line), transparent 12%)}}.reader-mobile-translation-bar{background:var(--panel)}@supports (color:color-mix(in lab, red, red)){.reader-mobile-translation-bar{background:color-mix(in srgb, var(--panel), transparent 3%)}}.reader-mobile-translation-bar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:8px 10px;box-shadow:0 -10px 26px #34412a1a}.reader-mobile-translation-bar .sentence-translation{max-height:132px;margin:0;padding:12px 14px;font-size:1rem;line-height:1.35;overflow:auto}.reader-mobile-translation-bar .translation-header{margin-bottom:6px}.reader-mobile-translation-bar .icon-button{width:34px;height:34px}.reader-main:not(:has(.reader-mobile-page-bar)) .reader-mobile-translation-bar{bottom:calc(61px + env(safe-area-inset-bottom))}.reader-mobile-page-bar{right:0;bottom:calc(61px + env(safe-area-inset-bottom));z-index:34;border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr);align-items:center;gap:0;display:grid;position:fixed;left:0}@supports (color:color-mix(in lab, red, red)){.reader-mobile-page-bar{border-top:1px solid color-mix(in srgb, var(--line), transparent 12%)}}.reader-mobile-page-bar{background:var(--panel)}@supports (color:color-mix(in lab, red, red)){.reader-mobile-page-bar{background:color-mix(in srgb, var(--panel), transparent 3%)}}.reader-mobile-page-bar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:8px 10px;box-shadow:0 -10px 26px #34412a1a}.reader-mobile-audio-slot{z-index:1;grid-area:1/1;justify-self:start;min-width:0;display:flex;position:relative}.reader-mobile-audio-slot:empty{display:none}.reader-mobile-page-bar .story-page-audio{gap:8px;min-height:42px;margin:0}.reader-mobile-page-bar .story-audio-button{width:40px;height:40px}.reader-mobile-page-bar .story-audio-time{font-size:.92rem}.reader-mobile-page-bar .reader-page-actions{border-top:0;grid-area:1/1;grid-template-columns:minmax(0,1fr) auto auto auto minmax(0,1fr);gap:0;width:100%;padding-top:0;display:grid}.reader-mobile-page-bar .reader-page-arrow{min-width:34px;min-height:40px;color:var(--active-border);background:0 0;border:0;font-size:2.3rem}.reader-mobile-page-bar .reader-page-arrow:first-of-type{grid-column:2}.reader-mobile-page-bar .reader-page-arrow:last-of-type{grid-column:4}.reader-mobile-page-bar .reader-page-count{min-width:46px;color:var(--muted);text-align:center;grid-column:3;font-size:1.05rem}.reader-mobile-page-bar .reader-completion-button{white-space:nowrap;grid-column:5;justify-self:end;min-height:40px;padding:0 12px}.page-header,.reader-header{flex-direction:column;align-items:stretch}.header-controls{flex-wrap:wrap;align-items:stretch}.header-controls .search-field{flex:190px;width:auto}.tier-filter-field select{width:118px}.editor-inline-row{grid-template-columns:1fr}.writing-system-item-detail-header{text-align:left;grid-template-columns:1fr;padding-right:52px}.writing-system-item-detail-header>strong{text-align:left}.editor-search-toolbar,.dictionary-audio-source .editor-inline-row,.translation-editor-row,.translation-editor:not(.translation-editor-detail) .translation-editor-row,.translation-editor-controls{grid-template-columns:1fr}.editor-inline-row .secondary-button,.editor-inline-actions button,.editor-deck-section-header .secondary-button,.editor-action-row button,.editor-search-toolbar button,.editor-picker-actions button{width:100%}.editor-deck-section-header{display:grid}.editor-picker-actions{flex-direction:column-reverse}.reader-actions{justify-content:flex-end}.compact-control{flex-direction:column;flex:150px}.compact-control select,.reader-story-select{width:100%}.story-grid,.dictionary-grid,.dictionary-stat-grid,.metric-grid{grid-template-columns:1fr}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.writing-system-panel-heading{grid-template-columns:1fr;align-items:start}.writing-system-card{grid-template-columns:46px minmax(0,1fr);min-height:116px;padding:12px}.writing-system-card-icon{width:46px;height:46px;font-size:1.2rem}.writing-system-preview-grid{grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px}.writing-system-preview-card{min-height:102px;padding:10px 6px}.writing-system-preview-card strong{font-size:clamp(1.35rem,7vw,2rem)}.dictionary-detail-footer,.settings-row{grid-template-columns:1fr}.app-shell:has(.deck-study-page .study-actions){padding-bottom:calc(150px + env(safe-area-inset-bottom))}.deck-study-page .study-card{width:100%;max-width:calc(100vw - 40px);padding-bottom:96px}.deck-study-page .study-card h3{width:100%}.deck-study-page .study-actions{right:0;bottom:calc(61px + env(safe-area-inset-bottom));z-index:34;border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:fixed;left:0}@supports (color:color-mix(in lab, red, red)){.deck-study-page .study-actions{border-top:1px solid color-mix(in srgb, var(--line), transparent 12%)}}.deck-study-page .study-actions{background:var(--panel)}@supports (color:color-mix(in lab, red, red)){.deck-study-page .study-actions{background:color-mix(in srgb, var(--panel), transparent 3%)}}.deck-study-page .study-actions{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:8px 10px;box-shadow:0 -10px 26px #34412a1a}.deck-study-page .study-actions:has(button:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.deck-study-page .study-actions button{overflow-wrap:anywhere;min-height:46px;padding:0 8px}.exercise-mode-tabs{grid-template-columns:1fr;width:100%;display:grid}.study-mode-actions{grid-template-columns:1fr}.exercise-card{gap:14px;padding:16px}.exercise-card-header{justify-content:flex-end}.exercise-answer-slots,.exercise-word-bank{gap:8px}.exercise-answer-slots button,.exercise-word-bank button{min-height:40px;padding:0 12px;font-size:.98rem}.exercise-blank-sentence{font-size:2rem}.exercise-actions{flex-direction:column;align-items:stretch}.exercise-actions>div{grid-template-columns:1fr 1fr;display:grid}.deck-section-heading,.deck-section-stats{grid-template-columns:1fr}.deck-section-stats{display:none}.deck-section-heading strong{white-space:normal}.collection-card,.story-card,.story-list-item{grid-template-columns:1fr}.collection-card{gap:6px;padding:6px}.collection-body{gap:4px}.collection-body h3{font-size:.76rem;line-height:1.12}.collection-body .inline-title-translation{display:none}.collection-card-top{gap:4px}.collection-card-top .eyebrow{font-size:.56rem}.collection-card-bottom,.collection-body .story-meta{font-size:.68rem}.collection-body .level-pill{padding:0;font-size:.56rem}.story-list-main{gap:2px;display:grid}.story-list-main p{justify-self:auto}.collection-detail{gap:14px;padding:18px}.dictionary-example-row,.dictionary-relation-editor-grid,.dictionary-relation-row{grid-template-columns:1fr;align-items:stretch}.collection-cover{aspect-ratio:4/5;width:100%;max-height:none}.story-card-cover{aspect-ratio:4/3}.collection-detail-header{grid-template-columns:minmax(0,1fr);grid-template-areas:"cover""copy";gap:12px;position:relative}.collection-detail-header:not(.deck-detail-header){grid-template-columns:minmax(0,1fr)}.collection-detail-cover{aspect-ratio:4/5;background:var(--panel);grid-area:cover;justify-self:center;width:min(100%,320px);max-height:min(46vh,390px)}@supports (color:color-mix(in lab, red, red)){.collection-detail-cover{background:color-mix(in srgb, var(--panel), var(--garden-cream) 34%)}}.collection-detail-cover img{object-fit:contain}.collection-detail-copy{grid-area:copy;gap:9px;padding-top:0}.collection-detail-levels{flex-wrap:wrap;gap:6px;width:auto;max-width:100%;display:flex}.collection-detail-levels .level-pill{text-align:center;white-space:nowrap;align-items:center;width:auto;min-width:0;min-height:32px;padding:5px 10px;font-size:.78rem;line-height:1;display:inline-flex}.collection-detail-progress{text-align:left;grid-area:progress;grid-template-columns:auto minmax(0,1fr);place-self:start;align-items:center;gap:8px;font-size:.7rem}.collection-detail-progress-icon{width:48px;height:48px}.collection-detail-meta-row{flex-wrap:nowrap;align-items:center;gap:8px 10px;min-width:0}.collection-detail-meta-row .collection-detail-progress{grid-area:auto;grid-template-columns:auto auto;justify-self:auto;gap:6px;min-width:max-content;margin-left:auto}.collection-detail-meta-row .collection-detail-progress-icon{width:34px;height:34px}.collection-detail-progress-label{font-size:.66rem;line-height:1.15}.collection-detail-header .detail-close-button{background:var(--panel-solid);width:44px;height:44px;box-shadow:var(--shadow);position:absolute;top:10px;right:10px}.deck-study-header{gap:10px;padding-right:64px}.deck-study-heading h2{font-size:clamp(1.55rem,7.2vw,2.2rem)}.deck-study-heading .eyebrow{font-size:.7rem;line-height:1.25}.deck-study-close-button{top:0;right:0}.collection-detail-header h2{overflow-wrap:break-word;font-size:clamp(1.85rem,8vw,2.45rem);line-height:1.08}.collection-detail-author{font-size:.98rem}.chapter-list,.course-path-list{gap:8px}.course-path-heading{flex-direction:column;align-items:flex-start;gap:3px}.course-path-step{grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px}.course-path-index{width:30px;height:30px;font-size:.86rem}.course-path-step h3{font-size:1rem}.course-path-progress-row{font-size:.76rem}.chapter-toggle{grid-template-columns:minmax(0,1fr);justify-items:start;gap:6px;min-height:0;padding:12px}.chapter-toggle-title{gap:8px;width:100%;font-size:1rem}.chapter-title-text{gap:4px;display:grid}.chapter-title-text .inline-title-translation{font-size:.82rem}.chapter-disclosure{width:16px}.chapter-toggle-meta{white-space:normal;flex-wrap:wrap;font-size:.78rem}.story-list-item{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px}.story-list-item h4{font-size:1.05rem;line-height:1.18}.story-list-item .read-pill{text-align:center;justify-self:stretch}.word-row,.word-row.header{grid-template-columns:1fr 1fr}.bar-row,.level-stat{grid-template-columns:1fr}.panel-title-row{flex-direction:column;align-items:flex-start}.timeline-controls{grid-template-columns:1fr}.timeline-chart{overflow:hidden}.timeline-chart svg{width:100%;min-width:0}.timeline-tabs button,.timeline-range button{min-height:44px;padding:0 6px;font-size:.9rem}.timeline-legend{max-width:none}.timeline-legend-row,.timeline-legend-total{grid-template-columns:24px minmax(0,1fr) 44px;gap:10px;font-size:.92rem}}.series-fields{border:1px solid var(--border,#d9e2db);border-radius:12px;grid-template-columns:minmax(0,3fr) minmax(110px,1fr);gap:12px;min-width:0;padding:16px;display:grid}.series-fields legend{padding:0 6px;font-weight:600}.series-fields p{opacity:.75;grid-column:1/-1;margin:0;font-size:.85rem}.series-fields label{gap:6px;min-width:0;display:grid}.series-fields input{width:100%;min-width:0}.series-membership{color:var(--accent,#2f7d58);margin:8px 0;font-size:.8rem}@media (max-width:540px){.series-fields{grid-template-columns:1fr}}.book-audio-launch{align-items:center;gap:8px;margin:12px 0;display:inline-flex}.book-audio-reader{gap:24px;min-width:0;display:grid}.book-audio-controls{border:1px solid var(--line);background:var(--panel-glass);border-radius:16px;gap:16px;min-width:0;padding:20px;display:grid}.book-audio-controls p{margin:0}.book-audio-controls audio{width:100%}.book-audio-navigation{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.book-audio-navigation label{align-items:center;gap:8px;display:flex}.book-audio-track-picker{gap:8px;min-width:0;display:grid}.book-audio-track-picker select{width:100%;min-width:0}.book-audio-page{width:100%;max-width:900px;margin:0 auto}.book-audio-image{object-fit:contain;border-radius:12px;max-width:100%;max-height:340px;margin:20px auto;display:block}.book-audio-current-sentence{color:var(--active-fg);background:var(--active-bg);border-radius:4px}.book-audio-reader button,.book-audio-launch{border:1px solid var(--line);background:var(--panel-glass);border-radius:10px;padding:10px 14px}.book-audio-reader button:disabled{opacity:.45;cursor:default}.book-audio-page h3{margin:10px 0;font-size:1.25rem}@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-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@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}
