:root{--ink:#1f2544;--paper:#fff7e6;--card:#fff;--muted:#62688a;--blue:#3f63f5;--blue-soft:#eef1ff;--green:#22b573;--green-deep:#13804f;--amber:#ffb020;--amber-ink:#8f5300;--red:#e5383f;--part:#5b8cff;--disabled:#c9c2b3;color:var(--ink);background:var(--paper);-webkit-text-size-adjust:100%;--mobile-size:600px;font-family:ui-rounded,SF Pro Rounded,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{min-height:100dvh;margin:0}h1,h2,p{margin:0}button{font:inherit;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}:focus-visible{outline:4px solid var(--blue);outline-offset:3px}.screen{max-width:1440px;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));flex-direction:column;gap:16px;margin:0 auto;display:flex}.btn{border:3px solid var(--ink);background:var(--card);min-height:48px;box-shadow:0 4px 0 var(--ink);cursor:pointer;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:17px;font-weight:800;transition:transform 80ms,box-shadow 80ms;display:inline-flex}.btn:active:not(:disabled){box-shadow:0 1px 0 var(--ink);transform:translateY(3px)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--blue);color:#fff}.btn.active{background:var(--ink);color:#fff}.btn.small{min-height:40px;padding:0 14px;font-size:16px}@media (width<=600px){.header-buttons .btn.small,.dashboard .stat{width:auto;font-size:12px}}.btn.big{min-height:56px;padding:0 24px;font-size:19px}.btn svg{flex:none;width:22px;height:22px}.card{background:var(--card);border:3px solid var(--ink);box-shadow:0 6px 0 var(--ink);border-radius:24px;padding:20px}.tier-chip{background:var(--ink);color:#fff;text-align:center;border-radius:999px;min-width:7ch;padding:4px 10px;font-size:14px;font-weight:800;display:inline-block}.old-browser{background:var(--card);border:3px solid var(--ink);border-radius:24px;max-width:560px;margin:40px auto;padding:24px;font-size:19px;font-weight:600}.old-browser h1{margin-bottom:12px;font-size:26px}.old-browser p+p{margin-top:10px}.crashed{flex-direction:column;align-items:flex-start;gap:12px;max-width:560px;margin:24px auto;font-size:19px;font-weight:600;display:flex}.crashed h1{font-size:26px}.hero{padding:12px 4px 4px}.hero-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.hero h1{letter-spacing:-.5px;font-size:clamp(36px,6vw,54px);font-weight:900}.hero p{max-width:640px;color:var(--muted);margin-top:6px;font-size:19px;font-weight:600}.player-bar{flex-wrap:wrap;align-items:center;gap:12px;font-size:18px;font-weight:700;display:flex}.player-form{flex-direction:column;align-items:flex-start;gap:12px;max-width:640px;display:flex}.player-form label{font-size:21px;font-weight:800}.player-input{flex-wrap:wrap;gap:10px;width:100%;display:flex}.player-input input{min-height:48px;font:inherit;color:var(--ink);border:3px solid var(--ink);background:#fff;border-radius:14px;flex:200px;padding:0 14px;font-size:18px;font-weight:700}.player-input input:focus-visible{outline:4px solid var(--blue);outline-offset:2px}.tier{scroll-margin-top:16px}.tier h2{align-items:center;gap:10px;margin-bottom:12px;font-size:22px;display:flex}.level-cards{gap:14px;margin:0;padding:0;list-style:none;display:grid}.level-card{text-align:left;background:var(--card);border:3px solid var(--ink);width:100%;box-shadow:0 5px 0 var(--ink);cursor:pointer;border-radius:22px;align-items:center;gap:16px;padding:16px 18px;display:flex}.level-card:active:not(:disabled){box-shadow:0 2px 0 var(--ink);transform:translateY(3px)}.level-card:disabled{cursor:not-allowed;color:var(--muted);border-color:var(--disabled);box-shadow:0 5px 0 var(--disabled);background:#f5f0e6}.level-number{background:var(--amber);border:3px solid var(--ink);border-radius:14px;flex:none;place-items:center;width:48px;height:48px;font-size:22px;font-weight:900;display:grid}.level-card.completed .level-number{background:var(--green-deep);color:#fff}.level-card:disabled .level-number{border-color:var(--disabled);background:#ebe4d6}.level-text{flex-direction:column;flex:1;gap:4px;display:flex}.level-text strong{font-size:19px}.principle{color:var(--muted);font-size:15px;font-weight:600}.level-state{flex:none;align-items:center;gap:6px;font-weight:800;display:inline-flex}.level-state svg{width:20px;height:20px}@media (width<=600px){.level-state{flex-direction:column;align-items:flex-end;gap:2px}}.settings{max-width:640px}.map{flex-direction:column;gap:8px;display:flex}.map ol{gap:10px;margin:0;padding:0;list-style:none;display:grid}.map .spine{grid-template-columns:repeat(4,minmax(0,1fr))}.map .branches{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))}.map-note{color:var(--muted);font-weight:800}.tier-node{height:100%;color:inherit;background:var(--card);border:3px solid var(--ink);box-shadow:0 4px 0 var(--ink);border-radius:18px;flex-direction:column;gap:4px;padding:10px 12px;text-decoration:none;display:flex}.tier-node .tier-chip{align-self:flex-start}.tier-node strong{font-size:16px;line-height:1.2}.tier-node.started{background:var(--blue-soft)}.tier-node.completed{background:#e2f6ea}.tier-node.locked{color:var(--muted);border-color:var(--disabled);box-shadow:0 4px 0 var(--disabled);background:#f5f0e6}.node-state{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:14px;font-weight:700;display:flex}.node-state>span{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.node-state svg{width:16px;height:16px}.node-stars path{fill:#ffc233;stroke:var(--ink)}.tier-node.completed .node-state svg{color:var(--green-deep)}.tier-node:focus-visible{outline:4px solid var(--blue);outline-offset:2px}@media (width<=600px){.map .spine,.map .branches{grid-template-columns:repeat(2,minmax(0,1fr))}}.level-header{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.header-buttons{flex-wrap:wrap;gap:8px;display:flex}.level-title{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:200px;display:flex}.level-title h1{font-size:clamp(22px,3.4vw,30px);font-weight:900}.dashboard{flex-wrap:wrap;gap:8px;margin:0;display:flex}.dashboard .stat{background:var(--card);border:3px solid var(--ink);box-shadow:0 4px 0 var(--ink);border-radius:16px;align-items:baseline;gap:8px;padding:8px 14px;display:flex}.dashboard .stat:first-child{color:#fff;background:var(--green-deep)}.dashboard dt{font-size:15px;font-weight:800}.dashboard dd{text-align:right;width:4ch;margin:0;font-size:22px;font-weight:900}@media (width<=600px){.dashboard .stat{gap:6px;padding:6px 10px}.dashboard dt{font-size:13px}.dashboard dd{font-size:19px}.level-title h1{font-size:clamp(15px,3.4vw,30px);font-weight:900}.level-title{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:200px;display:flex}}.viewing{color:var(--muted);background:#f1eadc;border-radius:999px;align-self:flex-start;margin-bottom:-6px;padding:4px 12px;font-size:15px;font-weight:800}.viewing.mine{color:#fff;background:var(--blue)}.floor{background:var(--card);border:3px solid var(--ink);box-shadow:0 6px 0 var(--ink);border-radius:26px;padding:8px;overflow-x:auto}.factory{width:100%;min-width:640px;height:auto;max-height:62dvh;font-family:inherit;display:block}.factory-frame{width:100%}.factory.mobile{min-width:0;max-height:none}.factory .conveyor-turn{fill:none;stroke:#e6ddca;stroke-width:14px;stroke-linecap:round;stroke-linejoin:round}.dock{flex-direction:column;gap:16px;display:flex}.panel{flex-direction:column;gap:14px;display:flex}@media (width>=900px){.dock{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}}@media (height<=520px){.screen{gap:10px}.level-title h1{font-size:20px}}.rotate-hint{color:var(--muted);text-align:center;font-weight:700;display:none}@media (width<=600px) and (orientation:portrait){.rotate-hint{display:block}}.factory text{text-anchor:middle;fill:var(--ink);font-weight:800}.factory .hit{fill:#0000}.factory .selectable{cursor:pointer}.factory .selectable:focus{outline:none}.factory .selectable:focus-visible .station-box{stroke:var(--blue);stroke-dasharray:12 7}.factory .conveyor{fill:#e6ddca}.factory .arrow{fill:none;stroke:#b8ac93;stroke-width:6px;stroke-linecap:round;stroke-linejoin:round}.factory .waiting-area{fill:#fbf7ef;stroke:#e3d9c4;stroke-width:3px;stroke-dasharray:9 7}.factory .part{fill:var(--part);stroke:var(--ink);stroke-width:3px}.factory .part.rush{stroke:#e89a00;stroke-width:6px}.factory .parts{pointer-events:none}.factory .parts .part{transition:transform var(--glide,.24s) ease-out, opacity var(--glide,.24s) ease-out;animation:part-in var(--glide,.24s) ease-out}.factory .parts .part.inside{opacity:0}.factory.still .parts .part{transition:none;animation:none}@keyframes part-in{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.factory .parts .part{transition:none;animation:none}}.factory .pile-count{fill:var(--muted);font-size:20px}.factory .pile-count.building{fill:var(--amber-ink)}.factory .waiting-area.zone-dry{fill:#ffe4e4;stroke:var(--red);stroke-dasharray:none}.factory .waiting-area.zone-healthy{fill:#e2f6ea;stroke:var(--green);stroke-dasharray:none}.factory .waiting-area.zone-flooding{fill:#fff0d2;stroke:var(--amber);stroke-dasharray:none}.factory .pile-count.zone-dry{fill:var(--red)}.factory .pile-count.zone-healthy{fill:var(--green-deep)}.factory .pile-count.zone-flooding{fill:var(--amber-ink)}.factory .rope path{fill:none;stroke-linecap:round;stroke-linejoin:round}.factory .rope .strand{stroke:var(--ink);stroke-width:11px}.factory .rope .twist{stroke:#f0a13a;stroke-width:6px;stroke-dasharray:9 5}.factory .rope .head,.factory .rope .knot{fill:#f0a13a;stroke:var(--ink);stroke-width:3px}.factory .rope text{fill:#9a5a00;font-size:21px}.factory .station-box{fill:#fff;stroke:var(--ink);stroke-width:5px}.factory .selected .station-box{stroke:var(--blue);stroke-width:9px}.factory .constraint .station-box{stroke:var(--red);stroke-width:9px}.factory .badge{stroke:var(--ink);stroke-width:4px}.factory .glyph *,.station-mark .glyph *{fill:#fff;stroke:var(--ink);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.factory .glyph .ink,.station-mark .glyph .ink{fill:var(--ink)}.factory .station-name{font-size:26px}.factory .status{text-anchor:start;fill:var(--muted);font-size:19px}.factory .status.long{font-size:16px}.factory .light{fill:#c3c7d6;stroke:var(--ink);stroke-width:3px}.factory .light.on{fill:var(--green)}.factory .light.resting{fill:#5c617e}.factory .light.jammed{fill:var(--red)}.factory .light.changing{fill:var(--amber)}.factory .light.starved{fill:#fff;stroke:var(--red)}.factory .progress-fill.changing{fill:var(--amber)}.factory .cart-tray{fill:#eee6d6;stroke:var(--ink);stroke-width:2.5px}.factory .cart .part{stroke-width:2px}.factory .corner.quick .ring{fill:var(--amber)}.factory .corner.quick .swap{fill:none;stroke:var(--ink);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.factory .corner .ring{stroke:var(--ink);stroke-width:3.5px}.factory .corner.upgraded .ring{fill:#8a5cf6}.factory .corner.upgraded path{fill:#ffd84d;stroke:var(--ink);stroke-width:2px;stroke-linejoin:round}.factory .corner.steadied .ring{fill:var(--blue)}.factory .corner.steadied .bars{fill:none;stroke:#fff;stroke-width:3.5px;stroke-linecap:round}.factory .corner.covered .ring{fill:var(--green-deep)}.factory .corner.covered .face{fill:#fff;stroke:var(--ink);stroke-width:2.5px}.factory .corner.maintained .ring{fill:#2ec5e6}.factory .corner.maintained .wrench{fill:none;stroke:var(--ink);stroke-width:3.2px;stroke-linecap:round}.factory .corner.covered .hands{fill:none;stroke:var(--ink);stroke-width:2.5px;stroke-linecap:round}.factory .progress-track{fill:#eee6d6}.factory .progress-fill{fill:var(--green)}.factory .station-name.compact{text-anchor:start;font-size:23px}.factory .machine-name{text-anchor:start;font-size:15px}.factory .machine .light{stroke-width:2.5px}.factory .product-dot{stroke:var(--ink);stroke-width:2px}.factory .bin-count.compact{font-size:44px}.factory .bin-product rect{stroke:var(--ink);stroke-width:2px}.factory .bin-product text{text-anchor:start;font-size:18px}.factory .bin-product.tight text{font-size:15px}.factory .made{fill:var(--muted);font-size:21px}.factory .scrapped{fill:var(--red);font-size:19px}.factory .sent-back{fill:var(--amber-ink);font-size:19px}.factory .stockroom rect{fill:#fff4dc;stroke:var(--ink);stroke-width:3px}.factory .stockroom text{font-size:19px}.factory .stockroom.empty rect{fill:var(--red)}.factory .stockroom.empty text{fill:#fff}.factory .tag rect{stroke:var(--ink);stroke-width:3px}.factory .tag text{fill:#fff;font-size:20px}.factory .tag.pick rect{fill:var(--blue)}.factory .tag.constraint rect{fill:var(--red)}.factory .bin{fill:#e9f8f0;stroke:var(--ink);stroke-width:5px}.factory .bin-label{font-size:22px}.factory .bin-count{font-size:56px;font-weight:900}.factory .bin-count.empty,.factory .bin-product.empty text{fill:var(--red)}.factory .sales{fill:var(--green-deep);font-size:15px}.factory .shop .bin-label{font-size:19px}.factory .shop .bin-product text{font-size:14px}.factory .sales.lost{fill:var(--red)}.factory .shop-sign rect{fill:#e4e1d8;stroke:var(--ink);stroke-width:3px}.factory .shop-sign.open rect{fill:var(--green)}.factory .shop-sign text{font-size:18px}.factory .shop-sign.open text{fill:#fff}.legend{color:var(--muted);flex-wrap:wrap;gap:18px;padding:0 6px;font-size:15px;font-weight:700;display:flex}.legend span{align-items:center;gap:7px;display:inline-flex}@media (width<=600px){.legend{display:none}}.swatch{background:var(--part);border:2px solid var(--ink);border-radius:4px;width:15px;height:15px}.swatch.dot{background:var(--green);border-radius:50%}.swatch.dot.off{background:#c3c7d6}.swatch.dot.resting{background:#5c617e}.swatch.dot.jammed{background:var(--red)}.swatch.dot.changing{background:var(--amber)}.swatch.zone{border-radius:4px}.swatch.zone.dry{border-color:var(--red);background:#ffe4e4}.swatch.zone.healthy{border-color:var(--green);background:#e2f6ea}.swatch.zone.flooding{border-color:var(--amber);background:#fff0d2}.legend .buffer-key{flex-wrap:wrap}.legend svg{width:18px;height:18px;color:var(--ink)}@media (width<=600px){.controls button{gap:1px;margin:0;font-size:12px}}.controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.speed{gap:6px;display:inline-flex}.clock{color:var(--muted);flex-direction:column;gap:6px;font-weight:700;display:flex}.clock-track{border:2px solid var(--ink);background:#eee6d6;border-radius:999px;height:12px;position:relative;overflow:hidden}.clock-fill{background:var(--amber);height:100%}.clock-zone{position:absolute;top:0;bottom:0}.clock-zone.dry{background:var(--red)}.clock-zone.healthy{background:var(--green)}.clock-zone.flooding{background:var(--amber)}.jam-log h2{flex-wrap:wrap;align-items:baseline;gap:6px;margin-bottom:8px;font-size:17px;font-weight:800;display:flex}.jam-log h2 small{color:var(--muted);font-size:14px}.jam-log ol{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.jam-log li{background:var(--card);border:2px solid var(--ink);border-radius:999px;align-items:baseline;gap:6px;padding:4px 10px;font-size:14px;font-weight:700;display:inline-flex}.jam-log li small,.jam-log .when{color:var(--muted)}.jam-log li.dry{border-color:var(--red);background:#ffe4e4}.jam-log li.dry .what{color:var(--red)}.jam-log li.held{border-color:var(--green);background:#e2f6ea}.jam-log li.held .what{color:var(--green-deep)}.legend .swatch.dot.starved{border-color:var(--red);background:#fff}.legend .swatch.rush{border-width:4px;border-color:#e89a00}.shift-log h2{margin-bottom:8px;font-size:17px;font-weight:800}.shift-log ol{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.shift-log li{background:var(--card);border:2px solid var(--ink);border-radius:12px;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:5px 10px;font-size:14px;font-weight:700;display:flex}.shift-log li svg{flex:none;width:18px;height:18px}.shift-log .when{min-width:36px;color:var(--muted)}.shift-log .what{color:var(--muted)}.shift-log li.bad{border-color:var(--red);background:#ffe4e4}.shift-log li.bad svg,.shift-log li.bad .what{color:var(--red)}.shift-log li.warn{border-color:var(--amber);background:#fff4dc}.shift-log li.warn .what{color:var(--amber-ink)}.scrub{cursor:pointer;touch-action:pan-y;padding:10px 0;position:relative}.scrub:focus-visible{outline:none}.scrub:focus-visible .clock-thumb{outline:4px solid var(--blue);outline-offset:2px}.clock-thumb{background:var(--card);border:3px solid var(--ink);width:22px;height:22px;box-shadow:0 2px 0 var(--ink);pointer-events:none;border-radius:50%;margin:-11px 0 0 -11px;position:absolute;top:50%}.paused-at{color:var(--ink);border:2px solid var(--amber);background:#fff0d2;border-radius:12px;align-items:center;gap:6px;padding:6px 10px;display:flex}.paused-at svg{flex:none;width:18px;height:18px}.sim-log summary,.why summary{cursor:pointer;width:fit-content;font-weight:800}.sim-log ol{background:var(--card);border:2px solid var(--ink);border-radius:12px;flex-direction:column;gap:2px;max-height:280px;margin:6px 0 0;padding:8px 10px;font-size:14px;font-weight:600;list-style:none;display:flex;overflow-y:auto}.sim-log .when{min-width:36px;color:var(--muted);display:inline-block}.why summary{color:var(--blue)}.why p{margin-top:6px}.clock-window{background:repeating-linear-gradient(45deg,#1f254459 0 3px,#0000 3px 7px);position:absolute;top:0;bottom:0}.lever{border:0;flex-direction:column;gap:8px;width:100%;margin:0;padding:0;display:flex}.lever legend{align-items:center;gap:6px;margin-bottom:8px;padding:0;font-size:17px;font-weight:800;display:flex}.lever legend svg,.plan-summary svg{flex:none;width:20px;height:20px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--card);border:3px solid var(--ink);min-height:44px;box-shadow:0 3px 0 var(--ink);cursor:pointer;border-radius:14px;padding:0 16px;font-size:16px;font-weight:800}.chip.on{color:#fff;background:var(--blue)}.chip:active{box-shadow:0 1px 0 var(--ink);transform:translateY(2px)}.plan-summary{flex-direction:column;gap:6px;margin:0;padding:0;font-weight:700;list-style:none;display:flex}.plan-summary li{align-items:center;gap:8px;display:flex}.result{flex-wrap:wrap;align-items:center;gap:10px;font-size:18px;font-weight:800;display:flex}.result-stats{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.result-stats div{border:2px solid var(--ink);background:#f7f2e7;border-radius:16px;flex-direction:column;align-items:center;padding:10px;display:flex}.result-stats span{color:var(--muted);font-size:14px;font-weight:800}.result-stats strong{white-space:nowrap;font-size:clamp(20px,6vw,30px);font-weight:900}.result-stats div:first-child{background:#e9f8f0}.result-stats.two{grid-template-columns:repeat(2,1fr)}.result-stats.four{grid-template-columns:repeat(4,1fr)}.result-stats.four div{padding:10px 4px}.result-stats.four span{white-space:nowrap;font-size:13px}@media (width<=600px){.result-stats.four{grid-template-columns:repeat(2,1fr)}}.shop-days{width:100%;margin:0}.shop-days svg{width:100%;max-width:520px;height:auto;display:block}.shop-days .sold{fill:var(--part)}.shop-days .waste{fill:#b9b2a3}.shop-days .lost{fill:var(--red)}.shop-days rect{stroke:var(--ink);stroke-width:1.5px}.shop-days .axis{stroke:var(--ink);stroke-width:2px}.shop-days .plan{stroke:var(--ink);stroke-width:2px;stroke-dasharray:5 4}.shop-days text{text-anchor:middle;fill:var(--ink);font-size:11px;font-weight:800}.shop-days .day{fill:var(--muted)}.shop-days figcaption{flex-wrap:wrap;gap:4px 14px;margin-top:4px;font-size:14px;font-weight:700;display:flex}.shop-days figcaption span{align-items:center;gap:6px;display:inline-flex}.swatch.sold{background:var(--part)}.swatch.waste{background:#b9b2a3}.swatch.lost{background:var(--red)}.swatch.plan{background:0 0;border-style:dashed;border-width:2px 0 0;border-radius:0;height:0}@media (width<=600px){.result-stats{gap:6px}.result-stats div{text-align:center;padding:8px 4px}.result-stats span{font-size:13px}}.result-stats small{color:var(--muted);font-size:13px;font-weight:800}.stars{color:#e89a00;gap:4px;display:inline-flex}.star svg{opacity:.35;width:30px;height:30px}.star.on svg{opacity:1}.star.on path{fill:#ffc233;stroke:var(--ink)}.star-goals,.checklist ul,.days{flex-direction:column;gap:6px;margin:0;padding:0;font-weight:700;list-style:none;display:flex}.star-goals li,.checklist li{align-items:center;gap:8px;display:flex}.star-goals .stars{flex:none;min-width:72px}.star-goals .star svg{width:20px;height:20px}.checklist{flex-direction:column;gap:8px;font-size:16px;display:flex}.checklist svg{flex:none;width:20px;height:20px}.checklist .ok svg{color:var(--green-deep)}.checklist .miss svg{color:var(--red)}.days-title{font-weight:800}.day-dots{margin:0}.day-dots figcaption{font-size:14px;font-weight:800}.day-dots svg{width:100%;max-width:400px;height:auto;display:block}.day-dots .axis{stroke:var(--ink);stroke-width:2px}.day-dots .goal{stroke:var(--ink);stroke-width:2px;stroke-dasharray:4 3}.day-dots figcaption span{color:var(--muted);font-weight:700}.day-dots circle{stroke:var(--ink);stroke-width:1.2px}.day-dots circle.ok{fill:var(--green)}.day-dots circle.miss{fill:var(--red)}.day-cards summary{cursor:pointer;width:fit-content;font-weight:800}.day-cards[open] summary{margin-bottom:8px}.days{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;display:grid}.days li{border:2px solid var(--ink);border-radius:14px;flex-direction:column;gap:2px;padding:8px 10px;font-size:14px;display:flex}.days li strong{align-items:center;gap:4px;font-size:16px;display:flex}.days.compact{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:6px}.days.compact li{padding:6px 8px;font-size:12px}.days.compact li span{overflow-wrap:anywhere}.days.compact li strong{white-space:nowrap;font-size:14px}.days li.ok{background:#e2f6ea}.days li.miss{background:#ffe4e4}.level-state .stars svg{width:24px;height:24px}.question{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.prompt{font-size:21px;font-weight:800}.hint{color:var(--muted);font-weight:600}.budget{align-items:center;gap:6px;font-weight:800;display:flex}.budget svg{width:22px;height:22px;color:var(--green-deep);flex:none}.budget.over,.budget.over svg{color:var(--red)}.actions{flex-wrap:wrap;gap:10px;display:flex}.overlay{z-index:10;background:#1f254473;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog{background:var(--card);border:3px solid var(--ink);width:min(560px,100%);max-height:calc(100dvh - 32px);box-shadow:0 8px 0 var(--ink);border-radius:26px;flex-direction:column;gap:12px;padding:24px;display:flex;overflow:auto}.dialog h2{font-size:26px;font-weight:900}.dialog-body{flex-direction:column;gap:12px;font-size:18px;line-height:1.5;display:flex}.kicker{letter-spacing:.8px;text-transform:uppercase;background:var(--amber);border:2px solid var(--ink);border-radius:999px;align-self:flex-start;padding:4px 10px;font-size:14px;font-weight:900}.dialog.good .kicker{color:#fff;background:var(--green-deep)}.dialog-actions{flex-wrap:wrap;gap:10px;margin-top:6px;display:flex}.principle-chip{color:var(--blue);background:var(--blue-soft);border:2px solid var(--blue);border-radius:12px;align-self:flex-start;padding:6px 10px;font-size:15px;font-weight:800}.level-card.free .level-number{color:#fff;background:var(--blue)}.level-card.free .level-number svg{width:28px;height:28px}.sandbox{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.line-editor{flex-direction:column;gap:8px;width:100%;margin:0;padding:0;list-style:none;display:flex}.station-editor{border:2px solid var(--ink);background:#f7f2e7;border-radius:16px;scroll-margin:16px}.station-editor.open{background:var(--blue-soft);border-color:var(--blue)}.station-top{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:14px;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 12px;display:flex}.station-text{flex-direction:column;flex:1;min-width:0;display:flex}.station-text strong{font-size:18px;font-weight:900}.station-text span{color:var(--muted);font-size:14px;font-weight:700}.station-top .paper{color:var(--muted);text-align:right;flex:none;font-size:13px;font-weight:700}.station-top .paper strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:20px;font-weight:900;display:block}.station-top>svg{flex:none;width:20px;height:20px;transition:transform .12s}.station-editor.open .station-top>svg{transform:rotate(90deg)}.station-mark{flex:none;width:36px;height:36px}.station-mark .mark{stroke:var(--ink);stroke-width:3px}.station-settings{flex-wrap:wrap;align-items:center;gap:10px 22px;padding:4px 12px 12px;display:flex}.settings-row{flex-wrap:wrap;align-items:center;gap:8px 22px;display:flex}.stepper,.choice{flex-wrap:wrap;align-items:center;gap:6px 8px;display:flex}.setting-label{font-size:15px;font-weight:800}.chip.step{place-items:center;width:44px;padding:0;display:grid}.chip.step svg{width:20px;height:20px}.chip:disabled{opacity:.4;cursor:not-allowed;box-shadow:0 3px 0 var(--ink);transform:none}.stepper output{text-align:center;font-variant-numeric:tabular-nums;min-width:2.5ch;font-size:20px;font-weight:900}.run-bar{z-index:1;background:var(--card);border-top:3px solid #eee4d0;border-radius:0 0 21px 21px;width:calc(100% + 40px);margin:0 -20px -20px;padding:12px 20px;display:flex;position:sticky;bottom:0}.day-row{align-items:center;gap:8px 18px;display:flex}@media (width<=600px){.day-row{flex-wrap:wrap}.run-bar .btn{flex:1}}.runs{flex-direction:column;gap:8px;display:flex}.runs h3{margin:0;font-size:19px;font-weight:900}.data-table{border-collapse:separate;font-variant-numeric:tabular-nums;background:var(--card);border:3px solid var(--ink);border-spacing:0;border-radius:16px;width:100%;font-size:16px;overflow:hidden}.data-table th,.data-table td{text-align:right;border-bottom:2px solid #eee4d0;padding:7px 8px}.data-table tr:last-child th,.data-table tr:last-child td{border-bottom:0}.data-table th:first-child,.data-table .changes{text-align:left}.data-table thead th{color:var(--muted);vertical-align:bottom;background:#f7f2e7;font-size:13px}.data-table small{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:700;display:block}.runs-table .changes{font-size:14px;font-weight:700}.data-table tr.current{background:var(--blue-soft)}@media (width<=600px){.data-table{font-size:14px}.data-table th,.data-table td{padding:6px 4px}.runs-table .changes{font-size:13px}}.things-to-try summary{cursor:pointer;font-size:19px;font-weight:900}.things-to-try ol{flex-direction:column;gap:10px;margin:10px 0 0;padding:0;list-style:none;display:flex}.things-to-try li,.trying{background:var(--card);border:3px solid var(--ink);border-radius:16px;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 14px;display:flex}.things-to-try strong{font-size:17px}.things-to-try p,.trying p{font-weight:600;line-height:1.45}.trying{background:var(--blue-soft);border-color:var(--blue)}.trying h3{margin:0;font-size:18px;font-weight:900}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.table-scroll{width:100%;position:relative;overflow-x:auto}.plans-tried{border-top:3px dashed #e3d9c4;flex-direction:column;gap:8px;width:100%;min-width:0;padding-top:12px;display:flex}.plans-tried h3{margin:0;font-size:19px;font-weight:900}.plans-table th[scope=row] .choice{font-weight:800;display:block}.plans-table th[scope=row] .choice+.choice{margin-top:4px}.plans-table .choice small{color:var(--muted);font-size:13px;font-weight:700}.plans-table td{white-space:nowrap}.plans-table td svg{vertical-align:-2px;width:16px;height:16px;margin-right:4px}.plans-table td.ok{color:var(--green-deep);font-weight:800}.plans-table td.miss{color:var(--red);font-weight:800}.plans-table .outcome{text-align:left}.plans-table .outcome .stars{display:flex}.plans-table .outcome .met{color:var(--green-deep);font-weight:800}.plans-table .outcome .unmet{color:var(--muted);font-weight:800}.plans-table .outcome small{font-size:12px}.task{background:var(--blue-soft);border-radius:14px;padding:10px 14px;font-weight:700}.class-cards{gap:14px;display:grid}@media (width>=900px){.class-cards{grid-template-columns:1fr 1fr}.class-cards .form-error{grid-column:1/-1}}.level-card.class-card .level-number,.class-icon{color:#fff;background:var(--blue)}.level-card.host-card .level-number{background:var(--green-deep)}.level-card.class-card .level-number svg,.class-icon svg{width:26px;height:26px}.class-bar{background:var(--blue-soft);border:3px solid var(--blue);border-radius:22px;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:14px 18px;display:flex}.class-icon{border:3px solid var(--ink);border-radius:14px;flex:none;place-items:center;width:48px;height:48px;display:grid}.class-text{flex-direction:column;flex:240px;gap:2px;display:flex}.class-text strong{font-size:19px}.level-card.sent{border-color:var(--blue);box-shadow:0 5px 0 var(--blue)}.class-tag{color:#fff;background:var(--blue);border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-size:13px;font-weight:900;display:inline-flex}.level-state .class-tag svg{width:16px;height:16px}.join-form{flex-direction:column;gap:14px;display:flex}.join-form label{flex-direction:column;gap:6px;font-weight:800;display:flex}.join-form input{min-height:52px;font:inherit;color:var(--ink);border:3px solid var(--ink);background:#fff;border-radius:14px;padding:0 14px;font-size:20px;font-weight:800}.join-form .code-input{letter-spacing:4px;font-variant-numeric:tabular-nums;font-size:30px}.form-error{color:var(--red);font-weight:800}.host-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.host-tabs{background:#f1eadc;border-radius:18px;gap:6px;padding:6px;display:flex}.host-tab{cursor:pointer;background:0 0;border:0;border-radius:12px;min-height:48px;padding:0 22px;font-size:18px;font-weight:900}.host-tab.on{color:#fff;background:var(--ink)}.host-tools{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.join-panel{gap:16px;display:grid}.join-card{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:32px;display:grid}.qr{border:3px solid var(--ink);border-radius:16px;width:clamp(200px,min(30vw,46vh),400px);height:auto}.join-steps{flex-direction:column;gap:12px;font-size:clamp(18px,1.7vw,28px);font-weight:700;line-height:1.4;display:flex}.join-steps h2{font-size:clamp(24px,2.6vw,40px);font-weight:900}.big-code{letter-spacing:.06em;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:clamp(52px,min(7.5vw,12vh),128px);font-weight:900;line-height:1}@media (width<=700px){.join-card{grid-template-columns:minmax(0,1fr);justify-items:center;gap:20px}}.roster h2{align-items:center;gap:10px;margin-bottom:12px;font-size:22px;display:flex}.roster-count{color:#fff;background:var(--ink);border-radius:999px;place-items:center;min-width:36px;height:36px;padding:0 8px;font-size:18px;display:inline-grid}.roster-list{flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;display:flex}.roster-list li{background:#f7f2e7;border:2px solid #e3d9c4;border-radius:999px;align-items:center;gap:8px;padding:4px 4px 4px 12px;font-size:19px;font-weight:800;display:inline-flex}.presence{background:var(--disabled);border-radius:50%;flex:none;width:12px;height:12px;display:inline-block}.presence.on{background:var(--green)}.icon-btn{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.icon-btn svg{width:18px;height:18px}.icon-btn:hover{color:var(--red);background:#fde8e9}.board-panel{flex-direction:column;gap:12px;min-width:0;display:flex}.class-board th,.class-board td{text-align:center}.class-board th:first-child,.class-board .now-col{text-align:left}.class-board tbody th{white-space:nowrap;font-weight:800}.class-board tbody th .presence{vertical-align:1px;margin-right:4px}.class-board .now-col{min-width:140px;max-width:240px}.class-board .tier-start{border-left:2px solid #e3d9c4}.class-board small svg{vertical-align:-1px;width:13px;height:13px}.level-link{min-width:32px;min-height:32px;font:inherit;color:var(--blue);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:2px 6px;font-weight:900;text-decoration:underline}.level-link.wide{text-align:left;padding:2px 0}.cell{min-width:38px}.cell.done{color:var(--green-deep);background:#e6f6ee}.cell.tried{background:#fff1d1}.cell.here{box-shadow:inset 0 0 0 3px var(--blue)}.cell svg{vertical-align:-3px;width:16px;height:16px}.cell-stars{margin-left:2px;font-size:13px;font-weight:900}.board-key{flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;list-style:none;display:flex}.board-key li{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.cell-key{border-radius:6px;place-items:center;width:26px;height:22px;display:inline-grid}.cell-key svg{width:15px;height:15px}.cell-key.done{color:var(--green-deep);background:#e6f6ee}.cell-key.tried{background:#fff1d1}.cell-key.here{box-shadow:inset 0 0 0 3px var(--blue)}.answers-panel{flex-direction:column;gap:14px;min-width:0;display:flex}.answers-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.level-picker{flex-direction:column;flex:320px;gap:4px;font-weight:800;display:flex}.level-picker select{max-width:640px;min-height:50px;font:inherit;color:var(--ink);border:3px solid var(--ink);background:#fff;border-radius:14px;padding:0 12px;font-size:19px;font-weight:800}.sent{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sent-tag{color:#fff;background:var(--blue);border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-weight:900;display:inline-flex}.sent-tag svg{width:20px;height:20px}.answer-counts{color:var(--muted);font-size:19px;font-weight:700}.answer-counts strong{color:var(--ink)}.class-question{font-size:clamp(20px,1.8vw,28px);line-height:1.35}.tally{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.tally li{grid-template-columns:minmax(110px,2fr) 5fr auto;align-items:center;gap:12px;font-size:clamp(18px,1.6vw,24px);font-weight:800;display:grid}.tally-label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tally-bar{background:#f1eadc;border-radius:10px;height:28px;overflow:hidden}.tally-bar i{background:var(--part);border-radius:10px;height:100%;transition:width .3s;display:block}.tally li.right .tally-bar i{background:var(--green)}.tally-count{text-align:right;font-variant-numeric:tabular-nums;min-width:2ch;font-size:1.2em}.right-tag{color:#fff;background:var(--green-deep);border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-size:14px;display:inline-flex}.right-tag svg{width:16px;height:16px}.class-picks th,.class-picks td{text-align:left}.class-picks td.ok{color:var(--green-deep);font-weight:800}.class-picks td.miss{color:var(--muted);font-weight:800}.class-picks svg{vertical-align:-2px;width:16px;height:16px}.class-plans .ran .names{white-space:normal;max-width:260px}.replay{flex-direction:column;gap:14px;display:flex}.replay-top{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.replay-title{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:220px;display:flex}.replay-title h2{font-size:clamp(22px,2.4vw,32px);font-weight:900}.class-gone{flex-direction:column;gap:14px;max-width:640px;display:flex}.class-gone h1{font-size:28px;font-weight:900}@media (width>=1400px){.host .data-table{font-size:19px}.host .data-table thead th{font-size:15px}}@media (prefers-reduced-motion:reduce){.tally-bar i{transition:none}}.guide-links{flex-wrap:wrap;gap:10px;display:flex}.guide-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.guide-tabs{flex-wrap:wrap}.guide-warning{color:var(--amber-ink);background:#fff1d1;border-radius:14px;align-items:center;gap:8px;padding:8px 14px;font-weight:700;display:flex}.guide-warning svg{flex:none;width:22px;height:22px}.guide-panel{flex-direction:column;gap:16px;min-width:0;display:flex}.guide-columns{align-items:start;gap:16px;display:grid}@media (width>=1000px){.guide-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}.guide-card{flex-direction:column;gap:10px;min-width:0;display:flex}.guide-card h2{font-size:22px;font-weight:900}.guide-card h3,.session h3{margin:0;font-size:18px;font-weight:900}.guide-card p,.session-summary{font-size:17px;font-weight:600;line-height:1.5}.plain-list{flex-direction:column;gap:8px;margin:0;padding-left:22px;font-size:17px;font-weight:600;line-height:1.5;display:flex}.plain-list.numbered{list-style:decimal}.plain-list li::marker{color:var(--blue);font-weight:900}.course-tiers{gap:16px;margin:0;padding:0;list-style:none;display:grid}@media (width>=1000px){.course-tiers{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.course-tier{flex-direction:column;gap:10px;min-width:0;display:flex}.course-tier header{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.course-tier h2{flex:1;min-width:180px;font-size:21px;font-weight:900}.tier-progress{color:var(--muted);align-items:center;gap:4px;font-weight:800;display:inline-flex}.tier-progress svg{width:16px;height:16px}.objectives-title{color:var(--muted);font-weight:800}.course-levels{flex-direction:column;gap:8px;margin:4px 0 0;padding:0;list-style:none;display:flex}.course-levels li{background:#f7f2e7;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:8px 10px;display:flex}.course-levels li.completed{background:#e6f6ee}.level-num{text-align:center;background:var(--amber);border:2px solid var(--ink);border-radius:10px;flex:none;min-width:40px;padding:2px 8px;font-size:15px;font-weight:900}.course-levels .level-name{flex:1;min-width:160px;font-weight:800}.course-levels .stars svg{width:18px;height:18px}.principles{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.principles li{border-radius:14px;align-items:flex-start;gap:12px;padding:10px 14px;display:flex}.principles li>div{flex-direction:column;gap:2px;display:flex}.principles li svg{flex:none;width:22px;height:22px;margin-top:2px}.principles strong{font-size:18px}.principles small{color:var(--muted);font-size:14px;font-weight:700}.principles li.found{background:#e6f6ee}.principles li.found svg{color:var(--green-deep)}.principles li.ahead{color:var(--muted);background:#f7f2e7}.terms{flex-direction:column;gap:12px;margin:0;display:flex}.terms dt{font-size:18px;font-weight:900}.terms dd{margin:2px 0 0;font-size:17px;font-weight:600;line-height:1.5}.guide-card.ahead h2{color:var(--muted)}.guide-card.ahead .terms{opacity:.8}.later-tag{color:var(--muted);background:#f1eadc;border-radius:999px;margin-left:8px;padding:2px 9px;font-size:13px;font-weight:800}.notes-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.note{border-top:3px dashed #e3d9c4;flex-direction:column;gap:8px;padding-top:14px;display:flex}.note label{flex-direction:column;gap:6px;font-size:17px;line-height:1.5;display:flex}.note label .tier-chip{align-self:flex-start}.prompt-line{color:var(--muted);font-weight:600}.note textarea{width:100%;min-height:96px;font:inherit;color:var(--ink);border:3px solid var(--ink);resize:vertical;background:#fff;border-radius:14px;padding:10px 12px;font-size:17px;font-weight:600;line-height:1.5}.print-only{display:none}.steps{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}@media (width<=600px){.step{grid-template-columns:minmax(0,1fr);gap:4px}}.step-kind{letter-spacing:.6px;text-transform:uppercase;border-radius:999px;justify-self:start;padding:3px 10px;font-size:13px;font-weight:900}.step.say .step-kind{color:var(--blue);background:var(--blue-soft)}.step.ask .step-kind{color:var(--amber-ink);background:#fff1d1}.step.do .step-kind{color:var(--green-deep);background:#e6f6ee}.step.look .step-kind{color:#5b3fc4;background:#f0ebff}.step.tip .step-kind{color:var(--muted);background:#f1eadc}.step-body p{font-size:17px;font-weight:600;line-height:1.5}.step.say .step-body p:first-child{font-style:italic;font-weight:700}.guide-card .step-body p,.session .step-body p{font-size:17px}.step-note{color:var(--muted);margin-top:2px;font-size:15px!important;font-weight:600!important}.session-list .level-state{text-align:right;flex-direction:column;align-items:flex-end;gap:2px}.session-list .level-state small{color:var(--muted);font-size:13px;font-weight:700}.session-nav{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.session-steps{gap:8px;display:flex}.session{flex-direction:column;gap:16px;min-width:0;display:flex}.session-head{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.session-head h2{flex:1;min-width:220px;font-size:clamp(24px,3vw,32px);font-weight:900}.session-length{color:var(--muted);font-weight:800}.session-columns{align-items:start;gap:16px;display:grid}@media (width>=1000px){.session-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}.segment{flex-direction:column;gap:10px;min-width:0;display:flex}.segment h4{letter-spacing:.6px;text-transform:uppercase;color:var(--muted);margin:6px 0 0;font-size:15px;font-weight:900}.segment-head{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.segment-head h3{flex:1;min-width:180px;font-size:21px}.segment-time{color:var(--muted);font-size:15px;font-weight:800}.segment.play{border-left-width:10px;border-left-color:var(--blue)}.principles-line{color:var(--muted);font-size:15px!important;font-weight:700!important}.idea{background:var(--blue-soft);border-radius:14px;padding:10px 14px;font-size:18px;font-weight:700;line-height:1.45}.answer-box{background:#e6f6ee;border-radius:14px;padding:10px 14px}.answer-box h4{color:var(--green-deep);margin:0 0 4px}.watch-list{margin-top:4px}.answer-line{display:block}.answer-table th,.answer-table td{text-align:left;vertical-align:top}.answer-table td:last-child{color:var(--muted)}.formats th,.formats td,.run-of-show th,.run-of-show td{text-align:left;vertical-align:top}.formats td:first-of-type{white-space:nowrap}.run-of-show small{color:var(--muted);font-weight:700}.whole-session{border-top:4px solid var(--ink);padding-top:16px}@media print{:root{--paper:#fff}body{background:#fff}.print-hide,.header-buttons,.guide-tabs,.guide-bar,.session-nav,.guide-warning,.btn,.overlay{display:none!important}.print-only{display:block}.screen{max-width:none;padding:0}.card{box-shadow:none;break-inside:avoid-page;border-width:2px}.segment.play,.whole-session{break-before:page}.note-print{white-space:pre-wrap;border-bottom:1px solid #999;min-height:5em}.guide-columns,.session-columns,.course-tiers{display:block}.guide-columns>*,.session-columns>*,.course-tiers>*{margin-bottom:12px}.step{break-inside:avoid}}.exam-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.exam-column{flex-direction:column;gap:16px;min-width:0;display:flex}.exam-rules{gap:10px;margin:0;padding:0;list-style:none;display:grid}.exam-rules li{border:3px solid var(--ink);background:#fff;border-radius:16px;gap:4px;padding:12px 14px;display:grid}.exam-rules strong{font-size:18px;font-weight:900}.exam-rules span{font-size:16px;font-weight:600;line-height:1.45}.exam-rules li.pass{border-color:var(--green-deep);background:#e7f6ee}.exam-rules li.extra{border-color:var(--amber-ink);background:#fff1d1}.exam-rules li.short{border-color:var(--muted);background:#eceaf3}.exam-status{flex-direction:column;gap:12px;padding:16px 20px;display:flex}.exam-status-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.exam-tally{color:var(--muted);font-size:18px;font-weight:700}.exam-tally strong{color:var(--ink);font-size:24px;font-weight:900}.exam-risk{border:3px solid var(--ink);background:#fff;border-radius:999px;align-items:center;gap:8px;padding:6px 14px 6px 10px;font-size:16px;font-weight:800;display:inline-flex}.exam-risk svg{flex:none;width:20px;height:20px}.exam-risk.safe{color:var(--green-deep);background:#e7f6ee}.exam-risk.close{color:var(--amber-ink);background:#fff1d1}.exam-risk.at-risk{color:#a31d24;background:#ffe3e3}.exam-risk.out-of-reach{color:var(--muted);background:#eceaf3}.exam-dots{flex-wrap:wrap;gap:5px;margin:0;padding:0;list-style:none;display:flex}.exam-dots li{border:2px solid var(--ink);background:#fff;border-radius:5px;width:16px;height:16px}.exam-dots li.right{background:var(--green)}.exam-dots li.missed{background:var(--red)}.exam-dots li.here{outline:3px solid var(--blue);outline-offset:1px}.exam-dots li.extra{border-color:var(--muted);border-style:dashed}.exam-dots li.extra.right,.exam-dots li.extra.missed{border-color:var(--ink);border-style:solid}.exam-risk-line{font-size:17px;font-weight:700;line-height:1.4}.exam-card{flex-direction:column;gap:18px;display:flex}.exam-kicker{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:15px;font-weight:800}.exam-question{font-size:27px;font-weight:800;line-height:1.3}.exam-options{gap:12px;display:grid}@media (width>=720px){.exam-options.two{grid-template-columns:repeat(2,minmax(0,1fr))}}.exam-option{min-height:64px;font:inherit;color:var(--ink);text-align:left;background:var(--card);border:3px solid var(--ink);box-shadow:0 4px 0 var(--ink);cursor:pointer;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 16px;font-size:19px;font-weight:700;line-height:1.35;transition:transform 80ms,box-shadow 80ms;display:grid}.exam-option:active:not(:disabled){box-shadow:0 1px 0 var(--ink);transform:translateY(3px)}.exam-option:disabled{color:var(--ink);cursor:default}.exam-letter{background:var(--blue-soft);border:2px solid var(--ink);border-radius:12px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.exam-option.right{border-color:var(--green-deep);box-shadow:0 4px 0 var(--green-deep);background:#e7f6ee}.exam-option.right .exam-letter{color:#fff;background:var(--green-deep);border-color:var(--green-deep)}.exam-option.wrong{border-color:var(--red);box-shadow:0 4px 0 var(--red);background:#ffe3e3}.exam-option.wrong .exam-letter{color:#fff;background:var(--red);border-color:var(--red)}.exam-option.dim{opacity:.55}.exam-option-mark{white-space:nowrap;align-items:center;gap:6px;font-size:15px;font-weight:800;display:inline-flex}.exam-option-mark:empty{display:none}.exam-option-mark svg{flex:none;width:20px;height:20px}.exam-option.right .exam-option-mark{color:var(--green-deep)}.exam-option.wrong .exam-option-mark{color:#a31d24}.exam-feedback{border:3px solid var(--ink);border-radius:18px;flex-direction:column;align-items:flex-start;gap:10px;padding:16px 18px;display:flex}.exam-feedback.good{border-color:var(--green-deep);background:#e7f6ee}.exam-feedback.miss{border-color:var(--amber-ink);background:#fff1d1}.exam-feedback h3{margin:0;font-size:24px;font-weight:900}.exam-feedback p{font-size:18px;font-weight:600;line-height:1.5}p.exam-taught,.exam-feedback p.exam-taught,.exam-review-item p.exam-taught{color:var(--muted);font-size:15px;font-weight:700}.exam-result{flex-direction:column;gap:12px;display:flex}.exam-result h2{font-size:32px;font-weight:900;line-height:1.15}.exam-result p{font-size:18px;font-weight:600;line-height:1.5}.exam-result p.exam-score{font-size:22px;font-weight:900}.exam-result.pass{border-color:var(--green-deep);box-shadow:0 6px 0 var(--green-deep);background:#e7f6ee}.exam-result.fail{border-color:var(--amber-ink);box-shadow:0 6px 0 var(--amber-ink);background:#fff1d1}.exam-topics{gap:12px;margin:0;padding:0;list-style:none;display:grid}.exam-topics li{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;display:grid}.exam-topic-name{flex-wrap:wrap;align-items:center;gap:8px;font-size:17px;font-weight:800;display:flex}.exam-topic-score{text-align:right;font-size:17px;font-weight:800}.exam-topic-score small{color:#a31d24;font-size:14px;font-weight:800}.exam-topics .bar{border:2px solid var(--ink);background:#fff;border-radius:6px;grid-column:1/-1;height:12px;overflow:hidden}.exam-topics .bar i{background:var(--green);height:100%;display:block}.exam-topics li.weak .bar i{background:var(--red)}.exam-review{gap:12px;display:grid}.exam-review-item{border:3px solid var(--ink);background:#fff;border-radius:16px;gap:6px;padding:14px 16px;display:grid}.exam-review-item.good{border-color:var(--green-deep)}.exam-review-item.miss{border-color:var(--red)}.exam-review-item h3{margin:0;font-size:18px;font-weight:800;line-height:1.35}.exam-review-item p{font-size:16px;font-weight:600;line-height:1.45}.exam-review-item svg{vertical-align:-3px;width:18px;height:18px}.exam-review-label{min-width:6.5em;color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:13px;font-weight:900;display:inline-block}.certificate-card{width:100%;max-width:1000px;margin:0 auto}.certificate-form{gap:12px;max-width:600px;display:grid}.certificate-form label{font-size:18px;font-weight:800}.certificate-form input{width:100%;min-height:56px;font:inherit;color:var(--ink);border:3px solid var(--ink);background:#fff;border-radius:16px;padding:10px 16px;font-size:22px;font-weight:700}.certificate-preview{border:3px solid var(--ink);box-shadow:0 6px 0 var(--ink);background:#fff;border-radius:20px;margin:0;overflow:hidden}.certificate-preview img{width:100%;height:auto;display:block}.exam-problem{color:#a31d24;background:#ffe3e3;border-radius:14px;padding:12px 16px;font-weight:700}@media (width<=600px){.exam-question{font-size:22px}.exam-option{grid-template-columns:auto minmax(0,1fr);font-size:17px}.exam-option-mark{grid-column:2}.exam-dots li{width:12px;height:12px}.exam-result h2{font-size:26px}}.level-card.lab .level-number{background:#b35c00}.lab-brief{flex-direction:column;gap:10px;font-size:17px;line-height:1.45;display:flex}.lab-brief .mission{background:var(--blue-soft);border:2px solid var(--blue);border-radius:14px;align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.lab-brief .mission svg{width:22px;height:22px;color:var(--blue);flex:none;margin-top:2px}.lab-controls{flex-direction:column;gap:16px;display:flex}.dial{align-items:center;gap:10px;display:flex}.dial input[type=range]{min-width:0;height:36px;accent-color:var(--blue);cursor:pointer;flex:1}.dial-read{font-size:17px;line-height:1.4}.dial-read.over strong:last-of-type{color:var(--red)}.lab-controls .run-bar{border-top:0;flex-wrap:wrap;gap:10px;width:100%;margin:0;padding:0;position:static}.lab-controls .run-bar .btn{flex:1}.btn.next{color:#fff;background:var(--green-deep)}.lab-result{gap:12px}.lab-result p{font-size:16px;line-height:1.45}.lab-result .advice{font-weight:800}.verdict{flex-direction:column;gap:6px;margin:0;padding:0;font-size:17px;list-style:none;display:flex}.verdict li{border:2px solid var(--ink);border-radius:12px;align-items:center;gap:8px;padding:8px 12px;display:flex}.verdict li svg{flex:none;width:22px;height:22px}.verdict li.ok{background:#e3f7ec}.verdict li.ok svg{color:var(--green-deep)}.verdict li.miss{background:#fde7e8}.verdict li.miss svg{color:var(--red)}.reveal p{font-size:16px;line-height:1.45}.cycle-bar{margin:0}.cycle-bar .bar{border:3px solid var(--ink);border-radius:12px;height:22px;display:flex;overflow:hidden}.cycle-bar .work,.swatch.work{background:var(--green)}.cycle-bar .wait,.swatch.wait{background:var(--amber)}.cycle-bar figcaption{flex-wrap:wrap;gap:4px 18px;margin-top:6px;font-size:15px;display:flex}.station-table tr.neck th small{color:var(--amber-ink);margin-left:6px;display:inline}.queue-strips{margin:0}.queue-strips ol{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.queue-strips li{grid-template-columns:96px minmax(0,1fr) 64px;align-items:center;gap:8px;font-size:14px;font-weight:800;display:grid}.queue-strips .strip-name small{color:var(--amber-ink);font-size:11px;display:block}.queue-strips .strip-peak{color:var(--muted);text-align:right;font-size:13px}.queue-strips svg{background:#f7f2e7;border-radius:8px;width:100%;height:38px}.queue-strips path{fill:var(--part);opacity:.85}.queue-strips li.neck path{fill:var(--amber)}.queue-strips .base{stroke:var(--ink);stroke-width:1px;opacity:.25;vector-effect:non-scaling-stroke}.queue-strips figcaption{color:var(--muted);margin-top:6px;font-size:13px}.lab-chart{margin:0}.lab-chart svg{width:100%;height:auto;max-height:420px;display:block}.lab-chart text{fill:var(--ink);font-family:inherit}.lab-chart .tick,.lab-chart .note{fill:var(--muted);font-size:12px;font-weight:700}.lab-chart .axis-label{font-size:12px;font-weight:800}.lab-chart .grid{stroke:#eee4d0;stroke-width:2px}.lab-chart .full{stroke:var(--ink);stroke-width:2px;stroke-dasharray:6 5;opacity:.55}.lab-chart .limit{stroke:var(--red);stroke-width:2px;stroke-dasharray:3 4}.lab-chart .limit-text{fill:var(--red)}.lab-chart .curve path:first-child{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linejoin:round}.lab-chart .curve.bold path:first-child{stroke-width:4px}.lab-chart .curve .mark{fill:currentColor;stroke:var(--card);stroke-width:1.5px}.lab-chart .end-label{font-size:12px;font-weight:800}.lab-chart .dot-run circle{fill:var(--ink)}.lab-chart .dot-run text{fill:#fff;font-size:10px;font-weight:900}.lab-summary{flex-direction:column;gap:18px;display:flex}.takeaways{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.takeaways li{border:2px solid var(--ink);background:#f7f2e7;border-radius:16px;padding:14px 16px}.takeaways h3{margin:0 0 6px;font-size:18px;font-weight:900}.takeaways p{font-size:16px;line-height:1.45}@media (width<=600px){.queue-strips li{grid-template-columns:78px minmax(0,1fr) 52px}}.dial .chip.step{flex:none;justify-content:center;align-items:center;width:44px;padding:0;display:inline-flex}.dial .chip.step svg{width:22px;height:22px}.cycle-bar .swatch{vertical-align:middle;display:inline-block}.legend-row{flex-wrap:wrap;gap:6px 18px;margin:6px 0 0;padding:0;font-size:14px;font-weight:800;list-style:none;display:flex}.legend-row li{align-items:center;gap:6px;display:flex}.legend-row li span{color:var(--ink)}.legend-row svg{width:26px;height:14px}.legend-row .mark{fill:currentColor}.dot-key{background:var(--ink);border-radius:50%;width:14px;height:14px;display:inline-block}.lot-floor{min-width:860px}.lot-floor .area-label,.lot-floor .set-label{font-size:15px}.lot-floor .set-label.dim,.lot-floor .tool-set.empty .set-label{fill:var(--muted)}.lot-floor .queued-lot text{text-anchor:start;font-size:13px}.lot-floor .set-box{fill:none;stroke:var(--ink);stroke-width:3px;stroke-dasharray:2 0;opacity:.9}.lot-floor .tool-set.empty .set-box{stroke-dasharray:6 6;opacity:.5}.lot-floor .tool-box{fill:#f7f2e7;stroke:var(--ink);stroke-width:3px}.lot-floor .tool.unused .tool-box{opacity:.45;stroke-dasharray:5 5}.lot-floor .tool.waiting .tool-box{fill:#efe7d3}.lot-floor .tool.on .tool-wafers,.lot-floor .tool.on .tool-speed{fill:#fff}.lot-floor .tool-speed{font-size:13px}.lot-floor .tool-wafers{font-size:22px}.lot-floor .progress-fill{fill:var(--ink)}.time-split{margin:0}.time-split .bar{border:3px solid var(--ink);border-radius:12px;height:22px;display:flex;overflow:hidden}.time-split .running,.time-split .swatch.running{background:var(--green)}.time-split .tail,.time-split .swatch.tail{background:var(--amber)}.time-split .starved,.time-split .swatch.starved{background:var(--red)}.time-split .unused,.time-split .swatch.unused{background:#b9b3a3}.time-split .swatch{vertical-align:middle;display:inline-block}.time-split figcaption{flex-wrap:wrap;gap:4px 16px;margin-top:6px;font-size:14px;display:flex}.by-size{font-size:15px;font-weight:800}.by-size small{color:var(--muted);font-weight:700}.lab-chart .tick.busy{fill:var(--green-deep)}.lab-chart .tick.busy.now{fill:var(--ink);font-weight:900}.lot-floor .queued-lot.hot rect{stroke:var(--red);stroke-width:3px}.lot-floor .queued-lot.hot text{fill:var(--red)}.lot-floor .tool-set.hot .set-box{stroke:var(--red)}.lot-floor .tool-set.hot .set-label{fill:var(--red)}.promise-table{font-size:15px}.lot-floor .bin-label.held{fill:var(--muted);font-size:13px}.lot-floor .bin-label.held.some{fill:var(--red)}.explainer{border:3px solid var(--ink);background:#fff;border-radius:16px;padding:10px 14px}.explainer summary{cursor:pointer;align-items:center;gap:8px;font-size:17px;font-weight:800;display:flex}.explainer summary svg{flex:none;width:20px;height:20px}.explainer video{border:3px solid var(--ink);background:var(--ink);border-radius:14px;width:100%;max-width:720px;margin:12px auto 8px;display:block}.my-factory .privacy{color:var(--muted);margin:0 0 12px;font-size:.9rem}.my-factory .verdict-card.ok{border-color:var(--green-deep);box-shadow:0 6px 0 var(--green-deep)}.my-factory .verdict-card.warn{border-color:var(--amber-ink);box-shadow:0 6px 0 var(--amber-ink)}.my-factory .verdict-card.bad{border-color:var(--red);box-shadow:0 6px 0 var(--red)}.my-factory .plain-list{margin:8px 0 0;padding-left:1.2em}.my-factory .plain-list li{margin:4px 0}.my-factory .dock{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin:18px 0;display:grid}.my-factory .dock .card{margin:0}.my-factory .field-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:10px 0;display:grid}.number-field{flex-direction:column;gap:4px;min-width:0;display:flex}.number-row{align-items:center;gap:6px;display:flex}.number-row input{width:100%;min-width:0;font:inherit;text-align:center;color:var(--ink);background:var(--card);border:3px solid var(--ink);border-radius:10px;flex:1;padding:8px 4px;font-weight:700}.number-field .unit{color:var(--muted);font-size:.85rem}.step-cards{gap:18px;margin:0;padding:0;list-style:none;display:grid}.step-card.neck{border-color:var(--red);box-shadow:0 6px 0 var(--red)}.step-card header,.step-card .step-head{align-items:center;gap:10px;display:flex}.step-name{min-width:0;font:inherit;color:var(--ink);border:0;border-bottom:3px dashed var(--disabled);background:0 0;flex:1;padding:4px 2px;font-size:1.1rem;font-weight:800}.neck-tag{background:var(--red);color:#fff;border-radius:999px;padding:3px 9px;font-size:.8rem;font-weight:800}.step-card .check{align-items:center;gap:8px;margin:8px 0;display:flex}.busy-bar{background:var(--blue-soft);border:3px solid var(--ink);border-radius:999px;height:16px;overflow:hidden}.busy-bar>*{background:var(--green);height:100%;display:block}.busy-bar.warm>*{background:var(--amber)}.busy-bar.hot>*{background:var(--red)}.step-actions,.my-factory .actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.tool-hint,.busy-text{margin:6px 0 0;font-size:.92rem}.tool-hint{color:var(--muted)}.factory-curve{width:100%;height:auto}.step-cards>li,.my-factory .dock>*{min-width:0}.my-factory .field-grid{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))}.my-factory .dock{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}.my-factory .privacy svg,.number-row svg{vertical-align:-.12em;width:1em;height:1em}.number-row .chip.step{flex:none;justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:inline-flex}.number-row input{min-width:56px}.table-scroll{overflow-x:auto}.cases table,.rope table{border-collapse:collapse;width:100%;font-size:.92rem}.cases th,.cases td,.rope th,.rope td{text-align:center;border-bottom:2px solid var(--disabled);white-space:nowrap;padding:6px 8px}.cases th{color:var(--muted);font-size:.8rem}.cases tr.meets td:last-child{color:var(--green-deep);font-weight:800}.cases tr.misses td:last-child{color:var(--red);font-weight:800}.watch-controls{flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0;display:flex}.watch-scrub{width:100%;accent-color:var(--blue);margin:4px 0 10px}.watch-stats{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin-bottom:12px;display:grid}.watch-stats span{background:var(--blue-soft);border:3px solid var(--ink);border-radius:12px;flex-direction:column;padding:6px 10px;display:flex}.watch-stats span.over strong{color:var(--red)}.watch-stats small{color:var(--muted);font-weight:700}.watch-line{grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr));gap:12px;padding:4px 2px 10px;display:grid}.watch-step{background:var(--paper);border:3px solid var(--ink);border-radius:14px;flex-direction:column;gap:6px;min-width:0;min-height:260px;padding:10px;display:flex}.watch-step.neck{border-color:var(--red)}.watch-step h3{flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:1rem;display:flex}.watch-step small{color:var(--muted);font-weight:700}.watch-tools{flex-wrap:wrap;gap:4px;display:flex}.watch-tool{border:3px solid var(--ink);background:var(--card);border-radius:5px;width:18px;height:18px;transition:background .15s}.watch-tool.on{background:var(--green)}.order-stack{flex-wrap:wrap;gap:4px;min-height:26px;display:flex}.order-chip{text-align:center;border:2px solid var(--ink);min-width:28px;color:var(--ink);background:var(--green);border-radius:7px;padding:2px 4px;font-size:.78rem;font-weight:800}.order-chip.warm{background:var(--amber)}.order-chip.hot{background:var(--red);color:#fff}.order-more{color:var(--muted);align-self:center;font-size:.8rem;font-weight:800}.watch-step.done{background:var(--blue-soft)}.watch-count{font-size:2.2rem}.order-chip.held{background:var(--disabled);border-style:dashed}.rope select{font:inherit;border:3px solid var(--ink);background:var(--card);color:var(--ink);border-radius:10px;padding:8px;font-weight:700}.rope table th[scope=row]{text-align:left;white-space:normal}.rope .advice{background:var(--blue-soft);border:3px solid var(--ink);border-radius:12px;margin:12px 0;padding:10px 14px}.rope .advice p{margin:0 0 6px}.whatif .trial{border:3px solid var(--ink);background:var(--blue-soft);border-radius:12px;margin:10px 0;padding:8px 12px}.whatif .trial.ok{border-color:var(--green-deep)}.whatif .trial.warn{border-color:var(--amber-ink)}.whatif .trial.bad{border-color:var(--red)}.whatif select{font:inherit;border:3px solid var(--ink);background:var(--card);color:var(--ink);border-radius:10px;max-width:320px;padding:8px;font-weight:700}.screen.my-factory{max-width:none}.start-here{justify-items:start;gap:.6rem;display:grid}.start-here h2,.start-here p{margin:0}@media (pointer:coarse){input[type=range]{min-height:48px}}
