@font-face{font-family:Onest;src:url('./fonts/onest-cyrillic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0400-052F,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:Onest;src:url('./fonts/onest-latin.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF,U+2100-214F}
@font-face{font-family:SKMono;src:url('./fonts/jetbrains-mono-latin.woff2') format('woff2');font-weight:100 800;font-display:swap;unicode-range:U+0000-024F,U+2000-206F,U+20A0-20CF,U+2100-214F}
@font-face{font-family:SKMono;src:url('./fonts/jetbrains-mono-cyrillic.woff2') format('woff2');font-weight:100 800;font-display:swap;unicode-range:U+0400-052F}
:root{color-scheme:dark;--bg:#101d18;--surface:#1a2c24;--raised:#233b30;--deep:#0b1713;--ink:#e7ebe6;--muted:#adbbb0;--line:#3a5042;--control:#738a77;--accent:#c7d8bd;--accent-deep:#9fbaa7;--copper:#e4a38e;--terra:#a33f29;--warning:#e7bd7c;--danger:#efb0a3;--sheet:#f0f2e9;--paper-ink:#244438;--paper-muted:#50675a;--paper-line:#b8c3b8;--blue:#a6c9d2;--p0:#c9debd;--p1:#dfa98a;--p2:#a4c4d5;--p3:#d4bb7e;--radius:4px;--ease:cubic-bezier(.2,.75,.25,1);--text-size:16px;--shadow:0 24px 80px #06100c80;--overlay:#07120dbf;--hero-shade:#08140f}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Onest,Arial,sans-serif;font-size:var(--text-size);line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:1px solid var(--line);border-radius:var(--radius);background:transparent;min-height:44px;padding:10px 16px;transition:background 160ms var(--ease),color 160ms var(--ease),border-color 160ms var(--ease),transform 160ms var(--ease)}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:3px solid var(--warning);outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p,blockquote{margin:0}h1,h2,h3{font-weight:600;line-height:1.15;letter-spacing:-.04em}h1{font-size:clamp(34px,4.5vw,58px)}h2{font-size:clamp(24px,2.5vw,34px)}h3{font-size:20px}p{line-height:1.65}small,.fine{font-size:13px;line-height:1.55}.fine,.hint{color:var(--muted)}.hint{font-size:14px;margin-top:12px}.icon{display:inline-block;vertical-align:middle;fill:currentColor;flex:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-100px;z-index:50;background:var(--accent);color:var(--deep);padding:12px 20px}.skip-link:focus{top:12px}.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:500;line-height:1.5}.icon-button{width:44px;height:44px;min-width:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center;position:relative}.quiet,.text-button{border-color:transparent;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px}.text-button{text-decoration:none;padding:8px 4px;min-height:44px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:550;min-height:48px}.primary{background:var(--accent);border-color:var(--accent);color:var(--deep);padding:14px 22px}.secondary{border-color:var(--control);color:var(--ink)}.primary>.icon:last-child{margin-left:auto}.tag{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--line);font-size:12px;line-height:1.5;border-radius:2px;color:var(--muted)}.tag.warning{color:var(--warning);border-color:var(--warning)}.signal-light{width:6px;height:6px;background:var(--accent);box-shadow:0 0 0 4px #c7d8bd15;display:inline-block}.muted-slash{position:absolute;left:19px;top:8px;font-size:25px;transform:rotate(25deg)}.topbar{display:flex;align-items:center;gap:24px;min-height:72px;padding:12px 32px;border-bottom:1px solid var(--line);position:relative;z-index:2;background:var(--deep)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap;font-size:18px;font-weight:450;letter-spacing:.02em}.brand b{font-weight:700}.topbar-context{color:var(--muted);font-size:13px;border-left:1px solid var(--line);padding-left:24px}.topbar nav{display:flex;align-items:center;gap:8px;margin-left:auto}.topbar nav .icon-button{border:0}.footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 32px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;letter-spacing:.04em}.shell{min-height:100dvh;background:var(--bg)}.title-screen{position:relative;isolation:isolate;min-height:100dvh;display:flex;flex-direction:column;background:var(--deep)}.title-screen:before{content:'';position:absolute;z-index:-2;inset:0;background:url('./art/command-room.webp') 60% center/cover no-repeat}.title-screen:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#07130ff5 0%,#07130fdc 20%,#07130f95 38%,#07130f10 65%),linear-gradient(0deg,#07130fd9 0%,#07130f00 30%,#07130f22 100%)}.title-screen .topbar{background:#0b171366;border-color:#e7ebe620;backdrop-filter:blur(6px)}.title-content{width:560px;max-width:100%;margin:0;padding:48px 0 32px clamp(24px,6.5vw,104px);flex:1;position:relative}.title-content>.eyebrow{display:flex;gap:12px;align-items:center;color:var(--accent);margin-bottom:24px}.game-title{font-size:clamp(72px,7vw,112px);line-height:.86;letter-spacing:-.06em;font-weight:700}.game-title>span{font-size:1.14em;line-height:1.12}.title-dot{color:var(--copper)}.title-rule{display:flex;align-items:center;gap:16px;margin:18px 0 24px;font-size:13px;font-weight:550;letter-spacing:.28em;color:var(--accent)}.title-rule>i{width:84px;height:1px;background:var(--copper)}.title-lead{font-size:clamp(20px,1.8vw,24px);line-height:1.35;font-weight:450;letter-spacing:-.02em}.title-description{font-size:14px;color:var(--muted);margin-top:14px;line-height:1.65}.title-menu{width:350px;max-width:100%;margin-top:28px;display:flex;flex-direction:column;gap:8px}.title-menu button{display:flex;align-items:center;gap:16px;text-align:left}.title-menu .menu-primary{background:var(--terra);border-color:var(--copper);color:var(--sheet);padding:16px 20px;font-size:22px;font-weight:550;box-shadow:0 4px 0 #572d21}.menu-primary span{flex:1}.menu-primary small{display:block;font-size:12px;font-weight:400;margin-top:2px}.title-menu .menu-item{min-height:54px;background:#10241bd9;border-color:#879c7a55;padding:12px 20px;font-size:16px}.menu-item>span{flex:1}.menu-item>small{font-size:10px;letter-spacing:.08em;color:var(--muted)}.menu-secondary{display:flex;justify-content:space-between;gap:12px;margin-top:4px}.menu-secondary .text-button{color:var(--muted);font-size:13px;gap:8px}.model-note{font-size:12px;line-height:1.5;display:flex;align-items:flex-start;gap:10px;margin-top:24px;color:var(--muted);max-width:350px}.model-note .icon{width:16px;height:16px;margin-top:2px}.title-caption{position:absolute;right:5%;bottom:100px;border-top:1px solid #e7ebe64d;padding-top:16px;width:250px;text-shadow:0 2px 12px var(--deep)}.title-caption .eyebrow{color:var(--copper);font-size:11px}.title-caption strong{display:block;font-weight:450;line-height:1.35;font-size:24px;margin-top:12px;letter-spacing:-.03em}.title-caption p{font-size:12px;margin-top:12px;color:var(--ink)}.title-screen .footer{background:transparent;border-color:#e7ebe622;z-index:1;font-size:10px}.page-heading{margin-bottom:36px}.page-heading>.text-button{display:flex;width:max-content;color:var(--muted);margin-bottom:24px}.page-heading>.eyebrow{display:block;color:var(--copper);margin-bottom:12px}.page-heading h1{max-width:900px;margin-bottom:16px}.page-heading p{color:var(--muted);max-width:800px;font-size:17px}.setup-page,.campaign-page,.settings-page,.guide-page,.results-page,.replay-page{width:min(1320px,100%);padding:40px 40px 72px;margin:auto}.setup-grid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:56px}.setup-art{align-self:start;border:1px solid var(--line);background:var(--deep)}.scene-window{height:260px;background:url('./art/command-room.webp') 75% 35%/cover}.setup-brief{padding:32px}.setup-brief h2{margin:16px 0}.setup-brief>p{color:var(--muted)}.brief-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0;border-block:1px solid var(--line);padding:20px 0}.brief-numbers b{display:block;font-size:30px;font-weight:450;font-variant-numeric:tabular-nums}.brief-numbers span{display:block;font-size:13px;color:var(--muted)}fieldset{padding:0;margin:0 0 32px;border:0}legend{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:0 0 20px;width:100%;border-bottom:1px solid var(--line);margin-bottom:20px}label{display:block;font-size:14px;margin-bottom:8px;font-weight:450}input,select{color:var(--ink);background:var(--surface);border:1px solid var(--control);border-radius:var(--radius);padding:12px 14px;min-height:48px;width:100%;min-width:0}select{padding-right:32px}input[type=range]{padding:0;accent-color:var(--accent);border:0;background:transparent}input:invalid:not(:placeholder-shown){text-decoration:none}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.archetypes{display:grid;grid-template-columns:1fr 1fr;gap:8px}.archetype{display:flex;gap:12px;align-items:center;text-align:left;padding:12px;min-height:84px}.archetype[aria-pressed=true]{background:var(--raised);border-color:var(--accent)}.archetype b{font-size:15px;font-weight:550;display:block}.archetype small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.choice-mark{color:var(--accent);font-size:16px}.seed-input{display:flex;gap:8px}.seed-input input{font-family:SKMono,monospace;font-size:14px}.launch-note{display:flex;gap:12px;font-size:13px;line-height:1.55;color:var(--muted);margin-bottom:24px}.launch-note .icon{margin-top:4px}.start-match{width:100%;justify-content:flex-start}.campaign-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:40px}.mission-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mission{display:flex;align-items:center;gap:12px;min-height:94px;text-align:left;padding:16px;background:var(--surface)}.mission[aria-pressed=true]{border-color:var(--accent);background:var(--raised)}.mission-num{font-family:SKMono,monospace;font-size:20px;color:var(--copper)}.mission>span:nth-child(2){flex:1}.mission b{font-weight:500;font-size:15px;display:block}.mission small{font-size:11px;color:var(--muted);display:block;margin-top:6px}.mission .icon{width:16px;height:16px}.mission-brief{background:var(--sheet);color:var(--paper-ink);padding:32px;align-self:start;position:sticky;top:24px;border-radius:2px;box-shadow:8px 8px 0 #0a1510}.mission-brief>.eyebrow{color:var(--paper-muted)}.mission-brief h2{margin:16px 0 24px}.mentor-label{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--paper-muted);padding-bottom:14px;border-bottom:1px solid var(--paper-line)}.mission-brief blockquote{font-size:18px;line-height:1.55;margin:20px 0 28px;letter-spacing:-.01em}.mission-brief dl{margin:0 0 24px}.mission-brief dl>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--paper-line);padding:12px 0;font-size:14px}.mission-brief dd{margin:0;font-weight:550}.mission-brief h3{font-size:17px;margin-bottom:12px}.mission-brief>.primary{width:100%;margin:24px 0 16px;background:var(--paper-ink);color:var(--sheet);border-color:var(--paper-ink)}.mission-brief>.fine{color:var(--paper-muted)}
.resource-bar{display:flex;align-items:center;gap:0;background:var(--surface);border-bottom:1px solid var(--line);min-height:84px;padding:12px 24px}.month{padding:0 24px 0 8px;border-right:1px solid var(--line)}.month>span{display:block;font-size:10px;letter-spacing:.12em;color:var(--muted)}.month>b{font-size:30px;font-weight:500;line-height:1.1;font-variant-numeric:tabular-nums}.month small{font-size:14px;color:var(--muted);font-weight:400}.resource{padding:4px 24px;border:0;border-right:1px solid var(--line);text-align:left;display:block;min-height:60px;border-radius:0}.resource>span{font-size:12px;color:var(--muted);display:block;margin-bottom:2px}.resource>b{display:block;font-size:24px;line-height:1.1;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.resource small{font-size:12px;color:var(--muted);font-weight:400}.planning-status{margin-left:auto;text-align:right;padding-left:24px}.status-active{color:var(--accent);border-color:var(--control)}.status-active:before{content:'';display:block;width:5px;height:5px;background:var(--accent)}.planning-status>span:last-child{display:block;font-size:11px;color:var(--muted);margin-top:6px;max-width:170px}.war-room{display:grid;grid-template-columns:160px minmax(0,1fr) 328px;min-height:calc(100dvh - 250px)}.game-rail{background:var(--deep);border-right:1px solid var(--line);padding:24px 12px;display:flex;flex-direction:column;gap:4px}.rail-button{display:flex;align-items:center;gap:12px;border:0;text-align:left;padding:12px 10px;color:var(--muted);font-size:13px;min-height:52px;position:relative}.rail-button span{flex:1}.rail-button small{border:1px solid var(--control);padding:0 5px;font-size:10px}.rail-button[aria-current=page]{background:var(--raised);color:var(--ink)}.rail-button[aria-current=page]:before{content:'';position:absolute;width:2px;height:20px;left:-12px;background:var(--copper)}.rail-bottom{margin-top:auto;padding-top:48px}.rail-bottom .rail-button{font-size:12px}.rail-bottom .icon{width:18px;height:18px}.operations{min-width:0;padding:28px 24px 0;display:flex;flex-direction:column;background:var(--bg)}.operations-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:24px}.operations-heading .eyebrow{font-size:10px;color:var(--muted);display:block;margin-bottom:8px;overflow-wrap:anywhere}.operations-heading h1{font-size:30px}.operations-heading>.secondary{font-size:13px;padding:8px 12px;min-height:44px}.update-strip{display:flex;align-items:center;gap:12px;min-height:66px;padding:12px 16px;text-align:left;border-color:#e7bd7c66;background:#e7bd7c0a;margin-bottom:12px;color:var(--warning);border-radius:2px;font-size:12px;line-height:1.5}.update-strip>span{flex:1}.update-strip b{font-weight:550;display:block;font-size:13px;margin-bottom:2px}.update-strip>.icon:last-child{width:16px;height:16px}.objective-strip{display:flex;gap:10px;align-items:center;padding:12px 16px;background:var(--raised);border:1px solid var(--line);font-size:12px;margin-bottom:12px}.objective-strip>span{flex:1}.objective-strip>b{font-size:12px;white-space:nowrap;font-weight:500}.battlefield{position:relative;flex:1;min-height:390px;border:1px solid var(--line);background:radial-gradient(ellipse at 50% 45%,#2c443255,var(--deep));overflow:hidden;display:flex;flex-direction:column;justify-content:center}.city-map{width:100%;max-height:620px;display:block;flex:1;min-height:0;aspect-ratio:940/720}.grid-line{fill:none;stroke:#9bb39312;stroke-width:.7}.map-contour{fill:none;stroke:#9bb39317;stroke-width:1.5}.routes path{fill:none;stroke:#829b7766;stroke-width:2;stroke-dasharray:4 8}.district{cursor:pointer;--owner:var(--muted);outline:0}.owner-p0{--owner:var(--p0)}.owner-p1{--owner:var(--p1)}.owner-p2{--owner:var(--p2)}.owner-p3{--owner:var(--p3)}.district-base{fill:#1d3027;stroke:var(--owner);stroke-opacity:.5;stroke-width:1.5;transition:fill 180ms var(--ease)}.district-edge{fill:none;stroke:var(--owner);stroke-opacity:.3;stroke-width:1}.district.selected .district-base{fill:#34513b;stroke-width:2.5;stroke-opacity:1}.district:focus-visible .district-base{stroke:var(--warning);stroke-width:5;stroke-opacity:1}.building-side{fill:#2b4233;stroke:var(--owner);stroke-width:.6;stroke-opacity:.6}.building-roof{fill:var(--owner);fill-opacity:.65;stroke:var(--owner);stroke-width:.5}.building-face{fill:var(--owner);fill-opacity:.18}.window-line{stroke:var(--owner);stroke-opacity:.6;stroke-width:2;stroke-dasharray:2 5}.district-pin{fill:var(--deep);stroke:var(--owner);stroke-width:1.5}.rank-label{fill:var(--owner);font-size:16px;font-weight:550;font-family:SKMono,monospace}.district-name{fill:var(--ink);font-size:17px;font-weight:500}.district-stat{fill:var(--muted);font-size:13px}.district-id{fill:var(--owner);font-family:SKMono,monospace;font-size:14px}.map-coordinate{fill:var(--muted);opacity:.6;font-family:SKMono,monospace;font-size:10px;letter-spacing:2px}.north{fill:none;stroke:var(--muted);stroke-width:1}.map-legend{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:16px;border-top:1px solid var(--line);font-size:10px;background:#0b171380;color:var(--muted)}.map-legend>span{display:flex;align-items:center;gap:6px}.owner-dot{display:inline-block;width:7px;height:7px;background:var(--owner);flex:none;transform:rotate(45deg)}.legend-help{opacity:.8;flex-basis:100%;justify-content:center}.map-mobile-list{display:none}.event-ticker{display:flex;align-items:center;gap:16px;margin-top:auto;min-height:72px;padding:16px 0;border-bottom:0}.event-ticker>.eyebrow{color:var(--copper);font-size:10px;flex:none}.event-ticker p{font-size:12px;color:var(--muted);line-height:1.55;flex:1}.event-ticker>.text-button{font-size:11px;flex:none}.inspector{background:var(--surface);border-left:1px solid var(--line);min-width:0}.inspector-heading{padding:28px 24px 20px;border-bottom:1px solid var(--line)}.inspector-heading>.eyebrow{font-size:10px;color:var(--copper)}.inspector-heading h2{font-size:24px;line-height:1.2;margin:12px 0 20px}.cluster-kpis{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cluster-kpis>div:first-child{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px}.cluster-kpis span{font-size:11px;color:var(--muted);display:block}.cluster-kpis b{font-size:24px;font-weight:450;font-variant-numeric:tabular-nums;line-height:1.25}.cluster-kpis>div:first-child b{font-size:34px}.cluster-kpis small{font-size:12px;font-weight:400}.inline-alert{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--warning);line-height:1.55;margin-top:16px}.inline-alert .icon{width:16px;height:16px;margin-top:1px}.inspector-body{padding:20px 24px 24px}.inspector-body>label{font-size:12px;color:var(--muted)}.inspector-body>select{min-height:44px;padding:8px 12px;font-size:14px;background:var(--deep)}.action-list{display:flex;flex-direction:column;gap:0;margin-top:16px}.action-option{display:block;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 8px;min-height:68px;position:relative}.action-option>span{display:flex;gap:10px;align-items:center}.action-option .icon{width:16px;height:16px;color:var(--muted)}.action-option b{font-size:13px;font-weight:450}.action-option small{display:block;font-size:11px;color:var(--muted);margin:6px 0 0 26px}.action-option[aria-pressed=true]{background:var(--raised)}.action-option[aria-pressed=true]:before{position:absolute;content:'';width:3px;height:24px;left:-8px;top:20px;background:var(--accent)}.action-detail{margin-top:24px;padding-top:20px;border-top:1px solid var(--control)}.action-detail>.eyebrow{color:var(--copper);font-size:10px}.action-detail h3{font-size:20px;margin:10px 0 12px}.action-detail>p:not(.fine):not(.forecast):not(.validation-reason):not(.inline-alert){color:var(--muted);font-size:13px}.action-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:20px 0;font-size:12px}.action-facts dt{color:var(--muted);margin-bottom:2px}.action-facts dd{margin:0;font-weight:500}.forecast{display:flex;gap:10px;color:var(--accent);font-size:11px;background:var(--deep);padding:12px;margin-bottom:12px;line-height:1.5}.forecast .icon{width:16px;height:16px;margin-top:2px}.forecast b{display:block;font-family:SKMono,monospace;font-size:15px;margin-top:4px;font-weight:450}.action-detail>.fine{font-size:11px}.action-detail .primary{width:100%;margin-top:20px;justify-content:center;font-size:14px}.validation-reason{font-size:11px;color:var(--warning);margin-top:8px}.plan-dock{display:flex;align-items:center;gap:24px;min-height:90px;padding:18px 28px;border-top:1px solid var(--control);background:var(--deep);position:sticky;bottom:0;z-index:12;box-shadow:0 -16px 30px #0b171322}.plan-dock>.primary{margin-left:auto;flex:none;font-size:15px}.plan-dock>div:first-child{min-width:220px}.plan-dock .eyebrow{font-size:10px;color:var(--copper)}.plan-dock p{font-size:12px;color:var(--muted);margin-top:3px}.plan-chips{display:flex;flex-wrap:wrap;gap:6px}.plan-chip{font-size:11px;display:flex;align-items:center;gap:6px;padding:8px 10px;background:var(--surface);min-height:44px}.plan-chip .icon{width:12px;height:12px}.cluster-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}.cluster-row{display:flex;align-items:center;gap:16px;border:0;border-bottom:1px solid var(--line);padding:20px 12px;text-align:left;border-radius:0;min-height:88px}.cluster-row[aria-pressed=true]{background:var(--raised)}.list-index{font-family:SKMono,monospace;font-size:14px;color:var(--copper)}.cluster-row>span:nth-child(2){flex:1}.cluster-row b{display:block;font-size:16px;font-weight:500}.cluster-row small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.position{font-family:SKMono,monospace;font-size:14px;color:var(--accent)}.cluster-row>.icon{width:16px;height:16px}.site-health{margin-bottom:24px}.site-health .eyebrow{color:var(--muted);font-size:10px}.site-health h2{margin:12px 0 20px;font-size:24px}.site-stats{display:flex;gap:24px;font-size:12px;flex-wrap:wrap;color:var(--muted)}.site-stats b{color:var(--ink);margin-left:6px;font-weight:500}.signal-sheet{padding:24px;margin:24px 0;background:var(--surface);border:1px solid var(--line)}.signal-sheet h3{font-size:22px;margin-bottom:24px}.signal-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}.meter>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}.meter span{font-size:12px;color:var(--muted)}.meter b{font-family:SKMono,monospace;font-size:13px;font-weight:450;white-space:nowrap}.meter small{color:var(--muted);font-family:Onest,sans-serif;font-size:10px}.meter progress{display:block;width:100%;height:4px;appearance:none;border:0;background:var(--line);accent-color:var(--accent)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--accent)}.meter.risk progress::-webkit-progress-value{background:var(--copper)}.signal-sheet>.fine{margin-top:24px;font-size:11px}.projects-summary>h2,.intel-view>h2{font-size:30px;margin-bottom:16px}.projects-summary>p,.intel-view>p{font-size:14px;color:var(--muted);margin-bottom:24px}.project-list{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:32px}.project{padding:20px;background:var(--surface);border:1px solid var(--line)}.project>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.project h3{font-size:17px;flex:1}.project p{font-size:12px;color:var(--muted);margin-top:12px}.project>progress{display:block;width:100%;height:4px;appearance:none;margin-top:16px}.project .text-button{font-size:12px;color:var(--copper);margin-top:8px}.project.cancelled{opacity:.6}.pending-list{margin-top:16px}.pending-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;border-bottom:1px solid var(--line);padding:8px 0}.empty-state{border:1px dashed var(--control);padding:36px;text-align:center;margin:24px 0 32px}.empty-state>.icon{width:40px;height:40px;color:var(--muted);margin-bottom:20px}.empty-state h3{margin-bottom:12px}.empty-state p{font-size:14px;color:var(--muted);max-width:440px;margin:auto}.empty-state .secondary{margin-top:24px;font-size:14px}.rival-list{display:grid;grid-template-columns:1fr;gap:16px}.rival-list article{border:1px solid var(--line);padding:24px;position:relative;background:var(--surface)}.rival-list .eyebrow{font-size:10px;color:var(--muted)}.rival-list h3{font-size:24px;margin:8px 0}.rival-list p{font-size:13px;color:var(--muted)}.rival-emblem{position:absolute;right:24px;top:24px;color:var(--owner);width:48px;height:48px;border:1px solid var(--owner);display:grid;place-items:center;transform:rotate(45deg)}.rival-emblem .icon{width:26px;height:26px;transform:rotate(-45deg)}.rival-positions{display:grid;grid-template-columns:1fr 1fr;gap:4px 24px;margin:24px 0 16px}.rival-positions>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px}.rival-positions b{font-family:SKMono,monospace;font-weight:450;color:var(--accent)}.intel-view>.secondary{margin-top:24px}.finance-head h2{font-size:30px;margin:12px 0 16px}.finance-head>.eyebrow{color:var(--copper);font-size:10px}.finance-head p{color:var(--muted);font-size:14px}.finance-totals{display:grid;grid-template-columns:repeat(4,1fr);margin:28px 0;border-block:1px solid var(--line)}.finance-totals>div{padding:20px 12px;border-right:1px solid var(--line);min-width:0}.finance-totals>div:first-child{padding-left:0}.finance-totals>div:last-child{border:0}.finance-totals span{font-size:11px;color:var(--muted);display:block}.finance-totals b{font-size:clamp(18px,2vw,27px);font-weight:450;display:block;margin-top:8px;font-variant-numeric:tabular-nums}.finance-view>h3{font-size:17px;margin-top:32px}.income-chart{display:flex;gap:8px;height:190px;align-items:stretch;border-bottom:1px solid var(--control);padding-top:28px;margin:20px 0 32px}.income-chart>div{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:0;position:relative}.income-chart i{display:block;background:var(--accent);width:100%;max-width:42px;min-height:1px;height:var(--bar-height);opacity:.65}.income-chart span{font-family:SKMono,monospace;font-size:10px;color:var(--accent);margin-bottom:6px}.income-chart small{position:absolute;bottom:-24px;font-size:11px;color:var(--muted);font-family:SKMono,monospace}.formula-note{border:1px solid var(--line);background:var(--surface);padding:24px;margin:32px 0}.formula-note h3{font-size:17px;margin-bottom:16px}.formula-note p{font-size:13px;margin-top:12px}.formula-note sup{font-size:10px}.formula-note .fine{color:var(--muted);font-size:11px}.data-details{margin:28px 0}.data-details summary{font-size:13px;color:var(--accent);padding:12px;cursor:pointer;border:1px solid var(--line);min-height:44px}.cashflow-list>div{padding:16px;display:flex;flex-wrap:wrap;gap:12px 24px;font-size:12px;border-bottom:1px solid var(--line)}.empty-inline{font-size:14px;color:var(--muted);margin-top:24px}.radar-head{display:flex;gap:28px;align-items:center;margin-bottom:32px}.radar-head h2{font-size:30px;margin:10px 0 16px}.radar-head p{font-size:13px;color:var(--muted)}.radar-disc{width:160px;height:160px;flex:none;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid var(--control);border-radius:50%;outline:1px dashed var(--line);outline-offset:-12px;background:var(--deep)}.radar-disc>.icon{color:var(--warning);margin-bottom:6px}.radar-disc>span{font-family:SKMono,monospace;font-size:27px}.radar-disc>small{font-size:9px;letter-spacing:.1em;color:var(--muted);margin-top:6px}.event-card{position:relative;padding:24px 0 24px 28px;border-top:1px solid var(--line)}.timeline-dot{position:absolute;top:30px;left:2px;width:7px;height:7px;border:1px solid var(--warning);transform:rotate(45deg)}.event-time{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);gap:16px;align-items:center;margin-bottom:16px}.event-card h3{font-size:22px;margin-bottom:16px}.event-card p{font-size:13px;color:var(--muted);margin-top:10px}.event-card small{font-size:11px;display:block;margin-top:16px;color:var(--warning)}.event-card.applied small{color:var(--muted)}.event-card.applied .timeline-dot{background:var(--accent);border-color:var(--accent)}.radar-view>.secondary{margin:20px 0;font-size:14px}
.results-shell{position:relative;isolation:isolate}.results-shell:before{content:'';position:absolute;z-index:-1;inset:0 0 auto;height:700px;background:linear-gradient(0deg,var(--bg),#101d18aa),url('./art/command-room.webp') center/cover}.results-banner{text-align:center;padding:24px 0 48px}.results-banner>.eyebrow{color:var(--copper)}.result-emblem{display:grid;place-items:center;width:76px;height:76px;border:1px solid var(--control);transform:rotate(45deg);margin:48px auto 40px;background:#1a2c2480}.result-emblem .icon{width:40px;height:40px;transform:rotate(-45deg);color:var(--accent)}.results-banner h1{font-size:clamp(34px,5vw,58px);margin-bottom:24px}.results-banner>p{color:var(--muted);font-size:16px;max-width:620px;margin:auto}.final-score{font-family:SKMono,monospace;font-size:clamp(38px,6vw,66px);font-weight:400;display:block;color:var(--accent);margin-top:28px;line-height:1.3}.final-score small{display:block;font-family:Onest,sans-serif;font-size:13px;font-weight:400;color:var(--muted);letter-spacing:.02em;margin-top:8px}.result-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;padding-top:32px;border-top:1px solid var(--line)}.result-layout h2{font-size:24px;margin-bottom:24px}.standings{margin-bottom:40px}.standings>div{display:flex;align-items:center;gap:16px;padding:20px 16px;border-bottom:1px solid var(--line);font-size:14px}.standings>div.you{background:var(--raised)}.standing-rank{font-family:SKMono,monospace;font-size:17px;color:var(--muted);width:20px}.standings b{flex:1;font-weight:500}.standings strong{font-family:SKMono,monospace;font-weight:450;font-size:17px}.debrief{background:var(--sheet);padding:32px;color:var(--paper-ink);align-self:start}.debrief .eyebrow{color:var(--paper-muted)}.debrief h2{margin:20px 0}.debrief p{font-size:15px;margin-top:20px}.result-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:48px;justify-content:center}.result-actions .primary{min-width:220px}.replay-controls{display:flex;gap:16px;align-items:center;padding:16px;background:var(--surface);border-block:1px solid var(--line);margin-bottom:24px}.replay-controls label{margin:0;white-space:nowrap;font-size:13px}.replay-controls input{flex:1;min-width:80px}.replay-controls .secondary{font-size:13px}.replay-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:32px}.replay-grid>aside{background:var(--surface);padding:24px}.replay-grid h2{font-size:24px;margin-bottom:16px}.replay-grid aside>p{font-size:13px;color:var(--muted)}.replay-plan>div{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.replay-plan h3{font-size:16px;margin-bottom:12px}.replay-plan p{font-size:13px;margin-top:10px}.replay-plan small{font-size:11px;color:var(--muted);display:block}.settings-page,.guide-page{max-width:1000px}.settings-list>div{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:28px 0;border-top:1px solid var(--line)}.settings-list h2{font-size:22px;margin-bottom:12px}.settings-list p{font-size:14px;color:var(--muted);max-width:580px}.settings-list>div>.secondary{flex:none;min-width:160px;font-size:14px}.setting-actions{display:flex;gap:8px}.setting-actions .secondary{font-size:13px}.guide-intro{background:var(--sheet);color:var(--paper-ink);padding:32px;margin:32px 0}.guide-intro ol{padding-left:24px;margin:20px 0 0}.guide-intro li{padding:8px 0 12px 8px;font-size:16px;line-height:1.6}.guide-intro b{font-weight:650}.glossary details{border-top:1px solid var(--line)}.glossary summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;min-height:70px;font-size:20px;padding:16px 0}.glossary summary::-webkit-details-marker{display:none}.glossary details[open] summary>.icon{transform:rotate(45deg)}.glossary details>p{font-size:16px;color:var(--muted);padding:0 0 24px;max-width:760px}.keyboard-note,.scope-note{border-top:1px solid var(--line);padding-top:24px;margin-top:32px}.keyboard-note h2,.scope-note h2{font-size:24px;margin-bottom:16px}.keyboard-note p,.scope-note p{font-size:15px;color:var(--muted)}
dialog{border:1px solid var(--control);background:var(--surface);color:var(--ink);box-shadow:var(--shadow);width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:40px;border-radius:4px;overflow:auto}dialog::backdrop{background:var(--overlay);backdrop-filter:blur(5px)}.modal-close{position:absolute;top:12px;right:12px;border:0}dialog>h2{font-size:clamp(27px,3vw,38px);padding-right:24px;margin-bottom:24px}dialog>.eyebrow{display:block;color:var(--copper);margin-bottom:16px;padding-right:20px}dialog>p{font-size:16px;color:var(--muted);margin-top:16px}dialog>.primary{margin-top:28px;width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.confirm-plan{padding:8px 20px;border:1px solid var(--line);margin-top:24px}.confirm-plan p{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.confirm-plan p:last-child{border:0}.confirm-plan b{font-weight:500}.confirm-plan small{display:block;color:var(--muted);margin-top:4px;font-size:12px}.report-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;border-block:1px solid var(--line);padding:20px 0;margin:24px 0}.report-kpis span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.report-kpis b{font-size:27px;font-weight:450;font-variant-numeric:tabular-nums}.report-kpis small{font-size:12px;color:var(--muted);font-weight:400}.round-results>div{display:grid;grid-template-columns:1.5fr 36px 72px 1.2fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center;font-size:12px}.round-results>div>span:nth-child(3){color:var(--accent);font-size:11px}.round-results>div>span:last-child{color:var(--muted);font-size:11px;text-align:right}.round-results b{font-family:SKMono,monospace;font-weight:450}.report-events{margin:24px 0}.report-events p{font-size:13px;color:var(--muted);margin-bottom:10px}.toast,.storage-notice{position:fixed;z-index:30;bottom:22px;left:50%;transform:translateX(-50%);background:var(--sheet);color:var(--paper-ink);padding:16px 20px;box-shadow:var(--shadow);max-width:min(620px,calc(100% - 32px));width:max-content;font-size:14px;display:flex;align-items:center;gap:16px;border:1px solid var(--paper-line);border-radius:3px}.toast .icon-button{padding:4px;border:0}.storage-notice{bottom:auto;top:12px;z-index:40;background:var(--warning);color:var(--deep);font-size:13px}.message.error{font-size:13px;padding:16px;border:1px solid var(--copper);margin-top:20px;max-width:350px;color:var(--danger)}.message .text-button{font-size:12px}
html[data-theme=light] .shell:not(.results-shell),html[data-theme=light] .operations,html[data-theme=light] .inspector{--bg:#e7ebe6;--surface:#dbe2d8;--raised:#cbd8c9;--deep:#f0f2e9;--ink:#244438;--muted:#50675a;--line:#b8c3b8;--control:#718675;--accent:#244438;--accent-deep:#1c382f;--copper:#a33f29;--warning:#7c511b;--danger:#a33f29;color-scheme:light;color:var(--ink)}html[data-theme=light] .shell .topbar{--ink:#e7ebe6;--muted:#adbbb0;--deep:#0b1713;--line:#3a5042}html[data-theme=light] .operations .battlefield,html[data-theme=light] .replay-grid .battlefield{--ink:#e7ebe6;--muted:#adbbb0;--line:#3a5042;--deep:#0b1713;--control:#738a77;--accent:#c7d8bd;background:radial-gradient(ellipse at 50% 45%,#2c4432,#0b1713)}html[data-theme=light] .inspector .primary,html[data-theme=light] .shell .primary{color:var(--sheet)}html[data-theme=light] .shell .mission-brief>.primary{background:var(--paper-ink);color:var(--sheet)}html.large-text{--text-size:18px}html.large-text .action-option b,html.large-text .action-detail>p:not(.fine),html.large-text .resource>span,html.large-text .rail-button{font-size:15px}html.large-text .hint,html.large-text .fine,html.large-text .action-option small{font-size:13px}
@media(hover:hover){button:hover:not(:disabled),summary:hover{background:var(--raised);border-color:var(--control)}.primary:hover:not(:disabled){background:var(--accent-deep);color:var(--deep);border-color:var(--accent-deep)}.title-menu .menu-primary:hover{background:#b5462d;border-color:var(--copper);color:var(--sheet)}.title-menu .menu-item:hover{background:#244438dd}.text-button:hover:not(:disabled){color:var(--copper);background:transparent;border-color:transparent}.district:hover .district-base{fill:#34513b;stroke-opacity:1}.mission-brief>.primary:hover{background:#1c382f}.title-screen .icon-button:hover,.title-screen .quiet:hover{background:#244438dd}}
@media(min-width:1700px){.title-content{padding-top:80px;width:640px}.title-menu{width:390px}.title-screen .title-description{font-size:16px}.war-room{grid-template-columns:180px minmax(0,1fr) 360px}.operations{padding:32px}.inspector-heading,.inspector-body{padding-inline:28px}.city-map{max-height:760px}.action-option b{font-size:14px}.action-option small{font-size:12px}.action-detail>p:not(.fine){font-size:14px}}
@media(max-width:1250px){.topbar{padding-inline:24px}.war-room{grid-template-columns:88px minmax(0,1fr) 300px}.game-rail{padding:20px 8px}.rail-button{flex-direction:column;gap:6px;text-align:center;font-size:10px;padding:12px 4px}.rail-button span{flex:0}.rail-button[aria-current=page]:before{left:-8px}.rail-button small{position:absolute;right:5px;top:4px}.rail-bottom .rail-button{font-size:10px}.resource{padding-inline:16px}.resource>b{font-size:22px}.resource-bar .planning-status{display:none}.resource-bar{justify-content:space-between}.resource:last-of-type{border:0}.operations{padding:24px 20px 0}.inspector-heading,.inspector-body{padding-inline:20px}.city-map{max-height:540px}.plan-chips{display:none}.plan-dock{justify-content:space-between}.setup-grid{gap:32px}.campaign-layout{gap:24px}.mission{padding:12px;gap:10px}.mission b{font-size:14px}.mission small{font-size:10px}.mission-num{font-size:17px}}
@media(max-width:1000px){.title-content{padding-top:48px;width:500px}.title-caption{right:4%;width:220px;bottom:110px}.title-caption strong{font-size:22px}.title-caption p{font-size:11px}.setup-page,.campaign-page,.settings-page,.guide-page,.results-page,.replay-page{padding:32px 28px 56px}.setup-grid{grid-template-columns:.8fr 1.2fr;gap:28px}.setup-brief{padding:24px}.scene-window{height:200px}.brief-numbers{gap:8px}.brief-numbers b{font-size:24px}.archetypes{grid-template-columns:1fr}.archetype{min-height:68px}.campaign-layout{grid-template-columns:1.1fr 1fr}.mission-grid{grid-template-columns:1fr}.mission{min-height:72px}.mission-brief{padding:24px}.war-room{grid-template-columns:76px minmax(0,1fr) 284px}.game-rail{padding-inline:6px}.rail-button{font-size:9px}.rail-button[aria-current=page]:before{left:-6px}.operations{padding-inline:16px}.operations-heading h1{font-size:24px}.inspector-heading h2{font-size:22px}.inspector-heading,.inspector-body{padding-inline:16px}.resource{padding-inline:12px}.resource>b{font-size:20px}.resource>span{font-size:11px}.month{padding-right:20px}.battlefield{min-height:350px}.map-legend{gap:10px;font-size:9px;padding:12px 8px}.event-ticker{flex-wrap:wrap;gap:8px}.event-ticker>.text-button{margin-left:auto}.event-ticker p{flex-basis:70%}.radar-head{flex-direction:column;align-items:flex-start;gap:24px}.radar-disc{width:130px;height:130px}.finance-totals{grid-template-columns:1fr 1fr}.finance-totals>div:nth-child(2){border-right:0}.finance-totals>div:nth-child(3){padding-left:0}.finance-totals>div{border-bottom:1px solid var(--line)}.finance-totals>div:nth-child(n+3){border-bottom:0}.rival-positions{grid-template-columns:1fr}.signal-grid{grid-template-columns:1fr}.result-layout{gap:28px}.replay-grid{grid-template-columns:1fr}.replay-grid .battlefield{min-height:500px}.replay-plan{display:grid;grid-template-columns:1fr 1fr;gap:24px}.replay-plan>div{margin-top:0}.round-results>div{grid-template-columns:1.4fr 30px 66px 1.2fr}}
@media(max-width:767px){.topbar{min-height:64px;padding:10px 20px;gap:16px}.brand{font-size:15px;gap:8px}.brand img{width:28px;height:28px}.topbar-context{display:none}.topbar nav{gap:2px}.topbar .quiet{padding:8px;min-width:44px}.desktop-label{display:none}.title-screen:before{background-position:64% top;background-size:auto 100%;opacity:.85}.title-screen:after{background:linear-gradient(90deg,#07130fe6,#07130f40),linear-gradient(0deg,#07130ff5 0%,#07130fbb 60%,#07130f11 100%)}.title-content{padding:40px 28px 32px;width:100%}.title-content>.eyebrow{font-size:10px;margin-bottom:24px}.game-title{font-size:clamp(66px,15vw,100px)}.title-rule{font-size:11px;gap:12px;margin-top:20px}.title-rule>i{width:70px}.title-lead{font-size:22px}.title-description{font-size:14px;max-width:330px}.title-menu{width:100%;max-width:350px;margin-top:24px}.title-menu .menu-item{background:#10241be6;min-height:52px}.title-menu .menu-primary{font-size:20px}.title-caption{display:none}.title-screen .footer>span:last-child{display:none}.footer{padding:20px;align-items:flex-start;flex-wrap:wrap;gap:8px;font-size:10px}.footer>span:last-child{display:none}.title-screen .footer{font-size:9px}.title-screen .model-note{margin-top:20px;font-size:11px}.setup-page,.campaign-page,.settings-page,.guide-page,.results-page,.replay-page{padding:24px 22px 48px}.page-heading{margin-bottom:28px}.page-heading>.text-button{margin-bottom:20px}.page-heading>.eyebrow{font-size:10px}.page-heading h1{font-size:34px}.page-heading p{font-size:16px}.setup-grid{grid-template-columns:1fr}.setup-art{display:grid;grid-template-columns:130px minmax(0,1fr)}.scene-window{height:100%;min-height:180px;background-position:80% 50%}.setup-brief{padding:20px}.setup-brief>.eyebrow{font-size:10px}.setup-brief h2{font-size:22px;margin:10px 0}.setup-brief>p{font-size:13px}.setup-brief>.fine{display:none}.brief-numbers{padding:12px 0;margin:16px 0 0;gap:8px;border-bottom:0}.brief-numbers b{font-size:20px}.brief-numbers span{font-size:10px}.archetypes{grid-template-columns:1fr 1fr}.archetype{padding:12px 10px;gap:8px;min-height:88px}.archetype b{font-size:13px}.archetype small{font-size:10px}.form-row{gap:12px}.campaign-layout{grid-template-columns:1fr}.mission-grid{grid-template-columns:1fr 1fr;gap:8px}.mission{min-height:96px;flex-wrap:wrap;gap:8px;padding:12px}.mission-num{font-size:14px}.mission>span:nth-child(2){flex-basis:calc(100% - 42px)}.mission .icon{display:none}.mission b{font-size:13px}.mission small{font-size:10px}.mission-brief{position:static;order:-1;padding:24px}.mission-brief blockquote{font-size:17px;margin-bottom:20px}.mission-brief h2{font-size:27px}.mission-brief dl{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.mission-brief dl>div{display:block;font-size:12px}.mission-brief dd{margin-top:6px}.mission-brief>.primary{font-size:14px}.resource-bar{position:relative;padding:14px 14px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px 0;min-height:130px}.month{padding:4px 10px 4px 0;text-align:center;grid-row:span 2;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.month>b{font-size:30px}.month small{font-size:12px}.month>span{font-size:9px;margin-bottom:6px}.resource{padding:0 10px;min-height:38px;border:0}.resource>b{font-size:20px}.resource small{font-size:10px}.resource>span{font-size:10px;margin-bottom:4px}.resource-bar .planning-status{display:none}.war-room{grid-template-columns:1fr;min-height:0}.game-rail{display:grid;grid-template-columns:repeat(6,1fr);gap:0;padding:4px 8px;border-right:0;border-bottom:1px solid var(--line);order:0}.rail-button{font-size:9px;gap:6px;padding:8px 2px;min-height:58px;line-height:1.2}.rail-button>.icon{width:18px;height:18px}.rail-button[aria-current=page]:before{left:calc(50% - 10px);bottom:-4px;top:auto;width:20px;height:2px}.rail-bottom{display:none}.rail-button small{right:0;top:0;font-size:9px}.operations{padding:24px 18px 0;order:1}.operations-heading{margin-bottom:20px}.operations-heading h1{font-size:27px}.operations-heading .eyebrow{font-size:9px;letter-spacing:.08em}.operations-heading>.tag{font-size:10px;max-width:140px;text-align:right}.operations-heading>.secondary{display:none}.map-desktop{display:none}.map-mobile-list{display:block}.battlefield{min-height:320px}.city-map{max-height:440px}.cluster-row{gap:12px;padding:16px 8px;min-height:82px}.cluster-row b{font-size:14px}.cluster-row small{font-size:11px}.cluster-row .position{font-size:12px;max-width:72px}.cluster-row>.icon{display:none}.cluster-list .list-index{font-size:12px}.inspector{border-left:0;border-top:1px solid var(--line);order:2;padding-bottom:12px}.inspector-heading{padding:24px 22px}.inspector-heading h2{font-size:27px;margin:12px 0 20px}.cluster-kpis{grid-template-columns:repeat(3,1fr);gap:16px}.cluster-kpis>div:first-child{grid-column:auto;display:block;border:0;padding:0}.cluster-kpis>div:first-child b{font-size:27px}.cluster-kpis b{font-size:27px}.cluster-kpis span{font-size:11px;margin-bottom:6px}.inspector-body{padding:24px 22px}.inspector-body>label{font-size:14px}.action-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.action-option{border:1px solid var(--line);border-radius:3px;padding:12px;min-height:88px}.action-option>span{align-items:flex-start;gap:8px}.action-option b{font-size:13px}.action-option small{margin-left:0;margin-top:12px;font-size:11px}.action-option[aria-pressed=true]{border-color:var(--accent)}.action-option[aria-pressed=true]:before{display:none}.action-detail{padding-top:24px;margin-top:24px}.action-detail>p:not(.fine){font-size:15px}.action-detail h3{font-size:24px}.action-facts{font-size:14px}.forecast{font-size:13px}.action-detail>.fine{font-size:12px}.action-detail .primary{font-size:16px}.validation-reason{font-size:13px}.plan-dock{gap:12px;min-height:88px;padding:16px 18px;flex-wrap:wrap}.plan-dock>div:first-child{min-width:0;flex:1}.plan-dock .eyebrow{font-size:9px}.plan-dock p{font-size:11px;max-width:160px;line-height:1.45}.plan-dock>.primary{padding:12px 16px;font-size:13px;gap:8px;min-height:48px;margin:0}.plan-dock>.primary>.icon:first-child{display:none}.plan-dock>.primary>.icon:last-child{width:16px;height:16px}.update-strip{font-size:11px;padding:12px;gap:10px}.update-strip b{font-size:12px}.objective-strip{padding:12px;gap:8px;font-size:11px;align-items:flex-start;flex-wrap:wrap}.objective-strip>span{flex-basis:calc(100% - 38px)}.objective-strip>b{margin-left:28px;font-size:11px}.event-ticker{padding:20px 0}.event-ticker>.eyebrow{font-size:9px}.event-ticker p{font-size:12px}.site-summary{margin-bottom:16px}.site-stats{gap:12px;font-size:11px}.signal-sheet{padding:20px 16px}.signal-grid{grid-template-columns:1fr 1fr;gap:20px 16px}.meter>div{display:block}.meter b{display:block;margin-top:4px;font-size:13px}.meter span{font-size:11px}.finance-totals{grid-template-columns:repeat(2,1fr)}.finance-totals b{font-size:27px}.income-chart{gap:4px;height:160px}.income-chart span{font-size:8px}.income-chart small{font-size:9px}.formula-note{padding:20px}.rival-positions{grid-template-columns:1fr 1fr;gap:4px 16px}.rival-list article{padding:20px}.rival-positions>div{font-size:11px}.rival-emblem{right:24px;top:26px;width:36px;height:36px}.rival-emblem .icon{width:20px;height:20px}.radar-head{flex-direction:row;gap:20px;align-items:center}.radar-disc{width:100px;height:100px;outline-offset:-8px}.radar-disc>.icon{width:18px;height:18px}.radar-disc>span{font-size:20px}.radar-disc>small{font-size:7px}.radar-head h2{font-size:24px}.radar-head .eyebrow{font-size:9px}.radar-head p{font-size:12px}.radar-head h2 br{display:none}.event-card{padding-left:22px}.event-card h3{font-size:22px}.results-banner{padding-top:24px}.results-banner>.eyebrow{font-size:10px}.result-emblem{width:60px;height:60px;margin:36px auto}.result-emblem .icon{width:32px;height:32px}.results-banner h1{font-size:38px}.results-banner>p{font-size:15px}.final-score{font-size:46px}.result-layout{grid-template-columns:1fr;padding-top:24px}.standings>div{gap:10px;padding:16px 10px;font-size:12px}.standings strong{font-size:15px}.debrief{padding:24px}.result-actions{margin-top:32px;gap:10px}.result-actions .primary{width:100%}.result-actions .secondary{font-size:13px;flex:1}.replay-controls{padding:12px;gap:10px;flex-wrap:wrap}.replay-controls>label{font-size:12px}.replay-controls>.secondary{margin-left:auto}.replay-controls input{order:5;flex-basis:100%}.replay-grid .battlefield{min-height:320px}.replay-plan{grid-template-columns:1fr 1fr;gap:20px}.settings-list>div{align-items:flex-start;flex-direction:column;gap:20px;padding:24px 0}.settings-list h2{font-size:24px}.settings-list p{font-size:16px}.settings-list>div>.secondary{min-width:180px}.guide-intro{padding:24px}.guide-intro ol{padding-left:20px}.guide-intro li{font-size:16px;padding-left:4px}.glossary summary{font-size:20px}.glossary details>p{font-size:16px}dialog{padding:32px 22px;max-height:calc(100dvh - 24px);width:calc(100% - 24px)}dialog>h2{font-size:27px}dialog>.eyebrow{font-size:10px}dialog>p{font-size:15px}.report-kpis{gap:12px}.report-kpis b{font-size:24px}.report-kpis small{font-size:10px}.report-kpis span{font-size:11px}.round-results>div{grid-template-columns:1fr 32px 60px;gap:8px;font-size:12px}.round-results>div>span:last-child{grid-column:1 / -1;text-align:left;font-size:11px;margin-top:-4px}.report-events p{font-size:13px}.dialog-actions{flex-direction:column-reverse;gap:12px}.dialog-actions>button{width:100%}.toast{bottom:105px;padding:12px 16px;font-size:13px}.storage-notice{font-size:12px;flex-wrap:wrap;padding:12px}.message.error{max-width:100%}}
@media(max-width:359px){.topbar{padding-inline:12px}.topbar .brand{font-size:13px;gap:6px}.topbar nav{gap:0}.title-content{padding:32px 22px 28px}.game-title{font-size:66px}.title-content>.eyebrow{font-size:9px}.title-lead{font-size:20px}.title-description{font-size:13px}.title-menu .menu-item{font-size:14px;padding-inline:14px}.menu-secondary .text-button{font-size:11px}.title-rule{font-size:10px}.setup-page,.campaign-page,.settings-page,.guide-page,.results-page,.replay-page{padding-inline:16px}.setup-art{grid-template-columns:1fr}.scene-window{min-height:140px;max-height:140px}.archetypes{grid-template-columns:1fr}.archetype{min-height:70px}.mission-grid{grid-template-columns:1fr}.mission{min-height:70px}.mission-brief{padding:20px}.page-heading h1{font-size:30px}.resource-bar{padding-inline:8px}.resource{padding-inline:8px}.resource>b{font-size:18px}.resource>span{font-size:9px}.month>b{font-size:27px}.game-rail{grid-template-columns:repeat(3,1fr)}.rail-button{font-size:11px;min-height:52px;flex-direction:row;gap:8px;padding:12px 6px}.rail-button[aria-current=page]:before{bottom:0}.rail-button>span{max-width:70px}.operations{padding-inline:16px}.operations-heading h1{font-size:24px}.cluster-row{gap:8px;padding-inline:4px}.cluster-row b{font-size:13px}.cluster-row small{font-size:10px}.cluster-row .position{font-size:10px}.inspector-heading,.inspector-body{padding-inline:16px}.cluster-kpis b,.cluster-kpis>div:first-child b{font-size:24px}.cluster-kpis span{font-size:10px}.action-list{grid-template-columns:1fr}.action-option{min-height:74px}.plan-dock{padding:12px 14px;gap:8px}.plan-dock>.primary{font-size:12px;padding:12px}.plan-dock>.primary>.icon{display:none}.plan-dock p{font-size:10px;max-width:130px}.plan-dock .eyebrow{font-size:8px}.radar-head{flex-direction:column;align-items:flex-start}.signal-grid,.rival-positions{grid-template-columns:1fr}.replay-plan{grid-template-columns:1fr}.results-banner h1{font-size:34px}.round-results>div{grid-template-columns:1fr 30px 56px}.dialog-actions .primary{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}html[data-motion=reduced] *,html[data-motion=reduced] *:before,html[data-motion=reduced] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media print{body{background:var(--sheet);color:var(--paper-ink)}.topbar,.game-rail,.plan-dock,.inspector,.result-actions,.footer,.toast,.storage-notice,button,.skip-link{display:none!important}.war-room,.result-layout,.replay-grid{display:block}.shell,.operations,.debrief{background:transparent;color:inherit}.finance-totals,.standings>div{break-inside:avoid}.results-page,.replay-page{padding:0}.battlefield{break-inside:avoid}.fine{color:var(--paper-muted)}details{display:block}details>*{display:block!important}}

/* Compact inspector: the action and its consequences stay together. */
.action-picker-label{margin-top:16px}.inspector-body #action-picker{width:100%;font-size:14px;min-height:48px;background:var(--deep)}
@media(min-width:768px){.inspector-heading{padding:22px 24px 18px}.inspector-heading h2{font-size:22px;margin:10px 0 18px}.cluster-kpis{grid-template-columns:repeat(3,1fr);gap:12px}.cluster-kpis>div:first-child{grid-column:auto;display:block;border:0;padding:0}.cluster-kpis>div:first-child b,.cluster-kpis b{font-size:24px}.cluster-kpis span{font-size:10px;margin-bottom:5px}.inspector-body{padding-top:18px}.action-detail{margin-top:20px;padding-top:18px}.action-detail h3{margin:10px 0;font-size:20px}.action-facts{margin:16px 0;gap:12px}.action-detail>.fine{font-size:11px}.action-detail>.primary{margin-top:16px}.forecast{padding:10px;font-size:10px}.forecast b{font-size:14px}.war-room{align-items:start}.game-rail{align-self:stretch}.operations{align-self:stretch}.inspector{align-self:stretch}}
@media(min-width:1251px){.game-rail{min-height:calc(100dvh - 250px)}.map-desktop{flex:1;display:flex;flex-direction:column}.map-desktop>.battlefield{flex:1}.city-map{max-height:580px}}
@media(max-width:767px){.inspector-body #action-picker{font-size:16px}.action-picker-label{font-size:14px}.action-detail>.fine{font-size:12px}}

@media(max-width:767px){.resource{min-height:44px}}

.toast{top:84px;bottom:auto;pointer-events:none}.toast button{pointer-events:auto}
@media(max-width:767px){.inspector{padding-bottom:116px}.action-detail>.primary{scroll-margin-block:140px}.toast{top:76px;bottom:auto;font-size:12px}}

/* Review 2: one viewport is a command desk; the dock owns its own row. */
html{scroll-padding-bottom:24px}
button{scroll-margin-block:16px}
.plan-review{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;padding:8px 12px;border-color:var(--control)}
.plan-summary{display:grid;grid-template-columns:1fr auto;column-gap:16px;align-items:center}
.plan-summary>p{grid-column:1}.plan-review{grid-column:2;grid-row:1 / span 2}
.inspector-heading #cluster-picker{font-size:14px;min-height:46px;margin:0 0 18px;background:var(--deep);border-color:var(--control)}
.inspector-heading>.eyebrow{display:block}.map-instruction{font-size:14px;color:var(--muted);padding:0 0 16px}
.inspector-jump{width:100%;margin-top:16px}.inspector:focus-visible{outline:2px solid var(--warning);outline-offset:-3px}
.replay-privacy-note{font-size:13px;color:var(--muted);line-height:1.6;margin:16px 0;border-block:1px solid var(--line);padding:14px 0}
.plan-dialog-summary{display:flex;justify-content:space-between;gap:16px;padding:16px 0;margin-top:24px;border-block:1px solid var(--line);font-size:14px}
.plan-dialog-summary>b{font-weight:550}.plan-dialog-summary>span{color:var(--muted)}
.plan-dialog-list>article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.plan-dialog-list h3{font-size:18px;margin-bottom:8px}.plan-dialog-list p{font-size:14px;color:var(--muted)}.plan-dialog-list small{display:block;color:var(--muted);font-size:12px;margin-top:5px}
.plan-dialog-list .icon-button{color:var(--copper);border-color:var(--control)}
/* Meaningful data is at least 12px. Technical coordinate decoration stays smaller. */
.inspector-heading>.eyebrow,.inspector-body>label,.cluster-kpis span,.action-detail>.eyebrow,.action-facts,.action-detail>.fine,.validation-reason{font-size:12px}
.forecast{font-size:12px;line-height:1.55}.forecast b{font-size:16px}.inspector-body #action-picker,.inspector-body #action-group{font-size:14px}
.map-legend{font-size:12px;padding:12px;gap:8px 16px}.legend-help{font-size:11px}
.operations-heading .eyebrow,.event-ticker>.eyebrow{font-size:11px}.event-ticker p{font-size:13px}
.cluster-row small{font-size:12px}.cluster-row b{font-size:16px}.cluster-row .position{white-space:nowrap;max-width:none}
.resource>span{font-size:12px}.resource small{font-size:12px}.resource{min-height:44px}
.site-stats{font-size:13px}.meter span{font-size:13px}.meter small{font-size:11px}
.rival-list .eyebrow,.rival-list p,.rival-positions>div,.event-card p,.event-card small,.event-time,.formula-note p{font-size:13px}
.finance-totals span,.cashflow-list>div,.formula-note .fine{font-size:12px}.income-chart span{font-size:11px}.income-chart small{font-size:12px}
.mission small{font-size:12px}.mission b{font-size:16px}.archetype b{font-size:16px}.archetype small{font-size:12px}
.title-menu .menu-item>small,.menu-primary small,.model-note{font-size:12px}
.settings-list>div>.secondary{min-width:172px}.setting-actions{flex-wrap:wrap}.setting-actions .secondary{min-height:48px}
.replay-grid{align-items:start}.replay-controls{position:sticky;top:0;z-index:2;background:var(--surface)}
.replay-controls label{font-size:14px}.replay-plan h3{font-size:17px}.replay-plan p{font-size:14px}.replay-plan small{font-size:12px}
.title-content:focus,.operations:focus,.setup-page:focus,.campaign-page:focus,.guide-page:focus,.settings-page:focus,.results-page:focus,.replay-page:focus{outline:none}
@media(min-width:1100px) and (min-height:740px){
  .game-shell{height:100dvh;min-height:740px;display:grid;grid-template-rows:64px 78px minmax(0,1fr) auto;overflow:hidden}
  .game-shell>.topbar{min-height:64px;padding:10px 24px}
  .game-shell>.resource-bar{min-height:0;padding:8px 24px}
  .resource{padding:2px 20px;min-height:56px}.resource>b{font-size:22px}.month>b{font-size:27px}
  .war-room{height:auto;min-height:0;grid-template-columns:148px minmax(0,1fr) 340px;align-items:stretch;overflow:hidden}
  .game-rail{min-height:0;padding:16px 10px;overflow:auto;scrollbar-width:thin}.rail-button{font-size:13px;min-height:48px;padding:10px 8px}
  .rail-button[aria-current=page]:before{left:-10px}.rail-bottom{padding-top:24px}
  .operations{min-height:0;padding:20px 20px 0;overflow:hidden;align-self:stretch;display:flex;flex-direction:column}
  .operations-heading{margin-bottom:16px;flex:none}.operations-heading h1{font-size:27px}.objective-strip,.update-strip{flex:none}
  .operations-body{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-gutter:stable;overscroll-behavior:contain;padding-bottom:4px}
  .operations-body>.map-desktop{display:flex;height:100%;min-height:0;flex-direction:column}
  .operations-body>.map-desktop>.battlefield{height:100%;flex:1;min-height:0;justify-content:stretch}
  .operations-body>.map-desktop .city-map{width:100%;height:0;min-height:0;max-height:none;flex:1;aspect-ratio:900 / 560}
  .map-legend{flex:none}.event-ticker{min-height:58px;flex:none;margin:0;padding:12px 0;gap:12px}
  .inspector{overflow:auto;min-height:0;padding-bottom:20px;scrollbar-width:thin;scrollbar-gutter:stable;overscroll-behavior:contain;align-self:stretch}
  .inspector-heading{padding:20px}.inspector-heading h2{font-size:22px;margin:10px 0 16px}.inspector-heading #cluster-picker{margin-bottom:16px;font-size:13px}
  .cluster-kpis>div:first-child b,.cluster-kpis b{font-size:22px}.cluster-kpis span{font-size:11px}
  .inspector-body{padding:18px 20px}.inspector-body>select{min-height:44px}.action-picker-label{margin-top:14px}
  .action-detail{margin-top:18px;padding-top:18px}.action-detail h3{font-size:20px}.action-detail>p:not(.fine):not(.forecast):not(.validation-reason):not(.inline-alert){font-size:14px}
  .action-facts{margin:16px 0;gap:12px}.forecast{font-size:12px;padding:12px}.action-detail>.fine{font-size:12px}.action-detail>.primary{margin-top:16px;min-height:48px}
  .plan-dock{position:static;min-height:84px;max-height:160px;overflow:auto;margin:0;padding:14px 24px;box-shadow:none;z-index:auto;gap:20px}
  .plan-dock>.plan-summary{min-width:320px}.plan-dock .eyebrow{font-size:11px}.plan-dock p{font-size:12px}.plan-chips{display:flex;max-height:100px;overflow:auto}
  .plan-chip{font-size:12px;max-width:260px}.plan-dock>.primary{font-size:15px;min-height:48px}
  .rail-bottom .rail-button{font-size:12px}
}
@media(min-width:768px) and (max-width:1099px){
  .war-room{grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:'nav nav' 'main inspector';min-height:0;align-items:start}
  .game-rail{grid-area:nav;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding:8px 20px;border-right:0;border-bottom:1px solid var(--line)}
  .rail-button{flex-direction:row;gap:8px;justify-content:center;font-size:12px;min-height:48px}.rail-button span{flex:0}.rail-button[aria-current=page]:before{display:none}.rail-bottom{display:none}
  .operations{grid-area:main;min-height:0;padding:24px 20px 0}.inspector{grid-area:inspector;align-self:stretch;padding:0 0 24px;overflow:visible}
  .operations-body{min-height:0;overflow:visible}.map-desktop{display:block}.map-mobile-list{display:none}.battlefield{min-height:0}.city-map{max-height:none;min-height:0;height:auto;aspect-ratio:900 / 560}
  .map-legend{font-size:11px;gap:8px}.map-legend .legend-help{font-size:10px}.plan-dock{position:static;box-shadow:none;flex-wrap:wrap;padding:18px 24px}.plan-dock>.plan-summary{flex:1;min-width:260px}.plan-chips{display:none}
  .inspector-heading{padding:24px 20px}.inspector-body{padding:20px}.cluster-kpis{grid-template-columns:repeat(3,1fr);gap:8px}.cluster-kpis span{font-size:10px}.cluster-kpis b,.cluster-kpis>div:first-child b{font-size:20px}
}
@media(min-width:1100px) and (max-height:739px){
  .war-room{align-items:stretch;min-height:0}.operations-body{overflow:visible}.plan-dock{position:static;box-shadow:none}.inspector{padding-bottom:24px}.city-map{max-height:520px;min-height:0}
}
/* Title menu fits a normal laptop viewport without compressing readable text. */
@media(min-width:768px) and (min-height:740px) and (max-height:980px){
  .title-screen .topbar{min-height:64px;padding-block:10px}.title-content{padding-top:28px;padding-bottom:24px;width:540px}
  .title-content>.eyebrow{margin-bottom:18px;font-size:11px}.game-title{font-size:80px}.title-rule{margin:16px 0 20px;font-size:12px}.title-lead{font-size:22px;line-height:1.3}.title-description{margin-top:12px;font-size:14px}
  .title-menu{margin-top:24px;gap:6px}.title-menu .menu-primary{padding:13px 18px;font-size:22px;min-height:72px}.title-menu .menu-item{min-height:48px;padding:10px 18px}.menu-secondary{margin-top:2px}.title-screen .model-note{margin-top:18px}
  .title-screen .footer{padding-block:18px;min-height:52px}.title-caption{bottom:90px}
}
@media(max-width:767px){
  .game-shell{display:block;min-height:100dvh}.war-room{display:flex;flex-direction:column;min-height:0}.game-rail{align-self:stretch;display:grid;grid-template-columns:repeat(3,1fr);padding:8px 12px;gap:4px}
  .game-rail>.rail-button{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:12px;min-height:46px;line-height:1.2;gap:8px;padding:8px 4px}.rail-button span{flex:none}.rail-button[aria-current=page]:before{display:none}.rail-button small{position:static}
  .operations{width:100%;padding:24px 18px 0}.operations-body{overflow:visible}.operations-heading .eyebrow{font-size:11px}.operations-heading h1{font-size:30px}.resource-bar{padding:14px 12px;gap:12px 0}.resource>span{font-size:12px}.resource>b{font-size:22px}.resource small{font-size:11px}.month>span{font-size:11px}
  .map-desktop{display:none}.map-mobile-list{display:block}.cluster-row{padding:16px 10px;gap:12px;min-height:88px}.cluster-row b{font-size:16px}.cluster-row small{font-size:12px}.cluster-row .position{font-size:13px;max-width:78px;white-space:normal}.list-index{font-size:13px}
  .inspector{width:100%;padding:0 0 28px;border-top:1px solid var(--control);overflow:visible;margin-top:12px;scroll-margin-top:20px}.inspector-heading{padding:24px 22px}.inspector-heading #cluster-picker{font-size:16px;min-height:48px;margin-bottom:20px}.inspector-heading>.eyebrow{font-size:12px}.inspector-heading h2{font-size:30px}
  .cluster-kpis>div:first-child b,.cluster-kpis b{font-size:27px}.cluster-kpis span{font-size:12px}.inspector-body{padding:24px 22px}.inspector-body>label{font-size:14px}.inspector-body #action-picker,.inspector-body #action-group{font-size:16px}
  .action-detail{margin-top:24px;padding-top:24px}.action-detail>.eyebrow{font-size:12px}.action-detail h3{font-size:24px}.action-detail>p:not(.fine):not(.forecast):not(.validation-reason):not(.inline-alert){font-size:16px}.action-facts{font-size:14px}.forecast{font-size:13px;padding:14px}.forecast b{font-size:18px}.action-detail>.fine,.validation-reason{font-size:13px}.action-detail>.primary{scroll-margin-block:24px;font-size:16px}
  .plan-dock{position:static;bottom:auto;min-height:0;padding:20px 18px;box-shadow:none;display:flex;flex-direction:column;align-items:stretch;gap:16px;border-top:1px solid var(--control)}
  .plan-dock>.plan-summary{min-width:0;flex:none;width:100%;grid-template-columns:1fr auto}.plan-dock .eyebrow{font-size:11px}.plan-dock p{font-size:13px;max-width:none}.plan-dock>.primary{width:100%;margin:0;font-size:16px;min-height:52px;justify-content:center}.plan-dock>.primary>.icon:first-child{display:inline-block}.plan-dock>.primary>.icon:last-child{margin-left:auto}.plan-chips{display:none}.plan-review{font-size:13px}
  .toast{top:auto;bottom:16px;max-width:calc(100% - 32px);font-size:13px;padding:14px 16px}.storage-notice{top:8px;bottom:auto;max-width:calc(100% - 24px)}
  .mission b{font-size:15px}.mission small{font-size:12px}.mission{min-height:112px}.mission-grid{grid-template-columns:1fr 1fr}.mission-brief{scroll-margin-top:20px}.archetype b{font-size:15px}.archetype small{font-size:12px}.archetype{min-height:100px}.rival-positions>div{font-size:12px}.income-chart span{font-size:10px}.income-chart{gap:6px}
  .replay-controls{gap:8px;top:0}.replay-controls label{font-size:13px}.replay-controls .secondary{font-size:13px;padding:10px 14px}.replay-grid .battlefield{min-height:0}.replay-grid .city-map{min-height:0;max-height:none;aspect-ratio:900 / 560}.replay-grid>aside{padding:22px}.replay-plan{display:block}.replay-plan>div{margin-top:20px}.replay-plan h3{font-size:18px}.replay-plan p{font-size:15px}.replay-plan small{font-size:13px}
  .report-kpis{gap:12px}.report-kpis span{font-size:12px}.round-results>div{font-size:13px}.round-results>div>span:nth-child(3),.round-results>div>span:last-child{font-size:12px}.report-events p{font-size:14px}.dialog-actions>.primary,.dialog-actions>.secondary{min-height:50px}.confirm-plan p{font-size:15px}.confirm-plan small{font-size:13px}
}
@media(max-width:359px){
  .resource>b{font-size:20px}.resource>span{font-size:10px}.resource small{font-size:10px}.month>span{font-size:10px}.game-rail>.rail-button{font-size:11px;gap:6px}.cluster-row b{font-size:15px}.cluster-row small{font-size:12px}.cluster-row .position{font-size:12px;max-width:72px}.inspector-heading,.inspector-body{padding-inline:18px}.inspector-heading h2{font-size:27px}.cluster-kpis span{font-size:11px}.mission-grid{grid-template-columns:1fr}.archetypes{grid-template-columns:1fr}.archetype{min-height:78px}.title-menu .menu-item{font-size:16px}.menu-secondary .text-button{font-size:12px}.plan-dock{padding:20px 16px}
}
@media print{.game-shell{display:block;height:auto;overflow:visible}.operations-body,.inspector{overflow:visible;height:auto}.operations-body>.map-desktop .city-map{height:auto;min-height:360px}}

.ruleset-label{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:8px;letter-spacing:0;font-weight:400}.results-banner>.ruleset-label{margin-top:12px}.replay-page>.ruleset-label{margin:0 0 16px}
.topbar{color:var(--ink)}
@media(min-width:1100px) and (max-width:1279px) and (min-height:740px){.war-room{grid-template-columns:88px minmax(0,1fr) 320px}.game-rail{padding-inline:8px}.rail-button{flex-direction:column;text-align:center;font-size:11px;gap:6px;padding:10px 4px;min-height:62px}.rail-bottom .rail-button{font-size:11px}.rail-button[aria-current=page]:before{left:-8px}}
.district-name{font-size:21px}.district-stat{font-size:16px}.rank-label{font-size:18px}

.victory-strip{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55;border-block:1px solid var(--line);padding:12px 0;margin-bottom:14px;flex:none;color:var(--muted)}.victory-strip .icon{width:18px;height:18px;color:var(--accent);margin-top:1px}.victory-strip b{font-weight:550;color:var(--ink)}
@media(max-width:767px){.victory-strip{font-size:14px;margin-bottom:20px}}

.conversion-readout{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:12px 0;border-block:1px solid var(--line);font-size:12px;color:var(--muted)}.conversion-readout b{font-family:SKMono,monospace;color:var(--accent);font-size:20px;white-space:nowrap;font-weight:450}.conversion-explanation{font-size:12px;color:var(--muted);line-height:1.6;margin-top:12px}.signal-sheet .conversion-readout{margin:0 0 24px}.conversion-guide{margin:32px 0;border-top:1px solid var(--line);padding-top:24px}.conversion-guide h2{font-size:24px;margin-bottom:16px}.conversion-guide p{font-size:15px;color:var(--muted);margin-top:16px}
.dialog-toolbar{display:flex;justify-content:flex-end;margin:-18px -18px 16px}.dialog-toolbar .modal-close{position:static;width:auto;min-width:100px;min-height:44px;gap:8px;padding:8px 12px;color:var(--ink);font-size:13px;border:1px solid var(--control)}dialog>h2{padding-right:0}dialog .icon{color:inherit;fill:currentColor}.plan-remove{font-size:13px;min-height:44px;padding:8px 12px;gap:8px;flex:none;color:var(--copper)}.plan-remove>.icon{width:16px;height:16px}
@media(max-width:767px){.conversion-readout{font-size:14px}.conversion-explanation{font-size:13px}.conversion-guide p{font-size:16px}.dialog-toolbar{margin:-12px -8px 14px}.plan-dialog-list>article{align-items:flex-start;gap:12px}.plan-remove{padding:8px 10px;font-size:12px}.plan-remove>.icon{display:none}}

.tl-body{--tl-bg:#0b201b;--tl-panel:#122c24;--tl-raised:#19362b;--tl-line:#355244;--tl-ink:#e9eedf;--tl-muted:#a2b6a2;--tl-green:#c1d79a;--tl-gold:#e4c58f;--tl-red:#f0ad92;background:var(--tl-bg);color:var(--tl-ink);font-size:14px}
.tl-client-request{display:flex;align-items:center;gap:20px;margin-top:15px;padding:18px 22px;border:1px solid #7d8353;border-radius:9px;background:#303d29}.tl-client-request h2{font-size:17px;margin:5px 0}.tl-client-request p{font-size:12px;line-height:1.65;color:#c2ceb1}.tl-client-request small{font-size:9px;color:#e6d195}.tl-client-request span{display:block;font-size:10px;color:#aebc9c;margin-top:8px}.tl-request-avatar{flex-shrink:0}.tl-request-actions{display:flex;flex-direction:column;gap:6px;margin-left:auto;flex-shrink:0}.tl-request-actions button{font-size:11px;min-height:38px}.tl-incidentbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#4a3525;border:1px solid #b78a59;border-radius:7px;padding:12px 18px;margin-top:14px}.tl-incidentbar b{font-size:12px;color:#efc69c}.tl-incidentbar button{font-size:11px;min-height:36px}.tl-task-deadline{color:var(--tl-gold)!important}
@media(max-width:760px){.tl-client-request{display:grid;grid-template-columns:38px 1fr;padding:14px;gap:12px}.tl-request-avatar svg{width:38px;height:38px}.tl-request-actions{grid-column:1/-1;margin:0;flex-direction:row}.tl-request-actions button{flex:1;min-height:44px}.tl-client-request h2{font-size:15px}.tl-client-request p{font-size:11px}}
.tl-body button,.tl-body select,.tl-body input{min-height:44px;font-size:13px;border-radius:6px;border-color:var(--tl-line)}
.tl-body button:hover:not(:disabled){background:#2e503b;border-color:#91ab7e;color:#f2f5e9}
.tl-body button:disabled{opacity:.4}.tl-body select,.tl-body input:not([type=checkbox]){background:#0e251e;color:var(--tl-ink);padding:10px 12px;width:100%;font-family:Onest}
.tl-body select{cursor:pointer}.tl-body option{background:#142c24;color:#e9eedf}.tl-body label{display:flex;flex-direction:column;gap:7px;color:var(--tl-muted);font-size:12px}
.tl-body h1,.tl-body h2,.tl-body h3{font-weight:550}.tl-body h2{font-size:16px;letter-spacing:-.025em}.tl-body small{font-size:11px}
.tl-body .tl-primary{background:var(--tl-green);color:#152d21;border-color:var(--tl-green);font-weight:650;padding:11px 20px}
.tl-body .tl-primary:hover:not(:disabled){background:#d9e8bd;color:#0e2519;border-color:#d9e8bd}
.tl-header{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:17px 30px;border-bottom:1px solid var(--tl-line);position:relative;background:#0e241d;z-index:3}
.tl-brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-weight:650;font-size:17px;line-height:1.05;letter-spacing:.025em;flex-shrink:0}.tl-brand small{display:block;font-family:SKMono;font-size:10px;letter-spacing:.22em;color:var(--tl-green);margin-top:6px}
.tl-header-title{font-family:SKMono;font-size:11px;letter-spacing:.08em;color:var(--tl-gold)}.tl-header-title span{color:var(--tl-muted)}.tl-header nav{display:flex;gap:6px}.tl-header nav button{padding:7px 12px;background:transparent;border-color:transparent;color:var(--tl-muted)}
.tl-shell main{max-width:1920px;margin:auto;padding:0 24px 24px}.tl-commandbar{display:flex;align-items:center;gap:32px;padding:17px 8px;border-bottom:1px solid var(--tl-line);position:sticky;top:0;background:#0b201bf5;backdrop-filter:blur(10px);z-index:5}
.tl-commandbar small{display:block;color:var(--tl-muted);font-family:SKMono;font-size:9px;letter-spacing:.08em;margin-bottom:4px}.tl-commandbar strong{font-family:SKMono;font-size:24px;line-height:1.2;font-weight:500}.tl-money i{font-size:13px;color:var(--tl-muted);font-style:normal}.tl-money{min-width:150px}
.tl-goal{min-width:190px;max-width:240px;flex:1}.tl-goal b{display:block;font-size:15px;margin-bottom:7px}.tl-clock{margin-left:auto;min-width:130px}.tl-clock b{font-family:SKMono;font-size:26px;line-height:1.2;font-weight:400;color:var(--tl-gold)}
.tl-time-controls{display:flex;align-items:center;gap:10px}.tl-speeds{display:flex;gap:2px}.tl-speeds button{min-width:44px;padding:7px 10px;font-family:SKMono}.tl-speeds .selected{background:var(--tl-raised);border-color:var(--tl-green);color:var(--tl-green)}
.tl-bar{display:block;position:relative;height:3px;background:#294536;border-radius:10px;overflow:hidden}.tl-bar i{height:100%;display:block;border-radius:10px;transition:width .7s ease}
.tl-workspace{display:grid;grid-template-columns:264px minmax(320px,1fr) 290px;gap:18px;margin-top:20px;height:625px;min-height:0}.tl-left,.tl-right{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#4c6b50 transparent;padding-right:3px}.tl-center{min-width:0;display:flex;flex-direction:column;gap:14px}.tl-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.tl-section-head>span{font-family:SKMono;font-size:9px;color:var(--tl-muted);letter-spacing:.06em;text-align:right}
.tl-client{display:flex;gap:10px;align-items:center;padding:11px 9px;width:100%;text-align:left;margin-bottom:7px;background:var(--tl-panel);border:1px solid transparent!important;min-height:82px!important}.tl-client.selected{background:#253e2f;border-color:#829c6a!important}.tl-client-initial{width:32px;height:38px;border-left:2px solid var(--client);background:color-mix(in srgb,var(--client) 12%,transparent);display:grid;place-items:center;color:var(--client);font-size:19px;flex-shrink:0}
.tl-client-title{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.tl-client strong{font-size:12px;font-weight:550}.tl-client small{color:var(--tl-muted);font-size:10px;line-height:1.45}.tl-pos{font-family:SKMono;font-size:24px;line-height:1;position:relative;min-width:42px;text-align:center;color:var(--tl-ink)}.tl-pos small{display:block;font-size:6px;letter-spacing:.04em;margin-bottom:7px}.tl-pos i{font-style:normal;font-size:12px;color:var(--tl-muted);position:absolute;right:-1px;bottom:0}.tl-pos.top{color:var(--tl-green)}
.tl-team{margin-top:25px}.tl-crew-card{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 7px;margin:0 0 4px;border:1px solid transparent!important;background:transparent;min-height:89px!important}.tl-crew-card.selected{border-color:var(--crew)!important;background:var(--tl-panel)}.tl-crew-card svg{flex-shrink:0;width:42px;height:42px}.tl-crew-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.tl-crew-info strong{font-size:12px;font-weight:550}.tl-crew-info small{font-size:10px;color:var(--crew)}.tl-crew-status{font-size:10px;line-height:1.5;color:var(--tl-muted);margin:3px 0}.tl-fatigue{font-size:12px;font-family:SKMono;text-align:right;color:var(--tl-muted)}.tl-fatigue small{display:block;font-size:8px}.tl-fatigue.high{color:var(--tl-red)}
.tl-office-stage{position:relative;flex:1;min-height:330px;max-height:410px;background:radial-gradient(ellipse at 50% 40%,#30513b 0%,#17382a 45%,#112c22 80%);border:1px solid #3b5d45;border-radius:12px;overflow:hidden}.tl-stage-heading{position:absolute;top:17px;left:20px;right:20px;display:flex;align-items:start;gap:16px;justify-content:space-between;z-index:1;pointer-events:none}.tl-kicker{font-family:SKMono;font-size:9px;letter-spacing:.12em;color:var(--tl-gold);margin-bottom:9px}.tl-stage-heading h1{font-size:22px;line-height:1.1;color:#e3e9d5}.tl-stage-status{font-family:SKMono;color:#a9c090;font-size:7px;letter-spacing:.08em;margin-top:4px;max-width:120px;text-align:right}
.tl-office{width:100%;height:100%;min-height:300px;display:block;padding-top:35px;filter:drop-shadow(0 20px 20px #031c1260)}.tl-stage-footer{position:absolute;bottom:12px;left:20px;right:20px;display:flex;justify-content:space-between;gap:16px;font-family:SKMono;font-size:8px;color:#bad0a8}.tl-stage-footer span:last-child{color:#8faa81;font-size:7px;flex-shrink:0}.tl-desk-person{cursor:pointer;outline:none}.tl-desk-person:hover .tl-monitor,.tl-desk-person:focus-visible .tl-monitor{fill:#e1f4bb;opacity:1}.tl-desk-person:focus-visible{filter:drop-shadow(0 0 6px #e8d69d)}.tl-person-head{transition:transform .5s}.is-working .tl-person-head{animation:tl-work 1.7s ease-in-out infinite}.is-resting .tl-person-head{opacity:.7}.tl-flow:not(.is-running){display:none}.tl-active-dot{animation:tl-beacon 1.3s ease-in-out infinite}.is-paused .tl-person-head,.is-paused .tl-active-dot{animation-play-state:paused}.tl-fatigue-bubble{animation:tl-beacon 2s infinite}
@keyframes tl-work{50%{transform:translateY(2px) rotate(2deg)}}@keyframes tl-beacon{50%{opacity:.4}}@keyframes tl-release{0%{box-shadow:inset 0 0 0 2px #d2e5a7}100%{box-shadow:inset 0 0 0 2px transparent}}.tl-release-flash .tl-office-stage{animation:tl-release 1s ease-out}
.tl-management{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tl-lead,.tl-policy{background:var(--tl-panel);border:1px solid var(--tl-line);border-radius:8px;padding:17px;min-width:0}.tl-management .tl-section-head{margin-bottom:12px}.tl-management h2{font-size:14px}.tl-lead p{font-size:11px;line-height:1.6;color:var(--tl-muted);margin:8px 0 10px}.tl-lead b{font-size:12px}.tl-lead-actions{display:flex;flex-wrap:wrap;gap:6px}.tl-lead-actions button{font-size:11px;min-height:38px;padding:8px;flex:1}.tl-inline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.tl-inline small{font-size:10px;color:var(--tl-muted)}.tl-inline button{padding:4px 8px;font-size:10px;min-height:34px}.tl-policy select{font-size:11px}.tl-fine{font-size:11px;line-height:1.65;color:var(--tl-muted);margin-top:11px}.tl-body .tl-check{display:flex;flex-direction:row;align-items:center;gap:8px;line-height:1.5;font-size:11px;margin-top:12px}.tl-check input{width:18px;height:18px;min-height:18px;accent-color:var(--tl-green);flex-shrink:0}
.tl-serp,.tl-signals{background:var(--tl-panel);border:1px solid var(--tl-line);border-radius:8px;padding:17px}.tl-serp h2{font-size:15px}.tl-live-dot{color:var(--tl-green)!important;display:flex;align-items:center;gap:6px}.tl-live-dot:before{content:'';width:4px;height:4px;border-radius:50%;background:var(--tl-green)}.tl-query{display:flex;align-items:center;gap:10px;border:1px solid #52704d;border-radius:5px;background:#0d261e;padding:10px 12px;font-size:11px;color:var(--tl-ink)}.tl-query span{font-size:21px;color:var(--tl-green)}.tl-query strong{font-weight:450;line-height:1.4}.tl-serp-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0;gap:10px}.tl-serp-summary small{font-size:7px;font-family:SKMono;color:var(--tl-muted);display:block}.tl-serp-summary b{font-size:24px;font-family:SKMono;font-weight:400;display:block;margin-top:4px}.tl-serp-summary div:first-child b{color:var(--tl-green)}
.tl-serp-list{list-style:none;padding:0;margin:0;max-height:285px;overflow:auto;scrollbar-width:thin;scrollbar-color:#577a58 transparent}.tl-serp-list li{display:flex;align-items:center;gap:10px;border-top:1px solid #2b4737;min-height:39px;padding:7px 6px}.tl-serp-list li>span{font-family:SKMono;font-size:9px;color:var(--tl-muted);width:17px;flex-shrink:0}.tl-serp-list b{display:block;font-size:10px;font-weight:500;overflow-wrap:anywhere}.tl-serp-list small{display:block;font-size:8px;color:var(--tl-muted)}.tl-serp-list li.ours{background:#355135;border:1px solid #7f9f63;border-radius:4px}.tl-serp-list li.ours b{color:#d8e7b6}.tl-serp-list i{font-family:SKMono;font-style:normal;font-size:8px;margin-left:auto;color:#d8e7b6}.tl-outside{font-size:10px;color:var(--tl-gold);margin:8px 0}.tl-signals{margin-top:12px}.tl-signals .tl-section-head{display:block}.tl-signals .tl-section-head span{display:block;text-align:left;font-size:9px;margin-top:4px;color:var(--tl-muted)}.tl-signal{display:grid;grid-template-columns:75px 1fr 24px;align-items:center;gap:8px;font-size:10px;margin-top:9px}.tl-signal b{font-family:SKMono;font-weight:400;font-size:10px;text-align:right}.tl-controls{display:grid;gap:12px;margin-top:17px}.tl-controls select{font-size:11px}.tl-buff{font-size:11px;color:var(--tl-green);margin-top:10px}
.tl-production{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;margin-top:20px}.tl-tasks,.tl-inspector{border:1px solid var(--tl-line);background:var(--tl-panel);border-radius:8px;padding:18px;min-width:0}.tl-task-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px}.tl-task-tabs button{padding:7px 12px;font-size:11px;min-height:38px;border-color:transparent}.tl-task-tabs .selected{background:#314b32;border-color:#7c9765;color:var(--tl-green)}.tl-task-list{max-height:300px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4b7050 transparent;padding-right:5px}.tl-task-row{display:flex;align-items:center;gap:14px;text-align:left;width:100%;background:transparent;border:1px solid transparent!important;border-bottom-color:#2b4838!important;border-radius:0!important;padding:10px 6px!important;min-height:63px!important}.tl-task-row.selected{background:#293f30;border-color:#7d976c!important;border-radius:5px!important}.tl-task-symbol{width:34px;flex-shrink:0;text-align:center;font-size:20px;font-family:SKMono}.tl-task-name{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.tl-task-name strong{font-size:12px;font-weight:500;line-height:1.4}.tl-task-name small{font-size:10px;color:var(--client)}.tl-task-state{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:10px;max-width:180px}.tl-task-state b{font-weight:450;line-height:1.4}.tl-task-state small{color:var(--tl-muted);font-size:9px;text-align:right;line-height:1.4}.tl-task-row.has-error .tl-task-state b{color:var(--tl-red)}.tl-empty{font-size:12px;color:var(--tl-muted);padding:25px 10px}
.tl-inspector{max-height:424px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#577a58 transparent}.tl-detail-head small{color:var(--tl-gold);font-size:10px}.tl-detail-head h2{font-size:23px;margin:10px 0 15px;line-height:1.15}.tl-inspector>p{font-size:12px;line-height:1.7;color:var(--tl-muted)}.tl-detail-metrics{display:flex;gap:25px;border-bottom:1px solid var(--tl-line);padding-bottom:16px;margin:17px 0}.tl-detail-metrics small{display:block;font-family:SKMono;font-size:8px;color:var(--tl-muted)}.tl-detail-metrics b{font-family:SKMono;font-size:19px;font-weight:400;display:block;margin-top:3px}.tl-dependencies{display:flex;flex-direction:column;gap:7px;font-size:11px;margin-top:15px;color:var(--tl-muted)}.tl-dependencies b{font-weight:500;color:var(--tl-ink)}.tl-dependencies .done{color:var(--tl-green)}.tl-detail-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}.tl-detail-actions button{font-size:12px}.tl-mini-flow{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--tl-green);font-size:12px;margin:23px 0}.tl-mini-flow span{border:1px solid #557148;background:#263d2b;padding:9px 22px;border-radius:5px;min-width:190px;text-align:center}.tl-mini-flow i{font-style:normal;color:var(--tl-muted)}.tl-person-detail{display:flex;gap:14px;align-items:center}.tl-person-detail small{color:var(--tl-gold);font-size:10px}.tl-person-detail h2{font-size:21px;margin-top:7px}.tl-person-trait{font-size:12px;line-height:1.7;margin-top:17px;color:var(--tl-muted)}.tl-inspector>.tl-controls{grid-template-columns:1fr}.tl-inspector>.tl-check{margin-bottom:14px}
.tl-events{border-top:1px solid var(--tl-line);margin-top:24px;padding:22px 8px 0}.tl-message{display:flex;gap:18px;align-items:baseline;padding:8px 0;border-bottom:1px solid #254333}.tl-message time{font-family:SKMono;font-size:10px;color:var(--tl-muted);flex-shrink:0}.tl-message p{font-size:12px;line-height:1.6}.tl-message.bad p{color:var(--tl-red)}.tl-message.good p{color:var(--tl-green)}.tl-message.client p{color:var(--tl-gold)}.tl-footer{display:flex;justify-content:space-between;gap:20px;padding:18px 32px;color:#8ba58f;font-family:SKMono;font-size:9px;border-top:1px solid var(--tl-line)}
.tl-report{position:fixed;inset:0;z-index:25;display:flex;align-items:center;justify-content:center;background:#05140eea;backdrop-filter:blur(12px);padding:24px;overflow:auto}.tl-report-card{width:min(850px,100%);max-height:calc(100svh - 48px);overflow:auto;background:#173527;border:1px solid #839a6a;border-radius:16px;padding:40px;color:var(--tl-ink);box-shadow:0 30px 100px #020f0baa}.tl-report h1{font-size:clamp(30px,4vw,49px);margin:16px 0}.tl-report p{color:var(--tl-muted);font-size:13px}.tl-report-sites{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:30px 0}.tl-report-sites>div{display:flex;flex-direction:column;gap:12px;background:#102a20;border-top:2px solid var(--client);padding:18px;border-radius:4px}.tl-report-sites span{font-size:12px}.tl-report-sites b{font-family:SKMono;font-size:34px;font-weight:400;color:var(--client)}.tl-report-sites small{font-size:10px;color:var(--tl-muted)}.tl-report-numbers{display:flex;flex-wrap:wrap;gap:24px;border-top:1px solid var(--tl-line);border-bottom:1px solid var(--tl-line);padding:20px 0}.tl-report-numbers span{font-size:11px;color:var(--tl-muted)}.tl-report-numbers b{display:block;font-family:SKMono;font-size:21px;color:var(--tl-ink);font-weight:400;margin-top:8px}.tl-report-actions{display:flex;gap:12px;margin:25px 0 0}
.tl-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:1000;background:#d8e2bd;color:#183327;padding:15px 22px;max-width:min(650px,calc(100vw - 32px));border-radius:8px;box-shadow:0 12px 30px #020f0a80;font-size:13px;line-height:1.5}.tl-toast.bad{background:#e9baa0;color:#422e23}.tl-error,.tl-alert{color:var(--tl-red)!important}.tl-alert{font-size:12px;padding:12px;border:1px solid #9f7358;border-radius:6px;margin-top:15px}
.tl-body #modal{width:min(650px,calc(100vw - 32px));max-height:calc(100svh - 40px);background:#173527;color:var(--tl-ink);border:1px solid #769065;border-radius:12px;padding:0}.tl-body #modal::backdrop{background:#041710df;backdrop-filter:blur(8px)}.tl-modal-body{padding:28px;display:flex;flex-direction:column;gap:18px}.tl-modal-body .tl-section-head{margin:0}.tl-modal-body h2{font-size:24px}.tl-modal-body p{font-size:13px;line-height:1.7;color:var(--tl-muted)}.tl-modal-body .tl-section-head button{font-size:11px;padding:7px 10px}.tl-guide{padding-left:20px;margin:0;display:flex;flex-direction:column;gap:18px;font-size:13px;color:var(--tl-muted)}.tl-guide b{color:var(--tl-ink)}.tl-guide li{padding-left:5px;line-height:1.65}
.tl-home{min-height:100svh;background:radial-gradient(ellipse at 75% 45%,#2c4c32 0%,#102b20 43%,#0a2018 75%)}.tl-home main{position:relative;max-width:1800px;margin:auto;display:grid;grid-template-columns:minmax(380px,.85fr) 1.15fr;align-items:center;padding:40px 60px 25px;min-height:calc(100svh - 78px);column-gap:20px}.tl-home-intro{z-index:1}.tl-home .tl-kicker{font-size:9px;letter-spacing:.12em;margin-bottom:25px}.tl-home h1{font-size:clamp(42px,4.9vw,82px);line-height:.98;letter-spacing:-.055em;font-weight:500}.tl-home h1 em{font-style:normal;color:var(--tl-green)}.tl-home-copy{font-size:15px;line-height:1.85;color:#aec1a8;margin-top:25px}.tl-home-actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}.tl-home-actions button{min-height:54px;font-size:14px;padding:14px 25px}.tl-home-note{font-family:SKMono;color:#94ad8d;font-size:9px;margin-top:16px}.tl-home-scene{position:relative;min-width:0;align-self:center}.tl-home-scene .tl-office{padding:0;max-height:620px;filter:drop-shadow(0 25px 25px #06180d80)}.tl-home-scene .tl-desk-person{pointer-events:none}.tl-home-caption{display:flex;align-items:start;gap:22px;margin-left:18%;padding-top:15px;border-top:1px solid #547044}.tl-home-caption span{font-family:SKMono;font-size:8px;color:var(--tl-gold);white-space:nowrap;padding-top:4px}.tl-home-caption p{font-size:13px;line-height:1.5;max-width:250px;color:#b6c5a5}.tl-home-bottom{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;border-top:1px solid #3b543b;padding-top:27px;margin-top:40px}.tl-home-bottom>div{display:flex;flex-direction:column;gap:9px;max-width:310px}.tl-home-bottom b{font-size:14px;font-weight:500;color:#e6ebd7}.tl-home-bottom span{font-size:12px;line-height:1.8;color:#9db194}.tl-legacy{grid-column:1/-1;font-size:10px;color:#94ac89;justify-self:start;margin-top:28px;text-decoration:none;padding:8px 0}
@media(min-width:1700px){.tl-workspace{grid-template-columns:290px minmax(400px,1fr) 330px;height:690px}.tl-office-stage{max-height:470px}.tl-stage-heading h1{font-size:27px}.tl-crew-card{min-height:96px!important}.tl-serp-list{max-height:330px}.tl-serp-list li{min-height:42px}.tl-serp-list b{font-size:12px}.tl-query{font-size:13px}.tl-client strong{font-size:14px}.tl-crew-info strong{font-size:14px}}
@media(max-width:1190px){.tl-shell main{padding:0 16px 20px}.tl-workspace{grid-template-columns:230px minmax(300px,1fr) 245px;gap:12px;height:640px}.tl-management{grid-template-columns:1fr;gap:8px}.tl-management .tl-lead,.tl-management .tl-policy{padding:12px}.tl-lead-actions{flex-wrap:nowrap}.tl-office-stage{min-height:300px}.tl-office{min-height:280px}.tl-stage-heading h1{font-size:19px}.tl-stage-heading{top:13px;left:14px;right:14px}.tl-serp,.tl-signals{padding:12px}.tl-serp-list{max-height:270px}.tl-commandbar{gap:18px}.tl-goal{min-width:160px}.tl-production{grid-template-columns:minmax(0,1fr) 320px}.tl-home main{padding:40px 35px 20px;grid-template-columns:minmax(320px,.9fr) 1.1fr}.tl-home h1{font-size:52px}.tl-home-copy{font-size:13px}.tl-home-caption{margin-left:0}.tl-home-caption span{display:none}.tl-header{padding:14px 22px}.tl-header-title{font-size:10px}}
@media(max-width:1000px){.tl-workspace{grid-template-columns:235px minmax(0,1fr);height:auto}.tl-left{max-height:705px}.tl-center{min-height:705px}.tl-office-stage{max-height:430px;min-height:350px}.tl-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px;overflow:visible;padding:0}.tl-serp-list{max-height:190px}.tl-signals{margin:0}.tl-signals .tl-controls{grid-template-columns:1fr 1fr}.tl-management{grid-template-columns:1fr 1fr}.tl-production{grid-template-columns:minmax(0,1fr) 300px}.tl-task-state{max-width:125px}.tl-header-title{display:none}.tl-home main{grid-template-columns:1fr 1fr;padding:35px 28px 22px}.tl-home h1{font-size:45px}.tl-home-copy br{display:none}.tl-home-scene .tl-office{min-height:300px;transform:scale(1.13);transform-origin:center}.tl-home-caption{margin-top:10px}.tl-home-bottom{gap:24px}.tl-goal{min-width:155px}.tl-money{min-width:110px}.tl-commandbar{gap:15px}.tl-clock{min-width:95px}.tl-commandbar small{font-size:8px}.tl-time-controls{gap:6px}.tl-time-controls>.tl-primary{padding:10px 13px}}
@media(max-width:760px){.tl-header{padding:12px 16px;gap:12px}.tl-header nav{gap:0}.tl-header nav button{font-size:10px;padding:5px 8px}.tl-brand{font-size:14px;gap:8px}.tl-brand img{width:26px}.tl-brand small{font-size:8px}.tl-shell main{padding:0 12px 16px}.tl-commandbar{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:12px 3px;top:0}.tl-money{min-width:0}.tl-goal{min-width:0}.tl-goal b{font-size:12px}.tl-clock{min-width:0;text-align:right}.tl-clock b{font-size:22px}.tl-commandbar strong{font-size:21px}.tl-commandbar small{font-size:7px;letter-spacing:.02em}.tl-time-controls{grid-column:1/-1;justify-content:space-between}.tl-time-controls>.tl-primary{flex:1}.tl-time-controls button{font-size:12px;min-height:44px}.tl-workspace{display:flex;flex-direction:column;gap:16px;margin-top:14px}.tl-left{display:contents}.tl-clients{order:0}.tl-clients .tl-section-head{margin-bottom:9px}.tl-client{min-height:70px!important;display:inline-flex;width:calc((100% - 12px)/3);vertical-align:top;margin:0 4px 0 0;gap:7px;padding:8px 7px;align-items:flex-start;flex-wrap:wrap}.tl-client:last-child{margin-right:0}.tl-client-initial{display:none}.tl-client-title{min-width:60px;gap:3px}.tl-client strong{font-size:10px}.tl-client small{font-size:8px}.tl-pos{font-size:17px;min-width:29px;margin-top:2px}.tl-pos small{font-size:5px}.tl-pos i{font-size:8px;right:-3px}.tl-team{order:2;margin-top:0;display:grid;grid-template-columns:1fr 1fr;gap:3px 10px}.tl-team>.tl-section-head{grid-column:1/-1;margin-bottom:5px}.tl-crew-card{min-height:90px!important;gap:7px;padding:8px 5px}.tl-crew-card svg{width:33px;height:33px}.tl-crew-info strong{font-size:11px}.tl-crew-info small{font-size:9px}.tl-crew-status{font-size:9px}.tl-fatigue{font-size:10px}.tl-center{order:1;min-height:0}.tl-office-stage{min-height:340px;max-height:420px;height:auto;aspect-ratio:1.35;flex:initial}.tl-office{min-height:0;padding-top:22px}.tl-stage-heading h1{font-size:19px}.tl-stage-status{font-size:6px;max-width:90px}.tl-stage-footer{font-size:7px;left:14px;right:14px}.tl-stage-footer span:last-child{font-size:6px}.tl-management{gap:10px}.tl-lead-actions{flex-direction:column}.tl-lead-actions button{min-height:38px;font-size:10px}.tl-management .tl-section-head{gap:8px}.tl-management h2{font-size:13px}.tl-management .tl-section-head>span{font-size:7px}.tl-policy select{font-size:10px;padding:9px}.tl-management .tl-fine{font-size:10px}.tl-lead p{font-size:10px}.tl-inline{flex-wrap:wrap}.tl-right{order:3;display:grid;grid-template-columns:1fr 1fr;gap:10px}.tl-signals .tl-controls{grid-template-columns:1fr}.tl-serp-summary{gap:5px}.tl-serp-summary small{font-size:6px}.tl-serp-summary b{font-size:21px}.tl-query{font-size:10px;padding:8px;gap:7px}.tl-signal{grid-template-columns:60px 1fr 20px;font-size:9px;gap:5px}.tl-right h2{font-size:13px}.tl-live-dot{font-size:7px!important}.tl-production{display:flex;flex-direction:column;gap:14px;margin-top:16px}.tl-task-list{max-height:350px}.tl-task-state{max-width:130px}.tl-task-symbol{width:25px;font-size:17px}.tl-task-name strong{font-size:11px}.tl-task-name small{font-size:9px}.tl-task-state b{font-size:9px}.tl-task-state small{font-size:8px}.tl-task-row{gap:9px}.tl-inspector{max-height:none;scroll-margin-top:180px}.tl-inspector .tl-controls{grid-template-columns:1fr 1fr}.tl-person-detail h2{font-size:24px}.tl-report-card{padding:24px}.tl-report-sites{gap:7px}.tl-report-sites>div{padding:12px}.tl-report-sites b{font-size:27px}.tl-report-sites span{font-size:10px}.tl-report-sites small{font-size:9px}.tl-report-numbers{gap:20px}.tl-report-actions{flex-direction:column}.tl-footer{padding:16px;flex-direction:column;gap:7px;font-size:8px}.tl-home main{display:flex;flex-direction:column;align-items:stretch;padding:36px 23px 22px;min-height:0}.tl-home-intro{position:relative}.tl-home h1{font-size:clamp(43px,9vw,65px)}.tl-home .tl-kicker{font-size:8px;margin-bottom:20px}.tl-home-copy{font-size:13px;margin-top:20px;max-width:390px}.tl-home-actions{margin-top:22px}.tl-home-actions button{min-height:50px;padding:12px 20px;font-size:13px}.tl-home-note{font-size:8px}.tl-home-scene{width:100%;margin-top:15px}.tl-home-scene .tl-office{min-height:0;max-height:420px;transform:none}.tl-home-caption{margin:0 0 20px;justify-content:space-between}.tl-home-caption span{display:block;white-space:normal}.tl-home-caption p{font-size:11px;max-width:190px}.tl-home-bottom{display:flex;flex-direction:column;gap:24px;margin-top:12px;padding-top:23px}.tl-home-bottom>div{max-width:350px;gap:6px}.tl-home-bottom b{font-size:13px}.tl-home-bottom span{font-size:12px}.tl-legacy{align-self:start;margin-top:27px;font-size:10px}.tl-modal-body{padding:22px}.tl-modal-body h2{font-size:21px}.tl-modal-body .tl-section-head{align-items:start}.tl-guide{font-size:12px;gap:14px}}
@media(max-width:400px){.tl-header nav button{font-size:9px;padding:5px}.tl-brand{font-size:12px;gap:5px}.tl-brand img{width:23px}.tl-brand small{font-size:7px}.tl-office-stage{min-height:290px}.tl-stage-heading h1{font-size:17px}.tl-stage-heading .tl-kicker{font-size:7px}.tl-stage-footer{font-size:6px}.tl-stage-footer span:last-child{display:none}.tl-crew-card svg{width:28px;height:28px}.tl-crew-info strong{font-size:10px}.tl-fatigue{display:none}.tl-right{grid-template-columns:1fr}.tl-serp-list{max-height:230px}.tl-signals .tl-controls{grid-template-columns:1fr 1fr}.tl-report{padding:12px}.tl-report-card{padding:20px;max-height:calc(100svh - 24px)}.tl-report-sites{grid-template-columns:1fr}.tl-report-sites>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tl-report-sites b{grid-column:2;grid-row:1/3;text-align:right}.tl-inspector .tl-controls{grid-template-columns:1fr}.tl-task-state{max-width:100px}.tl-task-tabs button{padding:7px 9px;font-size:10px}.tl-commandbar{gap:8px}.tl-goal b{font-size:10px}}
@media(prefers-reduced-motion:reduce){.tl-body *,.tl-body *:before,.tl-body *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.tl-flow{display:none!important}}
.tl-mobile-nav{display:none}.tl-client-commands{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0}.tl-client-commands label{font-size:10px}.tl-client-commands select{font-size:10px;padding:8px}.tl-serp-gap{font-size:10px;line-height:1.5;color:var(--tl-green);margin-top:10px}.tl-request-risk{display:block;margin-top:8px!important;font-size:10px!important;color:#e1c593!important}.tl-left{display:flex;flex-direction:column;overflow:visible}.tl-team{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#6c8d64 #142c21}.tl-team .tl-section-head{position:sticky;top:0;background:var(--tl-bg);padding:7px 0;z-index:1}.tl-team,.tl-tasks,.tl-serp{scroll-margin-top:calc(var(--tl-toolbar-height,100px) + 64px)}
@media(max-width:1000px){.tl-left{overflow:visible}.tl-team{overflow:visible}.tl-team .tl-section-head{position:static}}
@media(max-width:760px){.tl-mobile-nav{display:flex;gap:5px;background:#0d241df7;border-bottom:1px solid var(--tl-line);padding:5px 0;position:sticky;top:var(--tl-toolbar-height,128px);z-index:4}.tl-mobile-nav button{flex:1;font-size:11px;border-color:transparent;min-height:40px}.tl-left{display:contents}.tl-client-commands label{font-size:11px}.tl-client-commands select{font-size:12px}.tl-client{display:flex;width:100%;align-items:center;flex-wrap:nowrap;min-height:70px!important;margin:0 0 6px;padding:10px 12px}.tl-client-title{flex:1}.tl-client strong{font-size:12px}.tl-client small{font-size:10px}.tl-pos{font-size:23px;min-width:44px}.tl-pos small{font-size:8px}.tl-crew-info strong{font-size:12px}.tl-crew-info small,.tl-crew-status{font-size:10px}.tl-fatigue{display:block;font-size:11px}.tl-fatigue small{font-size:8px}.tl-client-request small{font-size:10px}.tl-serp-summary small{font-size:9px}.tl-serp-list b{font-size:12px}.tl-serp-list small{font-size:10px}.tl-serp-list li{min-height:46px}.tl-task-state b{font-size:10px}.tl-task-state small{font-size:10px}.tl-task-name strong{font-size:12px}.tl-task-name small{font-size:10px}.tl-signal{font-size:11px;grid-template-columns:75px 1fr 22px}.tl-signal b{font-size:11px}.tl-controls select{font-size:12px}.tl-right .tl-section-head span{font-size:9px}.tl-home .tl-section-head{position:static}}

.gd-projects{border:1px solid var(--tl-line);border-radius:8px;padding:17px;background:#1b3327}.gd-projects .tl-section-head{margin-bottom:10px}.gd-profile{font-size:11px;line-height:1.65;color:var(--tl-muted)}.gd-profile b{color:var(--tl-gold);font-weight:500}.gd-project-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.gd-project-options article{display:flex;flex-direction:column;gap:9px;background:#10271e;border:1px solid #3e5940;border-radius:6px;padding:13px}.gd-project-options h3{font-size:14px;letter-spacing:-.02em;line-height:1.35}.gd-project-options p{font-size:11px;line-height:1.6;color:var(--tl-muted)}.gd-project-options small{font-size:10px;color:var(--tl-green)}.gd-project-options button{margin-top:auto;font-size:11px;background:#314b2c;border-color:#7f9662;min-height:44px}.gd-cost{font-family:SKMono;font-size:9px;color:var(--tl-gold);line-height:1.7}.gd-chosen{color:var(--tl-green);font-size:15px;margin-top:13px;border-left:2px solid var(--tl-green);padding:4px 12px}.gd-chosen small{display:block;font-size:11px;color:var(--tl-muted);margin-top:7px}.gd-score{border-top:1px solid var(--tl-line);margin-top:15px;padding-top:10px}.gd-score summary{cursor:pointer;font-size:12px;color:var(--tl-green);min-height:44px;display:flex;align-items:center}.gd-score p{font-size:10px;color:var(--tl-muted);line-height:1.7;margin:9px 0}.gd-score div{display:flex;gap:10px;justify-content:space-between;font-size:10px;margin-top:6px}.gd-score b{font-family:SKMono;font-size:10px;font-weight:400;color:var(--tl-gold)}.gd-growth{color:var(--tl-gold)!important;font-size:9px!important;margin-top:3px}.gd-career,.gd-forecast{border-top:1px solid var(--tl-line);margin-top:18px;padding-top:16px}.gd-career h3,.gd-forecast h3{font-size:17px}.gd-career p,.gd-forecast p{font-size:11px;line-height:1.7;color:var(--tl-muted);margin:10px 0}.gd-career>div{display:flex;gap:8px;margin-top:13px}.gd-career button{flex:1;font-size:12px;color:var(--tl-green)}.gd-career small,.gd-forecast small{font-size:10px;color:var(--tl-muted);line-height:1.7}.gd-career>b{color:var(--tl-green);font-size:13px}.gd-brief{font-size:11px;line-height:1.65;color:var(--tl-gold);margin:12px 0}.gd-lead-limit{font-size:10px!important}.gd-enabled .tl-workspace{height:auto;min-height:760px;align-items:stretch}.gd-enabled .tl-center{min-height:0}.gd-enabled .tl-office-stage{height:365px;min-height:300px;flex:none}.gd-enabled .tl-left,.gd-enabled .tl-right{max-height:900px}.gd-enabled .tl-team{flex:1}.gd-enabled .tl-management{flex:1;align-items:stretch}
@media(min-width:1700px){.gd-enabled .tl-office-stage{height:440px}}
@media(max-width:1190px){.gd-project-options{grid-template-columns:1fr}.gd-enabled .tl-office-stage{height:330px}.gd-project-options article{padding:12px}.gd-enabled .tl-left,.gd-enabled .tl-right{max-height:1100px}}
@media(max-width:1000px){.gd-enabled .tl-workspace{min-height:0}.gd-enabled .tl-right{max-height:none}.gd-enabled .tl-left{max-height:1100px}.gd-enabled .tl-center{min-height:0}}
@media(max-width:760px){.gd-enabled .tl-left{max-height:none}.gd-enabled .tl-office-stage{height:auto;min-height:300px}.gd-project-options{grid-template-columns:1fr}.gd-projects h2{font-size:16px}.gd-profile,.gd-project-options p,.gd-career p,.gd-forecast p,.gd-brief{font-size:12px}.gd-project-options h3{font-size:16px}.gd-cost{font-size:10px}.gd-growth{font-size:10px!important}.gd-enabled .tl-right{max-height:none}.gd-score p,.gd-score div,.gd-score b{font-size:11px}}

/* Lumen campaign: an atlas, a field plan and a quiet radio channel. */
.world-enabled{font-family:Onest,sans-serif}
.world-hud,.world-brief,.world-project-drawer,.world-job-tools,.world-modal-body,.world-report,.world-epilogue{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}
.world-hud *,.world-brief *,.world-project-drawer *,.world-job-tools *,.world-modal-body *{box-sizing:border-box;min-width:0}
.world-hud button,.world-brief button,.world-project-drawer button,.world-job-tools button,.world-modal-body button,.world-report button,.world-epilogue button{min-height:44px;white-space:normal;line-height:1.4;overflow-wrap:anywhere;padding:10px 14px;font-family:Onest,sans-serif}
.world-hud button:focus-visible,.world-brief button:focus-visible,.world-project-drawer summary:focus-visible,.world-project-drawer button:focus-visible,.world-job-tools button:focus-visible,.world-modal-body :is(button,select):focus-visible,.world-report button:focus-visible,.world-epilogue button:focus-visible{outline:2px solid var(--tl-gold);outline-offset:3px}
.world-hud{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px) auto;align-items:center;gap:24px;padding:17px 20px;margin:2px 0 18px;border:1px solid var(--tl-line);border-left:3px solid var(--tl-gold);border-radius:8px;background:linear-gradient(105deg,var(--tl-raised),var(--tl-panel));box-shadow:0 8px 25px #06171040}
.world-hud>button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:0;background:transparent;text-align:left;padding:0 8px 0 0;color:var(--tl-ink)}
.world-hud>button>span{font-family:SKMono,monospace;font-size:10px;letter-spacing:.06em;color:var(--tl-gold);line-height:1.5}
.world-hud strong{font-size:20px;font-weight:550;letter-spacing:-.025em;line-height:1.25}
.world-hud strong i{font-style:normal;color:var(--tl-green);margin-left:6px}
.world-vitals{display:flex;flex-direction:column;gap:9px;font-size:11px;line-height:1.5;color:var(--tl-muted)}
.world-vitals meter{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:4px;background:var(--tl-bg);overflow:hidden}
.world-vitals meter::-webkit-meter-bar{height:7px;background:var(--tl-bg);border:0;border-radius:4px}
.world-vitals meter::-webkit-meter-optimum-value{background:var(--tl-green)}
.world-vitals meter::-webkit-meter-suboptimum-value{background:var(--tl-gold)}
.world-vitals meter::-webkit-meter-even-less-good-value{background:var(--tl-red)}
.world-vitals meter::-moz-meter-bar{background:var(--tl-green);border-radius:4px}
.world-vitals meter:-moz-meter-sub-optimum::-moz-meter-bar{background:var(--tl-gold)}
.world-vitals meter:-moz-meter-sub-sub-optimum::-moz-meter-bar{background:var(--tl-red)}
.world-hud-actions{display:flex;gap:8px;flex-wrap:wrap}
.world-hud-actions button{font-size:12px;background:#10271f}

/* Side columns scroll inside their grid cells; the operation owns the centre. */
.world-enabled .tl-workspace{height:auto;min-height:0;align-items:start;grid-template-columns:250px minmax(0,1fr) 280px}
.world-enabled .tl-left,.world-enabled .tl-right{min-width:0;max-height:1100px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding-right:7px}
.world-enabled .tl-team{flex:none;overflow:visible}
.world-enabled .tl-center{min-height:0;min-width:0;gap:14px}
.world-enabled .tl-office-stage{height:clamp(365px,29vw,440px);min-height:365px;max-height:440px;aspect-ratio:auto;flex:none;background:radial-gradient(ellipse at 55% 45%,#34523b,#10281f 78%)}
.world-enabled .tl-office-stage .world-operation{display:block;width:100%;height:100%;min-height:0;max-width:100%;padding:24px 0 35px;filter:none}
.world-enabled .tl-stage-heading{gap:10px;top:14px;left:16px;right:16px}
.world-enabled .tl-stage-heading h1{font-size:20px;line-height:1.2}
.world-enabled .tl-stage-heading .tl-kicker{font-size:9px;margin-bottom:5px}
.world-enabled .tl-stage-status{font-size:8px;line-height:1.5;max-width:110px;flex-shrink:0}
.world-enabled .tl-stage-footer{align-items:center;left:16px;right:16px;bottom:10px;font-family:Onest,sans-serif;font-size:11px;line-height:1.4;pointer-events:none}
.world-enabled .tl-stage-footer>span{min-width:0;max-width:70%;overflow-wrap:anywhere}
.world-enabled .tl-stage-footer button{min-height:44px;font-size:11px;max-width:45%;padding:7px 10px;pointer-events:auto;background:#10271fe8}
.world-enabled .tl-management{flex:none}
.world-context-active .tl-production{grid-template-columns:minmax(0,1fr)}
.world-enabled .tl-right>.tl-inspector{width:100%;min-width:0;max-height:480px;margin-bottom:16px;scrollbar-gutter:stable;overscroll-behavior-y:contain}
.world-route-jobs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:8px;margin:0 0 16px}
.world-route-jobs button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;font-size:12px;line-height:1.5;border-color:#658057;background:#10271f;padding:11px 12px}
.world-route-jobs small{font-size:10px;line-height:1.5;color:var(--tl-green)}
.world-task[data-do],.world-district[data-do]{cursor:pointer;outline:none}
.world-task[data-do]:hover,.world-task[data-do]:focus-visible,.world-district[data-do]:hover,.world-district[data-do]:focus-visible{filter:drop-shadow(0 0 7px #e4c58f99)}
.world-task[data-do]:focus-visible>path:first-of-type,.world-district[data-do]:focus-visible>path:first-of-type{stroke:var(--tl-gold);stroke-width:4px}
.world-task.is-preview{pointer-events:none}
.world-route.is-selected>path:nth-of-type(3){animation:world-route-flow 12s linear infinite}
.world-task[aria-label*="В РАБОТЕ"]>circle{animation:world-work-glow 3s ease-in-out infinite}
@keyframes world-route-flow{to{stroke-dashoffset:-68}}
@keyframes world-work-glow{50%{filter:drop-shadow(0 0 6px #c1d79a);opacity:.65}}
.is-paused .world-route>path,.is-paused .world-task>circle{animation-play-state:paused}
.world-city{display:block;width:100%;max-width:100%;height:auto;min-width:0;aspect-ratio:1000/650}
.tl-home-scene>.world-city{width:100%;height:auto;max-height:620px;filter:drop-shadow(0 25px 25px #06180d80)}

/* Compact operational plan: decisions stay adjacent to their consequences. */
.world-brief{padding:20px;border:1px solid #536647;border-top:2px solid var(--tl-gold);border-radius:9px;background:linear-gradient(145deg,#203a2b,var(--tl-panel) 65%)}
.world-brief .tl-section-head{align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:15px}
.world-brief .tl-section-head h2{font-size:18px;line-height:1.3}
.world-brief .tl-section-head button{font-size:11px;padding:8px 12px}
.world-goals{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;padding-left:13px;border-left:2px solid var(--tl-green)}
.world-goals b{font-size:14px;font-weight:550;line-height:1.6;color:var(--tl-ink)}
.world-goals small{font-size:11px;line-height:1.65;color:var(--tl-muted)}
.world-goals small:last-child{color:var(--tl-gold)}
.world-route-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.world-route-cards>article{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:20px;border:1px solid var(--tl-line);border-radius:7px;background:#0e251e;position:relative}
.world-route-cards>article.selected{border-color:#a6bb80;background:linear-gradient(140deg,#30452c,#193427);box-shadow:inset 0 2px 0 var(--tl-green)}
.world-route-top{display:flex;align-items:flex-start;gap:12px}
.world-route-top>span{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #6e845d;border-radius:50%;color:var(--tl-green);font-family:SKMono,monospace;font-size:14px}
.selected>.world-route-top>span{background:var(--tl-green);color:var(--tl-bg);border-color:var(--tl-green)}
.world-route-top h3{font-size:18px;font-weight:550;line-height:1.35;margin:3px 0 0;letter-spacing:-.025em}
.world-route-cards p{font-size:13px;line-height:1.7;color:var(--tl-muted);margin:0}
.world-route-cards ol{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px;font-size:12px;line-height:1.65;color:var(--tl-ink)}
.world-route-cards small{font-size:11px;line-height:1.6;color:var(--tl-gold);font-variant-numeric:tabular-nums}
.world-route-cards button{margin-top:auto;width:100%;font-size:12px}
.world-route-cards .tl-primary:disabled{opacity:.85}
.world-route-cards.compact{gap:10px}
.world-route-cards.compact>article{gap:10px;padding:14px}
.world-route-cards.compact h3{font-size:15px}
.world-route-cards.compact .world-route-top{gap:9px}
.world-route-cards.compact .world-route-top>span{flex-basis:27px;height:27px;font-size:12px}
.world-route-cards.compact p{font-size:12px;line-height:1.65}
.world-route-cards.compact small{font-size:10px}
.world-radio{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:17px;padding-top:16px;border-top:1px solid var(--tl-line)}
.world-portrait{display:block;flex-shrink:0;max-width:100%;height:auto}
.world-radio p{margin:0;font-size:12px;line-height:1.65;color:var(--tl-muted)}
.world-radio p b{display:block;color:var(--tl-green);font-size:11px;margin-bottom:4px;font-weight:550}
.world-radio button{font-size:11px;padding:8px 12px}
.world-project-drawer{border:1px solid var(--tl-line);border-radius:7px;background:var(--tl-panel)}
.world-project-drawer>summary{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:52px;list-style:none;padding:13px 17px;font-size:12px;color:var(--tl-muted);line-height:1.5}
.world-project-drawer>summary::-webkit-details-marker{display:none}
.world-project-drawer>summary::before{content:'+';font-family:SKMono,monospace;font-size:18px;color:var(--tl-green);flex-shrink:0}
.world-project-drawer[open]>summary::before{content:'−'}
.world-project-drawer>summary>span{margin-left:auto;font-size:10px;color:var(--tl-gold);text-align:right}
.world-project-drawer[open]>summary{border-bottom:1px solid var(--tl-line);color:var(--tl-ink)}
.world-project-drawer .gd-projects{border:0;background:transparent;border-radius:0;padding:17px}
.world-job-tools{display:flex;flex-direction:column;gap:9px;margin-top:20px;padding-top:16px;border-top:1px solid var(--tl-line)}
.world-job-tools h3{font-size:15px;margin:0 0 3px;color:var(--tl-gold)}
.world-job-tools small{font-size:11px;line-height:1.6;color:var(--tl-muted)}

/* Native dialog remains the sole scrolling surface of the atlas. */
.tl-body #modal.world-modal{width:min(1100px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6c8d64 #122c24;border:1px solid #7b8e64;border-radius:12px;padding:0;background:var(--tl-panel);color:var(--tl-ink);box-shadow:0 30px 100px #020d09b3}
.world-modal-body{display:flex;flex-direction:column;gap:24px;padding:30px;font-family:Onest,sans-serif;color:var(--tl-ink)}
.world-modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.world-modal-header>div{min-width:0}
.world-modal-header .tl-kicker{font-size:10px;line-height:1.6;margin:0 0 9px}
.world-modal-header h2{font-size:30px;line-height:1.15;font-weight:500;letter-spacing:-.035em;margin:0}
.world-modal-header>button{flex-shrink:0;font-size:12px}
.world-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--tl-line)}
.world-tabs button{flex:1 1 120px;font-size:12px;background:transparent;color:var(--tl-muted)}
.world-tabs button.selected{background:#31482e;border-color:#9eb67c;color:var(--tl-green)}
.world-atlas{min-width:0;background:radial-gradient(ellipse at center,#294330,#0b231b);border:1px solid var(--tl-line);border-radius:9px;padding:10px}
.world-atlas .world-city{max-height:450px;object-fit:contain}
.world-level-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.world-level-list button{display:grid;grid-template-columns:27px minmax(0,1fr);gap:5px 9px;text-align:left;padding:12px;background:#10271f}
.world-level-list button>span{grid-row:1/3;font-family:SKMono,monospace;font-size:18px;font-weight:400;color:var(--tl-gold);line-height:1.3}
.world-level-list strong{font-size:12px;font-weight:500;line-height:1.4}
.world-level-list small{font-size:10px;line-height:1.5;color:var(--tl-muted)}
.world-level-list button.selected{border-color:#a2b67c;background:#2d422b}
.world-dossier{border-top:1px solid var(--tl-line);padding-top:26px}
.world-dossier>.tl-kicker{font-size:10px;line-height:1.6;margin:0 0 10px}
.world-dossier>h2{font-size:30px;line-height:1.15;letter-spacing:-.035em;margin:0 0 16px;font-weight:500}
.world-dossier>h3{font-size:20px;margin:28px 0 16px;line-height:1.35}
.world-dossier>p:not(.tl-kicker){font-size:14px;line-height:1.8;max-width:78ch;color:var(--tl-muted);margin:0 0 20px}
.world-quest{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px 18px;padding:20px;margin:22px 0;background:#243a29;border-left:3px solid var(--tl-gold);border-radius:0 6px 6px 0}
.world-quest>b{font-size:12px;line-height:1.7;color:var(--tl-gold);font-weight:500}
.world-quest>p{font-size:13px;line-height:1.7;color:var(--tl-ink);margin:0}
.world-quest>span,.world-quest>small{grid-column:2;font-size:11px;line-height:1.7;color:var(--tl-green)}
.world-dialogue{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;margin:18px 0;padding:17px 0;border-bottom:1px solid #2b4737}
.world-dialogue cite{display:block;font-style:normal;font-size:12px;color:var(--tl-gold);margin-bottom:7px;font-weight:550}
.world-dialogue p{margin:0;font-size:14px;line-height:1.75;color:var(--tl-ink)}
.world-voice{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.5;color:var(--tl-gold)}
.world-voice small{display:block;color:var(--tl-muted);font-size:11px;line-height:1.6;margin-top:3px}
.world-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}
.world-choices>article{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--tl-line);border-radius:7px;background:#10271f}
.world-choices>article.selected{border-color:#a2b67c;box-shadow:inset 0 2px 0 var(--tl-green);background:#273e2a}
.world-choices p{font-size:13px;line-height:1.7;color:var(--tl-ink);margin:0}
.world-choices small{font-size:11px;line-height:1.65;color:var(--tl-muted)}
.world-choices button{margin-top:auto;font-size:12px}
.world-record{margin-top:24px;padding:20px;background:#10271f;border:1px solid var(--tl-line);border-radius:7px}
.world-record>b{font-size:15px;color:var(--tl-green)}
.world-record>p{font-size:13px;line-height:1.7;margin:12px 0 18px;color:var(--tl-muted)}
.world-record>div{display:grid;grid-template-columns:minmax(0,1fr) 55px 110px;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--tl-line);font-size:13px;line-height:1.5}
.world-record strong{font-family:SKMono,monospace;font-weight:400;font-size:20px;color:var(--tl-green)}
.world-record small{font-size:11px;color:var(--tl-muted);text-align:right}
.world-journal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.world-journal article{padding:20px;background:#10271f;border:1px solid var(--tl-line);border-radius:7px}
.world-journal article>p{font-size:14px;line-height:1.8;margin:16px 0 0;color:var(--tl-ink)}
.world-inventory>p{font-size:14px;color:var(--tl-muted);line-height:1.8;max-width:75ch;margin:0 0 22px}
.world-inventory>label{max-width:600px;font-size:12px;line-height:1.6}
.world-inventory select{max-width:100%;min-height:48px;font-size:13px}
.world-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.world-tool-grid>article{display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:22px;border:1px solid var(--tl-line);border-radius:7px;background:#10271f}
.world-tool-mark{display:grid;place-items:center;width:50px;height:50px;background:#2b422c;border:1px solid #71875e;border-radius:50%;font-size:24px;font-family:SKMono,monospace;color:var(--tl-green)}
.world-tool-grid h3{font-size:18px;line-height:1.35;margin:0}
.world-tool-grid p{font-size:13px;line-height:1.7;color:var(--tl-muted);margin:0}
.world-tool-grid strong{font-family:SKMono,monospace;font-size:27px;font-weight:400;color:var(--tl-gold)}
.world-tool-grid small{font-family:Onest,sans-serif;font-size:11px;line-height:1.7;color:var(--tl-muted)}
.world-tool-grid button{align-self:stretch;width:100%;margin-top:auto;font-size:12px}
.world-characters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.world-characters article{display:grid;grid-template-columns:76px minmax(0,1fr);gap:17px;padding:22px;background:#10271f;border:1px solid var(--tl-line);border-radius:7px}
.world-characters small{font-size:11px;line-height:1.6;color:var(--tl-gold)}
.world-characters h3{font-size:20px;line-height:1.3;margin:6px 0 12px;letter-spacing:-.025em}
.world-characters p{font-size:13px;line-height:1.75;margin:0;color:var(--tl-muted)}
.world-characters .world-want{margin-top:12px;padding-top:12px;border-top:1px solid var(--tl-line);color:var(--tl-green)}
.world-report,.world-epilogue{margin-top:24px;padding:22px;background:#10271f;border:1px solid #70835b;border-radius:8px}
.world-report>b{display:block;font-size:16px;line-height:1.5;color:var(--tl-green)}
.world-report>span{display:block;margin-top:8px;font-size:12px;color:var(--tl-gold);line-height:1.5}
.world-report p,.world-epilogue p:not(.tl-kicker){font-size:14px;line-height:1.8;margin:15px 0 20px;color:var(--tl-muted)}
.world-epilogue{padding:28px;border-top:2px solid var(--tl-gold);background:linear-gradient(135deg,#30402b,#10271f 70%)}
.world-epilogue h2{font-size:30px;line-height:1.15;letter-spacing:-.035em;margin:14px 0;color:var(--tl-ink)}
.world-epilogue>small{display:block;font-size:12px;line-height:1.7;color:var(--tl-gold);margin-bottom:20px}

@media(max-width:1190px){
  .world-enabled .tl-workspace{grid-template-columns:210px minmax(0,1fr) 230px;gap:12px}
  .world-enabled .tl-office-stage{height:365px}
  .world-hud{grid-template-columns:minmax(0,1fr) 140px;gap:14px;padding:16px}
  .world-hud-actions{grid-column:1/-1;justify-content:flex-end}
  .world-hud-actions button{flex:0 1 auto}
  .world-brief{padding:16px}
  .world-radio{grid-template-columns:44px minmax(0,1fr)}
  .world-radio button{grid-column:2;justify-self:start}
  .world-route-cards.compact{grid-template-columns:1fr}
  .world-route-cards.compact>article{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.6fr);column-gap:14px}
  .world-route-cards.compact .world-route-top,.world-route-cards.compact p{grid-column:1/-1}
  .world-route-cards.compact small{align-self:center}
  .world-route-cards.compact button{margin:0;font-size:11px;padding:8px}
}
@media(max-width:1000px){
  .world-enabled .tl-workspace{grid-template-columns:205px minmax(0,1fr)}
  .world-enabled .tl-left{max-height:1100px}
  .world-enabled .tl-right{grid-column:1/-1;max-height:none;overflow:visible;padding:0;scrollbar-gutter:auto}
  .world-enabled .tl-team .tl-section-head{position:static}
  .world-enabled .tl-right>.tl-inspector{grid-column:1/-1;max-height:480px;margin-bottom:0}
  .world-level-list{grid-template-columns:repeat(4,minmax(0,1fr))}
  .world-characters article{grid-template-columns:60px minmax(0,1fr);padding:18px;gap:12px}
  .world-characters .world-portrait{width:60px}
}
@media(max-width:760px){
  .world-enabled .tl-workspace{display:flex;gap:16px}
  .world-enabled .tl-left{display:contents;max-height:none;overflow:visible;padding:0;scrollbar-gutter:auto}
  .world-enabled .tl-office-stage{height:365px;min-height:365px;max-height:440px}
  .world-enabled .tl-stage-heading h1{font-size:18px}
  .world-enabled .tl-stage-status{font-size:7px;max-width:85px}
  .world-enabled .tl-stage-footer>span{max-width:60%}
  .world-enabled .tl-stage-footer button{font-size:10px}
  .world-enabled .tl-right>.tl-inspector{max-height:none}
  .world-route-jobs small{font-size:11px}
  .world-enabled .tl-mobile-nav button,.world-enabled .tl-lead-actions button,.world-enabled .tl-inline button{min-height:44px}
  .world-hud{margin-top:12px;gap:14px;grid-template-columns:minmax(0,1fr);padding:15px}
  .world-hud strong{font-size:20px}
  .world-hud>button>span{font-size:9px}
  .world-vitals{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,.65fr);align-items:center;font-size:11px;gap:12px}
  .world-hud-actions{grid-column:auto;justify-content:stretch;gap:8px}
  .world-hud-actions button{flex:1;font-size:11px;padding:9px}
  .world-brief{padding:16px}
  .world-brief .tl-section-head h2{font-size:18px}
  .world-goals b{font-size:14px}
  .world-goals small{font-size:12px}
  .world-route-cards.compact p{font-size:13px}
  .world-route-cards.compact small{font-size:11px}
  .world-radio p{font-size:13px}
  .world-radio p b{font-size:12px}
  .world-project-drawer>summary{flex-wrap:wrap;font-size:12px;padding:12px}
  .world-project-drawer>summary>span{font-size:11px}
  .world-modal-body{padding:20px;gap:20px}
  .world-modal-header{gap:12px;flex-wrap:wrap}
  .world-modal-header h2,.world-dossier>h2,.world-epilogue h2{font-size:27px}
  .world-modal-header>button{margin-left:auto}
  .world-tabs{gap:7px;padding-bottom:14px}
  .world-tabs button{flex-basis:calc(50% - 7px);padding:10px 8px}
  .world-atlas{padding:0}
  .world-level-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .world-route-cards,.world-journal,.world-tool-grid,.world-characters{grid-template-columns:1fr}
  .world-route-cards>article{padding:18px}
  .world-route-top h3{font-size:18px}
  .world-route-cards p,.world-route-cards ol{font-size:13px}
  .world-quest{grid-template-columns:1fr;gap:8px;padding:16px}
  .world-quest>span,.world-quest>small{grid-column:1}
  .world-quest>b:not(:first-child){margin-top:12px}
  .world-quest>span,.world-quest>small,.world-choices small,.world-tool-grid small{font-size:12px}
  .world-dialogue{gap:11px}
  .world-dialogue p,.world-choices p,.world-characters p{font-size:14px}
  .world-choices{grid-template-columns:1fr}
  .world-record>div{grid-template-columns:minmax(0,1fr) 55px;gap:6px 10px}
  .world-record small{grid-column:1/-1;text-align:left;font-size:12px}
  .world-characters article{grid-template-columns:64px minmax(0,1fr);padding:18px}
  .world-characters .world-portrait{width:64px}
  .world-report,.world-epilogue{padding:18px}
  .tl-home-scene>.world-city{width:100%;height:auto;transform:none;max-height:none}
}
@media(max-width:370px){
  .world-brief{padding:13px}
  .world-route-cards.compact>article{display:flex;padding:13px}
  .world-route-cards.compact button{width:100%}
  .world-enabled .tl-stage-heading{left:12px;right:12px}
  .world-enabled .tl-stage-heading h1{font-size:17px}
  .world-enabled .tl-stage-heading .tl-kicker{font-size:8px}
  .world-enabled .tl-stage-status{max-width:72px}
  .world-enabled .tl-stage-footer{left:12px;right:12px;font-size:10px}
  .world-modal-body{padding:14px}
  .world-modal-header h2,.world-dossier>h2{font-size:24px}
  .world-modal-header .tl-kicker{font-size:9px}
  .world-level-list{gap:6px}
  .world-level-list button{grid-template-columns:1fr;padding:10px;gap:5px}
  .world-level-list button>span{grid-row:auto;font-size:16px}
  .world-level-list strong{font-size:12px}
  .world-characters article{grid-template-columns:1fr}
  .world-dialogue{grid-template-columns:36px minmax(0,1fr)}
  .world-dialogue .world-portrait{width:36px}
  .world-project-drawer>summary>span{width:100%;margin-left:23px;text-align:left}
}
@media(prefers-reduced-motion:reduce){
  .world-route>path,.world-task>circle{animation:none!important}
  .world-task,.world-district{transition:none!important}
}

/* Readable command desk. Scoped to Team Lead; the legacy game keeps its skin. */
.tl-body{--tl-bg:#e7ebe6;--tl-panel:#f0f2e9;--tl-raised:#dbe2d8;--tl-line:#b8c3b8;--tl-ink:#244438;--tl-muted:#50675a;--tl-green:#325c46;--tl-gold:#a33f29;--tl-red:#a33f29;background:var(--tl-bg);color:var(--tl-ink);font-size:16px;color-scheme:light}
.tl-body :is(button,input,select,summary){border-radius:0;font-family:Onest,sans-serif}
.tl-body :is(button,summary){transition:background-color 140ms ease,color 140ms ease,border-color 140ms ease,box-shadow 140ms ease,transform 90ms ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.tl-body :is(button,select,input:not([type=checkbox])){min-height:48px;font-size:14px;border:1px solid #718675}
.tl-body button{background:transparent;color:var(--tl-ink);line-height:1.45}
.tl-body button:hover:not(:disabled){background:#dbe2d8;border-color:#244438;color:#244438}
.tl-body button:active:not(:disabled){transform:translateY(1px) scale(.985);box-shadow:inset 0 1px 3px #24443826}
.tl-body button:disabled{transform:none;box-shadow:none;transition:none}
.tl-body summary:hover{background:#dbe2d8;color:#244438}
.tl-body button:disabled{opacity:1;background:#e2e6dc;color:#64715e;border-color:#b8c3b8;cursor:default}
.tl-body .tl-primary{background:#244438;color:#f0f2e9;border-color:#244438;font-weight:600}
.tl-body .tl-primary:hover:not(:disabled){background:#1c382f;border-color:#1c382f;color:#fff}
.tl-body .tl-primary:active:not(:disabled){background:#102d23;box-shadow:inset 0 2px 6px #0003}
.tl-body .tl-primary:disabled{background:#dbe2d8;color:#39503d;border-color:#8b9c86}
.tl-body :is(button,a,input,select,summary):focus-visible{outline:3px solid #b5462d;outline-offset:4px}
.tl-body :is(select,input:not([type=checkbox])){background:#f9faf4;color:#244438;min-height:52px;font-size:16px;border-color:#718675;padding:11px 12px}
.tl-body option{background:#f9faf4;color:#244438}
.tl-body label{font-size:13px;color:#50675a;line-height:1.5}
.tl-body input[type=checkbox]{accent-color:#244438;min-width:20px;min-height:20px;flex-shrink:0}
.tl-body .tl-fine{font-size:13px;line-height:1.65;color:#50675a}
.tl-body h2{font-size:18px;font-weight:600;letter-spacing:-.025em}
.tl-body small{font-size:12px;line-height:1.5}
.tl-body .tl-header{background:#1c382f;color:#e7ebe6;padding:16px 28px;border-bottom:1px solid #465f4e;gap:20px}
.tl-body .tl-brand{color:#e7ebe6;font-size:18px;min-height:44px}
.tl-body .tl-brand small{color:#c2d1be;font-size:10px}
.tl-body .tl-header-title{color:#c2d1be;font-size:12px}
.tl-body .tl-header-title span{color:#a5bcac}
.tl-body .tl-header nav button{color:#e7ebe6;border-color:transparent;font-size:13px}
.tl-body .tl-header nav button:hover{background:#355447;color:#fff;border-color:#89a08b}
.tl-body .tl-shell main{max-width:1720px;padding:0 28px 32px}
.tl-body .tl-commandbar{background:#e7ebe6;backdrop-filter:none;padding:18px 0;gap:24px;border-bottom:1px solid #9aab99}
.tl-body .tl-commandbar small{font-size:11px;letter-spacing:.02em;line-height:1.5}
.tl-body .tl-commandbar strong,.tl-body .tl-clock b{font-size:27px;color:#244438}
.tl-body .tl-goal b{font-size:15px}
.tl-body .tl-speeds .selected{background:#244438;border-color:#244438;color:#f0f2e9}
.tl-body .tl-bar{background:#ccd6c7;border-radius:0;height:4px}
.tl-body .tl-bar i{border-radius:0}
.tl-body .tl-section-head>span{font-size:11px;letter-spacing:0;color:#50675a;line-height:1.5}
.tl-body .tl-workspace,.tl-body.world-enabled .tl-workspace{height:auto;min-height:0;grid-template-columns:232px minmax(0,1fr) 284px;gap:20px;align-items:start}
.tl-body .tl-left,.tl-body .tl-right,.tl-body.world-enabled :is(.tl-left,.tl-right){max-height:none;overflow:visible;scrollbar-gutter:auto;padding-right:0;overscroll-behavior:auto}
.tl-body .tl-center{min-height:0;gap:16px}
.tl-body .tl-client{border:1px solid #b8c3b8!important;background:#f0f2e9;padding:12px;min-height:88px!important;margin-bottom:8px;gap:9px;border-radius:0}
.tl-body .tl-client.selected{background:#dbe2d8;border-color:#244438!important;box-shadow:inset 3px 0 #244438}
.tl-body .tl-client[data-id=s1]{--client:#28616c!important}
.tl-body .tl-client[data-id=s2]{--client:#a33f29!important}
.tl-body .tl-client[data-id=s3]{--client:#65507a!important}
.tl-body .tl-client-initial{display:none}
.tl-body .tl-client strong{font-size:14px;line-height:1.45}
.tl-body .tl-client small{font-size:12px;color:#50675a}
.tl-body .tl-pos{font-size:26px;min-width:46px}
.tl-body .tl-pos small{font-size:9px;color:#50675a}
.tl-body .tl-client-commands{gap:10px;margin-top:14px;grid-template-columns:1fr}
.tl-body .tl-client-commands label{font-size:12px}
.tl-body .tl-client-commands select{font-size:14px}
.tl-body .tl-team{margin-top:24px;overflow:visible}
.tl-body .tl-team .tl-section-head{position:static;padding:0;background:transparent}
@media(min-width:1001px){.tl-body:not(.world-enabled) .tl-team{max-height:400px;overflow-y:auto;scrollbar-color:#718675 #dbe2d8}}
.tl-body .tl-crew-card{border:1px solid #b8c3b8!important;background:#f0f2e9;padding:12px 10px;min-height:96px!important;border-radius:0;margin-bottom:8px;gap:10px}
.tl-body .tl-crew-card.selected{background:#dbe2d8;border-color:#244438!important;box-shadow:inset 3px 0 #244438}
.tl-body .tl-crew-card svg{width:48px;height:48px}
.tl-body .tl-crew-info strong{font-size:13px;line-height:1.45}
.tl-body .tl-crew-info small,.tl-body .tl-crew-status{font-size:12px;line-height:1.55;color:#50675a}
.tl-body .tl-fatigue{font-size:13px;color:#50675a}
.tl-body .tl-fatigue small{font-size:10px}
.tl-body .gd-growth{font-size:11px!important;color:#a33f29!important}
.tl-body :is(.tl-serp,.tl-signals,.tl-tasks,.tl-inspector,.tl-lead,.tl-policy){background:#f0f2e9;border:1px solid #b8c3b8;border-radius:0;padding:18px}
.tl-body .tl-serp-list{max-height:380px;scrollbar-color:#718675 #dbe2d8}
.tl-body .tl-serp-list li{padding:10px 6px;min-height:53px;border-color:#c2cdbf}
.tl-body .tl-serp-list b{font-size:13px;color:#244438}
.tl-body .tl-serp-list small,.tl-body .tl-serp-list li>span{font-size:11px;color:#50675a}
.tl-body .tl-serp-list i{color:#a33f29;font-size:11px}
.tl-body .tl-serp-list li.ours{background:#dbe2d8;border:1px solid #244438;border-radius:0}
.tl-body .tl-serp-list li.ours b{color:#244438}
.tl-body .tl-query{border:1px solid #718675;background:#e7ebe6;font-size:13px;line-height:1.6;border-radius:0;padding:12px}
.tl-body .tl-serp-gap{color:#325c46;font-size:12px}
.tl-body .tl-live-dot{color:#325c46!important;font-size:10px!important}
.tl-body .tl-serp-summary small{font-size:11px;color:#50675a}
.tl-body .tl-serp-summary b{font-size:25px;color:#244438}
.tl-body .tl-signal{grid-template-columns:80px minmax(0,1fr) 26px;font-size:12px;gap:8px;margin-top:13px}
.tl-body .tl-signal b{font-size:12px;color:#244438}
.tl-body .tl-signals .tl-section-head span{font-size:12px}
.tl-body .tl-management{flex:none;gap:12px}
.tl-body .tl-management h2{font-size:16px}
.tl-body .tl-management .tl-section-head>span{font-size:10px}
.tl-body .tl-lead-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}
.tl-body .tl-lead-actions button{font-size:13px;min-height:48px;flex:1 1 140px}
.tl-body .tl-lead p,.tl-body .tl-policy p{font-size:13px;line-height:1.65;color:#50675a}
.tl-body .tl-check{font-size:13px;align-items:center}
.tl-body .tl-production{margin-top:24px;gap:20px;grid-template-columns:minmax(0,1fr) 360px}
.tl-body.world-context-active .tl-production{grid-template-columns:1fr}
.tl-body .tl-task-list{max-height:430px;scrollbar-color:#718675 #dbe2d8}
.tl-body .tl-task-tabs{gap:6px;flex-wrap:wrap}
.tl-body .tl-task-tabs button{font-size:13px;min-height:44px;padding:8px 12px}
.tl-body .tl-task-tabs .selected{background:#244438;color:#f0f2e9;border-color:#244438}
.tl-body .tl-task-row{padding:13px 8px!important;gap:14px;border-bottom-color:#b8c3b8!important;min-height:76px!important}
.tl-body .tl-task-row.selected{background:#dbe2d8;border-color:#244438!important;border-radius:0!important}
.tl-body .tl-task-name strong{font-size:14px;line-height:1.5}
.tl-body .tl-task-name small,.tl-body .tl-task-state b,.tl-body .tl-task-state small{font-size:12px;color:#50675a;line-height:1.5}
.tl-body .tl-task-state{max-width:200px}
.tl-body .tl-task-symbol{font-size:22px;color:#325c46}
.tl-body .tl-detail-head small,.tl-body .tl-person-detail small{font-size:12px;color:#a33f29}
.tl-body .tl-detail-head h2,.tl-body .tl-person-detail h2{font-size:24px;line-height:1.25}
.tl-body .tl-detail-metrics{gap:20px;flex-wrap:wrap;border-color:#b8c3b8}
.tl-body .tl-detail-metrics small{font-size:11px}
.tl-body .tl-detail-metrics b{font-size:23px;color:#244438}
.tl-body .tl-dependencies{font-size:13px;line-height:1.6}
.tl-body .tl-inspector,.tl-body.world-enabled .tl-right>.tl-inspector{max-height:none;overflow:visible;scrollbar-gutter:auto;scroll-margin-top:170px}
.tl-body .tl-inspector>p,.tl-body .tl-person-trait{font-size:14px;line-height:1.75;color:#50675a}
.tl-body .tl-mini-flow span{background:#dbe2d8;border-color:#718675;color:#244438;border-radius:0}
.tl-body :is(.gd-projects,.gd-project-options article){background:#f0f2e9;border-color:#b8c3b8;border-radius:0}
.tl-body .gd-project-options article{background:#e7ebe6;padding:16px}
.tl-body .gd-project-options h3{font-size:17px}
.tl-body :is(.gd-profile,.gd-project-options p,.gd-choice-forecast,.gd-brief,.gd-forecast p,.gd-career p,.gd-score p,.gd-score div,.gd-score b){font-size:13px;line-height:1.65}
.tl-body :is(.gd-project-options small,.gd-cost,.gd-forecast small,.gd-career small){font-size:12px;line-height:1.65}
.tl-body .gd-project-options button{background:#244438;color:#f0f2e9;border-color:#244438;font-size:13px}
.tl-body .gd-career button{color:#244438}
.tl-body .gd-lead-limit{font-size:12px!important}
.tl-body .tl-events{padding-top:24px}
.tl-body .tl-message{border-color:#b8c3b8;gap:16px;padding:12px 0}
.tl-body .tl-message time{font-size:12px}
.tl-body .tl-message p{font-size:14px;line-height:1.7}
.tl-body .tl-footer{background:#dbe2d8;color:#50675a;border-color:#b8c3b8;font-size:11px;padding:20px 28px}
.tl-body .tl-toast{background:#244438;color:#f0f2e9;border:1px solid #718675;border-radius:0;box-shadow:4px 6px 0 #879b80;font-size:14px}
.tl-body .tl-toast{left:auto;right:24px;bottom:24px;transform:none;max-width:min(390px,calc(100vw - 32px));box-shadow:0 6px 24px #10241f33;border-left:4px solid #a8caab;padding:14px 18px}
.tl-body .tl-toast{pointer-events:none}
.tl-body .tl-toast.bad{background:#f3d8cb;color:#71301d}
.tl-body .tl-toast.bad{border-left-color:#b5462d;box-shadow:0 6px 24px #71301d26}
.world-feedback-spark{position:fixed;width:5px;height:5px;border-radius:1px;pointer-events:none;z-index:20}
.tl-body,.tl-body *{scrollbar-width:thin;scrollbar-color:#718675 #e7ebe6}
.tl-body ::-webkit-scrollbar{width:10px;height:10px}
.tl-body ::-webkit-scrollbar-track{background:#e7ebe6}
.tl-body ::-webkit-scrollbar-thumb{background:#718675;border:2px solid #e7ebe6;border-radius:8px}
.tl-body ::-webkit-scrollbar-thumb:hover{background:#244438}
.tl-body.world-enabled:has(.tl-report) .tl-toast:not(.bad){display:none}
.tl-body .tl-client-request{background:#f0f2e9;border-color:#b8c3b8;border-radius:0;padding:20px;gap:16px;margin-top:16px}
.tl-body .tl-client-request p{color:#50675a;font-size:14px;line-height:1.7}
.tl-body .tl-client-request small{color:#a33f29;font-size:12px}
.tl-body .tl-client-request span{color:#50675a;font-size:13px;line-height:1.6}
.tl-body .tl-request-risk{color:#a33f29!important;font-size:12px!important}
.tl-body .tl-request-actions button{font-size:13px;min-height:48px}
.tl-body .tl-incidentbar{background:#f3d8cb;border-color:#b5462d;border-radius:0}
.tl-body .tl-incidentbar b{color:#71301d;font-size:14px}
.tl-body .tl-incidentbar button{font-size:13px;min-height:44px}

/* The atlas is a working dossier, with the decision beside its context. */
.tl-body #modal,.tl-body #modal.world-modal{background:#f0f2e9;color:#244438;border:1px solid #718675;border-radius:0;max-height:calc(100svh - 32px)}
.tl-body #modal.world-modal{width:min(1240px,calc(100vw - 32px));scrollbar-color:#718675 #e7ebe6}
.tl-body #modal::backdrop{background:#10241fe0;backdrop-filter:blur(5px)}
.tl-body .tl-modal-body{padding:28px;gap:20px}
.tl-body .tl-modal-body p,.tl-body .tl-guide{font-size:15px;line-height:1.75;color:#50675a}
.tl-body .tl-guide b{color:#244438}
.tl-body .world-modal-body{padding:24px;gap:24px;color:#244438}
.world-dialog-chrome{position:sticky;top:0;z-index:4;margin:-24px -24px 0;padding:20px 24px 0;background:#f0f2e9;border-bottom:1px solid #b8c3b8}
.tl-body .world-modal-header{align-items:center;margin-bottom:16px}
.tl-body .world-modal-header h2{font-size:28px}
.tl-body .world-modal-header .tl-kicker{font-size:11px;color:#a33f29}
.tl-body .world-modal-header>button{font-size:14px}
.tl-body .world-tabs{border:0;padding-bottom:16px;gap:8px}
.tl-body .world-tabs button{font-size:14px;color:#50675a;min-height:48px;background:transparent}
.tl-body .world-tabs button.selected{background:#244438;border-color:#244438;color:#f0f2e9}
.world-atlas-layout{display:grid;grid-template-columns:minmax(260px,.55fr) minmax(0,1fr);gap:28px;align-items:start}
.world-atlas-nav{position:sticky;top:164px;min-width:0}
.tl-body .world-atlas{border:0;padding:0;background:#19362f;border-radius:0;margin-bottom:16px;overflow:hidden}
.tl-body .world-atlas .world-city{max-height:none}
.world-city .world-district>text[style]{font-size:44px}
.tl-body .world-level-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tl-body .world-level-list button{background:#e7ebe6;padding:10px;gap:4px 8px;grid-template-columns:23px minmax(0,1fr)}
.tl-body .world-level-list button>span{font-size:16px;color:#a33f29}
.tl-body .world-level-list strong{font-size:12px}
.tl-body .world-level-list small{font-size:11px;color:#50675a}
.tl-body .world-level-list button.selected{background:#dbe2d8;border-color:#244438;box-shadow:inset 3px 0 #244438}
.world-level-select{display:none!important}
.tl-body .world-dossier{padding:0;border:0}
.tl-body .world-dossier>.tl-kicker{color:#a33f29;font-size:11px}
.tl-body .world-dossier>h2{font-size:32px;line-height:1.2}
.tl-body .world-dossier>p:not(.tl-kicker){font-size:15px;line-height:1.75;color:#50675a}
.tl-body .world-quest{background:#dbe2d8;border-left:3px solid #b5462d;border-radius:0;grid-template-columns:100px minmax(0,1fr);padding:18px;gap:8px 16px}
.tl-body .world-quest>b{color:#a33f29;font-size:13px}
.tl-body .world-quest>p{color:#244438;font-size:14px}
.tl-body .world-quest>span,.tl-body .world-quest>small{color:#325c46;font-size:12px}
.tl-body .world-dialogue{border-color:#b8c3b8;padding:16px 0;margin:12px 0}
.tl-body .world-dialogue cite{color:#a33f29;font-size:13px}
.tl-body .world-dialogue p{color:#244438;font-size:15px;line-height:1.7}
.tl-body .world-route-cards{gap:12px}
.tl-body .world-route-cards>article,.tl-body .world-choices>article{background:#e7ebe6;border-color:#b8c3b8;border-radius:0;padding:18px}
.tl-body .world-route-cards>article.selected,.tl-body .world-choices>article.selected{background:#dbe2d8;border-color:#244438;box-shadow:inset 0 3px #244438}
.tl-body .world-route-top>span{color:#244438;border-color:#718675;background:#f0f2e9}
.tl-body .selected>.world-route-top>span{background:#244438;border-color:#244438;color:#f0f2e9}
.tl-body .world-route-top h3{font-size:19px;line-height:1.35}
.tl-body .world-route-cards p,.tl-body .world-route-cards ol{font-size:14px;color:#50675a;line-height:1.7}
.tl-body .world-route-cards small{font-size:12px;color:#a33f29;line-height:1.6}
.tl-body .world-route-cards button{font-size:14px}
.tl-body .world-voice{color:#a33f29;font-size:13px}
.tl-body .world-voice small{color:#50675a;font-size:12px}
.tl-body .world-choices p{color:#244438;font-size:14px}
.tl-body .world-choices small{color:#50675a;font-size:13px;line-height:1.65}
.tl-body :is(.world-journal article,.world-tool-grid>article,.world-characters article,.world-record){background:#e7ebe6;border-color:#b8c3b8;border-radius:0}
.tl-body .world-journal article>p{color:#244438;font-size:15px;line-height:1.75}
.tl-body .world-inventory>p,.tl-body .world-characters p,.tl-body .world-tool-grid p{color:#50675a;font-size:14px;line-height:1.75}
.tl-body .world-tool-grid small,.tl-body .world-characters small{color:#50675a;font-size:12px}
.tl-body .world-tool-grid h3{font-size:21px}
.tl-body .world-tool-mark{background:#dbe2d8;color:#244438;border-color:#718675}
.tl-body .world-tool-grid strong{color:#a33f29;font-size:30px}
.tl-body .world-tool-grid button{font-size:14px}
.tl-body .world-characters h3{font-size:23px}
.tl-body .world-characters .world-want{color:#244438;border-color:#b8c3b8}
.tl-body .world-record>b,.tl-body .world-record strong{color:#244438}
.tl-body .world-record>p,.tl-body .world-record small{color:#50675a;font-size:13px}

/* Map and prose get different surfaces instead of competing green boxes. */
.tl-body .world-hud{box-shadow:none;border-radius:0;border:0;border-bottom:1px solid #b8c3b8;background:transparent;padding:20px 0;margin:0 0 20px;gap:20px}
.tl-body .world-hud strong{font-size:24px;color:#244438}
.tl-body .world-hud>button>span{font-size:11px;color:#a33f29}
.tl-body .world-hud>button{border:0;background:transparent;padding:0;text-align:left}
.tl-body .world-hud-actions button{background:#f0f2e9;font-size:13px}
.tl-body .world-hud-actions button{display:flex;align-items:center;justify-content:center;gap:8px}
.world-hud-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}
.tl-body .world-tool-count{font-size:12px;min-width:20px;height:20px;display:grid;place-items:center;background:#dbe2d8;color:#244438;line-height:1}
.world-rules-drawer{margin-top:16px;border-top:1px solid #b8c3b8}
.world-rules-drawer>summary{cursor:pointer;padding:14px 0;font-size:13px;line-height:1.5;min-height:48px;color:#50675a}
.world-rules-drawer>p{font-size:13px;line-height:1.7;color:#50675a;padding-bottom:12px}
.world-coach{background:#dbe2d8;border:1px solid #a6b9a5;border-top:2px solid #325c46;padding:16px;margin:0 0 20px;min-width:0}
.world-coach-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:6px;padding:0;margin:0 0 16px}
.world-coach-steps li{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;line-height:1.5;color:#50675a;border-bottom:2px solid #b8c3b8;padding:0 0 9px}
.world-coach-steps li>span{font-family:SKMono,monospace;font-size:11px}
.world-coach-steps li[aria-current=step]{color:#244438;font-weight:650;border-color:#244438}
.world-coach-steps li[aria-current=step]>span{background:#244438;color:#f0f2e9;padding:2px 4px}
.world-coach-hint{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:start}
.world-coach-hint h3{font-size:18px;line-height:1.35;margin:0 0 8px;color:#244438}
.world-coach-hint p{font-size:14px;line-height:1.7;margin:0;color:#395846}
.world-coach-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tl-body .world-coach-actions button{font-size:12px;min-height:44px;padding:10px 12px}
.world-coach-actions button:not(.tl-primary){border-color:transparent}
.tl-body .world-vitals{font-size:12px;color:#50675a}
.tl-body .world-vitals meter{background:#cbd6c7;border-radius:0}
.tl-body .world-vitals meter::-webkit-meter-bar{background:#cbd6c7;border-radius:0}
.tl-body .world-vitals meter::-webkit-meter-optimum-value{background:#325c46}
.world-screen-nav{display:none}
.tl-body.world-enabled .tl-office-stage{height:auto;min-height:0;max-height:none;aspect-ratio:auto;background:#18352f;border-color:#294e44;border-radius:0;overflow:hidden}
.tl-body.world-enabled .tl-stage-heading{position:relative;inset:auto;display:flex;justify-content:space-between;align-items:start;gap:16px;padding:18px 20px;color:#e7ebe6;background:#1c382f}
.tl-body.world-enabled .tl-stage-heading h1{font-size:23px;color:#e7ebe6;line-height:1.25}
.tl-body.world-enabled .tl-stage-heading .tl-kicker{font-size:11px;color:#c2d1be;margin-bottom:7px}
.tl-body.world-enabled .tl-stage-status{color:#e4a38e;font-size:10px;line-height:1.6;max-width:110px;padding-top:2px}
.tl-body.world-enabled .tl-office-stage .world-operation{height:auto;aspect-ratio:1000/410;min-height:0;max-height:400px;padding:0;width:100%}
.tl-body.world-enabled .tl-office-stage .world-office{height:auto;aspect-ratio:1000/530;min-height:0;max-height:400px;padding:0;width:100%}
.world-map-legend{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 18px;background:#1c382f;color:#c2d1be;font-size:12px;line-height:1.5}
.world-map-legend>span{display:flex;align-items:center;gap:7px}
.world-map-legend i{display:inline-block;width:8px;height:8px;flex-shrink:0;background:#b9d8c5;border-radius:50%}
.world-map-legend>span:nth-child(2) i{background:#efce9b}
.world-map-legend>span:nth-child(3) i{background:transparent;border:2px solid #b9d8c5}
.tl-body.world-enabled .tl-stage-footer{position:relative;inset:auto;padding:12px 18px;border-top:1px solid #496452;color:#c2d1be;background:#1c382f;font-size:12px;gap:12px;min-height:62px}
.tl-body.world-enabled .tl-stage-footer button{background:transparent;color:#e7ebe6;border-color:#829d88;font-size:12px;min-height:44px;max-width:47%}
.tl-body.world-enabled .tl-stage-footer button:hover{background:#355447;color:#fff;border-color:#c2d1be}
.tl-body .world-brief{background:#f0f2e9;border:1px solid #b8c3b8;border-top:3px solid #244438;border-radius:0;padding:20px}
.tl-body .world-brief .tl-section-head h2{font-size:21px}
.tl-body .world-brief .tl-section-head button{font-size:13px}
.tl-body .world-goals{border-color:#b5462d;padding-left:14px}
.tl-body .world-goals b{font-size:15px;line-height:1.65}
.tl-body .world-goals small{font-size:13px;color:#50675a;line-height:1.65}
.tl-body .world-goals small:last-child{color:#a33f29}
.tl-body .world-route-jobs{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:8px}
.tl-body .world-route-jobs button{font-size:14px;background:#e7ebe6;border-color:#718675;padding:14px}
.tl-body .world-route-jobs button.selected{background:#dbe2d8;border-color:#244438;box-shadow:inset 3px 0 #244438}
.tl-body .world-route-jobs small{font-size:12px;color:#325c46}
.world-path-drawer{margin-top:8px;border-top:1px solid #b8c3b8}
.world-path-drawer>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;cursor:pointer;padding:16px 0;font-size:14px;line-height:1.5;color:#244438}
.world-path-drawer>summary>span{font-size:12px;color:#a33f29;flex-shrink:0}
.tl-body .world-route-cards.compact>article{padding:16px;display:flex;grid-template-columns:none}
.tl-body .world-route-cards.compact h3{font-size:16px}
.tl-body .world-route-cards.compact p{font-size:13px}
.tl-body .world-route-cards.compact small{font-size:12px}
.tl-body .world-radio{border-color:#b8c3b8;grid-template-columns:48px minmax(0,1fr) auto}
.tl-body .world-radio p{font-size:14px;color:#50675a}
.tl-body .world-radio p b{font-size:13px;color:#244438}
.tl-body .world-radio button{font-size:13px}
.tl-body .world-project-drawer{background:#f0f2e9;border-color:#b8c3b8;border-radius:0}
.tl-body .world-project-drawer>summary{font-size:14px;min-height:56px;color:#244438}
.tl-body .world-project-drawer>summary>span{font-size:12px;color:#a33f29}
.tl-body .world-job-tools small{font-size:12px;color:#50675a}
.world-request-drawer{background:#f0f2e9;border:1px solid #b8c3b8;border-left:3px solid #b5462d;margin:0 0 20px}
.world-request-drawer>summary{display:grid;grid-template-columns:160px minmax(0,1fr) auto 24px;align-items:center;gap:12px;padding:14px 18px;min-height:56px;list-style:none;cursor:pointer}
.world-request-drawer>summary>span{color:#a33f29;font-size:12px}
.world-request-drawer>summary>strong{font-size:14px;font-weight:550}
.world-request-drawer>summary>small{font-size:12px;color:#50675a}
.world-request-drawer>summary>b{font-size:22px;font-weight:400;color:#a33f29;text-align:right}
.world-request-drawer[open]>summary>b{transform:rotate(45deg)}
.tl-body .world-request-drawer .tl-client-request{border:0;border-top:1px solid #b8c3b8;margin:0}

/* A report is an unambiguous financial sheet; the epilogue stays in its flow. */
.tl-body .tl-report{background:#10241fe6;padding:24px;backdrop-filter:blur(5px)}
.tl-body .tl-report-card{background:#f0f2e9;border:1px solid #718675;border-radius:0;padding:32px;box-shadow:6px 8px 0 #879b80;width:min(920px,100%);scrollbar-color:#718675 #e7ebe6}
.tl-body .tl-report h1{font-size:clamp(30px,4vw,44px);line-height:1.15;color:#244438}
.tl-body .tl-report p{font-size:15px;line-height:1.7;color:#50675a}
.tl-body .tl-report-sites>div{background:#e7ebe6;border-top-color:#244438;border-radius:0;padding:18px}
.tl-body .tl-report-sites span{font-size:14px;color:#244438}
.tl-body .tl-report-sites b{color:#244438;font-size:32px}
.tl-body .tl-report-sites small{font-size:12px;color:#50675a}
.tl-body .tl-report-numbers{gap:20px 28px;border-color:#b8c3b8}
.tl-body .tl-report-numbers span{font-size:12px;color:#50675a}
.tl-body .tl-report-numbers b{font-size:23px;color:#244438}
.tl-body .tl-report-actions{position:sticky;bottom:-32px;background:#f0f2e9;padding:16px 0;margin-top:16px;border-top:1px solid #b8c3b8;z-index:2}
.tl-body .world-report,.tl-body .world-epilogue{background:#e7ebe6;border:1px solid #b8c3b8;border-radius:0;padding:24px}
.tl-body .world-epilogue{border-top:3px solid #b5462d}
.tl-body .world-report>b{color:#244438;font-size:17px}
.tl-body .world-report>span,.tl-body .world-epilogue>small{color:#a33f29;font-size:13px}
.tl-body .world-report p,.tl-body .world-epilogue p:not(.tl-kicker){color:#50675a;font-size:15px}
.tl-body .world-epilogue h2{color:#244438;font-size:32px}

/* Home: typography on paper, the city rendered as the single hero object. */
.tl-body .tl-home{background:#e7ebe6}
.tl-body .tl-home main{max-width:1720px;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);padding:44px 40px 28px;column-gap:36px;min-height:0;align-items:center}
.tl-body .tl-home h1{font-size:clamp(48px,5.2vw,80px);font-weight:500;line-height:1.02;color:#244438;letter-spacing:-.055em}
.tl-body .tl-home h1 em{color:#a33f29}
.tl-body .tl-home .tl-kicker{font-size:11px;color:#a33f29;line-height:1.6;margin-bottom:24px}
.tl-body .tl-home-copy{font-size:17px;line-height:1.8;color:#50675a;margin-top:24px}
.tl-body .tl-home-actions{gap:10px;margin-top:28px}
.tl-body .tl-home-actions button{font-size:15px;min-height:54px;padding:14px 20px}
.tl-body .tl-home-note{font-size:11px;line-height:1.65;color:#50675a}
.tl-body .tl-home-scene{border:1px solid #718675;background:#1c382f;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.tl-body .tl-home-scene>.world-city{width:100%;height:auto;max-height:none;filter:none;aspect-ratio:1000/650}
.tl-body .tl-home-caption{margin:0;border:0;border-top:1px solid #496452;padding:16px 20px;gap:20px;color:#c2d1be}
.tl-body .tl-home-caption span{color:#e4a38e;font-size:10px}
.tl-body .tl-home-caption p{font-size:13px;color:#c2d1be;max-width:310px}
.tl-body .tl-home-bottom{margin-top:36px;padding-top:24px;gap:28px;border-color:#9aab99}
.tl-body .tl-home-bottom b{font-size:16px;color:#244438}
.tl-body .tl-home-bottom span{font-size:14px;line-height:1.7;color:#50675a}
.tl-body .tl-legacy{font-size:12px;color:#50675a;margin-top:24px}
.tl-body .tl-legacy:hover{color:#244438}

@media(min-width:1700px){
  .tl-body .tl-workspace,.tl-body.world-enabled .tl-workspace{grid-template-columns:264px minmax(0,1fr) 310px;gap:24px}
}
@media(max-width:1200px) and (min-width:1001px){
  .tl-body .tl-shell main{padding-left:20px;padding-right:20px}
  .tl-body .tl-workspace,.tl-body.world-enabled .tl-workspace{grid-template-columns:210px minmax(0,1fr) 250px;gap:14px}
  .tl-body .tl-management{grid-template-columns:1fr}
  .tl-body .world-route-cards.compact{grid-template-columns:1fr}
  .tl-body .world-hud{grid-template-columns:minmax(0,1fr) 150px}
  .tl-body .world-hud-actions{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:1000px){
  .tl-body .tl-header{padding:14px 20px}
  .tl-body .tl-header-title{display:none}
  .tl-body .tl-shell main{padding:0 20px 24px}
  .tl-body .tl-workspace{grid-template-columns:220px minmax(0,1fr);gap:16px}
  .tl-body .tl-right{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
  .tl-body .tl-right>.tl-inspector{grid-column:1/-1}
  .tl-body .tl-production{grid-template-columns:1fr 320px}
  .tl-body .world-hud{grid-template-columns:minmax(0,1fr) auto;padding:18px 0;margin-bottom:0;gap:12px 18px}
  .tl-body .world-hud strong{font-size:21px}
  .tl-body .world-vitals{grid-column:1;grid-row:2;display:flex;flex-direction:row;align-items:center;gap:12px}
  .tl-body .world-vitals meter{max-width:110px}
  .tl-body .world-hud-actions{grid-column:2;grid-row:1/3;flex-direction:column;gap:6px}
  .tl-body .world-hud-actions button{min-height:44px;padding:8px 12px;font-size:12px}
  .tl-body .world-hud{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0}
  .tl-body .world-vitals{display:none}
  .tl-body .world-hud-actions{grid-column:2;grid-row:1;flex-direction:row;align-items:center}
  .tl-body .world-hud-actions button{width:auto;min-width:44px;height:44px;flex:initial;padding:10px}
  .world-hud-actions .world-action-label{display:none}
  .world-screen-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:sticky;top:var(--tl-toolbar-height,128px);z-index:4;gap:0;margin:0 -2px 16px;padding:8px 0;background:#e7ebe6;border-bottom:1px solid #9aab99;scroll-margin-top:var(--tl-toolbar-height,128px)}
  .tl-body .world-screen-nav button{padding:10px 6px;font-size:14px;border-color:transparent;border-bottom:2px solid transparent}
  .tl-body .world-screen-nav button.selected{background:#dbe2d8;color:#244438;border-bottom-color:#244438}
  .tl-body.world-enabled .tl-workspace{display:flex;flex-direction:column;gap:0;margin-top:16px;min-height:0}
  .tl-body.world-enabled .tl-left{display:contents}
  .tl-body.world-enabled .tl-center{width:100%;min-height:0}
  .tl-body.world-enabled .tl-right{display:none;width:100%;grid-template-columns:1fr 1fr;gap:16px}
  .tl-body.world-enabled .tl-clients,.tl-body.world-enabled .tl-team,.tl-body.world-enabled .tl-production,.tl-body.world-enabled .tl-events{display:none}
  .tl-body.world-enabled[data-world-panel=operation] .tl-center{display:flex}
  .tl-body.world-enabled:not([data-world-panel=operation]) .tl-center{display:none}
  .tl-body.world-enabled[data-world-panel=team] .tl-team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0}
  .tl-body.world-enabled[data-world-panel=team] .tl-team>.tl-section-head,.tl-body.world-enabled[data-world-panel=team] .tl-team>.tl-inspector{grid-column:1/-1}
  .tl-body.world-enabled[data-world-panel=tasks] .tl-production{display:flex;flex-direction:column;gap:16px;margin-top:0}
  .tl-body.world-enabled[data-world-panel=tasks] .tl-production>.tl-inspector{order:-1}
  .tl-body.world-enabled[data-world-panel=tasks] .tl-events{display:block}
  .tl-body.world-enabled[data-world-panel=market] .tl-clients{display:block;width:100%}
  .tl-body.world-enabled[data-world-panel=market] .tl-right{display:grid;margin-top:16px}
  .tl-body.world-enabled .tl-management{grid-template-columns:1fr 1fr}
  .tl-body.world-enabled .tl-office-stage .world-operation{aspect-ratio:1000/410;max-height:420px}
  .tl-body.world-enabled .tl-stage-heading h1{font-size:24px}
  .tl-body.world-enabled .tl-client{width:100%;margin-bottom:8px;min-height:82px!important;flex-wrap:nowrap}
  .tl-body.world-enabled .tl-client-commands{grid-template-columns:1fr 1fr}
  .tl-body .world-route-cards.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tl-body .world-radio{grid-template-columns:48px minmax(0,1fr)}
  .tl-body .world-radio button{grid-column:2;justify-self:start}
  .world-request-drawer>summary{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px 16px}
  .world-request-drawer>summary>span{grid-column:1;font-size:11px}
  .world-request-drawer>summary>strong{grid-column:1;font-size:14px}
  .world-request-drawer>summary>small{grid-column:1;font-size:12px}
  .world-request-drawer>summary>b{grid-column:2;grid-row:1/4}
  .world-atlas-layout{grid-template-columns:minmax(0,1fr)}
  .world-atlas-nav{position:static;order:2;border-top:1px solid #b8c3b8;padding-top:24px}
  .tl-body .world-atlas{max-width:580px;margin:0 auto 20px}
  .tl-body .world-level-list{grid-template-columns:repeat(4,minmax(0,1fr))}
  .world-level-select{display:flex!important;font-size:13px!important}
  .tl-body .world-dossier{order:1}
  .tl-body .tl-home main{grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);padding:36px 24px 24px;gap:24px}
  .tl-body .tl-home h1{font-size:clamp(42px,5.5vw,60px)}
  .tl-body .tl-home-copy{font-size:15px}
}
@media(max-width:760px){
  .tl-body .tl-workspace{align-items:stretch}
  .tl-body .tl-center{width:100%;min-width:0}
  .tl-body .tl-office-stage{width:100%;min-width:0;max-width:100%}
  .tl-body .tl-team{grid-template-columns:minmax(0,1fr);min-width:0;width:100%}
  .tl-body .tl-management{grid-template-columns:minmax(0,1fr)}
  .tl-body .tl-section-head{flex-wrap:wrap}
  .tl-body .tl-header{padding:10px 14px;gap:10px}
  .tl-body .tl-brand{font-size:14px;gap:7px}
  .tl-body .tl-brand img{width:26px;height:26px}
  .tl-body .tl-brand small{font-size:8px;letter-spacing:.13em}
  .tl-body .tl-header nav{gap:0}
  .tl-body .tl-header nav button{font-size:11px;padding:6px 8px;min-height:44px}
  .tl-body .tl-shell main{padding:0 14px 24px}
  .tl-body .tl-commandbar{padding:12px 0;display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:10px}
  .tl-body .tl-commandbar small{font-size:9px;line-height:1.4;letter-spacing:0}
  .tl-body.world-enabled .tl-commandbar small{font-size:11px}
  .tl-body .tl-commandbar strong,.tl-body .tl-clock b{font-size:23px}
  .tl-body .tl-money{min-width:0}
  .tl-body .tl-goal{min-width:0;max-width:none}
  .tl-body .tl-goal b{font-size:12px;line-height:1.5}
  .tl-body .tl-clock{min-width:0}
  .tl-body .tl-time-controls{grid-column:1/-1;display:flex;gap:8px}
  .tl-body .tl-time-controls>.tl-primary{font-size:14px;min-height:48px;flex:1}
  .tl-body .tl-speeds button{min-width:44px;min-height:48px;padding:8px;font-size:13px}
  .tl-body .world-hud{padding:14px 0;gap:10px;grid-template-columns:minmax(0,1fr) auto}
  .tl-body .world-hud strong{font-size:18px;line-height:1.35}
  .tl-body .world-hud>button>span{font-size:10px;letter-spacing:0}
  .tl-body .world-vitals{font-size:11px;line-height:1.5;gap:8px}
  .tl-body .world-vitals meter{max-width:70px}
  .tl-body .world-hud-actions button{font-size:11px;padding:8px}
  .tl-body .tl-toast{right:16px;bottom:16px;font-size:13px;padding:12px 16px}
  .tl-body .world-screen-nav button{font-size:12px;min-height:46px;padding:10px 4px}
  .tl-body.world-enabled .tl-stage-heading{padding:16px;gap:10px}
  .tl-body.world-enabled .tl-stage-heading h1{font-size:21px}
  .tl-body.world-enabled .tl-stage-heading .tl-kicker{font-size:10px}
  .tl-body.world-enabled .tl-stage-status{font-size:9px;max-width:85px}
  .tl-body.world-enabled .tl-stage-footer{padding:10px 14px;font-size:12px;line-height:1.5}
  .tl-body.world-enabled .tl-stage-footer>span{max-width:55%}
  .tl-body.world-enabled .tl-stage-footer button{font-size:12px;min-height:44px;padding:8px 10px}
  .tl-body .world-brief{padding:16px}
  .tl-body .world-brief .tl-section-head h2{font-size:19px}
  .tl-body .world-brief .tl-section-head button{font-size:12px;min-height:44px}
  .tl-body .world-goals b{font-size:14px}
  .tl-body .world-goals small{font-size:12px}
  .tl-body .world-route-cards.compact{grid-template-columns:1fr}
  .tl-body .world-route-jobs button{font-size:14px}
  .tl-body .world-path-drawer>summary{align-items:flex-start;flex-direction:column;gap:6px;font-size:14px}
  .tl-body .world-path-drawer>summary>span{font-size:12px}
  .tl-body .world-radio p{font-size:14px}
  .world-coach{padding:14px}
  .world-coach-steps li{gap:5px;font-size:12px}
  .world-coach-steps li>span{font-size:10px}
  .world-coach-hint h3{font-size:17px}
  .world-coach-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .world-coach-actions>.tl-primary{grid-column:1/-1}
  .tl-body .world-coach-actions button{padding:9px 6px;font-size:12px}
  .tl-body.world-enabled .tl-management{grid-template-columns:1fr;gap:12px}
  .tl-body.world-enabled[data-world-panel=team] .tl-team{grid-template-columns:1fr}
  .tl-body .tl-crew-card{padding:14px;min-height:100px!important;margin:0}
  .tl-body .tl-crew-card svg{width:56px;height:56px}
  .tl-body .tl-crew-info strong{font-size:15px}
  .tl-body .tl-crew-info small,.tl-body .tl-crew-status{font-size:13px}
  .tl-body .tl-fatigue{display:block;font-size:15px}
  .tl-body .tl-fatigue small{font-size:11px}
  .tl-body .tl-client strong{font-size:15px}
  .tl-body .tl-client small{font-size:12px}
  .tl-body .tl-client-commands label{font-size:13px}
  .tl-body .tl-client-commands select{font-size:15px}
  .tl-body.world-enabled[data-world-panel=market] .tl-right{grid-template-columns:1fr}
  .tl-body .tl-task-row{gap:10px;align-items:flex-start}
  .tl-body .tl-task-symbol{width:24px;font-size:20px}
  .tl-body .tl-task-name strong{font-size:14px}
  .tl-body .tl-task-name small{font-size:12px}
  .tl-body .tl-task-state{max-width:105px}
  .tl-body .tl-task-state b,.tl-body .tl-task-state small{font-size:12px}
  .tl-body .tl-production{display:flex;flex-direction:column}
  .tl-body .tl-right{grid-template-columns:minmax(0,1fr)}
  .tl-body .tl-inspector{scroll-margin-top:210px}
  .tl-body .tl-client-request{display:grid;grid-template-columns:48px minmax(0,1fr);padding:16px;gap:12px}
  .tl-body .tl-client-request h2{font-size:18px;line-height:1.4}
  .tl-body .tl-request-avatar svg{width:48px;height:48px}
  .tl-body .tl-request-actions{grid-column:1/-1;display:flex;flex-direction:column;width:100%;gap:8px}
  .tl-body .tl-request-actions button{font-size:14px}
  .tl-body .world-modal-body{padding:16px;gap:20px}
  .world-dialog-chrome{top:0;margin:-16px -16px 0;padding:16px 16px 0}
  .tl-body .world-modal-header{gap:10px;margin-bottom:12px;align-items:start;flex-wrap:nowrap}
  .tl-body .world-modal-header h2{font-size:23px;line-height:1.2}
  .tl-body .world-modal-header .tl-kicker{font-size:9px;margin-bottom:6px}
  .tl-body .world-modal-header>button{font-size:12px;padding:8px 10px;min-height:44px}
  .tl-body .world-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-bottom:12px}
  .tl-body .world-tabs button{font-size:13px;min-height:44px;padding:8px}
  .tl-body .world-level-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tl-body .world-level-list button{grid-template-columns:24px minmax(0,1fr);padding:12px}
  .tl-body .world-level-list strong{font-size:13px}
  .tl-body .world-level-list small{font-size:12px}
  .tl-body .world-dossier>h2{font-size:28px}
  .tl-body .world-quest{grid-template-columns:1fr;padding:16px;gap:8px}
  .tl-body .world-quest>span,.tl-body .world-quest>small{grid-column:1}
  .tl-body .world-route-cards,.tl-body .world-choices,.tl-body .world-journal,.tl-body .world-tool-grid,.tl-body .world-characters{grid-template-columns:1fr}
  .tl-body .world-characters article{grid-template-columns:64px minmax(0,1fr);padding:16px;gap:14px}
  .tl-body .world-characters h3{font-size:21px}
  .tl-body .world-tool-grid p,.tl-body .world-characters p{font-size:15px}
  .tl-body .world-project-drawer>summary{font-size:13px;gap:8px}
  .tl-body .world-project-drawer>summary>span{font-size:12px;white-space:normal}
  .tl-body .tl-report{padding:12px}
  .tl-body .tl-report-card{padding:22px;max-height:calc(100svh - 24px)}
  .tl-body .tl-report-actions{bottom:-22px;padding:14px 0;gap:8px}
  .tl-body .tl-report-sites{grid-template-columns:1fr;gap:8px;margin:22px 0}
  .tl-body .tl-report-sites>div{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:14px;gap:8px}
  .tl-body .tl-report-sites b{grid-column:2;grid-row:1/3;text-align:right}
  .tl-body .tl-report-sites small{grid-column:1}
  .tl-body .tl-report-numbers{gap:16px 20px}
  .tl-body .tl-report-numbers span{font-size:12px}
  .tl-body .tl-report-numbers b{font-size:21px}
  .tl-body .world-report,.tl-body .world-epilogue{padding:18px}
  .tl-body .world-epilogue h2{font-size:28px}
  .tl-body .tl-footer{font-size:11px;gap:8px;padding:20px 14px}
  .tl-body .tl-home main{display:flex;flex-direction:column;padding:32px 20px 24px;gap:24px;align-items:stretch}
  .tl-body .tl-home h1{font-size:clamp(43px,10vw,64px)}
  .tl-body .tl-home .tl-kicker{font-size:10px;margin-bottom:20px}
  .tl-body .tl-home-copy{font-size:16px;line-height:1.75;max-width:none;margin-top:20px}
  .tl-body .tl-home-actions{margin-top:24px;gap:8px}
  .tl-body .tl-home-actions button{font-size:14px;flex:1;padding:13px 16px}
  .tl-body .tl-home-note{font-size:11px}
  .tl-body .tl-home-scene{margin:0;width:100%}
  .tl-body .tl-home-caption{padding:14px 16px;margin:0}
  .tl-body .tl-home-caption span{display:none}
  .tl-body .tl-home-caption p{font-size:13px;max-width:none}
  .tl-body .tl-home-bottom{display:grid;grid-template-columns:1fr;gap:22px;margin:0;padding-top:24px}
  .tl-body .tl-home-bottom>div{max-width:none}
  .tl-body .tl-legacy{font-size:12px;margin:0}
}
@media(max-width:370px){
  .tl-body .tl-header{gap:6px;padding:10px}
  .tl-body .tl-brand{font-size:12px;gap:5px}
  .tl-body .tl-brand small{font-size:7px}
  .tl-body .tl-brand img{width:23px;height:23px}
  .tl-body .tl-header nav button{font-size:10px;padding:6px}
  .tl-body .tl-shell main{padding-left:10px;padding-right:10px}
  .tl-body .tl-commandbar strong,.tl-body .tl-clock b{font-size:21px}
  .tl-body .tl-goal b{font-size:11px}
  .tl-body .world-hud strong{font-size:17px}
  .tl-body .world-hud>button>span{font-size:9px}
  .tl-body .world-vitals{font-size:10px;gap:5px}
  .tl-body .world-vitals meter{max-width:45px}
  .tl-body .world-hud-actions button{font-size:10px;min-height:44px}
  .tl-body .world-characters article{grid-template-columns:1fr}
  .tl-body .tl-home main{padding-left:16px;padding-right:16px}
}
@media(prefers-reduced-motion:reduce){.tl-body *{scroll-behavior:auto!important;transition:none!important}}
