:root{--bg: #f7f5f0;--surface: #ffffff;--surface-2: #efece4;--text: #1d1c1a;--muted: #6b6860;--line: #e2ded4;--accent: #1f7a5c;--accent-soft: #dcefe6;--on-accent: #ffffff;--tech: #3d5bd9;--tech-soft: #e3e8fb;--env: #1f7a5c;--env-soft: #dcefe6;--good: #1f7a5c;--good-soft: #dcefe6;--bad: #b8432f;--bad-soft: #f8e1dc;--radius: 18px;color-scheme:light}@media (prefers-color-scheme: dark){:root{--bg: #141413;--surface: #1f1e1c;--surface-2: #2a2926;--text: #f1efe8;--muted: #a19d93;--line: #34322e;--accent: #3fae86;--accent-soft: #1d3a2f;--on-accent: #0d1f18;--tech: #8da2ff;--tech-soft: #262d4d;--env: #5cc59c;--env-soft: #1d3a2f;--good: #5cc59c;--good-soft: #1d3a2f;--bad: #ff8a73;--bad-soft: #43231d;color-scheme:dark}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%}body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,system-ui,sans-serif;font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;overscroll-behavior:none}#root{height:100%}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.4}h1,h2,p{margin:0}.page{min-height:100%;max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:14px;padding:calc(env(safe-area-inset-top) + 8px) 16px calc(env(safe-area-inset-bottom) + 16px)}.page.lesson{height:100%;min-height:0;gap:0}.grow{flex:1}.muted{color:var(--muted)}.small{font-size:14px;line-height:1.4}.block{display:block}.center{text-align:center}.row{display:flex;gap:8px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:10px}.bar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-height:44px}.bar-title{text-align:center;font-weight:600}.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:19px}.icon{width:44px;height:44px;border-radius:50%;font-size:22px;color:var(--muted)}.link{min-height:44px;padding:0 4px;color:var(--accent);font-weight:600}.logo{display:block}.intro{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:20px 0 8px}.intro h1{font-size:32px;letter-spacing:-.02em}.label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-top:10px}.choice{display:flex;align-items:center;gap:14px;text-align:left;padding:16px;background:var(--surface);border:2px solid var(--line);border-radius:var(--radius)}.choice.on{border-color:var(--accent);background:var(--accent-soft)}.choice-emoji{font-size:28px}.choice-text{flex:1;display:flex;flex-direction:column}.check{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:var(--on-accent)}.choice.on .check{background:var(--accent)}.seg{display:flex;background:var(--surface-2);border-radius:12px;padding:4px}.seg button{flex:1;min-height:40px;border-radius:9px;font-weight:600;color:var(--muted)}.seg button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #0000001f}.primary,.secondary,.ghost{border-radius:14px;font-weight:600;min-height:48px;padding:0 18px}.primary{background:var(--accent);color:var(--on-accent)}.secondary{background:var(--accent-soft);color:var(--accent)}.ghost{background:var(--surface-2);color:var(--text);min-height:40px;font-size:15px;padding:0 14px}.big{min-height:56px;font-size:18px;width:100%}.round{width:56px;height:56px;border-radius:50%;padding:0;font-size:22px}.resume{display:grid;grid-template-columns:1fr auto;text-align:left;gap:2px 12px;padding:14px 16px;background:var(--accent-soft);border-radius:var(--radius)}.resume strong{grid-column:1}.resume-go{grid-column:2;grid-row:1 / span 2;align-self:center;color:var(--accent);font-weight:600}.next{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:20px 18px 16px;display:flex;flex-direction:column;gap:10px}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{font-size:12px;font-weight:600;padding:3px 9px;border-radius:99px}.chip.tech{background:var(--tech-soft);color:var(--tech)}.chip.env{background:var(--env-soft);color:var(--env)}.chip.plain{background:var(--surface-2);color:var(--muted)}.next-title{font-size:28px;line-height:1.15;letter-spacing:-.02em}.next-hook{color:var(--muted)}.times{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.time{display:flex;flex-direction:column;align-items:center;padding:16px 6px 14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.time:active:not(:disabled){background:var(--accent-soft);border-color:var(--accent)}.time-n{font-size:40px;font-weight:700;line-height:1;letter-spacing:-.03em}.time-u{font-weight:600;color:var(--muted)}.time-d{font-size:12px;color:var(--muted);margin-top:8px;text-align:center;line-height:1.3}.search{width:100%;font:inherit;font-size:17px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text)}.list{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.list-item{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}.list-item:last-child{border-bottom:0}.list-item>span:first-child{flex:1}.done-badge{font-size:12px;font-weight:600;color:var(--good);white-space:nowrap}.progress{display:flex;gap:4px}.progress span{flex:1;height:5px;border-radius:3px;background:var(--line)}.progress span.fill{background:var(--accent)}.progress span.cur{background:var(--accent);opacity:.45}.card-wrap{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 2px 20px}.card{animation:in .22s ease-out}.card h1,.quiz h1{font-size:26px;line-height:1.2;letter-spacing:-.015em;margin-bottom:16px}.card p{margin-bottom:14px;font-size:18px;line-height:1.6}.eyebrow{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);margin-bottom:10px!important}.controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px}.listen{min-height:48px;border-radius:99px;padding:0 22px}.listen.on{background:var(--accent-soft);color:var(--accent)}@keyframes in{0%{opacity:0;transform:translate(14px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){.card{animation:none}}.quiz{animation:in .22s ease-out}.option{text-align:left;padding:14px 16px;min-height:54px;border-radius:14px;background:var(--surface);border:2px solid var(--line);line-height:1.35}.option:disabled{opacity:1}.option.right{border-color:var(--good);background:var(--good-soft)}.option.wrong{border-color:var(--bad);background:var(--bad-soft)}.option.dim{opacity:.5}.why{margin-top:16px!important;padding:14px 16px;border-radius:14px;background:var(--surface-2);line-height:1.5}.why.good strong{color:var(--good)}.why.bad strong{color:var(--bad)}.done{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding-top:48px}.done .stack{width:100%}.done-mark{width:72px;height:72px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;font-size:36px;font-weight:700}.done h1{font-size:26px;line-height:1.2}.score{font-size:20px;font-weight:600}.voice-row{flex-wrap:nowrap}.select{flex:1;min-width:0;font:inherit;font-size:16px;min-height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text)}.hint{padding:12px 14px;border-radius:12px;background:var(--surface-2);color:var(--muted)}.hint strong{color:var(--text)}.select.placeholder{display:flex;align-items:center;color:var(--muted)}
