:root{--bg:#f8fafc;--surface:#fff;--ink:#0f172a;--ink-2:#334155;--ink-3:#536177;--line:#e2e8f0;--line-2:#cbd5e1;--brand:#0f172a;--accent:#2563eb;--good:#15803d;--good-bg:#ecfdf5;--bad:#b91c1c;--bad-bg:#fef2f2;--warn:#b45309;--radius:14px;--shadow:0 1px 2px #0f172a0f, 0 4px 16px #0f172a0f;--sans:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;--serif:"Source Serif 4", Georgia, serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#0b1120;--surface:#111a2e;--ink:#e2e8f0;--ink-2:#cbd5e1;--ink-3:#94a3b8;--line:#1f2a44;--line-2:#334155;--good:#4ade80;--good-bg:#052e1a;--bad:#f87171;--bad-bg:#3b0d0d;--shadow:0 1px 2px #0006;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root,[style*=--accent]{--accent-ink:color-mix(in srgb, var(--accent) 70%, black);--accent-strong:color-mix(in srgb, var(--accent) 75%, black)}@media (prefers-color-scheme:dark){:root,[style*=--accent]{--accent-ink:color-mix(in srgb, var(--accent) 50%, white)}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--ink);font:16px/1.6 var(--sans);margin:0;overflow-x:hidden}h1,h2,h3,h4{margin:0 0 .5em;line-height:1.2}h1{font-family:var(--serif);letter-spacing:-.01em;font-size:clamp(1.7rem,5vw,2.4rem)}h2{font-size:1.2rem}p{margin:0 0 1em}a{color:var(--accent-ink)}code{background:var(--line);border-radius:5px;padding:.1em .35em;font-size:.9em}img,svg,canvas{max-width:100%}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.wrap{max-width:1100px;margin:0 auto;padding:0 16px}.wrap.narrow{max-width:720px}.row{align-items:center;display:flex}.row.between{flex-wrap:wrap;justify-content:space-between;gap:12px}.row.gap{flex-wrap:wrap;gap:10px}.center{text-align:center}.left{text-align:left}.note{color:var(--ink-3);font-size:.92rem}.topbar{z-index:20;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0}.topbar .row{justify-content:space-between;height:56px}.brand{color:var(--ink);align-items:center;gap:8px;font-size:1.1rem;font-weight:700;text-decoration:none;display:flex}.brand-mark{background:conic-gradient(from 200deg,#38bdf8,#fbbf24,#38bdf8);border-radius:6px;width:22px;height:22px}.meters{gap:12px;font-size:.95rem;font-weight:600;display:flex}.meter{align-items:center;gap:4px;display:inline-flex}main{min-height:70vh;padding-bottom:48px}.foot{border-top:1px solid var(--line);color:var(--ink-3);padding:20px 0 32px;font-size:.85rem}.btn{border:1px solid var(--line-2);background:var(--surface);min-height:44px;color:var(--ink);font:600 .95rem var(--sans);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:10px 16px;text-decoration:none;display:inline-flex}.btn:hover:not(:disabled){border-color:var(--accent)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--accent-strong);border-color:var(--accent-strong);color:#fff}.btn.primary:hover:not(:disabled){filter:brightness(1.08)}.btn.ghost{background:0 0}.btn.small{min-height:36px;padding:6px 12px;font-size:.88rem}.btn.block{width:100%;margin-top:10px;display:flex}.btn.icon{min-width:44px;padding:0}.btn.on{background:var(--accent-strong);color:#fff;border-color:var(--accent-strong)}.chip{letter-spacing:.02em;color:var(--accent-ink);background:color-mix(in srgb, var(--accent) 12%, transparent);border-radius:999px;padding:3px 10px;font-size:.78rem;font-weight:600;display:inline-block}.crumbs{padding:16px 0 4px;font-size:.92rem}.crumbs a{text-decoration:none}.progress{background:var(--line);border-radius:999px;flex:1;height:8px;overflow:hidden}.progress span{background:var(--accent);border-radius:999px;height:100%;transition:width .4s;display:block}.progress.big{height:12px}.hero{max-width:760px;padding:28px 0 8px}.hero>p{color:var(--ink-2);font-size:1.05rem}.how{color:var(--ink-2);padding-left:1.2em}.how li{margin-bottom:4px}.cards{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px;margin:16px 0 0;padding:0;list-style:none;display:grid}.card{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:var(--radius);height:100%;box-shadow:var(--shadow);color:var(--ink);flex-direction:column;padding:18px;text-decoration:none;transition:transform .15s;display:flex}.card:hover{transform:translateY(-2px)}.card-top{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.year{color:var(--ink-3);font-weight:700}.card h2{font-family:var(--serif);font-size:1.3rem}.card-sub{color:var(--ink-2);flex:1}.card-meta{color:var(--ink-3);font-size:.85rem}.card-foot{align-items:center;gap:10px;display:flex}.card-status{color:var(--ink-2);white-space:nowrap;font-size:.85rem;font-weight:600}.j-head{padding:8px 0 4px}.j-sub{color:var(--ink-2);font-size:1.1rem}.j-paper{color:var(--ink-3);font-size:.9rem}.j-summary,.j-progress,.j-map,.j-plan{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:14px 0;padding:18px}.j-progress p{color:var(--ink-3);margin:8px 0 0}.seg{border:1px solid var(--line-2);border-radius:12px;display:inline-flex;overflow:hidden}.seg button{background:var(--surface);min-height:40px;color:var(--ink);font:600 .9rem var(--sans);cursor:pointer;border:0;padding:0 16px}.seg button.on{background:var(--accent-strong);color:#fff}.path{margin:12px 0 0;padding:0;list-style:none;position:relative}.level{margin-bottom:14px;padding-left:22px;position:relative}.level:before{content:"";background:var(--line-2);width:2px;position:absolute;top:6px;bottom:-14px;left:6px}.level:last-child:before{display:none}.level:after{content:"";background:var(--line-2);border-radius:50%;width:12px;height:12px;position:absolute;top:4px;left:1px}.level-label{text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3);margin-bottom:6px;font-size:.78rem;font-weight:700}.level-nodes{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;display:grid}.pnode{border:1px solid var(--line);background:var(--bg);min-height:56px;color:var(--ink);border-radius:12px;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:flex}.pnode-icon{background:var(--line);border-radius:50%;flex:0 0 32px;place-items:center;height:32px;font-weight:700;display:grid}.pnode-body{flex-direction:column;min-width:0;display:flex}.pnode-title{font-weight:600}.pnode-state{color:var(--ink-3);font-size:.8rem}.pnode.s-available,.pnode.s-in-progress{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent)}.pnode.s-available .pnode-icon,.pnode.s-in-progress .pnode-icon{background:var(--accent-strong);color:#fff}.pnode.s-mastered .pnode-icon,.pnode.s-tested-out .pnode-icon{background:var(--good);color:#fff}.pnode.s-locked{opacity:.55;cursor:not-allowed}.pnode.paywalled{box-shadow:none;border-style:dashed}.pnode.paper{border-width:2px}.pnode.paper .pnode-title{font-family:var(--serif)}.graph-scroll{margin-top:12px;overflow-x:auto}.graph{max-width:none;margin:0 auto;display:block}.g-edge{fill:none;stroke:var(--line-2);stroke-width:2px}.g-node{fill:var(--bg);stroke:var(--line-2);stroke-width:1.5px}.g-node.paper{stroke-width:3px}.g-node.s-available,.g-node.s-in-progress{stroke:var(--accent);stroke-width:3px}.g-node.s-mastered,.g-node.s-tested-out{fill:var(--good-bg);stroke:var(--good)}.g-node.s-locked{stroke-dasharray:5 4}.g-link.locked .g-title,.g-link.locked .g-state{fill:var(--ink-3)}.g-title{text-anchor:middle;font:600 14px var(--sans);fill:var(--ink)}.g-state{text-anchor:middle;font:12px var(--sans);fill:var(--ink-3)}.g-link{cursor:pointer}.g-link.locked{cursor:not-allowed}.j-plan ol{margin:0;padding-left:1.2em}.j-plan li{margin-bottom:8px}.dialog{z-index:50;background:#0f172a80;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog-box{background:var(--surface);border-radius:var(--radius);width:100%;max-width:420px;padding:22px}.node .n-head{padding:6px 0 8px}.why{background:color-mix(in srgb, var(--accent) 9%, var(--surface));border-left:4px solid var(--accent);border-radius:0 10px 10px 0;margin:12px 0;padding:12px 14px}.lesson{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:14px 0;padding:18px}.lesson p,.lesson li{font-size:1.02rem}.lesson ul,.lesson ol{padding-left:1.3em}.lesson.worked{border-left:4px solid #f59e0b}.lesson.in-paper{border-left:4px solid var(--accent)}.lesson.skip{background:0 0;border-style:dashed}.lesson.skip p{color:var(--ink-3);font-size:.95rem}.answer{margin-top:8px}.math-display{padding:4px 0;overflow:auto hidden}.quiz fieldset.q{border:1px solid var(--line);border-radius:12px;min-width:0;margin:0 0 14px;padding:14px}.q.right{border-color:var(--good)}.q.wrong{border-color:var(--bad)}.q legend{flex-direction:column;gap:4px;width:100%;margin-bottom:10px;padding:0;display:flex}.q-num{text-transform:uppercase;color:var(--ink-3);letter-spacing:.05em;font-size:.78rem;font-weight:700}.q-prompt{font-size:1.02rem;font-weight:600}.q-hint{color:var(--ink-3);font-size:.85rem}.options{gap:8px;display:grid}.option{border:1px solid var(--line);cursor:pointer;border-radius:10px;grid-template-columns:24px 1fr;align-items:start;gap:4px 10px;min-height:44px;padding:12px;display:grid}.option input{width:20px;height:20px;accent-color:var(--accent);margin:2px 0 0}.option.chosen{border-color:var(--accent)}.option.is-correct{border-color:var(--good);background:var(--good-bg)}.option.is-wrong{border-color:var(--bad);background:var(--bad-bg)}.option-feedback{color:var(--ink-2);grid-column:2;font-size:.9rem}.numeric{align-items:center;gap:8px;display:flex}.numeric input{font:inherit;border:1px solid var(--line-2);background:var(--surface);width:160px;min-height:44px;color:var(--ink);border-radius:10px;padding:10px 12px}.order{margin:0;padding-left:1.4em;list-style:decimal}.order li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:6px 0;display:flex}.order-btns{flex:none;gap:6px;display:flex}.q-explain{margin-top:12px;font-size:.95rem}.q-explain p{display:inline}.result{border-radius:12px;padding:14px}.result.pass{background:var(--good-bg);color:var(--good)}.result.fail{background:var(--bad-bg);color:var(--bad)}.next{margin:18px 0}.xp{color:#d97706;text-align:center;font-size:1.6rem;font-weight:700;animation:.6s ease-out pop}@keyframes pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.price-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:16px 0;padding:20px}.price{margin:0;font-size:2.2rem;font-weight:700}.trophy{margin-top:24px;font-size:4rem}.widget{margin:0}.widget figcaption{color:var(--ink-3);margin-top:10px;font-size:.9rem}.w-svg{touch-action:manipulation;width:100%;height:auto;display:block}.w-svg.narrow{max-width:320px;margin:0 auto}.w-svg.touch{touch-action:none}.w-canvas{background:var(--bg);border-radius:10px;width:100%;display:block}.w-two{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.w-controls{flex-wrap:wrap;align-items:center;gap:10px 16px;margin:12px 0;display:flex}.w-slider{flex-direction:column;flex:220px;gap:2px;font-size:.88rem;display:flex}.w-slider-label{justify-content:space-between;gap:8px;display:flex}.w-slider output{font-variant-numeric:tabular-nums;font-weight:700}.w-slider input{width:100%;height:32px;accent-color:var(--accent)}.w-check{align-items:center;gap:8px;min-height:44px;font-size:.9rem;display:flex}.w-check input{width:20px;height:20px}.w-readout{background:var(--bg);border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;padding:10px 12px;font-size:.88rem;display:grid}.w-stat{flex-direction:column;display:flex}.w-stat span{color:var(--ink-3)}.w-stat strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.w-hint{color:var(--ink-3);font-size:.85rem}.w-row-label{color:var(--ink-3);margin:8px 0 4px;font-size:.8rem;font-weight:600}.w-edge{stroke:var(--line-2);stroke-width:2px}.w-node{fill:var(--surface);stroke:var(--ink-3);stroke-width:1.5px}.w-node.sel{fill:color-mix(in srgb, var(--accent) 22%, var(--surface));stroke:var(--accent);stroke-width:2.5px}.w-node-label{text-anchor:middle;font:700 12px var(--sans);fill:var(--ink)}.w-node-val{text-anchor:middle;font:11px var(--sans);fill:var(--ink-2)}.w-grad{text-anchor:middle;font:700 11px var(--sans);fill:#d97706}.w-tiny{text-anchor:middle;font:10px var(--sans);fill:var(--ink-2)}.w-tiny.end{text-anchor:end}.w-axis{stroke:var(--ink-3);stroke-width:1px}.w-axis-label{text-anchor:middle;font:11px var(--sans);fill:var(--ink-3)}.w-point{fill:var(--accent)}.w-resid{stroke:#f59e0b;stroke-width:1.5px;stroke-dasharray:3 2}.w-fit{stroke:var(--ink);stroke-width:2px}.w-rest{stroke:var(--ink);stroke-width:1.5px;stroke-dasharray:4 3}.w-line{stroke:#000;stroke-width:4px}.w-curve{fill:none;stroke:var(--ink-3);stroke-width:2px}.w-ball{fill:#d97706}.w-trail{fill:var(--accent);opacity:.5}.w-grid{stroke:var(--line);stroke-width:1px}.w-vec{stroke-width:4px;stroke-linecap:round}.w-vec.a,.w-handle.a{stroke:#2563eb;fill:#2563eb}.w-vec.b,.w-handle.b{stroke:#e11d48;fill:#e11d48}.w-handle{fill-opacity:.25;stroke-width:2px;cursor:grab}.w-clock{fill:none;stroke:var(--line-2);stroke-width:2px}.w-path{fill:none;stroke:var(--accent);stroke-width:1.5px;opacity:.7}.w-contact{stroke:#f59e0b;stroke-width:1.5px;stroke-dasharray:3 2}.w-contact.sel{stroke:#e11d48;stroke-width:3px;stroke-dasharray:none}.w-cm{fill:var(--bg)}.w-cm.on{fill:#f59e0b;cursor:pointer}.w-cm.on.sel{fill:#e11d48}.w-cm.diag{fill:var(--line-2)}.w-hm{stroke:var(--surface);stroke-width:1px;cursor:pointer}.w-hm.sel{stroke:var(--ink);stroke-width:1.5px}.w-bars{background:var(--bg);border-radius:10px;align-items:flex-end;gap:8px;height:160px;padding:8px;display:flex}.w-bar{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:2px;min-width:0;height:100%;font-size:.78rem;display:flex}.w-bar-fill{background:var(--accent);border-radius:6px 6px 0 0;width:100%;min-height:2px;transition:height .2s}.w-bar span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:600;overflow:hidden}.w-bits{flex-wrap:wrap;gap:3px;display:flex}.w-bit{background:var(--bg);border:1px solid var(--line);border-radius:6px;place-items:center;width:24px;height:28px;font:600 .9rem ui-monospace,monospace;display:grid}.w-bit.flip{background:var(--bad-bg);border-color:var(--bad);color:var(--bad)}.w-tape{gap:3px;padding:18px 2px 6px;display:flex;overflow-x:auto}.w-cell{border:1px solid var(--line-2);background:var(--surface);border-radius:6px;flex:0 0 34px;place-items:center;height:40px;font:700 1rem ui-monospace,monospace;display:grid;position:relative}.w-cell.head{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.w-cell.head:before{content:"▼";color:var(--accent);font-size:.8rem;position:absolute;top:-18px}.w-rules table{border-collapse:collapse;margin-top:6px;font-size:.85rem}.w-rules td,.w-rules th{border-bottom:1px solid var(--line);text-align:center;padding:4px 8px}.w-rules tr.active td{background:color-mix(in srgb, var(--accent) 16%, transparent);font-weight:700}.w-rules summary{cursor:pointer;min-height:32px;font-size:.9rem}.w-dna{gap:4px;padding:4px 0;display:flex;overflow-x:auto}.w-pair{border:1px solid var(--line);background:var(--surface);cursor:pointer;min-width:40px;color:var(--ink);font:inherit;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;display:flex}.w-pair.active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.w-pair.ok{background:var(--good-bg)}.w-pair.bad{background:var(--bad-bg)}.w-base{color:#fff;border-radius:6px;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.w-base.empty{background:var(--line);color:var(--ink-3)}.b-A{background:#16a34a}.b-T{background:#dc2626}.b-G{background:#d97706}.b-C{background:#2563eb}.btn.base{color:#fff;border:0;min-width:48px}.w-rung{color:var(--ink-3);font-weight:700}.w-payoff{border-collapse:collapse;width:100%;font-size:.95rem}.w-payoff th,.w-payoff td{border:1px solid var(--line-2);text-align:center;padding:12px 8px}.w-payoff th.corner{color:var(--ink-3);font-size:.75rem;font-weight:500}.w-payoff td.eq{background:var(--good-bg);outline:3px solid var(--good);outline-offset:-3px}.w-payoff .best{border-radius:999px;padding:1px 6px;font-weight:700}.w-payoff .best.row{color:#1d4ed8;background:#dbeafe}.w-payoff .best.col{color:#be123c;background:#ffe4e6}.w-kx{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;display:grid}.w-party{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px;font-size:.9rem}.w-party h4{margin:0 0 6px}.w-party p{margin:0 0 4px}.w-party.eve{border-style:dashed}.w-party .key{color:var(--good);font-weight:700}.w-seg{flex-wrap:wrap;gap:6px;display:flex}.w-tokens{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}@media (width<=480px){.lesson,.j-summary,.j-progress,.j-map,.j-plan{border-radius:12px;padding:14px}.level-nodes{grid-template-columns:1fr}.meters{gap:8px;font-size:.9rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}figure.widget{--bg:#0e1321;--surface:#151c2e;--ink:#f1f5f9;--ink-2:#cbd5e1;--ink-3:#94a3b8;--line:#243049;--line-2:#3a4866;--good:#83c167;--good-bg:#16301f;--bad:#fc6255;--bad-bg:#3a1a1c;--b3-blue:#58c4dd;--b3-yellow:#f7d96f;--b3-green:#83c167;--b3-red:#fc6255;--b3-teal:#5cd0b3;background:var(--bg);color:var(--ink);border-radius:16px;margin:0;padding:14px;box-shadow:inset 0 0 0 1px #1d2740}figure.widget .btn{color:var(--ink);background:#1b2439;border-color:#2e3b58}figure.widget .btn.primary,figure.widget .btn.on{background:var(--b3-blue);border-color:var(--b3-blue);color:#0b1020}figure.widget .w-readout{background:#111829}figure.widget figcaption{color:var(--ink-3)}figure.widget input[type=range]{accent-color:var(--b3-blue)}.lesson figure.widget.inline-visual{margin-top:14px}.dg-wrap{position:relative}.dg-svg{overflow:visible}.dg-pos{transition:transform .9s cubic-bezier(.65,0,.35,1)}.dg{transform-box:fill-box;transform-origin:50%;transition:opacity .5s}.dg.off{opacity:0;pointer-events:none}.dg.on{opacity:1}.dg.fresh.dg-box,.dg.fresh.dg-circle,.dg.fresh.dg-text{animation:.6s cubic-bezier(.34,1.4,.64,1) dg-pop}.dg.fresh.dg-arrow path,.dg.fresh.dg-path{stroke-dasharray:900;animation:1.1s ease-out dg-draw}.dg-arrow path{transition:d .9s cubic-bezier(.65,0,.35,1)}@keyframes dg-pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@keyframes dg-draw{0%{stroke-dashoffset:900px}to{stroke-dashoffset:0}}.dg-box rect,.dg-circle circle{fill:#151c2e;stroke:#cbd5e1;stroke-width:1.6px}.dg-rect rect{fill:#58c4dd1a;stroke:none}.dg-rect rect.nofill{fill:none;stroke:#3a4866;stroke-dasharray:5 4}.dg-label{text-anchor:middle;font:600 14px var(--sans);fill:#f1f5f9}.dg-sub{text-anchor:middle;font:11px var(--sans);fill:#94a3b8}.dg-textfill{fill:#e2e8f0;font-family:var(--sans)}.dg-arrow path{fill:none;stroke:#cbd5e1;stroke-width:2px}.dg-arrow-label{text-anchor:middle;font:600 12px var(--sans);fill:#e2e8f0;paint-order:stroke;stroke:#0e1321;stroke-width:4px}.dg-path{fill:none;stroke:#cbd5e1;stroke-linecap:round;stroke-linejoin:round}.dg-path.filled{fill:#58c4dd29}.dashed,.dg-path.dashed{stroke-dasharray:5 4}.dg-headfill{fill:#cbd5e1}.dg.t-accent rect,.dg.t-accent circle{fill:#58c4dd29;stroke:var(--b3-blue)}.dg.t-good rect,.dg.t-good circle{fill:#83c16729;stroke:var(--b3-green)}.dg.t-bad rect,.dg.t-bad circle{fill:#fc625529;stroke:var(--b3-red)}.dg.t-warn rect,.dg.t-warn circle{fill:#f7d96f29;stroke:var(--b3-yellow)}.dg.t-muted rect,.dg.t-muted circle{fill:#0000;stroke:#4b5a78;stroke-dasharray:4 3}.dg.t-muted .dg-label{fill:#94a3b8}.dg-rect.t-good rect{fill:#83c1672e}.dg-rect.t-bad rect{fill:#fc62552e}.dg-rect.t-warn rect{fill:#f7d96f33}.dg-rect.t-accent rect{fill:#58c4dd38}.dg-arrow.t-accent path,.dg-path.t-accent{stroke:var(--b3-blue)}.dg-arrow.t-good path,.dg-path.t-good{stroke:var(--b3-green)}.dg-arrow.t-bad path,.dg-path.t-bad{stroke:var(--b3-red)}.dg-arrow.t-warn path,.dg-path.t-warn{stroke:var(--b3-yellow)}.dg-arrow.t-muted path,.dg-path.t-muted{stroke:#4b5a78}.dg-path.filled.t-good{fill:#83c1672e}.dg-path.filled.t-bad{fill:#fc62552e}.dg-path.filled.t-warn{fill:#f7d96f2e}.dg-headfill.t-accent{fill:var(--b3-blue)}.dg-headfill.t-good{fill:var(--b3-green)}.dg-headfill.t-bad{fill:var(--b3-red)}.dg-headfill.t-warn{fill:var(--b3-yellow)}.dg-headfill.t-muted{fill:#4b5a78}.dg-text.t-accent .dg-textfill{fill:var(--b3-blue)}.dg-text.t-good .dg-textfill{fill:var(--b3-green)}.dg-text.t-bad .dg-textfill{fill:var(--b3-red)}.dg-text.t-warn .dg-textfill{fill:var(--b3-yellow)}.dg-text.t-muted .dg-textfill{fill:#8494b2}.dg.hi rect,.dg.hi circle{stroke-width:3px;filter:drop-shadow(0 0 7px #f7d96f8c);stroke:var(--b3-yellow)}.dg-arrow.hi path,.dg-path.hi{stroke-width:3.5px;filter:drop-shadow(0 0 5px #f7d96f80)}.dg-text.hi .dg-textfill{fill:var(--b3-yellow);font-weight:700}.dg-caption{color:#e2e8f0;min-height:3em;margin:10px 2px 0;font-size:1rem;line-height:1.5}.dg-count{color:#8494b2;letter-spacing:.04em;margin-right:8px;font-size:.72rem;font-weight:700;display:inline-block}.dg-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.dg-controls .btn{min-width:44px}.dg-dots{flex:1;justify-content:center;gap:7px;display:flex}.dg-dots button{cursor:pointer;background:#33405e;border:0;border-radius:50%;width:10px;height:10px;padding:0;transition:transform .2s,background .2s;position:relative}.dg-dots button:after{content:"";position:absolute;inset:-14px}.dg-dots button.done{background:#3f7f92}.dg-dots button.on{background:var(--b3-blue);transform:scale(1.4)}figure.widget .w-node{fill:#151c2e;stroke:#94a3b8}figure.widget .w-node.sel{fill:#58c4dd33;stroke:var(--b3-blue)}figure.widget .w-point,figure.widget .w-trail{fill:var(--b3-blue)}figure.widget .w-fit,figure.widget .w-rest{stroke:var(--b3-yellow)}figure.widget .w-ball,figure.widget .w-grad{fill:var(--b3-yellow)}figure.widget .w-curve{stroke:#cbd5e1}figure.widget .w-line{stroke:#fff}figure.widget .w-bar-fill{background:var(--b3-blue)}figure.widget .w-cell{background:#151c2e}figure.widget .w-cell.head{border-color:var(--b3-yellow);box-shadow:0 0 0 2px var(--b3-yellow)}figure.widget .w-cell.head:before{color:var(--b3-yellow)}figure.widget .w-vec.a,figure.widget .w-handle.a{stroke:var(--b3-blue);fill:var(--b3-blue)}figure.widget .w-vec.b,figure.widget .w-handle.b{stroke:var(--b3-yellow);fill:var(--b3-yellow)}figure.widget .w-payoff td.eq{outline-color:var(--b3-green);background:#83c1672e}figure.widget .w-payoff .best.row{color:#bfefff;background:#58c4dd40}figure.widget .w-payoff .best.col{color:#fff3c4;background:#f7d96f40}figure.widget .w-pair,figure.widget .w-party{background:#151c2e}figure.widget .w-canvas{background:#0b101c}.steps{margin:12px 0 0;padding:0;list-style:none}.step{grid-template-columns:40px 1fr;gap:10px;padding-bottom:10px;display:grid;position:relative}.step:before{content:"";background:var(--line-2);width:2px;position:absolute;top:40px;bottom:0;left:19px}.step:last-child:before{display:none}.step-num{background:var(--line);width:40px;height:40px;color:var(--ink-2);z-index:1;border-radius:50%;place-items:center;font-weight:700;display:grid}.step.s-available .step-num,.step.s-in-progress .step-num{background:var(--accent-strong);color:#fff}.step.s-mastered .step-num,.step.s-tested-out .step-num{background:var(--good);color:#fff}.step-card{border:1px solid var(--line);background:var(--bg);min-height:48px;color:var(--ink);border-radius:12px;flex-direction:column;gap:2px;padding:10px 14px;text-decoration:none;display:flex}.step.s-locked .step-card{opacity:.7;cursor:not-allowed}.step.next .step-card{border:2px solid var(--accent);box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);background:var(--surface)}.step-next{text-transform:uppercase;letter-spacing:.06em;color:var(--accent-ink);font-size:.72rem;font-weight:700}.step-title{font-weight:600}.step.paper .step-title{font-family:var(--serif)}.step-meta{color:var(--ink-3);font-size:.82rem}.account{position:relative}.avatar{border:1px solid var(--line-2);background:var(--surface);width:36px;height:36px;color:var(--ink);cursor:pointer;border-radius:50%;padding:0;font-weight:700;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.account-menu{background:var(--surface);border:1px solid var(--line);width:240px;box-shadow:var(--shadow);z-index:30;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex;position:absolute;top:44px;right:0}.account-menu p{text-overflow:ellipsis;margin:0;overflow:hidden}.account-menu a{align-items:center;min-height:36px;display:flex}.create-cta{border:1px dashed var(--line-2);border-radius:var(--radius);background:var(--surface);color:var(--ink);margin-top:14px;padding:14px 16px;text-decoration:none;display:block}.create-cta:hover{border-color:var(--accent)}.create-form label{flex-direction:column;gap:6px;margin-bottom:12px;font-size:.95rem;font-weight:600;display:flex}.create-form input,.create-form textarea{font:400 1rem var(--sans);border:1px solid var(--line-2);background:var(--surface);color:var(--ink);border-radius:10px;min-height:44px;padding:10px 12px}.requests{margin:0;padding:0;list-style:none}.requests li{border-bottom:1px solid var(--line);justify-content:space-between;gap:8px;padding:8px 0;display:flex}.req-source{overflow-wrap:anywhere}
