.book-guide{margin:-.6rem 0 1.75rem}.reader .book-guide-toggle{grid-column:1;grid-row:1;justify-self:start;display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:.5rem .7rem;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-control);font-size:.9rem}.book-guide-toggle .is-open{transform:rotate(180deg)}.book-guide-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) minmax(0,1fr);margin-top:.75rem;padding:1.35rem 0;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.book-guide-section{min-width:0;padding:0 1.35rem}.book-guide-section+.book-guide-section{border-left:1px solid var(--border)}.book-guide-panel h2,.book-guide-panel h3{margin:0 0 .85rem;font:600 1rem/1.4 var(--sans)}.book-guide-panel h2{font-size:1.15rem}.book-guide-panel p{margin:.5rem 0 .85rem;line-height:1.6;color:var(--muted);font-size:.85rem}.book-guide-panel p.book-guide-caption{font-size:.75rem;line-height:1.5;margin:.45rem 0}.book-guide-length-bar,.book-guide-coverage{display:flex;overflow:hidden;height:10px;border-radius:4px;background:var(--soft)}.book-guide-length-bar{height:7px;margin-top:1.2rem}.book-guide-length-bar>span{display:block;background:var(--muted)}.book-guide-scale-ends{display:flex;justify-content:space-between;color:var(--muted);font-size:.7rem;margin-top:.3rem}.book-guide-legend{display:flex;flex-wrap:wrap;gap:.3rem .65rem;margin-top:.55rem;font-size:.65rem;color:var(--muted)}.book-guide-legend>span{display:inline-flex;align-items:center;gap:.25rem;text-transform:capitalize}.book-guide-legend i{width:7px;height:7px;border-radius:50%}.book-guide .book-guide-prepare{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:.4rem 0;border:0;background:transparent;color:var(--green);font-size:.85rem;font-weight:500}.book-guide .book-guide-prepare:hover{text-decoration:underline}.book-guide-grammar-heading{display:flex;align-items:baseline;gap:.4rem;margin-top:-.45rem}.book-guide-grammar-heading h3{margin:0}.book-guide .book-guide-info{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--muted)}.book-guide-three{display:flex;gap:4px;height:10px;margin-top:.4rem}.book-guide-three>span{flex:1;min-width:0;border-radius:3px;background:var(--soft)}.book-guide-three>.is-filled:nth-child(1){background:#4b9274}.book-guide-three>.is-filled:nth-child(2){background:#d99427}.book-guide-three>.is-filled:nth-child(3){background:#d86c65}.book-guide-grammar-detail{display:grid;grid-template-columns:5.2rem minmax(0,1fr);align-items:center;gap:.8rem;margin-top:.55rem;font-size:.75rem;color:var(--muted)}.book-guide-grammar-detail .book-guide-three{height:6px;margin-top:0}.book-guide-info-dialog{max-height:calc(100dvh - 3rem);overflow-y:auto}.book-guide-info-dialog h3{font-size:1rem;margin:1.25rem 0 .5rem}.book-guide-info-dialog p{line-height:1.6}@media(max-width:1100px){.book-guide-panel{grid-template-columns:1fr;padding:0 1.15rem}.book-guide-section{padding:1.1rem 0}.book-guide-section+.book-guide-section{border-left:0;border-top:1px solid var(--border)}.book-guide-book-counts{display:flex;flex-wrap:wrap;gap:0 .4rem}.book-guide-book-counts span+span:before{content:"· "}.book-guide-length-bar{margin-top:.65rem}.book-guide-legend{font-size:.7rem}.book-guide-grammar-detail{grid-template-columns:6.5rem minmax(0,1fr)}}.book-guide-book-counts>span{display:block}.book-guide-vocabulary-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-top:-.45rem}.book-guide-vocabulary-heading h3{margin:0}@media(max-width:1100px){.book-guide-section{padding:.85rem 0}.book-guide-panel h2{margin-bottom:.4rem}.book-guide-panel .book-guide-book-counts{margin:.3rem 0}.book-guide .book-guide-prepare{font-size:.8rem}.book-guide-grammar-detail{margin-top:.4rem}}@media(max-width:700px){.reader-controls .book-guide-toggle{grid-column:2;grid-row:1;align-self:center;justify-self:end;gap:.3rem;padding:.4rem;font-size:.8rem}.book-guide-toggle-icon{display:none}}@font-face{font-family:Reader Gentium Plus;src:url(/assets/GentiumPlus-Regular-BImGDX8Z.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Reader Cardo;src:url(/assets/Cardo-Regular-C8rpj38o.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}.reader{--reader-text-size: 1.6rem;--reader-row-gap: 1.15rem;max-width:64rem;min-width:0}.reader[data-text-size=larger]{--reader-text-size: 1.8rem}.reader[data-line-spacing=roomier]{--reader-row-gap: 1.7rem}.reader-display-choice{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:48px;margin:0;font-size:.9rem}.reader .reader-display-choice select{width:9rem;max-width:65%;min-height:44px;padding:.35rem .5rem;font-size:.85rem}.reader-controls{display:grid;grid-template-columns:minmax(44px,1fr) minmax(0,auto) minmax(44px,1fr);align-items:center;gap:.6rem;margin:.5rem 0 1.75rem;position:relative}.reader-navigation{grid-column:2;display:flex;align-items:center;justify-content:center;gap:.4rem;min-width:0}.reader-reference{margin:0;min-width:0;font-size:clamp(1.15rem,2.3vw,1.6rem)}.reader .reader-reference-picker{display:flex;align-items:center;justify-content:center;gap:.6rem;min-height:48px;max-width:100%;font:inherit;font-family:var(--serif);font-weight:600;color:var(--ink);background:transparent;border-color:transparent;padding:.5rem .65rem;line-height:1.3}.reader-reference-picker span{min-width:0;overflow-wrap:anywhere}.reader-reference-picker svg{flex-shrink:0}.reader .reader-reference-picker:hover{background:var(--surface);border-color:var(--border)}.reader-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:10px}.reader .reader-chapter-button{flex-basis:36px;width:36px;height:36px;color:var(--muted);border-color:transparent;background:transparent;border-radius:8px}.reader .reader-chapter-button:hover:not(:disabled){color:var(--ink);background:var(--surface);border-color:var(--border)}.reader-aids{grid-column:3;justify-self:end;position:relative}.reader-aids-panel{position:absolute;top:calc(100% + .5rem);right:0;z-index:45;width:17rem;max-width:calc(100vw - 2rem);padding:.6rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 28px #17334b24}.reader-aid-switch{margin:0;display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:48px;font-size:.9rem;cursor:pointer}.reader-aids-heading{margin:.2rem 0 .4rem;font-weight:600;font-size:1rem}.reader-gloss-frequency{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.2rem 0 .75rem .6rem;margin-bottom:.3rem;border-bottom:1px solid var(--border);font-size:.85rem}.reader-gloss-frequency label{margin:0}.reader .reader-gloss-frequency input{width:5rem;min-width:0;min-height:44px;padding:.35rem .5rem}.reader .reader-aid-switch input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:38px;height:22px;min-height:22px;padding:0;min-width:38px;margin:0;border-radius:999px;border:1px solid var(--muted);background:color-mix(in srgb,var(--muted) 30%,var(--surface));cursor:pointer}.reader-aid-switch input:before{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--surface)}.reader-aid-switch input:checked{background:#087f86;border-color:#087f86}.reader-aid-switch input:checked:before{left:18px}.reader-aid-switch input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.reader-jump-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a192859;z-index:50}.reader-jump-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:51;width:min(30rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;padding:1.5rem;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:16px;box-shadow:0 12px 40px #0a192833}.reader-jump-dialog h2{margin:0 3rem .5rem 0}.reader-jump-dialog p{color:var(--muted)}.reader-jump-close{position:absolute;top:.75rem;right:.75rem}.reader-passage-controls{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.reader-passage-controls label{display:flex;flex-direction:column;gap:.4rem;min-width:0}.reader-passage-controls label:first-child{grid-column:1 / -1}.reader-passage-controls select{width:100%;min-height:44px}.reader-jump-submit{margin-top:1.25rem}.reader-threshold-field{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:.5rem}.reader-threshold-field input{width:7rem;max-width:100%}.reader .reader-verb-mark,.reader .reader-noun-mark{text-decoration-line:underline;text-decoration-thickness:2px;text-underline-offset:.3rem}.reader .reader-verb-mark{text-decoration-color:#087f86;text-decoration-style:solid}.reader .reader-noun-mark{text-decoration-color:#356fa1;text-decoration-style:dotted}.reader-verse{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;column-gap:.7rem;row-gap:var(--reader-row-gap);padding:1rem 0 1.5rem}.reader-row-dividers{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.reader-row-divider{position:absolute;inset-inline:0;height:1px;background:color-mix(in srgb,var(--border) 65%,transparent)}.reader-token{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;max-width:min(13rem,100%);gap:.3rem}.reader-token-head{display:flex;align-items:center;gap:.2rem;min-height:max(44px,var(--reader-head-height, 44px));max-width:100%}.reader .reader-greek{background:transparent;color:var(--ink);border:0;border-radius:4px;box-shadow:none;padding:.1rem .15rem;font-family:var(--serif);font-size:var(--reader-text-size);font-weight:400;line-height:1.5;text-align:center;min-width:0;overflow-wrap:anywhere}.reader .reader-greek:hover,.reader .reader-greek[aria-expanded=true]{background:color-mix(in srgb,var(--accent) 15%,var(--surface))}.reader .reader-greek[aria-expanded=true]{box-shadow:inset 0 -2px var(--accent)}.reader .reader-greek:focus-visible{background:color-mix(in srgb,var(--accent) 12%,var(--surface));outline:2px solid var(--accent);outline-offset:3px}.reader-hapax{display:inline-flex;align-items:center;border-radius:.3rem;padding:.1rem .25rem;background:#fff0cc;color:#775100;border:1px solid #d5a63c;font-family:sans-serif;font-size:.7rem;line-height:1.3;white-space:nowrap}.reader-root,.reader-parsing,.reader-gloss{color:var(--muted);font-size:.8rem;line-height:1.45;overflow-wrap:anywhere}.reader-root{font-family:var(--serif);font-size:1rem;min-height:var(--reader-root-height, 0px)}.reader-parsing{font-size:.7rem;min-height:var(--reader-parsing-height, 0px)}.reader-root-content,.reader-parsing-content{display:block}.reader-token-aids{min-height:var(--reader-aid-height, 0px);width:100%}.reader-token-aids-content{display:flex;flex-direction:column;align-items:center;gap:.2rem}.reader-pause-phrase{margin-inline-end:.15em}.reader-pause-sentence{margin-inline-end:.35em}.reader-lookup{position:fixed;z-index:40;width:min(24rem,calc(100vw - 24px));padding:.75rem .875rem;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 6px 24px #17334b24;overflow-wrap:anywhere;overflow-y:auto;outline:none}.reader-lookup:before{content:"";position:fixed;width:12px;height:12px;left:calc(var(--reader-arrow-left) - 6px);background:var(--surface);border-top:1px solid var(--border);border-left:1px solid var(--border);transform:translate(var(--reader-popover-left, 0px)) rotate(45deg)}.reader-lookup[data-side=below]:before{top:calc(var(--reader-popover-top, 0px) - 6px)}.reader-lookup[data-side=above]:before{top:calc(var(--reader-popover-top, 0px) + var(--reader-popover-height, 0px) - 6px);transform:translate(var(--reader-popover-left, 0px)) rotate(225deg)}.reader-lookup-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.reader-lookup-heading h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem;font-family:var(--serif);font-size:1.25rem;line-height:1.3;font-weight:500;margin:0;min-width:0}.reader-lookup-arrow{font-family:var(--sans);font-size:.95rem;color:var(--muted)}.reader-lookup-lemma{font-size:1.05rem}.reader-lookup .reader-lookup-close{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;margin:-8px -8px 0 0;border:0;background:transparent;color:var(--muted);border-radius:8px}.reader-lookup .reader-lookup-close:hover{background:color-mix(in srgb,var(--accent) 10%,transparent)}.reader-lookup .reader-lookup-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.reader-lookup-meaning{margin:.25rem 0 0;line-height:1.4;font-size:.95rem}.reader-lookup-parsing{margin:.125rem 0 0;font-size:.75rem;color:var(--muted);line-height:1.4}.reader-lookup-hapax{margin-top:.4rem}@media(max-width:700px){.reader{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:.4rem}.reader>*{grid-column:1 / -1}.reader .reader-title{grid-column:1;grid-row:1}.reader-controls{display:contents}.reader-controls .reader-navigation{grid-column:1 / -1;grid-row:2;margin:.5rem 0 1.5rem}.reader-navigation{width:100%;gap:.15rem}.reader .reader-chapter-button{flex-basis:32px;width:32px;height:36px}.reader-navigation>.reader-icon-button:not(.reader-chapter-button){flex-basis:40px;width:40px}.reader-controls .reader-aids{grid-column:3;grid-row:1;align-self:center;position:relative}.reader .reader-reference-picker{padding:.4rem;gap:.3rem}.reader-reference{font-size:clamp(.95rem,4.3vw,1.15rem)}.reader-verse{column-gap:.6rem}.reader{--reader-text-size: 1.45rem}.reader[data-text-size=larger]{--reader-text-size: 1.65rem}.reader{padding-bottom:var(--reader-lookup-space, 0px)}.reader-lookup{top:auto;left:0;bottom:0;width:100%;max-height:60dvh;border-radius:16px 16px 0 0;padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom));box-shadow:0 -6px 24px #17334b24}.reader-lookup:before{display:none}}.dialog.grammar-flow-frame{width:min(620px,calc(100vw - 32px));max-width:620px;height:min(760px,90dvh);max-height:90dvh;padding:24px;display:flex;flex-direction:column;overflow:hidden}.dialog.grammar-flow-frame>h2{flex-shrink:0;min-height:44px;padding:0 44px 0 0;margin:0 0 12px;display:flex;align-items:center;font:600 21px/1.3 var(--sans);text-align:left}.dialog.grammar-flow-frame>.close{top:24px;right:24px;width:44px;height:44px;padding:0}.grammar-flow-frame .grammar-review-body,.grammar-flow-frame .grammar-preview-dialog-body{flex:1;min-height:0;width:100%;max-width:none;margin:0;padding-bottom:8px;scrollbar-gutter:stable;overscroll-behavior:contain}.grammar-flow-frame .grammar-review-footer{width:100%;max-width:none;margin:0}.grammar-flow-frame .grammar-flow-back{flex-shrink:0;display:inline-flex;align-items:center;align-self:start;gap:6px;min-height:40px;margin:-4px 0 8px;padding:0 4px}.grammar-flow-frame .grammar-picker-instruction{margin:0 0 4px}.grammar-flow-frame .study-shelf-heading{margin-bottom:10px}.grammar-flow-frame .grammar-show-filter{margin:8px 0 12px}.grammar-flow-frame .grammar-pattern-row{padding:12px 0}.grammar-flow-frame .grammar-pattern-row h3{font-size:16px}.grammar-flow-frame .grammar-pack-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;row-gap:6px}.grammar-flow-frame .grammar-pack-row>.mastery-unit-actions{grid-column:1 / -1;grid-row:2;display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 0}.grammar-flow-frame .grammar-pack-row>div:first-child{grid-column:1;grid-row:1}.grammar-flow-frame .grammar-pack-row>.grammar-score-progress-row{grid-column:2;grid-row:1;justify-self:end}.grammar-flow-frame .grammar-pack-row .mastery-unit-actions button{width:auto;min-height:44px;padding:8px 12px}.grammar-flow-frame .grammar-frequency-range,.grammar-flow-frame .grammar-caught-up{color:var(--muted);font-size:12px;margin:4px 0}.grammar-flow-frame .grammar-stage-tabs,.grammar-flow-frame .grammar-preview-stage-tabs{display:flex;padding:4px;gap:4px;margin:12px 0;background:var(--soft);border-radius:10px}.grammar-flow-frame .grammar-stage-tabs button,.grammar-flow-frame .grammar-preview-stage-tabs button{flex:1;min-width:0;min-height:44px;padding:8px;font-size:13px;border:0;background:transparent}.grammar-flow-frame .grammar-stage-tabs button[aria-pressed=true],.grammar-flow-frame .grammar-preview-stage-tabs button[aria-pressed=true]{background:var(--surface);border-radius:7px}.grammar-mixed-stage h3>small{font:400 12px var(--sans);color:var(--muted)}.grammar-flow-frame .grammar-saved-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 12px}.grammar-flow-frame .grammar-preposition-actions{margin:12px 0}.grammar-flow-frame .grammar-review-progress{margin-top:4px}.grammar-flow-frame .grammar-assessment-rule{font-size:12px;line-height:1.4;margin:8px 0}.grammar-flow-frame .grammar-live-answer{padding:6px 10px;margin:6px 0}.grammar-flow-frame .grammar-live-answer small{display:none}.grammar-flow-frame .grammar-study-back{min-height:32px;padding:4px 0;margin:0}.grammar-flow-frame .grammar-context-note{font-size:11px;margin:4px 0}.grammar-flow-frame .grammar-compact-features button{min-height:44px}.dialog.grammar-completed-frame,.dialog.grammar-flow-frame.grammar-single-paradigm-picker{height:auto}.grammar-completed-frame .grammar-review-body{flex:0 1 auto;padding-bottom:12px}.grammar-completion-summary h3{font-size:23px;margin:4px 0 14px}.grammar-completion-summary p{margin:10px 0}.grammar-completion-summary small{display:block;color:var(--muted);margin-top:4px}.grammar-completion-due{font-weight:600}.grammar-completion-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}.grammar-completion-actions button{min-height:44px}.grammar-completion-actions .grammar-retake{flex-basis:100%;text-align:left;justify-content:start}.grammar-decomposition-details{margin:12px 0}.grammar-decomposition-details>summary,.grammar-section-results>summary{min-height:44px;padding:10px 0;cursor:pointer}.grammar-decomposition-details .decomposition-heading,.grammar-preview-breadcrumbs[hidden]{display:none}.grammar-flow-frame .grammar-preview-compare-picker{margin-bottom:8px}.grammar-flow-frame .prep-chart-map>svg{min-width:0}@media(max-width:700px){.dialog.grammar-flow-frame{width:100%;max-width:100%;height:92dvh;max-height:92dvh;top:auto;bottom:0;left:0;transform:none;border-radius:20px 20px 0 0;padding:16px 16px max(16px,env(safe-area-inset-bottom))}.dialog.grammar-flow-frame.grammar-single-paradigm-picker{bottom:0}.dialog.grammar-flow-frame>h2{font-size:19px;margin-bottom:8px}.dialog.grammar-flow-frame>.close{top:16px;right:16px}.dialog.grammar-completed-frame{height:auto}.grammar-flow-frame .grammar-pattern-row:not(.grammar-pack-row){grid-template-columns:minmax(0,1fr) auto;column-gap:8px}.grammar-flow-frame .grammar-pattern-row:not(.grammar-pack-row) .grammar-pattern-progress{grid-column:1;grid-row:2;padding:0;text-align:left;font-size:12px;justify-self:start;height:auto;min-height:0;line-height:1.3}.grammar-flow-frame .grammar-pattern-row:not(.grammar-pack-row) .mastery-unit-actions{grid-column:2;grid-row:1 / 3;display:flex;flex-direction:column;gap:6px}.grammar-flow-frame .grammar-pattern-row:not(.grammar-pack-row) .mastery-unit-actions button{width:auto;min-height:44px;padding:8px 10px}.grammar-flow-frame .grammar-pack-row .mastery-unit-actions button{flex:1}.grammar-completion-actions{flex-direction:column}.grammar-completion-actions .grammar-retake{flex-basis:auto}}@media(max-height:650px){.grammar-flow-frame .grammar-assessment-rule{font-size:11px;margin:4px 0}.grammar-flow-frame .grammar-live-answer{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%)}}.grammar-flow-frame .paradigm-decomposition{position:sticky;top:0;z-index:4;padding:12px;margin-bottom:12px}.grammar-flow-frame .decomposition-heading{margin-bottom:4px}.decomposition-parse,.grammar-table-hint{color:var(--muted);font-size:12px;line-height:1.4;margin:4px 0 8px}.grammar-flow-frame .decomposition-part{padding:8px;gap:4px}.grammar-flow-frame .decomposition-part strong{font-size:26px}.grammar-flow-frame .grammar-pack-row>.mastery-unit-actions,.grammar-flow-frame .grammar-preposition-actions{display:grid;grid-template-columns:repeat(2,160px);gap:8px;justify-content:start}.grammar-flow-frame .grammar-pack-row .mastery-unit-actions button,.grammar-flow-frame .grammar-preposition-actions button{width:100%}.dialog.grammar-flow-frame.grammar-short-picker{height:auto}.grammar-short-picker .grammar-review-body{flex:0 1 auto}.grammar-flow-frame .grammar-saved-banner>span{min-width:0;flex:1 1 180px}.grammar-reference-label{font:400 12px var(--sans);margin-left:4px}.grammar-flow-frame .prep-chart-link{display:inline-flex;align-items:center;gap:4px;min-height:44px}@media(max-width:700px){.grammar-flow-frame .grammar-pack-row>.mastery-unit-actions,.grammar-flow-frame .grammar-preposition-actions{grid-template-columns:minmax(0,1fr);width:100%}.grammar-flow-frame .grammar-saved-banner{flex-direction:column;align-items:stretch}.grammar-flow-frame .grammar-saved-banner>span{flex:none}.grammar-flow-frame .grammar-saved-banner button{width:100%;white-space:normal}}.preposition-study-guide{margin-top:16px}.preposition-guide-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.preposition-guide-heading h3{margin:0}.preposition-guide-heading button{min-height:44px}.preposition-study-guide h4{margin:16px 0 8px;font-size:14px}.preposition-guide-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.preposition-guide-entries button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;min-height:56px;padding:8px 10px;text-align:left;white-space:normal}.preposition-guide-entries button[aria-pressed=true]{border-color:var(--accent);background:var(--soft)}.preposition-guide-entries [lang=grc]{font:22px var(--serif)}.preposition-guide-entries small{color:var(--muted);font-size:12px}.preposition-guide-practice{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;background:var(--surface);border-top:1px solid var(--border);margin-top:12px}.preposition-guide-practice>span:first-child{font:24px var(--serif)}.preposition-guide-practice button{min-height:44px;margin-left:auto}@media(max-width:700px){.preposition-guide-entries{grid-template-columns:repeat(2,minmax(0,1fr))}.preposition-guide-practice button{width:100%}}.grammar-preview .grammar-view-paradigms,.grammar-preview-title-line .grammar-preview-view{width:auto;flex-basis:auto}@media(max-width:700px){.grammar-preview-choice .grammar-reference-label,.grammar-preview .grammar-view-paradigms .grammar-reference-label{display:none}.grammar-preview-title-line .grammar-preview-view{flex-basis:44px}}.preposition-study-guide .prep-case-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.preposition-study-guide .prep-table-scroll{max-height:60dvh;overflow:auto;margin:12px 0;isolation:isolate}.preposition-study-guide .prep-case-table{border-collapse:separate;border-spacing:0}.preposition-study-guide .prep-case-table thead{position:sticky;top:0;z-index:3}.preposition-study-guide .prep-case-table th{background:var(--surface)}.preposition-study-guide .prep-case-table thead th{background:var(--soft)}.preposition-study-guide .prep-case-table th:first-child{position:sticky;left:0;z-index:2}.preposition-study-guide .prep-case-table thead th:first-child{z-index:4}.preposition-study-guide .prep-case-table th button{font:inherit;min-height:44px;padding:4px 8px}.preposition-study-guide .prep-case-table th button[aria-pressed=true]{background:var(--soft);outline:1px solid var(--accent);border-radius:6px}.grammar-article-actions{display:flex;align-items:center;gap:16px;margin:4px 0 16px}.grammar-article-actions>button{min-width:140px;min-height:44px}.grammar-article-overview .pronoun-reference>section>h3{display:none}.grammar-article-overview .pronoun-reference>p{font-size:12px;color:var(--muted)}@media(max-width:700px){.preposition-study-guide .prep-case-table th:first-child{min-width:110px}}@media(max-width:700px){.grammar-article-overview .paradigm-comparison-table{width:100%;min-width:100%;table-layout:fixed}.grammar-article-overview .paradigm-comparison-table th,.grammar-article-overview .paradigm-comparison-table td{min-width:0;padding:8px 4px}.grammar-article-overview .paradigm-comparison-table th:first-child:not([colspan]){width:30%;font-size:12px}.grammar-article-overview .paradigm-comparison-table thead small{font-size:11px}}.grammar-shared-section{margin-top:1rem}.grammar-shared-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.grammar-shared-toolbar h2{flex:1;margin:0}.grammar-shared-study-actions,.grammar-shared-reference-modes,.grammar-shared-section-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}.grammar-shared-choice{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;border-bottom:1px solid var(--border);padding:.65rem 0}.grammar-shared-compare-picker{display:flex;flex-wrap:wrap;gap:.75rem;padding:1rem;margin:1rem 0;min-width:0}.grammar-shared-compare-picker label{display:flex;align-items:center;gap:.3rem}.grammar-shared-table-scroll{max-width:100%;overflow:auto;max-height:65vh;position:relative;margin:1rem 0}.grammar-shared-table-scroll table{width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap}.grammar-shared-table-scroll caption{text-align:left;padding:.5rem;font-size:.85rem}.grammar-shared-table-scroll th,.grammar-shared-table-scroll td{text-align:center;padding:.65rem;border-bottom:1px solid var(--border)}.grammar-shared-table-scroll thead th{position:sticky;top:0;z-index:2;background:var(--surface)}.grammar-shared-table-scroll thead tr:nth-child(2) th{top:3.25rem}.grammar-shared-table-scroll th[scope=row]{position:sticky;left:0;z-index:1;background:var(--surface);text-align:left}.grammar-shared-table-scroll thead th:first-child[rowspan]{left:0;z-index:3}.grammar-shared-table-scroll td{font-size:1.15rem}.grammar-shared-table-scroll small{display:block;font-size:.75rem}.grammar-shared .study-set-card>button{margin-top:.5rem}.grammar-shared-reference,.grammar-shared-section{min-width:0}.grammar-shared-reference-modes button[aria-pressed=true]{border-color:var(--accent);font-weight:700}@media(max-width:600px){.grammar-shared-toolbar h2{flex-basis:65%}.grammar-shared-table-scroll th,.grammar-shared-table-scroll td{padding:.5rem}.grammar-shared-table-scroll{max-height:60vh}.grammar-shared-compare-picker{padding:.5rem}.grammar-shared .grammar-study-decks{min-width:0}}.grammar-shared-dialog{width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}.grammar-shared-navigation{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-right:44px;min-height:44px}.grammar-shared-navigation>button:first-child{display:inline-flex;align-items:center;gap:.4rem}.grammar-shared-dialog .grammar-shared-section{margin-top:0}@media(max-width:600px){.grammar-shared-dialog{width:100%;max-height:92dvh;padding:16px}.grammar-shared-navigation>button:first-child{text-align:left}}.grammar-shared-compare-picker input[type=checkbox]{width:auto;flex:0 0 auto}.grammar-shared-compare-picker label{white-space:nowrap}.grammar-shared-choice{display:grid;grid-template-columns:minmax(0,1fr) 44px auto;column-gap:.5rem;row-gap:.15rem;align-items:center}.grammar-shared-choice>small{grid-column:1;grid-row:2;color:var(--muted)}.grammar-shared .grammar-view-paradigms{width:44px;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.grammar-shared-navigation{position:sticky;top:0;z-index:5;background:var(--surface);padding-right:0}.grammar-shared-navigation>button:first-child{min-width:0}.grammar-shared-navigation>button:first-child svg{flex-shrink:0}.grammar-shared-navigation .close{position:static;flex:0 0 44px;width:44px;min-height:44px;padding:0}.grammar-shared-dialog .grammar-shared-toolbar h2{padding-right:0}@media(max-width:600px){.grammar-shared-dialog .grammar-shared-toolbar{align-items:flex-start;gap:.5rem}.grammar-shared-dialog .grammar-shared-toolbar h2{flex-basis:100%}.grammar-shared-compare-picker label{white-space:normal;min-width:0;max-width:100%;overflow-wrap:break-word}.grammar-shared-compare-picker input[type=checkbox]{width:20px;height:20px}}.grammar-shared-compare-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));align-items:start;gap:.25rem .75rem}.grammar-shared-compare-picker label{margin:0;min-height:44px;font-size:.85rem;white-space:normal;overflow-wrap:break-word}.grammar-shared-compare-picker input[type=checkbox]{width:20px;height:20px;padding:0;margin:0}.grammar-shared-compare-picker>button{grid-column:1 / -1;justify-self:start;min-height:44px}.grammar-shared-compare{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;padding:0}.grammar-shared-dialog .grammar-shared-toolbar:has(.grammar-shared-compare){align-items:center}.grammar-shared-dialog .grammar-shared-toolbar:has(.grammar-shared-compare) h2{flex:0 1 auto;min-width:0}.dialog.grammar-shared-frame{width:min(960px,calc(100vw - 32px));max-width:960px;height:min(760px,90dvh);max-height:90dvh;padding:28px;display:flex;flex-direction:column;overflow:hidden}.grammar-shared-frame .grammar-shared-navigation{flex-shrink:0}.grammar-shared-dialog-body{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain}.grammar-shared-frame .grammar-review-body{width:100%;max-width:680px;margin-inline:auto;scrollbar-gutter:stable}.grammar-shared-frame.grammar-reference-dialog .grammar-review-body{max-width:none}.grammar-shared-frame .grammar-review-footer{width:100%;max-width:680px;margin-inline:auto}.grammar-shared-frame.grammar-review-dialog>h2{min-height:44px;margin:0 44px 12px 0;padding:0;display:flex;align-items:center;font-size:20px;font-family:var(--sans);text-align:left}.grammar-shared-frame.grammar-review-dialog>.close{right:28px;top:28px;width:44px;height:44px;padding:0}@media(max-width:700px){.dialog.grammar-shared-frame{width:100%;max-width:100%;height:92dvh;max-height:92dvh;top:auto;bottom:0;left:0;transform:none;border-radius:22px 22px 0 0;padding:16px}.grammar-shared-frame.grammar-review-dialog>.close{right:16px;top:16px}}.dialog.grammar-shared-frame{width:min(620px,calc(100vw - 32px));max-width:620px}.grammar-shared-reference>.grammar-shared-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:44px}.grammar-shared-reference>.grammar-shared-toolbar h2{min-width:0;margin:0;font-size:22px;padding-right:0}.grammar-shared-reference>.grammar-shared-toolbar>button:last-child{min-height:44px;white-space:nowrap}.grammar-shared-reference-modes{display:inline-flex;gap:0;padding:3px;border-radius:10px;background:var(--soft)}.grammar-shared-reference-modes button{border:0;min-height:38px;background:transparent;min-width:80px}.grammar-shared-reference-modes button[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 4px #0002;border-radius:8px}.grammar-shared-compare-picker{display:flex;flex-wrap:wrap;gap:.4rem;padding:.25rem 0;margin:.25rem 0 1rem;border:0}.grammar-shared-compare-picker legend{font-size:.8rem;color:var(--muted);margin-bottom:.35rem}.grammar-shared-compare-picker .grammar-shared-chip{display:inline-flex;align-items:center;justify-content:flex-start;gap:.35rem;min-height:40px;padding:.4rem .6rem;font-size:.85rem;border-radius:8px;background:var(--surface);white-space:normal;text-align:left}.grammar-shared-chip svg{flex-shrink:0}.grammar-shared-compare-picker .grammar-shared-chip[aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--ink)}.grammar-shared-compare-picker .grammar-shared-chip:disabled[aria-pressed=true]{opacity:1;cursor:default}.grammar-shared-reference-note{display:block;margin-top:.5rem}.grammar-shared-table-scroll table{border-spacing:0}.grammar-shared-table-scroll th,.grammar-shared-table-scroll td{border:1px solid var(--border)}.grammar-shared-table-scroll td{padding:0;height:56px}.grammar-shared-table-scroll td .decomposition-form{display:flex;width:100%;min-width:100%;min-height:56px;align-items:center;justify-content:center;margin:0;padding:.5rem .65rem;border:0;border-radius:0;background:transparent;box-shadow:none}.grammar-shared-table-scroll td:has(.decomposition-form[aria-pressed=true]){background:var(--soft);box-shadow:inset 0 0 0 2px var(--green)}.grammar-shared-table-scroll td .decomposition-form[aria-pressed=true]{background:transparent;outline:0}.grammar-shared-table-scroll td .decomposition-form:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.grammar-shared-table-scroll td small{padding:.2rem}.grammar-shared-table-scroll thead{position:sticky;top:0;z-index:3}.grammar-shared-table-scroll thead th{position:static}.grammar-shared-table-scroll thead th:first-child[rowspan]{position:sticky;left:0}@media(max-width:700px){.dialog.grammar-shared-frame{width:100%;max-width:100%}.grammar-shared-reference>.grammar-shared-toolbar h2{font-size:20px}.grammar-shared-reference>.grammar-shared-toolbar>button:last-child{padding:.5rem;font-size:.8rem}}.grammar-shared-reference>.grammar-shared-toolbar.has-reference-back{grid-template-columns:auto minmax(0,1fr)}.grammar-shared-toolbar.has-reference-back>button:first-child{justify-self:start}.grammar-shared-table-scroll td:has(.decomposition-form+.decomposition-form) .decomposition-form[aria-pressed=true]{box-shadow:inset 3px 0 var(--green);font-weight:600}.grammar-shared-chip-picker .grammar-shared-voice-scroll{width:100%;overflow-x:auto}.grammar-shared-voice-grid{display:grid;grid-template-columns:minmax(64px,.7fr) repeat(3,minmax(0,1fr));gap:3px;min-width:0;align-items:stretch}.grammar-shared-voice-heading{color:var(--muted);font-size:.75rem;font-weight:600;text-align:center;align-self:end;padding:0 .2rem .2rem}.grammar-shared-tense{align-self:center;font-size:.78rem;font-weight:600;padding:0 .1rem;white-space:nowrap}.grammar-tense-short{display:none}.grammar-shared-voice-grid .grammar-shared-chip,.grammar-shared-shared-voice .grammar-shared-chip{width:100%;height:100%;min-height:34px;padding:.22rem .15rem;font-size:.72rem;gap:.12rem;white-space:nowrap}.grammar-shared-voice-grid .grammar-shared-chip svg{width:12px;height:12px}.grammar-shared-voice-empty{min-height:34px}.grammar-shared-shared-voice{grid-column:span 2}.grammar-shared-chip-picker .grammar-shared-noun-grid,.grammar-shared-chip-picker .grammar-shared-other-grid{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.grammar-shared-chip-picker .grammar-shared-noun-grid .grammar-shared-chip,.grammar-shared-chip-picker .grammar-shared-other-grid .grammar-shared-chip{width:100%;min-width:0}.grammar-shared-noun-label{display:flex;flex-direction:column;line-height:1.25}.grammar-shared-noun-label small{color:var(--muted);font-size:.7rem}@media(max-width:430px){.grammar-shared-voice-grid{grid-template-columns:64px repeat(3,minmax(0,1fr))}.grammar-shared-voice-heading{font-size:.7rem}.grammar-shared-chip-picker .grammar-shared-noun-grid,.grammar-shared-chip-picker .grammar-shared-other-grid{gap:.35rem}}@media(max-width:360px){.grammar-shared-voice-grid{grid-template-columns:64px repeat(3,minmax(0,1fr))}.grammar-tense-full{display:none}.grammar-tense-short{display:inline}}.grammar-shared-stage-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;margin:.8rem 0 1.25rem;background:var(--soft);border-radius:10px}.grammar-shared-stage-tabs button{min-width:0;min-height:44px;border:0;background:transparent;padding:.45rem .4rem;font-size:.86rem;text-align:center}.grammar-shared-stage-tabs button[aria-pressed=true]{border-radius:8px;background:var(--surface);box-shadow:0 1px 4px #0002;font-weight:700}.grammar-shared-voice-grid .grammar-shared-chip{justify-content:center;padding:.25rem;font-size:1rem}.grammar-shared-voice-unselected{color:var(--muted);font-size:.9rem}@media(max-width:430px){.grammar-shared-stage-tabs button{font-size:.72rem}.grammar-shared-stage-tabs button{min-height:44px}}.grammar-shared-reference .prep-chart-map>svg{min-width:0}.grammar-shared-chart-description{color:var(--muted);line-height:1.4}.irregular-full-parse ul{padding-left:1.2rem;line-height:1.6}.irregular-family-row h4{margin:0 0 .3rem;font-size:1.05rem}.irregular-family-progress{font-size:.85rem}.grammar-shared-choice button{min-height:44px}@media(max-width:600px){.grammar-shared-choice{gap:.5rem}}.grammar-shared-dialog .grammar-shared-navigation{padding-right:44px}.grammar-shared-dialog>.close{z-index:6}.irregular-subsets{display:grid;gap:.65rem}.irregular-subset-card{padding:1.25rem;border:1px solid var(--border);border-radius:1rem}.irregular-subset-card h3{margin:.35rem 0}.irregular-subset-card p{margin:.5rem 0}.irregular-subset-card progress,.irregular-subset-view>progress{width:100%;height:.55rem;accent-color:var(--accent)}.irregular-subset-lemmas{font-size:1.15rem}.irregular-mode-controls{margin:.75rem 0;flex-shrink:0}.irregular-mode-controls .grammar-shared-stage-tabs{margin:0 0 .5rem}.irregular-mode-controls small,.irregular-frequency-note{color:var(--muted)}.irregular-mixed-options{padding:1rem;border:1px solid var(--border);border-radius:.8rem}.grammar-review-mode-controls{border:0;margin:0;padding:0;flex-shrink:0;min-width:0}.grammar-review-mode-controls .irregular-mode-controls{margin:0 0 .5rem}@media(max-width:600px){.irregular-subset-card{padding:.8rem}.irregular-mode-controls button{flex:1;min-width:0}.grammar-review-mode-controls .irregular-mode-controls small{font-size:.75rem}}.grammar-shared .grammar-group-grid{align-items:start}.grammar-shared .grammar-shared-study-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.irregular-subset-card{padding:.85rem 1rem}.irregular-subset-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.irregular-subset-card h3.irregular-subset-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .65rem;min-width:0;font-size:1.1rem;line-height:1.35;margin:0}.irregular-pattern-frequency{color:var(--muted);font-size:.85rem;font-weight:400;white-space:nowrap}.irregular-subset-heading small{color:var(--muted);white-space:nowrap}.irregular-subset-card p{font-size:.85rem;margin:.25rem 0}.irregular-subset-card .irregular-subset-lemmas{font-size:1rem}.irregular-subset-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.35rem .75rem;margin-top:.35rem}.irregular-subset-card .grammar-shared-study-actions{margin:0;justify-content:flex-end}.irregular-subset-card .grammar-shared-study-actions button{min-height:44px;min-width:140px}@media(max-width:600px){.irregular-subset-card{padding:.75rem}.irregular-subset-footer .grammar-shared-study-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.irregular-subset-card .grammar-shared-study-actions button{min-width:0;padding-inline:.5rem}}.irregular-family-list .irregular-family-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.75rem 0}.irregular-family-identity h4{margin:0 0 .25rem}.irregular-family-identity p{margin:0}.grammar-shared-frame .grammar-reveal-answer{width:100%;min-height:48px}.grammar-shared-frame .grammar-review-body:has(.word-face){display:flex;flex-direction:column}.grammar-shared-frame .grammar-card-face.word-face{min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center;gap:.4rem;padding:.5rem}.grammar-shared-frame .word-face .mastery-target{margin:.35rem 0;font-size:clamp(36px,12dvh,76px)}.grammar-shared-frame .word-face p{margin:.2rem 0}.grammar-shared-frame .word-face .grammar-card-kind{font-size:.8rem}.grammar-shared-frame .irregular-answer-identity{margin:.5rem 0;font-size:1.4rem}.irregular-answer-identity small{font-size:1rem;font-weight:400}.grammar-shared-frame .mastery-answer{margin:.7rem 0;font-size:1.35rem}@media(max-width:600px){.irregular-family-list .irregular-family-row{grid-template-columns:minmax(0,1fr);gap:.5rem}.grammar-shared .grammar-shared-study-actions{justify-content:flex-start}}.grammar-shared-frame .word-face .grammar-recall-prompt{font-size:.85rem;line-height:1.4}.grammar-shared-frame .word-face .mastery-target{line-height:1.3}.grammar-irregular-shared,.grammar-irregular-shared>.grammar-study-decks,.grammar-irregular-shared>.grammar-study-decks>.study-set-grid{display:contents}.grammar-irregular-shared .grammar-group-card{align-self:start}
