:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f4f4ef;--ink:#1a242a;--muted:#66747a;--line:#cbd1cf;--accent:#344f5b;--good:#47705e}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--paper);color:var(--ink);margin:0;font-family:ui-monospace,Cascadia Mono,Segoe UI Mono,Consolas,monospace}button,input{font:inherit}button{cursor:pointer}.game-shell{grid-template-columns:minmax(0,1fr);width:min(100% - 40px,1160px);margin:0 auto;padding:42px 0 36px;display:grid}.game-shell>*{min-width:0}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:28px;padding-bottom:27px;display:flex}.eyebrow,.resource-label,.cash-readout span,.meter-copy,.controls p{color:var(--muted);letter-spacing:.12em;margin:0;font-size:.7rem}h1{letter-spacing:-.07em;margin:11px 0 7px;font-size:clamp(1.9rem,5vw,2.65rem);font-weight:500}.subtitle,.garage-intro>div>p:last-child{max-width:620px;color:var(--muted);margin:0;font:.92rem/1.55 system-ui,sans-serif}.connection-status{color:var(--good);letter-spacing:.08em;white-space:nowrap;align-items:center;gap:9px;margin:4px 0 0;font-size:.68rem;display:flex}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 18px;display:flex}.feedback-link{color:var(--accent);white-space:nowrap;text-underline-offset:3px;font-size:.72rem;text-decoration:underline}.feedback-link:hover,.feedback-link:focus-visible{color:var(--ink)}.privacy-page{width:min(100% - 40px,680px);margin:0 auto;padding:48px 0}.privacy-page p:not(.eyebrow){font:.95rem/1.6 system-ui,sans-serif}.privacy-page a{color:var(--accent)}.status-mark{background:currentColor;border-radius:50%;width:7px;height:7px}.garage-intro{justify-content:space-between;align-items:end;gap:24px;padding:34px 0 27px;display:flex}.garage-intro h2{letter-spacing:-.05em;margin:9px 0 7px;font-size:clamp(1.35rem,4vw,1.8rem);font-weight:500}.cash-readout{border:1px solid var(--line);min-width:130px;padding:13px 15px}.cash-readout strong{font-variant-numeric:tabular-nums;margin-top:9px;font-size:1.45rem;font-weight:500;display:block}.readout{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0 23px}.resource-row{flex-wrap:wrap;align-items:end;gap:clamp(28px,8vw,84px);display:flex}.resource-label{margin-bottom:10px}.rate-readout output{color:var(--accent);font-variant-numeric:tabular-nums;font-size:1rem}.next-discovery{border-left:3px solid var(--accent);background:#344f5b0d;grid-column:1/-1;margin:16px 0 0;padding:16px 18px}.next-discovery h2{margin:5px 0;font-size:1rem;font-weight:500}.next-discovery p:last-child{color:var(--muted);margin:0;font:.83rem/1.5 system-ui,sans-serif}.resource-value{letter-spacing:-.08em;font-variant-numeric:tabular-nums;font-size:clamp(2.7rem,9vw,4.5rem);line-height:1;display:block}.secondary-readout output{font-variant-numeric:tabular-nums;font-size:1.25rem;display:block}.workbench,.automation-panel,.api-panel,.cluster-panel,.infrastructure-panel,.training-panel,.energy-panel,.chip-supply-panel,.agents-panel,.recursive-panel,.outcome-discovery,.upgrades,.event-log{border-bottom:1px solid var(--line);padding:27px 0}.section-heading{justify-content:space-between;align-items:end;gap:15px;margin-bottom:20px;display:flex}.section-heading h2{margin:6px 0 0;font-size:1rem;font-weight:500}.section-heading>span{color:var(--muted);font-size:.78rem}.compute-meter{margin:12px 0 21px}.meter-copy{justify-content:space-between;gap:12px;display:flex}.meter-track{background:#dce0dc;height:9px;margin-top:9px;overflow:hidden}.meter-track span{background:var(--accent);height:100%;transition:width .15s linear;display:block}.compute-meter>p,.workload-readout>p,.api-note{color:var(--muted);margin:9px 0 0;font:.78rem/1.5 system-ui,sans-serif}.workload-readout{border:1px solid var(--line);background:#ffffff47;margin:14px 0 18px;padding:13px 14px}.workload-readout .meter-copy{align-items:center}.workload-readout strong{color:var(--ink);font-size:1rem;font-weight:500}.price-nudge{border:1px solid var(--line);color:var(--ink);background:0 0;margin-top:11px;padding:7px 10px;font:.76rem system-ui,sans-serif}.price-nudge:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.run-button{border:1px solid var(--ink);background:var(--ink);width:100%;color:var(--paper);text-align:left;justify-content:space-between;align-items:center;gap:20px;padding:17px 19px;display:flex}.run-button>span:first-child{font-size:1.15rem}.run-button>span:last-child{color:#d2dbd8;font:.8rem system-ui,sans-serif}.run-button:hover:not(:disabled),.run-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.run-button:disabled{cursor:not-allowed;opacity:.45}.automation-intro,.automation-bottleneck,.automation-purchase p{color:var(--muted);margin:0;font:.8rem/1.5 system-ui,sans-serif}.automation-metrics{border-top:1px solid var(--line);border-left:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0;display:grid}.automation-metrics .api-metric{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.automation-bottleneck{border-left:3px solid var(--accent);background:#344f5b0d;padding:10px 12px}.automation-purchase{justify-content:space-between;align-items:center;gap:16px;margin-top:18px;display:flex}.automation-purchase button{border:1px solid var(--line);color:var(--ink);background:0 0;flex:none;padding:11px 14px}.automation-purchase button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.api-project-callout{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:16px 0;display:flex}.api-project-callout h3,.api-project h3{margin:0 0 5px;font-size:.9rem;font-weight:500}.api-project-callout p,.api-project p,.api-project small{color:var(--muted);margin:0;font:.8rem/1.45 system-ui,sans-serif;display:block}.api-project small{color:var(--accent);margin-top:4px}.api-project-callout button,.api-project button,.upgrade-row button,.controls button{border:1px solid var(--line);color:var(--ink);background:0 0;flex:none;padding:9px 12px}.api-project-callout button:hover:not(:disabled),.api-project button:hover:not(:disabled),.upgrade-row button:hover:not(:disabled),.controls button:hover:not(:disabled),button:focus-visible{border-color:var(--accent);color:var(--accent);outline:2px solid #0000}button:disabled{cursor:not-allowed;opacity:.48}.price-control{border-top:1px solid var(--line);padding:15px 0 18px}.price-heading,.price-range{justify-content:space-between;gap:15px;display:flex}.price-heading label,.price-heading output{letter-spacing:.08em;font-size:.75rem}.price-heading output{font-variant-numeric:tabular-nums}.price-control input{width:100%;accent-color:var(--accent);margin:15px 0 7px}.price-range{color:var(--muted);font:.73rem system-ui,sans-serif}.api-metrics{border-top:1px solid var(--line);border-left:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.api-metric{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;padding:13px 14px}.api-metric p{color:var(--muted);letter-spacing:.11em;margin:0 0 7px;font-size:.65rem}.api-metric output{font-variant-numeric:tabular-nums;font-size:1.15rem}.cluster-metrics{border-top:1px solid var(--line);border-left:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.cluster-metrics .api-metric{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.cluster-purchases{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:19px;display:grid}.cluster-purchases>div{flex-direction:column;justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.cluster-purchases p{color:var(--muted);margin:0;font:.8rem/1.45 system-ui,sans-serif}.cluster-purchases button{border:1px solid var(--line);color:var(--ink);background:0 0;padding:9px 12px}.cluster-purchases button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.construction-order{border:1px solid var(--line);margin:0 0 18px;padding:13px 14px}.construction-order>div{justify-content:space-between;gap:16px;font-size:.8rem;display:flex}.construction-order>div span{color:var(--muted);font-variant-numeric:tabular-nums}.construction-order progress{width:100%;height:8px;accent-color:var(--accent);margin-top:11px}.infrastructure-projects{border-top:1px solid var(--line);margin-top:18px}.infrastructure-projects .api-project button{white-space:nowrap}.training-program{margin-top:20px}.training-progress{margin-top:18px}.research-projects,.energy-projects,.chip-supply-projects,.api-projects{border-top:1px solid var(--line);margin-top:20px}.api-project{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:14px 0;display:flex}.api-project.owned,.upgrade-row.owned{background:#47705e0a}.upgrade-list{border-top:1px solid var(--line)}.upgrade-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:15px 0;display:flex}.upgrade-copy h3{margin:0 0 5px;font-size:.9rem;font-weight:500}.upgrade-copy p,.upgrade-copy small{color:var(--muted);margin:0;font:.8rem/1.45 system-ui,sans-serif;display:block}.upgrade-copy small{color:var(--accent);margin-top:4px}.owned-label{color:var(--good);letter-spacing:.08em;margin-left:10px;font-size:.62rem}.event-log ol{gap:0;margin:0;padding:0;list-style:none;display:grid}.event-log li{border-top:1px solid var(--line);grid-template-columns:64px 1fr;gap:12px;padding:9px 0;font:.82rem/1.45 system-ui,sans-serif;display:grid}.event-log time{color:var(--muted);font:.72rem ui-monospace,monospace}.controls{justify-content:space-between;align-items:center;gap:16px;padding-top:18px;display:flex}@media (max-width:600px){.game-shell{width:min(100% - 28px,940px);padding-top:26px}.topbar{flex-direction:column;gap:18px}.garage-intro{flex-direction:column;align-items:flex-start}.cash-readout{width:100%}.run-button,.upgrade-row,.api-project,.api-project-callout,.automation-purchase,.controls{flex-direction:column;align-items:flex-start}.run-button{gap:8px}.api-metrics,.cluster-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cluster-purchases{grid-template-columns:1fr}.api-project button,.api-project-callout button,.upgrade-row button,.automation-purchase button{align-self:stretch}.infrastructure-projects .api-project button{white-space:normal}}.civilization-policies{border-top:1px solid var(--line);margin-top:26px}.civilization-policies>.eyebrow{margin-top:20px}.debug-inspector{border-bottom:1px solid var(--line);color:var(--muted);margin-top:28px;padding:14px 0;font:.78rem/1.5 system-ui,sans-serif}.debug-inspector summary{cursor:pointer;color:var(--ink);font:.72rem ui-monospace,monospace}.debug-inspector h3{color:var(--ink);font-size:.8rem;font-weight:500}.debug-metrics{border:1px solid var(--line);grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:1px;margin:14px 0;display:grid}.debug-metrics div{background:var(--paper);justify-content:space-between;padding:8px;display:flex}.debug-metrics dt{text-transform:capitalize}.debug-metrics dd{color:var(--ink);font-variant-numeric:tabular-nums;margin:0}.debug-history{padding-left:20px}.debug-history li{border-top:1px solid var(--line);padding:9px 0}.debug-history strong,.debug-history span{font-family:ui-monospace,monospace;display:block}.debug-history p{margin:4px 0 0}.agent-task-list{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;margin-top:18px;display:grid}.agent-task{border-bottom:1px solid var(--line);padding:15px 0}.agent-task-heading{color:var(--ink);justify-content:space-between;gap:12px;font:.82rem ui-monospace,monospace;display:flex}.agent-task-heading output{font-variant-numeric:tabular-nums}.agent-task input{width:100%;accent-color:var(--accent);margin:12px 0;display:block}.agent-task p,.agent-task small{color:var(--muted);margin:0;font:.8rem/1.45 system-ui,sans-serif;display:block}.agent-task small{color:var(--accent);margin-top:6px}@media (max-width:600px){.agent-task-list{grid-template-columns:1fr}}.recursive-panel{grid-column:1/-1}.recursive-projects{border-top:1px solid var(--line);margin-top:18px}.recursive-projects .api-project button,.recursive-cycle-start button{white-space:nowrap}.recursive-cycle,.recursive-cycle-start{border:1px solid var(--line);margin-top:20px;padding:16px}.recursive-cycle-start{justify-content:space-between;align-items:center;gap:20px;display:flex}.recursive-cycle-start h3{margin:0 0 5px;font-size:.9rem;font-weight:500}.recursive-cycle-start p{color:var(--muted);margin:0;font:.8rem/1.45 system-ui,sans-serif}.recursive-cycle-start button,.attractor-card button{border:1px solid var(--line);color:var(--ink);background:0 0;flex:none;padding:9px 12px}.transition-shell{align-content:start;min-height:100vh}.transition-panel{border:1px solid var(--line);grid-column:1/-1;width:min(100%,820px);margin:clamp(48px,12vh,120px) auto;padding:clamp(22px,5vw,48px)}.transition-panel h2{letter-spacing:-.06em;margin:12px 0;font-size:clamp(1.5rem,5vw,2.4rem);font-weight:500}.transition-copy{max-width:650px;color:var(--muted);margin:0;font:1rem/1.65 system-ui,sans-serif}.transition-progress{grid-template-columns:repeat(3,1fr);gap:6px;margin:30px 0 24px;display:grid}.transition-progress span{background:var(--line);height:4px}.transition-progress span.complete{background:var(--accent)}.transition-continue{margin-top:8px}.attractor-options{margin-top:28px}.attractor-options>.eyebrow{margin:0 0 10px}.attractor-options>.api-note{margin-bottom:16px}.attractor-card{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:17px 0;display:flex}.attractor-card h3{margin:0 0 6px;font-size:.94rem;font-weight:500}.attractor-card p{max-width:520px;color:var(--muted);margin:0;font:.84rem/1.5 system-ui,sans-serif}.snapshot-status{color:var(--muted);letter-spacing:.04em;margin:26px 0 0;font-size:.7rem}.epilogue-panel,.outcome-panel{border:1px solid var(--line);grid-column:1/-1;width:min(100%,900px);margin:clamp(36px,8vh,84px) auto;padding:clamp(22px,5vw,44px)}.epilogue-panel h2,.outcome-panel h2{letter-spacing:-.06em;margin:12px 0;font-size:clamp(1.5rem,5vw,2.2rem);font-weight:500}.epilogue-metrics{border-top:1px solid var(--line);border-left:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));margin:25px 0;display:grid}.epilogue-actions{border-bottom:1px solid var(--line);margin-top:25px}.outcome-discovery{grid-column:1/-1}.outcome-causes{border-left:2px solid var(--accent);background:#344f5b0a;margin:12px 0;padding:9px 12px}.outcome-causes strong{letter-spacing:.08em;text-transform:uppercase;font:.68rem ui-monospace,monospace}.outcome-causes ul{flex-wrap:wrap;gap:4px 20px;margin:5px 0;padding-left:18px;display:flex}.outcome-causes li,.outcome-causes p{color:var(--muted);margin:3px 0;font:.75rem/1.35 system-ui,sans-serif}.outcome-grid{border-top:1px solid var(--line);border-left:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.outcome-tile{border-right:1px solid var(--line);border-bottom:1px solid var(--line);flex-direction:column;justify-content:center;gap:7px;min-height:74px;padding:12px;display:flex}.outcome-tile span{letter-spacing:.04em;font-size:.72rem}.outcome-tile small{color:var(--good);letter-spacing:.1em;font-size:.62rem}.outcome-tile.undiscovered{color:var(--muted);background:#344f5b08}.run-analysis{border-top:1px solid var(--line);color:var(--muted);margin-top:30px;padding-top:16px;font:.8rem/1.5 system-ui,sans-serif}.run-analysis summary{cursor:pointer;color:var(--ink);font:.72rem ui-monospace,monospace}.run-analysis .debug-history strong,.run-analysis .debug-history span{display:block}.trajectory-debug{padding-left:20px}.trajectory-debug li{border-top:1px solid var(--line);gap:4px;padding:12px 0;display:grid}.trajectory-debug strong,.trajectory-debug span{font:.72rem/1.45 ui-monospace,monospace}.trajectory-debug p{margin:2px 0}@media (max-width:600px){.recursive-cycle-start,.attractor-card{flex-direction:column;align-items:stretch}.recursive-cycle-start button,.attractor-card button{align-self:stretch}.epilogue-metrics{grid-template-columns:1fr}.outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.controls{flex-wrap:wrap;align-items:center}.save-controls-copy{gap:6px;display:grid}.save-control-buttons{flex-wrap:wrap;gap:8px;display:flex}.save-message{flex:1 0 100%;color:var(--accent)!important;letter-spacing:0!important;font:.82rem/1.45 system-ui,sans-serif!important}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.error-shell{max-width:680px;padding-top:min(18vh,140px);display:block}.error-shell h1{max-width:560px;margin:18px 0 12px}.error-shell p[role=alert]{max-width:540px;color:var(--muted);font:1rem/1.6 system-ui,sans-serif}.error-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.error-actions button{border:1px solid var(--line);color:var(--ink);background:0 0;padding:10px 14px}.error-actions button:hover{border-color:var(--accent);color:var(--accent)}@media (max-width:600px){.save-control-buttons{width:100%}.save-control-buttons button{flex:auto}.error-actions{flex-direction:column;align-items:stretch}}@media (min-width:800px){.game-shell{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(18px,2.5vw,30px)}.topbar,.garage-intro,.readout,.next-discovery,.cluster-panel,.infrastructure-panel,.agents-panel,.chip-supply-panel,.recursive-panel,.outcome-discovery,.event-log,.controls,.debug-inspector{grid-column:1/-1}.workbench{grid-column:span 5}.automation-panel{grid-column:span 7}.api-panel{grid-column:1/-1}.training-panel,.energy-panel,.chip-supply-panel,.upgrades{grid-column:span 6}}@media (min-width:1100px){.training-panel,.energy-panel,.chip-supply-panel,.upgrades{grid-column:span 4}.early-upgrades{grid-column:1/-1}}.workspace-nav{border-bottom:1px solid var(--line);flex-wrap:wrap;grid-column:1/-1;gap:5px;margin-top:10px;display:flex}.workspace-nav button{color:var(--muted);background:0 0;border:0;border-bottom:3px solid #0000;padding:9px 13px;font-size:.78rem}.workspace-nav button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--ink)}.workspace-nav button:hover:not(:disabled){color:var(--accent)}.workspace-nav .decision-alert{color:var(--ink);background:#47705e1f}.run-discovery-archive{border-bottom:1px solid var(--line);grid-column:1/-1;padding:8px 0;font-size:.75rem;display:none}.run-discovery-archive summary{cursor:pointer;color:var(--accent)}.game-shell[data-workspace=activity] .run-discovery-archive{display:block}.game-shell[data-workspace]:not([data-workspace=timeline])>.timeline-panel,.game-shell[data-workspace=timeline] :is(.garage-intro,.readout,.next-discovery,.workbench,.automation-panel,.api-panel,.cluster-panel,.infrastructure-panel,.training-panel,.energy-panel,.chip-supply-panel,.agents-panel,.recursive-panel,.upgrades,.event-log,.controls,.debug-inspector){display:none}.timeline-panel{grid-column:1/-1;padding:14px 0}.timeline-panel h3{margin:12px 0 6px;font-size:.9rem}.timeline-summary{gap:3px;margin:8px 0;font-size:.78rem;display:grid}.timeline-world{gap:3px;margin:8px 0;font-size:.76rem;display:grid}.timeline-world summary{cursor:pointer;color:var(--accent)}.timeline-world p{margin:3px 0}.construction-guidance-label{color:var(--accent);letter-spacing:.04em;white-space:nowrap;margin-left:5px;font:.62rem/1.1 monospace}.timeline-records{margin:8px 0;font-size:.76rem}.timeline-records p{margin:4px 0}.timeline-records summary{cursor:pointer;color:var(--accent)}.knowledge-balances{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.knowledge-balances div{border:1px solid var(--line);text-transform:capitalize;justify-content:space-between;gap:5px;padding:7px 9px;font-size:.72rem;display:flex}.knowledge-unlocks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px;display:grid}.knowledge-unlocks article{border:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:8px;min-height:96px;padding:9px;display:flex}.knowledge-unlocks h4{margin:0 0 4px;font-size:.8rem}.knowledge-unlocks p{color:var(--muted);margin:0 0 5px;font-size:.69rem;line-height:1.35}.knowledge-unlocks small{color:var(--accent);font-size:.63rem}.knowledge-unlocks button{flex:none;padding:5px 8px;font-size:.68rem}.timeline-completion{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.timeline-completion p{margin:0;font-size:.78rem}.timeline-completion button{background:var(--accent);color:var(--paper);padding:8px 12px}.timeline-start{margin:8px 0}@media (max-width:700px){.knowledge-balances{grid-template-columns:repeat(2,1fr)}.knowledge-unlocks{grid-template-columns:1fr}.timeline-completion{flex-wrap:wrap}}.run-discovery-archive .outcome-discovery{padding:10px 0}.game-shell[data-workspace]:not([data-workspace=decisions]) .decision-panel,.game-shell[data-workspace=decisions] :is(.workbench,.automation-panel,.api-panel,.cluster-panel,.infrastructure-panel,.training-panel,.energy-panel,.chip-supply-panel,.agents-panel,.recursive-panel,.upgrades,.event-log,.controls,.debug-inspector){display:none}.decision-panel{grid-column:1/-1;padding:14px 0}.decision-prompt{max-width:750px;color:var(--muted);margin:0 0 14px;font:.85rem/1.45 system-ui,sans-serif}.decision-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.decision-option{border:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:14px;min-height:122px;padding:14px;display:flex}.decision-option h3{margin:0 0 6px;font-size:.9rem;font-weight:500}.decision-option p,.decision-history li span{color:var(--muted);margin:0;font:.78rem/1.4 system-ui,sans-serif}.decision-option button{border:1px solid var(--accent);background:var(--accent);color:var(--paper);padding:8px 12px}.decision-history{margin-top:16px;font-size:.75rem}.decision-history summary{cursor:pointer;color:var(--accent)}.decision-history ol{max-height:40vh;padding-left:20px;overflow:auto}.decision-history li{border-bottom:1px solid var(--line);padding:8px 0}.decision-history li strong,.decision-history li span{display:block}@media (max-width:700px){.decision-options{grid-template-columns:1fr}}.detail-nav{border-bottom:1px solid var(--line);flex-wrap:wrap;grid-column:1/-1;gap:5px;display:flex}.detail-nav button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:6px 12px;font-size:.74rem}.detail-nav button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--ink)}.detail-nav button:hover{color:var(--accent)}.game-shell[data-workspace=operate] :is(.cluster-panel,.infrastructure-panel,.training-panel,.energy-panel,.chip-supply-panel,.agents-panel,.recursive-panel,.event-log,.controls,.debug-inspector),.game-shell[data-workspace=build] :is(.workbench,.automation-panel,.api-panel,.training-panel,.agents-panel,.recursive-panel,.upgrades,.event-log,.controls,.debug-inspector),.game-shell[data-workspace=develop] :is(.workbench,.automation-panel,.api-panel,.cluster-panel,.infrastructure-panel,.energy-panel,.chip-supply-panel,.upgrades,.event-log,.controls,.debug-inspector),.game-shell[data-workspace=activity] :is(.workbench,.automation-panel,.api-panel,.cluster-panel,.infrastructure-panel,.training-panel,.energy-panel,.chip-supply-panel,.agents-panel,.recursive-panel,.upgrades),.game-shell[data-workspace=build][data-build-focus=cluster] :is(.infrastructure-panel,.energy-panel,.chip-supply-panel),.game-shell[data-workspace=build][data-build-focus=construction] :is(.cluster-panel,.energy-panel,.chip-supply-panel),.game-shell[data-workspace=build][data-build-focus=power] :is(.cluster-panel,.infrastructure-panel,.chip-supply-panel),.game-shell[data-workspace=build][data-build-focus=supply] :is(.cluster-panel,.infrastructure-panel,.energy-panel),.game-shell[data-workspace=develop][data-develop-focus=training] :is(.agents-panel,.recursive-panel),.game-shell[data-workspace=develop][data-develop-focus=agents] :is(.training-panel,.recursive-panel),.game-shell[data-workspace=develop][data-develop-focus=recursive] :is(.training-panel,.agents-panel){display:none}.api-projects summary{cursor:pointer;color:var(--accent);padding:9px 0;font-size:.78rem}@media (min-width:900px){.game-shell[data-workspace] .api-projects[open]{max-height:min(30dvh,220px);overflow-y:auto}.game-shell[data-workspace] .api-projects[open] summary{z-index:1;background:var(--paper);position:sticky;top:0}.game-shell[data-workspace] .api-projects .api-project{gap:8px;padding:6px 0}.game-shell[data-workspace] .api-projects .api-project h3{margin-bottom:2px;font-size:.78rem}.game-shell[data-workspace] .api-projects .api-project p,.game-shell[data-workspace] .api-projects .api-project small{font-size:.68rem;line-height:1.25}.game-shell[data-workspace] .api-projects .api-project button{padding:6px 8px;font-size:.72rem}}.research-archive{margin-top:8px;font-size:.74rem}.research-archive summary{cursor:pointer;color:var(--muted)}.civilization-policies{margin-top:9px}.civilization-policies summary{cursor:pointer;color:var(--accent);font-size:.76rem}.older-events{margin-top:8px}.older-events summary{cursor:pointer;color:var(--accent);font-size:.76rem}@media (min-width:900px){.game-shell[data-workspace]{align-content:start;column-gap:16px;width:min(100% - 28px,1600px);padding:10px 0 20px}.game-shell[data-workspace] .topbar{align-items:center;padding-bottom:7px}.game-shell[data-workspace] .topbar h1{margin:1px 0;font-size:1.35rem}.game-shell[data-workspace] .topbar .subtitle{display:none}.game-shell[data-workspace] .garage-intro{align-items:center;padding:8px 0}.game-shell[data-workspace] .garage-intro h2{margin:2px 0;font-size:1.15rem}.game-shell[data-workspace] .garage-intro>div>p:last-child{font-size:.75rem;line-height:1.25}.game-shell[data-workspace] .cash-readout{text-align:right;border:0;min-width:105px;padding:0}.game-shell[data-workspace] .cash-readout strong{margin-top:2px;font-size:1.25rem}.game-shell[data-workspace] .readout{padding:8px 0}.game-shell[data-workspace] .resource-row{grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:8px;display:grid}.game-shell[data-workspace] .resource-label{letter-spacing:.06em;margin-bottom:3px;font-size:.6rem}.game-shell[data-workspace] .resource-value{font-size:2rem}.game-shell[data-workspace] .secondary-readout output{font-size:1rem}.game-shell[data-workspace] .next-discovery{margin-top:7px;padding:7px 12px}.game-shell[data-workspace] .next-discovery h2{margin-right:10px;font-size:.85rem;display:inline}.game-shell[data-workspace] .next-discovery p:last-child{font-size:.75rem;display:inline}.game-shell[data-workspace] .workspace-nav{margin-top:7px}.game-shell[data-workspace] .workspace-nav button{padding:6px 12px}.game-shell[data-workspace] :is(.workbench,.automation-panel,.api-panel,.cluster-panel,.infrastructure-panel,.training-panel,.energy-panel,.chip-supply-panel,.agents-panel,.recursive-panel,.upgrades,.event-log){padding:12px 0}.game-shell[data-workspace] .section-heading{margin-bottom:9px}.game-shell[data-workspace] .section-heading h2{margin-top:2px;font-size:.9rem}.game-shell[data-workspace=operate] :is(.workbench,.automation-panel,.api-panel){grid-column:span 4}.game-shell[data-workspace=operate] .early-upgrades,.game-shell[data-workspace=build] :is(.cluster-panel,.infrastructure-panel,.energy-panel,.chip-supply-panel),.game-shell[data-workspace=develop] :is(.training-panel,.agents-panel,.recursive-panel){grid-column:1/-1}.game-shell[data-workspace] :is(.infrastructure-projects,.energy-projects,.chip-supply-projects,.research-projects,.agent-task-list,.recursive-projects){grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;display:grid}.game-shell[data-workspace] :is(.infrastructure-projects,.energy-projects,.chip-supply-projects,.research-projects,.recursive-projects) .api-project{padding:8px 0}.game-shell[data-workspace] .energy-projects .api-project p{display:none}.game-shell[data-workspace] .energy-projects .api-project small{font-size:.68rem;line-height:1.25}.game-shell[data-workspace] .agent-task{padding:4px 0}.game-shell[data-workspace] .agent-task p,.game-shell[data-workspace] .recursive-cycle .api-note{display:none}.game-shell[data-workspace] .compute-meter{margin:7px 0 10px}.game-shell[data-workspace] .compute-meter>p{display:none}.game-shell[data-workspace] .workload-readout{margin:8px 0;padding:8px}.game-shell[data-workspace] .workload-readout>p{font-size:.7rem;line-height:1.3}.game-shell[data-workspace] .run-button{gap:8px;padding:10px}.game-shell[data-workspace] .run-button>span:first-child{font-size:.9rem}.game-shell[data-workspace] .run-button>span:last-child{font-size:.69rem}.game-shell[data-workspace] .automation-intro{display:none}.game-shell[data-workspace] .automation-metrics{margin:8px 0}.game-shell[data-workspace] .api-metric{padding:7px 8px}.game-shell[data-workspace] .api-metric p{margin-bottom:3px;font-size:.57rem}.game-shell[data-workspace] .api-metric output{font-size:.88rem}.game-shell[data-workspace] .automation-bottleneck{padding:6px 8px;font-size:.7rem;line-height:1.25}.game-shell[data-workspace] .automation-purchase{gap:8px;margin-top:8px}.game-shell[data-workspace] .automation-purchase p{font-size:.7rem;line-height:1.25}.game-shell[data-workspace] .automation-purchase button{padding:8px;font-size:.75rem}.game-shell[data-workspace] .price-control{padding:8px 0}.game-shell[data-workspace] .price-control input{margin:7px 0 2px}.game-shell[data-workspace] .price-range{font-size:.62rem}.game-shell[data-workspace] .api-note{margin-top:6px;font-size:.69rem;line-height:1.3}.game-shell[data-workspace] .api-projects{margin-top:8px}.game-shell[data-workspace] .upgrade-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.game-shell[data-workspace] .upgrade-row{gap:10px;padding:7px 0}.game-shell[data-workspace] .upgrade-copy p{display:none}.game-shell[data-workspace] .upgrade-copy small{font-size:.69rem;line-height:1.25}}@media (max-width:899px){.game-shell[data-workspace]{width:min(100% - 20px,800px);padding-top:8px}.game-shell[data-workspace] .topbar{flex-direction:row;align-items:center;gap:8px;padding-bottom:7px}.game-shell[data-workspace] .topbar h1{margin:2px 0;font-size:1.3rem}.game-shell[data-workspace] .topbar .subtitle{display:none}.game-shell[data-workspace] .connection-status{font-size:.58rem}.game-shell[data-workspace] .garage-intro{flex-direction:row;align-items:center;gap:8px;padding:8px 0}.game-shell[data-workspace] .garage-intro h2{margin:2px 0;font-size:1rem}.game-shell[data-workspace] .garage-intro>div>p:last-child{display:none}.game-shell[data-workspace] .cash-readout{text-align:right;border:0;width:auto;min-width:95px;padding:0}.game-shell[data-workspace] .cash-readout strong{margin-top:2px;font-size:1.1rem}.game-shell[data-workspace] .readout{padding:8px 0}.game-shell[data-workspace] .resource-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:8px;display:grid}.game-shell[data-workspace] .resource-label{letter-spacing:.03em;margin-bottom:3px;font-size:.54rem}.game-shell[data-workspace] .resource-value{font-size:1.65rem}.game-shell[data-workspace] .secondary-readout output{font-size:.87rem}.game-shell[data-workspace] .next-discovery{margin-top:7px;padding:7px 10px}.game-shell[data-workspace] .next-discovery h2{margin:2px 0;font-size:.83rem}.game-shell[data-workspace] .next-discovery p:last-child{font-size:.72rem;line-height:1.25}.game-shell[data-workspace] .workspace-nav{margin-top:7px}.game-shell[data-workspace] .workspace-nav button{padding:7px 9px;font-size:.72rem}.game-shell[data-workspace] :is(.workbench,.automation-panel,.api-panel,.cluster-panel,.infrastructure-panel,.training-panel,.energy-panel,.chip-supply-panel,.agents-panel,.recursive-panel,.upgrades,.event-log){padding:12px 0}.game-shell[data-workspace] .section-heading{margin-bottom:9px}.game-shell[data-workspace] .section-heading h2{margin-top:2px;font-size:.9rem}.game-shell[data-workspace] .api-metric{padding:7px}.game-shell[data-workspace] .api-metric p{margin-bottom:3px;font-size:.57rem}.game-shell[data-workspace] .api-metric output{font-size:.88rem}.game-shell[data-workspace] .cluster-purchases{gap:7px;padding-top:9px}.game-shell[data-workspace] .cluster-purchases>div{gap:0}.game-shell[data-workspace] .cluster-purchases p{display:none}.game-shell[data-workspace] .cluster-purchases button{padding:7px 9px;font-size:.75rem}.game-shell[data-workspace] .api-note{margin-top:6px;font-size:.7rem;line-height:1.3}.game-shell[data-workspace] .upgrade-copy p{display:none}}.away-report-backdrop{z-index:100;background:#141e23ad;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.away-report{background:#f5f3ed;border:1px solid #1c3139;width:min(100%,520px);max-height:calc(100dvh - 32px);padding:22px;overflow:auto;box-shadow:0 18px 50px #00000047}.away-report h2{margin:6px 0;font-size:1.55rem}.away-report-lede{margin:4px 0 14px}.away-report-metrics{border-top:1px solid #c5cbcc;border-left:1px solid #c5cbcc;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.away-report-metrics div{border-bottom:1px solid #c5cbcc;border-right:1px solid #c5cbcc;flex-direction:column;gap:3px;padding:8px 10px;display:flex}.away-report-metrics span{color:#56666d;font-size:.72rem}.away-report-metrics strong{font-size:1rem}.away-report-detail{margin:10px 0 0;font-size:.84rem}.away-report-decision{background:#f7e8d7;border-left:3px solid #b46838;margin:12px 0;padding:9px 11px}.away-report-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:15px;display:flex}.away-report-actions button{min-height:36px;padding:6px 12px}@media (min-width:900px) and (max-height:800px){.game-shell[data-workspace]{padding:6px 0 8px}.game-shell[data-workspace] .topbar{padding-bottom:4px}.game-shell[data-workspace] .topbar h1{font-size:1.2rem}.game-shell[data-workspace] .garage-intro{padding:5px 0}.game-shell[data-workspace] .garage-intro h2{font-size:1rem}.game-shell[data-workspace] .garage-intro>div>p:last-child{font-size:.7rem}.game-shell[data-workspace] .readout{padding:5px 0}.game-shell[data-workspace] .resource-value{font-size:1.65rem}.game-shell[data-workspace] .secondary-readout output{font-size:.85rem}.game-shell[data-workspace] .next-discovery{margin-top:4px;padding:5px 9px}.game-shell[data-workspace] .next-discovery .eyebrow{margin-right:8px;display:inline}.game-shell[data-workspace] .next-discovery h2{font-size:.78rem}.game-shell[data-workspace] .next-discovery p:last-child{font-size:.68rem}.game-shell[data-workspace] .workspace-nav{margin-top:3px}.game-shell[data-workspace] .workspace-nav button,.game-shell[data-workspace] .detail-nav button{padding:4px 10px}.game-shell[data-workspace] :is(.workbench,.automation-panel,.api-panel,.cluster-panel,.infrastructure-panel,.training-panel,.energy-panel,.chip-supply-panel,.agents-panel,.recursive-panel,.upgrades,.event-log){padding:7px 0}.game-shell[data-workspace] .section-heading{margin-bottom:6px}.game-shell[data-workspace] .workload-readout{margin:6px 0;padding:6px 8px}.game-shell[data-workspace] .workload-readout>p{margin-top:5px}.game-shell[data-workspace] .automation-metrics{margin:5px 0}.game-shell[data-workspace] .automation-purchase{margin-top:5px}.game-shell[data-workspace] .price-control{padding:5px 0}.game-shell[data-workspace] .price-control input{margin:4px 0 0}.game-shell[data-workspace] .api-metric{padding:5px 7px}.game-shell[data-workspace] .upgrade-row{padding:4px 0}.game-shell[data-workspace] .upgrade-copy small{margin-top:2px}.game-shell[data-workspace=build][data-build-focus=construction] .construction-order{margin-bottom:8px;padding:8px 10px}.game-shell[data-workspace=build][data-build-focus=construction] .infrastructure-projects{margin-top:9px}.game-shell[data-workspace=build][data-build-focus=construction] .infrastructure-projects .api-project{gap:10px;padding:4px 0}.game-shell[data-workspace=build][data-build-focus=construction] .infrastructure-projects .api-project p{font-size:.7rem;line-height:1.25}.game-shell[data-workspace=build][data-build-focus=construction] .infrastructure-projects .api-project small{margin-top:2px;font-size:.64rem}.game-shell[data-workspace=build][data-build-focus=construction] .training-program{margin-top:8px;padding:8px 0}.transition-shell{width:min(100% - 28px,1200px);min-height:100dvh;padding:8px 0}.transition-shell .topbar{align-items:center;padding-bottom:8px}.transition-shell .topbar h1{margin:3px 0;font-size:1.5rem}.transition-shell .topbar .subtitle{font-size:.75rem}.transition-panel,.epilogue-panel,.outcome-panel{margin:12px auto;padding:18px 24px}.outcome-panel{margin:8px auto;padding:12px 20px}.outcome-panel .outcome-causes{margin:6px 0;padding:5px 10px}.outcome-panel .outcome-causes ul{margin:3px 0}.transition-panel h2,.epilogue-panel h2,.outcome-panel h2{margin:6px 0;font-size:1.65rem}.transition-copy{font-size:.85rem;line-height:1.4}.transition-progress{margin:14px 0}.transition-panel .run-button{padding:10px 12px}.snapshot-status{margin-top:12px}.transition-shell .debug-inspector{margin-top:5px;padding:5px 0}.transition-shell .controls{padding-top:8px}.outcome-panel .outcome-discovery{padding:4px 0}.outcome-panel .section-heading{margin-bottom:8px}.outcome-panel .section-heading h2{margin-top:2px;font-size:1rem}.outcome-panel .outcome-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.outcome-panel .outcome-tile{gap:2px;min-height:42px;padding:4px 8px}.outcome-panel .snapshot-status{margin-top:6px}.outcome-panel .run-analysis{margin-top:5px;padding-top:5px}}
