:root{--ui-hue:164;--ui-saturation:18%;--ui-panel-opacity:.94;--ui-radius-control:24px;--ui-radius-panel:28px;--ui-ink:#f7faf8;--ui-muted:#d4e0d9;--ui-surface:hsl(var(--ui-hue) var(--ui-saturation) 12% / var(--ui-panel-opacity));--ui-control-surface:hsl(var(--ui-hue) var(--ui-saturation) 100% / .09);--ui-selected-bg:hsl(var(--ui-hue) 24% 91%);--ui-selected-ink:hsl(var(--ui-hue) 25% 17%);--ui-accent:hsl(var(--ui-hue) 28% 34%);--ui-edge:hsl(var(--ui-hue) 18% 85% / .18);--ui-shadow:0 14px 40px hsl(var(--ui-hue) 20% 10% / .13);--teal:var(--ui-accent);--ink:hsl(var(--ui-hue) 14% 18%);--paper:hsl(var(--ui-hue) 14% 97%);--muted:hsl(var(--ui-hue) 8% 39%);--line:hsl(var(--ui-hue) 12% 87%)}
html:root body.ui-system :is(button,.primary,.outline,.project-card,.glass-panel button,.glass-control-bar button,.glass-control-bar a,.dw-tabs button){border-radius:var(--ui-radius-control)!important;line-height:1.35;min-width:0;box-sizing:border-box;text-wrap:pretty}
html:root body.ui-system :is(button,.primary,.outline):not(.capscene-label){min-height:44px}
html:root body.ui-system button:disabled{opacity:.55;cursor:not-allowed}
html:root body.ui-system :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid hsl(var(--ui-hue) 48% 55%)!important;outline-offset:3px}
html:root body.ui-system :is(input,select,textarea){border-radius:18px!important}
html:root body.ui-system :is(.glass-panel,.glass-control-bar,.menu,.ui-appearance,.ui-appearance-preview){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border:0!important;border-radius:var(--ui-radius-panel)!important;box-shadow:var(--ui-shadow)!important;backdrop-filter:blur(20px) saturate(110%)}
html:root body.ui-system .glass-panel{padding:18px!important;scrollbar-color:hsl(var(--ui-hue) 13% 61%) transparent;scrollbar-width:thin}
html:root body.ui-system .glass-panel :is(h1,h2,h3,h4,strong,b,summary,label,.eyebrow,.fx-kicker,.hx-kicker,.ci-eyebrow){color:var(--ui-ink)!important}
html:root body.ui-system .glass-panel :is(p,small,.muted,.ci-muted,.fx-breadcrumb,.hx-note,.eco-note,.eco-heading p,.eco-kpis span,.eco-telemetry span,.eco-live-stats span){color:var(--ui-muted)!important;line-height:1.55}
html:root body.ui-system .glass-panel :is(input,select,textarea){background:hsl(var(--ui-hue) 18% 96%)!important;color:var(--ui-selected-ink)!important;border:1px solid transparent!important;min-height:44px;padding:11px 14px!important;font-size:13px!important;line-height:1.4;box-shadow:none}
html:root body.ui-system .glass-panel input[type=checkbox]{min-height:18px;width:18px;height:18px;accent-color:var(--ui-accent)}
html:root body.ui-system .glass-panel input[type=range]{background:transparent!important;accent-color:hsl(var(--ui-hue) 30% 72%);padding:0!important}
html:root body.ui-system .glass-panel :is(button,.primary,.outline){background:var(--ui-control-surface)!important;color:var(--ui-ink)!important;border:0!important;box-shadow:none!important;padding:12px 16px!important;font-size:13px;white-space:normal;overflow-wrap:break-word}
html:root body.ui-system .glass-panel :is(button[aria-pressed=true],button[aria-selected=true],button.selected,button.active,.is-active,.primary){background:var(--ui-selected-bg)!important;color:var(--ui-selected-ink)!important;box-shadow:none!important}
html:root body.ui-system .glass-panel :is(button[aria-pressed=true],button[aria-selected=true],button.active,.primary) :is(strong,b,small,span){color:inherit!important}
html:root body.ui-system .glass-panel .project-card{padding:16px!important;gap:12px;background:var(--ui-control-surface)!important}
html:root body.ui-system .glass-panel .project-card.active{background:var(--ui-selected-bg)!important;color:var(--ui-selected-ink)!important}
html:root body.ui-system .glass-panel .project-card.active *{color:inherit!important}
html:root body.ui-system :is(.glass-panel-head,.glass-panel-footer,.rail-foot,.rail-heading,.fx-source,.hx-source,.hx-details>p,.ci-source-details,.eco-log p,.header,.ci-toolbar,.ci-tabs,.dw-toolbar){border:0!important}
html:root body.ui-system :is(.glass-panel-footer,.rail-foot,.ci-source-details){margin-top:20px;padding-top:0}
html:root body.ui-system :is(.glass-panel hr,.glass-compact-rail hr){display:none}
html:root body.ui-system .glass-control-bar{padding:6px!important;gap:4px}
html:root body.ui-system .glass-control-bar :is(button,a){min-height:44px;padding:11px 16px!important;color:var(--ui-ink)!important;background:transparent!important;border:0!important;box-shadow:none!important;font-weight:500;text-align:center;line-height:1.3;display:inline-flex;align-items:center;justify-content:center;gap:8px}
html:root body.ui-system .glass-control-bar :is(button[aria-pressed=true],button[aria-selected=true],button.active,button.selected,a.active){color:var(--ui-selected-ink)!important;background:var(--ui-selected-bg)!important}
html:root body.ui-system .glass-motion-bar:has(>.glass-active-indicator:not([hidden])) :is(button[aria-pressed=true],button[aria-selected=true],button.active,a.active){background:transparent!important}
html:root body.ui-system .glass-active-indicator{border-radius:var(--ui-radius-control)!important;background:var(--ui-selected-bg)!important;border:0!important;box-shadow:none!important}
html:root body.ui-system .glass-motion-bar :is(button,a) svg{transform:none!important;filter:none!important}
.ui-icon{width:22px;height:22px;flex:0 0 22px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
html:root body.ui-system :is(.glass-tab-icon,.glass-brand svg,.glass-shortcut svg){width:22px;height:22px;flex:0 0 22px;stroke-width:1.75;margin:0}
html:root body.ui-system .glass-panel .glass-collapse{width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:11px!important;border-radius:var(--ui-radius-control)!important;background:var(--ui-selected-bg)!important;color:var(--ui-selected-ink)!important}
html:root body.ui-system .glass-panel.glass-collapsed{padding:12px!important;overflow:visible!important}
html:root body.ui-system .glass-compact-rail button{width:48px;height:48px;padding:12px!important}
html:root body.ui-system .glass-control-bar label{color:var(--ui-ink)!important;background:transparent!important;display:flex;align-items:center;gap:10px;padding:4px 8px;line-height:1.4;font-size:12px;max-width:100%;margin:0}
html:root body.ui-system .glass-control-bar :is(select,input){color:var(--ui-selected-ink)!important;background:hsl(var(--ui-hue) 18% 96%)!important;border:0!important;min-height:44px;padding:10px 14px!important;max-width:100%;font-size:13px}
html:root body.ui-system .scene-controls .segmented{background:transparent;border:0;padding:0;gap:4px}
html:root body.ui-system .scene-controls{width:max-content;max-width:100%;flex-wrap:wrap}
html:root body.ui-system .timeline{background:hsl(var(--ui-hue) 18% 98% / .95);color:var(--ink);border:0;border-radius:var(--ui-radius-panel);box-shadow:var(--ui-shadow);padding:18px 22px}
html:root body.ui-system .timeline input{accent-color:var(--ui-accent)}
html:root body.ui-system .header{padding:0 24px;gap:20px;background:var(--paper);border:0}
html:root body.ui-system .header nav.glass-control-bar{gap:3px;padding:5px!important}
html:root body.ui-system .header nav.glass-control-bar a{font-size:12px!important;white-space:nowrap;padding:10px 12px!important;gap:7px;min-height:44px}
html:root body.ui-system .header-actions{gap:8px;display:flex;align-items:center;min-width:0}
html:root body.ui-system .header-actions .icon-button{display:grid;place-items:center;padding:10px;width:44px;flex:0 0 44px;background:hsl(var(--ui-hue) 16% 92%);color:var(--ink)}
html:root body.ui-system #account-button{max-width:180px;white-space:normal;line-height:1.25;font-size:12px;padding:9px 16px}
html:root body.ui-system .menu{padding:16px;display:grid;gap:5px;max-height:calc(100dvh - 90px);overflow:auto;min-width:280px}
html:root body.ui-system .menu :is(a,button){padding:12px 16px;border:0;background:transparent;min-height:44px;color:var(--ui-ink);font-size:14px;text-align:left;display:flex;align-items:center;gap:12px}
html:root body.ui-system .menu :is(a,button):hover{background:var(--ui-control-surface)}
html:root body.ui-system .ci-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
html:root body.ui-system .ci-tabs button{padding:12px 16px!important;min-height:50px!important;font-size:14px!important;flex-direction:row}
html:root body.ui-system .ci-toolbar{align-items:stretch;display:flex;flex-wrap:wrap}
html:root body.ui-system .ci-toolbar button{flex:1 1 90px;min-height:46px!important}
html:root body.ui-system .eco-card{border:0!important;background:var(--ui-control-surface)!important;border-radius:var(--ui-radius-control)!important;margin-bottom:12px!important}
html:root body.ui-system .eco-card>summary{padding:16px!important;font-size:14px!important;line-height:1.4}
html:root body.ui-system .eco-card-body{padding:0 16px 18px}
html:root body.ui-system .eco-card-body>label,.ui-system .eco-grid label{font-size:12px;line-height:1.5;display:block}
html:root body.ui-system .eco-grid{gap:12px}
html:root body.ui-system .eco-actions button{padding:12px!important;font-size:12px!important;line-height:1.4}
html:root body.ui-system .eco-heading{padding:8px 0 20px}
html:root body.ui-system .eco-tag{color:var(--ui-selected-ink)!important;background:var(--ui-selected-bg)!important;border:0;border-radius:14px;padding:6px 10px;line-height:1.4}
html:root body.ui-system .eco-note{font-size:11px!important}
html:root body.ui-system :is(.eco-kpis>div,.eco-telemetry>div,.eco-formula,.eco-request-list p){border:0!important;border-radius:18px}
html:root body.ui-system .eco-phone{border-radius:var(--ui-radius-panel);border:0;box-shadow:var(--ui-shadow);color:var(--ink);background:hsl(var(--ui-hue) 18% 98% / .97)}
html:root body.ui-system .eco-phone-head{border:0;padding:16px}
html:root body.ui-system .eco-phone button{padding:10px!important;border:0;min-height:44px;color:var(--ink);background:hsl(var(--ui-hue) 14% 91%)}
html:root body.ui-system .eco-phone button[aria-pressed=true]{color:var(--ui-ink);background:var(--ui-accent)}
html:root body.ui-system .eco-phone-grid button{font-size:11px!important;min-height:80px}
html:root body.ui-system .eco-phone-head button{width:44px;height:44px;flex:0 0 44px}
html:root body.ui-system .ui-appearance{width:min(460px,calc(100vw - 32px));padding:26px;max-height:calc(100dvh - 32px);overflow:auto}
.ui-appearance::backdrop{background:#10231f55;backdrop-filter:blur(5px)}
.ui-appearance-heading{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}
.ui-appearance-heading h2{font:500 25px/1.2 Arial,sans-serif;margin:8px 0;color:var(--ui-ink)}
.ui-appearance-heading small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ui-muted)}
.ui-appearance-heading button{width:44px;padding:11px;background:var(--ui-control-surface);color:var(--ui-ink);flex:0 0 44px}
.ui-appearance>p{color:var(--ui-muted);line-height:1.6;font-size:13px;margin:14px 0 22px}
.ui-appearance>label{display:block;color:var(--ui-ink);font-size:13px;margin:22px 0}
.ui-appearance output{float:right;font-variant-numeric:tabular-nums}
.ui-appearance input[type=range]{width:100%;margin:14px 0 0;accent-color:hsl(var(--ui-hue) 35% 76%);height:24px}
.ui-appearance input[data-ui-value=hue]{background:linear-gradient(90deg,#a76868,#a6a66c,#6ca66c,#6ca6a6,#6c6ca6,#a66ca6,#a66868);border-radius:12px;height:16px}
.ui-palettes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ui-palettes button{font-size:11px;min-height:66px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;background:var(--ui-control-surface);color:var(--ui-ink);padding:8px}
.ui-palettes span{width:22px;height:22px;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 2px #ffffff55}
.ui-palettes button[aria-pressed=true]{background:var(--ui-selected-bg);color:var(--ui-selected-ink)}
.ui-appearance-preview{padding:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ui-appearance-preview span{display:flex;align-items:center;gap:8px;font-size:13px}
.ui-appearance-preview button{color:var(--ui-selected-ink);background:var(--ui-selected-bg);padding:10px 16px;pointer-events:none}
.ui-appearance-actions{display:flex;gap:12px;justify-content:space-between;margin-top:24px}
.ui-appearance-actions button{display:flex;gap:8px;align-items:center;padding:12px 16px;color:var(--ui-ink);background:var(--ui-control-surface);font-size:12px}
.ui-appearance-actions .primary{color:var(--ui-selected-ink);background:var(--ui-selected-bg)}
@media(min-width:851px) and (max-width:1280px){html:root body.ui-system .header{gap:12px;padding:0 16px}.ui-system .header .brand{gap:12px}.ui-system .header .brand b{font-size:16px}.ui-system .header .brand strong{font-size:14px}html:root body.ui-system .header nav.glass-control-bar a{padding:10px!important;font-size:11px!important}html:root body.ui-system .header nav .glass-tab-icon{display:none}html:root body.ui-system #account-button{max-width:112px}}
@media(max-width:850px){html:root body.ui-system .header{gap:10px;padding:0 16px}.ui-system .header .brand{gap:10px}.ui-system .header .brand b{font-size:15px}.ui-system .header .brand strong{font-size:14px}html:root body.ui-system #account-button{max-width:112px;font-size:11px;padding:9px 12px}html:root body.ui-system .ci-tabs button{padding:10px 8px!important;font-size:11px!important;gap:5px;flex-direction:column;min-height:68px!important}.ui-system .ci-tabs .ui-icon{width:20px;height:20px}.ui-system .ui-appearance-trigger{display:none!important}.ui-system .scene-controls .segmented{display:flex;flex-wrap:wrap;gap:4px}.ui-system .scene-controls .segmented button{font-size:11px;padding:10px!important}html:root body.ui-system .scene-controls label{flex:1 1 180px}html:root body.ui-system .scene-controls select{flex:1;min-width:0}.ui-system .ui-appearance{padding:20px}}
@media(prefers-reduced-motion:reduce){.ui-system *{scroll-behavior:auto!important}.ui-system .glass-active-indicator{transition:none!important}}
html:root body.ui-system .glass-panel :is(.fx-floor-grid,.hx-floors) button{padding:8px 2px!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal;min-width:36px;min-height:44px;font-size:14px;font-variant-numeric:tabular-nums}html:root body.ui-system :is(.fx-head,.hx-head,.fx-unit-card,.fx-common,.hx-room-card,.hx-concept,.hx-stats){border:0!important}.eco-incident-progress{display:flex;gap:4px;list-style:none;padding:0;margin:12px 0}.eco-incident-progress li{flex:1;min-width:0;font-size:9px;line-height:1.35;padding:8px 4px;background:var(--ui-control-surface);border-radius:10px}.eco-incident-progress li.active,.eco-incident-progress li.done{background:var(--ui-selected-bg);color:var(--ui-selected-ink)}
.eco-incident-progress{display:grid;gap:8px;line-height:1.5}.eco-incident-progress b{font-size:12px}.eco-incident-progress progress{width:100%;accent-color:var(--ui-accent)}.eco-incident-progress small{font-size:10px}
