@import"https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=VT323&display=swap";:root{font-family:Share Tech Mono,Courier New,monospace;color:#d4d0b8;background:#121514;font-synthesis:none;text-rendering:optimizeLegibility;--steel: #222722;--steel-light: #343a31;--olive: #2b3228;--amber: #ffb000;--amber-dim: #a86f08;--phosphor: #70c878;--red: #ff2200;--orange: #ff6600;--paper: #ddd9c9;--muted: #858779;--screen: #1a0f00}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;background:radial-gradient(ellipse at 50% 0%,#293028 0,#171b18 40%,#0d100f)}button{color:inherit;font:inherit}button:focus-visible{outline:2px solid var(--amber);outline-offset:3px}#app{min-height:100vh;padding:clamp(12px,3vw,38px)}.crt-overlay{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.13;background:repeating-linear-gradient(to bottom,transparent 0 2px,rgba(0,0,0,.42) 3px 4px);box-shadow:inset 0 0 120px 25px #0000009e}.console-shell{position:relative;max-width:1440px;min-height:calc(100vh - clamp(24px,6vw,76px));margin:0 auto;overflow:hidden;padding:clamp(17px,3vw,34px);border:1px solid #4a4b3d;background:linear-gradient(135deg,#2b3228fa,#191d1afa 48%,#232720fa);box-shadow:0 18px 65px #0009,inset 0 0 0 7px #171a17,inset 0 0 0 8px #505044}.console-shell:before{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;content:"";background:radial-gradient(ellipse at center,transparent 55%,rgba(0,0,0,.38))}.top-bar,.dashboard,.status-strip,.console-footer{position:relative}.top-bar{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 0 22px;border-bottom:1px solid #5c5b45}.eyebrow,.brand-subtitle,.panel-index,.sector-code{margin:0;color:#aaa78c;font-size:.72rem;letter-spacing:.17em}h1{margin:1px 0 -8px;color:var(--amber);font:4.1rem/.95 VT323,monospace;letter-spacing:.06em;text-shadow:0 0 10px #ffb00085,0 0 28px #ffb0003d}h1 span{color:#f4d184}.brand-subtitle{margin-top:9px;color:var(--amber-dim)}.top-readouts{display:flex;align-items:stretch;gap:10px}.readout{display:grid;min-width:105px;padding:9px 13px;border:1px solid #4d4e3c;background:#111613;box-shadow:inset 0 0 17px #0009}.readout span{color:var(--muted);font-size:.65rem;letter-spacing:.13em}.readout strong{color:var(--amber);font:1.8rem/1.1 VT323,monospace;text-shadow:0 0 8px #ffb00077}.readout small{margin-left:35px;color:#888;font-size:.65rem}.time-readout small{margin-left:0;color:#8f927f;font-size:.55rem;letter-spacing:.1em}.time-readout.is-paused{border-color:#9b4b30;background:#211510}.time-readout.is-paused strong,.time-readout.is-paused small{color:#ff805c}.readout .phase-label{font-size:1.18rem;align-self:center}.sound-toggle{align-self:center;padding:9px 11px;border:1px solid #64634d;background:#22251e;color:var(--paper);cursor:pointer;font-size:.75rem}.sound-toggle:hover{color:var(--amber);border-color:var(--amber)}.utility-button{align-self:center;padding:9px 10px;border:1px solid #515847;background:#1b211b;color:#bdc49f;cursor:pointer;font-size:.7rem;letter-spacing:.05em}.utility-button:hover{border-color:var(--phosphor);color:var(--phosphor)}.status-strip{display:flex;align-items:center;min-height:38px;gap:10px;padding:8px 12px;margin:15px 0 20px;border:1px solid #57452d;background:#17140e;color:#e9be62;font-size:.81rem;letter-spacing:.06em;box-shadow:0 0 12px #ffb0000c}.tutorial-guide{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 16px;margin:-7px 0 20px;border:1px solid #9a762a;background:linear-gradient(100deg,#292417,#171b17);box-shadow:0 0 18px #ffb00015}.tutorial-guide[hidden]{display:none}.tutorial-guide [hidden]{display:none!important}.tutorial-round-active .tutorial-guide{position:sticky;z-index:25;top:max(12px,env(safe-area-inset-top));width:100%;margin:-7px 0 20px;border-color:#ffca4b;background:linear-gradient(110deg,#3b2e16,#20251d 72%);box-shadow:0 0 0 2px #ffb00055,0 8px 36px #000e,0 0 30px #ffb00044}.tutorial-round-active .tutorial-guide[hidden]{display:none}.tutorial-round-paused .tutorial-guide{position:fixed;top:max(10px,env(safe-area-inset-top));left:50%;width:min(710px,calc(100vw - 24px));margin:0;transform:translate(-50%)}.tutorial-guide h2{margin:4px 0;color:var(--amber);font-size:1rem}.tutorial-guide p{margin:0;color:#c3c1ae;font-size:.76rem;line-height:1.5}.tutorial-guide-actions{display:flex;flex-wrap:wrap;justify-content:end;gap:8px}.tutorial-guide .action-button{width:auto;margin:0;white-space:nowrap}.tutorial-round-active .tutorial-focus{position:relative;z-index:16;outline:3px solid #ffcc4d!important;outline-offset:4px;box-shadow:0 0 0 7px #ffb00045,0 0 24px 8px #ffb000aa!important;animation:tutorial-focus-pulse 1.25s ease-in-out infinite alternate}.tutorial-round-active .sector-card.tutorial-focus{border-color:#ffd15c}@keyframes tutorial-focus-pulse{0%{filter:brightness(1.08)}to{filter:brightness(1.55)}}.status-lamp,.live-indicator i,.power-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--amber);box-shadow:0 0 8px var(--amber)}.status-label{color:var(--amber)}.dashboard{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,.75fr);align-items:start;gap:22px}.sectors-panel,.panel{border:1px solid #515344;background:#0f1310c7;box-shadow:inset 0 0 25px #0007}.section-heading{display:flex;align-items:end;justify-content:space-between;padding:0 0 11px}h2{margin:3px 0 0;color:#e7e0c4;font:1.75rem/1 VT323,monospace;letter-spacing:.05em}.live-indicator{display:flex;align-items:center;gap:8px;color:var(--phosphor);font-size:.7rem}.live-indicator i{width:6px;height:6px;background:var(--phosphor);box-shadow:0 0 8px var(--phosphor)}.sector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pinned-directive{position:sticky;z-index:2;top:0;display:grid;gap:5px;padding:11px 14px;margin-bottom:13px;border:1px solid #b38a35;background:linear-gradient(100deg,#4b3c1c,#302a19);color:#f2d47d;box-shadow:0 5px 14px #0008,inset 0 0 14px #ffb00013}.pinned-directive[hidden]{display:none}.pinned-directive strong{font-size:.84rem;letter-spacing:.07em}.pinned-directive p{margin:0;color:#d4c799;font-size:.71rem;line-height:1.45}.directive-bonus{color:#a4d28a;font-size:.62rem;letter-spacing:.07em}.directive-pin{color:#ffbf38;font-size:.6rem;letter-spacing:.15em}.directive-violation .pinned-directive{border-color:var(--red);color:#ff8a68;box-shadow:0 0 20px #f206,inset 0 0 16px #f202}.directive-violation .directive-pin{color:tomato}.directive-violation .status-strip{border-color:var(--red);background:#29130f;color:#ff896e;box-shadow:0 0 17px #f204}.directive-violation .status-label{color:tomato}.sector-card{position:relative;padding:14px;overflow:hidden;border:1px solid #4a4b3e;background:linear-gradient(140deg,#252a23,#171b18);transition:border-color .2s,box-shadow .2s}.sector-card:before{position:absolute;inset:0 auto 0 0;width:3px;content:"";background:#525b44}.sector-card:hover{border-color:#8f7d4d;box-shadow:0 0 14px #ffb00016}.sector-card.resource-target{border-color:#9b782b;cursor:pointer}.sector-card.resource-target:hover{border-color:var(--amber);box-shadow:0 0 18px #ffb00044}.sector-card.isolated{border-color:#a53622;background:linear-gradient(140deg,#34231e,#1b1816)}.sector-card.isolated:before{background:var(--red);box-shadow:0 0 12px var(--red)}.sector-card-header{display:flex;align-items:start;justify-content:space-between;gap:8px;min-height:45px}.sector-code{color:#797b6c;font-size:.61rem}.sector-card h3{margin:3px 0 0;color:#e0dbc8;font-size:.82rem;font-weight:400}.threat-badge{max-width:105px;padding:4px 6px;border:1px solid #72402b;color:var(--orange);font-size:.6rem;text-align:center;letter-spacing:.04em}.threat-badge.clear{border-color:#3b5940;color:var(--phosphor)}.threat-badge.cold{border-color:#55737b;color:#a5d7df}.threat-badge.riot,.threat-badge.fire{border-color:#a83d22;color:#ff603c}.sector-readings{display:grid;gap:8px;margin:15px 0 13px}.reading-label{display:flex;justify-content:space-between;margin-bottom:4px;color:#999989;font-size:.65rem;letter-spacing:.08em}.reading-label strong{color:var(--paper);font-weight:400}.reading-track,.meter{height:6px;overflow:hidden;background:#0a0d0b;box-shadow:inset 0 1px 3px #000}.reading-track span,.meter span{display:block;height:100%;transition:width .4s ease}.reading-track .supply{background:var(--amber);box-shadow:0 0 8px #ffb000aa}.reading-track .loyalty{background:#76a873;box-shadow:0 0 8px #76a87388}.reading-track .production{background:#9eabbb;box-shadow:0 0 8px #aab9d088}.reading-track .fatigue{background:#77a99a;box-shadow:0 0 8px #77a99a88}.critical-reading .reading-label,.critical-reading .reading-label strong{color:#ff6444}.critical-reading .reading-track span{background:var(--red);box-shadow:0 0 8px var(--red)}.sector-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;border-top:1px solid #373b33;padding-top:8px}.assigned-resources{display:flex;flex-wrap:wrap;gap:4px;min-height:24px;align-items:center}.empty-allocation{color:#62665c;font-size:.59rem}.assigned-token{padding:3px 5px;border:1px solid #62552f;background:#2c2719;color:#e3bd61;font-size:.56rem;cursor:pointer}.assigned-token:hover{border-color:var(--red);color:#ff8770}.assigned-token b{color:var(--red)}.isolation-switch{display:flex;align-items:center;gap:5px;padding:5px 6px;border:1px solid #783626;background:#241713;color:#e87859;font-size:.56rem;white-space:nowrap;cursor:pointer}.isolation-switch:disabled{opacity:.48;cursor:not-allowed}.isolation-switch.active{color:#ff4b2f;background:#401c15;box-shadow:0 0 9px #f203}.switch-light{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 7px currentColor}.control-column{display:grid;gap:13px}.panel{padding:14px}.panel-heading{margin-bottom:10px}.panel-heading h2{font-size:1.5rem}.panel-hint{margin:7px 0 0;color:#8f9184;font-size:.67rem;line-height:1.5}.resource-list{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.resource-token{display:grid;justify-items:center;gap:2px;min-height:91px;padding:7px 3px;border:1px solid #6b5c35;background:radial-gradient(ellipse at top,#382e18,#1a1b15 70%);color:var(--amber);cursor:pointer}.resource-token:hover:not(:disabled){border-color:var(--amber);box-shadow:0 0 12px #ffb00038;transform:translateY(-1px)}.resource-token.selected{border-color:var(--amber);background:radial-gradient(ellipse at top,#59441b,#262416 70%);box-shadow:0 0 13px #ffb00055}.resource-token:disabled{opacity:.48;cursor:not-allowed}.resource-symbol{font-size:1.1rem;text-shadow:0 0 8px #ffb00088}.resource-name{font-size:.57rem}.resource-description{color:#aaa38a;font-size:.47rem;line-height:1.25;text-align:center}.resource-token strong{font:1.2rem VT323,monospace}.quota-value{margin:10px 0 8px;color:var(--amber);font:2rem VT323,monospace;text-shadow:0 0 8px #ffb00055}.quota-rate{min-height:1.2em;margin:7px 0 3px;color:#aaa78c;font-size:.58rem;letter-spacing:.045em}.quota-rate.rate-sufficient{color:var(--phosphor)}.quota-rate.rate-insufficient{color:#ff8865}.quota-forecast{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;padding:8px 9px;margin-top:9px;border:1px solid #5b5134;background:#19180f}.quota-forecast[hidden]{display:none}.quota-forecast>span{grid-column:1 / -1;color:#a69a72;font-size:.53rem;letter-spacing:.07em}.quota-forecast strong{color:var(--amber);font:1.25rem VT323,monospace}.quota-forecast small{color:#c4a563;font-size:.51rem;text-align:right}.quota-forecast.forecast-met{border-color:#3f6744;background:#101a12}.quota-forecast.forecast-met strong,.quota-forecast.forecast-met small{color:var(--phosphor)}.quota-forecast.forecast-missed{border-color:#75432e;background:#21150f}.quota-forecast.forecast-missed strong,.quota-forecast.forecast-missed small{color:#ff8865}.overtime-button{width:100%;padding:8px 9px;margin-top:8px;border:1px solid #8d6030;background:linear-gradient(100deg,#382719,#241b14);color:#e7b86a;cursor:pointer;font-size:.62rem;letter-spacing:.045em}.overtime-button:hover:not(:disabled){border-color:var(--orange);color:#ffb16c;box-shadow:0 0 12px #f602}.overtime-button:disabled{opacity:.46;cursor:not-allowed}.meter{height:9px;border:1px solid #3d4036}.meter span{background:var(--amber);box-shadow:0 0 10px #ffb00088}.meter-caption{display:flex;justify-content:space-between;margin-top:5px;color:#77796c;font-size:.6rem}.trust-value{margin:10px 0 7px;color:#d9ad72;font:1.8rem VT323,monospace}.danger-meter span{background:var(--red);box-shadow:0 0 9px #f20a}.order-panel{position:relative;border-color:#665c3d;background:#211d13}.stamp{display:inline-block;padding:3px 7px;transform:rotate(-2deg);border:2px solid #a24a30;color:#c76143;font-size:.62rem;letter-spacing:.15em}.order-panel p{margin:14px 0 7px;color:#c2b99e;font:1.12rem/1.25 VT323,monospace}.signature{display:block;color:#83785e;font-size:.68rem;text-align:right}.console-footer{display:flex;justify-content:space-between;margin-top:18px;padding-top:10px;border-top:1px solid #4a4d3e;color:#787b6e;font-size:.61rem;letter-spacing:.1em}.footer-divider{display:inline-block;height:10px;margin:0 5px;border-left:1px solid #5e6255;vertical-align:middle}.console-footer>span:first-child{display:flex;align-items:center;gap:7px}.power-dot{width:5px;height:5px;background:var(--phosphor);box-shadow:0 0 6px var(--phosphor)}.modal-layer{position:fixed;z-index:15;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;overflow-y:auto;padding:20px;background:#050706c2;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-layer[hidden]{display:none}.handbook-launcher{position:absolute;z-index:2;right:max(20px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));padding:10px 14px;border:1px solid #aa7518;background:#302615;color:var(--amber);cursor:pointer;font-size:.7rem;letter-spacing:.1em;box-shadow:0 0 16px #000b,0 0 12px #ffb00024}.handbook-launcher:hover{border-color:var(--amber);background:#49371a}.dialog{width:min(520px,100%);padding:clamp(22px,5vw,36px);border:1px solid #827044;background:linear-gradient(145deg,#25281f,#101411);box-shadow:0 0 0 7px #171a16,0 0 55px #000,0 0 28px #ffb00017}.dialog h2{margin:9px 0 17px;color:var(--amber);font-size:2.1rem;text-shadow:0 0 10px #ffb00055}.dialog p{color:#c3c1ae;font-size:.87rem;line-height:1.7}.dialog p strong{color:var(--amber)}.memo-warning{padding:9px;border-left:2px solid var(--orange);background:#351d12;color:#ff9b62!important;font-size:.74rem!important}.action-button{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:22px;padding:13px 15px;border:1px solid #aa7518;background:#392d16;color:var(--amber);cursor:pointer;letter-spacing:.1em;box-shadow:0 0 14px #ffb00016}.action-button:hover{background:#51401e;box-shadow:0 0 18px #ffb00036}.action-button b{font-size:1.1rem}.event-dialog{border-color:#aa6028}.event-dialog.critical{border-color:var(--red);box-shadow:0 0 0 7px #171a16,0 0 55px #000,0 0 28px #ff220027}.event-dialog.critical h2{color:#ff6846}.event-options{display:grid;gap:9px;margin-top:20px}.action-button.secondary{display:block;margin:0;text-align:left}.action-button.secondary span{display:block}.action-button.secondary small{display:block;margin-top:6px;color:#a7a28c;font-size:.68rem;line-height:1.4;letter-spacing:0}.action-button.secondary.choice-locked{border-color:#4a493c;background:#1a1c18;color:#77796d;cursor:not-allowed;box-shadow:none}.action-button.secondary.choice-locked small{color:#77796d}.action-button.secondary.choice-locked .choice-requirement{color:#d08153}.tutorial-dialog{width:min(560px,100%)}.tutorial-dialog h2{max-width:420px;line-height:1.1}.tutorial-progress{display:flex;gap:8px;margin:24px 0 8px}.tutorial-progress i{width:22px;height:4px;background:#45493d}.tutorial-progress i.current{background:var(--amber);box-shadow:0 0 7px #ffb00066}.tutorial-actions{display:grid;grid-template-columns:.75fr 1.5fr;gap:10px}.tutorial-actions .action-button{margin-top:10px}.tutorial-actions .action-button.secondary{display:flex;align-items:center;justify-content:center;border-color:#54594a;background:#20251f;color:#a9ad9b}.story-dialog{max-height:calc(100vh - 40px);overflow-y:auto;border-color:#9a6234}.story-dialog h2{color:#e4c27c}.preparation-dialog{display:grid;gap:13px;width:min(760px,100%);max-height:calc(100vh - 40px);overflow-y:auto}.newspaper-sheet,.directive-sheet,.memo-sheet{position:relative;padding:17px 19px;color:#29261e;box-shadow:2px 4px 12px #0008}.newspaper-sheet{border:1px solid #b6a77d;background:repeating-linear-gradient(0deg,#e7dfc8 0,#e7dfc8 25px,#e0d7bf 25px,#e0d7bf 26px)}.newspaper-sheet h2{margin:8px 0;color:#28241c;font:1.7rem/1.08 VT323,monospace;text-shadow:none}.newspaper-sheet p,.directive-sheet p{color:#3c382d;font-family:Georgia,Times New Roman,serif;font-size:.83rem;line-height:1.55}.document-kicker{display:block;padding-bottom:6px;border-bottom:1px solid #8e8468;color:#5b543e;font-size:.61rem;letter-spacing:.13em}.document-stamp{display:block;width:max-content;margin:12px 0 0 auto;padding:4px 7px;border:2px solid #8f3828;color:#8f3828;font-size:.57rem;font-weight:700;letter-spacing:.12em;transform:rotate(-2deg)}.directive-sheet{border:1px solid #8e4531;background:repeating-linear-gradient(0deg,#e5d6b6 0,#e5d6b6 25px,#dac9a8 25px,#dac9a8 26px)}.directive-sheet h3{margin:9px 0 5px;color:#7e291f;font:1.35rem/1.1 VT323,monospace}.directive-sheet strong{display:block;padding-top:7px;border-top:1px solid #a78f70;color:#762b22;font-size:.7rem;letter-spacing:.08em}.directive-sheet .document-stamp{border-color:#9e2e23;color:#9e2e23}.memo-sheet{border:1px solid #736a52;background:#26291f;color:var(--paper)}.memo-sheet h2{margin:9px 0 13px;color:#e4c27c;font:1.9rem/1.08 VT323,monospace}.memo-sheet p{color:#c3c1ae;font-size:.83rem;line-height:1.65}.memo-sheet .panel-index{color:#c2a15b}.household-dialog{width:min(660px,100%);max-height:calc(100vh - 40px);overflow-y:auto;border-color:#74805e}.household-dialog h2{color:#d3d8a6}.household-ledger{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:18px 0}.household-ledger div{display:grid;gap:7px;padding:9px;border:1px solid #4e5543;background:#171c17}.household-ledger span{color:#929882;font-size:.55rem;letter-spacing:.08em}.household-ledger strong{color:var(--amber);font:1.15rem VT323,monospace}.accounting-dialog{width:min(880px,100%);max-height:min(92vh,1000px);overflow-y:auto;border-color:#77704c;scrollbar-color:#79643b #171a17}.accounting-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.accounting-heading h2{margin-top:8px}.accounting-stamp{flex:0 0 auto;padding:7px 9px;border:2px solid;font-size:.62rem;letter-spacing:.12em;transform:rotate(-3deg)}.accounting-stamp.quota-met{border-color:#6b9c62;color:#91c281}.accounting-stamp.quota-missed{border-color:#b14b30;color:#f07855}.accounting-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:16px 0}.accounting-summary article{display:grid;align-content:start;gap:6px;min-width:0;padding:10px;border:1px solid #4b4d3e;background:#171b17}.tutorial-accounting-note{padding:9px;border-left:2px solid var(--phosphor);background:#172019;color:#a9c9a7!important;font-size:.76rem!important}.accounting-summary article>span{color:#92927e;font-size:.56rem;letter-spacing:.08em}.accounting-summary article>strong{color:var(--amber);font:1.35rem VT323,monospace}.accounting-summary article>small{color:#aaa48d;font-size:.57rem;line-height:1.4}.shift-report-section{margin-top:14px}.shift-report-section h3{margin:0 0 7px;color:#b8aa7a;font-size:.65rem;font-weight:400;letter-spacing:.12em}.allocation-register{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0;padding:0;list-style:none}.allocation-register li{display:flex;align-items:baseline;gap:7px;min-width:0;padding:7px 9px;border-left:2px solid #8d713a;background:#171b17;font-size:.64rem}.allocation-register li strong{flex:0 0 auto;color:var(--amber);font-weight:400}.allocation-register li span{overflow-wrap:anywhere;color:#c1bdab}.allocation-register .report-empty{grid-column:1 / -1;border-left-color:#626353;color:#9d9d8a}.shift-records{display:grid;gap:6px;max-height:190px;overflow-y:auto}.shift-record{padding:8px 10px;border:1px solid #41453a;background:#171b17}.shift-record.incident{border-left:2px solid #a55334}.shift-record.story{border-left:2px solid #a28542}.shift-record>span{color:#a99b70;font-size:.52rem;letter-spacing:.1em}.shift-record h4{margin:4px 0;color:#e0dbc8;font-size:.67rem;font-weight:400}.shift-record p{margin:0;color:#b8b6a5;font-size:.64rem;line-height:1.5}.sector-report-scroll{overflow-x:auto;border:1px solid #41453a}.sector-report{width:100%;border-collapse:collapse;font-size:.59rem;white-space:nowrap}.sector-report th,.sector-report td{padding:7px 8px;border-bottom:1px solid #383c33;text-align:left}.sector-report thead{background:#22261f;color:#a99b70;font-size:.52rem;letter-spacing:.07em}.sector-report tbody th{color:#d2cebb;font-weight:400}.sector-report tbody td{color:#bdb99f}.sector-report tbody tr:last-child th,.sector-report tbody tr:last-child td{border-bottom:0}.household-actions{display:grid;gap:8px}.household-actions .action-button{margin:0}.action-button:disabled{border-color:#42463c;background:#1a1d19;color:#737668;cursor:not-allowed;box-shadow:none}.action-button:disabled small{color:#77796d}.dossier-dialog{display:flex;flex-direction:column;width:min(900px,100%);max-height:min(88vh,900px);padding:clamp(18px,3vw,30px);overflow:hidden;border-color:#77704c;background:linear-gradient(145deg,#292a21,#111512 72%)}.dossier-heading,.archive-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dossier-heading h2{margin-top:8px}.dossier-close{flex:0 0 auto;padding:8px 10px;border:1px solid #795044;background:#261a16;color:#e08a6b;cursor:pointer;font-size:.67rem}.dossier-close:hover{border-color:var(--red);color:#ff987c}.handbook-dialog{display:flex;flex-direction:column;width:min(1020px,100%);height:min(88vh,1000px);max-height:min(88vh,1000px);padding:clamp(16px,3vw,30px);overflow-y:auto;border-color:#9a6234;scrollbar-color:#79643b #171a17}.handbook-heading{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #575341}.handbook-heading h2{margin-top:8px;color:#e4c27c;font-size:clamp(1.7rem,4vw,2.35rem)}.handbook-intro{flex:0 0 auto;margin:12px 0!important}.handbook-index{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:7px;padding:9px;border:1px solid #484b3c;background:#171b17}.handbook-index a{padding:5px 8px;border:1px solid #55503c;color:#d9bc72;font-size:.66rem;text-decoration:none}.handbook-index a:hover,.handbook-index a:focus-visible{border-color:var(--amber);color:var(--amber)}.handbook-content{display:grid;flex:0 0 auto;gap:12px;padding:12px 3px 18px 0}.handbook-section{padding:15px 17px;border:1px solid #494b3d;background:linear-gradient(140deg,#20241e,#151916);scroll-margin-top:8px}.handbook-section h3{margin:7px 0 11px;color:#e4c27c;font:1.55rem/1.1 VT323,monospace}.handbook-section>p,.handbook-section li span,.handbook-section article p{color:#c0beab;font-size:.78rem;line-height:1.65}.handbook-section>p:last-child{margin-bottom:0}.handbook-factions,.handbook-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.handbook-factions article,.handbook-rules article{padding:10px 12px;border-left:2px solid #817045;background:#171b17}.handbook-factions h4,.handbook-rules h4{margin:0;color:#d9bc72;font-size:.76rem;letter-spacing:.06em}.handbook-factions article p,.handbook-rules article p{margin:6px 0 0}.handbook-rules strong,.handbook-endings strong{color:#e4c27c}.handbook-timeline,.handbook-endings{display:grid;gap:7px;margin:0;padding:0;list-style:none}.handbook-timeline li,.handbook-endings li{display:grid;gap:3px;padding:8px 10px;border-left:2px solid #817045;background:#171b17}.handbook-timeline li strong,.handbook-endings li strong{color:#d9bc72;font-size:.75rem}.handbook-timeline li span,.handbook-endings li{color:#c0beab;font-size:.76rem;line-height:1.55}.handbook-footer{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:14px;padding-top:11px;border-top:1px solid #575341;color:#888775;font-size:.62rem;letter-spacing:.1em}.handbook-footer .action-button{width:auto;margin:0;gap:20px}.start-menu-dialog{width:min(820px,100%);padding:clamp(25px,6vw,52px);border-color:#9a6234;background:radial-gradient(ellipse at 50% 0%,#343226,#191d18 65%,#101411)}.start-menu-overline{margin:20px 0 0!important;color:#aaa78c!important;font-size:.62rem!important;letter-spacing:.2em}.start-menu-title{margin:2px 0 0!important;color:var(--amber)!important;font:clamp(4.8rem,13vw,8rem)/.82 "VT323",monospace!important;letter-spacing:.06em;white-space:nowrap;text-shadow:0 0 13px #ffb00085,0 0 35px #ffb0003d!important}.start-menu-title span{color:#f4d184}.start-menu-subtitle{margin:14px 0 0!important;color:#e4c27c!important;font:1.2rem VT323,monospace!important;letter-spacing:.2em}.start-menu-divider{display:flex;align-items:center;gap:11px;margin:26px 0 16px;color:#898674;font-size:.55rem;letter-spacing:.12em}.start-menu-divider i{flex:1;border-top:1px solid #4b4a3b}.start-menu-copy{max-width:470px;margin:0 auto 22px!important;color:#c3c1ae!important;font-size:.9rem!important;line-height:1.8!important;text-align:center}.start-menu-actions{display:grid;gap:9px;max-width:460px;margin:0 auto}.start-menu-actions .action-button{margin:0}.start-menu-continue{border-color:#575b49;background:#20251f;color:#c2c8aa}.start-menu-continue:hover:not(:disabled){border-color:var(--phosphor);background:#273127}.start-menu-continue:disabled{cursor:not-allowed;opacity:.62}.start-menu-continue:disabled small{color:#898775}.start-menu-handbook{padding:10px;border:1px solid transparent;background:transparent;color:#d9bc72;cursor:pointer;font-size:.69rem;letter-spacing:.09em}.start-menu-handbook:hover,.start-menu-handbook:focus-visible{border-color:#655534;background:#26251b;color:var(--amber)}.start-menu-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin-top:28px;padding-top:10px;border-top:1px solid #424538;color:#767a6d;font-size:.52rem;letter-spacing:.08em}.personal-file{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:18px;padding:11px;border:1px solid #555645;background:repeating-linear-gradient(0deg,#1b201b 0,#1b201b 24px,#20241d 24px,#20241d 25px)}.personal-file div{display:grid;gap:6px}.personal-file span,.file-section-title{color:#9d9b80;font-size:.62rem;letter-spacing:.12em}.personal-file strong{color:var(--amber);font-size:.75rem;font-weight:400}.file-section-title{margin:16px 0 8px}.file-sector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.file-sector,.archive-entry{padding:9px 11px;border:1px solid #42463b;background:#171b17}.file-sector h3,.archive-entry h3{margin:0 0 5px;color:#d4c9a4;font-size:.75rem;font-weight:400}.file-sector p,.archive-entry p{margin:3px 0 0;color:#a5a38e;font-size:.64rem;line-height:1.45}.archive-heading{margin-top:3px}.archive-heading .file-section-title{margin:11px 0 8px}.dossier-filters{display:flex;flex-wrap:wrap;gap:5px}.dossier-filters button{padding:5px 7px;border:1px solid #4b5043;background:#1c211c;color:#999b88;cursor:pointer;font-size:.57rem}.dossier-filters button.active{border-color:#a77b2f;color:var(--amber)}.archive-list{display:grid;gap:6px;min-height:60px;overflow:auto;padding-right:4px}.archive-entry>span{display:block;margin-bottom:5px;color:#777c6c;font-size:.56rem;letter-spacing:.1em}.archive-story{border-left:2px solid #a87537}.archive-shift{border-left:2px solid #78966d}.archive-incident{border-left:2px solid #a3422c}.archive-home{border-left:2px solid #66845b}.empty-archive{color:#777b6c;font-size:.7rem}.final-dialog{border-color:#a8462c}.final-dialog.victory{border-color:#648d5a}.final-dialog.victory h2{color:var(--phosphor)}.is-alarm .status-lamp{background:var(--red);box-shadow:0 0 8px var(--red)}@media(max-width:950px){.tutorial-guide{grid-template-columns:1fr;gap:10px}.tutorial-guide-actions{justify-content:stretch}.tutorial-guide-actions>button{flex:1}.tutorial-round-active .tutorial-guide{grid-template-columns:minmax(0,1fr) auto}.top-bar{align-items:start;flex-direction:column;gap:16px}.top-readouts{flex-wrap:wrap;width:100%}.dashboard{grid-template-columns:1fr}.control-column{grid-template-columns:repeat(2,minmax(0,1fr))}.order-panel{grid-column:span 2}}@media(max-width:600px){.tutorial-round-active .tutorial-guide{grid-template-columns:1fr;max-height:42vh;overflow-y:auto}#app{padding:0}.console-shell{width:100%;min-width:0;min-height:100vh;min-height:100dvh;padding:max(18px,env(safe-area-inset-top)) 13px max(18px,env(safe-area-inset-bottom));border:0;box-shadow:inset 0 0 0 4px #171a17}.top-bar,.top-readouts,.dashboard,.control-column,.sectors-panel,.panel{min-width:0}.eyebrow{font-size:clamp(.48rem,2.5vw,.57rem);letter-spacing:.12em}h1{font-size:3.5rem}.brand-block{max-width:100%}.top-readouts{gap:6px}.readout{flex:1 1 28%;min-width:80px;padding:7px}.readout strong{font-size:1.5rem}.readout .phase-label{font-size:.94rem}.top-readouts{flex-wrap:wrap}.sound-toggle,.utility-button{flex:1 1 28%}.status-strip{align-items:start;flex-wrap:wrap;font-size:.72rem;line-height:1.4}.status-strip [data-status]{flex:1 0 100%;padding-left:17px;overflow-wrap:anywhere}.personal-file,.household-ledger,.accounting-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-heading{align-items:start}.accounting-stamp{padding:5px 6px;font-size:.53rem}.allocation-register,.sector-grid,.control-column{grid-template-columns:1fr}.order-panel{grid-column:auto}.console-footer{flex-wrap:wrap;gap:8px 12px;font-size:.5rem}.console-footer>span{max-width:100%}.sector-card{min-width:0;padding:12px}.sector-card-header{min-height:0}.sector-card h3{overflow-wrap:anywhere}.threat-badge{flex:0 0 auto}.sector-bottom{align-items:start;flex-wrap:wrap}.assigned-resources{flex:1 1 100%}.isolation-switch{min-height:44px}.assigned-token{min-height:40px}.sound-toggle,.utility-button{min-height:44px;touch-action:manipulation}.reading-label{gap:8px;font-size:.61rem}.reading-label span{overflow-wrap:anywhere}.resource-token{min-height:86px}.resource-description{font-size:.5rem}.modal-layer{align-items:start;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.dialog{width:100%;max-width:100%;max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:20px 16px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.dialog h2{font-size:clamp(1.65rem,8vw,2.1rem);overflow-wrap:anywhere}.action-button{min-height:48px;padding:12px;touch-action:manipulation}.action-button.secondary{min-height:48px}.action-button.secondary small{font-size:.72rem}.event-options{gap:8px}.story-dialog,.preparation-dialog,.household-dialog,.dossier-dialog,.accounting-dialog,.final-dialog{max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.preparation-dialog{gap:9px}.newspaper-sheet,.directive-sheet,.memo-sheet{padding:13px}.newspaper-sheet h2{font-size:1.5rem}.directive-sheet h3{overflow-wrap:anywhere}.handbook-dialog{width:100%;height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.handbook-section{padding:12px}.handbook-index{gap:5px}.handbook-index a{min-height:36px;display:flex;align-items:center}.handbook-heading{align-items:start}.handbook-heading .panel-index{font-size:.55rem}.handbook-heading .dossier-close{padding:7px}.handbook-factions,.handbook-rules{grid-template-columns:1fr}.handbook-footer{align-items:start;flex-direction:column}.handbook-footer .action-button{width:100%}.start-menu-dialog{padding:25px 18px}.start-menu-title{font-size:clamp(2.8rem,12vw,4rem)!important;letter-spacing:.025em}.start-menu-copy{font-size:.82rem!important}.start-menu-footer{justify-content:center;text-align:center}.start-menu-handbook,.dossier-close,.dossier-filters button{min-height:40px}.dossier-heading{align-items:start}.dossier-heading h2{font-size:clamp(1.35rem,6vw,1.6rem)}.file-sector-grid{grid-template-columns:1fr}.archive-heading{align-items:start;flex-direction:column}.archive-list{max-height:40vh}.handbook-launcher{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));min-height:44px}}@media(max-width:360px){.console-shell{padding-right:10px;padding-left:10px}.start-menu-dialog{padding-right:12px;padding-left:12px}.start-menu-title{font-size:2.65rem!important}.readout{min-width:72px}.readout span{font-size:.58rem}.readout small{margin-left:22px}.readout .phase-label{font-size:.82rem}.sound-toggle,.utility-button{flex-basis:45%}.accounting-summary,.household-ledger,.personal-file{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
