:root{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI','Noto Sans Georgian',sans-serif;--green:#176b55;--orange:#3478f6;color:#1d2531;background:#f5f5f7}
#app-dock{display:none}.vocabulary-stats{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 18px;background:#e7efe8;border-radius:16px;margin:0 0 16px;font-size:12px}.vocabulary-stats span{font-size:10px;color:#6f8171}
#sidebar-account{display:block;padding:12px 4px;margin-top:14px;font-size:12px;font-weight:600;color:#23654c}#sync-badge{display:block;font-size:10px;color:#6e8377;padding:7px 5% 0;text-align:right}.account-panel{display:flex;flex-direction:column;gap:12px;max-width:430px;margin:20px auto;padding:25px;background:white;border:1px solid #dfe6dd;border-radius:22px}.account-panel p{font-size:13px;line-height:1.7;color:#748276}.account-panel label{font-size:13px;font-weight:600}.account-panel input:not([type=checkbox]){width:100%;font:inherit;font-size:16px;padding:13px;border-radius:12px;border:1px solid #ccd9cb;color:#263e32;background:#fafcf9}.account-panel small{font-size:10px;color:#80917f}.account-panel .import-choice{display:flex;align-items:center;gap:8px;font-size:11px}.account-panel .import-choice input{width:18px;height:18px}.account-panel #account-error{color:#aa3636;margin:0}.account-panel h2{margin:0}.account-panel .text-button{padding:5px}.account-panel #sync-state{color:#276447;font-weight:600}
.grammar-guide{font-size:16px!important;line-height:1.85!important;text-align:left;color:#425e4b!important}.sentence-answer,.sentence-bank{display:flex;flex-wrap:wrap;gap:8px;padding:16px;border-radius:18px;min-height:70px;margin:16px 0}.sentence-answer{border:1px dashed #a9bfae;background:#fafffa}.sentence-bank{background:#e9eeea}.sentence-answer button,.sentence-bank button{font-size:17px;padding:9px 13px;background:white;color:#2f694f;border:1px solid #d5e3d6}.sentence-bank button:disabled{opacity:.2}.sentence-answer>span{color:#8ba291}.word-feedback strong{overflow-wrap:anywhere;min-width:0}.word-feedback button{flex-shrink:0}
.chapter-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;margin:18px 0}.chapter-summary span{font-size:10px;color:#829085}.course-list{max-height:52dvh;overflow:auto;padding:4px 0}.course-row{display:flex;gap:13px;align-items:center;position:relative;margin-bottom:11px}.course-node{width:34px;height:34px;border-radius:50%;background:#e7eae7;color:#a0aaa0;display:grid;place-items:center;flex-shrink:0;font-size:12px}.course-node.available{background:#176b55;color:white}.course-node.done{background:#d8ecd9;color:#287649}.course-lesson{flex:1;min-width:0;text-align:left;background:white;color:#2b4534;border:1px solid #dde5db;padding:15px}.course-lesson strong{display:block;font-size:13px;font-weight:600}.course-lesson small{display:block;font-size:10px;color:#8a958b;margin-top:6px}.course-explainer{font-size:11px;line-height:1.6;color:#839085}.course-top{display:flex;align-items:center;gap:12px;font-size:12px}.course-top>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-top small{color:#8a958b}.course-top button{padding:0;width:38px;min-height:38px;font-size:24px}.course-phases{display:flex;justify-content:space-between;margin:18px 0;font-size:10px;color:#95a296}.course-phases span{padding:8px;border-radius:10px}.course-phases .active{color:#21664e;background:#e5eee5}.lesson-overview{text-align:center;background:white;padding:28px 20px;border:1px solid #e1e8df;border-radius:24px}.lesson-overview h2{font-size:24px}.lesson-overview p{font-size:13px;line-height:1.7;color:#889689}.lesson-preview{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px 0}.lesson-preview span{font-size:22px;background:#edf3eb;border-radius:12px;padding:10px;color:#2a674b}.lesson-intro{align-items:center;text-align:center;min-height:290px}.lesson-intro h2{font-size:40px;color:#27634a;margin:15px 0 5px}.lesson-intro .sound-button{align-self:flex-end}.lesson-primary{width:100%;margin-top:16px}.lesson-intro .subtle{margin:8px 0 0;line-height:1.6}
@media(max-width:900px){#app-dock a{min-width:0!important;padding:3px 7px!important}}
body{background:radial-gradient(ellipse at 80% 0,#e6eeeaff,transparent 55%),#f5f5f7;color:#1d2531}
aside{background:#ffffffb8;border-color:#e5e5ea}header{height:64px;background:#ffffffa8;border-color:#e5e5ea}header b{color:#596575}
main{max-width:980px;padding:24px 5% 20px}footer{font-size:10px;padding-top:12px}h1,.page-intro h1{font-size:32px;font-weight:720;letter-spacing:-1.2px;line-height:1.12}h2{letter-spacing:-.6px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#728075}.lead{font-size:13px;margin:8px 0 16px}.page-intro .eyebrow{margin-bottom:8px}.subtle{color:#7b8290}
button,.button{border-radius:14px;font-weight:600;min-height:44px;box-shadow:none;transition:background .2s,transform .2s}button:hover,.button:hover{transform:none;filter:brightness(.97)}button:active{transform:scale(.98)}.secondary{background:#e9eeeb;border-color:transparent}.brand small{font-size:7px}.brand{font-size:23px}nav a.active{background:#e1ede6;color:#176b55}nav{margin-top:35px}
.dashboard-title,.compact-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-title .eyebrow,.compact-title .eyebrow{margin-bottom:8px}.dashboard-title h1,.compact-title h1{margin-bottom:8px}.dashboard-title p{margin-top:0}.app-emblem{display:grid;place-items:center;background:#e1ebe4;border-radius:22px;width:64px;height:64px;font-size:48px;color:#176b55;flex-shrink:0}
.daily-strip{display:flex;align-items:center;gap:14px;padding:14px 18px;background:#fff9;border:1px solid #fff;border-radius:20px;margin:16px 0}.goal-ring{width:48px;height:48px;border-radius:50%;background:conic-gradient(#238567 var(--goal),#e8ede9 0);display:grid;place-items:center;flex-shrink:0}.goal-ring b{display:grid;place-items:center;background:#fafbfa;width:39px;height:39px;border-radius:50%;font-size:11px}.daily-strip strong{font-size:13px}.daily-strip p{font-size:11px;color:#89908d;margin:5px 0 0}.sparkle{margin-left:auto;font-size:26px;color:#c49b54}
.next-lesson{border-radius:24px;padding:26px;background:linear-gradient(120deg,#176b55,#18463f);color:white;display:flex;justify-content:space-between;align-items:center;overflow:hidden;box-shadow:0 10px 30px #176b5518}.next-lesson .pill{font-size:8px;color:#dcf1e8;border-color:#ffffff30}.next-lesson h2{font-size:27px;margin:16px 0 8px}.next-lesson p{font-size:12px;color:#b8d6ca}.next-lesson button{background:white;color:#175f4c;margin-top:9px;min-width:180px;text-align:left}.next-lesson button span{float:right}.lesson-symbol{font-size:135px;line-height:1;color:#bce0c4;transform:rotate(8deg);padding:0 20px}.section-title{margin:19px 0 10px}.section-title h2{font-size:16px;margin:0}.lesson-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.step{padding:10px 4px;background:transparent;color:#939ba0;display:flex;flex-direction:column;align-items:center;gap:7px}.step>span{display:grid;place-items:center;width:40px;height:40px;border-radius:15px;background:#e5e8e7;border:1px solid #dde2df}.step.current>span{background:#176b55;color:white;box-shadow:0 0 0 4px #dce8e1}.step.complete>span{background:#d9ecdf;color:#176b55}.step small{font-size:10px;color:#66756b}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.quick-grid a{position:relative;background:#fff;border:1px solid #e7e9e6;border-radius:20px;padding:16px;display:grid;grid-template-columns:38px 1fr;gap:5px 10px;align-items:center}.quick-icon{grid-row:span 2;display:grid;place-items:center;background:#eef1e5;border-radius:12px;width:36px;height:38px;font-size:23px}.quick-icon.violet{background:#eee9f7;color:#8872b4}.quick-grid strong{font-size:13px}.quick-grid small{font-size:10px;color:#8b9290}.quick-grid b{display:none}
.count-chip{border-radius:18px;background:#e3ede6;color:#27765b;padding:9px 14px;font-size:12px}.app-topics{margin:16px 0 12px;padding-bottom:7px}.app-topics button{min-height:38px;padding:8px 16px;font-size:12px;background:#fff9;border:1px solid #e3e7e2}.study-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.study-toolbar small{font-size:10px;color:#8b928f}.segmented{display:flex;background:#e5e8e6;padding:3px;border-radius:10px}.segmented button{min-height:30px;padding:5px 10px;border:0;font-size:10px;background:transparent;color:#79847d;border-radius:8px}.segmented button[aria-pressed=true]{background:white;color:#253c32;box-shadow:0 1px 5px #0001}.study-progress{display:flex;align-items:center;gap:14px;margin:15px 0 13px}.study-progress progress{margin:0;height:4px}.study-progress span{white-space:nowrap;font-size:10px;color:#90988f}.word-focus{background:#fff;border-radius:26px;padding:20px 24px;border:1px solid #e3e8e2;box-shadow:0 12px 34px #24483608;min-height:270px;display:flex;flex-direction:column}.word-card-top{display:flex;align-items:center;justify-content:space-between}.value-badge{font-size:25px;font-weight:650;color:#257059}.sound-button{width:46px;height:46px;border-radius:50%;padding:0;background:#e8f1ea;color:#23654f}.word-face{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px 0}.word-face h2{font-size:clamp(25px,4vw,42px);font-weight:550;color:#214d3d;line-height:1.5;overflow-wrap:anywhere;margin:5px 0}.transliteration{font-size:14px;color:#8c9d8f;margin:2px 0 17px}.translation{background:#f3f5f2;color:#7d8a7e;border:1px dashed #dfe6dc;font-size:13px;font-weight:450;max-width:100%;padding:10px 16px}.translation.revealed{background:transparent;border-color:transparent;color:#334739}.word-prompt{font-size:10px;color:#a1aaa3;text-align:center;margin:8px 0 0}.word-controls{display:grid;grid-template-columns:55px 1fr 55px;gap:10px;margin:14px 0 6px}.word-controls button{min-height:46px}.word-controls .secondary{background:#e8ece8}.study-bottom{display:flex;align-items:center;justify-content:space-between}.quiz-link,.text-button{background:transparent;color:#498067;padding:10px 0;font-size:12px}.text-button{color:#90988f;font-size:11px}.word-browser{max-height:58dvh;overflow-y:auto;margin-top:15px;border-radius:18px;border:1px solid #e4e9e1}.word-row{width:100%;display:flex;gap:15px;text-align:left;background:#fff;color:#294736;border-radius:0;border-bottom:1px solid #eef0ec;padding:14px 18px;align-items:center}.word-row>span{width:28px;color:#528368}.word-row div{flex:1}.word-row strong{display:block;font-size:17px;font-weight:500}.word-row small{font-size:11px;color:#8b948c}.word-row>b{font-size:14px;color:#819c85}
.word-question{text-align:center;margin:25px 0 18px}.word-question h2{font-size:28px;color:#285940;overflow-wrap:anywhere}.word-answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.word-answers button{min-height:64px;background:white;color:#334b3b;border:1px solid #dfe6dc;font-size:13px;padding:13px}.word-answers .right{background:#e0efdf;border-color:#76a276}.word-answers .wrong{background:#fbe6e2;border-color:#d8998b}.word-answers button:disabled{opacity:1}.word-feedback{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:75px;font-size:12px}.session-result{text-align:center;background:white;border:1px solid #e4e9e1;border-radius:24px;padding:35px;margin-top:20px}.celebration{font-size:64px;color:#c7a361}.session-result h2{font-size:44px;margin:15px 0}.session-result p{font-size:13px;color:#89978b}.session-result .eyebrow{margin-top:18px}.tip-dialog{border:1px solid #e3e8df;border-radius:24px;padding:28px;max-width:min(420px,90vw);color:#2c4133;box-shadow:0 20px 100px #0003}.tip-dialog p{font-size:14px;line-height:1.8}.tip-dialog::backdrop{background:#18271b55;backdrop-filter:blur(5px)}
.flashcard{min-height:230px;padding:20px;border-radius:24px;background:#fff}.big-letter{font-size:90px}.flashcard .eyebrow{margin:0}.flashcard p{font-size:12px;margin:8px 0}.flashcard strong{font-size:23px}.card-toolbar{margin:14px 0}.card-actions{margin:12px 0}.audio{margin:12px auto 5px;font-size:12px;padding:10px 16px}.flashcard+.card-actions button{font-size:11px}.quiz-heading{padding:18px}.feedback{min-height:100px;padding:18px}.practice-box{padding:28px;background:white}.practice-glyph{font-size:42px}.result{font-size:75px}.alphabet-grid{grid-template-columns:repeat(6,1fr);gap:8px}.letter-tile{border-radius:14px}.letter-open>span{font-size:32px}.letter-open small{font-size:11px}.tile-audio{width:28px;height:28px;font-size:10px}.filters{margin:14px 0}.filters button{font-size:12px;padding:9px 14px}.page-intro{padding:0}
@media(max-width:900px){header{height:62px;padding-left:130px}.menu-toggle{top:10px;box-shadow:none;background:#e8ede8;color:#265440}.workspace{padding-bottom:env(safe-area-inset-bottom)}main{padding:20px 5% 12px}footer{padding:8px 5% 15px}.aside-note{padding-top:18px!important}.quick-grid a{padding:14px}.dashboard-title h1,.compact-title h1{font-size:28px}}
@media(max-width:600px){.lesson-symbol{font-size:90px;padding:0 0 0 8px}.next-lesson{padding:20px}.next-lesson h2{font-size:21px;max-width:200px}.next-lesson button{min-width:160px}.quick-grid{gap:10px;margin-top:14px}.quick-grid a{grid-template-columns:1fr;gap:7px;padding:14px}.quick-icon{grid-row:auto;width:30px;height:30px;font-size:19px}.quick-grid strong{font-size:12px}.quick-grid small{font-size:10px}.daily-strip{padding:12px;margin:12px 0}.daily-strip p{font-size:10px}.step{padding:7px 0}.step>span{width:35px;height:35px;border-radius:13px}.section-title{margin-top:16px}.app-emblem{width:48px;height:48px;font-size:37px;border-radius:17px}.dashboard-title .subtle{font-size:11px}.compact-title h1{font-size:27px}.word-focus{padding:16px 19px;min-height:270px}.word-face h2{font-size:29px}.word-controls{margin-top:12px}.study-toolbar small{display:block;margin-top:4px}.study-progress{margin-top:12px}.alphabet-grid{grid-template-columns:repeat(4,1fr)}.letter-open>span{font-size:29px}.letter-tile{grid-template-columns:1fr;position:relative;padding:5px}.tile-audio{position:absolute;right:2px;bottom:2px;width:22px;height:22px;min-height:22px}.letter-open{padding:4px}.letter-open small{margin-top:2px}.tile-check{font-size:9px}.page-intro h1{font-size:26px}.page-intro .lead{font-size:12px}.flashcard{min-height:235px}.card-actions button{font-size:10px!important}.quiz-heading .big-letter{font-size:95px}.answer{font-size:22px;padding:15px}.feedback{padding:16px 0}.study-bottom button{font-size:11px}.word-question{margin:15px 0}.word-question h2{font-size:25px}.word-answers button{font-size:12px;min-height:60px}.word-feedback{font-size:11px}.word-feedback button{white-space:nowrap}}
@media(max-width:420px){header{padding-left:72px}.dashboard-title h1{font-size:26px}.next-lesson h2{font-size:20px}.lesson-symbol{font-size:76px}.word-focus{min-height:250px}.word-face h2{font-size:27px}.word-controls{grid-template-columns:48px 1fr 48px}.daily-strip strong{font-size:12px}}
@media(max-height:720px) and (max-width:900px){main{padding-top:12px}.word-focus{min-height:210px}.word-face{padding:7px 0}.word-face h2{font-size:25px}.word-prompt{display:none}.next-lesson{padding:16px}.daily-strip{padding:9px}.dashboard-title .subtle{display:none}.quick-grid{margin-top:8px}.word-card-top .sound-button{height:36px;width:36px;min-height:36px}.compact-title h1{font-size:24px}.app-topics{margin:10px 0}.transliteration{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:900px){#app-dock{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:19;justify-content:space-around;padding:7px 12px calc(7px + env(safe-area-inset-bottom));background:#fafbfadf;backdrop-filter:blur(22px);border-top:1px solid #e1e6e0}#app-dock a{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:60px;padding:3px 10px;color:#929b97;border-radius:13px}#app-dock a[aria-current=page]{color:#176b55;background:#e5eee6}#app-dock a>span{font-size:23px;line-height:25px}#app-dock small{font-size:9px;font-weight:600}.workspace{padding-bottom:75px}footer{display:none}}
/* Explicit chapter navigation and consistent dock artwork. */
.chapter-navigation{display:grid;grid-template-columns:44px 1fr 44px;gap:10px;margin:14px 0 10px}.chapter-navigation>button{min-height:48px;padding:6px;border-radius:15px}.chapter-navigation>.secondary{font-size:28px;background:#e6ede8;color:#28634e}.chapter-navigation>button:disabled{opacity:.3}.chapter-navigation #chapter-picker{background:#e5eee8;color:#245e48;display:flex;flex-direction:column;gap:3px;align-items:center;font-size:13px}.chapter-navigation small{font-size:10px;font-weight:450;color:#647e6f}#app-dock a>span{display:grid;place-items:center;height:27px}#app-dock svg{width:24px;height:24px}#app-dock a[aria-current=page] svg{stroke-width:2}
.chapter-dialog{width:min(620px,calc(100% - 28px));max-height:80dvh;padding:0;border:1px solid #dce6df;border-radius:24px;background:#f6f8f6;color:#233d30;box-shadow:0 24px 90px #102c3433}.chapter-dialog::backdrop{background:#13251e66;backdrop-filter:blur(5px)}.chapter-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:20px;position:sticky;top:0;background:#f6f8f6;z-index:1}.chapter-dialog-head h2{font-size:22px;margin:0}.chapter-dialog-head p{font-size:12px;color:#708578;margin:5px 0 0}.chapter-dialog-head button{width:40px;height:40px;padding:0;background:#e6ede8;color:#245e48;font-size:25px}.chapter-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 16px 20px}.chapter-grid button{display:flex;align-items:center;gap:10px;text-align:left;background:white;color:#2d4838;border:1px solid #e0e7df;padding:13px 10px;border-radius:15px}.chapter-grid button[aria-current=true]{background:#e5efe7;border-color:#77a990}.chapter-number{font-size:13px;color:#398466;flex-shrink:0;width:23px}.chapter-grid strong{display:block;font-size:12px}.chapter-grid small{display:block;font-size:10px;font-weight:400;color:#7b8b80;margin-top:5px}@media(max-width:420px){.chapter-grid{grid-template-columns:1fr}.chapter-dialog{max-height:75dvh}}
/* Prevent accidental double-tap zoom while preserving pinch-to-zoom accessibility. */
html{touch-action:manipulation}
@media(max-width:900px){.workspace>header{position:sticky;top:0;z-index:18;background:#fafbfaf2}.workspace>header>.menu-toggle{position:absolute;top:10px;left:16px;margin:0;transform:none}}
[hidden]{display:none!important}.course-top #course-close{width:auto;font-size:13px;padding:7px 12px;min-height:36px}.course-phases{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0 20px}.course-phases li{border-top:4px solid #d8dedb;padding-top:8px;color:#8a948f;font-size:11px}.course-phases li.active{border-color:#176b55;color:#176b55}.course-phases li span{padding:0;background:none!important}.search-label{display:block;font-size:12px;margin:12px 0 6px}#dictionary-search,#dictionary-topic{width:100%;padding:12px;font:inherit;font-size:16px;border:1px solid #dce5df;border-radius:13px;background:#fff;color:#263e35}.dictionary-results{max-height:58dvh;overflow:auto}.dictionary-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border-bottom:1px solid #e1e7e2;background:#fff}.dictionary-entry strong{display:block;font-size:21px}.dictionary-entry small{display:block;color:#849386;margin-top:4px}.dictionary-entry p{font-size:13px;margin:7px 0 0}.dictionary-entry button{flex-shrink:0}.review-options{display:grid;gap:12px;margin:18px 0}.review-options>button{text-align:left;background:white;color:#234937;border:1px solid #dce5df;padding:18px;border-radius:18px}.review-options strong{display:flex;justify-content:space-between;font-size:16px}.review-options span{display:block;font-size:12px;color:#7f8e84;margin-top:8px;line-height:1.5}.alphabet-practice{margin-top:20px}.alphabet-practice h2{font-size:18px}.alphabet-practice button{font-size:12px;padding:12px;margin:4px 4px 4px 0}
