/* Shared control scale; the territory remains the main visual surface. */
html:root{--cap-ease-out:cubic-bezier(.23,1,.32,1);--cap-control-radius:10px;--cap-card-radius:14px;--cap-focus:#227e68}
html:root body.ui-system :is(button,a,input,select,textarea){-webkit-tap-highlight-color:transparent}
html:root body.ui-system :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--cap-focus)!important;outline-offset:3px!important}
html:root body.ui-system :is(input,textarea){caret-color:var(--cap-focus)}
html:root body.ui-system :is(.card,.scenario-card,.commerce-card,.hc-functions,.result){border-radius:var(--cap-card-radius);min-width:0}
html:root body.ui-system :is(.page-content,.glass-panel,.menu) :is(button,.primary,.outline){white-space:normal;overflow-wrap:anywhere;line-height:1.4;min-width:0}
html:root body.ui-system :is(.page-content,.glass-panel) :is(input:not([type=checkbox],[type=radio],[type=range],[type=color]),select,textarea){border-radius:var(--cap-control-radius);font:inherit;font-size:14px;max-width:100%;box-sizing:border-box}
html:root body.ui-system .header{min-width:0;gap:12px}
html:root body.ui-system .header .brand{flex-shrink:0}
html:root body.ui-system .header-actions{flex-shrink:0;gap:8px}
html:root body.ui-system #account-button{max-width:136px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block!important;min-width:64px}
html:root body.ui-system .header nav.glass-control-bar{min-width:0;box-shadow:none!important}
.menu-label{font-size:13px;line-height:1.25;white-space:nowrap}
html:root body.ui-system #menu-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:auto;min-width:44px;border-radius:10px!important}
html:root body.ui-system #menu-button .ui-icon{width:20px;height:20px}
html:root body.ui-system #menu{position:fixed;top:84px;right:16px;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px;background:#f3f7f4!important;color:#20372e!important;border:1px solid #b7c7bd;border-radius:16px!important;box-shadow:0 14px 42px #20372e24;z-index:90}
html:root body.ui-system #menu[hidden]{display:none!important}
#menu section{display:flex;flex-direction:column;min-width:0;gap:3px}#menu h2{margin:0 0 8px;font:600 12px/1.4 'Golos Text',sans-serif;color:#526b5d;text-transform:none;letter-spacing:0}
html:root body.ui-system #menu a{display:flex;align-items:center;min-height:44px;height:auto;padding:10px 12px;border-radius:8px;font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-decoration:none;color:#20372e;background:transparent}
html:root body.ui-system #menu a:hover,html:root body.ui-system #menu a:focus-visible{background:#e1ece5}
html:root body.ui-system .project-card{transition:background-color 140ms ease,border-color 140ms ease!important}
html:root body.ui-system .project-card b{font-weight:600!important}html:root body.ui-system .project-card small{color:inherit;opacity:.85}
html:root body.ui-system .scene-wrap.imm-hud-host .capscene-actions{padding:8px!important;border-radius:12px!important;box-shadow:0 6px 20px #20372e1f;scrollbar-gutter:stable}
html:root body.ui-system .scene-wrap.imm-hud-host .capscene-actions :is(button,a){font-size:13px!important;line-height:1.4!important;min-height:44px!important;border-radius:8px!important;padding:10px 12px!important;word-break:normal;overflow-wrap:anywhere}
html:root body.ui-system .scene-wrap .capscene-label{touch-action:manipulation}
html:root body.ui-system .imm-actions{border-radius:14px!important;gap:4px;padding:6px}
html:root body.ui-system .imm-actions button{border-radius:9px!important}
html:root body.ui-system .imm-map{border-radius:14px!important}
html:root body.ui-system .scene-controls{border-radius:12px!important;padding:5px!important;gap:4px!important}
html:root body.ui-system .scene-controls button{border-radius:8px!important;min-height:44px!important;line-height:1.35!important}
html:root body.ui-system .page-content:has(.hotel-concepts){max-width:1600px;padding:30px 24px 90px}
html:root body.ui-system .hotel-concepts>header{align-items:start;gap:24px}.hotel-concepts>header>div:first-child{min-width:210px}
html:root body.ui-system .hotel-concepts h1{font-size:clamp(28px,2.4vw,38px);line-height:1.15;letter-spacing:-.025em;margin:0 0 10px}
.hotel-concepts>header p{font-size:14px;max-width:48ch;margin:0;line-height:1.5}
html:root body.ui-system .hc-header-actions{gap:8px;justify-content:flex-end;align-items:end}.hc-header-actions .hc-save-name{flex:0 1 220px;max-width:240px;margin:0}
html:root body.ui-system .hotel-concepts .hc-header-actions :is(button,a){min-height:44px!important;border-radius:10px!important;padding:10px 14px!important;font-size:13px!important;line-height:1.4!important}
html:root body.ui-system .hotel-concepts [data-save-solution]{background:#243b32!important;color:#fff!important;border-color:#243b32!important}
html:root body.ui-system .hc-layout{grid-template-columns:220px minmax(0,1fr) 250px;gap:18px}
html:root body.ui-system .hc-layout>aside{gap:8px;padding-right:4px;max-height:calc(100dvh - 150px)}
html:root body.ui-system .hotel-concepts [data-concept][hidden]{display:none!important}
.hc-concept-search{position:sticky;top:0;z-index:4;background:#f3f7f4;padding:0 0 12px;display:grid;gap:7px}.hc-concept-search label{font-size:13px;font-weight:600;line-height:1.4}.hc-concept-search>div{position:relative}.hc-concept-search input{display:block;width:100%;height:44px;min-width:0;padding:10px 40px 10px 12px;border:1px solid #b7c7bd;border-radius:10px;background:#fff;color:#20372e;font-size:13px;box-sizing:border-box}.hc-concept-search input::-webkit-search-cancel-button{appearance:none}
html:root body.ui-system .hc-concept-search button{position:absolute;right:0;top:0;display:grid;place-items:center;width:40px;height:44px;min-height:44px;border:0;background:transparent!important;padding:10px!important}.hc-concept-search button[hidden]{display:none!important}.hc-concept-search .ui-icon{width:18px;height:18px}.hc-concept-search output{font-size:12px;color:#526b5d;line-height:1.4}
html:root body.ui-system .hc-finishes button{border-radius:9px!important;font-size:13px!important;line-height:1.4!important;min-height:44px!important}
html:root body.ui-system .hc-views button{border-radius:9px!important;min-height:44px!important;font-size:13px!important;line-height:1.4!important}
html:root body.ui-system .hc-functions{padding:18px 0;border-radius:0}.hc-functions strong{font-weight:600}.hc-functions p{max-width:70ch}
html:root body.ui-system .hc-parameters :is(h2,legend){font-weight:600}.hc-parameters label{line-height:1.4}.hc-parameters small{line-height:1.5}
html:root body.ui-system .hotel-concepts :is(.hc-parameters h2,.hc-parameters h3){font-size:18px;line-height:1.4;letter-spacing:0}
html:root body.ui-system .page-content :is(.ci-toolbar,.fx-toolbar,.hx-toolbar,.dw-tabs){border-radius:12px!important}
html:root body.ui-system .page-content :is(.ci-toolbar,.fx-toolbar,.hx-toolbar,.dw-tabs) button{border-radius:8px!important;min-height:44px!important;line-height:1.35!important}
html:root body.ui-system .page-content :is(.scenario-actions,.commerce-actions,.hx-room-actions,.fx-unit-actions){gap:8px;align-items:stretch}
html:root body.ui-system .page-content :is(.scenario-actions,.commerce-actions,.hx-room-actions,.fx-unit-actions)>button{height:auto!important;min-height:44px!important}
@media(min-width:1500px){.menu-label{display:none}}
@media(min-width:1100px) and (max-width:1499px){html:root body.ui-system .header nav.glass-control-bar a:is([data-route=interiors],[data-route=map],[data-route=scenarios],[data-route=marketplace]){display:none!important}html:root body.ui-system .header nav.glass-control-bar{flex:0 1 auto;margin-inline:auto}}
@media(max-width:1099px){html:root body.ui-system .header nav.glass-control-bar{display:none!important}}
@media(max-width:1100px){html:root body.ui-system .hc-layout{grid-template-columns:210px minmax(0,1fr)}html:root body.ui-system .hc-layout>.hc-configurator{grid-column:1/-1;position:static;max-height:none}}
@media(max-width:800px){html:root body.ui-system .hotel-concepts>header{display:block}.hc-header-actions{margin-top:18px;justify-content:flex-start!important}.hc-header-actions .hc-save-name{flex:1 1 100%;max-width:none}html:root body.ui-system .hc-layout{display:flex;flex-direction:column;gap:18px}html:root body.ui-system .hc-layout>div{order:0;width:100%}html:root body.ui-system .hc-layout>aside{order:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:static;width:100%;max-height:380px;overflow:auto}html:root body.ui-system .hc-layout>.hc-configurator{order:2;display:block;max-height:none;overflow:visible}.hc-concept-search,.hc-layout .hc-note,.hc-layout [data-original]{grid-column:1/-1}.hc-stage{height:440px!important;min-height:340px!important}.hc-configurator .hc-parameters{display:block}.hc-functions{padding-bottom:0!important}.hc-functions>nav{gap:6px}}
@media(max-width:850px){html:root body.ui-system .header{gap:8px;padding-inline:12px}html:root body.ui-system #menu{top:122px;right:8px;width:calc(100vw - 16px);max-height:calc(100dvh - 144px);grid-template-columns:1fr;gap:20px;padding:18px}html:root body.ui-system #menu-button{padding-inline:10px!important}.menu-label{font-size:12px}html:root body.ui-system #account-button{max-width:104px}.hc-header-actions>*{flex:1 1 auto}html:root body.ui-system .page-content:has(.hotel-concepts){padding:24px 14px 90px}html:root body.ui-system .hc-stage{height:400px!important}.hc-header-actions [data-fullscreen],.hc-header-actions [data-territory]{flex-basis:calc(50% - 8px)}html:root body.ui-system .hc-layout [data-concept]{padding:12px!important}.hc-lighting{top:8px;right:8px}.hc-layout .hc-functions small{font-size:12px;line-height:1.55}html:root body.ui-system .scene-controls .segmented{flex-wrap:wrap}.hc-views button{flex-basis:calc(50% - 8px)}}
@media(hover:hover) and (pointer:fine){html:root body.ui-system :is(.hc-header-actions button,.hc-finishes button,.hc-views button,.scenario-actions button,.fx-unit-actions button,.hx-room-actions button){transition:background-color 150ms ease,border-color 150ms ease,scale 130ms var(--cap-ease-out)}html:root body.ui-system :is(.hc-header-actions button,.hc-finishes button,.hc-views button,.scenario-actions button,.fx-unit-actions button,.hx-room-actions button):hover{filter:brightness(.97)}html:root:not([data-input-method=keyboard]) body.ui-system :is(.hc-header-actions button,.hc-finishes button,.hc-views button,.scenario-actions button,.fx-unit-actions button,.hx-room-actions button):active{scale:.985}}
@media(prefers-reduced-motion:reduce){html:root body.ui-system :is(button,a){transition:none!important;animation:none!important;scroll-behavior:auto!important}}
html:root body.ui-system #menu-button{width:auto!important;min-width:104px!important;padding:10px 12px!important;flex:0 0 auto!important}
html:root body.ui-system .header nav.glass-control-bar>.glass-active-indicator{display:none!important}
html:root body.ui-system .header nav.glass-control-bar a[aria-current=page]{background:#e4eee7!important;color:#20372e!important;border-radius:8px!important}
@media(max-width:850px){html:root body.ui-system .header{position:sticky;top:0;display:flex;flex-direction:column;align-items:stretch;gap:10px;height:114px!important;min-height:114px;padding:12px!important}html:root body.ui-system .header>.brand{align-self:start;max-width:calc(100% - 120px);min-height:30px}html:root body.ui-system .header-actions{position:static!important;display:flex;gap:8px;width:100%;margin:0!important;justify-content:space-between;align-items:center}html:root body.ui-system .header #account-button{position:absolute;top:8px;right:12px;max-width:108px!important;min-height:36px!important;padding:8px 12px!important}html:root body.ui-system #menu-button{width:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important}.menu-label{display:none!important}}
/* Keep the two mobile header rows on the same axis. */
@media(max-width:850px){html:root body.ui-system .header{flex-wrap:nowrap!important}html:root body.ui-system .header>.brand{flex:none}html:root body.ui-system .header-actions{flex:0 0 44px!important;min-height:44px}html:root body.ui-system .header-commerce{gap:4px}html:root body.ui-system .header-commerce a{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border-radius:9px}html:root body.ui-system .header #theme-button{width:44px;min-width:44px;padding:10px}}
/* Camera controls share a single optical grid and a stable touch layout. */
html:root body.ui-system .scene-controls .scene-mode-icon{width:21px;height:21px;flex:none;stroke-width:1.7}
html:root body.ui-system .scene-controls .scene-mode-label{font-weight:500;font-size:12px;line-height:1.3;white-space:nowrap}
html:root body.ui-system .scene-controls .glass-active-indicator{display:none!important}
html:root body.ui-system .scene-controls [data-mode].selected{background:#e4eee7!important;color:#20372e!important}
html:root body.ui-system .scene-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px!important}
@media(max-width:850px){html:root body.ui-system .scene-bottom{min-width:0!important;width:auto!important;left:8px!important;right:8px!important;max-width:none!important;bottom:30px!important}html:root body.ui-system .scene-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;padding:4px!important;gap:3px!important;background:#22352e!important;box-shadow:0 4px 18px #142b2926}html:root body.ui-system .scene-controls .segmented{display:contents!important}html:root body.ui-system .scene-controls button{flex-direction:column;gap:5px;min-width:0!important;width:100%;min-height:68px!important;height:auto!important;padding:8px 3px!important;border:0!important;background:transparent;color:#f1f7f3}html:root body.ui-system .scene-controls .scene-mode-label{font-size:11px!important;line-height:1.25;white-space:normal!important;text-align:center;max-width:82px;min-height:28px;display:flex;align-items:center;justify-content:center;overflow-wrap:normal}html:root body.ui-system .scene-controls .scene-mode-icon{width:22px;height:22px}html:root body.ui-system .scene-controls :is(.floor-label,.walk-avatar-label,#scene-tour-stop){grid-column:1/-1}html:root body.ui-system .scene-controls :is(.floor-label,.walk-avatar-label){display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:6px 10px;color:#20372e}html:root body.ui-system .scene-controls [hidden]{display:none!important}html:root body.ui-system .scene-wrap{min-height:560px;height:calc(100dvh - 130px)}html:root body.ui-system .scene-top{left:8px;top:8px;max-width:calc(100% - 128px)}html:root body.ui-system .scene-top .pill{font-size:11px;line-height:1.4;padding:10px 12px}}
@media(max-width:850px){html:root body.ui-system .territory{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr);height:calc(100dvh - 114px)!important;min-height:0!important;padding:8px!important;gap:8px!important}html:root body.ui-system .project-rail.glass-collapsed[data-glass-kind]{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;width:100%;max-width:100%;height:58px;min-height:58px;max-height:58px;margin:0!important;align-self:start;border-radius:12px!important;scrollbar-width:none;scroll-snap-type:x proximity}html:root body.ui-system .project-rail.glass-collapsed[data-glass-kind] :is(.glass-collapse,.glass-shortcut,.glass-panel-footer button){flex:0 0 44px;scroll-snap-align:start;border-radius:8px!important}html:root body.ui-system .scene-wrap{min-height:0!important;height:100%!important}html:root body.ui-system .scene-bottom{bottom:46px!important}html:root body.ui-system .scene-controls button .glass-tab-icon{margin:0!important}.scene-wrap .immersive-hud .imm-actions{border-radius:12px!important}.scene-wrap .cap-weather summary{font-size:12px!important;line-height:1.35}}
@media(max-width:850px){body:has(#territory:not([hidden])) .journey-launcher{min-width:44px;width:44px;height:44px;min-height:44px;padding:10px!important;right:72px;bottom:8px!important}body:has(#territory:not([hidden])) .journey-launcher span{display:none}body:has(#territory:not([hidden])) .journey-launcher svg{width:22px;height:22px}body:has(#territory:not([hidden])) .cap-ai-dock{bottom:6px!important}html:root body.ui-system .scene-controls button{height:auto!important;min-height:68px!important}html:root body.ui-system .project-rail:not(.glass-collapsed){margin:0!important;max-height:48dvh!important;border-radius:12px!important}html:root body.ui-system .scene-wrap:fullscreen{height:100dvh!important}.scene-wrap:fullscreen .scene-bottom{bottom:24px!important}}
html:root body.ui-system .territory[hidden]{display:none!important}
html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar [data-mode].selected{background:#e4eee7!important;color:#20372e!important}
html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar button{padding:10px 12px!important}
.scene-tool-toggle{display:none!important}
@media(max-width:850px){html:root body.ui-system .project-rail.glass-collapsed[data-glass-kind]{overflow-x:auto!important;overflow-y:hidden!important}html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar button{padding:8px 3px!important}html:root body.ui-system .scene-wrap:has(#scene[data-model-state=ready]) #scene-status{display:none!important}html:root body.ui-system .scene-wrap.imm-hud-host>.immersive-hud{display:flex!important;flex-direction:column;align-items:flex-end;width:108px!important;max-width:108px!important;gap:8px}html:root body.ui-system .scene-wrap.imm-hud-host .scene-tool-toggle{display:flex!important;align-items:center;justify-content:center;gap:6px;min-height:44px;width:108px;padding:8px!important;font-size:11px;line-height:1.25;border-radius:10px!important;background:#22352e;color:#f1f7f3}.scene-tool-toggle .ui-icon{width:18px;height:18px}html:root body.ui-system .scene-wrap.imm-hud-host .imm-actions{display:none!important;grid-template-columns:repeat(2,44px);padding:6px;gap:4px}html:root body.ui-system .scene-wrap.imm-hud-host .r31-tools-open .imm-actions{display:grid!important}html:root body.ui-system .scene-wrap.imm-hud-host .imm-actions [data-panel-grip]{display:none!important}html:root body.ui-system .scene-wrap.imm-hud-host .imm-touch-compass{width:96px!important;transform:scale(.84);transform-origin:top right;margin-bottom:-22px}.scene-wrap.imm-hud-host .cap-weather:not([open]){width:108px!important;max-width:108px!important}.scene-wrap.imm-hud-host .cap-weather[open]{right:0!important;top:0!important;width:min(300px,calc(100vw - 32px))!important;max-width:none!important}}
@media(max-width:850px){html:root body.ui-system .scene-wrap.imm-hud-host>.immersive-hud>button.scene-tool-toggle{width:108px!important;min-width:108px!important;height:44px!important;padding:8px!important;background:#22352e!important;color:#f1f7f3!important;border-radius:10px!important;flex-direction:row!important;font-weight:500!important}html:root body.ui-system .scene-wrap.imm-hud-host>.immersive-hud>.imm-touch-compass{width:108px!important;min-height:130px!important;transform:none!important;margin:0!important}html:root body.ui-system .scene-wrap.imm-hud-host .imm-touch-compass .touch-compass{width:96px!important;max-width:96px!important;margin-inline-start:auto!important}html:root body.ui-system #territory .scene-wrap:has(#scene[data-model-state=ready]) #scene-status{display:none!important}}
.scene-tool-toggle{pointer-events:auto}
@media(max-width:850px){html:root body.ui-system #territory .scene-wrap:has(#scene:is([data-model-state=ready],[data-model-state=loaded])) :is(#scene-status,.capscene-note){display:none!important}}
/* Keep adjacent mode icons away from the selected button's edge. */
html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar{padding:6px!important;gap:8px!important}
html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar .segmented{gap:8px!important;padding:0!important;border:0!important;background:transparent!important}
html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar button{gap:10px!important;padding:12px 16px!important}
html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar .scene-mode-icon{width:22px;height:22px;stroke-width:1.7}
@media(max-width:850px){html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar{padding:6px!important;gap:6px!important}html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar button{gap:7px!important;padding:10px 4px!important;min-height:72px!important}html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar .scene-mode-label{font-size:11px!important;line-height:1.3}}
html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar button>.scene-mode-icon{margin:0!important;flex:none}

@media(max-width:1099px){html:root body.ui-system #territory[data-immersive-map=false] .immersive-hud .imm-map{display:none!important}}
@media(max-width:850px){html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar{align-items:stretch!important}html:root body.ui-system .scene-wrap.imm-hud-host .scene-controls.glass-control-bar button{height:100%!important}}
@media(max-width:850px){html:root body.ui-system .project-rail.glass-collapsed[data-glass-kind]>:is(.glass-panel-head,.glass-compact-rail,.glass-panel-footer){display:contents!important}html:root body.ui-system .scene-wrap .timeline{display:none!important}}
@media(max-width:850px){html:root body.ui-system .territory{position:relative;grid-template-rows:58px minmax(0,1fr)!important}html:root body.ui-system .territory>.scene-wrap{grid-row:2;grid-column:1}html:root body.ui-system .territory>.project-rail{grid-row:1;grid-column:1}html:root body.ui-system .territory>.project-rail:not(.glass-collapsed){position:absolute!important;top:8px;left:8px;right:8px;width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;max-height:min(52dvh,calc(100% - 120px))!important;overflow-x:hidden!important;overflow-y:auto!important;z-index:48}}
html:root body.ui-system .touch-compass__dial{overflow:clip!important}
@media(max-width:850px){html:root body.ui-system .scene-wrap.imm-hud-host .immersive-hud .imm-map:not([hidden]){position:absolute!important;right:116px!important;top:52px!important;width:min(270px,calc(100vw - 156px))!important;max-width:none!important;max-height:min(360px,max(100px,calc(100dvh - 350px)))!important;overflow:auto!important;z-index:40}html:root body.ui-system .scene-wrap .imm-map-title>.cap-panel-handle{display:none!important}html:root body.ui-system .scene-wrap .imm-map-title strong{font-size:12px!important;line-height:1.4;overflow-wrap:normal;word-break:normal}html:root body.ui-system .scene-wrap .imm-map-title{padding-inline:4px;gap:4px}.scene-wrap .imm-map-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.scene-wrap .imm-map-tabs button{white-space:normal!important;overflow-wrap:normal!important}}
@media(max-width:850px) and (max-height:600px){html:root body.ui-system .scene-wrap.imm-hud-host .immersive-hud .imm-map:not([hidden]){top:8px!important}}
