:root{color-scheme:light;--navy:#13253e;--ink:#20334b;--muted:#61738b;--ice:#edf5f8;--mint:#97efda;--blue:#28617f;--line:#dce7ed;--white:#fff;--shadow:0 12px 32px #12304c08}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 75% 0,#d1eee9 0,transparent 40%),var(--ice);color:var(--ink);font:15px/1.65 system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--blue);text-underline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,3vw,40px);line-height:1.2;letter-spacing:-.035em;margin-bottom:12px}h2{font-size:23px;line-height:1.35;letter-spacing:-.02em;margin-bottom:10px}h3{font-size:18px;line-height:1.4;margin-bottom:8px}p{margin-bottom:14px}small,.muted{color:var(--muted)}[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:236px;z-index:30;display:flex;flex-direction:column;padding:29px 18px;background:radial-gradient(ellipse at 10% 20%,#244b55 0,transparent 65%),var(--navy);color:#dce9f3;border-right:1px solid #37606944}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:white;font-size:20px;font-weight:800;line-height:1.25}.brand small{display:block;font-size:9px;letter-spacing:.14em;color:#b6d9dd;margin-top:6px}.nav-group{margin:32px 13px 9px;font-size:10px;letter-spacing:.15em;font-weight:800;color:#9fb6c9}.side-links{display:grid;gap:5px}.side-links button,.sidebar-bottom button{border:0;background:transparent;color:inherit;text-align:left;border-radius:11px;padding:11px 13px;font-weight:600;font-size:13px;display:flex;align-items:center;gap:10px}.side-links button span{width:22px;font-size:18px;line-height:1}.side-links button:hover{background:#ffffff0a}.side-links button[aria-current=page]{background:#a8e9de1c;color:#aff2e2}.side-links b{margin-left:auto;border-radius:20px;background:#9ef2dd;color:var(--navy);min-width:20px;text-align:center;font-size:11px}.sidebar-bottom{margin-top:auto;padding:28px 12px 0;display:grid;gap:10px;font-size:12px}.sidebar-bottom a{color:#b9d0e1;text-decoration:none}.sidebar-bottom button{padding:0}.sidebar-bottom p{font-size:11px;color:#91a8b8;margin:10px 0 0}
.workspace{margin-left:236px}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:19px 36px;background:#f4fafbea;backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px}#breadcrumb{font-size:13px;font-weight:650;color:var(--muted)}.version-pill{font-size:10px;letter-spacing:.06em;background:#e4eef2;border:1px solid #d4e3e9;border-radius:20px;padding:4px 10px;color:#4d7183}.profile-button{border:1px solid var(--line);border-radius:24px;padding:7px 13px;background:white;color:var(--ink);font-size:12px;font-weight:650}.mobile-only{display:none}main{max-width:1260px;margin:0 auto;padding:22px 36px 35px}.notice{border-radius:10px;font-size:12px;color:#3b6978;margin-bottom:18px;min-height:22px}.notice.error{color:#a1373e;background:#fff0ef;padding:10px}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#548387;margin:0 0 10px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.page-heading p:last-child{color:var(--muted);margin-bottom:0;max-width:610px}.page-heading>button{flex:none;margin-top:10px}.winter-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.5fr 1fr;align-items:center;padding:32px 38px;min-height:300px;border-radius:26px;background:radial-gradient(ellipse at 80% 0,#30706499 0,transparent 58%),radial-gradient(ellipse at 20% 100%,#424f7466 0,transparent 55%),#172d48;color:white;box-shadow:0 18px 38px #1b3a5514}.winter-hero:after{content:'';position:absolute;inset:auto -5% -100px 45%;height:140px;background:#dbedf416;border-radius:50%;pointer-events:none}.hero-copy{z-index:1;max-width:560px}.hero-copy h2{font-size:clamp(27px,2.5vw,36px);color:#fff;line-height:1.18;margin:17px 0 15px}.hero-copy p{color:#bfd5df;max-width:500px;font-size:14px}.hero-copy small{display:block;color:#b7d1dc;font-size:11px;margin-top:16px}.hero-pill{display:inline-block;font-size:10px;font-weight:750;color:#bdf2e2;letter-spacing:.08em;padding:5px 11px;border:1px solid #a9e8d43b;border-radius:20px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:21px}.hero-character{text-align:center;position:relative;z-index:1}.snowman{display:block;width:210px;height:auto;margin:auto}.snow-caption{display:inline-block;font-size:10px;color:#d7e8ed;background:#ffffff0b;border:1px solid #bfdde324;border-radius:20px;padding:5px 13px}.primary,.secondary,.quiet-button,.text-button,.hero-secondary,.icon-button{border:0;border-radius:11px;padding:11px 16px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.primary{background:var(--mint);color:#163c3d}.primary:hover{background:#b4f7e7}.secondary{background:#eff6f8;color:#34647b;border:1px solid var(--line)}.quiet-button{background:#fff9;color:#547388;border:1px solid var(--line)}.hero-secondary{border:1px solid #b2d7e244;color:#e0edf3;background:#ffffff05}.text-button{padding:4px 0;background:none;color:#407a86;white-space:nowrap}.icon-button{border:1px solid var(--line);background:white;font-size:22px;padding:0;width:36px;height:36px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:20px 0 30px}.stat{background:white;border:1px solid var(--line);border-radius:17px;padding:18px 20px;box-shadow:var(--shadow)}.stat small{display:block;font-size:11px;margin-bottom:5px}.stat strong{font-size:25px;line-height:1.3;letter-spacing:-.025em}.stat em{font-size:11px;font-style:normal;color:var(--muted);display:block;margin-top:6px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:30px 0 17px}.section-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.section-heading h2{margin:0}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.plan-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:18px}.step-number{display:inline-grid;place-items:center;width:29px;height:29px;background:#e7f3ee;border-radius:9px;color:#56837b;font-size:12px;font-weight:800;margin-bottom:13px}.plan-card p{font-size:12px;color:var(--muted)}.skill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.skill-card{display:flex;align-items:center;gap:14px;padding:19px;text-align:left;border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--ink);box-shadow:var(--shadow)}.skill-card:hover,.library-card:hover{border-color:#90c4cc;transform:translateY(-1px)}.skill-icon{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border-radius:13px;background:#e9f2f5;color:#397383;font-size:18px;font-weight:650}.skill-card:nth-child(2n) .skill-icon{background:#f3ecf8;color:#866696}.skill-card:nth-child(3n) .skill-icon{background:#ecf5ed;color:#658368}.skill-card strong{display:block;font-size:14px}.skill-card small{display:block;font-size:11px;margin-top:3px}.starter-note{display:flex;align-items:center;gap:14px;margin-top:27px;padding:16px 19px;border:1px dashed #c3dbe0;border-radius:14px;color:#60818f}.starter-note p{font-size:11px;flex:1;margin:0}.starter-note>span{font-size:21px}
.track-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.track-card{background:white;border:1px solid var(--line);border-radius:18px;padding:23px;text-align:left;color:var(--ink)}button.track-card[aria-pressed=true]{border-color:#478c93;background:#eefaf5;box-shadow:0 0 0 2px #87cabc2a}.track-card .track-tag{font-size:10px;letter-spacing:.08em;color:#57838a;font-weight:750}.track-card h3{margin:9px 0}.track-card p{color:var(--muted);font-size:12px;margin:0}.track-card .count{display:block;margin-top:16px;font-size:11px;color:#68869a}.course-progress{margin:20px 0 25px;padding:22px 25px;background:white;border:1px solid var(--line);border-radius:18px}.course-progress h3{margin:0}.progress-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#577889}.progress-meter{height:8px;border-radius:12px;background:#e9f0f3;overflow:hidden;margin:12px 0}.progress-meter>span{display:block;height:100%;background:linear-gradient(90deg,#79c5af,#559aaa);border-radius:12px}.mission-map{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:20px 0 28px}.mission-button{position:relative;text-align:left;color:var(--ink);background:white;border:1px solid var(--line);border-radius:14px;padding:14px 15px;min-height:100px}.mission-button small{display:block;font-size:10px;margin-bottom:4px}.mission-button strong{font-size:12px;display:block;line-height:1.45}.mission-button .state-label{display:block;font-size:10px;margin-top:8px;color:#678991}.mission-button[aria-pressed=true]{border-color:#4f9693;box-shadow:0 0 0 2px #83bbbe2a}.mission-button.passed{background:#f1faf5}.mission-button.debt .state-label{color:#b46655}.panel,.reader{background:white;border:1px solid var(--line);border-radius:20px;padding:26px;margin-bottom:18px;box-shadow:var(--shadow)}.reader{scroll-margin-top:100px}.reader-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.reader-heading h2{margin-bottom:7px}.badge{display:inline-block;font-size:10px;font-weight:750;border-radius:15px;padding:4px 10px;background:#eff5f8;color:#5c7e92}.badge.success{color:#437763;background:#e4f5ea}.badge.debt{color:#b45d46;background:#fff0e9}.tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid var(--line);margin:18px -4px 24px;padding-bottom:12px}.tabs button{border:0;flex:none;background:#f3f7f9;color:#6e8597;border-radius:8px;font-size:12px;padding:8px 13px}.tabs button[aria-pressed=true]{background:#e2f3ef;color:#397569;font-weight:750}.grammar-example{border-left:3px solid #8bd3c1;background:#f1f8f7;border-radius:0 11px 11px 0;padding:14px 18px;margin:18px 0}.reading-text{font-size:16px;line-height:1.95;max-width:760px}.text-label{font-size:10px;letter-spacing:.12em;color:#789297;font-weight:750;margin-bottom:8px}details>summary{font-weight:650;font-size:13px;cursor:pointer}details>p:first-of-type{margin-top:15px}.filter-bar{display:flex;flex-wrap:wrap;gap:13px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:17px;margin-bottom:20px}.filter-bar label{flex:1;min-width:140px}.filter-bar label:first-child{flex:1.5}label{display:block;font-size:12px;font-weight:600;color:#688094}input,select,textarea{width:100%;border:1px solid #d2e1e7;border-radius:10px;background:#f8fbfc;color:var(--ink);padding:10px 12px;margin:6px 0 0;font-size:13px}select{min-height:42px}textarea{min-height:100px;resize:vertical}.library-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.library-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px;transition:transform .18s}.library-card h3{margin:10px 0}.library-card p{font-size:12px;color:var(--muted)}.library-card .card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.favorite-button{background:#f4f8fa;border:1px solid var(--line);border-radius:10px;color:#72899c;padding:6px 10px;line-height:1;font-size:20px}.favorite-button[aria-pressed=true]{color:#bd8642;background:#fff5e5;border-color:#f2dbba}.word-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.word-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px}.word-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.word-card h3{font-size:22px;margin:0}.word-card small{display:block;font-size:11px;color:#77969b;margin-top:5px}.word-card .meaning{font-weight:700;font-size:13px;margin:14px 0 9px}.word-card .example{font-size:12px;color:#405c71;margin-bottom:5px}.word-card .translation{font-size:11px;color:#8093a0;margin-bottom:15px}.word-card details{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.word-card textarea{font-weight:400;font-size:12px}.word-card .note-save{margin-top:10px}.word-grid .word-card{box-shadow:var(--shadow)}#bank-more{display:flex;margin:24px auto}.question{border:1px solid var(--line);border-radius:15px;margin:18px 0;padding:20px}legend{font-size:13px;font-weight:700;padding:0 7px}.option{display:flex;align-items:center;gap:10px;padding:11px 13px;background:#f5f9fa;border:1px solid #e8f0f3;border-radius:10px;margin:8px 0;color:var(--ink);font-size:13px;font-weight:500;cursor:pointer}.option input{width:auto;margin:0;accent-color:#397c7c}.feedback{padding:16px;border-radius:12px;background:#edf8f2;color:#37765e;border:1px solid #cee8d8;font-size:13px;margin:16px 0}.feedback.wrong{background:#fff2ed;color:#a5614e;border-color:#f3d8cc}.feedback h3{color:inherit}.context-box{font-size:12px;padding:16px;border-radius:11px;background:#f4f8fa;margin:12px 0}.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0}.check{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-size:13px;font-weight:500;color:#5c7186}.check input{width:auto;margin:4px 0;accent-color:#397c7c}.sentence-prompt{font-size:18px;margin:10px 0 20px}.sentence-answer{display:flex;flex-wrap:wrap;gap:8px;min-height:74px;padding:16px;border:2px dashed #c8dfe3;border-radius:13px;background:#f7fcfc}.sentence-answer button,.token-bank button{background:white;color:#285372;border:1px solid #cbdde6;padding:9px 13px;border-radius:10px;font-size:14px}.token-bank{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.empty-state{text-align:center;padding:35px 20px;color:#718b9b}.empty-state>span{display:block;font-size:38px;color:#88b4c1;margin-bottom:14px}.empty-state h3{color:#41677c}.empty-state p{max-width:460px;margin:0 auto 18px;font-size:13px}.help-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.help-grid .panel{margin:0 0 16px}.help-grid p,section[data-page=help] details p{font-size:13px;color:var(--muted)}.history-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border:1px solid var(--line);background:white;border-radius:12px;margin:10px 0}.history-row h3{font-size:14px;margin-bottom:2px}.history-row p{font-size:11px;margin:0;color:var(--muted)}.history-score{font-size:22px;font-weight:750;white-space:nowrap}.history-score small{font-size:10px;font-weight:500}.favorite-section{margin:24px 0}.favorite-section h2{font-size:20px}audio{display:block;width:100%;margin:17px 0}footer{margin-top:45px;padding-top:22px;border-top:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;gap:18px;font-size:11px;color:#79929e}footer>span{margin-right:auto}footer button{font-size:11px}.bottom-nav{display:none}
dialog{border:1px solid var(--line);border-radius:21px;color:var(--ink);background:#fff;padding:26px;box-shadow:0 25px 80px #12263d33;max-width:440px;width:calc(100% - 36px)}dialog::backdrop{background:#10263f80;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.dialog-heading h2{margin:0;font-size:21px}.profile-dialog>button,.profile-dialog>a{margin:15px 7px 9px 0}.profile-dialog>a:last-of-type{display:block;font-size:13px}.profile-dialog p{font-size:12px}.menu-dialog .side-links{margin-bottom:23px}.menu-dialog button{color:var(--ink)}.menu-dialog .side-links button[aria-current=page]{color:#3d7c79;background:#e4f3ee}.skip{position:absolute;left:-10000px}.skip:focus{left:15px;top:10px;background:white;color:var(--ink);padding:14px;z-index:99}:focus-visible{outline:3px solid #539ba3;outline-offset:4px}body[aria-busy=true] .workspace{cursor:progress}
@media(max-width:1120px){.sidebar{width:215px}.workspace{margin-left:215px}main{padding:20px 25px}.topbar{padding:17px 25px}.winter-hero{padding:25px}.snowman{width:180px}.word-grid{grid-template-columns:repeat(2,1fr)}.skill-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.sidebar{display:none}.workspace{margin-left:0}.mobile-only{display:inline-flex}#breadcrumb{display:none}.mobile-brand{color:var(--ink);font-size:15px;font-weight:800;text-decoration:none}.topbar{padding:14px 18px}.topbar-left{gap:10px}.topbar-right{gap:8px}.version-pill{font-size:9px;padding:3px 7px}.profile-button{padding:7px 10px;font-size:11px}main{padding:18px 20px 85px}.page-heading{gap:12px;margin-bottom:22px}.page-heading p:last-child{font-size:13px}.page-heading>button{font-size:10px;padding:7px 9px}.winter-hero{min-height:280px;grid-template-columns:1.4fr 1fr;padding:24px;border-radius:20px}.hero-copy h2{font-size:27px}.hero-copy p{font-size:12px}.hero-actions{gap:8px;flex-direction:column;align-items:start}.hero-actions button{font-size:12px;padding:10px 12px}.snowman{width:150px}.snow-caption{font-size:8px;padding:3px 7px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0 25px}.stat{padding:15px 17px}.stat strong{font-size:23px}.section-heading{margin-top:25px}.section-heading h2{font-size:21px}.section-heading p{font-size:12px}.section-heading button{font-size:11px}.plan-grid{grid-template-columns:1fr}.plan-card{display:grid;grid-template-columns:32px 1fr;column-gap:15px;padding:18px}.plan-card .step-number{grid-row:1/4;margin:1px 0}.plan-card h3{font-size:15px;margin:0}.plan-card p{grid-column:2;margin:4px 0}.plan-card button{grid-column:2;justify-self:start;font-size:11px}.skill-card{padding:15px;gap:11px;align-items:flex-start}.skill-icon{width:34px;height:34px;font-size:15px;border-radius:10px}.skill-card strong{font-size:13px}.skill-card small{font-size:10px}.starter-note{flex-wrap:wrap;padding:14px}.starter-note p{min-width:210px}.starter-note button{margin-left:32px;font-size:11px}.track-grid{grid-template-columns:1fr;gap:11px}.track-card{padding:20px}.track-card .count{margin-top:10px}.mission-map{grid-template-columns:repeat(2,1fr)}.mission-button{min-height:97px}.library-grid,.help-grid{grid-template-columns:1fr}.word-grid{gap:11px}.word-card{padding:16px}.word-card h3{font-size:20px}.word-card .example{font-size:11px}.word-card .favorite-button{padding:5px 7px;font-size:18px}.filter-bar{padding:15px;gap:10px}.filter-bar label{min-width:130px}.filter-bar label:first-child{min-width:100%;flex:1}.panel,.reader{padding:20px;border-radius:17px}.tabs{margin:16px 0 19px}.tabs button{padding:8px 11px;font-size:11px}.reader-heading h2{font-size:21px}.bottom-nav{position:fixed;inset:auto 0 0;z-index:25;display:grid;grid-template-columns:repeat(4,1fr);background:#ffffffef;backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:8px 13px max(10px,env(safe-area-inset-bottom))}.bottom-nav button{display:grid;gap:1px;border:0;background:none;color:#8b9ead;font-size:20px;line-height:1.3}.bottom-nav button span{font-size:9px;font-weight:650}.bottom-nav button[aria-current=page]{color:#417e80}.menu-dialog{margin:0;height:100%;max-width:320px;width:86vw;border-radius:0 20px 20px 0;max-height:100%}.menu-dialog .side-links button{padding:12px}footer{font-size:10px;gap:13px}footer>span{width:100%}.history-row{padding:16px;gap:12px}.history-row h3{font-size:13px}}
@media(max-width:420px){main{padding-inline:16px}.winter-hero{padding:21px;grid-template-columns:1.5fr .85fr}.hero-copy h2{font-size:25px}.snowman{width:118px}.snow-caption{display:none}.hero-copy small{font-size:9px}.topbar-right .version-pill{display:none}.skill-grid{gap:10px}.skill-card{padding:14px 12px;gap:8px}.skill-icon{width:29px;height:31px;font-size:14px}.word-grid{grid-template-columns:1fr}.reader-heading{flex-wrap:wrap}.page-heading>button{margin-top:3px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.sidebar{overflow-y:auto}.side-links b:empty{display:none}
