:root{--bg:#0d0f17;--card:#121624;--card-2:#1a1f30;--card-3:#2a3046;--border:#262c40;--text:#e4e6ee;--muted:#8e95a8;--accent:#b3a6e0;--accent-strong:#5f53b8;--green:#6dbb8c;--red:#d98282;--orange:#d9a06e;--code-bg:#10142a;--radius:18px;--mono:ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;color:var(--text);background:var(--bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default;opacity:.5}a{color:var(--accent)}input,textarea,select{font:inherit;color:var(--text)}h1,h2,h3{margin:0}.app{min-height:100vh;padding-bottom:80px;position:relative}.backdrop{z-index:-1;pointer-events:none;background:radial-gradient(1200px 500px at 70% -10%, #5f53b81f, transparent 60%), radial-gradient(900px 400px at -10% 40%, #5046a012, transparent 60%), var(--bg);position:fixed;inset:0}.topbar{z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);background:#0d0f17bf;justify-content:space-between;align-items:center;padding:18px 20px;display:flex;position:sticky;top:0}.logo{font-family:var(--mono);letter-spacing:-.5px;font-size:28px;font-weight:700}.logo-r{color:var(--accent)}.cursor{color:var(--muted);margin-left:4px;animation:1.1s step-end infinite blink}@keyframes blink{50%{opacity:0}}.avatar{background:var(--card-3);border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.bottombar{z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);background:#12141ceb;justify-content:space-around;padding:14px 0 18px;display:flex;position:fixed;bottom:0;left:0;right:0}.bottombar button{color:var(--muted);padding:4px 24px}.bottombar button.active{color:var(--text)}.page{flex-direction:column;gap:24px;max-width:1100px;margin:0 auto;padding:24px 16px;display:flex}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}.pad{flex-direction:column;gap:12px;padding:20px 24px;display:flex}.muted{color:var(--muted)}.small{font-size:13px}.accent{color:var(--orange)}.error{color:var(--red);margin:8px 0 0}.success{color:var(--green);font-weight:600}.section-title{margin-bottom:12px;font-size:20px;font-weight:500}.group-title{color:#d6d8e0;margin-bottom:12px;font-size:22px;font-weight:600}.btn{background:var(--card-3);white-space:nowrap;border-radius:12px;align-items:center;gap:8px;padding:10px 16px;font-weight:600;display:inline-flex}.btn:hover:not(:disabled){filter:brightness(1.15)}.btn-primary{background:var(--accent-strong);color:#f1effa}.link-btn{color:var(--accent);align-items:center;gap:4px;font-weight:600;display:inline-flex}.link-btn.danger{color:var(--red)}.icon-btn{background:#ffffff14;border-radius:12px;place-items:center;width:44px;height:44px;display:grid}.pill{color:#eef0f4;white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:13px;font-weight:700}.pill-easy{background:#2e6b4b}.pill-medium{background:#8a6328}.pill-hard{background:#8c3d3a}.status{border:2px solid #4b5266;border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.status-partial{border-color:var(--accent);border-style:dashed}.status-done{border-color:var(--green);background:var(--green);color:#052e16}.progress-track{background:#ffffff1f;border-radius:999px;width:100%;height:6px;overflow:hidden}.progress-fill{background:var(--green);border-radius:inherit;height:100%;transition:width .3s}.spinner{border:2px solid #ffffff40;border-top-color:var(--text);border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.add-card{flex-direction:column;gap:12px;padding:20px;display:flex;position:relative}.add-row{gap:10px;display:flex}.add-input,.search,.notes{border:1px solid var(--border);background:var(--card-2);border-radius:12px;outline:none;flex:1;min-width:0;padding:12px 14px}.add-input:focus,.search:focus,.notes:focus{border-color:var(--accent-strong)}.notes{resize:vertical}.add-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.suggestions{z-index:5;background:var(--card-2);border:1px solid var(--border);border-radius:12px;margin:0;padding:6px;list-style:none;position:absolute;top:72px;left:20px;right:20px;box-shadow:0 12px 30px #00000080}.suggestions button{text-align:left;border-radius:8px;grid-template-columns:1fr auto auto;align-items:center;gap:12px;width:100%;padding:10px;display:grid}.suggestions button:hover{background:var(--card-3)}.recent-row{gap:16px;padding-bottom:6px;display:flex;overflow-x:auto}.recent-card{text-align:left;background:var(--card-2);color:var(--text);border:1px solid var(--border);border-radius:22px;flex-direction:column;flex:0 0 230px;gap:6px;padding:18px 22px;display:flex}.recent-top{justify-content:space-between;align-items:center;display:flex}.recent-title{white-space:nowrap;text-overflow:ellipsis;font-size:19px;font-weight:500;overflow:hidden}.recent-tags{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-style:italic;overflow:hidden}.recent-card .progress-track{background:var(--card-3);height:4px}.recent-bottom{color:var(--muted);justify-content:space-between;font-size:13px;font-weight:600;display:flex}.daily{background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:28px;flex-direction:column;gap:16px;padding:28px 36px;display:flex}.daily-head{justify-content:space-between;align-items:center;display:flex}.daily-head h2{align-items:center;gap:14px;font-size:26px;font-weight:600;display:flex}.daily .icon-btn{background:var(--card-3);color:var(--text)}.beta{background:var(--card-3);color:var(--muted);letter-spacing:1px;border-radius:999px;padding:4px 10px;font-size:13px}.daily-body{align-items:center;gap:22px;font-size:18px;display:flex}.daily-body .muted{color:var(--muted)}.daily-count{font-size:56px;font-weight:700}.daily-note{color:var(--muted);margin:0;font-style:italic}.daily .progress-track{background:var(--card-3);height:12px}.groups{flex-direction:column;gap:28px;display:flex}.rows{flex-direction:column;gap:14px;display:flex}.row{text-align:left;align-items:center;gap:18px;width:100%;padding:20px 24px;display:flex}.row:hover,.stage-row:hover{background:var(--card-2)}.row-main{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.row-title{font-size:19px;font-weight:600}.row-meta{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.back-link{align-self:flex-start;text-decoration:none}.overview{overflow:hidden}.overview-head{border-bottom:1px solid var(--border);align-items:center;gap:18px;padding:24px;display:flex}.overview-title{font-size:22px;font-weight:600}.stage-row{border-bottom:1px solid var(--border);text-align:left;grid-template-columns:26px 1fr auto 18px;align-items:center;gap:18px;width:100%;padding:18px 24px;font-size:18px;font-weight:500;display:grid}.stage-row:last-child{border-bottom:0}.stage-row.start{color:var(--accent);border-left:3px solid var(--accent);background:#a78bfa0f}.play{background:var(--accent);width:26px;height:26px;color:var(--bg);border-radius:50%;place-items:center;font-size:11px;display:grid}.continue-btn{align-self:flex-start}.stage-tools{flex-wrap:wrap;gap:20px;display:flex}.player{flex-direction:column;max-width:1100px;min-height:calc(100vh - 160px);margin:0 auto;display:flex}.player-top{align-items:center;gap:18px;padding:16px;display:flex}.player-top .progress-fill{background:#fff}.player-body{flex:1;padding:8px 16px 24px}.player-bottom{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--border);background:#0d0f17e6;justify-content:space-between;padding:14px 16px;display:flex;position:sticky;bottom:72px}.player-bottom .link-btn{color:var(--text);font-size:18px}.stage-label{color:var(--accent);letter-spacing:1px;text-transform:uppercase;margin-bottom:10px;font-size:13px;font-weight:700}.step{flex-direction:column;gap:14px;display:flex}.step-title{font-size:28px;font-weight:700}.step-intro,.step-question{margin:0;font-size:17px;line-height:1.5}.step-question{font-weight:700}.snippet{background:var(--code-bg);white-space:pre-wrap;margin:6px -16px;padding:22px 28px;font-size:16px;line-height:1.75;overflow-x:auto}.snippet-code{font-family:var(--mono);white-space:pre}.snippet-text{font-family:inherit;font-size:17px}.slot{color:#e3d29c}.slot-filled{color:var(--green);background:#6dbb8c1f;border-radius:4px;padding:0 2px}.tok-kw{color:#7aa2f7}.tok-str{color:#e0af68}.tok-com{color:#6a9955}.tok-num{color:#b5cea8}.tok-fn{color:#dcdcaa}.blank-card{background:#303650;border-radius:14px;flex-direction:column;gap:12px;padding:18px 20px;display:flex}.blank-label{font-weight:700}.options{flex-wrap:wrap;gap:12px;display:flex}.option{font-size:16px;font-weight:600;font-family:var(--mono);background:#4a5168;border-radius:8px;padding:8px 18px}.option:hover:not(:disabled){background:#5b637d}.option:disabled{opacity:1}.option.right{outline:2px solid var(--green);background:#6b7390}.option.wrong{color:#d9a0a0;background:#3f2a30;text-decoration:line-through}.explanation{color:#d8dbe6;margin:0;font-style:italic}.verdict{margin:0;font-weight:600}.verdict.ok{color:var(--green)}.verdict.bad{color:var(--red)}.key-point{margin:18px 0 0;font-size:17px;line-height:1.5}.grades{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.grade{flex-direction:column;gap:4px;padding:16px}.grade-again{background:#7f1d1d}.grade-hard{background:#9a3412}.grade-good{background:#166534}.grade-easy{background:#1e40af}.settings h2{font-size:18px}.stage-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (width<=640px){.daily{padding:22px}.daily-head h2{font-size:20px}.add-row{flex-direction:column}.grades{grid-template-columns:repeat(2,1fr)}.step-title{font-size:22px}.stage-row{grid-template-columns:26px 1fr 18px}.stage-row>.small,.stage-row>span:nth-child(3):empty{display:none}}.kind{vertical-align:middle;letter-spacing:1px;text-transform:uppercase;border-radius:999px;margin-right:12px;padding:3px 10px;font-size:12px;font-weight:800;display:inline-block}.kind-why{color:#c4b5fd;background:#3b2f6b}.kind-build{color:#86efac;background:#14432a}.kind-trace{color:#fcd34d;background:#4a3410}.kind-recall{color:#93c5fd;background:#1e3a5f}.line-context{opacity:.45}.line-new{min-width:100%;box-shadow:inset 3px 0 0 var(--accent);background:#a78bfa14;display:inline-block}.blank-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.option-wrap{display:inline-flex;position:relative}.option-tip{transform:translateX(calc(-50% + var(--tip-shift,0px)));z-index:20;width:max-content;max-width:280px;color:var(--text);pointer-events:none;opacity:0;visibility:hidden;background:#2c3247;border:1px solid #3a415a;border-radius:10px;padding:10px 12px;font-size:14px;font-weight:500;line-height:1.4;transition:opacity .12s;position:absolute;bottom:calc(100% + 10px);left:50%;box-shadow:0 10px 30px #00000073}.option-tip:after{content:"";top:100%;left:calc(50% - var(--tip-shift,0px));border:7px solid #0000;border-top-color:#2c3247;position:absolute;transform:translate(-50%)}.option-wrap:hover .option-tip,.option-wrap:focus-within .option-tip{opacity:1;visibility:visible;transition-delay:.25s}.option-notes{color:#d8dbe6;flex-direction:column;gap:6px;margin:0;padding-left:18px;display:flex}.option-notes code,.mistake code{font-family:var(--mono);background:#ffffff14;border-radius:4px;margin-right:4px;padding:1px 6px}.mistake{color:#e3b8b8;font-weight:500}@media (hover:none){.option-tip{display:none}}.star{color:var(--muted);border-radius:6px;place-items:center;padding:2px;display:inline-grid}.star svg{width:20px;height:20px}.star:hover{color:var(--text)}.star.starred{color:#d4b04e}.player-top .star svg{width:26px;height:26px}.row{cursor:pointer}.row:focus-visible{outline:2px solid var(--accent)}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.section-head .section-title{margin-bottom:0}.chips{gap:8px;display:flex}.chip{background:var(--card-2);border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:6px 14px;font-size:14px;font-weight:600}.chip.active{background:var(--accent-strong);border-color:var(--accent-strong);color:#fff}.problem-columns{grid-template-columns:minmax(0,1fr) 400px;align-items:start;gap:24px;display:grid}.problem-main{flex-direction:column;grid-area:1/1;gap:24px;min-width:0;display:flex}.problem-side{flex-direction:column;grid-area:1/2;gap:16px;display:flex;position:sticky;top:96px}.problem-side .stage-row{padding:14px 20px;font-size:16px}@media (width<=960px){.problem-columns{grid-template-columns:1fr}.problem-side,.problem-main{grid-area:auto/1;position:static}}.intro{flex-direction:column;gap:14px;padding:24px 28px;display:flex}.intro-title{font-size:30px;font-weight:700}.intro-heading{margin:10px 0;font-size:22px;font-weight:700}.rich{flex-direction:column;gap:10px;font-size:17px;line-height:1.6;display:flex}.rich p{margin:0}.rich ul{margin:0;padding-left:22px}.rich code,.constraints code,.approach-body code{font-family:var(--mono);color:#cfa0bd;background:#ffffff0f;border-radius:5px;padding:1px 6px;font-size:.9em}.example{border-left:4px solid var(--accent-strong);background:var(--card-2);font-family:var(--mono);white-space:pre-wrap;border-radius:10px;margin:0;padding:16px 20px;font-size:15px;line-height:1.7;overflow-x:auto}.constraints{flex-direction:column;gap:8px;margin:0;padding-left:22px;display:flex}.approaches{flex-direction:column;gap:14px;display:flex}.approaches .section-title{margin-bottom:0}.approach{border-left:4px solid var(--green);overflow:hidden}.approach-brute{border-left-color:var(--orange)}.approach-recommended{border-left-color:var(--red)}.approach-head{text-align:left;grid-template-columns:1fr auto 20px;align-items:center;gap:16px;width:100%;padding:20px 24px;display:grid}.approach-head:hover{background:var(--card-2)}.approach-name{flex-direction:column;gap:4px;font-size:18px;font-weight:700;display:flex}.approach-name .small{font-weight:400}.approach-chevron{transition:transform .15s;display:grid}.approach.open .approach-chevron{transform:rotate(90deg)}.approach-body{flex-direction:column;gap:14px;padding:0 24px 24px;display:flex}.approach-body .muted{margin:0}.code-block{border-radius:12px;margin:0}.approach-body .btn{align-self:flex-start}@media (width<=640px){.approach-complexity{display:none}.approach-head{grid-template-columns:1fr 20px}}.explore-head{flex-direction:column;gap:8px;display:flex}.explore-head h1{font-size:32px}.explore-head p{max-width:760px;margin:0;line-height:1.5}.totals{flex-wrap:wrap;gap:16px;font-weight:600;display:flex}.t-easy{color:#7cbf98}.t-medium{color:#d4b06a}.t-hard{color:#d98282}.filter-bar{flex-wrap:wrap;align-items:center;gap:12px 20px;display:flex}.chip-easy.active{background:#2e6b4b;border-color:#2e6b4b}.chip-medium.active{background:#8a6328;border-color:#8a6328}.chip-hard.active{background:#8c3d3a;border-color:#8c3d3a}.chip-count{opacity:.7;margin-left:2px;font-weight:500}.check{color:var(--muted);align-items:center;gap:8px;font-size:14px;font-weight:600;display:inline-flex}.sort{background:var(--card-2);border:1px solid var(--border);border-radius:10px;margin-left:auto;padding:7px 10px}.area-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.area-card{color:inherit;flex-direction:column;gap:10px;padding:20px;text-decoration:none;transition:transform .12s,border-color .12s;display:flex}.area-card:hover{border-color:var(--accent-strong);transform:translateY(-2px)}.area-card p{flex:1;margin:0;line-height:1.45}.area-top{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.area-top h2{font-size:19px}.area-count{color:var(--accent);font-size:24px;font-weight:800}.in-lib{color:var(--green);font-weight:600}.diff-bar{background:var(--card-3);border-radius:999px;height:8px;display:flex;overflow:hidden}.seg-easy{background:#2e6b4b}.seg-medium{background:#8a6328}.seg-hard{background:#8c3d3a}.tag-cloud{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tag{background:var(--card-3);color:#d8dbe6;border-radius:999px;padding:4px 10px;font-size:13px}.badge{letter-spacing:.5px;color:#c4b5fd;vertical-align:middle;background:#3b2f6b;border-radius:6px;margin-left:8px;padding:2px 8px;font-size:11px;font-weight:800}.row-meta .badge{margin-left:0}.lc-rows{overflow:hidden}.lc-row{border-bottom:1px solid var(--border);color:inherit;grid-template-columns:52px 1fr auto;align-items:center;gap:14px;padding:14px 20px;text-decoration:none;display:grid}.lc-row:last-child{border-bottom:0}.lc-row:hover{background:var(--card-2)}.lc-num{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:600}.lc-title{min-width:0;font-weight:600}.lc-meta{align-items:center;gap:14px;display:flex}.lc-more{width:100%;color:var(--accent);padding:14px;font-weight:700}.lc-more:hover{background:var(--card-2)}.lc-detail h1{font-size:28px}.lc-detail a{text-decoration:none}.lc-actions{flex-wrap:wrap;align-items:center;gap:16px;margin-top:4px;display:flex}.lc-actions .btn{text-decoration:none}@media (width<=640px){.lc-row{grid-template-columns:40px 1fr}.lc-meta{grid-column:2}.sort{margin-left:0}}.set-cards{flex-direction:column;gap:18px;display:flex}.set-cards .section-title{margin-bottom:0}.set-card{color:inherit;text-decoration:none;transition:border-color .12s,transform .12s;overflow:hidden}.set-card:hover{border-color:var(--accent-strong);transform:translateY(-2px)}.set-card-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:22px 28px;display:flex}.set-card-head h3{letter-spacing:-.3px;font-size:30px;font-weight:800}.set-count{letter-spacing:1.5px;text-transform:uppercase;color:#d6d8e0;margin-bottom:6px;font-size:13px;font-weight:800}.set-card-body{background:var(--card-2);flex-direction:column;gap:10px;padding:20px 28px 24px;display:flex}.set-card-body p{color:#d8dbe6;margin:0;line-height:1.55}.set-progress{align-items:center;gap:14px;display:flex}.set-progress .progress-track{max-width:360px}.set-progress .small{white-space:nowrap}.set-hero{flex-direction:column;gap:12px;display:flex}.set-hero h1{font-size:34px}.set-hero p{color:#d8dbe6;max-width:820px;margin:0;line-height:1.5}.diff-pills{flex-wrap:wrap;gap:10px;display:flex}.dot-pill{background:var(--card-2);border:1px solid var(--border);border-radius:999px;align-items:center;gap:8px;padding:6px 14px;font-weight:700;display:inline-flex}.dot{border-radius:50%;width:9px;height:9px;display:inline-block}.dot-easy{background:#4f9a72}.dot-medium{background:#b88a45}.dot-hard{background:#b45a55}.category-select{min-width:240px}.set-group{align-items:baseline;gap:12px;display:flex}.set-row{color:inherit;text-decoration:none}.set-row.done .row-title{color:var(--green)}@media (width<=640px){.set-card-head h3{font-size:24px}.set-card-head,.set-card-body{padding-left:20px;padding-right:20px}.category-select{width:100%;min-width:0}}.set-card-featured{border-color:var(--accent-strong);box-shadow:0 0 0 1px var(--accent-strong), 0 12px 40px #5f53b81a}.next-btn{align-self:flex-start;text-decoration:none}.next-pattern{opacity:.75;font-weight:500}.signals{color:#d8dbe6}.week{flex-direction:column;gap:12px;display:flex}.week-title{letter-spacing:2px;text-transform:uppercase;color:var(--accent);font-size:14px;font-weight:800}.pattern-list{flex-direction:column;gap:12px;display:flex}.pattern-card{color:inherit;align-items:center;gap:18px;padding:18px 22px;text-decoration:none;display:flex}.pattern-card:hover{background:var(--card-2);border-color:var(--accent-strong)}.pattern-num{background:var(--card-3);color:#d6d8e0;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.pattern-num.complete{background:var(--green);color:#052e16}.pattern-name{font-size:18px;font-weight:700}.pattern-meta{align-items:center;gap:12px;margin-top:4px;display:flex}.pattern-meta .progress-track{max-width:220px}.pattern-meta .small{white-space:nowrap}.show-more{margin-top:12px}.solution-card{border-color:var(--green);flex-direction:column;gap:10px;padding:20px 22px;display:flex}.solution-card.locked{border-color:var(--border);border-style:dashed}.solution-card h2{font-size:18px}.solution-card p{margin:0}.solution-progress{color:var(--accent);font-weight:700}.solution-actions{flex-wrap:wrap;gap:10px;display:flex}.solution-actions .btn{text-decoration:none}.step .solution-card{margin-bottom:8px}.code-locked{border:1px dashed var(--border);color:var(--muted);border-radius:12px;margin:0;padding:14px 16px}.key-points summary{cursor:pointer;margin-top:4px;font-weight:700}.key-points ol{color:#d8dbe6;flex-direction:column;gap:6px;margin:10px 0 0;padding-left:22px;line-height:1.5;display:flex}.stacked{flex-direction:column;gap:18px;display:flex}.stacked-step{padding:22px 26px 26px;position:relative;overflow:hidden}.stacked-step.done{border-color:#6dbb8c73}.stacked-step .snippet{margin:6px -26px}.stacked-num{color:var(--accent);align-items:baseline;gap:6px;margin-bottom:6px;font-weight:800;display:flex}.stacked-step.done .stacked-num{color:var(--green)}.interview-card{flex-direction:column;gap:18px;display:flex}.card-progress{z-index:5;background:var(--bg);align-items:center;gap:14px;padding:10px 0;display:flex;position:sticky;top:76px}.card-progress .small{white-space:nowrap}.card-hint{text-align:center}.say-it{border-color:var(--accent-strong);flex-direction:column;gap:12px;padding:22px 26px;display:flex}.say-it h2{font-size:20px}.say-it p{margin:0}.say-it blockquote{border-left:4px solid var(--accent-strong);background:var(--card-2);border-radius:10px;margin:0;padding:14px 18px;font-size:17px;line-height:1.6}.say-it .btn,.deep-dive .btn{align-self:flex-start}.pattern-link{color:#d6d8e0;text-decoration:none}.pattern-link:hover{color:var(--accent)}.primer{gap:14px}.primer-done{border-color:#6dbb8c73}.primer-head{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.primer-head h2{margin-right:auto;font-size:20px}.primer .btn,.primer>.link-btn{align-self:flex-start}.momentum{flex-wrap:wrap;align-items:center;gap:28px;padding:16px 22px;display:flex}.momentum-stat{color:inherit;flex-direction:column;text-decoration:none;display:flex}.momentum-value{font-size:26px;font-weight:800}.momentum-next{margin-left:auto;text-decoration:none}.momentum-drill{text-decoration:none}.hero-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.drill-top{align-items:center;gap:14px;display:flex}.drill-top .progress-track{flex:1}.drill-score{white-space:nowrap;font-weight:700}.drill-question{flex-direction:column;gap:16px;display:flex}.drill-text{margin:6px 0 0;font-size:17px;line-height:1.6}.drill-reveal{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.drill-reveal p{margin:0}.drill-result{align-items:center;gap:14px;padding:12px 16px;display:flex}.drill-mark{text-align:center;width:20px;font-size:18px;font-weight:800}.drill-mark.ok{color:var(--green)}.drill-mark.miss{color:var(--red)}.weak-list{margin:6px 0 0;padding-left:20px;line-height:1.8}.maths-callout{border:1px dashed var(--accent-strong);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.primer .maths-callout .btn{align-self:auto}@media (width<=640px){.stacked-step{padding:18px}.stacked-step .snippet{margin:6px -18px}.momentum-next{justify-content:center;width:100%;margin-left:0}.drill-reveal .btn{justify-content:center;width:100%}}.drill-link{text-decoration:none}.premium-tag{border:1px solid var(--border);color:var(--muted);border-radius:4px;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:600}.mock-interview,.teach-back{flex-direction:column;gap:14px;display:flex}.mock-interview h2,.teach-back h2{font-size:20px}.mock-interview p,.teach-back p{margin:0}.mock-actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.chat{flex-direction:column;gap:10px;display:flex}.bubble{background:var(--card-2);border:1px solid var(--border);border-radius:14px;max-width:85%;padding:10px 14px;line-height:1.55}.bubble.candidate{background:var(--card-3);align-self:flex-end}.bubble-who{color:var(--muted);margin-bottom:2px;font-size:12px;font-weight:700;display:block}.answer-box{flex-direction:column;gap:10px;display:flex}.answer-box textarea{resize:vertical;border:1px solid var(--border);background:var(--card-2);border-radius:12px;width:100%;padding:12px 14px;line-height:1.55}.answer-box textarea:focus{outline:2px solid var(--accent-strong);outline-offset:-1px}.answer-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.answer-hint{margin-right:auto}.btn.recording{border-color:var(--red);color:var(--red)}.feedback{background:var(--card-2);border-radius:12px;flex-direction:column;gap:10px;padding:16px;display:flex}.feedback h3{margin:6px 0 0;font-size:15px}.feedback ul{margin:0;padding-left:20px;line-height:1.6}.feedback blockquote{border-left:4px solid var(--accent-strong);background:var(--card);border-radius:10px;margin:0;padding:12px 16px;line-height:1.6}.feedback blockquote.their-words{border-left-color:var(--border);color:var(--muted)}.feedback .link-btn{align-self:flex-start}.feedback-head{align-items:baseline;gap:10px;display:flex}.verdict-tag{color:var(--orange);font-size:18px}.verdict-tag.good{color:var(--green)}.scores{grid-template-columns:auto auto 1fr;align-items:center;gap:8px 14px;display:grid}.score-row{display:contents}.score-name{white-space:nowrap;font-weight:600}.score-dots{gap:4px;display:inline-flex}.dot{background:var(--card-3);border-radius:50%;width:10px;height:10px}.dot.on{background:var(--accent-strong)}@media (width<=640px){.scores{grid-template-columns:auto 1fr}.score-row .small{grid-column:1/-1;margin-bottom:4px}.bubble{max-width:100%}}.step-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.listen{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.listen-btn{white-space:nowrap;align-items:center;gap:6px;padding:6px 12px;font-size:14px;display:inline-flex}.listen-btn.active{color:var(--accent);border-color:var(--accent-strong)}.say-it .listen{align-self:flex-start}.voice-settings{flex-direction:column;gap:10px;display:flex}.voice-test{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.playground{outline:none;flex-direction:column;gap:14px;display:flex}.playground h2{font-size:20px}.playground p{margin:0}.pg-wrap{flex-direction:column;gap:6px;display:flex}.pg-wrap>.link-btn,.playground>.btn{align-self:flex-start}.pg-input{flex-direction:column;gap:8px;display:flex}.pg-input .add-input.mono{font-family:var(--mono)}.pg-presets{flex-wrap:wrap}.pg-say{background:var(--card-2);border-left:4px solid var(--accent-strong);border-radius:12px;align-items:baseline;gap:12px;min-height:48px;padding:12px 14px;line-height:1.5;display:flex}.pg-line{font-family:var(--mono);color:var(--muted);white-space:nowrap;font-size:13px}.pg-stage{flex-direction:column;gap:16px;padding:4px 0;display:flex}.pg-name{font-family:var(--mono);color:var(--muted);margin-bottom:6px;font-size:14px}.pg-array{padding-bottom:4px;overflow-x:auto}.pg-cells{gap:4px;width:max-content;display:grid}.pg-slot{flex-direction:column;align-items:center;gap:2px;display:flex}.pg-cell{background:var(--card-3);border:1px solid var(--border);min-width:42px;height:42px;font-family:var(--mono);border-radius:8px;place-items:center;padding:0 8px;font-weight:600;transition:background .2s,border-color .2s;display:grid}.pg-cell.window{border-color:var(--accent-strong);background:#5f53b859}.pg-cell.pointed{border-color:var(--accent);border-width:2px}.pg-cell.changed{background:#6dbb8c4d}.pg-cell.ghost{background:0 0;border-style:dashed}.pg-index{font-family:var(--mono);color:var(--muted);font-size:11px}.pg-pointers{flex-direction:column;align-items:center;min-height:18px;display:flex}.pg-pointer{font-family:var(--mono);color:var(--accent);white-space:nowrap;font-size:12px;font-weight:700}.pg-grid-wrap{overflow-x:auto}.pg-grid{border-collapse:separate;border-spacing:3px;font-family:var(--mono);font-size:13px}.pg-grid th{color:var(--muted);padding-right:6px;font-weight:500}.pg-grid td{text-align:center;background:var(--card-3);border-radius:6px;min-width:34px;height:30px;padding:0 6px}.pg-grid tr.current-row td{background:#343b55}.pg-grid td.changed{background:#6dbb8c4d}.pg-grid td.current{outline:2px solid var(--accent)}.pg-vars{flex-wrap:wrap;gap:8px;margin:0;display:flex}.pg-vars>div{background:var(--card-2);border:1px solid var(--border);font-family:var(--mono);border-radius:8px;gap:8px;padding:6px 10px;font-size:14px;transition:background .2s;display:flex}.pg-vars>div.changed{background:#6dbb8c38;border-color:#6dbb8c80}.pg-vars dt{color:var(--muted)}.pg-vars dd{text-overflow:ellipsis;white-space:nowrap;max-width:420px;margin:0;overflow:hidden}.pg-question{background:#303650;border-radius:12px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.pg-question code{font-family:var(--mono)}.pg-code{background:var(--code-bg);border-radius:12px;max-height:340px;margin:0;padding:14px 0;font-size:15px;line-height:1.7;position:relative;overflow:auto}.pg-code .line{white-space:pre;width:max-content;min-width:100%;padding:0 16px 0 10px;display:block}.pg-ln{width:2.2em;color:var(--muted);opacity:.6;-webkit-user-select:none;user-select:none;display:inline-block}.pg-code .pg-current{box-shadow:inset 3px 0 0 var(--accent);background:#5f53b84d}.pg-code .pg-error{box-shadow:inset 3px 0 0 var(--red);background:#d9828233}.pg-result{font-family:var(--mono);color:var(--green);background:#6dbb8c26;border-radius:10px;padding:10px 14px}.pg-result.bad{color:var(--red);background:#d9828226}.pg-out{background:var(--code-bg);font-family:var(--mono);white-space:pre-wrap;border-radius:10px;margin:0;padding:10px 14px;font-size:13px}.pg-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pg-controls .btn{padding:8px 14px}.pg-scrub{min-width:120px;accent-color:var(--accent-strong);flex:1}.pg-count{text-align:right;min-width:64px}.pg-options{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.pg-options select{background:var(--card-2);border:1px solid var(--border);border-radius:6px;padding:2px 6px}@media (width<=640px){.pg-say{flex-direction:column;gap:4px}}.pg-say-code{font-family:var(--mono);font-size:14px}.lesson{flex-direction:column;align-items:stretch;gap:18px;display:flex}.lesson-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.lesson-head h2{font-size:20px}.lesson-progress{gap:6px;display:flex}.lesson-pip{background:var(--card-3);border-radius:999px;flex:1;height:6px}.lesson-pip.done{background:var(--green)}.lesson-pip.on{background:var(--accent)}.lesson-pip:disabled{cursor:default}.lesson-screen{flex-direction:column;gap:18px;width:100%;max-width:640px;margin:0 auto;display:flex}.lesson-text{text-align:center;margin:0;font-size:19px;line-height:1.6}.lesson-formula{padding:6px 0;font-size:1.25em;overflow:auto hidden}.lesson-visual{background:var(--card-2);border-radius:16px;flex-direction:column;align-items:center;gap:10px;margin:0;padding:18px 12px;display:flex}.lesson-visual figcaption{color:var(--muted);text-align:center;min-height:1.4em;font-size:15px}.v-steps{align-items:center;gap:14px;display:flex}.v-steps .btn{padding:6px 16px}.v-dots{gap:6px;display:flex}.v-dot{background:var(--card-3);border-radius:50%;width:8px;height:8px}.v-dot.on{background:var(--accent)}.v-array{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.v-slot{flex-direction:column;align-items:center;gap:3px;display:flex}.v-cell{background:var(--card-3);min-width:46px;height:46px;font-family:var(--mono);border:2px solid #0000;border-radius:10px;place-items:center;padding:0 10px;font-size:16px;font-weight:700;transition:background .25s,opacity .25s,border-color .25s,transform .15s;display:grid}.v-cell:disabled{cursor:default;color:inherit}.v-cell.span{background:#5f53b873}.v-cell.hl{border-color:var(--accent)}.v-cell.dim{opacity:.3}.v-cell.tappable:hover{border-color:var(--accent);transform:translateY(-2px)}.v-cell.tap-wrong{border-color:var(--red)}.v-cell.tap-right{border-color:var(--green);background:#6dbb8c4d}.v-index{font-family:var(--mono);color:var(--muted);font-size:11px}.v-ptr{font-family:var(--mono);color:var(--accent);min-height:17px;font-size:13px;font-weight:700}.v-grid{border-collapse:separate;border-spacing:4px}.v-grid td{padding:0}.v-grid .v-cell{min-width:42px;height:40px}.v-line,.v-tree{width:100%;max-width:560px;height:auto;overflow:visible}.v-axis{stroke:var(--muted);stroke-width:2px}.v-span{fill:#5f53b873}.v-tick line{stroke:var(--muted);stroke-width:2px}.v-tick text{fill:var(--muted);font-family:var(--mono);font-size:13px}.v-tick circle{fill:var(--accent)}.v-tick.dim text,.v-tick.dim line{opacity:.3}.v-tick.hl text{fill:var(--text);font-weight:700}.v-tick.tappable{cursor:pointer}.v-tick.tappable:hover text{fill:var(--accent)}.v-tick.tap-wrong circle{fill:var(--red)}.v-tick.tap-right circle{fill:var(--green)}.v-ptr-label{fill:var(--accent);font-family:var(--mono);font-size:13px;font-weight:700}.v-edge{stroke:var(--card-3);stroke-width:2px}.v-node circle{fill:var(--card-3);stroke:#0000;stroke-width:2.5px;transition:fill .25s,opacity .25s}.v-node text{fill:var(--text);font-family:var(--mono);font-size:14px;font-weight:700}.v-node.span circle{fill:#5f53b899}.v-node.hl circle{stroke:var(--accent)}.v-node.dim{opacity:.3}.v-node.tappable{cursor:pointer}.v-node.tappable:hover circle{stroke:var(--accent)}.v-node.tap-wrong circle{stroke:var(--red)}.v-node.tap-right circle{stroke:var(--green);fill:#6dbb8c59}.v-bars{justify-content:center;align-items:flex-end;gap:14px;min-height:190px;display:flex}.v-bar-col{flex-direction:column;align-items:center;gap:4px;min-width:48px;display:flex}.v-bar-col:disabled{cursor:default;color:inherit}.v-bar{background:var(--accent-strong);border-radius:8px 8px 3px 3px;width:38px;transition:height .35s}.v-bar-col.hl .v-bar{background:var(--accent)}.v-bar-col.dim{opacity:.35}.v-bar-col.tap-wrong .v-bar{background:var(--red)}.v-bar-col.tap-right .v-bar{background:var(--green)}.v-bar-value{font-family:var(--mono);color:var(--muted);font-size:12px}.v-bar-label{font-size:13px}.lesson-question{flex-direction:column;gap:12px;display:flex}.lesson-prompt{text-align:center;margin:0;font-size:18px;font-weight:700}.lesson-choices{flex-direction:column;gap:10px;display:flex}.lesson-option{background:var(--card-2);border:2px solid var(--border);text-align:center;border-radius:14px;padding:14px 18px;font-size:17px;transition:border-color .15s,background .15s}.lesson-option:hover:not(:disabled){border-color:var(--accent)}.lesson-option:disabled{cursor:default;color:inherit}.lesson-option.right{border-color:var(--green);background:#6dbb8c2e}.lesson-option.wrong{opacity:.6;border-color:#d9828299}.lesson-mistake{color:#e3b8b8;text-align:center;margin:0}.lesson-why{background:#6dbb8c1f;border-radius:12px;margin:0;padding:12px 16px;line-height:1.55}.lesson-nav{justify-content:space-between;align-items:center;width:100%;max-width:640px;margin:0 auto;display:flex}.lesson-continue{justify-content:center;min-width:160px}.lesson-done{text-align:center;align-items:center}.lesson-done .lesson-head{width:100%}@media (width<=640px){.lesson-text{font-size:17px}.v-cell{min-width:38px;height:40px;padding:0 6px;font-size:14px}.lesson-continue{flex:1;min-width:0;margin-left:16px}}.lesson-question>.muted{text-align:center;margin:0}.v-cell.on{background:var(--accent-strong);border-color:var(--accent);color:#f1effa}.v-cell.drop:hover{border-color:var(--accent)}.v-ptr{flex-direction:column;align-items:center;gap:3px;min-height:22px;display:flex}.v-ptr-chip{font-family:var(--mono);color:var(--accent);white-space:nowrap;font-size:13px;font-weight:700}.v-ptr-chip.movable{border:2px solid var(--accent-strong);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#5f53b859;border-radius:999px;padding:3px 9px}.v-ptr-chip.movable:active{cursor:grabbing}.v-ptr-chip.active{border-color:var(--accent);color:#f1effa;background:#5f53b899}.v-ptr-chip.bad{border-color:var(--red);color:var(--red)}.v-ptr-mark rect{fill:#0000}.v-ptr-mark text{fill:var(--accent);font-family:var(--mono);font-size:13px;font-weight:700}.v-ptr-mark line{stroke:var(--accent);stroke-width:2px}.v-ptr-mark.movable{cursor:grab;touch-action:none}.v-ptr-mark.movable rect{fill:#5f53b859;stroke:var(--accent-strong);stroke-width:2px}.v-ptr-mark.active rect{fill:#5f53b899;stroke:var(--accent)}.v-ptr-mark.active text{fill:#f1effa}.v-ptr-mark.bad rect{stroke:var(--red)}.v-tick.on text{fill:var(--text);font-weight:700}.v-plot{flex-direction:column;gap:8px;width:100%;max-width:560px;display:flex}.v-legend{flex-wrap:wrap;justify-content:center;gap:8px 16px;font-size:15px;display:flex}.v-legend-item{background:var(--card);border:1px solid var(--border);border-radius:8px;align-items:center;gap:6px;padding:4px 10px;display:inline-flex}.v-legend-item.hl{border-color:var(--accent)}.v-swatch{border-radius:2px;width:16px;height:4px;display:inline-block}.v-plot-svg{touch-action:none;cursor:ew-resize;-webkit-user-select:none;user-select:none;width:100%;height:auto}.v-gridline line{stroke:#ffffff0f}.v-gridline text{fill:var(--muted);font-family:var(--mono);font-size:11px}.v-plot-axis{stroke:var(--muted);stroke-width:1.5px}.v-curve{fill:none;stroke-linejoin:round;stroke-linecap:round}.v-plot-mark line{stroke:var(--muted);stroke-dasharray:4 4}.v-plot-mark text{fill:var(--muted);font-family:var(--mono);font-size:12px}.v-plot-x line{stroke:var(--text);stroke-width:1.5px;stroke-dasharray:5 4;opacity:.7}.v-plot-handle{fill:var(--accent-strong);stroke:var(--text);stroke-width:2px}.v-plot-x.good line{stroke:var(--green);opacity:1}.v-plot-x.good .v-plot-handle{fill:var(--green)}.v-plot-x.bad line{stroke:var(--red);opacity:1}.v-plot-x.bad .v-plot-handle{fill:var(--red)}.v-plot-slider{width:100%;accent-color:var(--accent-strong)}.v-readout{font-family:var(--mono);flex-wrap:wrap;justify-content:center;gap:6px 14px;font-size:14px;display:flex}.v-readout-n{font-weight:700}.v-readout-item{align-items:center;gap:6px;display:inline-flex}.lesson-how{text-align:center;margin:0}.lesson .lesson-check{justify-content:center;align-self:center;min-width:140px}.lesson .lesson-show{align-self:center}.lesson .v-steps .btn,.lesson .lesson-done .btn{align-self:auto}.v-cell.bit-1{background:var(--accent-strong);color:#f1effa}.measure{background:var(--card-2);border:1px dashed var(--accent-strong);border-radius:14px;flex-direction:column;gap:12px;padding:16px 18px;display:flex}.measure-head{flex-direction:column;gap:2px;display:flex}.measure>.btn,.measure>.link-btn{align-self:flex-start}.m-chart{width:100%;max-width:600px;height:auto}.m-tick{fill:var(--muted);font-family:var(--mono);font-size:11px}.m-shape{fill:none;stroke-width:1.5px;stroke-dasharray:5 4;opacity:.85}.m-measured{fill:none;stroke:var(--text);stroke-width:2.5px}.m-dot{fill:var(--accent-strong);stroke:var(--text);stroke-width:2px}.m-legend{color:var(--muted);flex-wrap:wrap;gap:6px 14px;font-size:13px;display:flex}.m-legend-item{align-items:center;gap:6px;display:inline-flex}.m-key{border-radius:2px;width:16px;height:3px;display:inline-block}.m-key.measured{background:var(--text);height:4px}.m-table{border-collapse:collapse;font-family:var(--mono);width:100%;max-width:600px;font-size:13px}.m-table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--border);padding:4px 8px;font-family:inherit;font-weight:600}.m-table td{border-bottom:1px solid #ffffff0a;padding:4px 8px}.m-guide{margin:0;line-height:1.5}.step .lesson-visual{margin:4px 0}@media (width<=640px){.m-table th:nth-child(5),.m-table td:nth-child(5){display:none}}.signin-page{place-items:center;min-height:100vh;padding:16px;display:grid}.signin{width:100%;max-width:420px;position:relative}.signin-logo{margin-bottom:12px;font-size:26px}.signin-form{flex-direction:column;gap:14px;display:flex}.signin-form h1{margin:0;font-size:24px}.signin-form label{flex-direction:column;gap:6px;font-size:14px;font-weight:600;display:flex}.signin-form .btn{justify-content:center}.save-banner{z-index:30;text-align:center;color:#f0d0d0;background:#3f2a30;padding:10px 16px;font-size:14px;position:sticky;top:0}.account{flex-direction:column;gap:10px;display:flex}.account p{margin:0}.usage{flex-direction:column;gap:6px;display:flex}.account-actions{flex-wrap:wrap;gap:10px;display:flex}.account-actions .btn{text-decoration:none}.admin{flex-direction:column;gap:20px;display:flex}.admin-invite{flex-direction:column;gap:12px;display:flex}.invite-link{background:var(--card-2);border-radius:10px;flex-direction:column;gap:6px;padding:12px;display:flex}.invite-link p{margin:0}.add-input.mono{font-family:var(--mono);font-size:13px}.admin-table-wrap{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;font-size:14px}.admin-table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--border);white-space:nowrap;padding:8px;font-weight:600}.admin-table td{border-bottom:1px solid var(--border);vertical-align:top;padding:10px 8px}.admin-table tr.disabled td{opacity:.5}.admin-table .tag{margin-left:6px;padding:1px 6px;font-size:11px}.admin-actions{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.cap-input{align-items:center;gap:4px;display:inline-flex}.cap-input input{border:1px solid var(--border);background:var(--card-2);border-radius:6px;width:64px;padding:4px 6px}.cost-visual{border:1px solid var(--border);background:var(--card);border-radius:14px;flex-direction:column;gap:8px;margin:6px 0;padding:14px 16px;display:flex}.cost-visual h3{margin:0;font-size:16px}.cost-visual p{margin:0}.cost-visual.add .btn{align-self:flex-start}.cost-visual .lesson-visual{background:var(--card-2)}
