/* Shared identity and layout. Geometry, data APIs and permissions are unchanged. */
:root,html body{color-scheme:light;--bg:#f4f5f7;--panel:#fff;--panel-border:var(--border,#dfe4eb);--line:var(--border,#dfe4eb);--text:var(--text-heading,#25384a);--ink:var(--text-heading,#25384a);--muted:var(--text-secondary,#657487);--green:#244e75;--cyan:#244e75;--orange:#a66b2e;--red:#ae3e4d;--focus:#244e75;--navy:#103044;--brand-red:#b54452;--soft:var(--surface-soft,#f0f3f7);--brand-blue:#244e75}
html{scroll-padding-top:88px}html body{margin:0;background:var(--bg,#f4f5f7);color:var(--text);font:14px/1.6 'Microsoft YaHei UI','Microsoft YaHei','PingFang SC',system-ui,sans-serif}
body::before{display:none}body :is(h1,h2,h3,strong){text-shadow:none;letter-spacing:0}body h1{font-size:28px;font-weight:600;line-height:1.4}body h2{font-size:17px;font-weight:600}body h3{font-size:15px}body :is(p,small){line-height:1.7}
body :is(.eyebrow,.panel-kicker){display:none}body :is(.subtitle,.section-description,.hint,.quiet,.empty,.meta,.building-description,.building-reading-hint){color:var(--muted);font-size:13px;line-height:1.8}body .subtitle{margin-top:7px}
body :is(a,button,input,select,summary):focus-visible{outline:2px solid #244e75;outline-offset:3px}
body :is(button,input,select,textarea){font:inherit;box-shadow:none;border-radius:5px}
body :is(input,select,textarea){color:var(--text);background-color:var(--surface,#fff);border:1px solid var(--border,#cdd6e0);min-height:40px;padding:8px 10px;max-width:100%;accent-color:#244e75}
body input::placeholder{color:var(--text-quiet,#8591a0)}body option{background:var(--surface,#fff);color:var(--text-heading,#25384a)}
body button{cursor:pointer;color:var(--text-body,#334f69);border:1px solid var(--border,#cdd6e0);background:var(--surface,#fff);min-height:36px;padding:7px 12px}
body button:hover{background:var(--surface-soft,#f0f3f7);border-color:var(--border-strong,#9aaec1);color:var(--text-link,#173e5e)}body button:disabled{cursor:default;opacity:.5}
body :is(.primary,.create-node-button,.ai-button,.auth-submit,.assistant-entry .primary-link){color:#fff;background:#b54452;border:1px solid #b54452;border-radius:5px;font-weight:500;text-shadow:none;box-shadow:none;transform:none}
body :is(.primary,.create-node-button,.ai-button,.auth-submit,.assistant-entry .primary-link):hover{color:#fff;background:#9e3543;border-color:#9e3543;transform:none;box-shadow:none}
body :is(.secondary-button,.serial-button,.back-to-monitor,.firmware-entry){color:var(--text-link,#244e75);background:var(--surface,#fff);border:1px solid var(--border,#cdd6e0);border-radius:5px;font-size:13px;font-weight:500;text-decoration:none;box-shadow:none;transform:none}
body :is(.danger,.delete-node){color:var(--text-danger,#ae3e4d);background:var(--surface,#fff);border-color:var(--border-strong,#e4c6cc)}body .danger:hover{color:var(--text-danger,#8d2636);background:var(--surface-red,#faf0f2);border-color:var(--border-strong,#c88895)}
body :is(.panel,.metric-card){color:var(--text);background:var(--surface,#fff);border:1px solid var(--border,#dfe4eb);border-radius:6px;box-shadow:none;backdrop-filter:none}
body :is(.panel,.metric-card)::before{display:none}body .panel-head{border:0}body .panel-kicker{letter-spacing:0}
body :is(.primary-link,.text-link,.editor-back,.back-link,.api-strip a,.auth-helper button){color:var(--text-link,#244e75)}
body .school-brand-image{display:block;max-width:100%;height:auto}body .school-brand-caption{display:block;font-weight:400}
body footer{color:var(--text-quiet,#758293);border-color:var(--border,#dfe4eb);font-size:12px}body .skip-link{color:#fff;background:#244e75;border-radius:4px}
body :is(.connection,.node-chip,.node-total,.ai-chip,.count-badge,.compatibility-chip,.firmware-meta span,#syncBadge,#saveBadge){border:1px solid var(--border,#dfe4eb);border-radius:4px;color:var(--text-secondary,#52667a);background:var(--surface-soft,#f4f6f9);font-size:12px;font-weight:400}
body :is(.connection.online,.ai-chip.ready,.compatibility-chip.ready){color:var(--text-link,#244e75);background:var(--surface-soft,#edf2f7);border-color:var(--border,#cbd8e4)}
body :is(.pulse,.node-status-dot,.stat-dot,.dot-icon){background:#93a1b1;box-shadow:none;animation:none}
body :is(.online .pulse,.online .node-status-dot,.stat-dot.green,.stat-dot.cyan,.campus-service .online){background:#527b9c;box-shadow:none}
body .connection.offline{color:var(--text-warning,#8b5b35);background:var(--surface-warning,#f8f3ed);border-color:#e8dbca}
body :is(.discovery-banner,.handoff-banner){background:var(--surface-soft,#edf2f7);border:1px solid var(--border-strong,#cddae6);border-radius:6px;color:var(--text-heading,#25384a);box-shadow:none}
body :is(.discovery-symbol,.handoff-symbol){background:#dce6f0;color:var(--text-link,#244e75);border-radius:4px}
body :is(.naming-tag,.unnamed-count){background:var(--surface-warning,#f6eee2);color:var(--text-warning,#8e602d);border-color:#e8d6b9}
body :is(dialog,.node-naming-dialog){background:var(--surface,#fff);color:var(--text-heading,#25384a);border:1px solid var(--border,#dfe4eb);border-radius:8px;box-shadow:0 16px 60px #10304424}
body dialog::backdrop{background:#10304466}body :is(.naming-device,.sensor-id-list span){color:var(--text-secondary,#617185);background:var(--surface-soft,#f0f3f7);border-color:var(--border,#dfe4eb)}

/* Monitor: four clear figures, a large chart, alerts, then the device register. */
.monitor-body .topbar{align-items:center}.monitor-body .firmware-entry{padding:9px 13px}
.monitor-body .summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;background:var(--surface,#fff);border:1px solid var(--border,#dfe4eb);border-radius:6px;overflow:hidden}
.monitor-body .summary-grid .metric-card{padding:22px 24px;border:0;border-right:1px solid #e7ebf0;border-radius:0;min-height:160px;background:var(--surface,#fff)}
.monitor-body .summary-grid .metric-card:last-child{border-right:0}.monitor-body .metric-head{font-size:13px;color:var(--text-secondary,#657487);align-items:center;margin:0 0 14px}
.monitor-body .metric-unit{color:var(--text-quiet,#8491a0);font-size:13px}.monitor-body .metric-value{margin:0;line-height:1.2}.monitor-body .metric-value strong{color:var(--text-heading,#203b53);font-size:36px;line-height:1.25;font-weight:500;letter-spacing:-1px}
.monitor-body .online-metric .metric-value strong{font-size:26px;line-height:45px;letter-spacing:0}.monitor-body .comfort-value{font-size:24px;color:var(--text-heading,#203b53);margin:0;line-height:45px;font-weight:500}
.monitor-body .metric-card>p{font-size:12px;margin:13px 0 0;color:var(--text-quiet,#758293)}.monitor-body .summary-caption{font-size:12px;color:var(--text-quiet,#758293);margin:9px 0 24px}
.monitor-body .content-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start;margin:0 0 24px}
.monitor-body .chart-panel{padding:24px;min-width:0}.monitor-body .panel-head{padding:0;margin:0 0 16px;align-items:start;gap:16px}.monitor-body .legend{gap:10px 16px;color:var(--text-secondary,#657487);font-size:12px;max-width:340px;justify-content:flex-end;line-height:1.8}
.monitor-body .chart-wrap{height:300px}.monitor-body .chart-footer{border-top:1px solid var(--border,#edf0f4);padding-top:12px;color:var(--text-quiet,#758293);font-size:12px}.monitor-body .empty-state{background:var(--surface-glass,#ffffffb8);color:var(--text-quiet,#758293);font-size:14px}
.monitor-body .side-stack{display:grid;gap:12px}.monitor-body .side-stack .panel{padding:20px}.monitor-body .alert-panel.normal{border-top:3px solid #527b9c}.monitor-body .alert-panel.warning{border-top:3px solid #b8803f}.monitor-body .alert-panel.danger{border-top:3px solid #b54452}
.monitor-body .alert-symbol{color:var(--text-link,#244e75);background:var(--surface-soft,#edf2f7);border-radius:50%;box-shadow:none;width:32px;height:32px;font-size:17px}.monitor-body :is(.warning,.danger) .alert-symbol{color:var(--text-danger,#9e3543);background:var(--surface-red,#f8edef)}.monitor-body .alert-body strong{color:var(--text-heading,#25384a);font-size:14px}.monitor-body .alert-body p{font-size:13px;color:var(--text-secondary,#657487)}
.monitor-body .side-stack details>summary{font-size:14px;font-weight:500;cursor:pointer;list-style-position:outside;margin-left:16px}.monitor-body .side-stack details>.panel-head{display:none}.monitor-body .side-stack details[open]>summary{margin-bottom:16px}
.monitor-body .ai-result{font-size:13px;color:var(--text-secondary,#657487);line-height:1.8}.monitor-body .device-list{margin:0}.monitor-body .device-list>div{border-color:var(--border,#e6ebf1)}.monitor-body .device-list dd{color:var(--text-body,#334f69);font-size:13px}
.monitor-body .provisioning-panel{padding:24px}.monitor-body .provisioning-head{margin-bottom:18px;align-items:center}.monitor-body .provisioning-head .section-description{margin:7px 0 0;font-size:13px}.monitor-body .provisioning-layout{display:flex;flex-direction:column;gap:18px}
.monitor-body .node-provisioning{background:var(--surface-soft,#f7f9fb);border:1px solid var(--border,#dfe4eb);border-radius:4px;padding:12px 16px}.monitor-body .node-provisioning>summary{cursor:pointer;font-size:13px;color:var(--text-link,#244e75)}.monitor-body .provisioning-form{margin-top:18px;max-width:720px;padding:0;background:transparent;border:0}.monitor-body .provisioning-form label{font-size:13px;color:var(--text-secondary,#52667a)}.monitor-body .provisioning-form input,.monitor-body .provisioning-form select{background:var(--surface,#fff);color:var(--text-heading,#25384a)}
.monitor-body .node-registry{min-width:0;width:100%;padding:0;border:0;background:transparent}.monitor-body .registry-title{margin:0 0 12px}.monitor-body .registry-title strong{font-size:14px}.monitor-body .registry-title span{color:var(--text-quiet,#758293);font-size:12px}.monitor-body .node-list{display:grid;gap:0;max-height:460px;overflow:auto}
.monitor-body .registry-node{border:0;border-top:1px solid var(--border,#e8ecf1);border-radius:0;background:var(--surface,#fff);padding:16px 0;align-items:center}.monitor-body .registry-node.online,.monitor-body .registry-node.needs-naming{border-color:var(--border,#e8ecf1);background:var(--surface,#fff)}.monitor-body .node-name-line strong{font-size:14px;color:var(--text-heading,#25384a)}.monitor-body .node-name-line code{font-size:12px;color:var(--text-quiet,#758293)}.monitor-body .registry-node p{font-size:13px;color:var(--text-secondary,#657487)}.monitor-body .registry-node-actions button{font-size:12px;min-height:34px;color:var(--text-secondary,#52667a);background:var(--surface,#fff);border:1px solid var(--border,#dfe4eb)}
.monitor-body .api-details{margin-top:16px;padding-top:12px;border-top:1px solid var(--border,#e8ecf1);color:var(--text-secondary,#657487);font-size:12px}.monitor-body .api-details>summary{cursor:pointer}.monitor-body .api-strip{margin:10px 0 0;background:var(--surface-soft,#f7f9fb);border:0;color:var(--text-secondary,#657487)}.monitor-body .api-strip code{color:var(--text-body,#334f69)}
body .temp-line{background:#b34450}body .humidity-line{background:#244e75}body .s2-temp-line{background:#b4773c}body .s2-humidity-line{background:#718aaa}

/* Campus: an uncluttered model and a single, contextual detail column. */
body.campus-body{background:var(--bg,#f4f5f7)}.campus-body .campus-header{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-bottom:18px}.campus-body .campus-header h1{color:var(--text-heading,#203b53);font-size:26px;line-height:1.4}.campus-body .campus-header .subtitle{font-size:13px;color:var(--text-quiet,#758293)}
.campus-body .campus-header>div:first-child{min-width:200px}.campus-body .campus-header .campus-search-box{flex:1;max-width:480px;margin-left:auto;min-width:0}.campus-body .campus-breadcrumb{order:4;flex:1 0 100%;padding:0;border:0;font-size:12px;color:var(--text-quiet,#758293)}.campus-body .model-version{position:static;color:var(--text-quiet,#758293);background:transparent;border:0;font-size:12px;padding:0;margin:0}
.campus-body .campus-search-field{border:1px solid var(--border,#cdd6e0);border-radius:5px;background:var(--surface,#fff);padding:0 12px}.campus-body .campus-search-field:focus-within{border-color:#244e75;box-shadow:0 0 0 2px #244e7510}.campus-body .campus-search-field input{background:var(--surface,#fff);color:var(--text-heading,#25384a);border:0;height:42px;font-size:13px;outline:0}.campus-body .campus-search-field>span{color:var(--text-secondary,#657487)}.campus-body .campus-search-field kbd{color:var(--text-quiet,#758293);border-color:var(--border,#dfe4eb);background:var(--surface-soft,#f7f9fb)}
.campus-body .campus-search-results{background:var(--surface,#fff);border-color:var(--border,#dfe4eb);border-radius:6px;box-shadow:0 8px 24px #10304416}.campus-body .campus-search-results button{color:var(--text-heading,#25384a)}.campus-body .campus-search-results button:hover,.campus-body .campus-search-results button[aria-selected=true]{background:var(--surface-soft,#edf2f7)}.campus-body .campus-search-results :is(small,p,span>span){color:var(--text-secondary,#657487);border-color:var(--border,#dfe4eb);font-size:12px}
.campus-body .campus-layout,.campus-body.floor-plan-mode .campus-layout{grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:'summary summary' 'model detail' 'directory directory';gap:18px;align-items:start}.campus-body.floor-plan-mode .campus-layout{grid-template-areas:'model detail' 'directory directory'}
.campus-body .campus-directory-rail{grid-area:directory;position:static;max-height:none;overflow:visible}.campus-body .campus-directory-rail .building-directory{padding:16px 20px;background:var(--surface,#fff);border-color:var(--border,#dfe4eb);border-radius:6px}.campus-body .campus-directory-rail summary{font-size:14px;color:var(--text-heading,#25384a)}.campus-body .campus-directory-rail .directory-search{max-width:340px;margin-top:12px;background:var(--surface,#fff);border:1px solid var(--border,#dfe4eb);border-radius:4px;color:var(--text-secondary,#657487)}.campus-body .directory-search input{background:transparent;border:0;color:var(--text-heading,#25384a);min-width:0}.campus-body .campus-directory-rail .building-directory-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:4px;max-height:200px;overflow:auto}
.campus-body .directory-building{color:var(--text-secondary,#52667a);background:var(--surface,#fff)!important;font-size:13px!important;padding:10px!important;border-radius:4px!important}.campus-body .directory-building.active{color:var(--text-danger,#9e3543);background:var(--surface-red,#f8edef)!important;box-shadow:inset 2px 0 #b54452!important}.campus-body .directory-building small{color:var(--text-quiet,#758293)}.campus-body .campus-directory-caption{display:none}
.campus-body .campus-left-rail .twin-overview{background:var(--surface,#fff);border-color:var(--border,#dfe4eb);border-radius:6px;box-shadow:none;padding:15px 20px;gap:24px}.campus-body .campus-stats{gap:32px}.campus-body .campus-stats strong{font-size:22px;color:var(--text-heading,#203b53);font-weight:500}.campus-body .campus-stats p>span,.campus-body .campus-service{font-size:12px;color:var(--text-secondary,#657487)}.campus-body .twin-overview h2{color:var(--text-secondary,#52667a);font-size:13px}.campus-body .stat-icon{display:none}
.campus-body .campus-view{grid-area:model;position:sticky;top:20px;background:var(--surface,#fff);border-color:var(--border,#dfe4eb);border-radius:6px;overflow:hidden;box-shadow:none;min-width:0}.campus-body .campus-view-toolbar{background:var(--surface,#fff);border-bottom:1px solid var(--border,#e5eaf0);min-height:60px;padding:12px 18px;gap:12px}.campus-body .campus-view-toolbar h2{color:var(--text-body,#334f69);font-size:14px;font-weight:500}
.campus-body .view-controls button{background:var(--surface,#fff);border-color:var(--border,#dfe4eb);color:var(--text-secondary,#657487);font-size:12px;border-radius:4px;box-shadow:none;min-height:34px;padding:6px 10px}.campus-body .view-controls button.active{background:var(--surface-soft,#edf2f7);color:var(--text-link,#244e75);border-color:var(--border-strong,#b9cbdc)}
.campus-body .campus-stage{height:clamp(400px,calc(100svh - 270px),850px);background:var(--surface-stage,#eef2f5)}.campus-body .campus-stage::after{display:none}.campus-body .campus-view-footer{background:var(--surface,#fff);border-top:1px solid var(--border,#e5eaf0);color:var(--text-secondary,#657487);font-size:12px;padding:12px 18px;flex-wrap:wrap}.campus-body .stage-caption{display:none}.campus-body .stage-hint{background:var(--surface-glass,#ffffffd9);color:var(--text-secondary,#52667a);font-size:11px;border-radius:4px;padding:5px 9px;bottom:12px;left:12px}.campus-body .compass{color:var(--text-link,#244e75);text-shadow:none;border:0;background:var(--surface-glass,#ffffffc9);border-radius:50%}
.campus-body :is(.building-map-label,.floor-map-label){background:var(--surface-glass,#ffffffed);color:var(--text-body,#334f69);border:1px solid var(--border,#cdd6e0);border-radius:4px;font-size:11px;box-shadow:none;min-height:24px;padding:3px 6px}.campus-body .building-map-label.selected{background:#b54452;color:#fff;border-color:#b54452;box-shadow:none}.campus-body .building-map-label i{background:#8b9daf;box-shadow:none}.campus-body .building-map-label.selected i{background:var(--surface,#fff)}.campus-body :is(.map-feature-label,.garden-feature-label){color:var(--text-secondary,#52667a);background:var(--surface-glass,#ffffffad);border:0;text-shadow:none;box-shadow:none;font-size:11px;min-height:22px;padding:2px 5px}
.campus-body .campus-sidebar{grid-area:detail;display:block;position:sticky;top:20px;max-height:calc(100svh - 48px);overflow-y:auto;min-width:0;padding:0;scrollbar-width:thin;scrollbar-color:var(--border-strong,#bac6d2) transparent}.campus-body .detail-tabs{display:flex;gap:0;padding:0;background:var(--surface,#fff);border:1px solid var(--border,#dfe4eb);border-bottom:0;border-radius:6px 6px 0 0;position:sticky;top:0;z-index:5}.campus-body .detail-tabs button{font-size:13px;color:var(--text-secondary,#657487);min-height:45px;border:0;border-bottom:2px solid transparent;border-radius:0;background:var(--surface,#fff);padding:9px 5px}.campus-body .detail-tabs button[aria-selected=true]{background:var(--surface,#fff);color:var(--text-danger,#9e3543);border-bottom-color:#b54452;font-weight:500}
.campus-body .detail-panel>.panel{margin:0 0 12px;border-radius:0 0 6px 6px;padding:20px;background:var(--surface,#fff);border-color:var(--border,#dfe4eb);box-shadow:none}.campus-body .building-detail-heading span{color:var(--text-secondary,#52667a);background:var(--surface-soft,#edf2f7);border-color:var(--border,#dfe4eb)}.campus-body .building-detail h2{font-size:20px;color:var(--text-heading,#203b53);margin:14px 0 10px}.campus-body .building-metrics{border-color:var(--border,#e5eaf0);gap:12px}.campus-body .building-metrics strong{color:var(--text-heading,#203b53);font-size:29px;font-weight:500}.campus-body .building-metrics span{color:var(--text-secondary,#657487);font-size:13px}.campus-body .building-metrics small{color:var(--text-quiet,#758293)}.campus-body .building-description-details summary{color:var(--text-secondary,#657487);font-size:13px}.campus-body .building-links a{color:var(--text-link,#244e75)}
.campus-body :is(.building-node,.floor-live-card,.room-binding-readings article){background:var(--surface-soft,#f7f9fb);border-color:var(--border,#dfe4eb);border-radius:4px;color:var(--text-heading,#25384a);box-shadow:none}.campus-body .building-node.online{border-color:var(--border-strong,#cddae6)}.campus-body .building-node-heading span{color:var(--text-link,#527b9c);font-size:12px}.campus-body .building-node p{color:var(--text-secondary,#657487);font-size:12px}.campus-body .building-node button{color:var(--text-danger,#9e3543);background:transparent;border-color:var(--border-strong,#e4c6cc);font-size:12px}.campus-body :is(.placement-form label,.placement-floor label){font-size:13px;color:var(--text-secondary,#657487)}.campus-body .campus-empty{color:var(--text-quiet,#758293);font-size:13px}
.campus-body .floor-controls{background:var(--surface,#fff);border-color:var(--border,#e5eaf0);padding:12px 18px}.campus-body .floor-controls>strong{color:var(--text-secondary,#657487);font-size:13px}.campus-body .floor-buttons button{color:var(--text-secondary,#52667a);background:var(--surface,#fff);border-color:var(--border,#dfe4eb);border-radius:4px}.campus-body .floor-buttons button[aria-pressed=true]{background:#244e75;color:#fff;border-color:#244e75;box-shadow:none}.campus-body .floor-plan{background:var(--surface-soft,#f7f9fb);padding:14px}.campus-body .floor-plan-heading h3{color:var(--text-secondary,#52667a);font-size:13px}.campus-body .floor-plan-actions>span{color:var(--text-quiet,#758293);font-size:12px}
.campus-body .floor-interior-stage{height:clamp(340px,calc(100svh - 290px),760px);background:var(--surface-stage,#eef2f5);border:0;border-radius:4px}.campus-body :is(.floor-plan-legend,.floor-plan-caption){color:var(--text-secondary,#657487);font-size:12px}.campus-body .floor-plan-legend i.room{background:#c5d4e1;border-color:#8ba0b5}.campus-body .room-binding-heading strong{color:var(--text-heading,#203b53)}.campus-body .room-binding-count{color:var(--text-secondary,#52667a);background:var(--surface-soft,#edf2f7)}.campus-body .room-binding-fields :is(label,select){color:var(--text-secondary,#52667a);font-size:13px}.campus-body .room-binding-fields select{background:var(--surface,#fff);border-color:var(--border,#cdd6e0)}.campus-body .room-binding-readings :is(strong,span){color:var(--text-body,#334f69)}.campus-body :is(.room-view-hint,.room-binding-manage summary,.room-binding-status){color:var(--text-secondary,#657487);font-size:13px}.campus-body :is(.room-binding-manage,.legacy-floor-placement){border-color:var(--border,#e5eaf0)}.campus-body .floor-node-placement{background:var(--surface-soft,#f7f9fb);border-color:var(--border,#dfe4eb)}
.campus-body :is(.model-loading,.model-failure){background:var(--surface-stage,#f5f7fa);color:var(--text-secondary,#52667a)}.campus-body .loading-orbit{border-color:var(--border,#dfe4eb);border-top-color:#244e75;box-shadow:none}.campus-body .model-loading strong{color:var(--text-body,#334f69)}.campus-body .model-loading p{color:var(--text-quiet,#758293)}.campus-body .campus-source-note{font-size:12px;color:var(--text-quiet,#758293);border:0}.campus-body .campus-source-note a{color:var(--text-secondary,#657487)}.campus-body .model-zoom-controls{background:var(--surface,#fff);border:1px solid var(--border,#cdd6e0);box-shadow:none;border-radius:4px}.campus-body .model-zoom-controls button{color:var(--text-link,#244e75);background:var(--surface,#fff);border-color:var(--border,#dfe4eb)}

/* Editing: floors on the left, the working view in the middle, properties right. */
body :is(.editor-toolbar,.top){color:var(--text-heading,#25384a);background:transparent;border:0}body :is(.editor-toolbar .brand,.top .brand){color:var(--text-heading,#203b53);font-size:16px}body :is(.editor-note,.status){color:var(--text-secondary,#657487);background:transparent;border:0;border-radius:4px;font-size:13px}
body :is(.head,.card-head){background:var(--surface,#fff);border-color:var(--border,#e5eaf0);min-height:70px;padding:16px;align-items:center}body :is(.head h2,.card-head h2,.panel h2){color:var(--text-heading,#25384a);font-size:15px}body :is(.card-head p,.head small){font-size:12px;color:var(--text-quiet,#758293)}
body :is(.stage,.inside-stage,.scene,.inside-stage svg){background:var(--surface-stage,#f5f7fa);border-color:var(--border,#dfe4eb)}body :is(.tag,.stage-tag,.scene .stage-tag){background:var(--surface-glass,#ffffffdc);color:var(--text-secondary,#657487);border-color:var(--border,#dfe4eb);border-radius:3px;font-size:12px}
body :is(.sidebar select,.details input,.rooms,.cal input,.node-reading){color:var(--text-heading,#25384a);background-color:var(--surface,#fff);border-color:var(--border,#cdd6e0)}body .details{border-color:var(--border,#dfe4eb)}body .details label{color:var(--text-secondary,#657487);font-size:13px}body .details input{min-width:0}body .details input[type=text]{width:100%}
body :is(.layout-menu>summary,.add-menu>summary,.floor-settings>summary,.layout-menu>.actions,.add-menu>.actions,.floor-settings>.side-controls){color:var(--text-secondary,#52667a);background:var(--surface,#fff);border-color:var(--border,#dfe4eb)}
body :is(.list button,.floor){color:var(--text-secondary,#52667a);background:var(--surface,#fff);border-color:var(--border,#dfe4eb)}body :is(.list button:hover,.floor:hover){color:var(--text-link,#244e75);background:var(--surface-soft,#f0f3f7)}body :is(.list button[aria-pressed=true],.floor.active,.floor.active span:last-child,.interior-floorbar button[aria-pressed=true],#pickNode[aria-pressed=true],#autoSnap[aria-pressed=true],.layer-controls button[aria-pressed=true]){color:var(--text-danger,#9e3543);border-color:var(--border-strong,#ddb9c1);background:var(--surface-red,#f8edef);box-shadow:none}
body .tabs{border-color:var(--border,#dfe4eb);background:var(--surface-soft,#f3f5f8);border-radius:4px}body .tabs button{background:transparent;color:var(--text-secondary,#657487);border-color:transparent}body .tabs button[aria-pressed=true]{background:var(--surface,#fff);color:var(--text-link,#244e75);border-color:var(--border,#cdd6e0);box-shadow:none}
body :is(.label,.room-hover-tip){color:var(--text-body,#334f69);background:var(--surface-glass,#ffffffed);border-color:var(--border,#cdd6e0);border-radius:4px;box-shadow:none}body .label.selected{color:#fff;background:#b54452;border-color:#b54452}body :is(.swatch,.floor-plan-legend .room){background:#b3c6d8}body .swatch.hall{background:#dce4ec}body .swatch.live{background:#c7a776}
.floor-editor-body .building-bar{background:var(--surface,#fff);border:1px solid var(--border,#dfe4eb);border-radius:5px;padding:12px 16px;margin-bottom:20px;color:var(--text-secondary,#52667a)}.floor-editor-body .building-bar p{font-size:12px;color:var(--text-quiet,#758293)}.floor-editor-body .heading{margin-bottom:12px}.floor-editor-body .heading h1{font-size:24px}.floor-editor-body .heading p{display:none}.floor-editor-body .save-state{margin-bottom:14px;min-height:24px}.floor-editor-body .save-state .status{margin:0}
.floor-editor-body:not(.preview):not(.embedded) .workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.floor-editor-body:not(.preview):not(.embedded) .layout{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:start}.floor-editor-body:not(.preview):not(.embedded) .layout>.sidebar{grid-column:1;grid-row:1/3;padding:16px 12px}.floor-editor-body:not(.preview):not(.embedded) .layout>.plan-panel{grid-column:2;grid-row:1}.floor-editor-body:not(.preview):not(.embedded) .layout>.scene-panel{grid-column:2;grid-row:2}.floor-editor-body:not(.preview):not(.embedded) .inspector{display:flex;flex-direction:column;gap:16px;margin:0;min-width:0;position:sticky;top:20px}.floor-editor-body:not(.preview):not(.embedded) :is(.plan-panel,.scene-panel){height:auto;display:block;min-height:0}.floor-editor-body:not(.preview):not(.embedded) :is(.plan-panel,.scene-panel) .stage{height:350px;min-height:0}.floor-editor-body:not(.preview):not(.embedded) .floor-switch{display:block}.floor-editor-body:not(.preview):not(.embedded) .floors{display:grid;gap:6px}.floor-editor-body:not(.preview):not(.embedded) .floor{width:100%;justify-content:space-between}.floor-editor-body .inspector .card-head{flex-wrap:wrap;gap:10px}.floor-editor-body .inspector .tools{width:100%}.floor-editor-body .inspector .fields{grid-template-columns:1fr}.floor-editor-body .inspector .dimensions{grid-template-columns:1fr 1fr}.floor-editor-body .inspector .fields input{width:100%}.floor-editor-body .sensor-body{padding:0 16px 16px}.floor-editor-body .node-reading{background:var(--surface-stage,#f5f7fa);border-color:var(--border,#dfe4eb)}.floor-editor-body .node-reading strong{color:var(--text-heading,#25384a)}.floor-editor-body .sensor-label{font-size:13px;color:var(--text-secondary,#657487)}.floor-editor-body .binding-actions{display:grid;grid-template-columns:1fr}.floor-editor-body .background-details{border-color:var(--border,#dfe4eb);color:var(--text-secondary,#657487)}
.campus-editor-body .work,.campus-editor-body .interior-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 270px;gap:18px;align-items:start}.campus-editor-body .work>.sidebar,.campus-editor-body .interior-grid>.sidebar{position:sticky;top:20px;padding:18px;max-height:calc(100svh - 48px);overflow:auto}.campus-editor-body .details>label:not(.fit-option){display:grid;gap:6px;grid-template-columns:1fr}.campus-editor-body .details>label :is(input,select){width:100%;min-width:0}.campus-editor-body .stage{height:440px}.campus-editor-body .details input[type=checkbox]{width:auto;min-height:0}.campus-editor-body .list{max-height:230px}.campus-editor-body .numrow{display:grid;grid-template-columns:1fr 1fr;gap:10px}.campus-editor-body .numrow input{width:100%}

/* Device setup and accounts use the same quiet surfaces and type sizes. */
body .installer-body{background:var(--bg,#f4f5f7)}body .setup-flow{background:var(--surface,#fff);border-color:var(--border,#dfe4eb);border-radius:6px}body .setup-flow li+li{border-color:var(--border,#dfe4eb)}body .flow-number{color:var(--text-quiet,#91a1b1)}body .setup-flow .current .flow-number{color:var(--text-danger,#b54452)}body .setup-flow strong{color:var(--text-heading,#25384a)}body .setup-flow p{font-size:12px;color:var(--text-secondary,#657487)}body :is(.install-note,.serial-controls,.install-checklist label,.wiring-note,.local-bridge-note){background:var(--surface-stage,#f5f7fa);border-color:var(--border,#dfe4eb);color:var(--text-secondary,#657487);border-radius:4px}body :is(.install-intro,.wiring-intro,.install-status,.assistant-entry p,.assistant-entry li){color:var(--text-secondary,#657487);font-size:13px}body .firmware-meta span{color:var(--text-secondary,#52667a);background:var(--surface-soft,#f0f3f7)}body :is(.wire-table,.wire-table td,.wire-table th){border-color:var(--border,#dfe4eb);color:var(--text-secondary,#52667a);background:var(--surface,#fff)}body .account-form label{color:var(--text-secondary,#52667a);font-size:13px}body .accounts-table-wrap{border-color:var(--border,#dfe4eb)}body .accounts-table-wrap :is(th,td){color:var(--text-secondary,#52667a);background:var(--surface,#fff);border-color:var(--border,#e5eaf0);font-size:13px}body .accounts-table-wrap th{background:var(--surface-stage,#f5f7fa)}body :is(.account-help,.account-caption){color:var(--text-secondary,#657487)}

/* A plain, school-branded entrance instead of a decorative tech illustration. */
body.auth-body{background:var(--surface,#fff)}.auth-body .auth-layout{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);min-height:100svh}.auth-body .auth-story{background:#103044;padding:52px 64px;display:flex;flex-direction:column;position:relative;overflow:hidden;color:#fff}.auth-body .auth-story::before,.auth-body .auth-story::after{display:none}.auth-body .auth-story .workspace-brand{display:block;width:300px;max-width:100%}.auth-body .school-brand-image{width:100%}.auth-body .school-brand-caption{display:none}.auth-body .auth-intro{position:static;max-width:460px;margin:auto 0;padding:70px 0}.auth-body .school-location{font-size:13px;color:#aebfcd;margin:0 0 18px}.auth-body .auth-intro h1{color:#fff;font-size:34px;line-height:1.5;letter-spacing:0;font-weight:500}.auth-body .auth-lead{color:#c1ced7;font-size:15px;line-height:2;margin-top:20px}.auth-body .auth-features{display:grid;grid-template-columns:1fr;gap:0;margin-top:42px;border-top:1px solid #ffffff26}.auth-body .auth-features>div{display:grid;grid-template-columns:30px 110px 1fr;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #ffffff26;background:transparent;border-radius:0}.auth-body .auth-features span{color:#c76a75;font-size:12px}.auth-body .auth-features strong{color:#ecf0f4;font-size:14px;font-weight:400;margin:0}.auth-body .auth-features small{color:#aebfcd;font-size:12px}.auth-body .auth-story-footer{color:#91a8b9;font-size:12px}.auth-body .auth-access{display:flex;align-items:center;justify-content:center;background:var(--surface,#fff);padding:48px}.auth-body .auth-card{width:380px;max-width:100%;padding:0;border:0;background:var(--surface,#fff);box-shadow:none}.auth-body .auth-card h2{font-size:26px;font-weight:500;color:var(--text-heading,#203b53)}.auth-body .login-description{font-size:14px;color:var(--text-quiet,#758293);margin:12px 0 28px}.auth-body .auth-tabs{background:var(--surface,#fff);border:0;border-bottom:1px solid var(--border,#dfe4eb);border-radius:0;padding:0;gap:24px;margin-bottom:24px}.auth-body .auth-tabs button{background:transparent;color:var(--text-quiet,#758293);border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 2px;font-size:14px}.auth-body .auth-tabs button[aria-selected=true]{color:var(--text-danger,#9e3543);background:transparent;border-bottom-color:#b54452;box-shadow:none}.auth-body .auth-form label{font-size:14px;color:var(--text-secondary,#52667a)}.auth-body .auth-form input{background:var(--surface,#fff);color:var(--text-heading,#25384a);border-color:var(--border,#cdd6e0);border-radius:4px;min-height:46px}.auth-body .auth-password{background:var(--surface,#fff);border-color:var(--border,#cdd6e0);border-radius:4px}.auth-body .auth-password input{border:0}.auth-body .auth-password button{color:var(--text-secondary,#657487);background:var(--surface,#fff);border:0}.auth-body .auth-submit{min-height:46px}.auth-body :is(.auth-helper,.auth-access-footer,.auth-register-note){color:var(--text-quiet,#758293);font-size:13px}.auth-body .auth-helper button{background:none;border:0;color:var(--text-link,#244e75)}.auth-body .auth-corner{color:var(--text-quiet,#91a1b1);font-size:12px}.auth-body .auth-guest{border-color:var(--border,#dfe4eb)}.auth-body .auth-guest button{background:var(--surface,#fff);color:var(--text-link,#244e75);border:1px solid var(--border,#cdd6e0)}

@media(max-width:1350px){.campus-editor-body .work,.campus-editor-body .interior-grid{grid-template-columns:minmax(0,1fr) 250px}.campus-editor-body :is(.work,.interior-grid)>section{grid-column:1}.campus-editor-body :is(.work,.interior-grid)>.sidebar{grid-column:2;grid-row:1/3}.floor-editor-body:not(.preview):not(.embedded) .workspace{grid-template-columns:minmax(0,1fr) 250px}.floor-editor-body:not(.preview):not(.embedded) .layout{grid-template-columns:120px minmax(0,1fr)}.monitor-body .summary-grid .metric-card{padding:20px}.monitor-body .content-grid{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:1100px){.campus-body .campus-layout,.campus-body.floor-plan-mode .campus-layout{grid-template-columns:minmax(0,1fr) 280px}.monitor-body .content-grid{grid-template-columns:1fr}.monitor-body .side-stack{grid-template-columns:repeat(3,minmax(0,1fr))}.monitor-body .chart-wrap{height:300px}.monitor-body .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.monitor-body .summary-grid .metric-card:nth-child(2){border-right:0}.monitor-body .summary-grid .metric-card:nth-child(-n+2){border-bottom:1px solid #e7ebf0}.auth-body .auth-story{padding:40px}.auth-body .auth-features>div{grid-template-columns:25px 1fr}.auth-body .auth-features small{grid-column:2}}
@media(max-width:980px){.campus-body .campus-layout,.campus-body.floor-plan-mode .campus-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'summary' 'model' 'detail' 'directory'}.campus-body.floor-plan-mode .campus-layout{grid-template-areas:'model' 'detail' 'directory'}.campus-body .campus-view{position:relative;top:0}.campus-body .campus-sidebar{position:static;max-height:none;overflow:visible;display:block}.campus-body .campus-header .campus-search-box{order:3;flex:1 0 100%;max-width:none}.campus-body .campus-header .model-version{margin-left:auto}.campus-body .campus-stage{height:520px}.floor-editor-body:not(.preview):not(.embedded) .workspace{grid-template-columns:minmax(0,1fr)}.floor-editor-body:not(.preview):not(.embedded) .inspector{position:static;display:grid;grid-template-columns:1fr 1fr}.campus-editor-body .work,.campus-editor-body .interior-grid{grid-template-columns:minmax(0,1fr)}.campus-editor-body :is(.work,.interior-grid)>section,.campus-editor-body :is(.work,.interior-grid)>.sidebar{grid-column:auto;grid-row:auto;position:static;max-height:none}.campus-editor-body .work>.sidebar{order:-1}.campus-editor-body .work>.sidebar .list{display:flex;flex-wrap:wrap;max-height:150px}.campus-editor-body .work>.sidebar .list button{width:auto}.auth-body .auth-access{padding:32px}}
@media(max-width:760px){
 .monitor-body .topbar{gap:12px;margin-bottom:20px}.monitor-body .topbar-actions{width:100%;justify-content:space-between}.monitor-body .summary-grid .metric-card{padding:18px 16px;min-height:140px}.monitor-body .metric-value strong{font-size:32px}.monitor-body .online-metric .metric-value strong{font-size:21px}.monitor-body .comfort-value{font-size:22px}.monitor-body .content-grid{gap:14px}.monitor-body .chart-panel{padding:18px 14px}.monitor-body .panel-head{flex-direction:column;gap:12px}.monitor-body .legend{justify-content:flex-start;max-width:100%;font-size:11px;gap:5px 12px}.monitor-body .chart-wrap{height:260px}.monitor-body .side-stack{grid-template-columns:1fr}.monitor-body .side-stack .panel{padding:16px}.monitor-body .provisioning-panel{padding:18px 14px}.monitor-body .registry-node{align-items:flex-start;gap:14px;flex-wrap:wrap}.monitor-body .registry-node-main{min-width:0}.monitor-body .node-name-line{flex-wrap:wrap}.monitor-body .registry-node-actions{margin-left:20px}.monitor-body .summary-caption{font-size:11px;margin-bottom:18px}
 .campus-body .campus-header h1{font-size:24px}.campus-body .campus-header .subtitle{font-size:12px}.campus-body .campus-left-rail .twin-overview{padding:14px;gap:12px}.campus-body .campus-stats{gap:12px}.campus-body .campus-stats strong{font-size:20px}.campus-body .campus-stats p>span{font-size:11px}.campus-body .campus-view-toolbar{flex-wrap:wrap;gap:10px;padding:12px}.campus-body .view-controls{margin:0}.campus-body .view-controls button{font-size:12px;padding:5px 9px;min-height:34px}.campus-body .campus-stage{height:440px}.campus-body .stage-hint{max-width:calc(100% - 90px);font-size:10px}.campus-body .campus-sidebar .detail-panel>.panel{padding:18px}.campus-body .campus-source-note{display:none}.campus-body .floor-interior-stage{height:380px}.campus-body .floor-plan-heading{flex-wrap:wrap;gap:10px}.campus-body .floor-plan-actions{flex-wrap:wrap}.campus-body .floor-plan-legend{gap:12px;font-size:11px}.campus-body .campus-directory-rail .building-directory-list{grid-template-columns:repeat(2,minmax(0,1fr))}.campus-body .campus-search-field kbd{display:none}
 .floor-editor-body .building-bar{flex-wrap:wrap;padding:12px}.floor-editor-body .building-bar p{width:100%;margin:0}.floor-editor-body:not(.preview):not(.embedded) .layout{grid-template-columns:minmax(0,1fr)}.floor-editor-body:not(.preview):not(.embedded) .layout>.sidebar,.floor-editor-body:not(.preview):not(.embedded) .layout>.plan-panel,.floor-editor-body:not(.preview):not(.embedded) .layout>.scene-panel{grid-column:1;grid-row:auto}.floor-editor-body:not(.preview):not(.embedded) .floors{display:flex;flex-wrap:wrap}.floor-editor-body:not(.preview):not(.embedded) .floor{width:auto}.floor-editor-body:not(.preview):not(.embedded) .inspector{display:flex}.floor-editor-body:not(.preview):not(.embedded) :is(.plan-panel,.scene-panel) .stage{height:320px}.floor-editor-body .card-head{flex-wrap:wrap;min-height:70px!important;padding:14px!important}.floor-editor-body .tools{gap:6px}.floor-editor-body .top-actions{width:auto;flex-wrap:wrap}.floor-editor-body .heading h1{font-size:22px}.campus-editor-body .stage{height:340px}.campus-editor-body .head{flex-wrap:wrap}.campus-editor-body .editor-toolbar>.toolrow{flex-wrap:wrap}
 body .setup-flow{grid-template-columns:1fr}body .setup-flow li{padding:14px 18px}body .setup-flow li+li{border-left:0;border-top:1px solid var(--border,#dfe4eb)}body .installer-grid{grid-template-columns:1fr}body .install-card{padding:20px}.auth-body .auth-layout{grid-template-columns:1fr}.auth-body .auth-story{padding:24px}.auth-body .auth-story .workspace-brand{width:240px}.auth-body .auth-intro{margin:0;padding:30px 0 10px}.auth-body .auth-intro h1{font-size:25px}.auth-body .auth-lead{font-size:13px;margin-top:12px}.auth-body .auth-features,.auth-body .auth-story-footer,.auth-body .school-location{display:none}.auth-body .auth-access{padding:32px 24px 64px;min-height:0}.auth-body .auth-corner{display:none}
}
/* Explicitly replace legacy named grid areas so the inspector stays beside the canvas. */
.monitor-body .metric-card::after{display:none}
.monitor-body .chart-panel{display:block;min-height:0}
.monitor-body .chart-wrap{margin-top:20px;height:280px}
.monitor-body .topbar{text-align:left;justify-content:space-between}
.campus-body .view-controls{background:transparent;border:0;padding:0;border-radius:0}
.campus-body .campus-stage{height:clamp(360px,calc(100svh - 345px),760px)}
.floor-editor-body .building-bar label{color:var(--text-secondary,#657487);font-size:13px}
.floor-editor-body .building-bar select{background:var(--surface,#fff);color:var(--text-heading,#25384a);border-color:var(--border,#cdd6e0);border-radius:4px}
.floor-editor-body:not(.preview):not(.embedded) .workspace{grid-template-areas:'canvas inspector'}
.floor-editor-body:not(.preview):not(.embedded) .layout{grid-area:canvas;grid-template-areas:'floors plan' 'floors scene';min-width:0}
.floor-editor-body:not(.preview):not(.embedded) .layout>.sidebar{grid-area:floors}
.floor-editor-body:not(.preview):not(.embedded) .layout>.sidebar{display:block}
.floor-editor-body:not(.preview):not(.embedded) .floor-settings{margin:16px 0 0}
.floor-editor-body:not(.preview):not(.embedded) .floor-settings>.side-controls{left:0;right:auto}
.floor-editor-body:not(.preview):not(.embedded) .layout>.plan-panel{grid-area:plan}
.floor-editor-body:not(.preview):not(.embedded) .layout>.scene-panel{grid-area:scene}
.floor-editor-body:not(.preview):not(.embedded) .inspector{grid-area:inspector}
.floor-editor-body:not(.preview):not(.embedded) .floor-switch{display:block}
.floor-editor-body:not(.preview):not(.embedded) .floor-switch h2{display:block;white-space:nowrap;margin:0 0 12px}
.floor-editor-body .view-mode-tools,.campus-editor-body .view-mode-tools{display:flex;gap:0;padding:3px;background:var(--surface-soft,#e9eef3);border:1px solid var(--border,#dfe4eb);border-radius:5px;max-width:100%;flex-wrap:wrap}
body .view-mode-tools button{border:0;background:transparent;border-radius:3px;color:var(--text-secondary,#657487);min-height:32px;font-size:13px;padding:6px 12px}
body .view-mode-tools button[aria-pressed=true]{background:var(--surface,#fff);color:var(--text-link,#244e75);box-shadow:0 1px 3px #1030440d}
.floor-editor-body:not(.preview):not(.embedded)[data-floor-view=plan] .scene-panel,.floor-editor-body:not(.preview):not(.embedded)[data-floor-view=scene] .plan-panel{display:none}
.floor-editor-body:not(.preview):not(.embedded)[data-floor-view=plan] .layout{grid-template-areas:'floors plan'}
.floor-editor-body:not(.preview):not(.embedded)[data-floor-view=scene] .layout{grid-template-areas:'floors scene'}
.floor-editor-body:not(.preview):not(.embedded):not([data-floor-view=compare]) :is(.plan-panel,.scene-panel) .stage{height:clamp(360px,calc(100svh - 395px),480px)}
.floor-editor-body:not(.preview):not(.embedded) .inspector>.properties-panel{order:0}
.floor-editor-body:not(.preview):not(.embedded) .inspector>.sensor-panel{order:1}
.auth-body .auth-card>.auth-eyebrow{color:var(--text-secondary,#657487);letter-spacing:0;font-size:12px}
.auth-body .auth-password{display:flex;align-items:center;border:1px solid var(--border,#cdd6e0);border-radius:4px;background:var(--surface,#fff);overflow:hidden}
.auth-body .auth-password input{width:100%;min-width:0;flex:1}
.auth-body .auth-password button{position:static;transform:none;flex-shrink:0;min-width:50px;height:44px}
.accounts-shell .account-form input,.accounts-shell .accounts-table-wrap select{background:var(--surface,#fff);color:var(--text-heading,#25384a);border:1px solid var(--border,#cdd6e0);border-radius:4px}
.accounts-shell .account-help h2{color:var(--text-heading,#25384a);font-weight:500}
.campus-body .room-binding-manage select,.campus-body .floor-node-placement select{background:var(--surface,#fff);color:var(--text-heading,#25384a);border-color:var(--border,#cdd6e0)}
.campus-editor-body[data-campus-view=plan] :is(.work,.interior-grid)>section:nth-child(2),.campus-editor-body[data-campus-view=scene] :is(.work,.interior-grid)>section:first-child{display:none}
.campus-editor-body:not([data-campus-view=compare]) :is(.work,.interior-grid){grid-template-columns:minmax(0,1fr) 270px}
.campus-editor-body:not([data-campus-view=compare]) :is(.work,.interior-grid)>section{grid-column:1;grid-row:1}
.campus-editor-body:not([data-campus-view=compare]) :is(.work,.interior-grid)>.sidebar{grid-column:2;grid-row:1}
.campus-editor-body .intro{align-items:end}
.campus-editor-body .work>.sidebar .details{padding-top:14px}
@media(max-width:980px){
 .floor-editor-body:not(.preview):not(.embedded) .workspace{grid-template-areas:'canvas' 'inspector'}
 .floor-editor-body:not(.preview):not(.embedded) .inspector{grid-template-areas:'sensors properties'}
 .campus-editor-body:not([data-campus-view=compare]) :is(.work,.interior-grid){grid-template-columns:minmax(0,1fr)}
 .campus-editor-body:not([data-campus-view=compare]) :is(.work,.interior-grid)>section,.campus-editor-body:not([data-campus-view=compare]) :is(.work,.interior-grid)>.sidebar{grid-column:1;grid-row:auto}
}
@media(max-width:760px){
 .monitor-body .topbar{text-align:left;align-items:flex-start;gap:14px}.monitor-body .topbar-actions{justify-content:flex-start;gap:10px}.monitor-body .topbar-actions .firmware-entry{width:auto}
 .monitor-body .metric-card>p{font-size:11px}.monitor-body .chart-wrap{height:250px}
 .campus-body .campus-stage{height:440px}
 .floor-editor-body:not(.preview):not(.embedded) .layout{grid-template-areas:'floors' 'plan' 'scene'}
 .floor-editor-body:not(.preview):not(.embedded)[data-floor-view=plan] .layout{grid-template-areas:'floors' 'plan'}
 .floor-editor-body:not(.preview):not(.embedded)[data-floor-view=scene] .layout{grid-template-areas:'floors' 'scene'}
 .floor-editor-body:not(.preview):not(.embedded) .floor-switch h2{display:none}
 .floor-editor-body .heading{flex-wrap:wrap;flex-direction:row;gap:12px;align-items:center}
 .floor-editor-body:not(.preview):not(.embedded):not([data-floor-view=compare]) :is(.plan-panel,.scene-panel) .stage{height:340px}
 .campus-editor-body .intro{align-items:start;gap:16px}.campus-editor-body .intro>.toolrow{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Digital instrument details: blue grid, precise rules and quieter data typography. */
.app-sidebar{background-color:#103044;background-image:linear-gradient(135deg,transparent 65%,#244e752b 65%,#244e752b 65.3%,transparent 65.3%),linear-gradient(135deg,transparent 74%,#527b9c18 74%,#527b9c18 85%,transparent 85%)}
.app-topbar{box-shadow:0 2px 14px #10304405}
.app-sidebar-footer{border-top:1px solid #ffffff1c;margin-top:auto;padding-top:20px}
body :is(.panel,.metric-card){border-color:var(--border,#d5dfe9);box-shadow:0 2px 10px #10304403}
.monitor-body .topbar{position:relative;overflow:hidden;min-height:142px;padding:27px 28px;background:#103044;border:1px solid #1e435d;border-radius:7px;box-shadow:0 5px 18px #10304412;isolation:isolate}
.monitor-body .topbar::before{content:'';position:absolute;inset:0 0 0 42%;z-index:-1;background-image:linear-gradient(#7dacc411 1px,transparent 1px),linear-gradient(90deg,#7dacc411 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(90deg,transparent,#000 50%);pointer-events:none}
.monitor-body .topbar::after{content:'';position:absolute;left:0;top:26px;bottom:26px;width:3px;background:#c45361;pointer-events:none}
.monitor-body .topbar h1{color:#f4f7fa;font-weight:500;font-size:28px;letter-spacing:.025em}
.monitor-body .topbar .subtitle{color:#afc4d4;font-size:13px}
.monitor-body .topbar .firmware-entry{border-color:#50728a;color:#dae7f0;background:#244e7544}
.monitor-body .topbar .firmware-entry:hover{border-color:#9bb6ca;background:#244e75}
.monitor-body .topbar .connection{background:#0e293bcc;border-color:#3a5b73;color:#c1d1dd;border-radius:4px;font-size:12px}
.monitor-body .topbar .connection.online .pulse{background:#8cb7d6}
.monitor-body .summary-grid{overflow:hidden;border-color:var(--border-strong,#cddae6);background:var(--surface,#fff);box-shadow:0 3px 16px #10304406}
.monitor-body .summary-grid .metric-card{position:relative;background:linear-gradient(180deg,var(--surface-soft,#f5f8fc) 0,var(--surface,#fff) 45%);border-right-color:var(--border,#dfe7ef)}
.monitor-body .summary-grid .metric-card::before{display:block;content:'';position:absolute;top:0;left:24px;width:34px;height:2px;background:#527b9c}
.monitor-body .summary-grid .metric-card:first-child::before{background:#b54452}
.monitor-body .summary-grid .metric-card::after{display:block;content:'';position:absolute;right:20px;bottom:20px;width:38px;height:6px;border-radius:0;background:repeating-linear-gradient(90deg,#7c9ab733 0,#7c9ab733 2px,transparent 2px,transparent 5px);filter:none;transform:none;opacity:1;pointer-events:none}
.monitor-body .metric-value strong{font-family:Consolas,'SFMono-Regular','Microsoft YaHei UI',monospace;font-size:38px;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.monitor-body .online-metric .metric-value strong{font-size:25px;letter-spacing:-.5px}
.monitor-body .metric-head{padding-right:2px}.monitor-body .metric-head .metric-unit{display:flex;align-items:center;gap:8px}
.monitor-body .metric-symbol{display:block;width:18px;height:18px;color:var(--text-link,#527b9c);flex-shrink:0}
.monitor-body .chart-panel{background:linear-gradient(180deg,var(--surface-soft,#f4f8fc) 0,var(--surface,#fff) 78px);position:relative;overflow:hidden}
.monitor-body .chart-panel>.panel-head{padding-bottom:16px;border-bottom:1px solid var(--border,#e2eaf2)}
.monitor-body .chart-panel h2{display:flex;align-items:center;gap:10px}
.monitor-body .chart-panel h2::before{content:'';display:block;width:4px;height:15px;background:#527b9c;border-radius:1px}
.monitor-body .chart-wrap{background-image:linear-gradient(#244e7505 1px,transparent 1px),linear-gradient(90deg,#244e7505 1px,transparent 1px);background-size:40px 40px;border-left:1px solid var(--border,#dae4ed);border-bottom:1px solid var(--border,#dae4ed)}
.monitor-body .empty-state{background:var(--surface-glass,#ffffff4d);color:var(--text-quiet,#75899d)}
.monitor-body .side-stack .alert-panel{background:linear-gradient(135deg,var(--surface-soft,#f4f8fc),var(--surface,#fff) 75%)}
.monitor-body .side-stack details>summary{color:var(--text-body,#385d7e)}
.monitor-body .side-stack details{border-left:2px solid var(--border-strong,#b8cbdc)}
.monitor-body .provisioning-panel>.panel-head{border-bottom:1px solid var(--border,#e2eaf2);padding-bottom:18px}
body :is(.head,.card-head){background:linear-gradient(180deg,var(--surface-soft,#f3f7fb),var(--surface,#fff));border-bottom:1px solid var(--border,#dfe7ef)}
.campus-body .campus-view-toolbar{background:linear-gradient(90deg,var(--surface-soft,#edf3f9),var(--surface,#fff) 70%);border-bottom-color:var(--border-strong,#cddae6)}
.campus-body .campus-view-toolbar h2{padding-left:11px;border-left:3px solid #527b9c}
.campus-body .campus-view{border-color:var(--border-strong,#c4d4e2);box-shadow:0 4px 18px #10304408}
.campus-body .campus-stage::after{display:block;content:'';position:absolute;inset:12px;border:1px solid #527b9c3b;z-index:1;pointer-events:none;background:none;box-shadow:none;clip-path:polygon(0 0,24px 0,24px 1px,1px 1px,1px 24px,0 24px,0 0,100% 0,100% 24px,calc(100% - 1px) 24px,calc(100% - 1px) 1px,calc(100% - 24px) 1px,calc(100% - 24px) 0,100% 0,100% 100%,calc(100% - 24px) 100%,calc(100% - 24px) calc(100% - 1px),calc(100% - 1px) calc(100% - 1px),calc(100% - 1px) calc(100% - 24px),100% calc(100% - 24px),100% 100%,0 100%,0 calc(100% - 24px),1px calc(100% - 24px),1px calc(100% - 1px),24px calc(100% - 1px),24px 100%,0 100%)}
.campus-body .campus-stats strong,.campus-body .building-metrics strong{font-family:Consolas,'Microsoft YaHei UI',monospace;font-variant-numeric:tabular-nums}
.campus-body .campus-left-rail .twin-overview{background:linear-gradient(90deg,var(--surface-soft,#f1f6fb),var(--surface,#fff) 65%)}
.campus-body .detail-tabs{border-top:2px solid #527b9c;border-radius:4px 4px 0 0}
.floor-editor-body .building-bar{border-left:3px solid #527b9c;background:linear-gradient(90deg,var(--surface-soft,#f0f5fa),var(--surface,#fff) 75%)}
.floor-editor-body .save-state{font-variant-numeric:tabular-nums}.floor-editor-body :is(.stage-tag,.tag){font-family:Consolas,'Microsoft YaHei UI',monospace;font-size:12px;letter-spacing:.02em}
.floor-editor-body .view-mode-tools,.campus-editor-body .view-mode-tools{border-color:var(--border-strong,#c9d7e4);background:var(--surface-soft,#e8eff6)}
.floor-editor-body .view-mode-tools button[aria-pressed=true],.campus-editor-body .view-mode-tools button[aria-pressed=true]{box-shadow:inset 0 -2px #527b9c}
.auth-body .auth-story{background-color:#103044;isolation:isolate}
.auth-body .auth-story::after{display:block;content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#7dacc40d 1px,transparent 1px),linear-gradient(90deg,#7dacc40d 1px,transparent 1px),linear-gradient(135deg,transparent 58%,#527b9c15 58%,#527b9c15 76%,transparent 76%);background-size:36px 36px,36px 36px,100% 100%;mask-image:linear-gradient(180deg,transparent 12%,#000 55%)}
.auth-body .auth-features>div{border-bottom-color:#7dacc43d}
@media(max-width:760px){
 .monitor-body .topbar{padding:22px 20px;min-height:170px;gap:16px;margin-bottom:20px}
 .monitor-body .topbar h1{font-size:24px}.monitor-body .topbar .subtitle{font-size:12px;line-height:1.8}
 .monitor-body .topbar-actions{width:100%;gap:8px;justify-content:flex-start}
 .monitor-body .topbar .firmware-entry{font-size:12px;padding:8px 10px}.monitor-body .topbar .connection{padding:8px 10px;font-size:11px}
 .monitor-body .summary-grid .metric-card::before{left:16px;width:26px}.monitor-body .summary-grid .metric-card::after{right:14px;bottom:12px;width:24px;height:4px}
 .monitor-body .metric-value strong{font-size:32px}.monitor-body .online-metric .metric-value strong{font-size:21px}
 .monitor-body .metric-head .metric-unit{gap:5px}.monitor-body .metric-symbol{width:16px;height:16px}
 .monitor-body .chart-panel>.panel-head{padding-bottom:14px}.campus-body .campus-view-toolbar h2{font-size:13px}
}

/* The supplied reference guides the entrance: large type and a spatial campus sketch. */
.auth-body .auth-layout{grid-template-columns:minmax(0,1.14fr) minmax(420px,1fr)}
.auth-body .auth-story{padding:36px 6%;background:#103044;border-right:1px solid #274760}
.auth-body .auth-story .workspace-brand{width:280px}
.auth-body .auth-intro{width:100%;max-width:620px;margin:auto 0;padding:38px 0}
.auth-body .auth-intro>.auth-eyebrow{display:block;font-size:12px;font-weight:600;letter-spacing:.18em;color:#8bb8dc;margin:0 0 22px}
.auth-body .auth-intro h1{font-size:clamp(36px,3.6vw,58px);font-weight:600;line-height:1.45;letter-spacing:-.035em;margin:0 0 22px;color:#f0f5fa}
.auth-body .auth-intro h1>span{color:#c55c69}
.auth-body .auth-lead{font-size:14px;line-height:2;color:#a6c0d3;margin:0}
.auth-body .auth-campus{display:block;position:relative;height:230px;margin:32px 0 24px;perspective:700px}
.auth-body .campus-grid{position:absolute;inset:0;background:linear-gradient(#7daed421 1px,transparent 1px),linear-gradient(90deg,#7daed421 1px,transparent 1px);background-size:36px 36px;transform:rotateX(55deg) rotateZ(-20deg);border:1px solid #7daed42b;border-radius:10px;mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent)}
.auth-body .auth-campus .block{border:1px solid #769fbd;transform:skewY(-18deg);background:repeating-linear-gradient(90deg,transparent 0 17px,#a6cee51f 17px 19px),repeating-linear-gradient(0deg,#21435a80 0 16px,#9cc0db3d 16px 18px);box-shadow:16px 14px 0 #0c263b,17px 15px 0 #5f85a366,0 0 28px #527b9c0a;border-radius:3px}
.auth-body .auth-campus .block-a{left:18%;top:75px;width:32%;height:85px}.auth-body .auth-campus .block-b{left:56%;top:36px;width:24%;height:78px}.auth-body .auth-campus .block-c{left:52%;top:149px;width:21%;height:50px}.auth-body .auth-campus .block-d{left:10%;top:32px;width:19%;height:36px;opacity:.55}
.auth-body .campus-signal{position:absolute;top:0;right:0;border:1px solid #5b819d;padding:8px 11px;border-radius:24px;background:#16364c;font-size:10px;color:#bfd7e9;box-shadow:0 8px 24px #061a2b55}
.auth-body .campus-signal i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9cc7e7;margin-right:7px}
.auth-body .campus-coordinate{position:absolute;bottom:-4px;left:0;color:#7194af;font-size:10px;letter-spacing:.12em}
.auth-body .auth-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-top:1px solid #527b9c66;margin-top:0;padding-top:20px}
.auth-body .auth-features>div{display:grid;grid-template-columns:1fr;gap:8px;align-items:start;padding:0;background:transparent;border:0;border-radius:0}
.auth-body .auth-features span{font:12px Consolas,monospace;color:#8bb8dc}.auth-body .auth-features strong{font-size:14px;font-weight:500;color:#e3edf5}.auth-body .auth-features small{grid-column:auto;font-size:12px;color:#8fabc0}
.auth-body .auth-story-footer{color:#7194af}
@media(max-width:1100px) and (min-width:761px){.auth-body .auth-story{padding:36px}.auth-body .auth-intro h1{font-size:38px}.auth-body .auth-features{gap:10px}.auth-body .auth-features strong{font-size:13px}.auth-body .auth-features small{font-size:11px}}
@media(max-width:760px){
 .auth-body .auth-layout{grid-template-columns:1fr}.auth-body .auth-story{padding:24px}.auth-body .auth-story .workspace-brand{width:240px}
 .auth-body .auth-intro{padding:28px 0 0;margin:0}.auth-body .auth-intro>.auth-eyebrow{font-size:10px;margin:0 0 14px}
 .auth-body .auth-intro h1{font-size:32px;margin:0 0 14px;line-height:1.4}.auth-body .auth-lead{font-size:12px;line-height:1.9}
 .auth-body .auth-campus{height:150px;margin:20px 0 12px}.auth-body .auth-campus .block-a{top:45px;height:55px}.auth-body .auth-campus .block-b{top:22px;height:50px}.auth-body .auth-campus .block-c{top:92px;height:36px}.auth-body .auth-campus .block-d{top:20px;height:28px}
 .auth-body .campus-signal{font-size:9px;padding:6px 9px}.auth-body .campus-coordinate{font-size:9px}
 .auth-body .auth-features{display:none}.auth-body .auth-access{padding:32px 24px 60px}
}

/* Use the supplied clean logo against its exact navy, without a framing line. */
:root{--school-logo-bg:#0b3049}
.app-layout .app-sidebar{background-color:var(--school-logo-bg)}
.auth-body .auth-story{background-color:var(--school-logo-bg)}
body .school-brand-image{border:0;border-radius:0;box-shadow:none;background:transparent}
.app-sidebar .workspace-brand,.auth-body .auth-story .workspace-brand{border:0;box-shadow:none}
.app-layout .app-sidebar .school-brand-caption{border-top:0;padding-top:0;margin-top:16px}

/* Desktop floor workspace: both spatial views stay beside each other in one screen. */
@media(min-width:1000px){
 .floor-editor-body:not(.preview):not(.embedded).app-layout>.top{padding:0;min-height:34px;margin-top:0;justify-content:flex-end}
 .floor-editor-body>.top .top-actions button,.floor-editor-body>.top .back-link{min-height:30px;padding:4px 10px;font-size:12px}
 .floor-editor-body>.top>.brand{display:none}
 .floor-editor-body.app-layout>main#mainContent{padding:10px 0 0;width:calc(100% - 32px)}
 .floor-editor-body:not(.preview):not(.embedded)>main#mainContent{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'building building' 'heading status' 'workspace workspace';gap:8px 16px}
 .floor-editor-body:not(.preview):not(.embedded) .building-bar{grid-area:building;margin-bottom:0}
 .floor-editor-body:not(.preview):not(.embedded) .heading{grid-area:heading;margin-bottom:0;justify-content:flex-start}
 .floor-editor-body:not(.preview):not(.embedded) .heading>div:first-child{display:none}
 .floor-editor-body:not(.preview):not(.embedded) .save-state{grid-area:status;margin:0;align-self:center}
 .floor-editor-body .building-bar{margin-bottom:10px;padding:5px 12px;min-height:42px;gap:16px}
 .floor-editor-body .building-bar select{min-height:32px;padding:4px 10px;font-size:13px}
 .floor-editor-body .building-bar p{font-size:12px;line-height:1.5}
 .floor-editor-body .heading{margin-bottom:7px;gap:12px;align-items:center}
 .floor-editor-body .heading h1{font-size:20px;line-height:1.4}
 .floor-editor-body .heading .view-mode-tools button{min-height:30px;padding:4px 10px;font-size:12px}
 .floor-editor-body .layout-menu>summary{padding:5px 10px;font-size:12px}
 .floor-editor-body .save-state{min-height:22px;margin:0 0 8px;gap:10px;align-items:center}
 .floor-editor-body .save-state #saveBadge{padding:2px 7px;font-size:11px}
 .floor-editor-body .save-state .status{margin:0;padding:0;font-size:12px;line-height:1.5}
 .floor-editor-body:not(.preview):not(.embedded) .workspace{grid-area:workspace;height:var(--floor-workspace-height,calc(100svh - 200px));min-height:0;grid-template-columns:minmax(0,1fr) 248px;grid-template-areas:'canvas inspector';gap:12px;align-items:stretch}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .layout{height:100%;min-height:0;grid-area:canvas;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto minmax(0,1fr);grid-template-areas:'floors floors' 'plan scene';gap:10px;align-items:stretch}
 .floor-editor-body:not(.preview):not(.embedded)[data-floor-view=plan] .workspace .layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'floors' 'plan'}
 .floor-editor-body:not(.preview):not(.embedded)[data-floor-view=scene] .workspace .layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'floors' 'scene'}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .layout>.sidebar{grid-area:floors;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px;height:auto;min-height:46px}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .floor-switch{display:flex;align-items:center;gap:12px;min-width:0}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .floor-switch h2{display:block;margin:0;font-size:13px;white-space:nowrap}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .floors{display:flex;gap:5px;flex-wrap:wrap}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .floor{width:auto;min-height:30px;padding:4px 10px;gap:9px;font-size:12px}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .floor span:last-child{font-size:11px}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .floor-settings{margin:0}
 .floor-editor-body .workspace .floor-settings>summary{padding:4px 8px;font-size:12px}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .floor-settings>.side-controls{left:auto;right:0}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .layout>:is(.plan-panel,.scene-panel){display:grid;height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;align-self:stretch}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .layout>.plan-panel{grid-template-rows:auto minmax(0,1fr) auto auto}
 .floor-editor-body:not(.preview):not(.embedded)[data-floor-view=plan] .workspace .layout>.scene-panel,.floor-editor-body:not(.preview):not(.embedded)[data-floor-view=scene] .workspace .layout>.plan-panel{display:none}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .layout>:is(.plan-panel,.scene-panel) .card-head{display:flex;min-height:76px;padding:10px;gap:8px;flex-wrap:wrap;align-content:center;align-items:center}
 .floor-editor-body .workspace :is(.plan-panel,.scene-panel) .card-head h2{font-size:14px}
 .floor-editor-body .workspace :is(.plan-panel,.scene-panel) .card-head p{font-size:11px;line-height:1.5;margin-top:3px}
 .floor-editor-body .workspace :is(.plan-panel,.scene-panel) .tools{gap:4px;min-width:0;flex-wrap:wrap}
 .floor-editor-body .workspace :is(.plan-panel,.scene-panel) .tools button,.floor-editor-body .workspace .add-menu>summary{min-height:29px;padding:4px 7px;font-size:12px}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .layout>:is(.plan-panel,.scene-panel) .stage{height:100%;min-height:0}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .layout>:is(.plan-panel,.scene-panel) .hint{margin:0;min-height:30px;padding:7px 10px;font-size:11px;line-height:1.5}
 .floor-editor-body .workspace .background-details>summary{padding:5px 10px;font-size:11px}
 .floor-editor-body .workspace .background-details[open]{max-height:160px;overflow:auto}
 .floor-editor-body .workspace .background-tools{padding:0 10px 10px;gap:8px}
 .floor-editor-body:not(.preview):not(.embedded) .workspace .inspector{grid-area:inspector;position:static;height:100%;min-height:0;display:flex;flex-direction:column;gap:10px;overflow:auto;padding:0 2px 2px 0;scrollbar-width:thin;scrollbar-color:var(--border-strong,#bac6d2) transparent}
 .floor-editor-body .workspace .inspector>.panel{flex-shrink:0;border-radius:5px}
 .floor-editor-body .workspace .inspector .card-head{min-height:0;padding:10px;gap:7px;align-items:center}
 .floor-editor-body .workspace .inspector .card-head p{display:none}
 .floor-editor-body .workspace .inspector .card-head h2{font-size:13px;line-height:1.5}
 .floor-editor-body .workspace .inspector .fields{padding:9px 10px;gap:7px}
 .floor-editor-body .workspace .inspector :is(label,.sensor-label){font-size:12px;line-height:1.5}
 .floor-editor-body .workspace .inspector :is(input,select){min-height:32px;padding:4px 8px;font-size:12px}
 .floor-editor-body .workspace .inspector button{min-height:29px;padding:4px 8px;font-size:12px}
 .floor-editor-body .workspace .inspector .layer-controls{margin:0;gap:6px}
 .floor-editor-body .workspace .inspector .layer-controls small{font-size:11px;line-height:1.5}
 .floor-editor-body .workspace .inspector .layer-options>summary{font-size:12px;color:var(--text-secondary,#657487);cursor:pointer;padding:2px 0}
 .floor-editor-body .workspace .inspector .layer-options[open]>.layer-controls{margin-top:7px}
 .floor-editor-body .workspace .inspector .layer-options>.layer-controls>span{display:none}
 .floor-editor-body .workspace .inspector .dimension-details>summary{padding:7px 10px;font-size:12px}
 .floor-editor-body .workspace .inspector .sensor-body{padding:9px 10px}
 .floor-editor-body .workspace .inspector .sensor-label{margin-bottom:4px}
 .floor-editor-body .workspace .inspector .node-location{margin:5px 0 7px;font-size:11px;line-height:1.5}
 .floor-editor-body .workspace .inspector .binding-actions{grid-template-columns:1fr 1fr;gap:5px}
 .floor-editor-body .workspace .inspector #bindNode{grid-column:1/-1}
 .floor-editor-body .workspace .inspector .reading{margin-top:8px;gap:6px}
 .floor-editor-body .workspace .inspector .reading small{font-size:11px;line-height:1.5}
 .floor-editor-body .workspace .inspector .node-reading{padding:8px;gap:4px}
 .floor-editor-body .bottom{display:none}
}
@media(min-width:1000px) and (max-height:800px){
 .floor-editor-body .workspace .inspector .layer-controls small{display:none}
 .floor-editor-body .workspace .inspector .node-location{font-size:11px;line-height:1.4;margin:4px 0 6px}
 .floor-editor-body .workspace .inspector .fields{padding:7px 10px;gap:6px}
 .floor-editor-body .workspace .inspector .sensor-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:center}
 .floor-editor-body .workspace .inspector .sensor-label{margin:0;font-size:11px;white-space:nowrap}
 .floor-editor-body .workspace .inspector .sensor-body #nodeLocation,.floor-editor-body .workspace .inspector .sensor-body .binding-actions,.floor-editor-body .workspace .inspector .sensor-body .reading{grid-column:1/-1;margin:0}
}
@media(min-width:1000px) and (max-width:1199px){
 .floor-editor-body:not(.preview):not(.embedded) .workspace{grid-template-columns:minmax(0,1fr) 220px;gap:10px}
 .floor-editor-body .workspace .floor span:last-child{display:none}
 .floor-editor-body .workspace .card-head .tools{gap:3px}
 .floor-editor-body .workspace .plan-panel .card-head>div:first-child p{display:none}
}
