:root{font-family:Figtree,Inter,system-ui,sans-serif;color:#1a1a1a;background:#fdf8f0;--cream:#FDF8F0;--surface:#fff;--surface2:#f4ecdf;--dark:#1A1A1A;--muted:#7d7466;--green:#2ECC71;--green-deep:#1e8b4d;--orange:#F39C12;--line:rgba(26,26,26,.1);--shadow:0 10px 30px rgba(48,40,30,.12)}[data-theme=dark]{--cream:#0a0a0a;--surface:#151615;--surface2:#1e201e;--dark:#f5f5f5;--muted:#9da59c;--line:rgba(255,255,255,.12)}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--dark)}button,a{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.app-shell{min-height:100vh;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.page{max-width:680px;margin:0 auto;padding:calc(24px + env(safe-area-inset-top)) 20px 30px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--muted);text-transform:uppercase}.topbar h1,.page-heading h1,.lesson-header h1{font-size:30px;line-height:1.08;margin:7px 0 0;letter-spacing:-.03em}.avatar{width:46px;height:46px;border-radius:50%;object-fit:cover}.initials{display:grid;place-items:center;background:var(--green);color:#fff;font-weight:800;font-size:20px}.hero-card{display:flex;justify-content:space-between;align-items:center;background:var(--green);border-radius:28px;padding:25px 24px;color:#fff;box-shadow:var(--shadow);overflow:hidden}.hero-card h2{margin:13px 0 4px;font-size:24px;line-height:1.1}.hero-card p{margin:0;opacity:.9}.hero-orbit{font-family:serif;font-size:82px;opacity:.2;transform:rotate(-12deg)}.pill{display:inline-flex;padding:6px 10px;border-radius:999px;background:#ffffff38;font-size:11px;font-weight:800;letter-spacing:.08em}.section-block{margin-top:30px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-title h2{font-size:21px;margin:0}.section-title a{display:flex;align-items:center;color:var(--green-deep);font-size:13px;font-weight:700}.course-card,.quick-card,.progress-link{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--shadow)}.course-card{margin-bottom:12px}.course-card h3{margin:4px 0;font-size:18px}.course-card p,.quick-card p,.progress-link p,.profile-card p{margin:0;color:var(--muted);font-size:13px}.course-card>svg{margin-left:auto;color:var(--muted)}.course-badge{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:#e4f4ea;color:var(--green-deep);font-size:20px;font-weight:800}.quick-card{margin-top:18px}.quick-card strong{font-size:15px}.quick-card>svg{margin-left:auto}.icon-bubble{width:38px;height:38px;display:grid;place-items:center;border-radius:13px}.orange{background:#fdefd7;color:#b46d00}.bottom-nav{position:fixed;z-index:10;bottom:0;left:0;right:0;height:calc(76px + env(safe-area-inset-bottom));padding:8px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--surface) 93%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--line)}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:10px;font-weight:700}.nav-item.active{color:var(--green-deep)}.page-heading{margin:4px 0 28px}.page-heading p{margin:9px 0 0;color:var(--muted)}.stack,.lesson-track{display:flex;flex-direction:column;gap:12px}.lesson-row{display:flex;align-items:center;gap:15px;background:var(--surface);border:1px solid var(--line);padding:15px;border-radius:18px}.lesson-row h3{font-size:16px;margin:4px 0}.lesson-row>svg{margin-left:auto;color:var(--muted)}.lesson-dot{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--surface2);color:var(--green-deep);font-weight:800}.back-button{border:0;background:none;color:var(--green-deep);display:flex;gap:6px;align-items:center;padding:4px 0;font-weight:700}.lesson-header{margin:30px 0 20px}.lesson-header .pill{background:var(--surface2);color:var(--green-deep)}.lesson-header p{color:var(--muted)}.lesson-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:28px}.button{min-height:48px;border:0;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800}.button.primary{background:var(--green);color:#fff}.button.secondary{background:var(--surface);color:var(--green-deep);border:1px solid var(--line)}.content-section{margin-top:24px}.content-section h2{font-size:22px;margin:5px 0 13px}.section-kicker{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:800}.content-item{display:flex;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:9px}.content-item strong{font-size:14px}.content-item p{margin:4px 0 0;color:var(--muted);font-size:12px}.item-mark{color:var(--green-deep)}.profile-card{display:flex;align-items:center;gap:14px;background:var(--surface);padding:18px;border-radius:22px;border:1px solid var(--line)}.profile-card h2{margin:0 0 4px;font-size:20px}.icon-button{margin-left:auto;border:0;background:none;color:var(--muted);min-width:44px;min-height:44px}.progress-link{margin-top:14px;justify-content:space-between}.progress-link h3{margin:7px 0 3px;font-size:19px}.progress-link>svg{color:var(--muted)}.settings-row{display:flex;justify-content:space-between;padding:20px 3px;color:var(--dark);font-size:14px}.muted{color:var(--muted)}.state{text-align:center;padding:54px 15px;color:var(--muted)}.state h2{color:var(--dark)}.state-icon{width:46px;height:46px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:var(--surface2);color:var(--orange);font-weight:800;font-size:24px}.skeleton{height:130px;border-radius:24px;background:linear-gradient(90deg,var(--surface2),var(--surface),var(--surface2));background-size:200% 100%;animation:shimmer 1.4s infinite}.skeleton.short{height:55px;margin-top:12px;width:70%}@keyframes shimmer{to{background-position:-200% 0}}.boot,.onboarding{min-height:100vh;padding:calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center;max-width:520px;margin:auto}.boot{text-align:center;align-items:center}.brand{color:var(--green-deep);font-family:serif;font-size:28px;font-weight:700}.brand span{font-size:12px;letter-spacing:.18em;vertical-align:middle;margin-left:6px}.spinner{width:28px;height:28px;border:3px solid var(--surface2);border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;margin-top:35px}@keyframes spin{to{transform:rotate(360deg)}}.onboarding{justify-content:flex-start;gap:24px}.onboarding-copy{margin-top:65px}.onboarding-copy h1{font-size:40px;line-height:1.03;letter-spacing:-.05em;margin:12px 0}.onboarding-copy p{line-height:1.5;color:var(--muted);max-width:340px}.hello{font-size:18px;font-weight:700}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.level{min-height:58px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--dark);font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px}.level:first-child{grid-column:1/-1}.level span{font-size:11px;color:var(--muted)}.level.selected{border:2px solid var(--green);background:#e4f4ea;color:var(--green-deep)}.level:disabled{opacity:.45}.full{width:100%;margin-top:auto}.error-text{color:#c64c3d;font-size:13px}@media(min-width:768px){.page{padding-top:40px}.bottom-nav{left:50%;right:auto;transform:translate(-50%);width:min(680px,100%);border-radius:20px 20px 0 0}.onboarding{padding-top:70px}.hero-card{padding:32px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important}}.exercise-shell{min-height:100vh;max-width:680px;margin:auto;padding:calc(24px + env(safe-area-inset-top)) 20px calc(30px + env(safe-area-inset-bottom));display:flex;flex-direction:column}.exercise-top{display:flex;justify-content:space-between;align-items:center}.exercise-progress{height:6px;background:var(--surface2);border-radius:99px;margin:24px 0}.exercise-progress span{display:block;height:100%;border-radius:99px;background:var(--orange)}.exercise-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow)}.exercise-card h1{font-size:27px;line-height:1.12;margin:18px 0 24px}.orange-pill{background:#fdefd7;color:#a86500}.choice-list{display:grid;gap:10px}.choice{min-height:52px;border:1px solid var(--line);border-radius:15px;background:var(--surface);text-align:left;padding:12px 14px;color:var(--dark);font-weight:700}.choice.selected{border:2px solid var(--green);background:#e4f4ea;color:var(--green-deep)}.choice:disabled{cursor:default}.hint-button{display:flex;align-items:center;gap:8px;border:0;background:none;color:#b46d00;font-weight:700;padding:16px 0 0}.hint-box,.retry-box{margin-top:14px;padding:13px;border-radius:14px;background:#fdefd7;color:#8b5a06;font-size:13px}.retry-box button{border:0;background:none;color:var(--green-deep);font-weight:800}.result-card{display:flex;gap:12px;margin:16px 0;padding:16px;border-radius:18px}.result-card.correct{background:#e4f4ea;color:#1e8b4d}.result-card.incorrect{background:#fbe6e2;color:#b34b3e}.result-card h2{margin:0 0 4px;font-size:19px}.result-card p{margin:0;font-size:13px}.result-icon{display:grid;place-items:center}.result-screen{justify-content:center;align-items:center;text-align:center;gap:16px}.result-screen h1{font-size:36px;margin:8px 0}.result-orbit{font-size:92px;color:var(--green);opacity:.25}.unsupported{text-align:center;padding:50px 15px;color:var(--muted)}.content-item.large{padding:28px;margin:20px 0}.spin{animation:spin .8s linear infinite}.exercise-shell .full{margin-top:auto}:root{--bg:#f7efe1;--surface:#fff;--surface2:#f1e7d6;--text:#201e1d;--muted:#7d7466;--line:rgba(32,30,29,.1);--green:#27ae60;--green-soft:#e4f4ea;--green-deep:#1e8b4d;--orange:#f39c12;--orange-soft:#fdefd7;--red:#e05b4b;--red-soft:#fbe6e2;--yellow:#e8a91d;font-family:Figtree,system-ui,sans-serif}.hz{font-family:Noto Sans SC,serif}.onboarding{width:min(393px,100%);max-width:393px;height:100dvh;min-height:0;margin:0 auto;padding:0;background:var(--bg);color:var(--text);display:flex;flex-direction:column;justify-content:flex-start;gap:0;overflow:hidden;animation:mnRise .4s ease both}.ob-header{display:flex;justify-content:space-between;align-items:center;padding:4px 24px 0;flex:none}.ob-wordmark{font-family:Caprasimo,serif;font-size:19px;line-height:1}.ob-skip{padding:8px;border:0;background:none;color:var(--muted);font-size:13px;font-weight:600}.ob-slide{flex:1;min-height:0}.ob-slide-one{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 30px;text-align:center}.ob-slide-one h1{font-size:29px;line-height:1.12;letter-spacing:-.02em;font-weight:800;margin:0 0 12px;text-wrap:balance}.ob-slide-one>p{font-size:15px;line-height:1.55;font-weight:400;color:var(--muted);margin:0 0 20px;max-width:300px;text-wrap:pretty}.ob-hero{width:190px;height:190px;border-radius:50%;background:var(--green-soft);display:grid;place-items:center;position:relative;margin-bottom:28px}.ob-hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:2px solid var(--green);opacity:.25}.ob-glyph{font-size:90px;line-height:1;font-weight:500;color:var(--green-deep)}.ob-accent{position:absolute;bottom:12px;right:2px;width:42px;height:42px;border-radius:50%;background:var(--orange);box-shadow:var(--shadow-sm)}.ob-pills{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.ob-pills span{padding:7px 12px;border-radius:99px;background:var(--surface);font-size:11.5px;line-height:1;font-weight:800;box-shadow:var(--shadow-sm)}.ob-slide-scroll{overflow-y:auto;padding:18px 24px 4px}.ob-slide-scroll h2{font-size:27px;line-height:1.12;letter-spacing:-.02em;font-weight:800;margin:0 0 8px;text-wrap:balance}.ob-slide-scroll>p{font-size:14.5px;line-height:1.5;color:var(--muted);margin:0 0 20px;text-wrap:pretty}.ob-profile{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:20px;padding:13px 15px;box-shadow:var(--shadow-sm);margin-bottom:16px}.ob-avatar{width:44px;height:44px;border-radius:50%;background:var(--orange-soft);border:2px solid var(--orange);display:grid;place-items:center;font-size:19px;flex:none}.ob-profile-copy{flex:1;min-width:0;display:block}.ob-profile-copy strong{display:block;font-size:16.5px;font-weight:800}.ob-profile-copy small{display:block;margin-top:2px;font-size:11.5px;font-weight:700;color:var(--muted)}.ob-telegram{flex:none;padding:5px 10px;border-radius:99px;background:var(--green-soft);color:var(--green-deep);font-size:10.5px;font-weight:800}.ob-label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.ob-label-row span,.ob-level-label{font-size:12px;line-height:1.2;letter-spacing:.06em;text-transform:uppercase;font-weight:800;color:var(--muted)}.ob-label-row small{font-size:11px;font-weight:700;color:var(--muted)}.ob-age{width:100%;height:50px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface);color:var(--text);padding:0 16px;font-size:15.5px;font-weight:700;outline:none;margin-bottom:16px}.ob-level-label{margin-bottom:8px}.ob-level-start{width:100%;min-height:52px;border-radius:18px;font-size:14.5px;font-weight:800;background:var(--surface);color:var(--muted);border:1.5px solid var(--line);margin-bottom:8px;transition:all .18s ease}.ob-level-start.selected{background:var(--green);color:#fff;border-color:var(--green)}.ob-level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}.ob-level{width:100%;min-height:50px;border-radius:16px;font-size:13.5px;font-weight:800;background:var(--surface);color:var(--muted);border:1.5px solid var(--line);transition:all .18s ease}.ob-level.selected{background:var(--green);color:#fff;border-color:var(--green)}.ob-level:disabled{opacity:.45}.ob-consent{width:100%;display:flex;gap:11px;align-items:flex-start;text-align:left;background:var(--surface);border:0;border-radius:18px;padding:14px;box-shadow:var(--shadow-sm);font-size:12.5px;line-height:1.45;font-weight:600;color:var(--muted)}.ob-consent a{color:var(--green-deep)}.ob-check{width:24px;height:24px;border-radius:8px;flex:none;border:2px solid var(--line);display:grid;place-items:center;font-size:14px;font-weight:800}.ob-consent.agreed .ob-check{background:var(--green);border-color:var(--green);color:#fff}.ob-features{display:flex;flex-direction:column;gap:10px}.ob-feature{width:100%;background:var(--surface);border-radius:22px;padding:15px;box-shadow:var(--shadow-sm);display:flex;gap:13px;align-items:flex-start}.ob-feature-glyph{width:48px;height:48px;border-radius:16px;background:var(--green-soft);color:var(--green-deep);display:grid;place-items:center;font-size:23px;line-height:1;font-weight:500;flex:none}.ob-feature>span:last-child{flex:1;min-width:0}.ob-feature strong{display:block;font-size:15px;font-weight:800}.ob-feature small{display:block;margin-top:3px;font-size:12.5px;line-height:1.4;color:var(--muted);font-weight:600}.ob-dots{display:flex;gap:0;justify-content:center;padding:14px 0 12px;flex:none}.ob-dots button{position:relative;width:26px;height:44px;padding:0;border:0;border-radius:99px;background:transparent}.ob-dots button:before{content:"";position:absolute;top:18.5px;left:9.5px;width:7px;height:7px;border-radius:99px;background:#0000001f;transition:width .3s ease,background .3s ease}.ob-dots button.active:before{left:0;width:26px;background:var(--green)}.ob-cta-wrap{padding:0 24px 28px;flex:none}.ob-cta{width:100%;height:56px;border:0;border-radius:20px;background:var(--orange);color:#fff;font-size:17px;font-weight:800;box-shadow:0 6px 18px #f39c125c;transition:transform .12s ease}.ob-cta:active{transform:scale(.97)}.ob-cta:disabled{opacity:.6}.ob-loading{display:grid;place-items:center;height:100%}@media(min-width:394px){body{background:var(--bg)}}@media(min-width:768px){.onboarding{margin:0 auto}}.staging-diagnostics{position:fixed;left:12px;right:12px;bottom:12px;z-index:50;padding:12px;border:1px solid #d6a448;border-radius:10px;background:#fff8e8;color:#2b2417;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;text-align:left;box-shadow:0 4px 18px #0002}.staging-diagnostics strong{display:block;margin-bottom:4px}
