@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components,utilities;:root{color:#17332b;font-synthesis:none;--ink:#17332b;--muted:#68766f;--paper:#fffef9;--line:#dce2dc;--brand:#e35b3d;--green:#1f765d;--soft:#e7f1eb;--shadow:0 14px 40px #19392e14;background:#f5f4ec;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.dark{color-scheme:dark;--ink:#edf6ef;--muted:#a6b5ae;--paper:#16251f;--line:#31443b;--soft:#203b31;--shadow:0 16px 42px #0000003d;color:var(--ink);background:#0e1814}*{box-sizing:border-box}body{background:inherit;color:var(--ink);margin:0}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}button{color:inherit}.app-shell{min-height:100vh}.app-shell>aside{color:#ecf4ef;z-index:10;background:#132a23;flex-direction:column;width:236px;padding:28px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 10px 30px;font-size:1.1rem;display:flex}.brand span{background:var(--brand);border-radius:11px;place-items:center;width:40px;height:40px;font-family:Georgia,serif;display:grid}.app-shell aside nav{gap:7px;display:grid}.app-shell aside nav a,.aside-bottom a,.aside-bottom button{color:#b9c9c1;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.app-shell aside nav a:hover,.app-shell aside nav a.active,.aside-bottom a:hover,.aside-bottom button:hover{color:#fff;background:#23453a}.app-shell aside svg{width:20px}.aside-bottom{margin-top:auto;display:grid}.app-shell>main{min-height:100vh;margin-left:236px}.mobile-nav{display:none}.page{max-width:1180px;margin:auto;padding:44px 48px 80px}.page-header{max-width:730px;margin-bottom:36px}.page-header h1,.hero h1,.completion h1{letter-spacing:-.04em;margin:8px 0 14px;font:700 clamp(2.4rem,5vw,4.7rem)/.98 Georgia,serif}.page-header p,.hero p{color:var(--muted);font-size:1.06rem;line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--brand);font-size:.72rem;font-weight:800}.card{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;padding:25px}.button{cursor:pointer;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-weight:750;transition:all .18s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.5;cursor:not-allowed;transform:none}.button.primary{background:var(--brand);color:#fff}.button.secondary{background:var(--soft);color:var(--green)}.button.ghost{background:0 0}.button svg{width:18px}.hero{justify-content:space-between;align-items:flex-end;margin-bottom:32px;display:flex}.streak{background:var(--paper);border:1px solid var(--line);border-radius:18px;grid-template-columns:auto auto;align-items:center;gap:0 7px;padding:14px 18px;display:grid}.streak svg{color:var(--brand);grid-row:span 2}.streak strong{font-size:1.35rem}.streak span{color:var(--muted);font-size:.72rem}.continue-card{color:#fff;background:linear-gradient(120deg,#1b5d4a,#173b31);border:0;justify-content:space-between;align-items:center;margin-bottom:40px;padding:30px 34px;display:flex}.continue-card p{color:#cce0d7}.continue-card h2{margin:6px 0;font:700 2rem Georgia,serif}.home-grid{grid-template-columns:minmax(0,1.6fr) minmax(260px,.7fr);gap:36px;display:grid}.section-heading,.level-copy{justify-content:space-between;align-items:center;display:flex}.section-heading{margin-bottom:14px}.section-heading h2{font-family:Georgia,serif;font-size:1.8rem}.section-heading a{color:var(--green);font-weight:700}.level-list{background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden}.level-row{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr;align-items:center;gap:17px;padding:18px 22px;display:grid}.level-row:last-child{border:0}.level-row>div{min-width:0}.level-copy{margin-bottom:8px}.level-copy span{font-weight:800}.level-dot{color:#fff;border-radius:15px;place-items:center;width:48px;height:48px;font-weight:900;display:grid}.level-dot.a1,.mini-level.a1{background:#21795f}.level-dot.a2,.mini-level.a2{background:#377ab5}.level-dot.b1,.mini-level.b1{background:#8b5aaa}.level-dot.b2,.mini-level.b2{background:#c35c43}.progress{background:var(--line);border-radius:99px;height:8px;overflow:hidden}.progress span{border-radius:inherit;background:linear-gradient(90deg,var(--green),#5db48f);height:100%;display:block}.home-side{align-content:start;gap:18px;display:grid}.home-side h2{margin:7px 0;font-family:Georgia,serif}.home-side .button{width:100%;margin-top:12px}.card-icon{float:right;color:var(--green)}.weak{border-bottom:1px solid var(--line);justify-content:space-between;padding:11px 0;font-size:.9rem;display:flex}.course-level{margin-bottom:56px}.course-title{align-items:center;gap:18px;margin-bottom:20px;display:flex}.course-title h2{margin:0;font:700 2rem Georgia,serif}.course-title p{color:var(--muted);margin:4px 0}.module{margin:22px 0}.module h3{align-items:baseline;gap:12px;display:flex}.module h3 span{color:var(--muted);font-size:.8rem;font-weight:400}.lesson-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.lesson-tile{background:var(--paper);border:1px solid var(--line);border-radius:16px;grid-template-columns:auto 1fr;gap:13px;padding:17px;transition:all .2s;display:grid}.lesson-tile:hover{border-color:var(--green);box-shadow:var(--shadow);transform:translateY(-2px)}.lesson-number{border:1px solid var(--line);border-radius:50%;place-items:center;width:35px;height:35px;font-weight:800;display:grid}.lesson-number.completed{background:var(--green);color:#fff}.lesson-tile p{color:var(--muted);margin:5px 0;font-size:.84rem;line-height:1.4}.lesson-tile small{color:var(--green)}.lesson-page{min-height:100vh}.lesson-header{background:var(--paper);border-bottom:1px solid var(--line);z-index:5;grid-template-columns:170px 1fr 260px;align-items:center;gap:30px;height:82px;padding:0 36px;display:grid;position:sticky;top:0}.lesson-header>a{color:var(--muted);align-items:center;gap:7px;display:flex}.lesson-header>div:nth-child(2){display:grid}.lesson-header span{color:var(--muted);font-size:.75rem}.lesson-layout{grid-template-columns:320px minmax(0,700px);justify-content:center;gap:60px;padding:50px;display:grid}.lesson-context{padding-top:25px}.lesson-context h2{font:700 2.2rem/1.05 Georgia,serif}.lesson-context p{color:var(--muted);line-height:1.6}.lesson-context h3{margin-top:30px}.expression{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:10px 0;display:flex}.speaker{background:var(--soft);color:var(--green);cursor:pointer;vertical-align:middle;border:0;border-radius:50%;place-items:center;width:32px;height:32px;margin-left:8px;display:inline-grid}.task-count{text-align:right;color:var(--muted);margin-bottom:10px;font-size:.8rem}.exercise-card{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:24px;padding:34px}.exercise-meta{text-transform:uppercase;letter-spacing:.1em;color:var(--green);justify-content:space-between;font-size:.68rem;font-weight:800;display:flex}.instruction{color:var(--muted);margin-top:25px}.prompt{align-items:flex-start;margin:20px 0 30px;font:700 clamp(1.65rem,3vw,2.4rem)/1.3 Georgia,serif;display:flex}.exercise-card textarea,.filters input,.filters select,.matching select,.setting input,.placement textarea{width:100%;color:var(--ink);border:1px solid var(--line);background:0 0;border-radius:13px;outline:none;padding:14px}.exercise-card textarea:focus,.filters input:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green)}@supports (color:color-mix(in lab,red,red)){.exercise-card textarea:focus,.filters input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 15%,transparent)}}.choices{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:25px;display:grid}.choices button,.tokens button,.built button{border:1px solid var(--line);color:var(--ink);text-align:left;cursor:pointer;background:0 0;border-radius:12px;padding:13px}.choices button:hover,.choices button.selected,.tokens button:hover{border-color:var(--green);background:var(--soft)}.built{border:2px dashed var(--line);border-radius:14px;flex-wrap:wrap;gap:8px;min-height:70px;margin-bottom:15px;padding:10px;display:flex}.built button{background:var(--soft);padding:8px 11px}.tokens{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.reset{color:var(--muted);background:0 0;border:0;gap:5px;margin-bottom:20px;display:flex}.exercise-card>.button{min-width:150px;margin-top:22px}.matching{gap:10px;display:grid}.matching label{grid-template-columns:1fr 1fr;align-items:center;gap:15px;display:grid}.feedback{border-radius:16px;margin-top:24px;padding:20px}.feedback.correct{color:#175a42;background:#e0f3e7}.dark .feedback.correct{color:#bbefd5;background:#183c2e}.feedback.incorrect{color:#8b3525;background:#f9e6e1}.dark .feedback.incorrect{color:#ffd1c7;background:#4b2922}.feedback-title{align-items:center;gap:8px;font-size:1.15rem;font-weight:900;display:flex}.correct-answer{font-size:1.05rem}.self blockquote{background:var(--paper)}@supports (color:color-mix(in lab,red,red)){.self blockquote{background:color-mix(in srgb,var(--paper) 70%,transparent)}}.self blockquote{border-left:3px solid var(--green);margin:5px 0 15px;padding:10px}.self-buttons,.rating{flex-wrap:wrap;gap:8px;display:flex}.save-error{color:#8b3525;background:#f9e6e1;border-radius:10px;margin-top:15px;padding:12px}.completion{text-align:center;justify-items:center;gap:15px;padding-top:10vh;display:grid}.completion>svg,.empty>svg{width:65px;height:65px;color:var(--green)}.completion>div{gap:10px;display:flex}.score-ring{border:12px solid var(--soft);border-top-color:var(--green);border-radius:50%;place-items:center;width:160px;height:160px;font:700 2.5rem Georgia,serif;display:grid}.score-ring small{font:500 .7rem Inter,sans-serif;display:block}.empty{text-align:center;place-items:center;padding-top:18vh;display:grid}.review-page{max-width:760px}.review-card{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:420px;display:flex}.review-card>svg{color:var(--green)}.review-card h2{font:700 2.4rem Georgia,serif}.review-kind{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:.7rem}.review-answer{background:var(--soft);border-radius:14px;margin-bottom:20px;padding:20px}.review-answer strong{font-size:1.4rem}.filters{gap:12px;margin-bottom:24px;display:flex}.filters label{background:var(--paper);border:1px solid var(--line);border-radius:13px;flex:1;align-items:center;gap:8px;padding-left:13px;display:flex}.filters label input{border:0}.filters select{background:var(--paper);width:160px}.word-list{grid-template-columns:1fr 1fr;gap:12px;display:grid}.word{background:var(--paper);border:1px solid var(--line);border-radius:16px;grid-template-columns:auto 1fr;gap:13px;padding:17px;display:grid}.mini-level{color:#fff;border-radius:7px;height:max-content;padding:4px 7px;font-size:.65rem;font-weight:900}.word h3{margin:0;font:700 1.3rem Georgia,serif}.word h3 em{color:var(--brand);font-style:normal}.word>div>strong{color:var(--green)}.word p{color:var(--muted);font-size:.85rem}.word small{color:var(--brand);margin-bottom:10px;display:block}.grammar-group{max-width:850px}.grammar-group>h2{margin-top:36px;font:700 1.8rem Georgia,serif}.grammar-topic{background:var(--paper);border:1px solid var(--line);border-radius:15px;margin:9px 0;overflow:hidden}.grammar-topic>button{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;padding:18px;display:flex}.grammar-topic>button small{color:var(--brand);margin-right:8px;font-weight:900}.grammar-topic>button p{color:var(--muted);margin:5px 0 0}.grammar-topic.open>button svg{transform:rotate(180deg)}.grammar-body{border-top:1px solid var(--line);padding:0 22px 24px;line-height:1.6}.grammar-example{background:var(--soft);border-radius:10px;margin:8px 0;padding:12px;display:grid}.grammar-example span{color:var(--muted)}.mistake{gap:4px;display:grid}.mistake del{color:#a54131}.mistake ins{color:var(--green);text-decoration:none}.history-list{gap:12px;display:grid}.history-day{grid-template-columns:1fr repeat(3,auto);gap:25px;margin-bottom:14px;display:grid}.placement{max-width:700px}.placement>.card{gap:18px;display:grid}.setting{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.setting input{width:75px}.saved{color:var(--green)}.state{min-height:70vh;color:var(--muted);align-content:center;place-items:center;gap:15px;display:grid}.state.error{color:var(--brand)}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1000px){.app-shell>aside{width:82px}.brand strong,.app-shell aside nav a:not(.active){font-size:0}.brand{padding-left:3px}.app-shell aside nav a,.aside-bottom a,.aside-bottom button{justify-content:center}.aside-bottom{font-size:0}.app-shell>main{margin-left:82px}.lesson-grid{grid-template-columns:1fr 1fr}.lesson-layout{grid-template-columns:250px minmax(0,1fr);gap:30px;padding:35px}.lesson-header{grid-template-columns:130px 1fr 180px}}@media(max-width:720px){.app-shell>aside{display:none}.app-shell>main{margin-left:0;padding-bottom:70px}.mobile-nav{z-index:20;background:var(--paper);border-top:1px solid var(--line);justify-content:space-around;height:65px;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav a{color:var(--muted);place-items:center;padding:6px;font-size:.62rem;display:grid}.mobile-nav a.active{color:var(--green)}.mobile-nav svg{width:21px}.page{padding:28px 18px 90px}.hero{align-items:flex-start}.streak{margin-top:10px}.continue-card{gap:18px;padding:25px;display:grid}.home-grid,.lesson-grid,.word-list{grid-template-columns:1fr}.lesson-header{grid-template-columns:1fr auto;height:auto;padding:12px 16px}.lesson-header>.progress{grid-column:1/-1}.lesson-layout{padding:18px;display:block}.lesson-context{padding:5px 4px 20px}.lesson-context>p,.lesson-context>h3,.lesson-context>.expression{display:none}.exercise-card{padding:23px 18px}.choices{grid-template-columns:1fr}.history-day{grid-template-columns:1fr auto;gap:5px}.filters{display:grid}.filters select{width:100%}.completion>div,.module h3{display:grid}.matching label{grid-template-columns:1fr}.page-header h1,.hero h1{font-size:2.7rem}}.umlaut-bar{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.umlaut-bar button{border:1px solid var(--line);background:var(--soft);color:var(--green);cursor:pointer;border-radius:9px;min-width:34px;padding:7px 9px;font-weight:800}.umlaut-bar button:hover{border-color:var(--green)}.umlaut-hint{color:var(--muted);margin-left:6px;font-size:.78rem}.feedback.typo{color:#7a5a12;background:#fdf3d9}.dark .feedback.typo{color:#f2e2b0;background:#40371c}.profile-gate{color:#eaf3ee;background:radial-gradient(120% 120% at 50% 0,#14342a,#0c1a15 55%,#070f0c);place-items:center;padding:32px;display:grid;position:fixed;inset:0;overflow:auto}.profile-gate-inner{text-align:center;width:100%;max-width:900px}.profile-gate .eyebrow{color:#7fd8b3;margin-bottom:14px}.profile-gate h1{letter-spacing:-.03em;margin:0 0 40px;font:700 clamp(2rem,5vw,3.6rem)/1 Georgia,serif}.profile-gate .muted-line{color:#9fb6ac}.profile-row{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:26px;display:flex}.profile-tile{cursor:pointer;width:150px;color:inherit;background:0 0;border:0;flex-direction:column;align-items:center;gap:12px;display:flex}.profile-avatar{color:#fff;border:3px solid #0000;border-radius:18px;place-items:center;width:120px;height:120px;font:700 2.6rem Georgia,serif;transition:all .18s;display:grid;box-shadow:0 10px 30px #00000059}.profile-tile:hover .profile-avatar{border-color:#eaf3ee;transform:translateY(-4px)scale(1.03)}.profile-avatar.new{color:#9fb6ac;background:#ffffff0f;border:2px dashed #3c5a4f}.profile-tile:hover .profile-avatar.new{color:#eaf3ee;border-color:#eaf3ee}.profile-name{font-size:1.05rem;font-weight:750}.profile-sub{color:#8fa89e;font-size:.74rem}.profile-tile.adding{gap:10px}.profile-tile.adding input{text-align:center;color:#fff;background:#ffffff12;border:1px solid #3c5a4f;border-radius:10px;outline:none;width:150px;padding:9px}.profile-tile.adding input:focus{border-color:#7fd8b3}.add-actions{gap:6px;display:flex}.mini-btn{color:#cfe0d8;cursor:pointer;background:0 0;border:1px solid #3c5a4f;border-radius:9px;align-items:center;gap:5px;padding:6px 10px;font-size:.8rem;font-weight:700;display:inline-flex}.mini-btn.primary{color:#fff;background:#21795f;border-color:#21795f}.mini-btn:disabled{opacity:.5;cursor:not-allowed}.link-button{color:#7fd8b3;cursor:pointer;font:inherit;background:0 0;border:0;text-decoration:underline}.profile-foot{color:#7f978d;margin-top:48px;font-size:.82rem}.profile-chip{cursor:pointer;color:#eaf3ee;background:#173b31;border:1px solid #23453a;border-radius:12px;align-items:center;gap:10px;width:100%;margin-bottom:6px;padding:9px 11px;display:flex}.profile-chip:hover{background:#23453a}.chip-avatar{color:#fff;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;font-size:.82rem;font-weight:800;display:grid}.chip-text{text-align:left;flex-direction:column;flex:1;min-width:0;line-height:1.15;display:flex}.chip-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:.92rem;overflow:hidden}.chip-text small{color:#9fb6ac;font-size:.68rem}
