@charset "UTF-8";
/* Spatial workspace and shared operating appearance */
:root{
  --ink:#13283b;--muted:#4d6579;--line:#dce6ed;--line-strong:#c7d5e1;--paper:#eef3f6;
  --blue:#2458ce;--blue-light:#e8f0ff;--green:#13796a;--header:64px;
  --nav:#122638;--nav-surface:#172f42;--spatial:#142638;--cyan:#79d9f5;
}
body{background:linear-gradient(114deg,#f8faf9 0%,#edf3f6 70%,#e6eef1 100%)}
.site-header{background:var(--nav);border-bottom-color:#344c5d;gap:clamp(21px,3.8vw,70px);color:white;box-shadow:0 5px 16px #09233718}
.brand{color:#f3f7fa;gap:8px}.brand b{font-weight:760;letter-spacing:-.055em}.brand span{color:#b0c4d3;letter-spacing:.13em;font-size:10px}
.brand-symbol{width:31px;height:31px;color:#8bdff1;display:grid;place-items:center;background:linear-gradient(148deg,#21465c,#1b344a);border:1px solid #41657b;border-radius:8px;margin-right:2px}
.site-header nav a{color:#c2d2df;font-size:14px;letter-spacing:.02em;padding:0 12px;position:relative;transition:color .18s,background .18s,border-color .18s}
.site-header nav a:hover,.site-header nav a[aria-current=page]{color:#f3fcff;background:linear-gradient(to top,#436b8f38,transparent)}
.site-header nav a[aria-current=page]{border-color:#78ddf2}.context select{min-height:34px;background:#23435a;border-color:#49687a;color:#f4f8fb;padding-left:11px}
.clock{color:#e0ebf3;border-color:#466276}.clock .dot{background:#59dfb5;box-shadow:0 0 0 4px #53dba72b}
.page{padding-top:22px}.page-heading{margin-bottom:17px}
.page-heading h1{font-size:clamp(26px,2.6vw,42px);font-weight:750;letter-spacing:-.06em}
.section-title{margin-bottom:12px}.section-title h2{font-size:16px;font-weight:735}
.reading-panel,.side-inspector{background:#fcfdfd}
.split,.gateway-layout,.wide-table,.carbon-summary{border-radius:12px;box-shadow:0 5px 20px #2a465312}
.button{border-radius:7px;transition:background .18s,color .18s,border-color .18s,transform .18s}
.button.primary{background:#2559cb;border-color:#2559cb;box-shadow:0 4px 9px #19489e21}
.button:active,.device-row:active,.tree-row:active{transform:translateY(1px)}
.flag{border-radius:5px;font-weight:700}.status-line{padding-top:10px;border-top:1px solid var(--line)}
.facts>div{padding:9px 0;border-color:#e0e9ef}.facts dt{color:#586f84}.facts dd{font-weight:540}
table th{background:#eef4f8;color:#3c5c73;border-bottom:1px solid #d8e5ee;letter-spacing:.025em;font-size:12px}
table td{padding-top:9px;padding-bottom:9px}.table-scroll tr.selected td:first-child{box-shadow:inset 3px 0 #567fde}
table tr{transition:background .2s}.table-scroll tr:hover td{background:#315ea508}
.overview-column{padding:23px 27px 17px;background:#fbfcfb}.overview-title h1{font-size:36px;letter-spacing:-.07em}
.live-label{display:flex;align-items:center;gap:7px;font-size:11px;margin-bottom:9px;letter-spacing:.09em;text-transform:uppercase;color:#52687a}
.live-label i{width:6px;height:6px;border-radius:50%;background:#2c987c;box-shadow:0 0 0 3px #42ba9027}
.main-reading{position:relative}.main-reading strong{font-size:clamp(49px,5vw,79px);font-weight:740;line-height:1.04;letter-spacing:-.085em}
.main-reading div span{font-size:20px;font-weight:520;color:#577085}
.composition{height:10px;margin:13px 0 13px}.battery-meter{background:#7b69c3}.grid-meter{background:#7397ae}
.selected-asset{border-radius:0 7px 7px 0;padding:13px 12px 12px;background:linear-gradient(105deg,#e3edf9,#f4f5ff)}
.space-tree{padding-top:21px;background:#f9fbfc}.tree-row{border:1px solid transparent;border-radius:6px}
.tree-row.selected{border-color:#cdddf7;background:#e9f1ff}.tree-child{color:#2356b6}.tree-foot{padding-top:13px;border-top:1px solid var(--line)}
.side-inspector h1{font-size:42px;letter-spacing:-.08em}.side-inspector .eyebrow{letter-spacing:.035em}
.map-stage{background:#c7d6d8;min-height:650px}
.map-stage:has(.world-ready){background:var(--spatial)}
.map-stage:has(.world-ready) .map-svg{visibility:hidden}
.map-stage:has(.world-ready) .map-key{display:none}
.world-slot,.world-content,.world-canvas,.world-labels{position:absolute;inset:0;width:100%;height:100%}
.world-slot{display:block;isolation:isolate;z-index:1;overflow:hidden}
.world-slot:not(.world-ready):not([data-world-pending]){display:none}
.world-slot:not(.world-ready){pointer-events:none}
.world-content{visibility:hidden}
.world-ready .world-content{visibility:visible}
.world-canvas canvas{width:100%;height:100%;display:block;cursor:grab;touch-action:none}
.world-canvas canvas:active{cursor:grabbing}
.world-labels{pointer-events:none;overflow:hidden}
.world-label{position:absolute;left:0;top:0;white-space:nowrap;pointer-events:auto;display:flex;align-items:center;gap:6px;padding:2px 5px 2px 2px;margin:-12px 0 0 -5px;color:#f1faff;font-size:12px;text-shadow:0 1px 5px #051525}
.world-label i{display:block;width:8px;height:8px;border:1px solid #b5fae9;border-radius:50%;background:#36c9a1;box-shadow:0 0 0 3px #46c7a752;flex:none}
.world-label span{display:block;padding:3px 6px;background:#173145eb;border:1px solid #6679a0;border-radius:4px;transition:background .15s,border-color .15s}
.world-label.chosen span,.world-label:hover span{background:#245989f5;color:white;border-color:#95dff9}
.world-label.chosen i,.world-label:hover i{background:#9af0ff;border-color:#d7f9ff;box-shadow:0 0 0 4px #5ddaf06d,0 0 16px #4098ff9a}
.world-label.room{font-size:10px;color:#e9f8ff;margin-left:-14px}.world-label.room i{display:none}
.world-label.room span{padding:2px 4px;background:#203853c2;border-color:#86a9c077}
.world-label.device span{background:#092b50e8;border-color:#83d8ee}
.world-label.device i{background:#76ddef;border-color:#bdffff}
[data-world-pending]::after,[data-world-error]::after{
  content:'正在载入三维场景';position:absolute;right:17px;bottom:46px;padding:7px 10px;color:#eaffff;background:#153449e8;
  border:1px solid #6292aa;border-radius:5px;z-index:4;font-size:11px;letter-spacing:.025em;pointer-events:none;
}
[data-world-error]::after{content:'三维暂不可用 · 已显示平面'}
.map-tools,.map-controls,.map-view-selector,.map-key,.attribution{z-index:3}
.map-tools{top:19px;left:19px;box-shadow:0 5px 18px #08263a28;border-radius:8px}
.map-stage:has(.world-ready) .map-tools,.map-stage:has(.world-ready) .map-controls,.map-stage:has(.world-ready) .map-view-selector,.map-stage:has(.world-ready) .attribution{
  background:#172f46ec;border-color:#647d91;color:#eef8ff;box-shadow:0 6px 24px #04172636;
}
.map-stage:has(.world-ready) .map-search input,.map-stage:has(.world-ready) .map-search span,.map-stage:has(.world-ready) .attribution a{color:#e4f0f9}
.map-stage:has(.world-ready) .map-search input::placeholder{color:#c3d3e0}
.map-stage:has(.world-ready) .map-tabs{border-color:#50677e}
.map-stage:has(.world-ready) .map-tabs .selected{color:#a5ecfc;border-color:#8cddfe}
.map-stage:has(.world-ready) .map-controls button:hover{background:#3b5f79}
.map-controls{right:17px;top:19px}.map-stage:has(.world-ready) .map-controls button{border-color:#536f84}
.map-view-selector{position:absolute;left:19px;bottom:15px;display:flex;align-items:center;gap:2px;padding:3px;background:#fbfcfb;border:1px solid #9eb2c0;border-radius:7px}
.map-view-selector button{font-size:12px;padding:5px 8px;border-radius:4px;white-space:nowrap}
.map-view-selector button:hover,.map-view-selector .current{background:#e8f1ff;color:#204a9d}
.map-stage:has(.world-ready) .map-view-selector .current,.map-stage:has(.world-ready) .map-view-selector button:hover{background:#3d617f;color:white}
.map-stage:has(.world-ready) .map-view-selector .current{color:#b1f1ff}
.map-stage:not(:has(.world-ready)) .map-key{bottom:57px}
.floor-panel{position:relative;height:clamp(415px,52vh,620px);isolation:isolate;overflow:hidden;background:#dfe9ef}
.floor-panel .floor-svg{max-height:100%;object-fit:contain}
.floor-panel:has(.world-ready){background:#132638}
.floor-panel:has(.world-ready) .floor-svg{visibility:hidden}
.indoor-tools{display:flex;align-items:center;gap:7px;padding:9px 13px;background:#f1f6f9;border-bottom:1px solid #c2d2dd}
.indoor-tools .button{font-size:12px;min-height:30px;padding:4px 8px}
.indoor-tools span{margin-left:auto;color:#577286;font-size:12px}
.device-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.device-row.selected{background:#e4effe;border-radius:5px}
.notification-layout{background:#f1f6f9}
.notification-layout .reading-panel{padding-top:28px}
.notice-document{background:#fcfdfd}.notice-document h1{font-size:clamp(28px,3vw,42px)}
.notice-body{line-height:1.8}.notice-row.selected{background:#e8f1fe}
.gateway-layout .controls-panel{background:#f7fafb}.gateway-layout .timeline-panel{background:#f9fbfc}
.stage-panel .local-timeline{padding:5px;background:linear-gradient(128deg,#edf5fa,#e4eef8);border:1px solid #cdddeb;border-radius:8px}
.graph-panel{background:radial-gradient(ellipse at 55% 21%,#284a65,#162e43 72%);padding-top:19px}
.graph-panel .topology-key{color:#c5d9e8}.graph-panel .topology-key i{border-color:#82caff}
.topo-lane{fill:#c5ddeb}.lane-rule{stroke:#7190a76c}
.topo-node rect{fill:#2b5375;stroke:#9ac3e5}.topo-node text{fill:#effaff}
.topo-node.focused rect,.topo-node:hover rect{fill:#3f79a5;stroke:#c5f2ff}
.topo-edge .edge-line{stroke:#7dbff3}.topo-edge text{fill:#acdfff}
.topo-edge.up .edge-line{stroke:#7dd9be}.topo-edge.up text{fill:#a4efda}
.topo-edge.peer .edge-line{stroke:#d0b1ff}.topo-edge.peer text{fill:#e3cbff}
.topo-edge.end .edge-line{stroke:#c0d1e1}.topo-edge.end text{fill:#d5e5f1}
.topology-key i.up{border-color:#7dd9be}.topology-key i.peer{border-color:#d0b1ff}
.collab-lower .controls-panel{background:#f5f9fb}
.carbon-summary{background:linear-gradient(105deg,#fafdfe,#eaf4fb);border-color:#c5d8e6}
.carbon-summary strong{letter-spacing:-.035em}
.asset-dialog{
  width:min(1000px,calc(100vw - 32px));height:min(720px,calc(100dvh - 38px));padding:0;
  background:#142638;color:#f2f9ff;border:1px solid #6e899d;border-radius:12px;overflow:hidden;box-shadow:0 18px 70px #06142180;
}
.asset-dialog[open]{display:flex;flex-direction:column}
.asset-dialog::backdrop{background:#13273699;backdrop-filter:blur(5px)}
.asset-header{display:flex;justify-content:space-between;align-items:center;padding:16px 19px;background:#1c374c;border-bottom:1px solid #5a7182}
.asset-header span{font-size:11px;letter-spacing:.08em;color:#a8c7d9}.asset-header h2{font-size:23px;margin-top:5px}
.asset-header .button{background:#2b4b62;color:#e8f5ff;border-color:#7191aa}
.asset-stage{flex:1 1 auto;position:relative;min-height:250px}
.asset-dialog footer{border-top:1px solid #4e6a80;color:#bdd2e0;font-size:12px;padding:10px 17px}
@keyframes flow{0%{stroke-dashoffset:48;stroke-width:2}45%{stroke-width:3.6}100%{stroke-dashoffset:0;stroke-width:2.1}}
@keyframes ink-in{0%{transform:translateY(6px);opacity:.25}100%{transform:none;opacity:1}}
@keyframes record-in{0%{background:#92bee752}100%{background:transparent}}
[data-motion=peer] .topo-edge.peer .edge-line,[data-motion=peer] .topo-edge.end .edge-line{stroke-dasharray:8 5;animation:flow .92s cubic-bezier(.18,.67,.21,1) both}
[data-motion=peer] .collab-lower tbody tr,[data-motion=local] .timeline-panel tbody tr{animation:record-in .85s both}
[data-motion=peer] .collab-lower tbody tr:nth-child(2),[data-motion=local] .timeline-panel tbody tr:nth-child(2){animation-delay:90ms}
[data-motion=peer] .collab-lower tbody tr:nth-child(3){animation-delay:180ms}
[data-motion=peer] .collab-lower tbody tr:nth-child(4){animation-delay:270ms}
[data-motion=peer] .collab-lower tbody tr:nth-child(5){animation-delay:360ms}
[data-motion=forecast] .chart,[data-motion=plan] .heading-controls .flag{animation:ink-in .5s both}
@media(max-width:1100px){.site-header{gap:16px}.site-header nav a{padding:0 8px}.map-stage{min-height:600px}.overview-column{padding:20px}.map-tools{left:12px;top:12px}.map-controls{right:12px;top:12px}}
@media(max-width:760px){
 :root{--header:98px}.site-header{gap:0 7px}.brand-symbol{width:25px;height:25px;margin:0}.brand-symbol svg{width:18px;height:18px}.brand b{font-size:20px}
 .site-header nav a{padding:0 4px;font-size:13px}.map-stage{min-height:510px}.map-tools{left:7px;top:8px}.map-controls{right:7px;top:8px}
 .map-view-selector{left:8px;bottom:8px}.map-view-selector button{padding:5px 6px}
 .floor-panel{height:360px;min-height:290px}.indoor-tools span{font-size:10px}
 .section-title h2{font-size:15px}.notification-layout .reading-panel{padding-top:16px}
 .attribution{max-width:calc(100% - 146px);text-align:right}.overview-column{padding:18px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
