:root{--cap-surface:#f3f7f4;--cap-ink:#20372e;--cap-control:#e4eee7;--cap-border:#b7c7bd;--cap-hover:#d4e5d9;--cap-focus:#227e68;}
/* November 11: preserve the URBAN OS forest palette and give the scene priority. */
:root{--c12-gap:12px;--c12-radius:16px;--c12-warm:#bc8b50;--c12-risk:#a23e2e;--c12-surface:#f5f8f6}
::selection{background:#bdd9cc;color:#172c25}
html{scrollbar-width:thin;scrollbar-color:#7e9b90 #e9efeb}
body *{scrollbar-width:thin;scrollbar-color:#829e91 transparent}
body ::-webkit-scrollbar{width:5px;height:5px}body ::-webkit-scrollbar-track{background:transparent}body ::-webkit-scrollbar-thumb{background:#829e9180;border-radius:8px}body ::-webkit-scrollbar-thumb:hover{background:#829e91}
html:root body.ui-system .glass-panel{scrollbar-gutter:stable;padding:16px!important;border-radius:22px!important}
html:root body.ui-system .glass-panel-head{display:grid;grid-template-columns:28px minmax(0,1fr) 32px 40px;gap:8px;align-items:center;padding:0 0 16px;min-height:44px}
html:root body.ui-system .glass-panel-head>strong{font-size:14px;line-height:1.3;overflow-wrap:normal;word-break:normal;min-width:0}
html:root body.ui-system .glass-panel-head .cap-panel-handle{padding:4px!important;width:32px;min-height:44px;background:transparent!important}
html:root body.ui-system .glass-panel-head .glass-collapse{width:40px;min-width:40px;height:40px;min-height:40px;flex-basis:40px}
html:root body.ui-system .glass-panel .project-card{display:grid;grid-template-columns:40px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:12px!important;border-radius:16px!important;min-height:76px}
html:root body.ui-system .project-card :is(img,.project-icon){width:40px;height:40px;object-fit:cover;border-radius:12px}
html:root body.ui-system .project-card b{font-size:14px;line-height:1.35;word-break:normal;overflow-wrap:normal}
html:root body.ui-system .project-card small{font-size:12px;line-height:1.4;margin-top:5px;display:block}
html:root body.ui-system .project-rail h1{font-size:clamp(25px,2.3vw,34px);line-height:1.12;letter-spacing:-.025em;text-wrap:balance}
html:root body.ui-system .project-rail .intro{font-size:14px;line-height:1.55}
html:root body.ui-system .project-rail .eyebrow{display:none}
html:root body.ui-system .header{gap:12px;padding-inline:18px}
html:root body.ui-system .header nav.glass-control-bar a{padding-inline:10px!important;font-size:12px!important}
html:root body.ui-system .header nav .ui-icon{width:18px;height:18px;flex-basis:18px}
html:root body.ui-system .immersive-hud{max-height:calc(100% - 24px);overflow:visible;gap:10px}
html:root body.ui-system .immersive-hud .cap-compass{display:block!important;width:96px!important;height:96px!important;min-height:96px!important;border-radius:50%!important;flex-shrink:0;align-self:end}
html:root body.ui-system .cap-compass svg{width:86px;height:86px}
html:root body.ui-system .imm-map{max-height:min(240px,32dvh);overflow:hidden;width:210px}
html:root body.ui-system .imm-map canvas{width:100%;height:auto;max-height:155px;object-fit:contain}
html:root body.ui-system .cap-weather[open]{max-height:min(430px,60dvh);overflow:auto}
html:root body.ui-system .imm-actions{flex-shrink:0}
html:root body.ui-system .cap-preview-modes{flex-wrap:wrap;gap:8px;max-width:100%;position:relative;z-index:2}
html:root body.ui-system .cap-preview-modes select{min-width:150px;min-height:44px}
html:root body.ui-system :is(.ci-side,.hx-sidebar,.fx-sidebar,.ci-inspector,.eco-panel){overflow-x:hidden;overflow-y:auto;min-width:0}
html:root body.ui-system .glass-panel :is(.eco-card,.ci-device){border-radius:14px!important}
html:root body.ui-system .dw-tabs{flex-wrap:wrap;overflow:visible;gap:6px}
html:root body.ui-system .dw-tabs button{font-size:14px;min-height:44px}
@media(min-width:1100px){html:root body.ui-system .territory{grid-template-columns:300px minmax(0,1fr);gap:14px;padding:14px}html:root body.ui-system .project-rail{width:100%;max-width:none;max-height:calc(100dvh - 112px)}html:root body.ui-system .scene-wrap{min-width:0}}
@media(min-width:701px) and (max-width:1099px){html:root body.ui-system .territory{grid-template-columns:270px minmax(0,1fr);gap:10px;padding:10px}html:root body.ui-system .header nav{display:none!important}html:root body.ui-system .project-rail{width:100%;max-width:none}.imm-map{display:none!important}}
@media(max-width:700px){html:root body.ui-system .header{padding-inline:12px;gap:8px}html:root body.ui-system .header .brand{font-size:12px;gap:8px}html:root body.ui-system .territory{padding:8px;gap:8px}html:root body.ui-system .project-rail:not(.glass-collapsed){width:100%;max-height:52dvh}html:root body.ui-system .immersive-hud .cap-compass{width:70px!important;height:70px!important;min-height:70px!important}html:root body.ui-system .cap-compass svg{width:62px;height:62px}html:root body.ui-system .immersive-hud{right:8px;top:8px;max-width:112px}html:root body.ui-system .imm-actions{grid-template-columns:repeat(2,44px)}html:root body.ui-system .imm-actions button{width:44px;height:44px;min-height:44px;padding:9px!important}html:root body.ui-system .cap-weather{max-width:112px}html:root body.ui-system .cap-weather[open]{position:absolute;right:0;top:0;width:min(300px,calc(100vw - 32px));max-width:none}html:root body.ui-system .scene-bottom{max-width:calc(100% - 16px);left:8px;bottom:28px}.timeline{display:none}.scene-controls{max-width:100%!important;gap:4px!important}.scene-controls .segmented button{font-size:12px!important;padding:9px!important}.construction-filters{grid-template-columns:1fr 1fr!important}.construction-heading{align-items:start!important;flex-direction:column}.construction-metrics{grid-template-columns:1fr 1fr!important}.construction-insights{grid-template-columns:1fr!important}.construction-cash{height:200px!important}.construction-schedule ol{grid-template-columns:1fr!important}.construction-schedule li{display:flex;justify-content:space-between}.construction-tabs{flex-wrap:nowrap!important;overflow-x:auto!important}.construction-tabs button{white-space:nowrap}.construction{padding:16px!important}.construction-filters input{width:100%}}
.construction{padding:28px;background:#f5f8f6;color:#243a32;border-radius:18px;margin-block:18px;min-width:0;font-size:14px;line-height:1.5}
.construction-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.construction h2{font-size:clamp(23px,2.2vw,32px);letter-spacing:-.025em;margin:0 0 8px}.construction p{max-width:75ch}.construction h3{font-size:19px;margin:28px 0 14px}.construction h4{font-size:16px}.construction-demo{padding:7px 12px;background:var(--cap-control);color:#315b48;border-radius:8px;white-space:nowrap;font-size:12px;font-weight:600}.construction-source{color:#52685e;font-size:13px}.construction-filters{display:grid;grid-template-columns:1fr 1fr 1.4fr auto;align-items:end;gap:12px;margin:24px 0}.construction label{display:grid;gap:6px;font-size:13px}.construction :is(input,select){border:1px solid #aabdb2;min-height:44px;padding:10px;background:white;min-width:0;box-sizing:border-box}.construction button{min-height:44px;border:0;background:#e4ece7;color:#233f32;padding:10px 16px;border-radius:10px!important;font:inherit;cursor:pointer}.construction button:hover{background:#cfe1d6}.construction-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid #cbd8d0;padding-bottom:12px}.construction-tabs button[aria-selected=true]{background:#284b3e;color:#fff}.construction-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:28px 0}.construction-metrics div{padding:0 0 16px;border-bottom:2px solid #99b5a5}.construction-metrics dt{font-size:13px;color:#52685e}.construction-metrics dd{margin:8px 0 0;font-size:clamp(20px,2.2vw,30px);font-weight:650;font-variant-numeric:tabular-nums}.construction-table{overflow:auto;max-width:100%;border:1px solid #d4dfd8;border-radius:12px}.construction table{border-collapse:collapse;width:100%;min-width:650px;text-align:left;background:white}.construction :is(th,td){padding:14px 16px;border-bottom:1px solid #e2e9e4;font-size:13px;vertical-align:middle}.construction thead{background:#eaf0ec}.construction tbody th{font-weight:500}.construction tbody th button{background:transparent;text-align:left;padding-inline:0;color:#24614d;text-decoration:underline;text-underline-offset:4px}.construction-progress{display:flex;align-items:center;gap:10px}.construction meter{width:100px;accent-color:#427d62}.construction-risk{color:#a23e2e!important;font-weight:650}.construction-insights{display:grid;grid-template-columns:1fr 1fr;gap:28px}.construction-insights ul{padding-left:20px}.construction-insights li{margin-block:10px}.construction-cash{display:flex;height:240px;align-items:stretch;gap:20px;padding:20px;background:#eaf0ec;border-radius:12px}.construction-cash>div{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:end;align-items:center;gap:10px}.construction-cash span{display:block;background:var(--cash-color);height:var(--cash);max-height:145px;width:min(70px,80%);border-radius:5px 5px 0 0}.construction-cash strong{font-size:13px;text-align:center}.construction-cash small{font-size:12px}.construction-schedule ol{display:grid;grid-template-columns:repeat(3,1fr);padding:0;gap:8px;list-style:none}.construction-schedule li{padding:14px;background:#e6ece8;border-radius:10px}.construction-schedule li small{display:block;color:#52685e}.construction-schedule li.done{background:#d5e6d8}.construction-schedule li.current{background:#284b3e;color:white}.construction-schedule li.current small{color:#d9e8df}.construction-schedule h4 span{font-weight:400;font-size:13px}.construction-object{margin-bottom:30px}.construction details label{display:flex;align-items:center;white-space:nowrap}.construction details input{min-height:20px}.construction-empty{padding:32px;text-align:center}.construction :focus-visible{outline:3px solid #397d62;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.construction *{animation:none!important;transition:none!important}}

.project-rail h1{font-size:26px!important;line-height:1.15!important;margin:20px 0 12px!important;letter-spacing:-.025em!important}.project-rail .intro{font-size:14px!important;margin-bottom:18px!important}.center-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 24px}.center-links button{grid-column:1/-1}.center-links a{font-size:12px;line-height:1.4;text-decoration:underline;text-underline-offset:3px;padding:5px 0}.center-links a:last-child{grid-column:1/-1}
.scenario-library{max-width:1120px;margin:0 auto;padding:28px 0 56px}.scenario-library h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.03em}.scenario-library>.lead{max-width:65ch}.scenario-list{margin-top:32px;border-top:1px solid #c8d4ce}.scenario-list article{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,300px) 190px;gap:28px;align-items:center;padding:28px 0;border-bottom:1px solid #c8d4ce}.scenario-list h2{font-size:22px;margin:0 0 8px}.scenario-list p{margin:0;max-width:54ch;line-height:1.5}.scenario-list article>.primary{grid-column:3}.scenario-options{display:flex;flex-direction:column;gap:10px;font-size:13px}.scenario-options label{display:grid;gap:6px}.scenario-options select{width:100%;padding:10px;border:1px solid #bdcbc4;border-radius:8px;background:#f7faf8;color:#243a31}.scenario-player{position:absolute;z-index:30;left:24px;top:22px;width:min(430px,calc(100% - 48px));max-height:calc(100% - 48px);overflow:auto;background:var(--cap-surface);color:var(--cap-ink);padding:20px;border-radius:16px;box-shadow:0 12px 36px #142a2926}.scenario-player[hidden]{display:none}.scenario-player header{display:flex;align-items:start;gap:14px;justify-content:space-between}.scenario-player h2{font-size:22px;line-height:1.2;margin:0}.scenario-player p{font-size:14px;line-height:1.55}.scenario-player button{font:inherit;font-size:13px;min-height:42px;padding:9px 13px;border:1px solid var(--cap-border);border-radius:8px;color:#234236;background:var(--cap-control);cursor:pointer}.scenario-player button:hover{background:var(--cap-hover)}.scenario-player button:disabled{opacity:.5;cursor:default}.scenario-actions{display:flex;gap:8px;flex-wrap:wrap}.scenario-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:18px;touch-action:none}.scenario-player fieldset{border:1px solid #b9c9bf;border-radius:10px;padding:14px;margin-top:18px}.scenario-player legend{font-size:16px;font-weight:650;line-height:1.4}.scenario-player fieldset button{display:block;width:100%;text-align:left;margin:7px 0}.scenario-player:focus-within{outline:none}.scenario-library select:focus-visible,.scenario-player button:focus-visible{outline:3px solid var(--cap-focus);outline-offset:2px}
@media(max-width:900px){.scenario-list article{grid-template-columns:1fr 190px}.scenario-options{grid-column:1}.scenario-list article>.primary{grid-column:2;grid-row:1/span 2}}
@media(max-width:600px){.scenario-library{padding:10px 0 32px}.scenario-list article{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:22px 0}.scenario-player{left:12px;top:12px;width:calc(100% - 24px);max-height:45%;padding:14px}.scenario-player h2{font-size:18px}.scenario-pad button{padding:8px 4px}.scenario-player p{margin:10px 0}.scenario-actions button{flex:1 1 auto}}
.hotel-experiences{display:flex;gap:8px;flex-wrap:wrap;align-self:center}.hotel-quest-panel{left:16px;top:16px;width:350px;max-height:calc(100% - 32px)}.hq-guide{color:#466255;font-weight:600}.hotel-quest-panel h3{margin:18px 0 8px;font-size:19px}.hq-rewards{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #bccdc2;font-size:13px}.hq-rewards span{color:#526559}.hq-rewards .earned{color:#175e42;font-weight:700}.hq-rewards small{font-size:11px;line-height:1.5}.hx-head .hx-kicker,.hx-room-card .hx-kicker{display:none}.hx-head h1{font-size:30px!important}.hx-head p{max-width:65ch}.hx-head{align-items:center!important}
@media(max-width:600px){.hotel-quest-panel{width:calc(100% - 24px);max-height:44%;left:12px;top:12px}.hotel-experiences{width:100%}.hotel-experiences button{flex:1;font-size:12px!important}}
.scenario-running .journey-root,.scenario-running #assistant-root{display:none!important}.hotel-quest-active .hx-walkbar{max-width:620px}.hotel-quest-active .hx-caption{display:none!important}
@media(max-width:600px){.hotel-quest-active .immersive-hud{display:none!important}.hotel-quest-panel{max-height:38%!important;padding:12px!important}.hotel-quest-panel h3{margin-top:10px}.hotel-quest-active .hx-walkbar{left:12px!important;right:12px!important;width:auto!important;bottom:12px!important;padding:10px!important}.hotel-quest-active .hx-walkbar>small{display:none}.hotel-quest-panel .hq-guide{margin:6px 0!important}.hotel-quest-panel header h2{font-size:18px}.hotel-quest-panel button{min-height:44px!important}.hotel-quest-active .hx-perspective{display:none}}

.scenario-pad{gap:8px}.scenario-player button{min-height:44px}.scenario-player header{position:sticky;top:-1px;background:var(--cap-surface);z-index:1;padding-bottom:8px}.scenario-player [data-hq-question] button:focus-visible{outline:3px solid var(--cap-focus);outline-offset:2px}
.ci-architecture-tools input{width:100%;min-height:44px}.ci-wall-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--cap-border);font-size:12px}.ci-architecture-tools label{display:grid;gap:5px;font-size:12px}.ci-architecture-tools .ci-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ci-architecture-tools p{font-size:13px;line-height:1.5}
html:root body.ui-system #scene-home{font-size:12px!important}html:root body.ui-system #scene-status{font-size:12px!important;line-height:1.4!important;max-width:calc(100% - 24px);padding:6px 10px!important;background:#f3f7f4e8;color:#263d32}html:root body.ui-system .imm-heading{font-size:11px!important;line-height:1.2!important}
@font-face{font-family:'Golos Text';src:url('/capital/assets/fonts/GolosText.ttf') format('truetype');font-style:normal;font-weight:400 900;font-display:swap}html:root,body,body.ui-system,button,input,select,textarea{font-family:'Golos Text',sans-serif!important}.construction table,.construction-kpis,.hq-rewards{font-variant-numeric:tabular-nums}
html:root body.ui-system .ci-eyebrow,html:root body.ui-system .eco-heading>.eco-tag{display:none!important}html:root body.ui-system .ci-head{margin:0 0 12px!important;padding:0!important;gap:16px!important}html:root body.ui-system .ci-head h1{font-size:24px!important;margin:0 0 6px!important}html:root body.ui-system .ci-head p{font-size:13px!important;margin:0!important}.ci-floor-context{margin-bottom:10px!important}.ci-selection{padding:12px!important;margin-bottom:12px!important}.ci-tabs{margin-block:10px 14px!important}.ci-selection label{display:grid;grid-template-columns:1fr 1.3fr;column-gap:8px}.ci-selection label>span{grid-column:1/-1}.ci-selection [data-meta] p{display:none}.ci-selection .cap-space-filter{margin:0!important}.ci-selection select{min-width:0}
html:root body.ui-system .glass-control-bar :is(button[aria-selected=true],button[aria-pressed=true]){background:#e2eee8!important;color:#213a2e!important}.ci-architecture-tools summary{min-height:44px}
@media(max-width:700px){.ci-selection label{display:block}.ci-selection .cap-space-filter{margin-bottom:8px!important}.ci-head{flex-wrap:wrap}.ci-head-actions button{min-height:44px}.ci-tabs button{min-height:52px!important;font-size:12px!important}.ci-scene-tag{max-width:calc(100% - 112px)}.ci-scene-tag b{font-size:16px!important}.cap-preview-modes{padding:8px 4px}.cap-preview-modes>span{font-size:12px}.ci-head h1{font-size:21px!important}.ci-head p{display:none}.ci-selection [data-meta] p{display:none}.ci-selection [data-meta] strong{font-size:12px}.ci-selection [data-meta]{padding-top:8px}}
.capital-full-studio{position:fixed;inset:76px 0 0;z-index:4000;display:flex;flex-direction:column;background:var(--cap-surface);color:var(--cap-ink)}.capital-full-studio>header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 20px;min-height:64px}.capital-full-studio>header strong{font-size:14px}.capital-full-studio>header button{font:inherit;border:1px solid var(--cap-border);border-radius:8px;padding:10px 16px;min-height:44px;background:var(--cap-control);cursor:pointer}.capital-full-studio>p{margin:0;padding:10px 20px;font-size:13px}.capital-full-studio>iframe{flex:1;width:100%;border:0;min-height:0}.ci-full-studio-launch{min-height:44px}
@media(max-width:600px){.capital-full-studio{top:76px}.capital-full-studio>header{padding:8px 12px;gap:10px}.capital-full-studio>header strong{font-size:12px}.capital-full-studio>header button{font-size:12px;max-width:150px}}

.hotel-quest-active .hx-walk-title,.hotel-quest-active .hx-perspective{display:none!important}.hq-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.hotel-quest-panel header h2{font-size:19px;min-width:90px}.hotel-quest-panel .hq-header-actions button{padding-inline:10px}.hotel-quest-panel.is-collapsed>:not(header):not(h3){display:none}.hotel-quest-panel.is-collapsed h3{font-size:14px;margin:4px 0 0}.hotel-quest-panel.is-collapsed header{padding-bottom:0}

.hotel-quest-active .hb-pilot{display:none!important}.hotel-quest-panel header h2{flex:1;min-width:0;font-size:18px}.hq-header-actions{flex-wrap:nowrap;flex-shrink:0}.hotel-quest-panel .hq-header-actions button{font-size:12px;padding-inline:9px}

.scenario-running.scenario-assistant-open #assistant-root{display:block!important}.scenario-assistant-open .scenario-player{visibility:hidden}.scenario-running.scenario-assistant-open .cap-ai-dock{display:none!important}.scenario-running.scenario-assistant-open .cap-ai-panel{z-index:1500}

.welcome-panel form{display:grid;gap:12px}.welcome-panel label{display:grid;gap:6px;font-size:14px}.welcome-panel select{min-height:44px;width:100%;padding:8px;border:1px solid var(--cap-border);border-radius:8px;background:var(--cap-surface);color:var(--cap-ink)}

html:root body.ui-system .dw-tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;border-radius:16px;width:100%;max-width:100%;justify-content:flex-start;padding:6px!important;scrollbar-width:thin}html:root body.ui-system .dw-tabs button{flex:0 0 auto;white-space:nowrap;padding:10px 16px!important;font-size:14px!important;color:#f3f7f4!important}html:root body.ui-system .dw-tabs button[aria-selected=true]{background:#e4eee7!important;color:#20372e!important}.dw-tabs .glass-active-indicator{display:none!important}.construction-heading h2{margin-block:0 10px}.construction-heading{align-items:flex-start!important;gap:16px!important}#page-content>.eyebrow{display:none!important}

html:root body.ui-system .dw-tabs.glass-control-bar{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important}html:root body.ui-system .dw-tabs.glass-control-bar button[aria-selected=true]{background:#e4eee7!important;color:#20372e!important}html:root body.ui-system .dw-tabs.glass-control-bar button[aria-selected=false]{color:#f3f7f4!important}
html:root body.ui-system #main .glass-control-bar button[aria-selected=true]{background:#e4eee7!important;color:#20372e!important}
@media(max-width:700px){html:root body.ui-system #main .ci-head{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}html:root body.ui-system #main .ci-head-actions{display:flex!important;flex-direction:row!important;gap:8px!important}.ci-head-actions button{flex:1}.ci-save-note{max-width:none!important;font-size:11px!important;margin-top:4px}.ci-floor-context{display:none}.ci-selection{gap:6px!important;margin-bottom:8px!important}.ci-space-meta .ci-badge{display:none}.ci-tabs{margin-block:8px!important}.ci-workspace>.ci-side{order:2!important}.ci-workspace>.ci-canvas-panel{order:1!important}html:root body.ui-system #main .ci-toolbar{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;justify-content:flex-start!important}html:root body.ui-system #main .ci-toolbar button{flex:0 0 auto!important;white-space:nowrap!important;min-height:44px!important;padding:8px 12px!important}.cap-preview-modes{flex-wrap:wrap}.cap-preview-modes>span{display:none}.cap-preview-modes select{flex:1;min-width:130px}.ci-full-studio-launch{flex:1;white-space:nowrap}.ci-head h1{font-size:21px!important}}

.capscene-center-links{position:absolute;z-index:5;width:250px;display:grid;gap:6px;pointer-events:auto}.capscene-center-links[hidden]{display:none!important}.capscene-center-links a{min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:8px;background:#f3f7f4;color:#20372e;border:1px solid #b7c7bd;font:500 12px/1.35 "Golos Text",sans-serif;text-decoration:none;box-shadow:0 3px 12px #17362918}.capscene-center-links a:hover{background:#d4e5d9}.capscene-center-links a:focus-visible{outline:3px solid #227e68;outline-offset:2px}.imm-ui-hidden .capscene-center-links{display:none!important}

@media(max-width:700px){.capscene-center-links{left:12px!important;right:12px;width:auto;top:auto!important;bottom:132px}.capscene-center-links a{min-height:44px}.immersive-hud .cap-weather{max-width:270px}.imm-touch-compass .touch-compass__project{font-size:11px}}

@media(max-width:700px){html:root body.ui-system .immersive-hud{width:278px;max-width:calc(100% - 16px)}html:root body.ui-system .immersive-hud .imm-actions{grid-template-columns:repeat(3,44px)}html:root body.ui-system .immersive-hud .cap-weather{max-width:270px}}

@media(max-width:700px){.scene-wrap .scene-top{display:none}}

html:root body.ui-system .project-card>img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:10px;display:block}
.capscene-label.has-object-image{border-radius:12px;padding:3px;gap:4px}.capscene-label.has-object-image .capscene-dot{position:relative;width:44px;height:44px;flex-basis:44px}.capscene-label.has-object-image img{display:block;width:44px;height:44px;object-fit:cover;border-radius:8px}.capscene-label.has-object-image .capscene-dot>span{position:absolute;right:1px;bottom:1px;padding:2px 4px;border-radius:4px;background:#f3f7f4;color:#20372e;font-size:10px;line-height:1.2}.capscene-label.has-object-image .capscene-label-name{padding-left:3px}

html:root body.ui-system .immersive-hud .imm-map{max-height:none;overflow:visible;flex-shrink:0;width:224px}html:root body.ui-system .immersive-hud .imm-map canvas{height:128px;max-height:128px}.immersive-hud .imm-map-globe{pointer-events:auto}html:root body.ui-system .imm-map-title button{flex-shrink:0}
@media(max-height:850px) and (min-width:701px){html:root body.ui-system .immersive-hud{display:grid;grid-template-columns:156px 114px;gap:8px;width:278px}.immersive-hud .imm-actions{grid-column:1;grid-row:1;grid-template-columns:repeat(3,44px)}.imm-touch-compass{grid-column:2;grid-row:1;width:114px}.immersive-hud .imm-map,.immersive-hud .cap-weather{grid-column:1/-1;justify-self:end}}
@media(min-width:701px) and (max-width:1099px){html:root body.ui-system .immersive-hud .imm-map:not([hidden]){display:block!important}}
@media(max-width:700px){html:root body.ui-system .immersive-hud .imm-map{width:270px}}

/* Territory actions and scenario controls — consistent touch rows. */
.capscene-label.has-object-image{border-radius:14px!important}.capscene-actions button,.capscene-actions a{border-radius:8px!important}
.hx-walkbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:end!important;padding:16px!important}.hx-walkbar[hidden]{display:none!important}.hx-walkbar label{display:grid!important;gap:8px!important;min-width:0}.hx-walkbar select{width:100%;min-height:48px!important;box-sizing:border-box}.hx-walkbar>button{min-height:48px!important;margin:0!important;padding:12px 18px!important;align-self:end}.hx-walkbar small{grid-column:1/-1}.hx-walkbar .hx-pad{grid-column:1/-1;display:flex;justify-content:center;gap:8px}.hx-pad button{width:48px!important;height:48px!important;min-width:48px!important;padding:0!important;display:grid;place-items:center}.scenario-player header{align-items:center!important;gap:12px}.scenario-player button{min-height:44px;line-height:1.35}.scenario-player fieldset{display:grid;gap:8px}.scenario-player fieldset button{text-align:left}
@media(max-width:600px){.hx-walkbar{grid-template-columns:minmax(0,1fr)!important}.hx-walkbar>button{width:100%}.hx-walkbar small{font-size:12px;line-height:1.4}}

.multiplayer-status{position:fixed!important;left:14px!important;bottom:12px!important;z-index:110!important;min-height:44px;padding:10px 16px;border:1px solid #b7c7bd;border-radius:12px!important;background:#f3f7f4;color:#20372e;font:600 13px/1.35 "Golos Text",sans-serif;box-shadow:0 4px 16px #17362920}.multiplayer-status[aria-pressed=true]{background:#284b3e;color:#fff}.multiplayer-status:focus-visible{outline:3px solid #227e68;outline-offset:3px}#capital-mp-modal{max-width:470px}#capital-mp-modal label{display:grid;gap:8px;margin:16px 0}#capital-mp-modal input{min-height:44px;padding:10px}#capital-mp-modal button:not(.close){min-height:44px;padding:12px 16px;margin:8px 8px 8px 0;border-radius:8px;background:#e4eee7;color:#20372e}.scenario-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}.scenario-actions button{width:100%;margin:0!important;min-height:44px!important}.scenario-player header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hq-header-actions{display:flex;gap:8px;align-items:center}

html:root body.ui-system #scene .capscene-label.has-object-image{border-radius:14px!important}html:root body.ui-system #scene .capscene-actions :is(button,a){border-radius:8px!important}@media(max-width:700px){html:root body.ui-system .hx-walkbar{padding-bottom:62px!important}}html:root body.ui-system .multiplayer-status{font-size:12px!important;padding:8px 12px!important}
/* Content must size its controls, never overflow a fixed-height card. */
html:root body.ui-system .page-content :is(.card,.result,.fx-unit-card,.hx-room-card,.scenario-card,.hc-functions){min-width:0;overflow-wrap:anywhere}
html:root body.ui-system .page-content :is(p,small,h2,h3,legend,label){overflow-wrap:anywhere;min-width:0}
html:root body.ui-system .page-content :is(.primary,.outline,.scenario-actions button,.hc-views button,.hc-finishes button){height:auto!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.45!important}
html:root body.ui-system .cap-weather{width:280px;max-width:calc(100vw - 24px);box-sizing:border-box;border-radius:16px!important;padding:14px!important;max-height:min(560px,70dvh);overflow:auto;scrollbar-color:#829e8b transparent}
html:root body.ui-system .cap-weather summary{font-size:15px!important;line-height:1.4;cursor:pointer;padding:2px 0 8px}
.cap-weather-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:13px}.cap-weather-fields label{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;font-size:13px;line-height:1.4;min-width:0;margin:0!important}.cap-weather-fields select,.cap-weather-fields input[type=range]{grid-column:1/-1;width:100%;min-width:0;margin:0!important}.cap-weather-fields output{font-variant-numeric:tabular-nums;font-size:13px}.cap-weather-fields label:has(input[type=checkbox]){display:flex;align-items:center;gap:9px}.cap-weather-fields input[type=checkbox]{flex:0 0 20px;width:20px;height:20px}
html:root body.ui-system .cap-weather select{appearance:auto;min-height:42px!important;padding:8px 10px!important;font-size:13px!important;line-height:1.4!important;border:1px solid #b7c7bd!important;border-radius:8px!important;box-shadow:none!important;background:#f3f7f4!important;color:#20372e!important}
html:root body.ui-system .cap-weather select:focus-visible{outline:2px solid #58c7aa!important;outline-offset:3px!important}
.cap-weather-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:4px 0 14px}.cap-weather-presets button{min-height:38px;padding:8px;border-radius:8px;border:1px solid #ffffff32;background:#ffffff12;color:inherit;font:500 12px/1.3 'Golos Text',sans-serif}.cap-weather-presets button[aria-pressed=true]{background:#e4eee7;color:#20372e}
@media(max-width:700px){html:root body.ui-system .cap-weather{max-height:55dvh;width:260px}.cap-weather-presets button{min-height:44px}}

html:root body.ui-system .immersive-hud .cap-weather-presets button{display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:40px!important;padding:9px 10px!important;border:1px solid #ffffff32!important;border-radius:8px!important;line-height:1.4!important;font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere}
html:root body.ui-system .cap-weather:not([open]){width:224px;overflow:visible}html:root body.ui-system .cap-weather:not([open]) summary{padding:2px 0}
html:root body.ui-system .hc-lighting button[aria-pressed=true]{background:#d4e5d9!important}
@media(max-width:700px){html:root body.ui-system .cap-weather:not([open]){width:112px}html:root body.ui-system .immersive-hud .cap-weather-presets button{min-height:44px!important}}
html:root body.ui-system .page-content :is(.hx-perspective button,.ci-full-studio-launch){height:auto!important;min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.45!important;padding:10px!important;align-content:center}
html:root body.ui-system .cap-weather[open]{background:#24342f!important;isolation:isolate}
@media(max-width:700px){html:root body.ui-system .immersive-hud:has(.cap-weather[open])>:not(.cap-weather){visibility:hidden!important;pointer-events:none!important}html:root body.ui-system .immersive-hud .cap-weather[open]{z-index:8;background:#24342f!important}}
html:root body.ui-system .immersive-hud .cap-weather-presets button[aria-pressed=true]{background:#e4eee7!important;color:#20372e!important;border-color:#e4eee7!important;font-weight:700!important}
