:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f3ea;color:#17211f;font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=dark]{color-scheme:dark;background:#101614;color:#f4f0e6}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{min-height:44px;border:0;border-radius:8px;background:#0e6f5c;color:#fff;cursor:pointer;font-weight:800;padding:10px 16px}button:disabled{cursor:not-allowed;opacity:.55}button.ghost,.nav button{background:transparent;color:inherit}input,select,textarea{width:100%;border:1px solid rgba(23,33,31,.18);border-radius:8px;background:#ffffffbf;color:inherit;padding:12px}textarea{min-height:120px}.app-shell{width:min(1120px,100%);margin:0 auto;padding:24px}.topbar,.nav,.stats-panel,.section-title,.settings-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar h1,.hero-panel h2,.lesson-panel h2,.panel h2{margin:0}.eyebrow{margin:0 0 8px;color:#65726d;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.status{border-radius:999px;padding:8px 12px;font-size:14px;font-weight:800}.online{background:#dff7ef;color:#0e6f5c}.offline{background:#fff0c2;color:#765200}.nav{justify-content:flex-start;margin:24px 0}.nav button{border:1px solid rgba(23,33,31,.14);background:#ffffff8c}.nav button.active{background:#17211f;color:#fff}.grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:18px}.hero-panel,.stats-panel,.path-panel,.lesson-panel,.panel{border:1px solid rgba(23,33,31,.1);border-radius:8px;background:#ffffffad;box-shadow:0 24px 80px #121f1b14}.hero-panel,.lesson-panel,.panel{padding:24px}.hero-panel{min-height:260px;background:linear-gradient(135deg,#0e6f5c29,#efb24d33),#ffffffb3}.hero-panel h2{max-width:620px;font-size:clamp(40px,8vw,84px);line-height:.95}.hero-panel p{max-width:560px;color:#3f4c48;font-size:18px;line-height:1.5}.stats-panel{align-content:stretch;flex-direction:column;padding:18px}.stats-panel div{width:100%;border-radius:8px;background:#ffffff94;padding:16px}.stats-panel strong{display:block;font-size:32px}.stats-panel span{color:#65726d;font-weight:800}.path-panel{grid-column:1 / -1;padding:18px}.path-list{display:grid;gap:12px}.lesson-node{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:16px;border-radius:8px;background:#fff;padding:14px}.lesson-node.completed{border-left:5px solid #0e6f5c}.lesson-node.locked{opacity:.64}.node-index{display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#f0c76b;font-weight:900}.lesson-node h3,.review-card h3{margin:0 0 4px}.lesson-node p,.review-card p{margin:0;color:#65726d}.lesson-panel,.panel{max-width:820px}.exercise-card{display:grid;gap:14px;margin-top:20px}.option-grid,.review-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.option-grid button{background:#fff;color:#17211f;border:1px solid rgba(23,33,31,.14)}.feedback,.review-card{margin-top:18px;border-radius:8px;background:#e6f5ef;padding:16px}.phrase{font-size:32px;font-weight:900}.unsupported{display:grid;gap:12px}.settings{display:grid;gap:16px}.settings label{display:grid;gap:8px;font-weight:800}.settings .check{grid-template-columns:auto 1fr;align-items:center}.settings .check input{width:auto}.loading{display:grid;min-height:100vh;place-items:center}[data-theme=dark] .hero-panel,[data-theme=dark] .stats-panel,[data-theme=dark] .path-panel,[data-theme=dark] .lesson-panel,[data-theme=dark] .panel,[data-theme=dark] .nav button,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#192421e0;border-color:#f4f0e61f}[data-theme=dark] .lesson-node,[data-theme=dark] .stats-panel div,[data-theme=dark] .option-grid button{background:#192421;color:#f4f0e6}[data-theme=dark] .hero-panel p,[data-theme=dark] .lesson-node p,[data-theme=dark] .review-card p,[data-theme=dark] .stats-panel span,[data-theme=dark] .eyebrow{color:#b9c5c0}[data-theme=dark] .feedback,[data-theme=dark] .review-card{background:#17382f}[data-motion=reduced] *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media(max-width:760px){.app-shell{padding:16px}.topbar,.grid,.lesson-node{grid-template-columns:1fr}.topbar,.stats-panel,.section-title{align-items:flex-start;flex-direction:column}.lesson-node button{width:100%}}
