@font-face{font-family:Noto Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-sans-cyrillic-ext-wght-normal-DSNfmdVt.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Noto Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-sans-cyrillic-wght-normal-B2hlT84T.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Noto Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-sans-devanagari-wght-normal-Cv-Vwajv.woff2) format("woff2-variations");unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}@font-face{font-family:Noto Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-sans-greek-ext-wght-normal-12T8GTDR.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Noto Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-sans-greek-wght-normal-Ymb6dZNd.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Noto Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-sans-vietnamese-wght-normal-DLTJy58D.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Noto Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-sans-latin-ext-wght-normal-W1qJv59z.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-sans-latin-wght-normal-BYSzYMf3.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #f6f5f1;--surface: #ffffff;--surface-2: #fbfaf7;--ink: #201d1a;--muted: #6f6a63;--line: #e6e2da;--accent: #1d4ed8;--accent-strong: #1e40af;--accent-soft: #dbeafe;--good: #1a7f4b;--good-soft: #e3f6ea;--bad: #b3261e;--bad-soft: #fdeae8;--arz-soft: #fdf1e0;--fusha-soft: #e8eeff;--radius: 16px;--radius-sm: 10px;--shadow: 0 1px 2px rgba(32, 29, 26, .06), 0 6px 20px rgba(32, 29, 26, .05);--font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-uk: "Noto Sans Variable", "Noto Sans", "Segoe UI", system-ui, sans-serif}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button{font:inherit;color:inherit}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid #93b4f5;outline-offset:2px}.app{min-height:100dvh;display:flex;flex-direction:column}.main{flex:1;width:100%;max-width:1040px;margin:0 auto;padding:16px 16px 100px}.app-focus .main{max-width:720px;padding-bottom:32px}.nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;background:var(--surface);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom))}.nav-brand{display:none}.nav-links{display:flex;flex:1;justify-content:space-around}.nav-link{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 14px;border-radius:12px;color:var(--muted);min-width:72px}.nav-link.active{color:var(--accent);background:var(--accent-soft)}.nav-icon{position:relative;display:inline-flex}.nav-label{font-size:.72rem;font-weight:600;letter-spacing:.02em}.nav-badge{position:absolute;top:-6px;right:-10px;background:var(--accent);color:#fff;border-radius:999px;font-size:.62rem;font-weight:700;padding:1px 5px}.page-head{margin:8px 0 20px}.page-head h1{font-size:1.5rem;line-height:1.25;margin:4px 0 6px}.page-sub{color:var(--muted);margin:0;font-size:.95rem;line-height:1.55;max-width:62ch}.brand-line{display:flex;align-items:baseline;gap:8px;margin:0;font-weight:700;color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}.brand-line .brand-ar,.nav-brand .brand-ar{font-family:var(--font-uk);text-transform:none;letter-spacing:0;color:var(--accent);font-size:1.1rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}.eyebrow{display:inline-flex;align-items:center;gap:6px;margin:0 0 8px;color:var(--accent);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.muted{color:var(--muted);font-size:.85rem;line-height:1.5}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:13px 18px;font-weight:700;cursor:pointer;min-height:46px;transition:filter .12s ease,background .12s ease}.btn:disabled{opacity:.45;cursor:default}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){filter:brightness(1.08)}.btn-secondary{background:var(--accent-soft);color:var(--accent-strong)}.btn-ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}.btn-good{background:var(--good);color:#fff}.btn-bad{background:var(--bad);color:#fff}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--surface);cursor:pointer;flex:none}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:26px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px 8px;text-align:center;box-shadow:var(--shadow)}.stat strong{display:block;font-size:1.25rem;font-variant-numeric:tabular-nums}.stat span{color:var(--muted);font-size:.76rem}.unit{margin-bottom:28px}.unit-head h2{margin:0 0 2px;font-size:1.15rem}.unit-head p{margin:0 0 12px;color:var(--muted);font-size:.9rem;line-height:1.5}.unit-soon .unit-head h2{color:var(--muted)}.unit-placeholder{border:1px dashed var(--line);border-radius:var(--radius-sm);padding:14px;color:var(--muted);font-size:.88rem;margin:0;background:var(--surface-2)}.lesson-list{display:grid;gap:10px}.lesson-card{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow);transition:transform .12s ease,border-color .12s ease}.lesson-card:hover{border-color:var(--accent);transform:translateY(-1px)}.lesson-info h3{margin:0 0 4px;font-size:1.02rem}.lesson-info p{margin:0;color:var(--muted);font-size:.86rem}.lesson-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.lesson-score{display:flex;flex-direction:column;align-items:flex-end;line-height:1}.lesson-score strong{font-size:1.3rem;color:var(--accent);font-variant-numeric:tabular-nums}.lesson-score span{font-size:.66rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.lesson-score-new strong{font-size:.95rem;color:var(--muted)}.lesson-go{font-size:.8rem;font-weight:600;color:var(--accent)}.learn-footer{margin-top:30px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}.learn-footer .muted{margin:0}.stage{margin-bottom:8px}.stage-head{border-left:4px solid var(--accent);padding-left:12px;margin:26px 0 16px}.stage-head h2{margin:0 0 4px;font-size:1.25rem}.stage-head .muted{margin:0}.lesson-order{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:.78rem;font-weight:700;margin-right:8px;vertical-align:text-top}.planned-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.planned-item{display:grid;gap:2px;background:var(--surface-2);border:1px dashed var(--line);border-radius:var(--radius-sm);padding:10px 14px}.planned-item span{color:var(--muted);font-size:.85rem}.grammar-topic-card.locked{opacity:.62;border-style:dashed}.locked-label{font-size:.76rem;color:var(--muted);text-align:right;max-width:160px}.uk-block{display:inline-flex;flex-wrap:wrap;gap:14px;align-items:flex-start;justify-content:center}.uk-unit{display:inline-flex;flex-direction:column;align-items:center;gap:3px}.uk-word{font-family:var(--font-uk);font-weight:600;line-height:1.4;color:var(--ink)}.uk-latin{display:inline-flex;gap:6px;direction:rtl}.syl{color:var(--muted);font-size:.7rem;font-style:italic;letter-spacing:.02em;white-space:nowrap}.uk-sm .uk-word{font-size:1.15rem}.uk-sm .syl{font-size:.62rem}.uk-md .uk-word{font-size:1.6rem}.uk-md .syl{font-size:.7rem}.uk-lg .uk-word{font-size:2rem}.uk-lg .syl{font-size:.78rem}.uk-xl .uk-word{font-size:2.4rem}.uk-xl .syl{font-size:.85rem}.pill{display:inline-flex;align-items:baseline;gap:6px;border-radius:999px;padding:3px 10px;font-size:.74rem;font-weight:700}.pill-ar{font-family:var(--font-uk);font-size:.85rem}.pill-unused-arz{background:#fbe7cf;color:#92400e}.pill-unused-fusha{background:#e0e7ff;color:#3730a3}.pill-sm{padding:2px 8px;font-size:.68rem}.pill-sm .pill-ar{font-size:.78rem}.play-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--accent);cursor:pointer;flex:none}.play-btn:hover{background:var(--accent-soft)}.word-gloss{margin:0 0 14px;font-size:1.35rem}.word-grid{display:grid;gap:10px;margin-bottom:18px}.word-panel{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-2)}.word-panel-arz{border-color:#f0d9bd;background:var(--arz-soft)}.word-panel-fusha{border-color:#cdd9f7;background:var(--fusha-soft)}.explanation-card h2{margin:0 0 8px;font-size:1.25rem}.explanation-body{margin:0 0 14px;line-height:1.55}.example-list{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:10px}.example{display:flex;flex-direction:column;gap:2px;padding:10px 12px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm)}.example-ar{font-family:var(--font-uk);font-size:1.3rem;font-weight:600}.example-lat{color:var(--muted);font-style:italic;font-size:.85rem}.example-gloss{font-size:.85rem}.why{background:#ffffffb8;border-radius:var(--radius-sm);padding:12px}.why-title{display:flex;align-items:center;gap:6px;margin:0 0 4px;font-weight:700;font-size:.9rem}.why-body{margin:0;font-size:.88rem;line-height:1.5}.why-example{display:flex;gap:8px;align-items:baseline;margin-top:6px;flex-wrap:wrap}.lesson-screen{display:flex;flex-direction:column;gap:18px;max-width:640px;margin:0 auto}.lesson-top{display:flex;align-items:center;gap:12px;padding:4px 0}.review-title{font-size:1.1rem;margin:0}.progress{display:flex;align-items:center;gap:10px;flex:1}.progress-track{flex:1;height:10px;background:var(--line);border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:var(--accent);border-radius:999px;transition:width .25s ease}.progress-count{font-weight:700;font-variant-numeric:tabular-nums;color:var(--accent-strong);min-width:3.2em;text-align:right}.exercise{display:flex;flex-direction:column;gap:16px}.exercise-prompt{margin:4px 0 2px;text-align:center}.prompt-ar{display:inline-flex;align-items:center;gap:10px}.prompt-gloss{font-size:1.4rem;font-weight:700;margin:6px 0}.prompt-latin{font-size:1.4rem;font-weight:600;font-style:italic;margin:6px 0}.prompt-question{color:var(--muted);margin:4px 0;font-size:.95rem}.option-list{display:grid;gap:10px}.option-list-wide{grid-template-columns:1fr 1fr}.option{text-align:center;background:var(--surface);border:2px solid var(--line);border-radius:var(--radius-sm);padding:14px 12px;cursor:pointer;min-height:56px;transition:border-color .1s ease,background .1s ease}.option:hover:not(:disabled){border-color:var(--accent)}.option:disabled{cursor:default}.option-text{font-size:1.05rem;font-weight:600}.option-correct{border-color:var(--good);background:var(--good-soft)}.option-wrong{border-color:var(--bad);background:var(--bad-soft)}.option-dim{opacity:.5}.listen-btn{width:96px;height:96px;border-radius:999px;border:0;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:var(--shadow);margin:8px auto}.listen-btn:hover{filter:brightness(1.06)}.match-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.match-col{display:grid;gap:10px;align-content:start}.match-tile{border:2px solid var(--line);background:var(--surface);border-radius:var(--radius-sm);padding:14px 10px;min-height:64px;cursor:pointer;display:flex;align-items:center;justify-content:center}.match-tile:disabled{cursor:default}.match-en{font-size:.95rem;font-weight:600}.match-tile.selected{border-color:var(--accent);background:var(--accent-soft)}.match-tile.wrong{border-color:var(--bad);background:var(--bad-soft)}.match-tile.matched{border-color:var(--good);background:var(--good-soft);opacity:.75}.build-answer{display:flex;flex-wrap:wrap;gap:8px;min-height:64px;padding:12px;border-bottom:2px solid var(--line);align-content:flex-start}.build-answer.wrong{border-color:var(--bad);background:var(--bad-soft)}.build-placeholder{color:var(--muted);font-size:.85rem;direction:ltr}.build-pool{display:flex;flex-wrap:wrap;gap:8px}.build-tile{border:2px solid var(--line);background:var(--surface);border-radius:var(--radius-sm);padding:8px 12px;cursor:pointer;display:inline-flex;flex-direction:column;align-items:center}.build-tile .syl{font-size:.6rem}.build-tile.used{opacity:.3}.feedback{border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:12px}.feedback-good{background:var(--good-soft);border:1px solid #bfe6cd}.feedback-bad{background:var(--bad-soft);border:1px solid #f5c8c4}.feedback-head{display:flex;align-items:center;gap:8px;font-size:1.05rem}.feedback-good .feedback-head{color:var(--good)}.feedback-bad .feedback-head{color:var(--bad)}.feedback-icon{display:inline-flex;width:26px;height:26px;border-radius:999px;align-items:center;justify-content:center;background:currentColor}.feedback-icon svg{stroke:#fff}.reveal{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.reveal-gloss{color:var(--muted);font-size:.9rem}.results{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding-top:24px}.result-score{font-size:3.4rem;margin:0;color:var(--accent);font-variant-numeric:tabular-nums;line-height:1.1}.result-sub{color:var(--muted);margin:0 0 12px}.missed{width:100%;text-align:left;display:grid;gap:12px;margin-bottom:8px}.missed h2{margin:0;font-size:1rem;color:var(--bad)}.missed-word{border-top:1px solid var(--line);padding-top:10px;display:grid;gap:6px}.missed-word:first-of-type{border-top:0;padding-top:0}.missed-gloss{margin:0;font-weight:700}.missed-pair{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.result-actions{display:grid;gap:10px;width:100%;max-width:360px;margin-top:8px}.review-card{display:grid;gap:10px;text-align:center;justify-items:center}.big-count{font-size:3rem;font-weight:700;margin:0;color:var(--accent);font-variant-numeric:tabular-nums;line-height:1}.review-due-label{margin:0 0 8px;color:var(--muted)}.review-card .btn{width:100%;max-width:320px}.segmented{display:inline-flex;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:3px;margin-bottom:16px}.segmented button{border:0;background:transparent;border-radius:999px;padding:8px 14px;font-weight:600;color:var(--muted);cursor:pointer;font-size:.85rem}.segmented button.active{background:var(--accent);color:#fff}.letter-chart{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px;margin-bottom:28px}.letter-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);transition:border-color .12s ease,transform .12s ease}.letter-card:hover{border-color:var(--accent);transform:translateY(-1px)}.letter-card-link{display:flex;flex-direction:column;align-items:center;gap:2px;padding:14px 8px 12px}.letter-card-glyph{font-family:var(--font-uk);font-size:2rem;line-height:1.35}.letter-card-name{font-size:.78rem;font-weight:600;color:var(--muted)}.letter-card-sound{font-size:.72rem;color:var(--muted);font-style:italic}.letter-card-play{position:absolute;top:6px;right:6px}.letter-card-done{position:absolute;top:6px;left:6px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:var(--good);color:#fff}.play-btn-sm{width:28px;height:28px}.letter-hero{display:flex;align-items:center;gap:18px;margin-bottom:18px}.letter-hero-glyph{font-family:var(--font-uk);font-size:5rem;line-height:1.25;display:inline-block}.letter-hero-info h2{margin:0;font-size:1.4rem}.letter-name-ar{font-family:var(--font-uk);font-size:1.3rem;margin:2px 0 6px;color:var(--muted)}.letter-sounds{margin:0 0 6px;color:var(--muted);font-size:.88rem}.letter-play-row{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}.letter-forms-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:8px;margin-bottom:18px}.letter-form-cell{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm)}.letter-form-glyph{font-family:var(--font-uk);font-size:1.7rem;line-height:1.4}.letter-form-label{font-size:.68rem;color:var(--muted);text-align:center}.btn-tiny{min-height:30px;padding:4px 10px;font-size:.74rem;border-radius:8px}.letter-example{border-top:1px solid var(--line);padding-top:14px;margin-bottom:16px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.letter-note{margin:4px 0 0;color:var(--muted);font-size:.85rem;line-height:1.5}.letter-reveal-glyph{font-family:var(--font-uk);font-size:2rem;line-height:1.3}.letter-option{padding:10px}.letter-option-glyph{font-family:var(--font-uk);font-size:1.9rem;line-height:1.4}.option-list-grid{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}.option-sound{font-style:italic;letter-spacing:.02em}.letter-screen{display:flex;flex-direction:column;gap:16px;max-width:640px;margin:0 auto}.letter-detail{display:flex;flex-direction:column}.trace-exercise,.trace-practice{display:flex;flex-direction:column;gap:12px}.trace-sub{color:var(--muted);font-size:.85rem;margin:2px 0 0}.trace-wrap{position:relative;width:100%;border-radius:var(--radius);border:1px dashed var(--line);background:var(--surface);overflow:hidden}.trace-canvas{display:block;width:100%;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none}.trace-hint-btn{position:absolute;right:10px;top:10px;border:1px solid var(--line);background:var(--surface);color:var(--accent);border-radius:999px;padding:5px 10px;font-size:.76rem;font-weight:600;cursor:pointer}.trace-tools{display:flex;gap:8px;justify-content:flex-end;padding:8px 10px;border-top:1px solid var(--line)}.trace-tool{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:8px;padding:5px 12px;font-size:.78rem;font-weight:600;cursor:pointer}.trace-tool:disabled{opacity:.4;cursor:default}.trace-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.trace-score-line{margin:0;font-size:.9rem}.trace-badge{border-radius:999px;padding:4px 10px;font-weight:700;font-size:.82rem}.trace-badge.good{background:var(--good-soft);color:var(--good)}.trace-badge.bad{background:var(--bad-soft);color:var(--bad)}.produce-modes{display:inline-flex;margin-bottom:6px}.produce-modes button:disabled{opacity:.6;cursor:default}.tiles-mode{display:flex;flex-direction:column;gap:16px}.build-tile{touch-action:none;-webkit-user-select:none;user-select:none}.build-tile:not(:disabled){cursor:grab}.build-tile:active:not(:disabled){cursor:grabbing}.build-answer.drag-over{border-color:var(--accent);background:var(--accent-soft)}.drag-ghost{position:fixed;z-index:60;transform:translate(-50%,-50%);pointer-events:none;background:var(--surface);border:2px solid var(--accent);border-radius:var(--radius-sm);padding:8px 12px;box-shadow:var(--shadow)}.type-row{display:flex;align-items:center;gap:10px}.type-input{flex:1;min-width:0;font-family:var(--font-uk);font-size:1.6rem;padding:12px 14px;border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);text-align:right}.type-input:focus{border-color:var(--accent);outline:none}.type-input:disabled{opacity:.75}.type-latin{color:var(--muted);font-style:italic;margin:2px 0 4px}.type-hint{color:var(--muted);font-size:.82rem;margin:0}.grammar-heading{margin:0 0 8px;font-size:1.05rem}.grammar-prose p{margin:0 0 4px;line-height:1.6}.grammar-prose,.grammar-examples{margin-bottom:18px}.grammar-sections{display:flex;flex-direction:column;gap:18px;margin-bottom:22px}.grammar-topic-head{margin-bottom:12px}.grammar-after{color:var(--muted);font-size:.85rem;margin:8px 0 0}.grammar-after a{color:var(--accent);font-weight:600}.read-tick{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);margin-left:6px;vertical-align:text-top}.grammar-topic-screen{max-width:680px;margin:0 auto}.root-lab{display:flex;flex-direction:column;gap:12px}.root-lab-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.root-badge{display:inline-flex;flex-direction:column;align-items:center;gap:1px;padding:6px 10px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm)}.root-badge-pattern{border-color:#cdd9f7;background:var(--fusha-soft)}.root-letters{font-family:var(--font-uk);font-size:1.35rem;font-weight:600;line-height:1.3}.root-latin{font-size:.75rem;color:var(--muted);font-style:italic;text-align:center}.root-op{font-size:1.3rem;color:var(--muted)}.root-results{list-style:none;margin:0;padding:0;display:grid;gap:8px}.root-result{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);flex-wrap:wrap}.root-result-arrow{color:var(--muted);flex:none}.root-result-word{display:inline-flex;flex-direction:column;align-items:center;min-width:68px}.root-result-ar{font-family:var(--font-uk);font-size:1.5rem;font-weight:600;line-height:1.35}.root-result-latin{font-size:.72rem;color:var(--muted);font-style:italic}.root-result-gloss{font-size:.9rem;flex:1;min-width:120px}.grammar-table-card{padding:16px}.grammar-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.grammar-table{border-collapse:collapse;width:100%;min-width:340px}.grammar-table th,.grammar-table td{border-bottom:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}.grammar-table thead th{font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);white-space:nowrap}.grammar-table tbody th{font-weight:600;font-size:.85rem;color:var(--muted);white-space:nowrap}.grammar-cell{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.grammar-cell-ar{font-family:var(--font-uk);font-size:1.25rem;line-height:1.4}.grammar-cell-fusha{color:var(--ink)}.grammar-cell-latin{display:block;font-size:.75rem;color:var(--muted);font-style:italic}.grammar-note{margin:12px 0 0;font-size:.85rem;color:var(--muted);line-height:1.55}.example-row{display:flex;align-items:center;gap:10px;justify-content:space-between}.raw-ar{display:inline-flex;flex-direction:column;align-items:center;gap:2px}.raw-ar-text{font-family:var(--font-uk);font-weight:600;line-height:1.4}.raw-ar-latin{font-size:.76rem;color:var(--muted);font-style:italic}.raw-ar-sm .raw-ar-text{font-size:1rem}.raw-ar-md .raw-ar-text{font-size:1.35rem}.raw-ar-lg .raw-ar-text{font-size:1.6rem}.raw-ar-lg .raw-ar-latin{font-size:.85rem}.seen-badge{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:#f0ede7;color:var(--muted);flex:none}.seen-badge.seen{background:var(--good-soft);color:var(--good)}.grammar-words{margin-bottom:22px}.word-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.word-chip{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.word-chip-gloss{font-size:.85rem;font-weight:600}.word-chip-foot{display:flex;align-items:center;gap:8px;margin-top:2px}.grammar-practice-cta{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.grammar-practice-cta h2{margin:0 0 4px;font-size:1.05rem}.grammar-practice-cta .muted{margin:0}.word-grid-single{grid-template-columns:1fr;max-width:380px;margin:0 auto 18px}.word-note{margin:0 0 14px;color:var(--muted);font-size:.88rem;line-height:1.5;text-align:center}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:380px;font-size:.9rem;font-weight:600}.toggle{position:relative;width:46px;height:26px;border-radius:999px;border:1px solid var(--line);background:var(--line);cursor:pointer;transition:background .15s ease;flex:none}.toggle.on{background:var(--accent);border-color:var(--accent)}.toggle-knob{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:999px;background:#fff;transition:transform .15s ease;box-shadow:0 1px 2px #0003}.toggle.on .toggle-knob{transform:translate(20px)}@media(min-width:700px){.lesson-list{grid-template-columns:repeat(2,1fr)}.word-grid,.option-list-wide{grid-template-columns:1fr 1fr}}@media(min-width:900px){.app{flex-direction:row}.nav{position:sticky;top:0;height:100dvh;width:248px;flex:none;flex-direction:column;border-top:0;border-right:1px solid var(--line);padding:24px 16px;gap:26px}.nav-brand{display:flex;flex-direction:column;gap:2px;padding:0 10px}.nav-brand .brand-ar{font-size:1.6rem}.nav-brand .brand-en{font-weight:700;font-size:.95rem}.nav-links{flex-direction:column;gap:6px;flex:0}.nav-link{flex-direction:row;gap:10px;padding:12px 14px}.nav-link.active{background:var(--accent-soft)}.nav-label{font-size:.95rem}.brand-line{display:none}.main{padding:36px 40px 64px}.app-focus .main{margin:0 auto}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media(max-width:430px){.nav-link{min-width:0;padding:8px}.nav-label{font-size:.66rem}}
