.journey{display:grid;gap:20px}.journey-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.journey-heading h2{font-size:clamp(1.6rem,3vw,2.2rem);margin:8px 0}.journey-heading p{color:var(--muted);margin:0}.journey-period{display:flex;gap:4px;flex-shrink:0}.journey-period button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.journey-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.journey .panel{margin:0;min-width:0}.journey-stat{display:flex;gap:14px;align-items:flex-start}.journey-stat>svg{color:var(--green);padding:10px;background:var(--soft);border-radius:50%;width:44px;height:44px;flex-shrink:0}.journey-stat strong{font-family:var(--serif);font-size:2.2rem;display:block}.journey-stat span,.journey-stat small{display:block;margin-top:6px}.journey small,.journey-muted{color:var(--muted)}.journey-grid{display:grid;grid-template-columns:1fr;gap:20px}.journey h2{margin-top:0}.journey-chart{display:block;width:100%;margin:16px 0 4px}.journey-chart text{fill:var(--muted);font-size:12px;font-family:var(--sans)}.journey-recall{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;border-top:1px solid var(--border);padding-top:14px;margin:16px 0}.journey-recall strong{color:var(--green);font-size:1.4rem}.journey-recall small{flex-basis:100%}.journey details{margin-top:14px;font-size:.85rem}.journey-field{display:grid;gap:8px;font-size:.9rem}.journey select,.journey input{width:100%;min-width:0}.journey-meter{display:grid;gap:8px;margin:18px 0 8px}.journey-meter progress{width:100%;height:10px;accent-color:var(--green)}.journey-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.journey-days{display:flex;gap:10px;margin-top:18px}.journey-days span{border:1px solid var(--border);border-radius:50%;width:32px;height:32px;display:grid;place-items:center;color:var(--muted)}.journey-days .done{background:var(--green);color:#fff}.journey-empty{color:var(--muted);padding:12px 0;line-height:1.6}.journey-skill{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:14px 0}.journey-skill strong{color:var(--green);font-size:.85rem}.journey-skill small{display:block;margin-top:6px}.journey-skill time{font-size:.8rem;color:var(--muted)}.journey-next{padding:12px;background:var(--soft);border-radius:10px;margin:16px 0}@media(max-width:1000px){.journey-summary{gap:10px}.journey-stat{gap:8px;padding:16px}.journey-stat>svg{display:none}}@media(max-width:760px){.journey-grid{grid-template-columns:1fr}.journey-heading{flex-direction:column;align-items:flex-start}.journey-summary{grid-template-columns:1fr}.journey-stat>svg{display:block}.journey-stat strong{font-size:1.7rem}.journey-skill{align-items:flex-start}}.journey{gap:16px}.journey-heading{gap:12px}.journey-grid{align-items:start;gap:16px}.journey .panel h2{font-size:22px;margin-bottom:14px}.journey .panel h3{font-size:15px;margin:18px 0 8px}.journey-period button{min-height:44px}@media(max-width:760px){.journey-heading{flex-direction:row;align-items:center}.journey-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.journey-stat{padding:12px}.journey-stat>svg{display:none}.journey-stat span{font-size:12px;line-height:1.35}.journey-stat small{font-size:10px;line-height:1.35}.journey-stat strong{font-size:1.6rem;line-height:1.2}.journey-days{justify-content:space-between;gap:5px}.journey-actions>button{min-height:44px}}@media(max-width:350px){.journey-heading{flex-direction:column;align-items:flex-start}.journey-stat{padding:10px 8px}}.journey-column{display:grid;gap:16px;min-width:0;align-content:start}.study-goals-heading,.study-goal-setting,.study-goal-stepper,.study-calendar-heading,.study-week-summary{display:flex;align-items:center;gap:8px}.study-goals-heading h2{margin:0}.study-goals-heading{margin-bottom:14px}.study-info{display:grid;place-items:center;padding:6px;min-height:32px;width:32px;border:0;background:transparent;color:var(--muted)}.study-info-text{font-size:.85rem;color:var(--muted)}.study-goal-setting,.study-calendar-heading,.study-week-summary{justify-content:space-between}.study-goal-setting{font-size:.9rem;margin-bottom:16px;flex-wrap:wrap}.study-goal-stepper button{display:grid;place-items:center;width:36px;min-height:36px;padding:6px}.study-goal-stepper strong{text-align:center;min-width:105px;font-size:.9rem}.study-calendar-heading{font-size:.9rem;margin-bottom:8px}.study-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px 2px;text-align:center}.study-weekday{font-size:.8rem;color:var(--muted)}.study-date{display:grid;place-items:center;width:32px;height:32px;margin:2px auto;border:2px solid transparent;border-radius:50%;font-size:.85rem}.study-date.is-study{border-color:var(--green);color:var(--green);background:var(--soft);font-weight:600}.study-date.is-today{outline:2px solid var(--accent);outline-offset:2px}.study-date.is-future{color:var(--muted);opacity:.55}.study-summary{display:flex;flex-wrap:wrap;gap:4px 12px;margin:14px 0 0;font-size:.85rem;color:var(--muted)}.study-summary span+span:before{content:"·";margin-right:10px}.study-week-summary{margin-top:14px;font-size:.9rem;flex-wrap:wrap}.study-week-summary strong{color:var(--green)}.home-learning-progress .journey-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}.home-learning-progress .journey-heading h2{margin:0 0 6px;font-size:26px}@media(max-width:1000px){.home-learning-progress .journey-grid{grid-template-columns:1fr}}.journey-history-charts{display:grid;gap:16px}.journey-chart-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px}.journey .journey-chart-heading h3{margin:0}.journey-chart-scale-note{margin:0;color:var(--muted);font-size:.8rem}.greek-onboarding{margin-bottom:24px}.dialog.greek-onboarding-dialog,.dialog.guided-study-set{top:50%;left:50%;bottom:auto;transform:translate(-50%,-50%);width:min(560px,calc(100% - 32px));padding:28px}.greek-onboarding-dialog .greek-onboarding{margin-bottom:0}.greek-onboarding-dialog .onboarding-heading{display:block;margin-bottom:18px}.greek-onboarding-dialog .onboarding-heading h2{padding-right:26px;line-height:1.3}.greek-onboarding-dialog .onboarding-heading>button{padding-left:0}.greek-onboarding-dialog .onboarding-choices{grid-template-columns:1fr;gap:10px}.greek-onboarding-dialog .onboarding-choices>button{gap:4px;padding:14px 16px;border-radius:12px}.greek-onboarding-dialog .onboarding-choices span{font-size:.9rem;color:var(--muted)}.dialog.guided-study-set .set-creator-fields{grid-template-columns:1fr}.dialog.guided-study-set>h2{font-family:inherit;font-size:1.35rem;line-height:1.3}.guided-study-set .set-creator-preview{padding:0;border:0;background:transparent;box-shadow:none}.guided-study-set .set-creator-preview>strong,.guided-study-set .set-preview-label{display:none}.guided-setup-navigation{display:flex;justify-content:space-between;margin:16px 0 8px}.vocabulary-study-set:focus{outline:2px solid var(--accent);outline-offset:3px}.onboarding-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.greek-onboarding h2{margin:0 0 16px;font-size:1.35rem}.greek-onboarding h2:focus{outline:none}.onboarding-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.onboarding-choices>button{display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;white-space:normal;height:auto;padding:18px;background:var(--surface);color:var(--ink);border:1px solid var(--border)}.onboarding-choices>button:hover{border-color:var(--accent);background:var(--soft)}.onboarding-choices span,.onboarding-reading-intro{font-weight:400;line-height:1.5}.onboarding-optional{display:grid;gap:12px;margin-top:18px}.onboarding-optional>.text-button{justify-self:start}.onboarding-optional h3{margin:8px 0}.onboarding-optional p{max-width:65ch;line-height:1.5}.onboarding-book{display:grid;gap:14px;justify-items:start}.onboarding-book label,.vocabulary-set-filters>label{display:grid;gap:8px}.onboarding-book select{width:min(100%,360px)}.onboarding-book details{width:100%}.onboarding-book details[open]>*+*{margin-top:12px}.onboarding-book summary{cursor:pointer}.onboarding-invitation>div{display:flex;gap:12px;flex-wrap:wrap}.onboarding-confirm-actions{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:600px){.onboarding-choices{grid-template-columns:1fr}.onboarding-heading{gap:0}}@font-face{font-family:App Gentium Plus;src:url(/assets/GentiumPlus-Regular-BImGDX8Z.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0300-03FF,U+1F00-1FFF}@font-face{font-family:App Cardo;src:url(/assets/Cardo-Regular-C8rpj38o.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0300-03FF,U+1F00-1FFF}:root{--greek-font: "App Gentium Plus"}:root[data-greek-font=cardo]{--greek-font: "App Cardo"}@font-face{font-family:DM Sans;src:url(/assets/DM-Sans-OkNhvBry.ttf) format("truetype");font-style:normal;font-weight:100 1000;font-display:swap}@font-face{font-family:Gelasio;src:url(/assets/Gelasio-BEIuaZUu.ttf) format("truetype");font-style:normal;font-weight:400 700;font-display:swap}.paradigm-decomposition{border:1px solid var(--border);border-radius:14px;padding:16px;margin:0 0 16px;background:var(--surface)}.decomposition-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.decomposition-heading h4{margin:0}.decomposition-heading>span{font-family:var(--serif);font-size:24px}.decomposition-heading{margin-bottom:12px}.decomposition-label{display:flex;align-items:center;justify-content:center;gap:4px}.decomposition-label-short{display:none}.decomposition-info{display:inline-flex;align-items:center;justify-content:center;padding:4px;min-width:28px;min-height:28px;border:0;background:transparent;color:var(--ink);cursor:pointer}.decomposition-info:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.decomposition-parts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.decomposition-part{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--soft);border-radius:10px;padding:16px 10px;text-align:center}.decomposition-part strong{font-family:var(--serif);font-size:30px;font-weight:500}.decomposition-part small,.decomposition-note{color:var(--muted);font-size:12px}.decomposition-note{margin:10px 0 0}.mastery-paradigm .decomposition-form,.paradigm-comparison-table .decomposition-form{display:inline-block;padding:4px 8px;margin:0;border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;font:inherit;cursor:pointer}.mastery-paradigm .decomposition-form[aria-pressed=true],.paradigm-comparison-table .decomposition-form[aria-pressed=true]{background:var(--soft);border-color:var(--green)}.decomposition-form:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.account-privacy-details{margin-top:16px;font-size:14px;color:var(--muted)}.account-privacy-details summary{color:var(--ink);cursor:pointer}.account-privacy-details p{max-width:70ch}.backup-hint{margin:6px 0;color:var(--muted)}@media(max-width:600px){.paradigm-decomposition{padding:12px}.decomposition-heading h4{font-size:14px}.decomposition-heading>span{font-size:22px}.decomposition-parts{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(max-content,1fr);overflow-x:auto;padding-bottom:4px}.decomposition-part{padding:10px 6px;min-width:84px;min-height:88px;gap:4px}.decomposition-part strong{font-size:26px;white-space:nowrap}.decomposition-part .decomposition-label{min-height:28px;font-size:12px}.decomposition-label-full{display:none}.decomposition-label-short{display:inline}}.mastery-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.mastery-total{font-size:1.6rem;text-align:right}.mastery-total small{display:block;font-size:.7rem;font-weight:400}.mastery-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.mastery-categories button,.mastery-coming{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:12px;border-radius:12px}.mastery-coming{border:1px dashed var(--border);color:var(--muted);gap:6px}.mastery-categories button[aria-pressed=true],.mastery-actions button[aria-pressed=true],.mastery-features button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.mastery-categories small{color:inherit}.mastery-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.mastery-units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mastery-units>div{min-width:0;border:1px solid var(--border);padding:10px;border-radius:12px}.mastery-units button{width:100%;display:flex;flex-direction:column;align-items:flex-start}.mastery-units summary{margin:8px 0;cursor:pointer;font-size:.85rem}.mastery-units table{width:100%;font-size:.95rem}.mastery-target{font-family:var(--serif);font-size:1.9rem;line-height:1.6;overflow-wrap:anywhere;margin:24px 0}.mastery-target strong{color:var(--accent)}.mastery-features{margin:14px 0;display:grid;gap:8px}.mastery-features fieldset{border:0;padding:0;margin:0;min-width:0}.mastery-features legend{font-size:.75rem;text-transform:capitalize;margin-bottom:4px}.mastery-features fieldset>div{display:flex;gap:5px}.mastery-features button{flex:1;min-width:0;min-height:44px;padding:8px 5px;font-size:.9rem}.mastery-grades{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.mastery-grades button{display:flex;flex-direction:column;padding:10px 4px}.mastery-grades small{font-size:.75rem}.mastery-card-reference{padding:12px 0;border-bottom:1px solid var(--border)}.mastery-card-reference small{display:block;margin-top:4px}.mastery-answer{font-size:1.35rem}.mastery-gender-cue{display:block;font-family:var(--greek-font),"DM Sans",system-ui,sans-serif;font-size:.85rem;line-height:1.5}.mastery-session{scroll-margin-top:12px}@media(max-width:620px){.mastery-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.mastery-units{grid-template-columns:1fr}.mastery-heading h2{font-size:1.25rem}.mastery-total{font-size:1.4rem}.mastery-total small{max-width:120px}}:root{font-family:var(--greek-font),"DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;--bg: #f7f8fa;--surface: #fff;--ink: #182e4b;--muted: #657182;--accent: #193653;--on-accent: #fff;--soft: #eaf0f5;--border: #e1e6eb;--green: #3a665a;--recalled: #8860b5;--green-soft: #edf4f0;--error: #9e3030;--overlay: #101d35a8;--shadow: 0 16px 60px #182e4b18;--radius: 18px;--radius-control: 10px;--learning: #e9b75d;--not-started: #e2e6eb;--banner-start: #193653;--banner-end: #3a665a;--on-banner: #fff;--sans: var(--greek-font), "DM Sans", system-ui, sans-serif;--serif: var(--greek-font), "Gelasio", Georgia, serif;--paper: var(--surface);--line: var(--border)}:root[data-appearance=dark]{color-scheme:dark;--bg: #111923;--surface: #1b2735;--ink: #e5edf5;--muted: #aab9c9;--accent: #a8ccec;--on-accent: #142638;--soft: #263747;--border: #415368;--green: #a1cfbd;--recalled: #c9b2f1;--green-soft: #233c35;--error: #ffb1b1;--overlay: #060d16c9;--shadow: 0 16px 60px #0006;--learning: #e9b75d;--not-started: #435164;--banner-start: #233b52;--banner-end: #2d5148;--on-banner: #f1f6fa;--sync-attention: #efc77b}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-control);padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:10px}button:hover{background:var(--soft)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--green);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--sans);font-weight:600}h1{font-size:44px;letter-spacing:-1.6px;margin-bottom:17px}h2{font-size:26px}h3{font-size:23px}p{line-height:1.65}small{font-size:12px;color:var(--muted);line-height:1.6}.app{max-width:1600px;margin:auto;display:grid;grid-template-columns:240px 1fr;min-height:100vh}aside{padding:44px 24px;border-right:1px solid var(--border);background:var(--surface);position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-family:var(--serif);font-size:32px;letter-spacing:1px}.brand-symbol{background:var(--accent);color:var(--on-accent);padding:5px 12px;border-radius:12px;font-size:36px}.brand small{display:block;font:8px var(--greek-font),"DM Sans",sans-serif;letter-spacing:1.4px;margin-top:7px}nav{margin-top:58px;display:grid;gap:9px}nav button{justify-content:flex-start;border:0;background:transparent;color:var(--muted);padding:14px 17px}nav button[aria-current]{background:var(--soft);color:var(--ink);font-weight:700}.sidebar-note{margin-top:auto;padding:30px 15px;color:var(--muted)}.sidebar-note p{font-family:var(--serif);margin:18px 0 8px}main{padding:34px 52px 20px;min-width:0}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:45px;font-size:10px;letter-spacing:1.8px;color:var(--muted)}.local-badge{border:1px solid var(--border);border-radius:20px;padding:7px 12px;letter-spacing:.3px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:600;color:var(--muted)}.greeting .eyebrow{font-size:13px;letter-spacing:.2px}.goals-summary{border:0;background:transparent;padding:0;color:var(--muted);font-size:13px;min-height:35px;margin-bottom:30px}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.hero{position:relative;overflow:hidden;background:var(--accent);color:var(--on-accent);padding:32px;border-radius:var(--radius);min-height:310px}.hero .eyebrow{color:var(--on-accent);opacity:.75}.hero h2{font-size:32px;margin:20px 0 13px}.hero p{font-size:13px;max-width:270px;opacity:.8}.primary{background:var(--accent);color:var(--on-accent);border:1px solid var(--accent);font-weight:600}.primary:hover{background:var(--ink);color:var(--on-accent)}.hero .primary{background:var(--surface);color:var(--ink);border-color:var(--surface)}.hero-meta{display:flex;gap:16px;font-size:10px;margin-top:23px;opacity:.8}.hero-greek{position:absolute;right:-23px;top:75px;font-family:var(--greek-font),Georgia,serif;font-size:90px;opacity:.09;transform:rotate(-18deg);pointer-events:none}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:27px}.rhythm h2{font-size:24px;margin:19px 0}.rhythm p{font-size:13px;color:var(--muted);margin-bottom:7px}.week{display:flex;justify-content:space-between;margin:26px 0}.week div{display:grid;text-align:center;gap:10px;font-size:10px;color:var(--muted)}.week i{width:24px;height:24px;border:1px dashed var(--border);border-radius:50%;background:var(--bg)}.section{margin-top:34px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.section-title h2{font-size:23px}.section-title>span{font-size:11px;color:var(--muted)}.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.book-top{display:flex;justify-content:space-between;color:var(--muted);margin-bottom:17px}.book-number{font-size:10px;letter-spacing:2px}.book h3{margin-bottom:10px}.book p{font-size:12px;margin-bottom:16px}.book p span{color:var(--muted)}.empty-progress{height:5px;background:var(--soft);border-radius:8px;margin-bottom:11px}.book small{font-size:10px}.chapter-controls{border-top:1px solid var(--border);margin-top:20px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:6px}.chapter-controls button{padding:8px}.chapter-controls span{font-size:11px;color:var(--muted)}.grammar-strip{display:flex;align-items:center;gap:20px;background:var(--green-soft);border:1px solid var(--border);padding:24px;border-radius:var(--radius);margin-top:24px}.grammar-strip h3{font-size:22px;margin:8px 0}.grammar-strip p{font-size:12px;margin:0;color:var(--muted)}.grammar-strip>button{margin-left:auto;background:transparent;border:0}.leaf{color:var(--green)}.footnote{font-size:10px;color:var(--muted);text-align:center;margin:25px 0 5px}.secondary{width:100%}.secondary .panel p{color:var(--muted)}.theme-options{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.theme-options button[aria-pressed=true]{border-color:var(--accent);background:var(--soft)}.swatch{width:22px;height:22px;border-radius:50%}.swatch.navy{background:#193653}.swatch.teal{background:#235d58}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:10}.dialog{position:fixed;z-index:11;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--surface);border-radius:22px;padding:32px;width:min(520px,calc(100% - 32px));max-height:90dvh;overflow:auto;box-shadow:var(--shadow)}.dialog h2{padding-right:30px;margin-bottom:10px}.dialog>p{font-size:13px;color:var(--muted)}.close{position:absolute;right:15px;top:15px;border:0;background:transparent;padding:8px}fieldset{border:0;padding:0;margin:22px 0}legend{font-size:12px;font-weight:600;margin-bottom:12px}label{display:grid;gap:7px;font-size:12px;margin:15px 0}input,select{background:var(--bg);color:var(--ink);padding:11px;border:1px solid var(--border);border-radius:8px;width:100%;min-width:0}.book-fields{display:grid;grid-template-columns:1.6fr 1fr;gap:15px}.book-fields label{margin-top:0}.text-button{padding:4px 0;border:0;background:transparent;font-size:12px;color:var(--green)}.form-actions{display:flex;justify-content:flex-end;gap:10px}.error{padding:12px;border:1px solid var(--error);color:var(--error);font-size:13px}.review{text-align:center}.review>.eyebrow{display:block;margin-top:35px}.greek{font-family:var(--greek-font),Georgia,serif;font-size:64px;margin:40px 0}.cue{padding:18px;background:var(--soft);border-radius:12px;font-size:14px}.complete{margin:35px auto;color:var(--green)}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:10px;z-index:30;background:var(--surface);padding:12px}@media(min-width:1400px){main{padding-left:70px;padding-right:70px}}@media(max-width:1100px){.app{grid-template-columns:190px 1fr}aside{padding:35px 15px}main{padding:30px}.dashboard-grid{grid-template-columns:1fr}.rhythm{display:block}}@media(max-width:700px){.app{display:block}aside{position:fixed;top:auto;bottom:0;z-index:5;height:auto;width:100%;padding:8px 6px max(8px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--border)}.brand,.sidebar-note{display:none}nav{display:flex;margin:0;gap:0;justify-content:space-around}nav button{display:flex;flex-direction:column;gap:6px;font-size:9px;padding:9px 7px;min-width:55px;border-radius:8px}main{padding:24px 20px 110px}header{margin-bottom:32px;font-size:9px}h1{font-size:35px}.greeting .eyebrow{font-size:12px}.goals-summary{font-size:11px;flex-wrap:wrap;justify-content:flex-start;margin-bottom:22px}.hero{padding:26px;min-height:300px}.hero h2{font-size:31px}.hero-meta{font-size:9px;gap:12px}.section-title{display:block}.section-title h2{font-size:22px;margin-bottom:8px}.section-title>span{display:block;margin-bottom:16px}.book-grid{grid-template-columns:1fr;gap:16px}.book{padding:22px}.grammar-strip{gap:10px;padding:20px}.grammar-strip h3{font-size:20px}.grammar-strip .leaf{display:none}.dialog{top:auto;bottom:0;left:0;transform:none;width:100%;max-height:92dvh;border-radius:22px 22px 0 0;padding:28px 24px max(28px,env(safe-area-inset-bottom))}.theme-options{flex-direction:column}.footnote{line-height:1.6}.hero-greek{right:-30px}}.attribution{font-size:10px!important;line-height:1.7;color:var(--muted);margin-top:24px}.attribution a{color:var(--ink)}.app-attribution{grid-column:2;padding:0 52px 20px}.week i.practiced{background:var(--green);border-color:var(--green)}progress{width:100%;height:7px;accent-color:var(--green);display:block;margin:12px 0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:28px 0}.stats-grid strong{display:block;font-size:25px;margin-bottom:10px}.stats-grid span{font-size:12px;color:var(--muted);line-height:1.6}.vocabulary-intro{max-width:720px;margin-bottom:20px}.vocabulary-intro h2{margin-bottom:8px}.vocabulary-intro p{color:var(--muted);margin-bottom:0}.learning-paths{display:grid;grid-template-columns:1fr 1fr;gap:20px}.learning-path{display:flex;flex-direction:column;min-width:0}.learning-path-heading,.path-action,.path-counts{display:flex;align-items:center;justify-content:space-between;gap:12px}.learning-path-heading>span:last-child{color:var(--muted);font-size:11px}.learning-path h3{margin:18px 0 8px}.learning-path>p{color:var(--muted);font-size:13px;margin-bottom:17px}.frequency-milestones{display:flex;align-items:center;gap:7px;margin-bottom:18px}.frequency-milestones span{flex:1;min-width:42px;padding:6px 5px;border-radius:999px;background:var(--soft);color:var(--muted);text-align:center;font-size:11px}.frequency-milestones .current{background:var(--accent);color:var(--on-accent)}.path-progress{height:11px;overflow:hidden;border-radius:4px;background:var(--soft)}.path-progress span{display:block;min-width:0;height:100%;background:var(--green)}.path-counts{margin-top:11px;color:var(--muted);font-size:10px}.path-counts strong{color:var(--ink);font-size:12px;font-weight:600}.book-path-stat{display:flex;align-items:center;gap:12px;margin:3px 0 18px}.book-path-stat strong{font-family:var(--serif);font-size:36px;font-weight:400}.book-path-stat span{max-width:190px;color:var(--muted);font-size:11px;line-height:1.45}.path-action{align-items:flex-end;margin-top:auto;padding-top:23px}.path-action>span{color:var(--muted);font-size:11px;line-height:1.45}.path-action button{flex:0 0 auto}.vocabulary-browser{margin-top:20px}.vocabulary-browser>summary{cursor:pointer;list-style-position:outside}.vocabulary-browser>summary>span{display:inline-flex;flex-direction:column;gap:4px;margin-left:7px;vertical-align:middle}.vocabulary-browser>summary strong{font-family:var(--serif);font-size:21px;font-weight:400}.vocabulary-browser-body{padding-top:22px}.filters{margin-top:22px}.filters summary{cursor:pointer;font-size:14px;font-weight:600;padding-bottom:12px}.filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.check-label{display:flex;align-items:center}.check-label input{width:16px}.filter-summary{font-size:12px}.word-list{margin-top:20px}.word-row{display:grid;grid-template-columns:minmax(0,1fr) 65px 65px;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding:14px 0;font-size:13px}.word-row>span{text-align:right}.word-row small{display:block;font-size:11px}.word-heading{font-size:11px;color:var(--muted)}.lemma{font-family:var(--greek-font),Georgia,serif;font-size:23px;display:block;margin-bottom:4px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;margin-top:22px}.ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:24px}.ratings button{flex-direction:column;gap:3px;padding:12px 4px}.ratings small{font-size:9px}.frequency{font-size:11px;color:var(--muted);margin:20px 0}.review blockquote{margin:20px 0;padding:15px;background:var(--soft);border-radius:12px}.review blockquote p{font-family:var(--greek-font),Georgia,serif;font-size:20px;line-height:1.8}.review cite{font-size:11px;color:var(--muted);font-style:normal}mark{background:var(--green-soft);color:var(--ink);font-weight:700;border-bottom:2px solid var(--green)}.undo{display:block;margin:24px auto 0}.review .greek,.word-list .lemma{overflow-wrap:anywhere}@media(max-width:700px){.app-attribution{padding:0 20px 110px}.app:has(.app-attribution) main{padding-bottom:20px}.stats-grid{grid-template-columns:1fr}.learning-paths{grid-template-columns:1fr;gap:14px}.learning-path{padding:20px}.path-action{align-items:stretch;flex-direction:column;padding-top:18px}.path-action button{width:100%}.frequency-milestones{overflow-x:auto}.vocabulary-browser{padding:20px}.filter-grid{grid-template-columns:1fr}.word-row{grid-template-columns:minmax(0,1fr) 42px 42px;gap:8px}.pagination button{padding:8px 10px}.rhythm{padding:22px}.ratings{grid-template-columns:1fr 1fr}.ratings small{font-size:11px}}.grammar-progress{margin:16px 0;display:grid;gap:8px}.grammar-progress strong{font-size:15px}.grammar-progress small{font-size:11px}.paradigm{margin-top:24px}.paradigm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.paradigm-cell{border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px}.paradigm-cell>span{font-size:12px;color:var(--muted)}.paradigm-cell button{justify-content:space-between}.paradigm-cell button span{font:23px var(--greek-font),Georgia,serif}.grammar-ratings{grid-template-columns:repeat(3,minmax(0,1fr))}.parsing-answer{padding:16px;background:var(--soft);border-radius:12px;line-height:1.8}.lexicon-detail{font-size:13px;text-align:left;margin:20px 0}.lexicon-detail summary{cursor:pointer}.lexicon-detail p{line-height:1.7;margin-top:12px}@media(max-width:700px){.paradigm-grid{grid-template-columns:1fr}.grammar-ratings button{font-size:12px;padding:12px 5px}}.supplement-session{margin-top:1.5rem;padding:1.25rem;border:1px solid var(--border);border-radius:16px}.supplement-form{font-size:2rem;line-height:1.6;overflow-wrap:anywhere}.prepare-button{display:flex;align-items:center;gap:.5rem;margin-top:1rem}.passage-modes{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0}.passage-modes button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.passage-word-list{display:grid;gap:.5rem;margin:1.25rem 0}.passage-word-list>button,.passage-word-list summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem;background:var(--soft);border-radius:8px;cursor:pointer}.passage-word-list [lang=grc]{font-size:1.25rem}.passage-word-list details p{padding:0 .75rem}.passage-reading{font-size:1.35rem;line-height:2}.passage-reading button{display:inline;padding:.1rem .2rem;border:0;background:transparent;color:var(--ink);font:inherit;border-radius:4px}.passage-reading button[aria-pressed=true]{background:var(--soft);outline:2px solid var(--accent)}.passage-reading sup{margin-right:.5rem;color:var(--muted);font-size:.7rem}.word-help{position:sticky;top:.5rem;background:var(--surface);padding:1rem;border:1px solid var(--border);border-radius:12px;z-index:2;box-shadow:var(--shadow);max-height:45vh;overflow-y:auto}.vocabulary-review.has-card{width:min(560px,calc(100% - 32px));height:min(760px,92dvh);max-height:92dvh;display:flex;flex-direction:column;overflow:hidden;padding:24px}.vocabulary-review.has-card>h2{font-size:17px;flex:0 0 auto;margin:0 0 16px}.fixed-flashcard{flex:1 1 auto;min-height:0;display:grid;grid-template-rows:24px minmax(0,1fr) 94px}.flashcard-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;letter-spacing:.08em}.flashcard-body{min-height:0;overflow-y:auto;overflow-wrap:anywhere;padding:18px 8px;animation:card-reveal .18s ease-out}.word-face{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.flashcard-word{font-family:var(--greek-font),Georgia,serif;font-size:clamp(40px,7vw,72px);line-height:1.3;text-align:center}.flashcard-front-frequency{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:12px;font-size:12px;color:var(--muted)}.flashcard-front-frequency span{padding:5px 9px;border-radius:999px;background:var(--soft);white-space:nowrap}.word-face p{color:var(--muted);margin-top:20px}.answer-face .flashcard-word{font-size:42px}.flashcard-meaning{text-align:center;font-size:25px;margin:10px 0 18px}.flashcard-body .cue{margin:12px 0;font-size:14px}.memory-cue{background:var(--soft);border-radius:12px;padding:14px;margin:12px 0;font-size:14px}.memory-cue-label{display:block;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:11px;margin-bottom:10px}.memory-cue p{margin:8px 0 0}.memory-cue-image{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;border-radius:8px}.memory-cue-image-frame{display:grid;place-items:center;width:min(300px,100%);aspect-ratio:1;margin-inline:auto;overflow:hidden}.memory-cue-image-frame:empty{background:var(--soft)}.memory-cue-picture{background:transparent;border:0;border-radius:0;padding:0}.memory-cue-picture .memory-cue-image{border-radius:0}.memory-cue-association{font-size:22px}.memory-cue-contrast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));text-align:center;gap:16px;margin:12px 0}.memory-cue dt{font-family:var(--serif);font-size:25px}.memory-cue dd{margin:0}.memory-cue-contrast>div:first-child{border-bottom:2px solid var(--accent);padding-bottom:7px}.memory-cue-family{margin:0}.memory-cue-family>div{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:10px;padding:3px 0}.memory-cue-compact{padding:10px 12px}.memory-cue-compact .memory-cue-label{margin-bottom:4px}.memory-cue-family dt{font-size:21px}.memory-cue-family dd{font-size:14px;line-height:1.4}.memory-cue-parts{font-family:var(--serif);font-size:29px;text-align:center}.memory-cue-parts mark{background:var(--accent);color:var(--on-accent);border-radius:4px;padding:2px 3px}.memory-cue-direction{display:flex;justify-content:center;align-items:center;gap:15px;margin:12px 0}.memory-cue-direction>span:last-child{border:1px solid var(--muted);border-left-style:dashed;padding:5px 12px}.memory-cue-support p{margin-top:0}.memory-pilot-entry{margin-top:16px;font-size:14px}.memory-pilot-entry summary{cursor:pointer;padding:10px 0}.flashcard-body .verse-excerpt{padding:12px;margin:16px 0;text-align:center}.flashcard-body .verse-excerpt p{font-size:20px;line-height:1.6}.flashcard-details summary{cursor:pointer;padding:12px 0;border-top:1px solid var(--border);font-size:13px}.flashcard-details{font-size:14px}.flashcard-actions{border-top:1px solid var(--border);padding-top:14px;display:flex;align-items:stretch}.flashcard-actions .ratings{margin:0;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.flashcard-actions .ratings small{font-size:9px}.flashcard-actions .ratings .review-interval{display:block;font-size:12px}.round-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.vocabulary-study-summary{text-align:left}.vocabulary-study-summary>h2{font-size:28px;margin-top:0}.vocabulary-study-summary .study-summary-intro{margin:0 0 22px;line-height:1.6}.study-progress{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);font-size:13px}.study-progress span{color:var(--muted)}.vocabulary-study-summary .round-actions{display:grid;gap:10px;margin:22px 0 12px}.vocabulary-study-summary .round-actions button{width:100%;justify-content:center;padding:14px 18px}.vocabulary-study-summary .study-choice{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left}.study-choice small{font-size:11px;font-weight:400;opacity:.8}.study-finish{width:100%;justify-content:center;color:var(--ink);background:var(--surface);border:1px solid var(--ink);font-weight:600;min-height:48px;padding:12px 18px}.study-details{margin-top:16px;font-size:12px;color:var(--muted)}.study-details summary{cursor:pointer;padding:8px 0}.vocabulary-study-summary .review-secondary{min-height:0;padding-top:8px}.flashcard-actions .reveal-button{width:100%;justify-content:center}.review-secondary{flex:0 0 66px;position:relative;padding-top:4px}.review-secondary .undo{margin:2px auto;padding:2px;font-size:11px}.review-secondary .attribution{font-size:9px;line-height:1.3;margin:3px 0 0}.vocabulary-review.has-card>.error{max-height:64px;overflow:auto;flex-shrink:0}@keyframes card-reveal{0%{opacity:.35;transform:rotateY(-7deg)}to{opacity:1;transform:rotateY(0)}}@media(prefers-reduced-motion:reduce){.flashcard-body{animation:none}}@media(max-width:700px){.vocabulary-review.has-card{width:100%;height:92dvh;padding:20px 18px max(12px,env(safe-area-inset-bottom))}.flashcard-body{padding:12px 4px}.answer-face .flashcard-word{font-size:36px}.flashcard-meaning{font-size:22px}}.cue{overflow-wrap:anywhere}.backup-settings{margin-top:32px;border-top:1px solid var(--border);padding-top:24px}.backup-file{display:grid;gap:10px;margin-block:20px}.backup-file input{max-width:100%;min-width:0}.backup-preview{padding-block:12px}.backup-preview button{margin:8px 8px 8px 0}.memory-image-pack{display:grid;justify-items:start;gap:8px;margin-block:18px}.memory-image-pack h4,.memory-image-pack p{margin:0}.memory-image-pack progress{width:min(100%,360px)}.paradigm-cell,.paradigm-cell button,.word-row>div{min-width:0;overflow-wrap:anywhere}@media(max-width:700px){.paradigm-cell button{flex-direction:column;align-items:flex-start;text-align:left;gap:6px}input:not([type=checkbox]),select,textarea{font-size:16px}button,summary{min-height:44px}.close{min-width:44px;min-height:44px}.review-secondary .undo{min-height:32px;padding:6px}.review-secondary:has(.undo){flex-basis:90px}.app-attribution{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.dialog{overflow-wrap:anywhere}}@media(max-width:700px){.paradigm>.book-fields,.dialog .book-fields{grid-template-columns:minmax(0,1fr)}}.hero .catchup button{color:var(--ink);background:var(--surface)}.hero .review-summary{color:var(--on-accent);margin:18px 0 12px;font-size:14px;max-width:none}.hero .review-help{color:var(--on-accent);margin-top:14px;font-size:13px}.hero .review-help summary{cursor:pointer;padding-block:10px}.hero .review-help p{color:var(--on-accent);max-width:none;font-size:13px}.grammar-strip{margin-top:24px;flex-wrap:wrap}.grammar-strip>div{flex:1 1 240px}.grammar-strip>button{color:var(--ink);flex-shrink:0}.grammar-tabs{display:flex;gap:8px;margin-bottom:18px}.grammar-tabs button{flex:1;min-width:0}.grammar-tabs [aria-selected=true]{background:var(--accent);color:var(--on-accent)}[role=tabpanel]>.panel{margin-bottom:20px}@media(max-width:700px){.grammar-tabs{gap:4px}.grammar-tabs button{padding:10px 5px;font-size:12px}.grammar-strip>button{width:100%}}.parsing-result{text-align:left;min-width:0}.parsing-lemma{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem}.parsing-pos{font-size:.8rem;color:var(--muted)}.parsing-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1rem 0}.parsing-tile{background:var(--soft);border:1px solid var(--border);border-radius:12px;padding:.8rem}.parsing-tile dt{color:var(--muted);font-size:.8rem}.parsing-tile dd{margin:.25rem 0;font-weight:700;text-transform:capitalize;overflow-wrap:anywhere}.parsing-tile.mismatch{border:2px solid var(--error)}.parsing-tile small{display:block}.answer-paradigm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-block:1rem}.answer-paradigm-cell{min-width:0;padding:.7rem;border:1px solid var(--border);border-radius:12px}.answer-paradigm-cell.tested{border:2px solid var(--accent);background:var(--soft)}.answer-paradigm-cell h4{margin:0 0 .7rem;text-transform:capitalize;font-size:.9rem}.answer-paradigm-cell h4 span{display:block;color:var(--accent);font-size:.75rem;margin-top:.3rem}.answer-paradigm-cell p{margin-bottom:.5rem;overflow-wrap:anywhere}.answer-paradigm-cell strong{display:block;font-family:var(--serif);font-size:1.25rem}.answer-paradigm-cell small{display:block;color:var(--muted)}.parsing-result .book-fields>label{min-width:0;flex:1}.parsing-result select{max-width:100%;width:100%}@media(max-width:420px){.parsing-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.answer-paradigm{grid-template-columns:1fr}.parsing-result .book-fields{flex-direction:column}}.parsing-result .grammar-tabs{margin:.5rem 0;gap:0}.parsing-result .grammar-tabs button{min-height:42px;padding:7px 12px}.parsing-strip{background:var(--soft);border-radius:var(--radius-control);padding:10px 12px;margin:10px 0;text-align:center}.parsing-strip-main{display:flex;justify-content:center;flex-wrap:wrap;gap:0 6px;font-weight:650;text-transform:capitalize}.parsing-strip-main>span+span:before{content:"·";margin-right:6px}.parsing-strip-person{display:flex;justify-content:center;gap:5px;margin-top:3px}.parsing-strip-person:empty{display:none}.parsing-strip .mismatch{text-decoration:underline wavy var(--error);text-underline-offset:4px}.parsing-strip small{display:block;font-size:.7rem;text-decoration:none}.compact-table-wrap{max-width:100%;overflow-x:auto;margin-block:10px}.compact-paradigm{width:100%;border-collapse:collapse;font-size:.9rem;text-align:center}.compact-paradigm caption{text-align:left;font-weight:650;padding-bottom:8px}.compact-paradigm th,.compact-paradigm td{padding:6px 7px;border:1px solid var(--border);vertical-align:middle}.compact-paradigm th{background:var(--soft);font-weight:500}.compact-paradigm td{font-family:var(--serif)}.compact-paradigm .plural-start>*{border-top:2px solid var(--accent)}.compact-paradigm td.tested{background:var(--soft);outline:2px solid var(--accent);outline-offset:-2px;font-weight:700}.paradigm-table-note{font-size:.75rem;color:var(--muted);margin-bottom:8px}.paradigm-options,.paradigm-evidence{font-size:.85rem}.parsing-result details>summary{padding-block:8px}@media(max-width:420px){.compact-paradigm{font-size:.8rem}.compact-paradigm th,.compact-paradigm td{padding:5px 4px}.parsing-strip{font-size:.9rem}}.parsing-review .greek{font-size:2.8rem;margin:10px 0}.parsing-review>blockquote{padding:12px;margin:10px 0}.parsing-review>blockquote p{font-size:1.15rem;margin-bottom:8px}.parsing-review>blockquote cite{font-size:.7rem}.parsing-review .eyebrow{margin-block:8px}.parsing-source-notes{text-align:left;margin-block:6px;font-size:.85rem}.general-settings{margin-top:32px;border-top:1px solid var(--border)}.general-settings legend{font:26px var(--greek-font),Georgia,serif}.general-settings h2{margin-top:32px}.study-passages{display:grid;gap:6px;margin-bottom:8px}.study-passage{display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-control)}.study-passage-name{flex:1;min-width:0}.study-passage-name strong{font-size:14px}.study-passage-name small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.study-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:12px;color:var(--muted)}.study-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 8px}.study-status-dot.active{background:#32825a}.study-status-dot.paused{background:#8a929d;box-shadow:inset 0 0 0 2px var(--surface);border:1px solid #8a929d}.study-focus{color:var(--green);flex-shrink:0}.study-actions{display:flex;gap:2px;flex-shrink:0}.study-actions button,.study-icon{padding:0;width:32px;height:32px;border:0;background:transparent}.daily-goal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.setting-check{display:flex;align-items:flex-start;gap:12px;font-size:14px}.setting-check input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--accent);margin:0}.passage-picker.dialog{width:min(500px,calc(100% - 32px));padding:24px}.passage-picker h2{font-size:26px}.picker-modes{display:flex;margin:16px 0}.picker-modes button{flex:1;padding:10px 8px;border-radius:0;font-size:13px}.picker-modes button:first-child{border-radius:8px 0 0 8px}.picker-modes button:last-child{border-radius:0 8px 8px 0}.picker-modes button[aria-pressed=true],.compact-chapters button[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}.chapter-grid-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:13px}.chapter-grid-heading button{border:0;background:transparent;padding:8px;font-size:12px;color:var(--green)}.compact-chapters{display:grid;grid-template-columns:repeat(7,40px);gap:6px}.compact-chapters button{width:40px;height:40px;padding:0;border-radius:6px;font-size:14px;justify-content:center}.chapter-selection{background:var(--bg);border-radius:8px;padding:12px;font-size:14px;margin:16px 0}.picker-footer{border-top:1px solid var(--border);padding-top:16px;margin-top:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.daily-goal-fields{grid-template-columns:1fr}.study-actions button,.study-icon{width:44px;height:44px}.passage-picker.dialog{top:0;right:0;bottom:0;left:0;transform:none;width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:max(20px,env(safe-area-inset-top)) 16px 0;display:flex;flex-direction:column;overflow:hidden}.passage-picker h2{font-size:24px;margin:12px 0;flex-shrink:0}.picker-body{overflow-y:auto;flex:1;min-height:0}.compact-chapters{grid-template-columns:repeat(6,44px);gap:6px}.compact-chapters button{width:44px;height:44px}.picker-footer{flex-shrink:0;margin:12px -16px 0;padding:14px 16px max(16px,env(safe-area-inset-bottom));background:var(--surface)}.picker-footer button{min-height:44px}.picker-footer .primary{flex:1;justify-content:center}}@media(max-width:350px){.compact-chapters{grid-template-columns:repeat(5,44px)}}.settings-page-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.settings-page-heading>button{padding:10px}.study-heading h2{margin:0;font-size:26px;color:var(--ink)}.study-heading>.study-icon:last-child{margin-left:auto}.study-heading{justify-content:flex-start;gap:4px}.quick-study-help.dialog{width:min(400px,calc(100% - 32px));padding:24px}.quick-study-help p{font-size:14px;line-height:1.6}.study-help-page section{margin-top:28px}.study-help-page p{line-height:1.65}.settings[hidden]{display:none}.section-help-heading{display:flex;align-items:center;gap:4px;margin:28px 0 14px}.section-help-heading h2,.general-settings .section-help-heading h2{margin:0}.study-help-page h2[id]{scroll-margin-top:24px}.frequency-milestones button{flex:1;min-width:42px;padding:7px 5px;border:0;border-radius:999px;background:var(--soft);color:var(--muted);font-size:11px;justify-content:center}.frequency-milestones button.current{background:var(--accent);color:var(--on-accent)}.frequency-goal-summary,.set-empty{font-size:12px;color:var(--muted)}.set-heading,.home-card-heading,.book-coverage-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.set-heading{font-size:12px}.set-heading span{color:var(--muted)}.set-graphic{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:4px;margin:12px 0}.set-graphic i{height:22px;border-radius:3px;background:var(--soft)}.set-graphic i.recalled{background:var(--recalled)}.set-graphic i.learning{background:var(--accent);opacity:.65}.set-actions{display:flex;align-items:end;gap:10px;margin-top:17px}.set-actions label{flex:1;margin:0;font-size:11px}.set-actions select{width:100%;margin-top:5px}.set-actions button{font-size:12px}.earlier-sets{margin-top:12px}.earlier-sets summary,.book-study-options summary{cursor:pointer;font-size:12px}.earlier-sets>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.earlier-sets button{font-size:11px}.earlier-sets button[aria-current=true]{border-color:var(--accent)}.book-study-options{margin-top:18px;border-top:1px solid var(--border);padding-top:13px}.book-study-options label{display:block;margin-top:12px;font-size:12px}.book-study-options select{width:100%}.book-mode{display:flex;gap:4px;margin-top:12px}.book-mode button{flex:1;font-size:11px;padding:8px 3px;justify-content:center}.book-mode button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.progress-home{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.progress-home .panel{margin:0;padding:20px;min-width:0}.home-heading,.home-nt,.home-week{grid-column:1 / -1}.home-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:3px}.home-heading h1{font-size:clamp(28px,4vw,43px);margin:6px 0 0}.home-card-heading h2{font-size:23px;margin:5px 0 0}.home-card-heading>span{font-size:11px;color:var(--muted)}.home-percent{font:46px var(--serif);font-weight:400}.coverage-bar{width:100%;height:14px;display:flex;overflow:hidden;background:var(--soft);border-radius:6px;margin:15px 0 10px}.coverage-bar span.known{background:var(--green)}.coverage-bar span.learning{background:var(--accent);opacity:.65}.home-legend{display:flex;flex-wrap:wrap;gap:13px;font-size:11px;color:var(--muted);margin:10px 0}.home-legend i{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:2px;background:var(--soft)}.home-legend i.known{background:var(--green)}.home-legend i.learning{background:var(--accent);opacity:.65}.home-nt small,.home-frequency small{color:var(--muted);font-size:11px}.coverage-explainer{font-size:11px;color:var(--muted)}.coverage-explainer summary{cursor:pointer}.coverage-explainer small{display:block;margin-top:7px}.home-milestones{display:flex;align-items:center;gap:5px;margin:14px 0}.home-milestones span{flex:1;text-align:center;font-size:11px;border-radius:12px;padding:5px 2px;background:var(--soft)}.home-milestones span.current{background:var(--accent);color:var(--on-accent)}.progress-home section>button{margin-top:10px;font-size:12px}.home-frequency-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}.home-frequency-actions button{font-size:12px}.grammar-mini-map{display:grid;gap:8px;margin-top:15px}.grammar-mini-group>span{display:block;color:var(--muted);font-size:10px;margin-bottom:3px}.grammar-mini-group>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.grammar-mini-map button{min-width:0;min-height:34px;padding:5px 2px;border:0;border-radius:5px;font-size:10px;justify-content:center}.grammar-mini-map .strong{background:var(--green);color:var(--on-accent)}.grammar-mini-map .practice{background:var(--accent);color:var(--on-accent)}.grammar-mini-map .unassessed{background:var(--soft)}.book-coverage-head{align-items:center;margin-top:16px}.book-coverage-head strong{font:40px var(--serif)}.book-coverage-head span{max-width:170px;font-size:11px;color:var(--muted)}.book-coverage-main{display:flex;align-items:center;gap:19px;margin:16px 0 10px}.book-coverage-ring{flex:0 0 112px;width:112px;height:112px;padding:12px;border-radius:50%}.book-coverage-ring>span{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;background:var(--surface);border-radius:50%}.book-coverage-ring strong{font:29px var(--serif);line-height:1}.book-coverage-ring small{font-size:10px;color:var(--muted)}.book-word-counts{display:grid;gap:6px;font-size:12px}.book-word-counts>span{white-space:nowrap}.book-word-counts i{display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:2px;background:var(--soft)}.book-word-counts i.known{background:var(--green)}.book-word-counts i.learning{background:var(--accent)}.book-word-counts small{color:var(--muted);font-size:10px}.book-next{display:grid;gap:3px;padding:12px;margin:12px 0;border-radius:9px;background:var(--soft);font-size:12px}.book-next>span{color:var(--accent);font-weight:700}.book-next small{color:var(--muted)}.book-next button{justify-self:start;margin-top:6px;font-size:12px}.grammar-focus{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:8px;background:var(--soft);font-size:12px}.grammar-focus button{font-size:11px}.week-bars{display:flex;gap:10px;align-items:end;margin-top:10px}.week-bars>div{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1}.week-bars span{display:block;width:100%;max-width:34px;background:var(--green);border-radius:4px 4px 0 0}.week-bars small{color:var(--muted)}.home-week p{font-size:12px;color:var(--muted);margin:7px 0 0}@media(max-width:700px){.progress-home{grid-template-columns:1fr;gap:10px}.home-heading{align-items:stretch;flex-direction:column}.home-heading h1{font-size:28px}.home-heading .primary{align-self:flex-start}.home-card-heading h2{font-size:21px}.progress-home .panel{padding:17px}.vocabulary-intro{margin-bottom:12px}.vocabulary-intro h2{font-size:24px}.learning-path>p{margin-bottom:11px}.set-actions{flex-direction:column;align-items:stretch}.set-actions button{width:100%}}.study-shelf-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}.study-shelf-heading h2{font:32px var(--serif);margin:0}.study-shelf-heading p{color:var(--muted);margin:4px 0 0}.study-shelf-heading .primary{flex-shrink:0}.study-set-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:26px}.study-set-card{margin:0;padding:21px;min-width:0}.study-set-card-heading{display:flex;justify-content:space-between;align-items:start;gap:8px}.study-set-card h3{font:24px var(--serif);margin:0}.study-set-card-heading p{color:var(--muted);font-size:13px;margin:4px 0 0}.study-focus-badge{background:var(--green-soft);color:var(--green);border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700;letter-spacing:.08em}.study-set-card-tools{display:flex;align-items:center;gap:4px;flex-shrink:0}.study-make-focus{border:0;background:transparent;color:var(--muted);font-size:11px;padding:8px;min-height:36px;white-space:nowrap}.study-set-remove{width:36px;height:36px;padding:0;border:0;background:transparent;color:var(--muted);justify-content:center}.study-set-remove:hover{color:var(--error)}.study-set-confirm{margin-top:12px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--soft)}.study-set-confirm p{font-size:12px;margin:0 0 9px}.study-set-confirm>div{display:flex;justify-content:flex-end;gap:8px}.study-set-confirm button{font-size:12px}.settings-passage-note{color:var(--muted);font-size:12px;margin:3px 0 12px}.study-set-meter{display:flex;height:12px;overflow:hidden;border-radius:5px;background:var(--soft);margin-top:19px}.study-set-meter .recalled{background:var(--recalled)}.study-set-meter .learning{background:#b9cfe2}.study-set-counts{color:var(--muted);font-size:12px;margin:9px 0 16px}.study-set-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--border);padding-top:13px}.study-set-card-footer strong{color:var(--green);font-size:13px}.study-set-card-footer small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.study-set-card-footer button{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-size:13px}.study-set-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.study-set-actions button:last-child{background:transparent;color:var(--accent);border-color:var(--border)}.study-set-actions button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:700px){.study-set-card-footer{align-items:stretch;flex-direction:column}.study-set-actions{justify-content:stretch}.study-set-actions button{flex:1}}.study-set-empty{padding:22px}.study-library-link{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;color:var(--muted);font-size:13px}.study-library-link p{margin:0}.study-library-link button{padding:6px 0}.word-library>.text-button{margin-bottom:14px}.word-library-panel>p:first-child{color:var(--muted);font-size:13px;margin-top:0}.word-library-search{display:grid;gap:6px;font-size:13px;margin:18px 0 14px}.word-library-search input{width:100%}.word-library-panel>.check-label{margin-bottom:18px}.word-library-panel .filters{margin-top:8px}.today-passages-shelf{margin-top:28px}.today-passages-shelf h2{font:25px var(--serif);margin:0}.today-passages-shelf>p{color:var(--muted);font-size:12px;margin:4px 0 13px}.study-set-creator{max-width:620px;margin:0 auto 32px}.study-set-creator>.text-button{margin-bottom:10px}.study-set-creator h2{font:38px var(--serif);margin:7px 0 25px}.set-path-tabs,.set-size-choices{display:flex;border:1px solid var(--border);border-radius:9px;overflow:hidden}.set-path-tabs button,.set-size-choices button{flex:1;border:0;border-radius:0;justify-content:center;min-height:44px;background:var(--soft)}.set-path-tabs button[aria-pressed=true],.set-size-choices button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.set-creator-fields{display:grid;gap:15px;margin:30px 0}.set-radio{display:flex;align-items:center;gap:9px;font-weight:600}.set-radio input{width:18px;height:18px;accent-color:var(--accent)}.set-size-choices{margin:0 0 12px 27px}.set-size-choices label{flex:1.4;display:flex;align-items:center;justify-content:center;gap:4px;padding:3px 6px;background:var(--soft);font-size:12px}.set-size-choices input{width:57px;padding:5px;font-size:13px}.set-range-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-left:27px}.set-range-fields label,.set-book-select{display:grid;gap:6px;font-size:13px}.set-range-fields input,.set-book-select select{width:100%}.set-range-options,.set-next-minimum{display:grid;gap:12px}.set-open-ended{display:flex;align-items:center;gap:8px;margin-left:27px;font-size:13px}.set-open-ended input{width:17px;height:17px;accent-color:var(--accent)}.set-range-fields input:disabled{opacity:.5}.set-start-below{margin-left:27px;color:var(--muted);font-size:12px}.set-start-below input{width:76px;padding:6px}.set-creator-preview{display:grid;gap:7px;padding:19px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.set-creator-preview strong{font:22px var(--serif)}.set-creator-preview span{color:var(--muted);font-size:13px}.set-creator-preview .set-preview-label{font-size:10px;font-weight:700;letter-spacing:.09em;color:var(--accent)}.set-creator-preview small{color:var(--error)}.set-create-button{width:100%;justify-content:center;margin-top:20px}@media(max-width:700px){.study-shelf-heading{align-items:flex-start}.study-shelf-heading h2{font-size:26px}.study-shelf-heading p{font-size:12px}.study-shelf-heading .primary{font-size:12px;padding:9px 11px}.study-set-grid{grid-template-columns:1fr;gap:10px}.study-set-card{padding:16px}.study-set-card h3{font-size:21px}.study-set-creator h2{font-size:30px}}.grammar-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grammar-overview{padding:18px 21px}.grammar-overview+*{margin-top:24px}.grammar-study-decks>h2{margin:0 0 16px;font-family:var(--serif)}.grammar-overall-bar,.grammar-score-bar{display:block;background:var(--soft);border-radius:8px;overflow:hidden}.grammar-overall-bar{height:8px;margin:14px 0}.grammar-overall-bar>span,.grammar-score-bar>span{display:block;height:100%;background:#8099b0}.grammar-overview-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.grammar-group-score{--score-color: #8099b0;display:grid;gap:6px;padding:12px;text-align:left;align-content:start;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:12px;min-width:0}.grammar-group-score:disabled{opacity:1}.grammar-group-score-name{font-size:13px;overflow-wrap:anywhere}.grammar-group-score-value{display:flex;gap:6px;align-items:center;font-size:13px}.grammar-group-score.is-neutral{--score-color: #b1b6bd}.grammar-group-score.is-near{--score-color: #c48b26}.grammar-group-score.is-mastered{--score-color: var(--green)}.grammar-group-score:disabled.is-neutral{background:var(--soft)}.grammar-score-bar{height:5px}.grammar-score-bar>span,.grammar-score-dot{background:var(--score-color)}.grammar-score-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.is-mastered .grammar-score-dot{background:transparent;color:var(--green);width:auto;height:auto}.grammar-score-mobile{display:none}.grammar-planned-groups summary{cursor:pointer;padding:10px 0;font-size:13px}.grammar-planned-hide,.grammar-planned-groups[open] .grammar-planned-show{display:none}.grammar-planned-groups[open] .grammar-planned-hide{display:inline}.grammar-unassessed-key{display:block;color:var(--muted);margin-top:8px}.grammar-overview .mastery-heading h2{margin:0;font-size:25px}.grammar-overview .mastery-heading p{margin:5px 0 0;color:var(--muted);font-size:13px}.grammar-overview .mastery-total{font-size:28px}.grammar-overview .mastery-actions{margin:10px 0 12px}.grammar-overview-status{margin:8px 0 0;color:var(--muted)}.grammar-score-details{margin-top:10px;font-size:13px}.grammar-score-details summary{cursor:pointer;color:var(--muted)}.grammar-paradigm-group{color:var(--muted);font-size:13px}.grammar-group-card.mastery-coming{display:block;border-style:dashed;background:transparent}.grammar-card-score{font-family:var(--serif);font-size:22px;flex-shrink:0}.grammar-card-score{text-align:right}.grammar-group-card:not(.mastery-coming){display:flex;flex-direction:column}.grammar-group-card .study-set-card-footer{margin-top:auto;align-items:stretch;flex-direction:column}.grammar-group-card .study-set-card-heading,.grammar-unit-card .study-set-card-heading{flex-wrap:wrap}.grammar-group-card .study-set-actions{flex-direction:column;min-width:130px}.grammar-group-card .study-set-actions button{justify-content:center;min-height:44px}.mastery-category-summary{display:flex;flex-wrap:wrap;gap:12px 24px;padding:12px 0}.mastery-category-summary>div{display:grid;gap:3px}.mastery-category-summary small{color:var(--muted)}.mastery-unit-actions{display:grid;gap:8px}.mastery-unit-actions .primary{justify-content:center}.grammar-unit-card details{margin-top:12px;font-size:13px}.grammar-unit-card summary{cursor:pointer;min-height:30px}.grammar-review-dialog{top:50%;left:50%;transform:translate(-50%,-50%);width:min(620px,calc(100% - 32px));height:min(820px,94dvh);max-height:94dvh;display:flex;flex-direction:column;overflow:hidden;padding:28px}.grammar-review-dialog>h2{text-align:center;padding:0 32px;flex-shrink:0;font-family:var(--serif)}.grammar-review-body{flex:1;min-height:0;overflow-y:auto;padding:0 2px 12px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border) transparent}.grammar-review-body::-webkit-scrollbar{width:6px}.grammar-review-body::-webkit-scrollbar-track{background:transparent}.grammar-review-body::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.grammar-review-body::-webkit-scrollbar-button{display:none}.grammar-set-picker .study-set-grid{grid-template-columns:1fr;gap:10px}.grammar-set-picker .grammar-unit-card{padding:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.grammar-set-picker .grammar-unit-card .study-set-card-heading{grid-column:1;display:block}.grammar-set-picker .grammar-unit-card .grammar-card-score{font-family:inherit;font-size:13px;text-align:left}.grammar-set-picker .grammar-unit-card .study-set-meter{display:none}.grammar-set-picker .grammar-unit-card .study-set-counts{grid-column:1;margin:0}.grammar-set-picker .mastery-unit-actions{grid-column:2;grid-row:1 / span 2;align-content:center}.grammar-set-picker .mastery-unit-actions button{min-height:44px;font-size:12px;padding:8px 10px}.grammar-set-picker .grammar-unit-card details{grid-column:1 / -1;margin-top:0}.grammar-set-picker .grammar-unit-card h3{font-size:22px}.grammar-set-picker .grammar-unit-card .study-set-card-heading p{font-size:12px}.grammar-picker-instruction{margin:0;color:var(--muted)}.grammar-picker-rules{font-size:12px;color:var(--muted)}.grammar-picker-rules summary{cursor:pointer}.grammar-set-picker [aria-label="Filter nominal units"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.grammar-set-picker [aria-label="Filter nominal units"] button{justify-content:center;font-size:12px;padding:8px 6px}.grammar-review-progress,.grammar-lexical,.grammar-recall-prompt{text-align:center;color:var(--muted)}.grammar-review-dialog .mastery-target{text-align:center;font-size:clamp(30px,6vw,48px);margin:22px 0 0;line-height:1.5}.grammar-review-dialog .grammar-lexical{margin:4px 0 20px;font-size:14px}.grammar-sweep-progress{display:block;width:100%;height:8px;border:0;border-radius:8px;overflow:hidden;background:var(--soft)}.grammar-sweep-progress::-webkit-progress-bar{background:var(--soft)}.grammar-sweep-progress::-webkit-progress-value{background:var(--green)}.grammar-sweep-progress::-moz-progress-bar{background:var(--green)}.grammar-review-dialog .mastery-features legend{font-size:13px}.grammar-review-dialog .mastery-features fieldset>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.grammar-review-dialog .mastery-features button{font-size:14px}.grammar-review-dialog .mastery-features button:disabled{opacity:1;cursor:default}.grammar-review-dialog .mastery-features .mastery-correct-choice{background:var(--soft);border:2px solid var(--green);color:var(--green)}.grammar-review-dialog .mastery-features .mastery-wrong-choice{border:2px solid var(--error);color:var(--error);background:var(--surface)}.grammar-answer-feedback{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:12px 14px;border-radius:12px;margin-top:16px;background:var(--soft);border:1px solid var(--green)}.grammar-answer-feedback.is-incorrect{border-color:var(--error)}.grammar-answer-summary{flex:1 1 220px;min-width:0}.grammar-answer-summary>strong{color:var(--green)}.grammar-answer-feedback.is-incorrect .grammar-answer-summary>strong{color:var(--error)}.grammar-answer-feedback p{margin:6px 0 0;font-size:14px}.grammar-feedback-reference{flex:0 0 auto;margin-left:auto;min-height:44px;white-space:nowrap}.grammar-review-dialog .grammar-supporting-article{font-size:.65em;color:var(--muted);font-weight:400}.grammar-review-footer{display:grid;gap:8px;flex-shrink:0;border-top:1px solid var(--border);padding-top:12px;background:var(--surface)}.grammar-review-footer>button{justify-content:center;min-height:44px}.grammar-review-footer>.primary{min-height:52px}.grammar-review-footer>small{text-align:center;color:var(--muted);font-size:11px}.grammar-card-answer{margin:20px 0;text-align:center}.grammar-frequency{display:inline-block;padding:6px 10px;border-radius:20px;background:var(--soft)}.mastery-paradigm table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:15px}.mastery-paradigm th,.mastery-paradigm td{border:1px solid var(--border);padding:10px 5px;overflow-wrap:anywhere}.mastery-paradigm th{text-align:left;font-weight:500;font-size:12px}.mastery-paradigm thead th,.paradigm-comparison-table thead th{text-align:center;font-weight:700}.mastery-paradigm td{text-align:center;font-family:var(--serif)}.mastery-paradigm .mastery-tested-cell{background:var(--soft);outline:2px solid var(--green);outline-offset:-2px;color:var(--green);font-weight:700}.mastery-reference-note{font-size:12px;color:var(--muted)}@media(max-width:1000px){.grammar-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.grammar-set-picker .study-set-grid{grid-template-columns:1fr}.grammar-set-picker [aria-label="Filter nominal units"]{grid-template-columns:repeat(2,minmax(0,1fr))}.grammar-overview{display:flex;flex-direction:column;padding:16px}.grammar-overview+*{margin-top:16px}.grammar-overview .mastery-heading{order:0}.grammar-overall-bar{order:1;margin:10px 0 0;height:5px}.grammar-overview .mastery-actions{order:2;margin-bottom:0}.grammar-overview .mastery-actions .primary{width:100%;justify-content:center;min-height:44px}.grammar-mobile-summary{order:3;margin-top:12px}.grammar-overview .grammar-score-details{order:4}.grammar-overview-status{order:5}.grammar-overview .mastery-heading h2{font-size:22px}.grammar-overview .mastery-heading p,.grammar-overview .grammar-overall-bar,.grammar-overview-status,.grammar-score-desktop{display:none}.grammar-score-mobile{display:block}.grammar-overview-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.grammar-group-score{grid-template-columns:minmax(0,1fr) auto;align-items:center;border:0;border-radius:0;padding:6px 0;min-height:44px;gap:6px}.grammar-group-score:disabled.is-neutral{background:transparent}.grammar-group-score-name,.grammar-group-score-value{font-size:12px}.grammar-score-bar{display:none}.grammar-planned-groups .grammar-group-score{grid-template-columns:1fr}.grammar-planned-groups .grammar-group-score-value{color:var(--muted)}.grammar-group-grid{grid-template-columns:1fr}.grammar-group-card .study-set-actions{width:100%}.grammar-review-dialog{width:calc(100% - 16px);height:96dvh;max-height:96dvh;padding:20px 14px 14px;border-radius:18px}.grammar-review-dialog>h2{font-size:23px;margin:0 0 8px}.grammar-review-dialog .mastery-target{margin-top:12px}.grammar-review-dialog .mastery-features{margin:10px 0}.grammar-review-dialog .mastery-features button{min-height:44px;font-size:12px}.grammar-review-dialog .grammar-lexical{margin-bottom:12px}.mastery-paradigm table{font-size:14px}}.review-workload{margin:0 0 8px;color:var(--muted);font-size:12px;line-height:1.5}.review-continuation{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.review-continuation p{margin:4px 0;color:var(--muted)}.word-evidence{border-bottom:1px solid var(--border);padding-bottom:12px}.word-evidence h4{margin-bottom:6px}.word-evidence li{margin:8px 0}.vocabulary-review .review-secondary .undo{min-height:44px;padding:8px 12px}@media(max-width:700px){.review-continuation{align-items:stretch;flex-direction:column}.review-continuation button{min-height:44px}.vocabulary-review.has-card{height:96dvh}}.account-overlay{z-index:99}.account-header{letter-spacing:normal;display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.account-sync-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.account-button{padding:8px 12px}.account-dialog{position:fixed;z-index:100;top:50%;left:50%;transform:translate(-50%,-50%);width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;background:var(--surface);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}.account-dialog h2{font-family:var(--serif)}.account-dialog>p{color:var(--muted);line-height:1.6}.account-dialog>button{margin:5px 8px 5px 0}.account-email{overflow-wrap:anywhere}.account-page{min-height:100dvh;max-width:540px;margin:auto;padding:48px 24px}.account-login-remember label{display:flex;align-items:center;gap:.65rem}.account-login-remember input[type=checkbox]{width:18px;min-height:18px;padding:0;flex-shrink:0}.account-login-remember p{font-size:.9rem}.account-login h2{font-family:var(--serif);font-size:30px;font-weight:500}.account-login p{color:var(--muted);line-height:1.6}.account-login form{display:grid;gap:12px;margin:24px 0 16px}.account-login label{font-size:14px;font-weight:600}.account-login input{width:100%;min-height:48px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);padding:12px;font-size:16px}.account-login input[name=code]{font-size:24px;letter-spacing:.2em}.account-login .primary{min-height:48px}.account-login-actions{display:flex;gap:8px;flex-wrap:wrap}.account-login-note{font-size:12px}@media(max-width:600px){.account-header{gap:6px}.account-sync-status{font-size:11px;max-width:165px}.account-dialog{padding:24px}}.settings-advanced{margin-top:24px;padding:16px 0;border-top:1px solid var(--border)}.settings-advanced>summary{cursor:pointer;font-weight:600}.settings-advanced fieldset{margin-top:16px}.settings-advanced>section{margin-top:24px}.vocabulary-progress{padding:18px 20px;margin-bottom:24px}.vocabulary-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.vocabulary-progress-heading h2{font:24px var(--serif);margin:0}.vocabulary-progress-heading button{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:6px;flex-shrink:0}.vocabulary-progress-content{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr) minmax(260px,1.1fr);gap:24px;align-items:center}.vocabulary-progress-coverage{min-width:0}.vocabulary-progress-coverage>strong{display:block;font:40px var(--serif);line-height:1.1}.vocabulary-progress-coverage>span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.vocabulary-progress .coverage-bar{height:8px;margin:10px 0 0}.vocabulary-progress-words>small{color:var(--muted)}.vocabulary-progress-words dl{max-width:210px;margin:6px 0 0;display:grid;gap:5px}.vocabulary-progress-words dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:13px}.vocabulary-progress-words dt{display:flex;align-items:center;gap:7px;color:var(--muted)}.vocabulary-progress-words dt i{width:8px;height:8px;background:var(--soft);border-radius:50%;flex-shrink:0}.vocabulary-progress-words .known i{background:var(--green)}.vocabulary-progress-words .learning i{background:var(--accent)}.vocabulary-progress-words dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.vocabulary-progress-actions p{color:var(--muted);font-size:13px;margin:0 0 10px}.vocabulary-progress-actions>div{display:flex;gap:8px}.vocabulary-progress-actions button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 12px}.vocabulary-progress-explanation{border-top:1px solid var(--border);margin-top:16px;padding-top:4px;font-size:13px;color:var(--muted);line-height:1.6}@media(max-width:1000px){.vocabulary-progress-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 18px}.vocabulary-progress-actions{grid-column:1 / -1}}@media(max-width:700px){.vocabulary-progress{padding:12px 16px 16px;margin-bottom:20px}.vocabulary-progress-heading{margin-bottom:6px;gap:8px}.vocabulary-progress-heading h2{font-size:21px}.vocabulary-progress-coverage>strong{font-size:36px}.vocabulary-progress-content{gap:12px 16px}.vocabulary-progress-actions p{margin-bottom:8px;font-size:12px}.vocabulary-progress-actions button{flex:1;font-size:13px}}.settings-sections{display:grid;gap:1rem}.settings-section h2{margin-top:0}.settings-section h3{margin-top:1.25rem}.settings-section fieldset,.set-settings-panel fieldset{border:0;padding:0;margin:0;min-width:0}.settings-save-status{position:sticky;top:0;z-index:5;background:var(--paper, #fff);padding:.75rem 1rem;border:1px solid var(--line, #dce2ea);border-radius:.75rem;margin:0}.set-settings-panel{border-top:1px solid var(--line, #dce2ea);margin-top:1rem;padding-top:1rem}.set-settings-panel .setting-check{display:flex;align-items:start;gap:.6rem;margin:.75rem 0}.session-size-control{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;margin:1rem 0}.session-size-control select{width:auto;min-width:5rem}.mastered-topics{margin:1rem 0}.mastery-card-reference button{margin:.4rem}.context-set-mastery{display:grid;gap:.75rem;margin:1rem 0}@media(max-width:600px){.settings-section .daily-goal-fields,.settings-section .theme-options{display:grid;grid-template-columns:1fr}.settings-section .form-actions{display:flex;flex-wrap:wrap}.study-set-card-heading{flex-wrap:wrap}.mastery-card-reference button{display:block;margin-left:0}}.settings-section .backup-settings{margin-top:20px;padding-top:16px}.settings-section .section-help-heading{margin:0 0 10px}.settings-section .section-help-heading h3{margin:0}.settings-section .backup-settings p{margin:8px 0}.settings-section .form-actions{justify-content:flex-start;margin-top:12px;gap:8px}.settings-section h3{font:18px/1.4 var(--greek-font),var(--font-body, sans-serif)}.set-settings-dialog{width:min(560px,92vw)}@media(max-width:600px){.set-settings-dialog{top:0;right:0;bottom:0;left:0;transform:none;width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:24px 20px;overflow-y:auto}}.set-settings-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;flex-shrink:0}.grammar-group-card{position:relative}.grammar-group-card .study-set-card-heading{padding-right:42px}.grammar-set-tools .set-settings-button{position:absolute;right:16px;top:16px}.grammar-set-tools{margin-left:auto}.mastery-setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}.mastery-setting-row small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.mastery-setting-row input[role=switch]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:44px;height:26px;min-width:44px;padding:0;border:0;border-radius:20px;background:#c5ced7;position:relative;cursor:pointer}.mastery-setting-row input[role=switch]:after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002}.mastery-setting-row input[role=switch]:checked{background:#387466}.mastery-setting-row input[role=switch]:checked:after{left:21px}.mastery-setting-row input[role=switch]:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.mastery-setting-row input[role=switch]:disabled{opacity:.5}.mastery-settings-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.mastery-settings-heading span{font:12px var(--greek-font),var(--font-body, sans-serif);color:var(--muted)}.mastery-settings-note{font-size:13px;color:var(--muted);margin:0 0 12px}.mastery-topic-list{border:1px solid var(--line, #dce1e6);border-radius:14px;padding:0 16px}.mastery-topic+.mastery-topic{border-top:1px solid var(--line, #dce1e6)}.mastery-item-options{padding-bottom:14px;font-size:13px}.mastery-item-options summary{color:var(--muted);cursor:pointer}.grammar-group-card .study-set-card-heading{align-items:flex-start;margin-bottom:16px}.grammar-group-card .study-set-card-heading h3{font-size:24px;line-height:1.2}.grammar-group-card .study-set-card-heading p{font-size:13px;margin:8px 0 0}.grammar-group-card .study-set-card-footer{flex-direction:row;align-items:center;gap:16px}.grammar-group-card .study-set-card-footer>div:first-child{flex:1;min-width:0}.grammar-group-card .study-set-actions{display:flex;flex-direction:column;width:58%;flex-shrink:0}.grammar-group-card .study-set-actions button{width:100%;min-height:44px;justify-content:center}.grammar-review-dialog>h2{text-align:left;padding-right:36px;font-size:clamp(22px,3vw,30px)}.grammar-review-lemma{font-family:var(--serif);font-size:clamp(28px,5vw,38px);text-align:center;color:var(--ink);margin:12px 0 18px}.grammar-step-progress{display:flex;align-items:center;gap:12px;max-width:480px;margin:0 auto;color:var(--muted);font-size:14px}.grammar-step-segments{display:flex;flex:1;gap:5px}.grammar-step-segments span{flex:1;height:10px;border-radius:8px;background:var(--soft)}.grammar-step-segments .is-complete{background:var(--green)}.grammar-step-segments .is-current{border:2px solid var(--ink);background:#fff}.grammar-review-dialog .mastery-target{font-size:clamp(44px,8vw,72px);margin:24px 0 16px;line-height:1.3;overflow-wrap:anywhere}@media(max-width:400px){.grammar-group-card .study-set-card-heading h3{font-size:21px}.grammar-group-card .study-set-actions{width:58%}.grammar-group-card .study-set-actions button{padding:10px 8px;font-size:12px}}.grammar-gender-badge{display:inline-flex;align-items:center;justify-content:center;font:600 14px var(--greek-font),var(--font-body, sans-serif);margin-left:10px;vertical-align:middle;border:1px solid var(--border);border-radius:8px;padding:5px 8px;color:var(--muted)}.practice-subsets{display:grid;gap:12px}.practice-subsets>button{display:grid;grid-template-columns:1fr auto;text-align:left;padding:18px}.practice-subsets>button strong{grid-column:1}.practice-subsets>button small{grid-column:1;color:var(--muted);margin-top:4px}.practice-subsets>button svg{grid-column:2;grid-row:1 / 3;align-self:center}.chapter-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.chapter-grid button{min-height:44px;padding:6px;border-radius:8px}.chapter-grid button[aria-pressed=true]{background:var(--soft);border-color:var(--accent)}.chapter-grid button.chapter-endpoint[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--accent)}.frequency-presets{display:flex;flex-wrap:wrap;gap:8px}.frequency-presets button{min-height:44px;flex:1}.frequency-presets .frequency-preset-custom{flex:1.5}.frequency-presets button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.set-selection-help{font-size:12px;color:var(--muted)}.study-set-creator .set-creator-preview{margin:16px 0}.study-set-creator>h2{padding-right:32px}.dialog.study-set-creator{margin:0}.study-set-creator .set-creator-fields{margin:16px 0;gap:12px}.study-set-creator .set-create-button{position:sticky;bottom:0;min-height:44px;width:100%}button,input,select{min-height:44px}.home-app-header{justify-content:flex-end;margin-bottom:16px}.home-app-header>span{display:none}.home-dashboard{width:100%}.mobile-app-brand,.mobile-settings-button{display:none}.app-header-actions{display:flex;align-items:center;gap:4px}.home-banner{background:linear-gradient(110deg,var(--banner-start),var(--banner-end));color:var(--on-banner);padding:30px 32px;border-radius:var(--radius-control);margin-bottom:26px}.home-banner .eyebrow{color:var(--on-banner);letter-spacing:2px}.home-banner h1{font-size:clamp(30px,3.6vw,46px);line-height:1.16;letter-spacing:-1px;margin:14px 0 0;font-weight:600}.home-progress-grid,.home-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.home-stat{min-width:0;padding:0 0 18px}.home-stat+.home-stat{border-left:1px solid var(--border);padding-left:28px}.home-stat-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.home-stat-heading h2{font-size:clamp(18px,1.8vw,24px);margin:0;letter-spacing:-.5px}.home-stat-heading>strong{font-size:30px;line-height:1;font-variant-numeric:tabular-nums}.home-vocabulary-percentages{display:flex;align-items:baseline;gap:16px;font-size:30px;line-height:1;font-variant-numeric:tabular-nums}.home-vocabulary-percentages .established{color:var(--green)}.home-vocabulary-percentages .recalled{color:var(--recalled)}.home-stat>p,.home-stat-content>p{color:var(--muted);font-size:14px;line-height:1.5;margin:7px 0 10px}.home-mosaic{display:grid;grid-template-columns:repeat(25,minmax(0,1fr));gap:4px;margin:10px 0}.home-mosaic>span{height:12px;border-radius:3px}.home-mosaic.dots>span{border-radius:50%;width:100%;max-width:12px;justify-self:center}.home-segments{display:flex;background:var(--not-started);border-radius:6px;overflow:hidden;height:12px;margin:18px 0}.home-mosaic .established,.home-segments .established,.home-legend .established{background:var(--green)}.home-mosaic .learning,.home-segments .learning,.home-legend .learning{background:var(--learning)}.home-mosaic .recalled,.home-segments .recalled,.home-legend i.recalled{background:var(--recalled)}.home-mosaic .new,.home-segments .new,.home-legend .new{background:var(--not-started)}.home-legend{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0 6px;font-size:12px;color:var(--muted)}.home-legend span{display:inline-flex;align-items:center;gap:6px}.home-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}.home-occurrence-legend,.home-vocabulary-legend{display:flex;flex-wrap:wrap;gap:8px 16px}.home-occurrence-legend>span,.home-vocabulary-legend>span{white-space:nowrap}.home-vocabulary-legend strong{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:600}.home-placeholder-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:12px 0 6px}.home-placeholder-legend span{height:12px;width:75%;border-radius:3px;background:var(--not-started)}.home-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.home-categories button{padding:4px 0;border:0;background:transparent;min-width:0;display:flex;flex-direction:column;gap:8px;align-items:stretch;font-size:11px}.home-categories button>span:first-child{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;text-align:left;color:var(--muted)}.home-categories strong{color:var(--ink)}.home-category-meter{height:5px;display:block;border-radius:4px;background:var(--not-started);overflow:hidden}.home-category-meter i{display:block;height:100%;background:var(--green);border-radius:inherit}.home-explanation{font-size:11px;color:var(--muted);margin-top:10px}.home-explanation summary{cursor:pointer;padding:5px 0}.home-explanation small{display:block;margin-top:4px}.home-focus{border-top:1px solid var(--border);padding-top:24px}.home-focus>h2{font-size:26px;margin:0 0 20px;letter-spacing:-.6px}.home-focus-panel{min-width:0;border:1px solid var(--border);border-radius:var(--radius-control);padding:22px;display:flex;flex-direction:column}.home-focus-panel h3{font-size:20px;margin:12px 0 6px}.home-focus-panel p{font-size:13px;line-height:1.5;margin-bottom:10px;color:var(--muted)}.home-word-preview,.home-grammar-preview{background:var(--green-soft);border-radius:6px;padding:12px;margin:6px 0 14px;min-height:70px}.home-word-preview{display:flex}.home-word-preview>div{flex:1;min-width:0;padding:0 6px;text-align:center}.home-word-preview>div+div{border-left:1px solid var(--border)}.home-word-preview [lang],.home-grammar-preview [lang]{font-family:var(--serif);font-size:22px;overflow-wrap:anywhere;display:block}.home-word-preview small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-grammar-preview{text-align:center}.home-grammar-preview small{display:block}.home-focus-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto}.home-primary{background:var(--green);color:var(--on-accent);border-color:var(--green);font-weight:600}.home-primary:hover{background:var(--accent);color:var(--on-accent)}.home-footer{color:var(--muted);font-size:12px;border-top:1px solid var(--border);margin:24px 0 0;padding-top:18px}.coverage-bar .learning,.study-set-meter .learning{background:var(--learning)}@media(min-width:701px){aside{background:var(--accent);color:var(--on-accent);border:0}aside .brand small,aside nav button,aside .sidebar-note,aside .sidebar-note small{color:var(--on-accent)}aside nav button:hover,aside nav button[aria-current]{background:color-mix(in srgb,var(--on-accent) 14%,transparent);color:var(--on-accent)}}@media(max-width:1050px){.home-progress-grid,.home-focus-grid{gap:18px}.home-stat+.home-stat{padding-left:18px}.home-stat-heading h2{font-size:18px}.home-stat-heading>strong{font-size:25px}.home-vocabulary-percentages{gap:10px;font-size:25px}.home-focus-panel{padding:16px}}@media(max-width:850px){.home-progress-grid,.home-focus-grid{grid-template-columns:1fr}.home-stat+.home-stat{border-left:0;border-top:1px solid var(--border);padding:18px 0}}@media(max-width:700px){.app-header{justify-content:space-between;gap:8px}.mobile-app-brand{display:block;font-family:var(--serif);font-size:clamp(24px,7vw,28px);letter-spacing:normal;color:var(--ink);white-space:nowrap}.mobile-settings-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;background:transparent;border:0;padding:8px}.app-header-actions,.app-header-actions .account-header{flex-wrap:nowrap;gap:4px}.home-banner{margin:0 -20px 20px;border-radius:0;padding:24px 20px}.home-banner h1{font-size:30px}.home-banner .eyebrow{font-size:10px}.home-progress-grid{gap:0}.home-stat{padding-bottom:14px}.home-stat-heading h2{font-size:19px}.home-stat-heading>strong{font-size:26px}.home-vocabulary-percentages{gap:8px;font-size:22px}.home-stat>p{font-size:12px;margin-bottom:10px}.home-mosaic{gap:3px}.home-mosaic>span{height:9px}.home-mosaic.dots>span{max-width:9px}.home-legend{gap:12px;font-size:11px}.home-vocabulary-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.home-focus{padding-top:18px}.home-focus>h2{font-size:23px;margin-bottom:16px}.home-focus-panel h3{font-size:19px}.home-focus-actions{flex-direction:column;align-items:stretch;gap:0}.home-focus-actions .home-primary{width:100%}nav button{min-width:0;flex:1;font-size:10px;padding-left:3px;padding-right:3px}}.home-legend i.established{background:var(--green)}.home-legend i.learning{background:var(--learning)}.home-legend i.new{background:var(--not-started)}.home-focus-panel{background:var(--surface)}.grammar-full-table{overflow-x:auto;margin-bottom:1.5rem}.dialog.grammar-reference-dialog{width:min(1040px,calc(100vw - 32px));max-width:1040px}.grammar-compact-paradigm>p{margin:0 0 8px}.grammar-compact-paradigm>details{margin:0 0 10px}.grammar-compact-paradigm>details>summary{font-weight:600;padding:8px 0;cursor:pointer}.grammar-compact-paradigm .grammar-full-table{margin-bottom:8px}.grammar-compact-paradigm .grammar-full-table th,.grammar-compact-paradigm .grammar-full-table td{padding:6px 8px}.grammar-compact-paradigm abbr{text-decoration:none}.grammar-compact-paradigm .grammar-infinitive-table table{min-width:460px}.grammar-reference-dialog .grammar-review-footer{gap:4px;padding-top:8px}.grammar-reference-dialog .grammar-review-footer>.primary{min-height:44px}.grammar-full-table table{min-width:760px}.grammar-full-table tbody th:first-child,.grammar-full-table thead tr:first-child th:first-child{position:sticky;left:0;background:var(--surface, white);z-index:1}.grammar-full-table td{white-space:nowrap;text-align:center}.home-mosaic:not(.dots)>span{height:auto;aspect-ratio:1}.mastery-info-button{display:inline-flex;padding:4px;min-height:28px;min-width:28px;vertical-align:middle;border:0;background:transparent;color:var(--muted)}.mastery-info-dialog{width:min(560px,calc(100vw - 32px))}.mastery-info-content{font-size:14px;font-weight:400}.mastery-info-content ul{margin:0;padding-left:20px}.mastery-info-content li{margin:0 0 12px;line-height:1.55}.mastery-info-content li:last-child{margin-bottom:0}.mastery-paradigm h3,.grammar-paradigm-group,.grammar-reference-dialog>h2{text-align:center;font-weight:700}.grammar-comparison-dialog{width:min(1400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}.grammar-comparison-dialog>h2{text-align:center;font-weight:700}.comparison-options{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0}.comparison-options label{display:flex;gap:6px;align-items:center}.paradigm-comparison-scroll{overflow:auto;max-height:65dvh;margin-top:8px}.paradigm-comparison-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.paradigm-comparison-table th,.paradigm-comparison-table td{min-width:130px;border:1px solid var(--border);padding:12px;text-align:center;background:var(--surface)}.paradigm-comparison-table td{font-family:var(--serif);font-size:21px}.paradigm-comparison-table thead{position:sticky;top:0;z-index:2}.paradigm-comparison-table tbody tr>th:first-child,.paradigm-comparison-table thead tr:first-child>th:first-child{position:sticky;left:0;z-index:3}@media(min-width:701px){.settings-section input[type=number]{max-width:240px}}@media(max-width:700px){.dialog.grammar-comparison-dialog,.dialog.mastery-info-dialog{width:100%}.paradigm-comparison-table tbody tr>th:first-child,.paradigm-comparison-table thead tr:first-child>th:first-child{min-width:100px;padding-inline:8px}}.grammar-comparison-dialog>h2,.grammar-reference-dialog>h2{padding-inline:24px}.app-header{justify-content:flex-end;margin-bottom:20px}@media(max-width:700px){.app-header{justify-content:space-between}}.grammar-reference-link{text-align:center;margin:-6px 0 12px}.grammar-reference-link button{min-height:44px;padding:6px 12px;text-decoration:underline;font-size:13px}.grammar-checked-footer{grid-template-columns:88px minmax(0,1fr);align-items:stretch}.grammar-checked-footer>button{min-height:48px;padding:8px 12px}.grammar-checked-footer>.primary{grid-column:2;min-height:48px}.grammar-checked-footer>small{grid-column:1 / -1}.grammar-checked-footer .grammar-undo-check{grid-column:1;padding:8px;font-size:12px;gap:4px}.grammar-next-form{position:relative;overflow:hidden}.grammar-next-form-label{display:inline-flex;align-items:center;justify-content:center;gap:8px}.grammar-countdown-track{position:absolute;bottom:5px;left:12px;right:12px;height:3px;border-radius:3px;background:#ffffff2e;overflow:hidden}.grammar-countdown-track i{display:block;height:100%;background:#9bc5b9;transform-origin:left;transition:transform .1s linear}@media(prefers-reduced-motion:reduce){.grammar-countdown-track i{transform:none!important;transition:none}}@media(max-width:700px){.app-header{margin-bottom:14px}.grammar-review-dialog{padding-bottom:max(16px,env(safe-area-inset-bottom))}}:root{--sync-attention: #8a6500}.sync-status-button,.account-button{width:44px;height:44px;min-height:44px;padding:10px;justify-content:center;flex-shrink:0}.sync-status-button{border:0;background:transparent;color:var(--muted)}.sync-status-button.sync-tone-ok{color:var(--green)}.sync-status-button.sync-tone-attention{color:var(--sync-attention)}.sync-status-button.sync-tone-error{color:var(--error)}.sync-status-dialog>p{letter-spacing:normal;font-size:14px}.sync-status-button{position:relative}.sync-state-badge{position:absolute;right:2px;bottom:3px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border:2px solid #fff;color:#fff;background:#526477;border-radius:50%}.sync-tone-ok .sync-state-badge{background:#27633c}.sync-tone-attention .sync-state-badge{background:#8a6500}.sync-tone-error .sync-state-badge{background:#b42332}.sync-tone-syncing .sync-state-badge{background:#285b90}.sync-state-badge.is-syncing svg{animation:sync-badge-turn 1.5s linear infinite}@keyframes sync-badge-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.sync-state-badge.is-syncing svg{animation:none}}.grammar-overview-compact{padding:0}.grammar-mastery-summary{padding:20px;margin-bottom:20px}.grammar-overview-compact .mastery-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.grammar-summary-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;font-size:14px}.grammar-daily-compact{display:flex;gap:4px;align-items:center;color:var(--muted);font-size:13px}.grammar-overview-compact .grammar-overall-bar{margin:8px 0 0;display:block}.grammar-overview-compact .grammar-group-score{padding:14px;gap:12px;align-content:stretch;grid-template-rows:1fr auto}.grammar-score-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-height:2.8em}.grammar-overview-compact .grammar-group-score-name{font-weight:700;line-height:1.4}.grammar-due-badge{flex-shrink:0;background:var(--soft);color:var(--ink);border-radius:6px;padding:2px 6px;font-size:12px;font-weight:400;white-space:nowrap}.grammar-score-progress-row{display:flex;align-items:center;gap:10px}.grammar-score-progress-row .grammar-score-bar{flex:1;min-width:0}.grammar-overview-compact .grammar-group-score-value{color:var(--muted);font-size:13px}.grammar-group-card .study-set-card-heading{padding-right:0}.grammar-group-card .study-set-card-heading>div:first-child{flex:1;min-width:0}.grammar-group-card .study-set-card-tools{flex-shrink:0;align-items:center}.mastery-switch-target{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:44px;flex-shrink:0;cursor:pointer}.mastery-setting-row input[role=switch]{min-height:26px;height:26px;flex-shrink:0;margin:0}@media(max-width:600px){.grammar-overview-compact .mastery-heading{flex-wrap:wrap}.grammar-review-all{width:100%}.grammar-summary-progress{align-items:flex-start;flex-direction:column;gap:4px}.grammar-overview-compact .grammar-overview-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.grammar-overview-compact .grammar-group-score{min-height:0;text-align:left}.grammar-overview-compact .grammar-group-score-name{font-size:13px}.grammar-score-title-row,.grammar-group-card .study-set-card-heading{flex-wrap:wrap}.grammar-group-card .study-set-card-heading>div:first-child{flex-basis:55%}}@media(max-width:600px){.grammar-overview-compact .mastery-heading p{display:block}.grammar-overview-compact .grammar-group-score{grid-template-columns:1fr;border:1px solid var(--border);border-radius:12px}.grammar-overview-compact .grammar-overview-groups{gap:10px}.grammar-overview-compact .grammar-score-bar{display:block}}.grammar-overview-compact .grammar-group-score{justify-content:stretch;align-items:stretch;justify-items:stretch}.grammar-overview-compact{padding:20px}.grammar-overview-compact .grammar-mastery-summary{padding:0;margin-bottom:20px}.mastery-continuation{border-top:1px solid var(--border);padding:16px 0;margin:12px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mastery-continuation>div{flex:1;min-width:180px}.mastery-continuation p{margin:4px 0 0;color:var(--muted);font-size:13px}.grammar-paradigm-subset{margin-top:20px}.grammar-paradigm-subset>h3{font:700 18px/1.4 var(--greek-font),var(--font-body, sans-serif)}.grammar-section-score{padding:10px 0;border-top:1px solid var(--border)}.grammar-section-score p{margin:4px 0}.grammar-round-section{font-size:13px;color:var(--muted)}.grammar-pattern-list{display:grid;gap:0}.grammar-set-picker .grammar-pattern-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:12px 0;border-bottom:1px solid var(--border)}.grammar-set-picker .grammar-pattern-row .study-set-card-heading{gap:12px}.grammar-set-picker .grammar-pattern-row h3{font-size:1.05rem;margin:0}.grammar-set-picker .grammar-pattern-row .grammar-card-score{font-size:.95rem}.grammar-set-picker .grammar-pattern-row .study-set-meter{display:none}.grammar-set-picker .grammar-pattern-row:not(.grammar-pack-row) .mastery-unit-actions{margin:0}.grammar-set-picker .grammar-pattern-row details{grid-column:1 / -1;margin:0}.grammar-set-picker .grammar-pattern-row .study-set-counts{margin:0}@media(max-width:600px){.grammar-overview-compact{padding:16px}.mastery-continuation>button{min-height:44px}.grammar-unit-card .study-set-card-heading{flex-wrap:wrap}.grammar-set-picker .grammar-unit-card{grid-template-columns:minmax(0,1fr);gap:12px}.grammar-set-picker .mastery-unit-actions{grid-column:1;grid-row:auto}}.grammar-overview-compact .grammar-overview-groups{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 18px}.grammar-overview-compact .grammar-group-score{--score-color: var(--green);border:0;background:transparent;padding:6px 0;gap:5px;grid-template-rows:auto auto;min-height:44px}.grammar-overview-compact .grammar-score-title-row{min-height:0;justify-content:flex-start;align-items:center;flex-wrap:nowrap;gap:6px}.grammar-overview-compact .grammar-group-score-name{font-weight:600;line-height:1.25;overflow-wrap:normal}.grammar-due-dot{background:#b87816;width:6px;height:6px;border-radius:50%;flex-shrink:0}.grammar-score-progress-row{--score-color: var(--green);width:100%;min-width:0;font-size:13px}.grammar-score-progress-row .grammar-score-bar{display:block;height:4px;background:var(--soft);overflow:hidden;border-radius:999px}.grammar-score-progress-row .grammar-score-bar>span{display:block;height:100%;background:var(--green)}.grammar-score-progress-row .grammar-group-score-value{white-space:nowrap;color:var(--muted)}.grammar-review-entry{display:grid;justify-items:end;gap:4px;flex-shrink:0}.grammar-review-entry small{color:var(--muted);font-size:12px}.grammar-review-entry .text-button{padding:4px 0;font-size:12px;min-height:44px}.grammar-overview-compact .grammar-mastery-summary{margin-bottom:12px}.grammar-summary-progress{margin-top:8px}.grammar-set-picker .grammar-pattern-row>.grammar-score-progress-row{grid-column:1;max-width:320px}.grammar-set-picker .grammar-pack-row p{margin:4px 0}.grammar-set-picker .grammar-pack-row button[aria-pressed=true]{background:var(--green);color:var(--surface)}.grammar-pack-list{margin:12px 0}@media(max-width:900px){.grammar-overview-compact .grammar-overview-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.grammar-overview-compact .grammar-overview-groups{gap:4px 14px}.grammar-overview-compact .grammar-group-score{border:0;border-radius:0;padding:4px 0}.grammar-overview-compact .grammar-group-score-name{font-size:12px}.grammar-review-entry{width:100%;justify-items:stretch;text-align:center}.grammar-summary-progress{flex-direction:row;align-items:center;flex-wrap:wrap}.grammar-set-picker .grammar-pattern-row>.grammar-score-progress-row{max-width:none}}.vocabulary-progress-legend{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:8px;font-size:12px;color:var(--muted)}.vocabulary-progress-legend span{display:inline-flex;align-items:center;gap:5px}.vocabulary-progress-legend i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.vocabulary-progress-legend .known i{background:var(--green)}.vocabulary-progress-legend .learning i{background:var(--accent)}.vocabulary-progress-coverage>small,.vocabulary-progress-actions>small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.vocabulary-progress-note{max-width:230px;font-size:12px;color:var(--muted);line-height:1.5;margin:12px 0 0}.vocabulary-progress-actions>.vocabulary-progress-secondary{flex-wrap:wrap;gap:0 12px;margin-top:4px}.vocabulary-progress-secondary .text-button{padding:0;font-size:12px;justify-content:flex-start;flex:none}@media(min-width:1001px){.vocabulary-progress-words,.vocabulary-progress-actions{border-left:1px solid var(--border);padding-left:20px}}@media(max-width:700px){.vocabulary-progress-actions>.primary{width:100%}.vocabulary-progress-actions>.vocabulary-progress-secondary{justify-content:space-between}.vocabulary-progress-note{margin-top:8px}.vocabulary-progress-heading h2{font-size:20px}}@media(max-width:360px){.vocabulary-progress-content{grid-template-columns:minmax(0,1fr)}.vocabulary-progress-words dl{max-width:none;grid-template-columns:1fr 1fr;gap:12px}.vocabulary-progress-note{max-width:none}}@media(max-width:700px){.vocabulary-progress-coverage>small,.vocabulary-progress-note{display:none}.vocabulary-progress-actions>small{margin-top:0}}.vocabulary-migration{margin-bottom:20px;padding:18px 20px}.vocabulary-migration h2{font:22px var(--serif);margin:0 0 10px}.vocabulary-migration p{font-size:13px;line-height:1.6;color:var(--muted)}.vocabulary-migration summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:13px}.vocabulary-migration button{min-height:44px;margin-top:8px}.vocabulary-study-set .study-set-card-tools{flex-shrink:0;gap:4px}.vocabulary-set-remove{color:var(--muted)}.vocabulary-set-remove:hover{color:var(--accent)}.vocabulary-set-dialog .vocabulary-set-filters{border:0;padding:0;margin:12px 0 0;min-width:0}.vocabulary-set-filters legend{font-weight:600;margin-bottom:4px}.vocabulary-set-save-note{color:var(--muted);font-size:12px;margin:4px 0 6px}.vocabulary-set-filters .setting-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;margin:0;padding:12px 0}.vocabulary-set-filters .setting-check input{flex-shrink:0;margin-top:3px}.vocabulary-set-filters .setting-check span{min-width:0}.vocabulary-set-filters .setting-check strong{font-weight:500;font-size:14px}.vocabulary-set-filters .setting-check small{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:4px}.vocabulary-set-removal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:24px}.vocabulary-set-removal-actions button{min-height:44px}@media(max-width:600px){.dialog.vocabulary-set-dialog{inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);width:calc(100% - 32px);height:auto;max-height:calc(100dvh - 32px);border-radius:16px;padding:24px 20px}.vocabulary-set-dialog h2{padding-right:24px;font-size:23px}}.recall-rating-prompt{margin:0 0 8px;text-align:center;font-size:.9rem}.practice-schedule-note{display:block;margin-top:8px;text-align:center;color:var(--muted)}.word-recovery{margin:12px 0;padding:12px;border-radius:8px;background:var(--soft)}.word-recovery>p{margin-top:0}.extra-practice-options{width:100%;margin-top:12px}.extra-practice-options>summary{cursor:pointer;color:var(--muted);font-size:.9rem}.extra-practice-options>button{margin-top:8px;width:100%}.flashcard-actions .ratings button{min-width:0}.flashcard-actions .ratings small{white-space:normal}.flashcard-actions{flex-direction:column}.fixed-flashcard{grid-template-rows:24px minmax(0,1fr) auto}.flashcard-actions .ratings small{font-size:11px}.vocabulary-review .flashcard-actions{padding-top:8px}.vocabulary-review .flashcard-actions .ratings{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.vocabulary-review .ratings .recall-grade{min-height:72px;padding:6px 3px;gap:2px;border-radius:10px;color:#182e4b}.vocabulary-review .recall-grade strong{font-size:14px;line-height:18px}.vocabulary-review .ratings .recall-grade-hint{font-size:10px;line-height:12px;min-height:24px;display:flex;align-items:center;justify-content:center}.vocabulary-review .ratings .review-interval{font-size:11px;line-height:14px}.vocabulary-review .ratings .recall-grade-again{background:#fff0f0;border-color:#d98c8c}.vocabulary-review .ratings .recall-grade-hard{background:#fff7e8;border-color:#d3aa59}.vocabulary-review .ratings .recall-grade-good{background:#edf7ee;border-color:#86b48d}.vocabulary-review .ratings .recall-grade-easy{background:#eaf6f7;border-color:#7aafb3}.vocabulary-review .ratings .recall-grade:hover:not(:disabled){filter:brightness(.97)}.vocabulary-review .review-secondary{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:4px}.vocabulary-review .review-secondary .text-button{min-height:44px;padding:4px 6px;margin:0;font-size:12px;gap:5px;white-space:nowrap}.vocabulary-review .review-secondary .undo{margin-left:auto;color:var(--muted)}.review-license-link{display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;flex:0 0 44px;color:var(--muted);border-radius:8px}.review-license-link:hover{background:var(--soft)}.pronoun-reference .paradigm-comparison-scroll{max-height:none;margin-top:0}.pronoun-reference section>h3{margin:12px 0 4px}.grammar-family-forms{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;list-style:none;padding:12px 0 0;margin:12px 0 0;border-top:1px solid var(--border)}.grammar-family-forms li{display:flex;align-items:baseline;gap:6px}.grammar-family-forms [lang=grc]{font-family:var(--serif);font-size:20px}.grammar-family-forms small{color:var(--muted)}.grammar-family-forms [aria-current=true] [lang=grc]{font-weight:700}.pronoun-reference-table{table-layout:auto;width:max-content;min-width:100%}.pronoun-reference-table th,.pronoun-reference-table td{white-space:nowrap;padding:10px 14px}.pronoun-reference-table td{font-size:20px}.pronoun-reference-table thead small{display:block;font-size:12px;font-weight:400;margin-top:4px}.pronoun-reference-table .pronoun-number-heading th{text-align:left;background:var(--soft);font-weight:700;border-top:2px solid var(--border)}.pronoun-reference-table .mastery-tested-cell{background:var(--soft);outline:2px solid var(--green);outline-offset:-2px}.pronoun-reference-table .pronoun-variant-divider{color:var(--muted)}.grammar-palette-cool{--grammar-stem: #202b39;--grammar-prefix: #986013;--grammar-marker: #7651ad;--grammar-ending: #3976cb;--grammar-connecting: #007e84;--grammar-changed: #986013}.grammar-colored-form .grammar-feature-stem{color:var(--grammar-stem)}.grammar-colored-form .grammar-feature-prefix{color:var(--grammar-prefix)}.grammar-colored-form .grammar-feature-marker{color:var(--grammar-marker)}.grammar-colored-form .grammar-feature-connecting{color:var(--grammar-connecting);text-decoration:underline;text-decoration-thickness:.06em;text-underline-offset:.15em}.grammar-colored-form .grammar-feature-ending{color:var(--grammar-ending)}.grammar-colored-form .grammar-feature-changed{color:var(--grammar-changed)}.settings-section fieldset.grammar-color-options{padding-left:1rem;border-left:2px solid currentColor}.settings-section .grammar-color-options:disabled{opacity:.6}.mastery-recovery-notice{padding:12px;border-radius:10px;background:var(--soft);color:var(--ink)}.prep-review-aid{max-width:640px;margin:0 auto;text-align:center}.prep-scene-panel{margin:12px 0;padding:8px 16px 16px;border-radius:14px;background:var(--soft)}.prep-mini-scene{display:block;width:100%;max-width:300px;height:135px;margin:auto;color:var(--accent)}.prep-scene-panel figcaption{font-size:13px;color:var(--muted)}.prep-relation{display:flex;align-items:center;justify-content:center;gap:16px;min-height:100px;font-weight:600}.prep-relation span:not([aria-hidden]){padding:10px;border:1px solid var(--border);border-radius:10px}.prep-phrase p{margin:8px 0}.prep-phrase p[lang=grc]{font-family:var(--greek-font),Georgia,serif;font-size:clamp(24px,4vw,32px)}.prep-phrase mark{background:var(--soft);color:var(--ink);border-bottom:2px solid var(--accent);border-radius:3px}.prep-phrase small{font-size:11px;color:var(--muted)}.prep-comparison{text-align:left}.prep-comparison ul{padding-left:22px}.prep-comparison li{padding:5px 0}.prep-comparison li[aria-current=true]{font-weight:700}.prep-chart-trigger{margin:12px auto}.prep-chart-dialog.dialog{width:min(880px,calc(100% - 32px))}.prep-chart-dialog h2{padding-right:40px}.prep-chart-close{position:absolute;top:16px;right:16px;font-size:24px;padding:4px 12px}.prep-hide-labels{display:flex;align-items:center;gap:10px;margin:16px 0}.prep-hide-labels input{width:18px;height:18px;accent-color:var(--accent)}.prep-chart-map{overflow-x:auto;border-radius:14px;background:var(--soft)}.prep-chart-map>svg{display:block;width:100%;min-width:600px;color:var(--accent)}.prep-chart-map text{font:17px var(--greek-font),Georgia,serif}.prep-chart-mobile{display:none}@media(max-width:600px){.prep-chart-dialog.dialog{padding:20px}.prep-chart-map>svg{display:none}.prep-chart-mobile{display:grid}.prep-mobile-scene{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:8px 12px;border-bottom:1px solid var(--border)}.prep-mobile-scene>span{font-family:var(--greek-font),Georgia,serif;font-size:17px}.prep-mobile-scene small{display:block;font-family:var(--greek-font),"DM Sans",sans-serif;font-size:12px;color:var(--muted)}.prep-mobile-scene .prep-mini-scene{min-width:0;max-width:150px;height:80px}.prep-relation{gap:8px;font-size:13px}}.prep-chart-legend{font-size:12px;color:var(--muted)}.prep-table-scroll{overflow-x:auto;margin:20px 0}.prep-case-table{width:100%;min-width:480px;border-collapse:collapse;text-align:left}.prep-case-table caption{font-weight:700;text-align:left;padding:8px 0}.prep-case-table th,.prep-case-table td{padding:10px;border-bottom:1px solid var(--border)}.prep-case-table thead{background:var(--soft)}.prep-case-table th[lang=grc]{font-family:var(--greek-font),Georgia,serif;font-size:20px}.grammar-card-face{text-align:center}.grammar-card-kind,.grammar-card-guidance{font-size:12px;color:var(--muted)}.grammar-card-face.word-face{min-height:260px}.grammar-card-face.answer-face .mastery-target{font-size:clamp(32px,5vw,44px);margin:16px 0 12px}.grammar-card-answer .mastery-answer{font-size:26px;font-weight:700}.grammar-card-footer .review-ratings{margin:0;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.grammar-card-footer .review-ratings button{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:76px;padding:8px 3px;border-radius:10px;color:#182e4b}.grammar-card-footer .review-ratings strong{font-size:14px}.grammar-card-footer .review-ratings small{font-size:10px;line-height:12px;white-space:normal;min-height:24px}.grammar-card-footer .review-ratings .review-interval{font-size:11px;min-height:14px}.grammar-card-footer .rating-again{background:#fff0f0;border-color:#d98c8c}.grammar-card-footer .rating-hard{background:#fff7e8;border-color:#d3aa59}.grammar-card-footer .rating-good{background:#edf7ee;border-color:#86b48d}.grammar-card-footer .rating-easy{background:#eaf6f7;border-color:#7aafb3}.grammar-card-footer .review-ratings button:hover:not(:disabled){filter:brightness(.97)}.grammar-card-face .grammar-card-kind{margin:8px 0}.grammar-card-face.answer-face .mastery-target{margin:10px 0}.grammar-card-face .grammar-card-answer{margin:12px 0}.grammar-card-face .mastery-answer{margin:8px 0 14px}.grammar-card-face .prep-mini-scene{height:110px}.grammar-card-face .prep-scene-panel{padding:4px 12px 12px}.grammar-card-face .prep-chart-trigger{margin:8px auto}.prep-scene-panel .prep-chart-link{margin:8px auto 0;padding:4px 8px}.grammar-stage-tabs{display:flex;gap:8px;margin:16px 0}.grammar-stage-tabs button{flex:1;padding:12px 8px}.grammar-stage-tabs button[aria-pressed=true]{background:var(--soft);border-color:var(--accent)}.grammar-mixed-stage{padding:8px 0 20px}.grammar-mixed-stage .grammar-score-progress-row{margin:16px 0}.grammar-fixed-context{text-align:center;color:var(--muted);font-size:.85rem}.grammar-compact-review .mastery-target{font-size:clamp(30px,4vw,44px);line-height:1.25;margin:10px 0}.grammar-compact-review .grammar-review-progress{margin:8px 0}.grammar-compact-review .grammar-fixed-context{margin:6px 0}.grammar-compact-review .grammar-context-note{font-size:11px;margin:6px 0}.grammar-form-type{margin:6px 0;font-size:12px;color:var(--muted)}.grammar-live-answer{background:var(--soft);border-radius:10px;padding:8px 12px;margin:10px 0 12px;display:flex;flex-direction:column;gap:3px}.grammar-live-answer small{color:var(--muted);font-size:11px}.grammar-live-answer strong{font-size:14px;line-height:1.35}.grammar-review-dialog .grammar-compact-features{gap:10px;margin:8px 0}.grammar-review-dialog .grammar-compact-features fieldset>div{grid-template-columns:repeat(var(--option-count),minmax(0,1fr));gap:6px}.grammar-review-dialog .grammar-compact-features button{min-height:44px;padding:6px 5px;font-size:13px}.grammar-review-dialog .grammar-person-number>.grammar-person-number-grid{grid-template-columns:70px repeat(3,minmax(0,1fr));align-items:center;gap:6px}.grammar-grid-heading{font-size:12px;color:var(--muted);text-align:center}.grammar-person-number-grid .grammar-grid-heading:nth-child(4n+1){text-align:left}.grammar-choice-dot{font-size:23px;line-height:1}.grammar-check-actions{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px;align-items:stretch}.grammar-check-actions>.primary{padding:8px 12px;min-width:0;min-height:48px;justify-content:center}.grammar-check-actions>.grammar-not-sure{min-height:48px;padding:8px;justify-content:center;font-size:12px}.grammar-form-clue{flex-basis:100%}@media(min-width:700px){.grammar-feature-row legend{float:left;width:70px;line-height:44px;margin:0}.grammar-feature-row>div{margin-left:80px}}@media(max-width:699px){.grammar-review-dialog .grammar-compact-features .feature-tense>div{grid-template-columns:repeat(3,minmax(0,1fr))}.grammar-review-dialog .grammar-compact-features .feature-voice>div{grid-template-columns:repeat(2,minmax(0,1fr))}.grammar-compact-review h2{font-size:22px}.grammar-review-dialog .grammar-compact-features legend{font-size:13px;margin-bottom:5px}}@media(max-width:350px){.grammar-review-dialog .grammar-person-number>.grammar-person-number-grid{grid-template-columns:60px repeat(3,minmax(0,1fr))}.grammar-review-dialog .grammar-compact-features button{font-size:12px}}.grammar-review-dialog.grammar-compact-review>h2{font-family:var(--sans);font-size:20px;line-height:1.25;padding-left:0;margin-bottom:8px}.grammar-compact-review .grammar-review-progress,.grammar-compact-review .grammar-fixed-context{font-size:12px;line-height:18px}.grammar-compact-review .grammar-sweep-progress{margin:6px 0}@media(max-width:699px){.grammar-review-dialog.grammar-compact-review>h2{font-size:18px}}@media(max-width:699px){.grammar-compact-review .mastery-target{margin:6px 0}.grammar-compact-review .grammar-live-answer{margin:6px 0 8px}}.settings-save-status{position:static;border:0;background:transparent;padding:0;min-height:24px;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px}.settings-section .theme-options{margin-bottom:16px}.settings-section>small{display:block;margin-top:8px;color:var(--muted)}.settings-section .grammar-display-settings{margin-top:18px}.settings-section .grammar-color-options{padding-left:16px;margin-top:12px;border-left:2px solid var(--border)}.settings-disclosure>summary{font-weight:600;font-size:18px;cursor:pointer;min-height:44px;align-content:center}.settings-disclosure-content{padding-top:12px}.settings-disclosure-content>details{margin:10px 0 18px;font-size:13px}.settings-disclosure-content>p{margin:8px 0}.settings-section .backup-settings{margin-top:12px;padding-top:0}.settings-disclosure-content .number-preference{margin-top:16px}.vocabulary-filter-setting{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:12px;padding:4px 0;min-height:44px;position:relative}.vocabulary-set-filters .vocabulary-filter-setting input{margin:0;width:18px;height:18px}.vocabulary-filter-content label{display:inline;margin:0;font-size:14px;font-weight:500;cursor:pointer}.vocabulary-filter-help{display:inline-block;vertical-align:middle;margin-left:6px}.vocabulary-filter-help summary{display:flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;cursor:pointer;color:var(--muted);list-style:none}.vocabulary-filter-help summary::-webkit-details-marker{display:none}.vocabulary-filter-help p{position:absolute;z-index:2;left:32px;top:100%;width:min(280px,calc(100% - 32px));padding:.75rem;margin:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;font-size:.875rem;box-shadow:0 4px 12px #0002}.dialog.vocabulary-set-dialog:not(.vocabulary-set-removal){padding:clamp(20px,4vw,24px)}.vocabulary-set-dialog:not(.vocabulary-set-removal) h2{margin-top:0}.grammar-group-card{padding:18px;min-height:0}.grammar-group-card .study-set-card-heading{margin-bottom:10px;padding-right:0}.grammar-group-card .study-set-card-heading h3{font-size:22px}.grammar-card-title-row,.grammar-pattern-title{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}.grammar-group-card .grammar-view-paradigms{padding:0;font-size:12px;min-height:44px;width:auto}.grammar-group-card .study-set-card-footer{margin-top:12px;padding-top:12px}.grammar-group-card .study-set-actions{width:auto}.grammar-group-card .study-set-actions button{padding:8px 18px}.grammar-score-text .grammar-score-bar{display:none}.grammar-score-text{width:auto}.grammar-set-picker .grammar-pattern-row:not(.grammar-pack-row){grid-template-columns:minmax(0,1fr) 4.5ch 160px;gap:2px 16px;align-items:center;padding:10px 0}.grammar-set-picker .grammar-pattern-row .study-set-card-heading{grid-column:1;grid-row:1;margin:0}.grammar-set-picker .grammar-pattern-row .study-set-card-heading p{margin:2px 0 0}.grammar-set-picker .grammar-pattern-progress{grid-column:2;grid-row:1;justify-self:end;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.grammar-set-picker .grammar-pattern-row:not(.grammar-pack-row) .mastery-unit-actions{grid-column:3;grid-row:1;display:flex;gap:8px;justify-content:flex-end;flex-direction:column;align-items:stretch}.grammar-set-picker .grammar-pattern-row .mastery-unit-actions button{min-height:44px;padding:8px 16px;white-space:nowrap}.grammar-set-picker .grammar-pattern-row>.study-set-counts{grid-column:1;grid-row:2;margin:0}.grammar-pattern-title .grammar-view-form{min-height:44px;padding:4px 0;font-size:12px;gap:5px}.grammar-show-filter{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:13px;color:var(--muted)}.grammar-review-dialog.grammar-single-paradigm-picker{height:auto;bottom:auto}.grammar-single-paradigm-picker .grammar-review-body{flex:0 1 auto}.grammar-show-filter select{width:auto;max-width:100%;min-height:44px;padding:6px 28px 6px 10px;border:1px solid var(--border);border-radius:8px;color:var(--ink);background:var(--surface)}.grammar-frequency-note{font-size:12px;color:var(--muted)}.grammar-saved-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-radius:10px;background:var(--soft);font-size:13px}.grammar-check-actions .grammar-not-sure{order:0}.grammar-check-actions .primary{order:1}@media(max-width:600px){.grammar-group-card{padding:14px}.grammar-group-card .study-set-card-heading h3{font-size:20px}.grammar-group-card .study-set-actions button{width:auto}.grammar-set-picker .grammar-unit-card .study-set-card-heading{flex-wrap:nowrap}.grammar-set-picker .grammar-pattern-row:not(.grammar-pack-row){grid-template-columns:minmax(0,1fr) 4.5ch;gap:8px 12px}.grammar-set-picker .grammar-pattern-progress{align-self:start;line-height:44px}.grammar-set-picker .grammar-pattern-row:not(.grammar-pack-row) .mastery-unit-actions{grid-column:1 / -1;grid-row:auto;justify-content:stretch;flex-direction:column}.grammar-set-picker .grammar-pattern-row:not(.grammar-pack-row) .mastery-unit-actions button{width:100%}.grammar-set-picker .grammar-pattern-row .study-set-card-heading{grid-row:1}.grammar-stage-tabs button{font-size:12px}}.flip-card-surface{cursor:pointer;animation:card-reveal .18s ease-out}@media(prefers-reduced-motion:reduce){.flip-card-surface{animation:none}}.flip-card-surface button,.flip-card-surface summary,.flip-card-surface a{cursor:pointer}.flip-card-surface .flip-card-cue{display:block;margin:16px auto 0;padding:8px 12px;min-height:44px;border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:400}.flip-card-surface .flip-card-cue:hover{color:var(--ink);background:var(--soft)}.flip-card-surface .flip-card-cue:focus-visible{outline:2px solid var(--green);outline-offset:2px}.supplement-card-face{padding:16px;border:1px solid var(--border);border-radius:var(--radius)}.vocabulary-state-established,.home-legend i.vocabulary-state-established{background:var(--green)}.vocabulary-state-recalled,.home-legend i.vocabulary-state-recalled{background:var(--recalled)}.vocabulary-state-learning,.home-legend i.vocabulary-state-learning{background:var(--learning)}.home-legend i.vocabulary-state-learning{opacity:1}.vocabulary-state-new,.home-mosaic .vocabulary-state-new,.home-segments .vocabulary-state-new,.home-legend .vocabulary-state-new{background:#c7ced6}.vocabulary-progress-metrics{display:flex;flex-wrap:wrap;gap:18px 28px;margin-bottom:10px}.vocabulary-progress-metrics>div{display:flex;flex-direction:column;gap:4px}.vocabulary-progress-metrics>div+div{border-left:1px solid var(--border);padding-left:28px}.vocabulary-progress-metrics strong{font-size:clamp(32px,5vw,44px);line-height:1.15}.vocabulary-progress-metrics span{color:var(--muted);font-size:14px}.vocabulary-metric-established strong{color:var(--green)}.vocabulary-metric-learning strong{color:#956400}.vocabulary-metric-recalled strong{color:var(--recalled)}.vocabulary-progress-words dt i.vocabulary-state-learning{background:var(--learning)}.vocabulary-state-counts{display:flex;flex-wrap:wrap;gap:5px 14px}.vocabulary-state-counts>span{display:inline-flex;align-items:center;gap:5px}.vocabulary-state-counts i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.vocabulary-set-due{color:var(--muted);font-size:12px;font-weight:400}@media(max-width:600px){.vocabulary-progress-metrics{gap:12px 16px}.vocabulary-progress-metrics>div+div{padding-left:16px}.vocabulary-state-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:430px){.vocabulary-progress-words dl{gap:6px}.vocabulary-progress-words dl>div{flex-direction:column;align-items:flex-start;gap:2px;font-size:11px}.vocabulary-progress-words dt{gap:4px}.vocabulary-progress-words dd{margin-left:12px;font-size:13px}}.study-set-grid>.study-set-card .study-set-card-heading{margin-bottom:0}.study-set-grid>.study-set-card .study-set-card-heading p{margin-top:4px}.study-set-grid>.study-set-card .study-set-meter{height:8px;margin-top:12px}.study-set-grid>.study-set-card .study-set-counts{margin:6px 0 8px}.study-set-grid>.study-set-card .study-set-card-footer{margin-top:0;padding-top:8px}.study-set-grid>.study-set-card .study-set-actions button{min-height:44px}.study-set-grid>.study-set-card.grammar-group-card{padding:14px}.study-set-grid>.grammar-group-card .study-set-meter{margin-top:8px}.grammar-group-card .study-set-card-footer{gap:8px 12px;flex-wrap:wrap}.grammar-group-card .study-set-card-footer>div:first-child{flex:1 1 110px}.grammar-group-card .study-set-actions{flex-direction:row;flex-wrap:nowrap;min-width:0;gap:8px}.grammar-group-card .study-set-actions button{width:auto;flex:1;padding:8px 14px;white-space:nowrap}@media(max-width:600px){.grammar-group-card .study-set-card-footer{align-items:stretch;flex-direction:column}.grammar-group-card .study-set-card-footer>div:first-child{flex:auto}.grammar-group-card .study-set-actions{width:100%}.grammar-group-card .study-set-actions button{padding-inline:8px}}.study-section-heading{min-height:44px;align-items:center;margin:0 0 20px}.study-section-heading .study-section-title{font:400 32px/1.25 var(--serif);margin:0}.vocabulary-progress-heading h2,.grammar-overview .mastery-heading h2,.study-set-card .study-set-card-heading h3{font:400 24px/1.3 var(--serif);margin:0}.study-set-grid>.study-set-card{padding:16px}@media(max-width:700px){.study-section-heading .study-section-title{font-size:24px}.vocabulary-progress-heading h2,.grammar-overview .mastery-heading h2,.study-set-card .study-set-card-heading h3{font-size:20px}.study-set-grid>.study-set-card{padding:14px}}.study-shelf-actions{display:flex;align-items:center;gap:.6rem}.study-set-add{width:44px;height:44px;padding:0;justify-content:center}.study-reorder-dialog{width:min(640px,calc(100vw - 32px))}.study-reorder-list{list-style:none;padding:0;margin:1rem 0;max-height:50vh;overflow-y:auto}.study-reorder-list li{display:grid;grid-template-columns:28px 24px minmax(0,1fr) 40px 40px;gap:.5rem;align-items:center;border:1px solid var(--line, #dce4eb);border-radius:12px;padding:.7rem;margin-bottom:.6rem}.study-reorder-list button{padding:0;width:40px;height:44px;display:grid;place-items:center}.study-reorder-list .study-drag-handle{width:28px;border:0;background:transparent;touch-action:none;cursor:grab}.study-drag-handle:active{cursor:grabbing}.study-reorder-title{overflow-wrap:anywhere}.study-reorder-list button:disabled{opacity:.35}.study-reorder-status{min-height:1.5em;font-size:.85rem}.study-reorder-dialog .form-actions{justify-content:flex-end}.grammar-card-score small{display:block;font:.75rem/1.2 var(--greek-font),var(--font-sans, sans-serif);color:var(--muted, #65758a)}.flashcard-word-heading{display:flex;justify-content:center;align-items:center;gap:.65rem}.sound-cue{text-align:center;margin:.75rem 0 1rem}.sound-cue small{color:var(--muted, #65758a)}.sound-cue p{font-style:italic;font-size:1.05rem;margin:.3rem 0}@media(max-width:600px){.study-shelf-heading{gap:.6rem}.study-shelf-heading h2{font-size:1.5rem}.study-shelf-actions{gap:.4rem}.study-shelf-actions>button{padding:.5rem}.study-reorder-list li{grid-template-columns:24px 16px minmax(0,1fr) 36px 36px;gap:.3rem;padding:.5rem}.study-reorder-list button{width:36px}}@media(max-width:700px){.prep-chart-dialog.dialog{left:50%;transform:translate(-50%)}}:root{--progress-vocabulary-line: #c044a1;--progress-grammar-line: #e47a22}.vocabulary-progress,.grammar-overview-compact{padding:24px}.vocabulary-progress-heading h2,.grammar-overview-compact .mastery-heading h2{font:24px var(--serif);margin:0}.vocabulary-progress-content{grid-template-columns:minmax(0,1fr);gap:20px}.vocabulary-progress-coverage>strong,.grammar-summary-progress>div>strong{display:block;font:44px var(--serif);line-height:1.2}.vocabulary-progress-coverage .coverage-bar,.grammar-overall-bar{height:9px;margin-top:12px;border-radius:999px;overflow:hidden}.vocabulary-progress-words,.vocabulary-progress-actions{border-left:0;padding-left:0;grid-column:auto}.vocabulary-progress-words dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:8px 16px}.vocabulary-progress-words dl>div{align-items:center;justify-content:flex-start;gap:8px;min-width:0;white-space:nowrap}.vocabulary-progress-words dt{gap:5px}.vocabulary-progress-words dd{margin-left:auto}.vocabulary-progress-note{max-width:none}.vocabulary-progress-word-summary{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.vocabulary-progress-actions,.grammar-review-entry{border-top:1px solid var(--border);padding-top:16px}.vocabulary-progress-actions>.primary,.grammar-review-entry>.primary{width:100%;min-height:54px}.grammar-overview-compact .grammar-mastery-summary{border:0;padding:0;margin-bottom:20px}.grammar-summary-progress{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}.grammar-progress-caption{display:block;color:var(--muted);font-size:13px;margin-top:4px}.grammar-mastery-summary>.grammar-daily-compact{margin-top:14px}.grammar-review-entry{width:100%;justify-items:stretch;text-align:center;gap:8px;margin-top:20px}.grammar-review-entry>small{order:-1}.grammar-review-entry>.primary{order:0}.grammar-review-entry .text-button{order:1}.grammar-overview-compact .grammar-overview-groups{gap:12px 18px}.grammar-score-progress-row .grammar-score-bar{height:6px}.irregular-parse-details{display:block;font-size:18px;font-weight:400;margin-top:10px;line-height:1.5;color:var(--muted)}.journey-chart-legend{display:flex;flex-wrap:wrap;gap:20px;font-size:14px;margin:16px 0 8px}.journey-chart-legend span{display:inline-flex;align-items:center;gap:8px}.journey-chart-legend i{width:20px;height:4px;border-radius:2px}@media(max-width:600px){.vocabulary-progress,.grammar-overview-compact{padding:20px}.vocabulary-progress-heading h2,.grammar-overview-compact .mastery-heading h2{font-size:22px}.grammar-summary-progress{flex-direction:column;align-items:flex-start}.grammar-overview-compact .grammar-group-score-name{font-size:13px}}.flashcard-position{display:inline-flex;align-items:baseline;gap:8px}.grammar-missed-marker{display:inline-block;margin-inline-start:6px;color:#a76809;font-size:12px;vertical-align:middle}.grammar-missed-legend,.grammar-set-picker .grammar-pattern-row .grammar-missed-count{color:var(--muted);font-family:var(--sans);font-size:12px}.grammar-missed-legend>span,.grammar-missed-count>span{color:#a76809;margin-inline-end:4px}.grammar-set-picker .grammar-pattern-row .mastery-unit-actions .grammar-missed-practice{white-space:normal}.flashcard-difficulty-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--error);flex:0 0 auto}.memory-verse-cue{padding:12px;margin:16px 0;border-left:3px solid var(--accent);background:var(--soft)}.memory-verse-cue .memory-cue-label{margin-bottom:6px}.memory-verse-greek{font-family:var(--serif);font-size:20px;line-height:1.6;text-align:center;margin:6px 0}.memory-verse-translation{text-align:center;margin:5px 0}.memory-verse-cue cite{display:block;text-align:center;color:var(--muted);font-size:12px;font-style:normal}.memory-verse-context p{margin-bottom:0;font-size:12px}.textbook-fields{border:0;padding:0;min-width:0}.textbook-fields legend{font-weight:600;padding:0}.textbook-fields p{margin:0}.textbook-chapters button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.textbook-chapters button[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--accent)}.textbook-chapters small{font-size:10px}.textbook-preview{margin:18px 0}.textbook-preview h3{font-size:16px}.textbook-preview ul{list-style:none;max-height:240px;overflow-y:auto;padding:0;border:1px solid var(--border);border-radius:8px}.textbook-preview li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px;padding:10px 12px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.textbook-preview li:last-child{border-bottom:0}.textbook-preview [lang=grc]{font-family:var(--serif);font-size:18px}.home-page{display:grid;gap:28px}.home-summary-action{margin-top:20px}@media(min-width:701px){:root[data-appearance=dark] aside{background:var(--surface);color:var(--ink);border-right:1px solid var(--border)}:root[data-appearance=dark] .brand-lockup--sidebar{color:var(--ink)}:root[data-appearance=dark] aside :is(.brand small,nav button,.sidebar-note,.sidebar-note small){color:var(--muted)}:root[data-appearance=dark] aside nav button:is(:hover,[aria-current]){background:var(--soft);color:var(--ink)}}:root[data-appearance=dark] .grammar-countdown-track{background:#6b8196}:root[data-appearance=dark] .grammar-countdown-track i{background:var(--on-accent)}:root[data-appearance=dark] .vocabulary-review .ratings .recall-grade,:root[data-appearance=dark] .grammar-card-footer .review-ratings button{color:var(--ink)}:root[data-appearance=dark] :is(.vocabulary-review .ratings .recall-grade-again,.grammar-card-footer .rating-again){background:#422d35;border-color:#a56874}:root[data-appearance=dark] :is(.vocabulary-review .ratings .recall-grade-hard,.grammar-card-footer .rating-hard){background:#3e3425;border-color:#a18a53}:root[data-appearance=dark] :is(.vocabulary-review .ratings .recall-grade-good,.grammar-card-footer .rating-good){background:#263d33;border-color:#648f77}:root[data-appearance=dark] :is(.vocabulary-review .ratings .recall-grade-easy,.grammar-card-footer .rating-easy){background:#243e43;border-color:#63969e}:root[data-appearance=dark] .grammar-palette-cool{--grammar-stem: #d6e9fa;--grammar-prefix: #efc77b;--grammar-marker: #c9b2f1;--grammar-ending: #91baff;--grammar-connecting: #64d7db;--grammar-changed: #efc77b}:root[data-appearance=dark] :is(.vocabulary-metric-learning strong,.grammar-study-summary strong){color:var(--learning)}:root[data-appearance=dark] :is(.vocabulary-state-new,.home-mosaic .vocabulary-state-new,.home-segments .vocabulary-state-new,.home-legend .vocabulary-state-new){background:var(--not-started)}.sync-signin-dialog{width:min(440px,calc(100vw - 32px));padding:28px}.sync-signin-heading{display:flex;align-items:center;gap:10px;color:var(--ink)}.sync-signin-heading h2{margin:0;font-size:25px;line-height:1.3}.sync-signin-close{margin-left:auto;display:grid;place-items:center;padding:8px;border:none;background:transparent;color:var(--muted);flex-shrink:0}.account-login--sync h2{font-size:20px;margin:18px 0 8px}.account-login--sync form{margin-top:20px;gap:10px}.account-login--sync .account-login-remember label{font-weight:400}.account-login--sync .account-login-remember p{font-size:12px;margin:6px 0 4px}.account-login--sync .account-login-note{text-align:center;margin:16px 0 8px}.account-login--sync>.text-button{display:block;margin:0 auto}.account-login--sync .account-login-actions{justify-content:space-between}@media(max-width:480px){.sync-signin-dialog{padding:22px}.sync-signin-heading h2{font-size:23px}}.home-occurrence-summary{margin-block:0 1.5rem}.home-stat-content>.home-mosaic:first-child,.home-occurrence-summary>.home-mosaic:first-child{margin-top:0}.home-summary-caption>p{margin:0}.home-summary-caption{color:var(--muted);font-size:14px;line-height:1.5;margin:7px 0 10px}@media(min-width:851px){.home-progress-grid{position:relative;column-gap:56px}.home-progress-grid:before{content:"";position:absolute;inset-block:0;left:50%;border-left:1px solid var(--border);pointer-events:none}.home-progress-grid>.home-stat+.home-stat{border-left:0;padding-left:0}.home-progress-grid{grid-template-rows:auto auto 1fr;row-gap:0}.home-progress-grid>.home-stat{display:grid;grid-template-rows:subgrid;grid-row:1 / span 3;row-gap:0;align-items:start}.home-progress-grid>.home-stat:first-child{grid-column:1}.home-progress-grid>.home-stat+.home-stat{grid-column:2}}@media(min-width:851px)and (max-width:1050px){.home-progress-grid{column-gap:36px}}.home-word-summary{padding-top:1rem;border-top:1px solid var(--border)}.grammar-due-count{color:var(--muted);font-size:.75rem;white-space:nowrap}.grammar-assessment-rule{color:var(--muted);font-size:.85rem}.home-progress-summary-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.home-progress-summary-count{font-variant-numeric:tabular-nums}.settings-save-status:empty{display:none}.settings-sections>.settings-section{padding:18px 20px}.settings-section h2{font-size:20px;margin-bottom:10px}.settings-section .setting-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,45%);gap:4px 24px;align-items:center;padding:12px 0;margin:0;min-width:0}.settings-section .setting-row+.setting-row{border-top:1px solid var(--border)}.setting-row>label{grid-column:1;grid-row:1;margin:0;font-size:14px}.setting-row>small{grid-column:1;grid-row:2;color:var(--muted);font-size:12px}.setting-row>:is(select,input){grid-column:2;grid-row:1 / span 2;width:100%;min-width:0;min-height:44px;margin:0}.setting-row>input[type=number]{width:88px;justify-self:end}.setting-row>:is(p,button){grid-column:1 / -1}.settings-section .grammar-display-settings{margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}.settings-section .grammar-display-settings .check-label{min-height:44px;margin:0}.settings-section .grammar-color-options{margin-top:0}.settings-section.settings-disclosure>summary{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center;justify-content:space-between;font-size:16px;list-style:none}.settings-disclosure>summary:before{content:"›"}.settings-disclosure[open]>summary:before{content:"⌄"}.settings-disclosure>summary>span{flex:1}.settings-disclosure>summary>small{font-size:12px;font-weight:400;color:var(--muted)}.settings-section .backup-settings{border-top:0;margin-top:0}@media(max-width:600px){.settings-sections>.settings-section{padding:16px}.settings-section .setting-row{grid-template-columns:minmax(0,1fr);gap:6px}.setting-row>:is(select,input){grid-column:1;grid-row:3}.setting-row>input[type=number]{justify-self:start}.settings-disclosure>summary>small{flex-basis:100%;padding-left:20px}}@media(max-width:700px){nav[aria-label="Main navigation"] button>span{max-width:100%;overflow-wrap:anywhere}}@media(max-width:700px){.app-header{flex-wrap:wrap}}.app-header .account-button{border-color:transparent;background:transparent}.vocabulary-study-set .study-set-card-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.vocabulary-study-set .study-set-card-heading>div:first-child{min-width:0}.vocabulary-study-set .study-set-card-heading h3{font-size:22px;overflow-wrap:anywhere}.vocabulary-study-set .set-settings-button{width:44px;height:44px;min-height:44px;padding:10px;background:transparent;border-color:transparent}.vocabulary-study-set .study-set-card-footer{border-top:0;padding-top:12px}.vocabulary-study-set .study-set-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%;gap:8px}.vocabulary-study-set .study-set-actions button{min-width:0;padding:10px 8px;justify-content:center;gap:6px;white-space:nowrap}.vocabulary-study-set .study-set-actions button svg{flex-shrink:0}@media(max-width:400px){.vocabulary-study-set .study-set-actions{gap:6px}.vocabulary-study-set .study-set-actions button{padding:10px 4px;gap:4px;font-size:12px}.vocabulary-study-set .study-set-actions button svg{width:14px;height:14px}}.vocabulary-study-set .vocabulary-card-actions button:not(.primary){background:transparent;color:var(--accent);border-color:var(--border)}.vocabulary-study-set .vocabulary-card-actions button.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.vocabulary-study-set .vocabulary-scheduled-actions button.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.vocabulary-study-set .study-set-card-footer{flex-direction:column;align-items:stretch}.vocabulary-practice-action{display:flex;justify-content:flex-end;margin-top:4px}.vocabulary-practice-action button{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-height:44px;padding:6px 0;border:0;background:transparent;color:var(--accent);font-size:14px}.vocabulary-practice-action button svg{flex-shrink:0}.irregular-practice-callout{padding:16px;border-radius:14px;background:color-mix(in srgb,var(--accent) 6%,var(--surface, white))}.irregular-practice-trigger{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;padding:0;min-height:44px;border:0;background:transparent;color:var(--accent);text-align:left;font-weight:600}.irregular-practice-count{font-size:.8em;font-weight:400}.irregular-practice-callout p{margin:4px 0;color:var(--muted);font-size:14px}.irregular-practice-callout small{display:block;color:var(--muted)}.vocabulary-study-set .vocabulary-set-due{align-self:flex-start}.vocabulary-set-details{margin-top:10px;border-top:1px solid var(--border);color:var(--muted);font-size:12px}.vocabulary-set-details>summary{min-height:44px;align-content:center;cursor:pointer}.study-selection-title{color:var(--muted);font-size:13px;margin:4px 32px 12px 0;overflow-wrap:anywhere}.vocabulary-study-summary .study-completion-result{color:var(--ink);font-size:18px;font-weight:600;margin:20px 0 8px}.vocabulary-study-summary .round-actions{margin:10px 0 0}.vocabulary-study-summary .round-actions:empty{display:none}@media(max-width:700px){.vocabulary-study-set .study-set-card-heading h3{font-size:20px}}nav[aria-label="Main navigation"]>button>svg{flex-shrink:0;width:20px;height:20px}@media(min-width:701px){nav[aria-label="Main navigation"]>button{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;column-gap:12px;text-align:left}nav[aria-label="Main navigation"]>button>span{min-width:0;text-align:left;line-height:1.35}}html[data-native-platform=ios] .app{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}@media(min-width:701px){html[data-native-platform=ios] aside{top:env(safe-area-inset-top);height:calc(100dvh - env(safe-area-inset-top))}}@media(max-width:700px){html[data-native-platform=ios] aside{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}}.irregular-paradigm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}.irregular-paradigm section{min-width:0;margin-block:12px}.irregular-paradigm table{width:100%;table-layout:fixed;font-size:.9rem}.irregular-paradigm th,.irregular-paradigm td{padding:6px 4px;vertical-align:top;overflow-wrap:anywhere}.irregular-paradigm-form{display:block;padding:4px;border-radius:5px}.irregular-paradigm-form .decomposition-form>span[lang]{font-size:1.15rem}.irregular-paradigm-form small{display:block;color:var(--muted);font-size:.68rem}.irregular-target-form{background:transparent;border:0}.irregular-target-form small{color:var(--ink);font-weight:600}.irregular-unattested{color:var(--muted)}.irregular-reference-toggle{margin-block:10px}.irregular-reference-toggle>summary{cursor:pointer;color:var(--accent);font-weight:600}.irregular-family-row:has(.irregular-reference-toggle){flex-wrap:wrap}.irregular-reference-toggle{width:100%}.irregular-paradigm{width:100%;max-width:none;margin-inline:0}.irregular-study-actions button{min-height:44px;min-width:160px;padding:8px 16px;font-size:12px;white-space:nowrap}.irregular-reference-toggle{grid-column:1 / -1}.irregular-subset-footer{justify-content:flex-end}.irregular-paradigm-form .decomposition-form{display:block;width:100%;padding:2px;color:inherit;font:inherit}.irregular-target-dot{color:var(--green);font-size:.75em}.irregular-paradigm abbr{text-decoration:none}@media(max-width:600px){.dialog.grammar-shared-dialog.grammar-reference-dialog{width:100%;max-width:100%;left:0;right:0}.irregular-paradigm th,.irregular-paradigm td{padding:4px 2px}.irregular-paradigm th{overflow-wrap:normal}.irregular-paradigm th:first-child{width:20%}.irregular-paradigm-form{padding:2px}}.paradigm-selectable-content{display:contents}:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td:has(.decomposition-form){cursor:pointer}:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td .decomposition-form{border:0;border-radius:0;background:transparent;box-shadow:none;margin:0;min-height:44px;color:inherit;font:inherit}:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td .decomposition-form[aria-pressed=true]{border:0;background:transparent;box-shadow:none;outline:0}@media(hover:hover){:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td:has(.decomposition-form):hover{background:color-mix(in srgb,var(--green) 6%,var(--surface))}}:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td:has(.decomposition-form[aria-pressed=true]){background:color-mix(in srgb,var(--green) 13%,var(--surface));box-shadow:none}:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td:has(.decomposition-form:focus-visible){outline:2px solid var(--accent);outline-offset:-2px}:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td .decomposition-form:focus-visible{outline:0}:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td:has(.decomposition-form~.decomposition-form) .decomposition-form[aria-pressed=true],:is(.mastery-paradigm,.paradigm-comparison-table,.pronoun-reference-table,.grammar-shared-table-scroll) td:has(.irregular-paradigm-form~.irregular-paradigm-form) .decomposition-form[aria-pressed=true]{font-weight:600;box-shadow:none}:is(.mastery-paradigm,.paradigm-comparison-table,.grammar-shared-table-scroll) td:has(.decomposition-form[data-matching-form=true]){background:color-mix(in srgb,var(--green) 9%,var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 45%,var(--border))}:is(.mastery-paradigm,.paradigm-comparison-table,.grammar-shared-table-scroll) td:has(.decomposition-form[aria-pressed=true]){box-shadow:inset 0 0 0 2px var(--green)}.grammar-shared-form-note{display:block;color:var(--muted);font:400 12px/1.4 var(--sans);margin-top:4px}.brand-lockup{letter-spacing:normal;color:var(--ink)}.brand-lockup-identity{display:flex;align-items:center;gap:10px;min-width:0}.brand-lockup-mark{display:block;width:40px;height:38px;flex:0 0 auto}.brand-lockup-mark img{display:block;width:100%;height:100%;object-fit:contain}.brand-lockup-mark .brand-mark--ivory{display:none}.brand-lockup-wordmark{min-width:0;font-family:Gelasio,Georgia,serif;font-size:23px;line-height:1.2;overflow-wrap:anywhere}.brand-lockup .brand-lockup-tagline{margin:18px 0 0;font-size:14px;line-height:1.55}.brand-lockup--sidebar{color:var(--on-accent)}.brand-lockup--sidebar .brand-mark--navy{display:none}.brand-lockup--sidebar .brand-mark--ivory{display:block}.brand-lockup--welcome{margin-bottom:24px}.brand-lockup--mobile{display:none}:root[data-appearance=dark] :is(.brand-lockup--welcome,.brand-lockup--mobile) .brand-mark--navy{display:none}:root[data-appearance=dark] :is(.brand-lockup--welcome,.brand-lockup--mobile) .brand-mark--ivory{display:block}.app-header.app-header--home{--on-banner: #f6f0e3;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px 12px;padding:26px 28px;border-radius:var(--radius-control);background:#193653;color:var(--on-banner)}.app-header--home:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,#193653 0%,#193653 42%,transparent 78%),url(/assets/letter-garden-desktop-BaY8B7rs.svg) right center / auto 100% no-repeat}.app-header--home .brand-lockup--banner{grid-column:1;grid-row:1;color:var(--on-banner)}.brand-lockup--banner .brand-mark--navy{display:none}.brand-lockup--banner .brand-mark--ivory{display:block}.app-header--home>.app-header-actions{grid-column:2;grid-row:1;align-self:center;min-width:0;flex-wrap:wrap;justify-content:flex-end}.app-header--home .account-header{flex-wrap:wrap}.app-header--home .home-heading{grid-column:1 / -1;grid-row:2;margin:0;font-family:DM Sans,system-ui,sans-serif;font-size:clamp(28px,3.2vw,42px);font-weight:650;line-height:1.13;letter-spacing:-.6px;overflow-wrap:anywhere}.app-header--home>.onboarding-home-entry{grid-column:1 / -1;grid-row:3;justify-self:start;display:inline-flex;align-items:center;gap:8px;margin:0;padding:6px 0;border:0;background:transparent;color:var(--on-banner);font-size:1rem;font-weight:400;text-align:left;white-space:normal}.app-header--home>.onboarding-home-entry:hover{background:transparent;text-decoration:underline;text-underline-offset:4px}.app-header--home :is(.sync-status-button,.account-button){color:var(--on-banner);background:transparent}.app-header--home :is(.sync-status-button,.account-button):hover{background:color-mix(in srgb,var(--on-banner) 12%,transparent)}.app-header--home button:focus-visible{outline:2px solid var(--on-banner);outline-offset:3px}@media(max-width:700px){.brand-lockup--sidebar{display:none}.brand-lockup--mobile{display:block}.app-header:has(.brand-lockup--mobile){display:flex;flex-wrap:wrap;align-items:center;gap:8px}.brand-lockup--mobile .brand-lockup-wordmark{font-size:18px}.brand-lockup--mobile .brand-lockup-mark{width:28px;height:28px}.app-header.app-header--home{gap:16px 6px;padding:18px 16px}.app-header--home .brand-lockup-identity{gap:6px}.brand-lockup--banner .brand-lockup-mark{width:28px;height:28px}.brand-lockup--banner .brand-lockup-wordmark{font-size:clamp(16px,4.5vw,22px)}.app-header--home .home-heading{font-size:clamp(24px,6.3vw,32px)}.app-header--home:before{background:linear-gradient(90deg,#193653 0%,#193653 47%,transparent 100%),url(/assets/letter-garden-mobile-CLr0CmvT.svg) right bottom / auto 100% no-repeat}}@media(forced-colors:active){.app-header.app-header--home{background:Canvas;color:CanvasText;--on-banner: CanvasText;border:1px solid CanvasText}.app-header--home:before{display:none}.brand-lockup-mark{background:Canvas;border-radius:4px}.brand-lockup-mark .brand-mark--navy{display:block}.brand-lockup-mark .brand-mark--ivory{display:none}}
