/* Workspace redesign. Shared forms and business states remain in styles.css. */
:root{--bg:#f3f5f9;--ink:#26354a;--muted:#69788e;--line:#e6ebf2;--blue-soft:#e9f2ff;--sidebar:224px}
body{font-size:14px;line-height:1.55}
button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;border-color:#dce3ec;border-radius:5px;transition:color .15s,background .15s,border-color .15s}
button:hover:not(:disabled){background:#f7faff;border-color:#b2cbee}
button.primary{background:var(--blue);border-color:var(--blue)}
button.primary:hover{background:color-mix(in srgb, var(--blue), white 12%);color:#fff;border-color:color-mix(in srgb, var(--blue), white 12%)}
button.text{min-height:28px;font-size:13px;padding:2px 6px}
button.text:hover{background:#edf5ff}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue)}
.ui-icon{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
input,select,textarea{border-color:#d6dee9;min-height:36px;border-radius:5px;transition:border-color .15s}
input:hover,select:hover,textarea:hover{border-color:#a8bdd6}
input::placeholder{color:#7a899b}
h1{font-size:23px;line-height:1.4;font-weight:600}
h2{font-size:15px;font-weight:600;line-height:1.5}
.shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh}
.sidebar{height:100vh;position:sticky;top:0;z-index:50;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0;overflow:visible}
.brand{height:56px;min-height:56px;padding:0 17px;gap:10px;overflow:hidden;white-space:nowrap}
.brand-mark{width:30px;height:32px;display:grid;place-items:center;border-radius:7px;background:#159b8b;color:#fff;flex:none}
.brand .brand-mark .ui-icon{width:21px;height:23px;stroke-width:1.8}
.brand strong{font-size:16px;font-weight:600;letter-spacing:.1px}
.nav{padding:17px 8px 10px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#d9e1ec transparent}
.nav-section{margin:3px 0 8px;position:relative}
.nav-item,.group-toggle{border:0;min-height:40px;padding:10px 12px;gap:11px;width:100%;justify-content:flex-start;text-align:left;background:transparent;font-size:13px;color:#46566b;border-radius:5px;margin:0;display:flex;align-items:center}
.nav-item:hover:not(:disabled),.group-toggle:hover{background:#f3f7fc;border-color:transparent;color:var(--blue)}
.nav-item.active{background:#e3efff;color:var(--blue);font-weight:600}
.nav-item:disabled{background:transparent;color:#6e7d8e}
.nav-label{flex:1;white-space:nowrap}
.nav-sub{display:none;padding-top:4px}
.nav-sub .nav-item{padding:8px 10px 8px 32px;min-height:35px;font-size:13px;gap:10px;margin:2px 0}
.nav-sub .nav-item>.ui-icon{width:16px;height:16px}
.expanded>.nav-sub{display:block}
.group-toggle .ui-icon{width:17px;height:17px}
.group-toggle .group-arrow{width:12px;height:12px;color:#7c8da4;transition:transform .2s}
.expanded>.group-toggle .group-arrow{transform:rotate(180deg)}
.has-active>.group-toggle{color:var(--blue)}
.lock{font-size:11px;display:inline-flex;align-items:center;gap:5px;flex:none;color:#6e7d8e}
.lock .ui-icon{width:11px;height:12px}
.group-priority{font-size:11px;color:#708094}
.flyout-title{display:none}
.sidebar-bottom{border-top:1px solid var(--line);background:#fff}
.building-context{padding:15px 18px 13px;display:flex;align-items:center;gap:11px}
.building-context>.ui-icon{width:22px;height:26px;color:#178b7d}
.building-context small{display:block;font-size:11px;margin-bottom:1px}
.building-context strong{font-size:12px;font-weight:500;display:block;white-space:nowrap}
.sidebar-fold{width:100%;justify-content:flex-start;gap:12px;border:0;border-radius:0;padding:9px 19px;min-height:36px;color:#7b899b;background:#fbfcfe;font-size:11px}
.sidebar-fold .ui-icon{width:15px;height:15px}
.topbar{height:56px;background:#fff;padding:0 20px;gap:12px;position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line)}
.header-location,.header-tools{display:flex;align-items:center;gap:13px;min-width:0}
.icon-button{width:31px;min-width:31px;height:32px;min-height:32px;padding:0;border-color:transparent;color:#667990;background:transparent}
.icon-button:hover{background:#f1f5fa;border-color:transparent}
.icon-button .ui-icon{width:17px;height:17px}
.header-home{margin-left:-5px}
.breadcrumb{display:flex;gap:9px;align-items:center;font-size:12px;color:#75849a;white-space:nowrap;min-width:0}
.breadcrumb .ui-icon{width:10px;height:10px;color:#98a4b5}
.breadcrumb strong{font-weight:500;color:#34465e;overflow:hidden;text-overflow:ellipsis}
.header-building{display:flex;align-items:center;gap:8px;font-size:12px;color:#586b84;padding-right:14px;border-right:1px solid var(--line)}
.header-building .ui-icon{width:15px;height:15px;color:#7f95ac}
.menu-search{border:0;min-height:30px;background:#f4f6f9;color:#7b889c;font-size:12px;padding:4px 11px}
.menu-search .ui-icon{width:14px;height:14px}
.account{gap:5px;padding-left:3px}
.avatar{width:29px;height:29px;display:grid;place-items:center;background:#4688e9;color:#fff;border-radius:50%;font-size:12px;flex:none}
.account select{font-size:12px;border:0;padding:4px 1px 4px 6px;min-height:30px;background:transparent;max-width:98px}
.workspace-tabs{height:38px;background:#fff;border-bottom:1px solid var(--line);display:flex;position:sticky;top:56px;z-index:39;padding:3px 0 0 16px;align-items:stretch;gap:12px}
.workspace-tab-list{display:flex;align-items:stretch;gap:4px;flex:1;overflow-x:auto;scrollbar-width:none}
.workspace-tab-list::-webkit-scrollbar{display:none}
.workspace-tab{display:flex;align-items:center;gap:0;flex:none;border-radius:5px 5px 0 0;color:#76879c;background:#fff}
.workspace-tab.active{background:#e3efff;color:var(--blue)}
.workspace-tab>button{padding:5px 11px;border:0;color:inherit;background:transparent;border-radius:4px 4px 0 0;min-height:31px;font-size:12px;gap:7px}
.workspace-tab>button:hover{background:#eff5fc}
.workspace-tab.active>button:hover{background:#d9e9ff}
.workspace-tab{align-items:stretch;overflow:hidden}
.workspace-tab:not(.active):hover{background:#eff5fc}
.workspace-tab.active:hover{background:#d9e9ff}
.workspace-tab>button:hover:not(:disabled),.workspace-tab.active>button:hover:not(:disabled){background:transparent;border-color:transparent}
.workspace-tab>.close-tab:hover:not(:disabled){color:#1254b0}
.workspace-tab .ui-icon{width:13px;height:13px}
.workspace-tab>.close-tab{padding:4px 8px 4px 2px;min-width:22px}
.close-tab .ui-icon{width:11px;height:11px}
.tab-tools{display:flex;align-items:center;border-left:1px solid var(--line);padding:0 9px}
.tab-tools .icon-button{height:28px;min-height:28px;width:27px}
.content{padding:23px 24px 32px;max-width:1800px;min-height:calc(100vh - 94px)}
.page-head{margin-bottom:22px}
.page-head>.actions{justify-content:flex-end}
.panel{border-radius:7px;padding:20px;margin-bottom:18px}
.panel-header{margin-bottom:18px;min-height:24px}
.panel-header>.muted{font-size:11px}
.tabs{gap:25px;margin:-5px 0 20px;white-space:nowrap}
.tabs>button{padding:9px 2px 11px;min-height:39px;color:#708197;font-size:13px}
.filters{gap:12px;margin-bottom:20px}
.filters .field,.filters label{margin:0;display:flex;flex-direction:column;gap:7px;color:#61738b;font-size:12px}
.filters .field>span{margin:0;font-size:12px}
.filters select{min-width:125px;font-size:13px}
.filters input{width:147px;font-size:13px}
.filters .search{width:235px}
.filters button{font-size:13px;height:36px}
.filter-summary{margin:5px 0 14px;font-size:13px}
.metrics{gap:20px;padding:6px 0 22px;margin-bottom:20px}
.metric{padding:0 16px 0 0;min-width:0}
.metric .label{font-size:12px;color:#6e7f95;margin-bottom:8px}
.metric .value{font-size:29px;line-height:1.35;font-weight:500;white-space:nowrap;letter-spacing:-.6px}
.metric .value.long{font-size:20px;letter-spacing:0}
.metric .unit{font-size:12px;font-weight:400;letter-spacing:0;color:#697e98;margin-left:5px}
.metric small{font-size:11px;margin-top:7px;line-height:1.6}
th{color:#6c8099;font-size:12px;padding:12px;height:43px}
td{padding:15px 12px;border-bottom-color:#eaf0f6;height:49px}
td:first-child{color:#2f4865}
tbody tr:hover{background:#fafcff}
td .sub{color:#70859d;font-size:11px;line-height:1.7;margin-top:2px}
td button.text{font-size:12px;padding:2px 5px}
.status{display:inline-flex;align-items:center;font-size:11px;line-height:1.65;padding:2px 7px;border-radius:3px;flex:none;background:#eef2f7;color:#60738b}
.status.ok{background:#e8f7f1;color:#18755e}
.status.warn{background:#fff4dd;color:#906015}
.status.bad{background:#fff0f1;color:#bc3d48}
.notice{background:#f5f8fc;border-left-color:#a4bad6;color:#5d728e;font-size:12px;line-height:1.8}
.notice.warning{background:#fff9ec;border-color:#c69745;color:#8d671e}
.empty{min-height:85px;border-color:#d6e0ec;border-radius:5px}
.chart{height:222px}
.chart text{fill:#70829a;font-size:12px}
.chart .grid{stroke:#e8edf4}
.chart .series{stroke:#4889e2}
.chart .compare{stroke:#9bacc1;stroke-dasharray:5 4}
.chart .bar{fill:#4c8de1}
.chart-unit{font-size:11px;color:#7a8ca3;white-space:nowrap;line-height:1.5}
.legend{font-size:11px}
.swatch{background:#4889e2}
.swatch.grey{background:#9bacc1}
.kv{grid-template-columns:125px 1fr;gap:15px 18px;margin:0}
.kv dt{color:#71839b}
.two-col{gap:18px}
.page-count{color:#71849b;margin-top:18px}
.footer-note,.coverage-note{font-size:12px;color:#70839c;line-height:1.8;margin-top:14px}
.field{margin-bottom:18px}
.field>span{margin-bottom:8px}
.drawer{box-shadow:-12px 0 35px #1c304c16}
.drawer-head{padding:19px 24px;min-height:68px}
.drawer-head h2{font-size:16px}
.drawer-body{padding:23px 24px}
.drawer-footer{padding:15px 24px}
.drawer-footer button{min-width:70px}
.icon-close{min-width:28px;min-height:28px;font-size:23px;line-height:1;font-weight:300;color:#6f7f91}
.error:empty{display:none}
.drawer-divider{border-top:1px solid var(--line);margin:17px 0}
.menu-result{display:flex;align-items:center;gap:12px;width:100%;padding:12px 10px;border:0;background:none;text-align:left;color:#4e6580;justify-content:flex-start}
.menu-result>span{flex:1}
.menu-result>.ui-icon:last-child{width:15px;color:#8fa2b8}
#toast{background:#26425e;font-size:13px;border-radius:5px;padding:10px 18px;box-shadow:0 5px 22px #102b4820}
.scope-caption{display:flex;align-items:center;gap:9px;font-size:12px;color:#536e8d;margin-bottom:12px}
.scope-caption>.ui-icon{width:15px;height:15px;color:#829ab3}
.scope-tag{display:inline-flex;font-size:11px;background:#eef4fb;color:#5b789d;padding:3px 8px;border-radius:3px}
.mobile-shade{display:none}

/* 1440 = 224 navigation + 48 gutters + 1168 working width. */
.space-layout{display:grid;grid-template-columns:264px minmax(0,1fr);gap:18px;align-items:start}
.building-profile{padding:25px 23px 0;overflow:hidden}
.profile-mark{margin-bottom:18px;color:#4a87c7}
.profile-mark .ui-icon{width:37px;height:40px;stroke-width:1.3}
.building-profile h2{font-size:19px}
.profile-use{font-size:12px;color:#7a8ca2;margin-top:6px}
.profile-area{margin:27px 0 24px}
.profile-area strong{font-size:32px;font-weight:500;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.profile-area>span{font-size:13px;color:#6f829c;margin-left:7px}
.profile-area small{display:block;margin-top:3px}
.profile-data{margin:0 0 25px;font-size:12px}
.profile-data dt{color:#8090a4;margin-bottom:6px}
.profile-data dd{margin:0 0 16px;color:#49617e;line-height:1.8}
.profile-foot{margin:0 -23px;padding:15px 23px;background:#f9fbfe;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px;color:#7085a0}
.space-workspace{padding:19px 20px}
.space-row{display:grid;grid-template-columns:minmax(160px,1fr) 110px 120px 190px;align-items:center;gap:10px;min-height:56px;padding:10px 8px;border-bottom:1px solid #eaf0f6;font-size:12px}
.space-table-head{min-height:40px;color:#70839b;font-size:12px;padding-top:0;padding-bottom:8px}
.space-row.child{padding-left:26px}
.space-row:last-child{border-bottom:0}
.space-row>.actions{gap:3px;justify-content:flex-end;flex-wrap:nowrap}
.space-row .text{font-size:12px;padding:2px 4px}
.space-identity{display:flex;align-items:center;gap:9px;color:#3c5777}
.space-identity .ui-icon{width:16px;height:17px;color:#829cb9}
.space-identity small{display:block;font-size:11px;color:#8a9bb0}
.analysis-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:start}
.spatial-index{border:1px solid var(--line);border-radius:7px;background:#fff;padding:17px 10px;min-width:0}
.index-heading{display:flex;justify-content:space-between;align-items:center;padding:0 8px;margin-bottom:18px;color:#677f99}
.index-heading h2{font-size:13px;font-weight:500}
.index-heading>.ui-icon{width:17px;height:17px;color:#8ba1b9}
.space-pick{width:100%;padding:9px 10px;border:0;justify-content:flex-start;background:transparent;min-height:36px;gap:9px;font-size:12px;color:#567394}
.space-pick>.ui-icon{width:15px;height:16px;color:#8ca6c3}
.space-pick.selected{background:#eaf3ff;color:var(--blue)}
.space-pick.selected>.ui-icon{color:#538fe0}
.building-pick{margin:0 0 9px;min-height:39px}
.floor-picks{padding-left:7px}
.floor-picks .space-pick{margin:3px 0}
.space-pick>span{flex:1;text-align:left}
.coverage-dot{width:5px;height:5px;border-radius:50%;background:#2aa58c;display:inline-block;flex:none}
.analysis-workspace{min-width:0}
.energy-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:18px;height:40px;overflow:auto}
.energy-tabs>button{padding:0 4px 12px;gap:7px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#7b8ca3;font-size:13px;min-height:39px}
.energy-tabs>button.active{color:var(--blue);border-bottom-color:var(--blue)}
.energy-tabs .ui-icon{width:15px;height:16px}
.analytics-overview{padding:18px 20px 20px}
.analytics-overview .filters{gap:12px;margin-bottom:15px}
.analytics-overview .filters select{min-width:130px}
.analytics-overview .metrics{padding-top:4px;margin-bottom:20px;gap:13px;padding-bottom:18px}
.analytics-overview .metric{padding-right:8px}
.analytics-overview .metric .value{font-size:24px}
.analytics-overview .metric .value.long{font-size:18px}
.analytics-overview .metric .unit,.analytics-overview .metric .label,.analytics-overview .metric small{font-size:11px}
.analysis-charts{display:grid;grid-template-columns:minmax(0,1fr) 218px;gap:22px}
.trend-block{min-width:0}
.trend-block .panel-header{margin-bottom:8px;align-items:flex-start}
.trend-block .panel-header .muted{font-size:11px;line-height:1.8}
.trend-block .chart{height:218px}
.distribution{border-left:1px solid var(--line);padding-left:20px;min-width:0}
.distribution h2{margin-bottom:23px;font-size:14px}
.distribution-row{margin-bottom:22px}
.distribution-row>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#6d829b;margin-bottom:9px}
.distribution-row strong{color:#4c6584;font-size:12px;font-weight:500;white-space:nowrap}
.distribution-row small{font-size:11px;font-weight:400}
.distribution-track{height:6px;border-radius:2px;background:#edf2f8;overflow:hidden}
.distribution-track>span{display:block;height:100%;background:#538fe0}
.distribution-track>.tone-1{background:#8badd8}
.distribution-track>.tone-2{background:#b7c7dc}
.distribution .coverage-note{font-size:11px;margin:10px 0 0}
.source-row{display:flex;align-items:center;gap:10px;margin:20px 0;color:#6987a8}
.source-row strong,.source-row span{display:block;font-size:12px;font-weight:500}
.source-row span{font-size:11px;font-weight:400;color:#7f92a9;margin-top:3px}
.source-detail{color:#708bac;margin:22px 0 18px}
.source-detail strong{display:block;margin-top:10px;font-size:13px;font-weight:500}
.source-detail p{font-size:12px;color:#8d9eb2;margin-top:5px}
.mini-kv{display:grid;grid-template-columns:70px 1fr;gap:12px 4px;font-size:11px}
.mini-kv dt{color:#7d8fa5}
.mini-kv dd{margin:0;color:#4d6786}
.analytics-details .tabs{margin-bottom:7px}
.analytics-details td{padding-top:12px;padding-bottom:12px}

.dashboard{background:#101f2a;color:#d4e2e8;padding:20px;min-height:calc(100vh - 94px);--muted:#a3b7c5;--line:#2b414f;--ink:#d4e2e8}
.screen-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.screen-heading>div:first-child{display:flex;align-items:baseline;gap:17px}
.screen-heading h1{font-size:20px;font-weight:500;color:#edf5f6}
.screen-building{font-size:13px;color:#8da6b8}
.dashboard .period-tag{font-size:12px;color:#a4bdca}
.dashboard button,.dashboard select,.dashboard input{color:#b9cdda;background:#162d3a;border-color:#35505f;font-size:12px}
.dashboard button:hover:not(:disabled){background:#1e3946;border-color:#6cae9d;color:#9ce1cc}
.dashboard button.text{background:transparent;border:0;color:#7bc8ba;font-size:11px}
.dashboard h2{color:#dcebed;font-size:13px;font-weight:500}
.dashboard .muted{color:#91aabc}
.dash-summary{border:1px solid #2a4250;background:#142a36;border-radius:6px;padding:16px 0;margin-bottom:18px;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.dash-summary>div{padding:0 22px;border-right:1px solid #304754;min-width:0}
.dash-summary>div:last-child{border-right:0}
.dashboard .dash-summary small{font-size:12px;color:#9fb8c8;margin-bottom:5px}
.dash-summary b{font-size:29px;line-height:1.25;font-weight:500;color:#eef8f5;letter-spacing:-.6px;font-variant-numeric:tabular-nums;white-space:nowrap}
.dash-summary b.pending-value{font-size:23px;letter-spacing:0}
.dash-summary .unit{font-size:11px;color:#93b2c2;margin-left:7px}
.metric-divider{font-size:19px;color:#9ab2c1;letter-spacing:0;margin-left:9px}
.summary-source{display:block;color:#8daaba;font-size:11px;margin-top:7px;line-height:1.5;white-space:nowrap}
.dash-layout{grid-template-columns:174px minmax(280px,1fr) 296px;gap:16px;align-items:stretch;min-height:570px}
.dash-panel{border:1px solid #2b4251;border-radius:6px;background:#132733;padding:16px;min-width:0}
.space-index{padding:18px 10px;display:flex;flex-direction:column;height:auto;min-height:570px}
.space-index .index-heading{color:#92afc0;padding:0 7px;margin-bottom:20px}
.space-index .index-heading>.ui-icon{color:#7899aa;width:16px}
.space-index .model-space{display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:10px 11px;min-height:44px;background:none;border:0;border-radius:4px;width:100%;color:#aac3d2;text-align:left;margin:0}
.model-space>.ui-icon{width:16px;height:17px;color:#7999ac}
.model-space>.ui-icon:last-child{width:11px;height:12px;margin-left:auto}
.model-space>span{flex:1}
.model-space strong{font-size:13px;font-weight:500;display:inline-block;min-width:26px}
.space-index .model-space small{display:block;font-size:11px;color:#81a0b2;line-height:1.6;margin:3px 0 0}
.space-index .model-space.selected{background:#21473f;color:#9bddc6}
.model-space.selected>.ui-icon{color:#87c9b4}
.model-space.selected small{color:#8ab6a8}
.space-index .model-space:hover{background:#1c3541}
.space-index .model-space.building-pick{font-size:12px;margin-bottom:14px}
.model-floor-list{display:flex;flex-direction:column;gap:8px;padding:0 1px}
.model-building-meta{margin-top:auto;padding:24px 9px 1px}
.model-building-meta>span{font-size:11px;color:#819fb2;display:block;margin-top:15px}
.model-building-meta strong{font-size:12px;font-weight:400;color:#b0c8d5;display:block;margin-top:5px}
.model-panel{position:relative;overflow:hidden;padding:16px;display:flex;flex-direction:column;background:#10232f;height:auto;min-height:570px}
.model-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;z-index:2;font-size:11px}
.model-breadcrumb{display:flex;gap:7px;align-items:center;font-size:11px;color:#7799af;min-width:0}
.model-breadcrumb>.ui-icon{width:9px;height:10px;color:#527489}
.model-breadcrumb>strong{font-size:11px;color:#abc5d5;font-weight:400}
.model-toolbar button{font-size:11px;min-height:29px;padding:3px 9px}
.model-toolbar .actions{gap:5px;flex:none}
.model-caption{position:absolute;top:71px;left:24px;z-index:1;pointer-events:none}
.model-caption h2{font-size:19px;font-weight:400;color:#d2e4e7;line-height:1.4;margin:0}
.model-caption p{font-size:11px;color:#6f96aa;margin-top:5px}
.building-svg{display:block;width:100%;height:470px;flex:1;min-height:0;margin-top:18px;overflow:visible}
.building-svg .floor{cursor:pointer;transition:opacity .2s}
.building-svg .floor:hover{filter:brightness(1.1)}
.building-svg .floor-label,.building-svg .meter{cursor:pointer}
.building-svg text{font-family:var(--font);font-size:12px;fill:#a2bdcc}
.building-svg .meter text{font-size:12px;fill:#c9eadc}
.building-svg .meter:hover rect{fill:#24554e;stroke:#a5dbc4}
.building-svg .model-compass text{font-size:11px}
.model-status{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 3px 0;margin-top:0;border-top:1px solid #243b49;font-size:11px;color:#7698ac}
.model-status>span:first-child{white-space:nowrap}
.dot{display:inline-block;width:6px;height:6px;flex:none;background:#87d7be;border-radius:50%;margin-right:6px}
.dash-detail{display:flex;flex-direction:column;gap:14px;min-width:0}
.dashboard .dash-detail>.dash-panel{padding:15px 16px;margin:0}
.dashboard .dash-detail .object-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}
.object-title>button{padding:0 2px;min-height:20px}
.object-title h2{font-size:14px}
.object-name{font-size:11px;color:#92b0c0;margin-bottom:5px}
.object-value{font-size:32px;color:#8edcc4;font-weight:400;letter-spacing:-.7px;font-variant-numeric:tabular-nums;line-height:1.35;white-space:nowrap}
.object-value small{font-size:11px;color:#81a8b8;margin-left:7px;letter-spacing:0}
.object-coverage{font-size:11px;color:#7f9fae;margin-top:9px;line-height:1.8}
.dashboard .dash-kv{margin:13px 0 0;padding-top:12px;border-top:1px solid #2a414d;display:grid;grid-template-columns:73px 1fr;gap:9px 5px;font-size:11px;line-height:1.6}
.dash-kv dt{color:#779bae}
.dash-kv dd{margin:0;color:#b3cad6;overflow-wrap:anywhere}
.object-action{margin-top:10px;padding-top:8px}
.object-action button.text{padding-left:0}
.dashboard .dash-detail .panel-header{margin-bottom:8px;min-height:22px}
.dashboard .chart{height:160px}
.dashboard .chart .grid{stroke:#29414f}
.dashboard .chart .series{stroke:#85cabd;stroke-width:2}
.dashboard .chart text{fill:#8daebf;font-size:12px}
.dashboard .chart-unit{font-size:11px;color:#779bae}
.dashboard .coverage-note{color:#86a7b8;font-size:11px;margin-top:8px}
.source-panel{flex:1}
.meter-source-list{margin-top:5px}
.dashboard .meter-source{width:100%;justify-content:flex-start;gap:9px;padding:9px 0;border:0;border-bottom:1px solid #263f4c;border-radius:0;background:none;min-height:35px;text-align:left}
.dashboard .meter-source:last-child{border-bottom:0}
.meter-source>span{flex:1;font-size:11px;color:#90afc0}
.meter-source>strong{font-size:11px;font-weight:400;color:#9bcfc3}
.meter-source>.ui-icon{width:11px;height:11px;color:#617f93}

.is-collapsed{--sidebar:64px}
.is-collapsed .sidebar{overflow:visible}
.is-collapsed .brand{padding:0 16px}
.is-collapsed .brand strong,.is-collapsed .nav-label,.is-collapsed .group-arrow,.is-collapsed .group-priority,.is-collapsed .sidebar-fold>span,.is-collapsed .building-context>div{display:none}
.is-collapsed .nav{padding:16px 7px;overflow:visible}
.is-collapsed .nav-item,.is-collapsed .group-toggle{padding:12px 15px;justify-content:center;min-height:43px}
.is-collapsed .nav-sub{display:none;position:absolute;left:50px;top:0;width:188px;padding:8px;background:#fff;border:1px solid #e0e6ef;border-radius:6px;box-shadow:0 5px 24px #1838561a;z-index:80}
.is-collapsed .nav-branch:hover>.nav-sub,.is-collapsed .nav-branch:focus-within>.nav-sub{display:block}
.is-collapsed .nav-sub .nav-label{display:block}
.is-collapsed .nav-sub .nav-item{justify-content:flex-start;padding:8px 11px;min-height:35px}
.is-collapsed .flyout-title{display:block;font-size:12px;color:#7b8fa7;padding:5px 10px 9px}
.is-collapsed .building-context{padding:17px 21px}
.is-collapsed .building-context>.ui-icon{width:21px;height:24px}
.is-collapsed .sidebar-fold{padding:11px 24px}

@media(min-width:1600px){
  .dash-layout{grid-template-columns:194px minmax(0,1fr) 325px;min-height:640px}
  .model-panel,.space-index{min-height:640px}
  .building-svg{height:530px}
  .dashboard .chart{height:190px}
  .analysis-charts{grid-template-columns:minmax(0,1fr) 250px}
}
@media(max-width:1200px){
  :root{--sidebar:208px}
  .brand{padding:0 13px;gap:8px}.brand strong{font-size:14px}
  .topbar{padding:0 15px}.header-location,.header-tools{gap:8px}.header-building{display:none}
  .content{padding:20px}.dashboard{padding:18px}
  .dash-layout{grid-template-columns:148px minmax(230px,1fr) 260px;gap:12px}
  .dash-summary>div{padding:0 16px}.dash-summary b{font-size:25px}
  .space-index{padding-left:7px;padding-right:7px}.space-index .model-space{padding:9px 8px}
  .model-caption{left:18px}.model-caption h2{font-size:17px}.model-breadcrumb>span{display:none}
  .dashboard .dash-detail>.dash-panel{padding:14px}.object-value{font-size:28px}
  .analysis-layout{grid-template-columns:165px minmax(0,1fr);gap:14px}
  .analysis-charts{grid-template-columns:minmax(0,1fr) 180px;gap:16px}.distribution{padding-left:15px}
  .analytics-overview{padding:17px}.analytics-overview .metric .value{font-size:21px}
  .space-layout{grid-template-columns:220px minmax(0,1fr);gap:15px}
  .space-row{grid-template-columns:minmax(130px,1fr) 85px 100px 170px;gap:6px}
  .building-profile{padding-left:18px;padding-right:18px}
}
@media(max-width:1000px){
  .shell{display:block}
  .sidebar,.is-collapsed .sidebar{display:none;position:fixed;top:0;left:0;width:235px;height:100dvh;z-index:95;box-shadow:8px 0 30px #1c34591a}
  .sidebar.open{display:flex}.mobile-shade{display:block;position:fixed;inset:0;background:#1b2c4445;z-index:90;border:0;border-radius:0}
  .topbar{padding:0 17px}.header-building{display:flex}.menu-search{display:none}
  .sidebar .nav-label,.sidebar .brand strong,.sidebar .group-arrow,.sidebar .sidebar-fold>span,.sidebar .building-context>div{display:block}
  .sidebar .nav{overflow:auto;padding:17px 8px}.sidebar .nav-item,.sidebar .group-toggle{padding:10px 12px;justify-content:flex-start}
  .sidebar .nav-sub .nav-item{padding:8px 10px 8px 32px}.sidebar .nav-sub{position:static;border:0;box-shadow:none;padding:4px 0 0;width:auto}
  .sidebar .expanded>.nav-sub{display:block}.sidebar .flyout-title{display:none}.sidebar .brand{padding:0 17px}
  .sidebar .building-context{padding:15px 18px}.sidebar .sidebar-fold{padding:9px 19px}
  .dash-layout{display:grid;grid-template-columns:156px minmax(0,1fr);min-height:540px;gap:14px}
  .dash-detail{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}
  .dash-detail .source-panel{grid-column:1/-1}.model-panel,.space-index{min-height:540px}
  .building-svg{height:430px}.model-breadcrumb>span{display:block}
  .analysis-layout{grid-template-columns:176px minmax(0,1fr)}.analysis-charts{grid-template-columns:1fr}
  .distribution{border-left:0;border-top:1px solid var(--line);padding:17px 0 0}.distribution h2{margin-bottom:15px}
  .distribution-list{display:flex;gap:16px}.distribution-row{flex:1;margin-bottom:0}
  .distribution-row>div:first-child{display:block}.distribution-row strong{display:block;margin-top:4px}.distribution .coverage-note{margin-top:13px}
  .space-layout{grid-template-columns:210px minmax(0,1fr)}.space-row{grid-template-columns:minmax(140px,1fr) 95px}
  .space-row>.actions{grid-column:1/-1;justify-content:flex-start;margin-left:20px}
  .space-table-head>span:nth-child(3),.space-table-head>span:nth-child(4),.space-row>span:nth-of-type(2){display:none}
  .metrics{gap:13px}.metric .value{font-size:24px}.two-col{grid-template-columns:1fr}
}
@media(max-width:640px){
  .topbar{height:52px;padding:0 12px;gap:6px}.header-location,.header-tools{gap:4px}
  .header-home,.header-building,.fullscreen-control,.header-tools>.icon-button{display:none}
  .breadcrumb>span,.breadcrumb>.ui-icon{display:none}.breadcrumb{font-size:12px;margin-left:3px}
  .account{gap:2px}.account select{font-size:12px;max-width:70px;padding-left:3px;width:auto}
  .avatar{width:26px;height:26px;font-size:11px}.workspace-tabs{top:52px;height:36px;padding-left:12px}
  .workspace-tab>button{font-size:11px;padding-left:9px;padding-right:8px;min-height:29px}.tab-tools{padding:0 5px}
  .content{padding:20px 16px;min-height:calc(100vh - 88px)}.page-head{align-items:center;gap:10px;margin-bottom:18px}
  h1{font-size:20px}.page-head>.actions{gap:3px}.page-head>.actions button{font-size:12px;padding:5px 8px;min-height:32px}
  .page-head>.actions button>.ui-icon{width:14px;height:14px}.panel{padding:16px;margin-bottom:16px}.panel-header{margin-bottom:14px}
  .metrics{grid-template-columns:1fr 1fr;gap:18px 14px;padding-bottom:18px}.metric{padding-right:10px}
  .metric:nth-child(2){border-right:0}.metric .value{font-size:24px}.metric .label{font-size:12px}.metric .unit{font-size:11px}
  .filters{gap:12px 10px;margin-bottom:18px}.filters>.field,.filters>label{width:calc(50% - 5px)}
  .filters input,.filters select,.filters .search{width:100%;min-width:0}.filters .wide{width:100%}
  .filters input,.filters select{height:37px}.filters>button{min-height:37px}
  .tabs{gap:23px;margin-bottom:17px}.tabs>button{font-size:13px;padding-bottom:10px}
  .two-col.equal{grid-template-columns:1fr}.kv{grid-template-columns:92px 1fr;gap:14px 13px}
  .drawer-head{padding:17px 16px;min-height:62px}.drawer-body{padding:20px 16px}.drawer-footer{padding:14px 16px}
  .form-grid{grid-template-columns:1fr}.field>span{font-size:14px}.field input,.field select{min-height:40px}
  .space-layout{display:flex;flex-direction:column;gap:0}.building-profile{width:100%;padding:18px;margin-bottom:16px;display:grid;grid-template-columns:36px 1fr 1fr;gap:0 14px;align-items:center}
  .profile-mark{grid-row:1/3;margin:0}.profile-mark .ui-icon{width:30px;height:36px}.building-profile h2{font-size:16px;grid-column:2/3}
  .profile-use{grid-column:2/3;font-size:11px;margin-top:2px}.profile-area{grid-column:3;grid-row:1/3;margin:0;text-align:right}
  .profile-area strong{font-size:24px}.profile-area small{font-size:11px}
  .profile-data{grid-column:1/-1;margin:19px 0 0;display:grid;grid-template-columns:75px 1fr;gap:9px 8px}.profile-data dt,.profile-data dd{margin:0;font-size:12px}
  .profile-foot{grid-column:1/-1;margin:17px -18px -18px;padding:12px 18px}.space-workspace{width:100%}
  .space-row{padding:10px 2px;grid-template-columns:minmax(0,1fr) 87px;gap:5px;min-height:57px}.space-row.child{padding-left:18px}
  .space-row>.actions{grid-column:1/-1;justify-content:flex-start;margin-left:20px}.space-row>.tabular{text-align:right}.space-row .text{font-size:12px;min-height:32px}
  .analysis-layout{display:block}.spatial-index{padding:12px;margin-bottom:16px}.spatial-index .index-heading{margin-bottom:9px}
  .spatial-index .building-pick{margin:0;min-height:35px}.floor-picks{display:flex;overflow:auto;padding:5px 0 0;gap:4px}
  .floor-picks .space-pick{flex:none;width:auto;min-height:34px;padding:7px 9px;font-size:11px}.floor-picks .space-pick>.ui-icon{display:none}
  .floor-picks .space-pick>span{white-space:nowrap}.floor-picks .coverage-dot{display:none}
  .energy-tabs{gap:22px;margin:0 0 14px}.energy-tabs>button{font-size:12px;padding-left:0;padding-right:0}.energy-tabs .ui-icon{width:14px;height:15px}
  .analytics-overview{padding:15px}.analytics-overview .filters{gap:12px 10px}.analytics-overview .filters select{min-width:0}
  .analytics-overview .metric .value{font-size:24px}.analytics-overview .metric .label{font-size:12px}
  .analysis-charts{display:block}.trend-block .panel-header{display:block}.trend-block .panel-header .muted{display:block;margin-top:4px}
  .trend-block .chart{height:195px}.distribution{margin-top:18px}.distribution-list{gap:12px}.distribution-row strong{font-size:12px}
  .chart{height:195px}.filter-summary{align-items:flex-start;flex-direction:column}
  .dashboard{padding:18px 16px;min-height:calc(100vh - 88px)}.screen-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:16px}
  .screen-heading>div:first-child{gap:13px}.screen-heading h1{font-size:20px}.screen-building{font-size:12px}
  .screen-heading>.actions{justify-content:space-between;width:100%}.dashboard .period-tag{font-size:11px}
  .dash-summary{grid-template-columns:1fr 1fr;padding:16px 0;gap:21px 0;margin-bottom:16px}.dash-summary>div{padding:0 13px}
  .dash-summary>div:nth-child(2){border:0}.dash-summary b{font-size:24px;letter-spacing:-.5px}.dash-summary b.pending-value{font-size:21px}
  .dashboard .dash-summary small{font-size:11px}.summary-source{font-size:11px;white-space:normal}.dash-summary .unit{font-size:11px;margin-left:4px}
  .metric-divider{font-size:16px}.dash-layout{display:flex;flex-direction:column;gap:16px;min-height:0}
  .space-index{padding:7px 9px;min-height:0;width:100%;display:flex;flex-direction:row;gap:5px;overflow:auto;align-items:center}
  .space-index .index-heading,.space-index .model-building-meta{display:none}.model-floor-list{display:flex;flex-direction:row;gap:5px}
  .space-index .model-space{flex:none;width:auto;min-height:36px;white-space:nowrap;padding:7px 12px;gap:0}
  .space-index .model-space>.ui-icon,.space-index .model-space small,.space-index .model-space .coverage-dot{display:none}
  .model-space strong{font-size:12px;min-width:0}.space-index .model-space.building-pick{margin:0}
  .model-panel{width:100%;padding:14px;min-height:470px}.model-toolbar{gap:5px}.model-breadcrumb{font-size:11px;gap:4px}
  .model-breadcrumb>span{display:none}.model-caption{left:18px;top:68px}.model-caption h2{font-size:17px}.model-caption p{font-size:11px}
  .building-svg{height:370px;flex:none;margin-top:34px}.model-status{font-size:11px;gap:9px;align-items:flex-start}.model-status>span:last-child{text-align:right}
  .dash-detail{display:flex;width:100%;gap:16px}.object-value{font-size:31px}.dashboard .chart{height:190px}
  .dashboard .dash-kv{font-size:12px}.dashboard .object-name,.dashboard .object-coverage,.dashboard .meter-source>span,.dashboard .meter-source>strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Readable labels and a complete overview at the desktop review size. */
.brand .brand-mark .ui-icon{color:#fff}
.building-svg .meter>path{fill:none}
.building-svg text{font-size:14px}
.building-svg .meter text{font-size:15px}
.menu-search{color:#607188}
.sidebar-fold{color:#607188}
.breadcrumb{color:#62738a}
.workspace-tab{color:#60728b}
.workspace-tab>button{font-size:13px}
.building-context small{color:#697b91}
.dashboard .dash-summary small{font-size:13px}
.summary-source{font-size:12px;color:#a0bac9}
.dashboard h2{font-size:14px}
.space-index .model-space{font-size:13px}
.space-index .model-space small{font-size:12px;color:#9ab5c6}
.model-building-meta>span{font-size:12px;color:#9bb4c4}
.model-building-meta strong{font-size:13px}
.dashboard .dash-kv{font-size:13px;grid-template-columns:76px 1fr}
.object-name,.object-coverage{font-size:13px;color:#a0bdcc}
.meter-source>span,.meter-source>strong{font-size:13px}
.object-coverage{line-height:1.65}
.model-breadcrumb,.model-breadcrumb>strong{font-size:12px}
.model-caption p{font-size:12px;color:#94b5c8}
.model-status{font-size:12px;color:#9ab6c7}
.plot-point{fill:#4889e2}
.dashboard .plot-point{fill:#85cabd}
.analytics-overview .metric .label{font-size:13px}
.analytics-overview .metric small{font-size:12px}
.scope-caption{font-size:13px}
.scope-tag{font-size:12px}
.space-pick{font-size:13px}
.distribution-row>div:first-child,.distribution-row strong{font-size:13px}
.distribution .coverage-note{font-size:12px}
.filters .field>span,.filters label{font-size:13px}
.index-heading h2{font-size:14px}
.space-identity{font-size:13px}
@media(min-width:1001px){
  .dash-summary{padding:12px 0}
  .dash-summary b{font-size:27px}
  .summary-source{margin-top:5px}
  .dash-layout{height:calc(100vh - 302px);min-height:570px}
  .model-panel,.space-index{height:100%;min-height:0}
  .building-svg{height:0;flex:1 1 0%;min-height:0}
  .model-building-meta{padding-top:10px}
  .model-floor-list{gap:4px}
  .space-index .model-space{padding-top:8px;padding-bottom:8px;min-height:40px}
  .dashboard .chart{height:140px}
  .dashboard .chart text{font-size:14px}
  .dashboard .dash-detail>.dash-panel{padding:13px 15px}
  .dashboard .dash-detail .object-title{margin-bottom:9px}
  .dashboard .dash-kv{margin-top:10px;padding-top:10px;gap:7px 4px}
  .object-coverage{margin-top:7px}
  .dashboard .meter-source{min-height:32px;padding:7px 0}
}
@media(max-width:1000px){.sidebar.open .brand{display:flex}.space-row:not(.space-table-head)>span:nth-of-type(2){display:block;grid-column:1/-1;margin-left:24px;color:#6e819a;font-size:11px}.space-row:not(.space-table-head)>span:nth-of-type(2)::before{content:'生效日期 ';color:#7f91a6}}


.workspace-tab.active{color:var(--blue)}
.nav-item.active{color:var(--blue)}
.has-active>.group-toggle{color:var(--blue)}
.building-context small{color:#5f7087}
.distribution-row>div:first-child{color:#5c718a}
.energy-tabs>button.active{color:var(--blue)}
.scope-tag{color:#46688e}
th{color:#5e718a}
.coverage-note,.footer-note,.distribution .coverage-note{color:#61748c}
td .sub{color:#61758e}
.metric .unit{color:#62748b}
.index-heading{color:#5b708b}
.space-pick.selected{color:var(--blue)}
.metric .label{color:#60738b}
.tabs>button{color:#61748b}
.energy-tabs>button{color:#61748b}
.chart text{fill:#5e7087}
.page-count{color:#61748b}
.source-row span,.source-detail p,.mini-kv dt{color:#61748b}
.profile-use,.profile-data dt,.profile-foot,.space-identity small{color:#61748b}
.nav-item:disabled,.lock,.group-priority{color:#657488}
.avatar{background:#2868c9}
@media(max-width:640px){
  .workspace-tab>button,.breadcrumb,.account select{font-size:13px}
  .floor-picks .space-pick,.energy-tabs>button,.scope-tag{font-size:13px}
  .dashboard .period-tag,.screen-building{font-size:13px}
  .dashboard button,.model-toolbar button{font-size:13px}
  .dashboard .dash-summary small,.summary-source{font-size:13px}
  .model-breadcrumb,.model-breadcrumb>strong,.model-caption p,.model-status{font-size:13px}
  .building-svg text,.building-svg .meter text{font-size:16px}
  .dashboard .chart-unit,.dashboard .dash-kv,.dashboard .coverage-note{font-size:13px}
  .distribution .coverage-note,.distribution-row strong,.distribution-row>div:first-child{font-size:13px}
  .metric small,.analytics-overview .metric small,.analytics-overview .metric .unit{font-size:13px}
}

/* Shared header identity */
.brand{background:linear-gradient(115deg,#06437e 0%,#07589f 100%);color:#fff;border-bottom:1px solid #1889cc}
.brand-mark{display:block;width:34px;height:34px;object-fit:cover;border-radius:8px;background:transparent}
.topbar{background:radial-gradient(ellipse 38% 110% at 52% 115%,#12a6dc 0%,#0874bf 42%,transparent 72%),linear-gradient(112deg,#07599f 0%,#0868b4 48%,#064686 100%);border-bottom:1px solid #1889cc;color:#fff}
.topbar .icon-button,.topbar .header-building,.topbar .header-building .ui-icon,.topbar .breadcrumb,.topbar .breadcrumb strong,.topbar .breadcrumb .ui-icon,.topbar .account select{color:#fff}
.topbar .icon-button:hover,.topbar .icon-button:focus-visible{color:#fff;background:#ffffff24}
.topbar .header-building{border-right-color:#ffffff35}
.topbar .menu-search{background:#ffffff30;color:#fff}
.topbar .menu-search:hover{background:#ffffff45;color:#fff}
.topbar .header-tools>button:not(.icon-button):not(.menu-search){color:#fff;background:transparent;border-color:transparent}
.topbar .header-tools>button:not(.icon-button):not(.menu-search):hover{background:#ffffff24}
.topbar .account select option{color:#253248;background:#fff}
.topbar .avatar{background:#2fa9e9}

/* A single full-width header above navigation and workspace. */
:root{--header-height:76px}
.shell{grid-template-rows:var(--header-height) minmax(0,1fr)}
.topbar{grid-column:1 / -1;grid-row:1;display:flex;align-items:center;justify-content:flex-start;height:var(--header-height);padding:0;gap:0;z-index:60}
.topbar .brand,.is-collapsed .topbar .brand{height:100%;min-height:0;flex:0 0 245px;display:flex;align-items:center;gap:12px;padding:0 18px;background:transparent;border:0;color:#fff}
.topbar .brand-mark{width:46px;height:46px;border-radius:10px}
.topbar .brand strong,.is-collapsed .topbar .brand strong{display:block;font-family:'DengXian','等线','Microsoft YaHei UI','PingFang SC',sans-serif;font-size:20px;font-weight:700;letter-spacing:.08em;text-shadow:0 1px 8px #063c7880}
.topbar-content{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1;min-width:0;padding:0 20px 0 4px}
.sidebar{grid-column:1;grid-row:2;top:var(--header-height);height:calc(100dvh - var(--header-height))}
.workspace{grid-column:2;grid-row:2;min-width:0}
.workspace-tabs{top:var(--header-height)}
.content,.dashboard{min-height:calc(100vh - var(--header-height) - 38px)}
@media(max-width:1000px){
 .shell{display:block}
 .topbar .brand,.is-collapsed .topbar .brand{flex-basis:auto;padding:0 12px 0 16px}
 .sidebar,.is-collapsed .sidebar{top:var(--header-height);height:calc(100dvh - var(--header-height))}
 .topbar-content{padding:0 14px 0 0}
}
@media(max-width:640px){
 :root{--header-height:64px}
 .topbar .brand,.is-collapsed .topbar .brand{padding-left:10px;gap:7px}
 .topbar .brand-mark{width:38px;height:38px}
 .topbar .brand strong,.is-collapsed .topbar .brand strong{font-size:14px;letter-spacing:0}
 .topbar-content{gap:4px;padding-right:8px}
 .workspace-tabs{top:var(--header-height)}
 .content,.dashboard{min-height:calc(100vh - var(--header-height) - 36px)}
}

@media(min-width:641px){.topbar .brand strong,.is-collapsed .topbar .brand strong{font-family:'Noto Sans SC','Microsoft YaHei UI','Microsoft YaHei',sans-serif;font-size:23px;font-weight:800;letter-spacing:.04em}}

/* Top-level workspace switch and menu search. */
.topbar .brand,.is-collapsed .topbar .brand{flex:0 0 auto;padding-right:22px}
.topbar .brand strong,.is-collapsed .topbar .brand strong{font-family:var(--font);font-size:20px;letter-spacing:0}
.topbar-content{padding-left:18px;border-left:1px solid #ffffff35}
.header-mode{display:flex;align-items:center;gap:8px}
.header-mode-button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 15px;border:1px solid transparent;border-radius:8px;color:#e4f2ff;background:#ffffff1c;font-size:16px;font-weight:600;white-space:nowrap}
.header-mode-button .ui-icon{width:18px;height:18px}
.header-mode-button:hover:not(:disabled){color:#fff;border-color:#ffffff50;background:#ffffff30}
.header-mode-button.active,.header-mode-button.active:hover{background:#fff;color:#0860a8;border-color:#fff}
.mobile-menu-toggle{display:none}
.topbar .header-tools{gap:12px}
.topbar .menu-search{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.topbar .header-building{display:flex;align-items:center;gap:7px;padding-right:14px}
.topbar .header-message{display:inline-flex;position:relative}
.message-dot{position:absolute;bottom:5px;right:4px;width:8px;height:8px;border-radius:50%;background:#ff5252;border:1px solid #0863aa}
.topbar .account{position:relative;padding:0}
.topbar .account select{position:absolute;inset:0;width:100%;height:100%;max-width:none;opacity:0;cursor:pointer}
.topbar .avatar{width:36px;height:36px;font-size:15px}
.menu-search-shade{align-items:center;justify-content:center;padding:20px}
.menu-search-shade .drawer{width:540px;max-width:100%;height:auto;max-height:min(70vh,620px);border-radius:12px;overflow:hidden;box-shadow:0 18px 60px #0d254044}
.menu-search-shade .drawer-head{padding:18px 22px}
.menu-search-shade .drawer-body{padding:16px 22px 22px;min-height:0}
.menu-search-field{display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #cbd9eb;border-radius:6px;color:#6b809d}
.menu-search-field:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgb(17 106 243 / 10%)}
.menu-search-field .ui-icon{width:18px;height:18px;flex:none}
.menu-search-field input{width:100%;min-width:0;padding:11px 0;border:0;outline:none;background:transparent}
#menu-search-results{margin-top:10px}
#menu-search-results .menu-result{border-radius:5px}
#menu-search-results .menu-result:hover{background:#edf5ff}
#menu-search-results .menu-result small{display:block;margin-top:2px;color:#8392a7}
.menu-search-empty{padding:36px 12px;text-align:center;color:#8392a7}
@media(max-width:1000px){.mobile-menu-toggle{display:inline-flex}.topbar .brand,.is-collapsed .topbar .brand{padding-right:12px}.topbar-content{padding-left:10px}}
@media(max-width:640px){.topbar .brand strong,.is-collapsed .topbar .brand strong{font-size:14px}.topbar .brand-mark{width:34px;height:34px}.header-mode{gap:4px}.header-mode-button{min-height:36px;padding:6px 8px;font-size:12px}.header-mode-button .ui-icon{width:15px;height:15px}.topbar .header-tools{gap:4px}.topbar .menu-search,.topbar .header-message,.topbar .mobile-menu-toggle{display:inline-flex}.topbar .menu-search{padding:5px}.topbar .menu-search span{display:none}.topbar .header-building{display:none}.topbar .avatar{width:30px;height:30px;font-size:12px}}
.shell.is-dashboard>.sidebar,.shell.is-dashboard>.mobile-shade,.shell.is-dashboard .mobile-menu-toggle{display:none}
.shell.is-dashboard>.workspace{grid-column:1 / -1}
.shell.is-dashboard .workspace-tabs{display:none}
.shell.is-dashboard .dashboard{min-height:calc(100vh - var(--header-height))}
@media(min-width:1001px){.shell.is-dashboard .dash-layout{height:calc(100vh - 264px)}}
.nav-branch.has-active>.group-toggle .nav-label{font-weight:700}
.topbar .header-message,.topbar .header-message .ui-icon{color:#fff;stroke:#fff;opacity:1}
@media(min-width:1001px){
 .shell{transition:grid-template-columns 150ms ease-out}
 .is-collapsed .nav{padding:17px 8px 10px}
 .sidebar .nav-section>.group-toggle,.sidebar .nav-section>.nav-item{height:42px;min-height:42px;padding:0 12px;justify-content:flex-start;white-space:nowrap}
 .sidebar .nav-section>button>.ui-icon:first-child{flex-shrink:0}
 .sidebar .sidebar-fold{height:38px;padding:0 19px;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.shell{transition:none}}

/* 后台页面共享主滚动容器；局部列表继续独立滚动。 */
.shell:not(.is-dashboard){height:100dvh;min-height:0;overflow:hidden}
.shell:not(.is-dashboard)>.workspace{display:flex;flex-direction:column;min-height:0;overflow:hidden}
@media(max-width:1000px){.shell:not(.is-dashboard)>.workspace{height:calc(100dvh - var(--header-height))}}
.shell:not(.is-dashboard) .workspace-tabs{flex:none;position:relative;top:auto}
.shell:not(.is-dashboard) .workspace>.content{flex:1;min-height:0;height:auto;width:100%;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-color:#cbd9e9 transparent}
.shell:not(.is-dashboard) .workspace>.content::-webkit-scrollbar-track{background:transparent}

#app .shell:not(.is-dashboard) .workspace>.content{scrollbar-color:#cbd9e9 transparent}
#app .shell:not(.is-dashboard) .workspace>.content::-webkit-scrollbar-track{background:transparent}
