:root{--bg:#f6f5f2;--surface:#fff;--text:#1d1d1f;--muted:#6b6b70;--border:#d9d7d2;--accent:#2f6db5;--accent-text:#fff;--ok:#2e7d4f;--bad:#b3412f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#17181a;--surface:#222326;--text:#e9e8e4;--muted:#a09fa5;--border:#38393d;--accent:#6ea5e6;--accent-text:#0e1116;--ok:#6cc28e;--bad:#ee8a78;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--accent)}.app{max-width:960px;margin:0 auto;padding:0 16px 48px}nav{border-bottom:1px solid var(--border);align-items:baseline;gap:20px;margin-bottom:24px;padding:16px 0;display:flex}nav a{color:var(--muted);text-decoration:none}nav a[aria-current=true]{color:var(--text);font-weight:600}nav .brand{color:var(--text);margin-right:auto;font-weight:700}h2{margin-top:0}.muted{color:var(--muted)}button,.button{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:6px 14px;display:inline-flex}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}button.danger{color:var(--bad)}input,select{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:6px;padding:5px 8px}kbd{opacity:.75;border:1px solid;border-radius:4px;padding:0 4px;font-size:.75em}.controls{flex-wrap:wrap;align-items:center;gap:12px 16px;margin:12px 0;display:flex}.controls label{align-items:center;gap:8px;display:inline-flex}.figure-card{border:1px solid var(--border);touch-action:none;background:#fff;border-radius:10px;max-width:100%;position:relative;overflow:hidden}.figure-card canvas:focus{outline:none}.figure-card:has(canvas:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.arcball-guide{pointer-events:none;border:1px dashed #c9ced6;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.figure-row{flex-wrap:wrap;gap:16px;display:flex}figure{margin:0}figcaption{text-align:center;color:var(--muted);margin-top:4px;font-size:.9em}.runner-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.runner-head progress{flex:0 240px;margin-left:auto}.prompt{font-size:1.1em}.task{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.answer-row{gap:8px;display:flex}.answer-row input{width:6em}.feedback{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.verdict{margin:0;font-size:1.15em;font-weight:700}.verdict.ok{color:var(--ok)}.verdict.bad{color:var(--bad)}.error-text{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface);border-radius:6px;padding:8px 12px;font:.85em ui-monospace,monospace}a.button{text-decoration:none}a.button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.table{border-collapse:collapse;margin:8px 0 16px}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);padding:4px 16px 4px 0}.table th{color:var(--muted);font-weight:600}.card{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin:16px 0;padding:12px 16px}.card h3{margin-top:0}.figure-row.align-center{align-items:center}.arrow{color:var(--muted)}.placeholder{border:1px dashed var(--border);color:var(--muted);border-radius:10px;justify-content:center;align-items:center;font-size:2em;display:flex}.option{cursor:pointer;border:3px solid #0000;border-radius:12px;padding:3px}.option.picked{border-color:var(--accent)}.option.is-copy{border-color:var(--ok);cursor:default}.option.is-foil{cursor:default;border-color:#0000}.target-card{outline:2px solid var(--muted);outline-offset:2px}.draggable{cursor:grab}.draggable:active{cursor:grabbing}.timebar{background:var(--accent);transform-origin:0;border-radius:2px;width:100%;max-width:696px;height:4px;animation:linear forwards timebar}@keyframes timebar{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.sheet{border:1px solid var(--border);background:#fff;border-radius:10px;display:block}.sheet-fill{fill:#f1ede4;stroke:#f1ede4;stroke-width:.03px}.sheet-edge{stroke:#222;stroke-width:.08px;stroke-linecap:round}.sheet-ghost{stroke:#888;stroke-width:.06px;stroke-dasharray:.25 .2}.sheet-hole{fill:#fff;stroke:#222;stroke-width:.07px}.map,.dial{border:1px solid var(--border);touch-action:none;background:#fff;border-radius:10px;display:block}.map-icon{fill:none;stroke:#222;stroke-width:.08px;stroke-linejoin:round;stroke-linecap:round}.map-label{text-anchor:middle;fill:#333;font-family:system-ui,sans-serif;font-size:.55px}.dial{cursor:crosshair}.dial-circle{fill:none;stroke:#222;stroke-width:.02px}.dial-facing{stroke:#888;stroke-width:.025px}.dial-label{text-anchor:middle;fill:#333;font-family:system-ui,sans-serif;font-size:.15px}.dial-centre{fill:#222}.dial-arrow{stroke:#2f6db5;stroke-width:.03px}.dial-tip{fill:#2f6db5}.ptsot-question{margin:0;font-size:1.05em}.outline{border:1px solid var(--border);background:#fff;border-radius:10px;display:block}.outline-stroke{fill:#fff;stroke:#222;stroke-width:.06px;stroke-linejoin:round}.outline-fill{fill:#fff;stroke:#fff;stroke-width:.015px}.outline-inner{fill:none;stroke:#222;stroke-width:.03px;stroke-linejoin:round}.notice{border-left:3px solid var(--accent);background:var(--surface);border-radius:4px;padding:6px 12px}.drawing,.net,.cube{border:1px solid var(--border);background:#fff;border-radius:10px;display:block}.ln-solid{stroke:#1d1d1f;stroke-width:.07px;stroke-linecap:round}.ln-hidden{stroke:#555;stroke-width:.045px;stroke-dasharray:.16 .12}.ln-missing{stroke:#2e7d4f;stroke-width:.09px;stroke-dasharray:.2 .1;stroke-linecap:round}.ln-extra{stroke:#e0604a;stroke-width:.09px;stroke-linecap:round}.ln-none{stroke:#0000}.key-missing{color:#2e7d4f;font-weight:600}.key-extra{color:#e0604a;font-weight:600}.three-views{grid-template-areas:"top.""front right";place-items:end start;gap:8px;display:grid}.views-option .three-views{gap:4px}.views-option figcaption{display:none}.sketch{cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.sketch-dot{fill:#9aa4b2;pointer-events:none}.freehand{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.freehand .pens button{padding:3px 10px;font-size:.875em}.freehand .pens [aria-checked=true]{color:var(--accent)}.ink-live,.ink{fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.ink-live{stroke:#2f6db5;stroke-width:.06px;opacity:.7}.ink-live.ink-erase{stroke:#e0604a;stroke-width:.25px;opacity:.35}.ink-live.ink-hidden{stroke-dasharray:.16 .12}.ink{stroke:#8a8f98;stroke-width:.07px;opacity:.55}.net-square{stroke:#1d1d1f;stroke-width:.03px}.net-cell.clickable{cursor:pointer}.net-edge-hit{stroke:#0000;stroke-width:.22px;cursor:pointer}.net-edge-hit:hover{stroke:#2f6db559}.map.placing{cursor:crosshair;touch-action:none}.slider{align-items:center;gap:8px;display:inline-flex}.slider input{width:160px}.slider span:last-child{min-width:3.5em}.manip-hint{color:var(--accent,#2f6db5);margin:4px 0 0;font-size:.9em}button.link{color:var(--accent);background:0 0;border-color:#0000}button.suggested{border-color:var(--accent)}.tag-row{gap:8px}.strategy{border-left:3px solid var(--ok);background:var(--surface);border-radius:4px;max-width:640px;padding:8px 14px}.strategy h3{margin:0 0 4px;font-size:1em}.strategy p{margin:0}.tutorial-text p+p{margin-top:8px}:root{--series-1:#2a78d6;--series-2:#eb6834;--grid:#e1e0d9;--axis:#c3c2b7;--tick:#6b6b70}@media (prefers-color-scheme:dark){:root{--series-1:#3987e5;--series-2:#d95926;--grid:#2f3034;--axis:#45464b;--tick:#a09fa5}}.small{font-size:.875em}.tiles{flex-wrap:wrap;gap:12px;margin-bottom:8px;display:flex}.tile{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-direction:column;min-width:140px;padding:10px 16px;display:flex}.tile b{font-size:1.6em;font-weight:600}.dash-card h4{margin:0 0 4px;font-size:.9em;font-weight:600}.multiples{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px 20px;display:grid}.multiples.two{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.multiple{min-width:0}.dash-pair{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:0 16px;display:grid}.chart{width:100%;position:relative}.chart svg{display:block;overflow:visible}.chart .grid{stroke:var(--grid);stroke-width:1px}.chart .axis,.chart .crosshair{stroke:var(--axis);stroke-width:1px}.chart .tick{fill:var(--tick);font-variant-numeric:tabular-nums;font-size:11px}.chart .tick.label{fill:var(--text);font-variant-numeric:normal;font-size:12px}.chart .end-label{fill:var(--text);font-size:11px;font-weight:600}.chart .line{fill:none;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart .dot{stroke:var(--surface);stroke-width:2px}.chart-legend{color:var(--muted);flex-wrap:wrap;gap:14px;margin-bottom:4px;font-size:.85em;display:flex}.key{vertical-align:middle;margin-right:5px;display:inline-block}.key-line{border-radius:1px;width:12px;height:2px}.key-rect{border-radius:2px;width:10px;height:10px}.chart-tip{pointer-events:none;background:var(--surface);border:1px solid var(--border);white-space:nowrap;z-index:2;border-radius:6px;padding:4px 8px;font-size:.85em;position:absolute;box-shadow:0 2px 8px #0000001f}.split-bar{gap:2px;height:28px;margin:6px 0 8px;display:flex}.split-bar>div{color:#fff;border-radius:4px;align-items:center;min-width:2px;padding-left:8px;font-size:.85em;font-weight:600;display:flex}.table-view summary{cursor:pointer;color:var(--muted);margin-top:8px;font-size:.875em}.tabs{gap:4px;margin:8px 0 4px;display:flex}.tabs [aria-selected=true]{border-color:var(--accent);color:var(--accent)}.inspector{flex-wrap:wrap;align-items:flex-start;gap:24px;display:flex}.inspector .runner{flex:360px;min-width:0}.inspector-data{flex:0 320px;min-width:0;max-width:100%}.inspector-data h4{margin:12px 0 4px}.inspector-data textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:6px;padding:6px 8px;font:.85em ui-monospace,monospace}.inspector-data pre{background:var(--surface);border:1px solid var(--border);border-radius:6px;max-height:240px;padding:6px 8px;font-size:.8em;overflow:auto}.plan td:first-child{white-space:nowrap;font-weight:600}.plan td:nth-child(2),.plan td:last-child{white-space:nowrap}.plan tr.done td{color:var(--muted)}.plan tr.done td:last-child{color:var(--ok)}.plan tr.now td:last-child{color:var(--accent);white-space:nowrap;font-weight:600}@media (width<=600px){.plan td:nth-child(2){white-space:normal}}.runner-head .flag{color:var(--muted);padding:2px 10px}.flag-form{align-items:center;gap:6px;display:flex}.flag-form input{width:16em;max-width:40vw}.flag-form button{padding:2px 10px}.flag-done{color:var(--muted);white-space:nowrap}.flags td{vertical-align:top}.flags tr.checked{opacity:.55}
