:root{font:13px/1.45 system-ui,-apple-system,Arial,sans-serif;color:#dce8ee;background:#0e1e2a;--edge:#2c4658;--muted:#9db1c1;--panel:#132735;--accent:#8bd8c5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.filebutton{cursor:pointer;border:1px solid #426276;border-radius:6px;color:#dce8ee;background:#203c4e;padding:8px 10px;text-align:left;transition:background .12s}button:hover,.filebutton:hover{background:#2e5265}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.primary{background:#225b5d;border-color:#5da498;color:#f3fffc;width:100%;font-weight:650}button:disabled{opacity:.45;cursor:not-allowed}.filebutton{display:block;margin:7px 0;font-weight:600}.filebutton input{position:absolute;opacity:0;width:1px;height:1px}.secondary{background:#172e3d}header{height:66px;display:flex;gap:20px;align-items:center;padding:10px 18px;border-bottom:1px solid var(--edge);background:#0c1923}header a{color:#c9e9ef;font-size:12px}.wordmark{text-decoration:none;font-weight:800;letter-spacing:2px;font-size:17px;line-height:1}.wordmark span{display:block;letter-spacing:1px;font-size:10px;margin-top:6px;color:var(--accent)}.projecthead{flex:1}.projecthead input{border:0;background:transparent;color:#ecf6fa;font-weight:600;width:min(450px,100%);padding:0}.projecthead small{display:block;font-size:10px}.privatebadge{border:1px solid #47776c;background:#163c37;color:#a3deca;padding:4px 8px;border-radius:4px;font-size:9px;letter-spacing:1px}.workspace{display:grid;grid-template-columns:254px minmax(200px,1fr) 302px;height:calc(100dvh - 66px)}aside{background:var(--panel);overflow:auto;scrollbar-width:thin;scrollbar-color:#365367 #132735}.left{border-right:1px solid var(--edge)}.right{border-left:1px solid var(--edge)}section{padding:15px;border-bottom:1px solid var(--edge)}h2{margin:0 0 12px;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#b9d6df}h3{font-size:16px;margin:4px 0 12px}p{margin:8px 0}small{font-size:10px;color:var(--muted);display:block;margin-top:7px}label{display:block;font-size:11px;color:#b9ceda;margin:10px 0 3px}input:not([type=checkbox]):not([type=file]),select,textarea{width:100%;border:1px solid #395767;border-radius:5px;background:#0e222f;color:#e8f1f6;padding:7px;min-width:0}input[type=checkbox]{accent-color:#82d6bd}.check{display:flex;align-items:center;gap:5px;font-size:10px;margin:7px 0}.row{display:flex;gap:6px;margin:7px 0}.row>*{flex:1;min-width:0}.row button{font-size:11px;padding:7px}details{margin:12px 0 0}summary{cursor:pointer;color:#bdd8e4;font-size:11px}details button{display:block;width:100%;margin-top:6px}.warning{padding:10px;border:1px solid #aa92535c;border-radius:6px;background:#66522125;color:#e8cc91;font-size:11px}.hintbox{background:#1e3643;border-radius:8px;padding:14px;margin:14px;font-size:12px}.inventory{max-height:210px;overflow:auto;margin-top:8px}.inventory button{display:block;width:100%;border:0;border-bottom:1px solid #345060;background:transparent;border-radius:0;font-size:11px}.inventory .selected{background:#31586c}.inventory small{margin:1px;font-size:9px}#viewport{position:relative;overflow:hidden;background:#c5d0d9}#scene{width:100%;height:100%;display:block;touch-action:none;outline:none}.viewtools{position:absolute;left:12px;top:12px;display:flex;gap:5px;flex-wrap:wrap;max-width:85%}.viewtools button{font-size:10px;background:#112b3fe8;backdrop-filter:blur(5px);padding:7px}.sceneBadge{position:absolute;top:57px;left:13px;font-size:9px;letter-spacing:.6px;color:#203f53;background:#e5eff3e8;border-radius:4px;padding:5px 8px;pointer-events:none}.bottomline{position:absolute;left:0;bottom:0;width:100%;background:#122937f0;color:#d4e3ec;display:flex;justify-content:space-between;padding:8px 12px;font-size:10px;gap:15px}#status{max-width:75%}.tabs{display:flex;position:sticky;top:0;background:#132735;z-index:2}.tabs button{width:50%;border-radius:0;background:#102330;border:0;border-bottom:2px solid #2c4658;text-align:center;font-size:12px;padding:12px}.tabs button.active{color:#a3e4d2;border-bottom-color:#8bd8c5;background:#1b3945}.hidden{display:none!important}.vector{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.vector label{font-size:10px}.mono{font:10px/1.5 ui-monospace,monospace;color:#96b8ca;overflow-wrap:anywhere}.stat{display:flex;justify-content:space-between;border-bottom:1px solid #2d4757;padding:7px 0;font-size:11px}.stat strong{color:#b4e5d9}.delete{color:#f0b9b4}.legend{position:absolute;right:12px;bottom:45px;background:#142d3be8;padding:12px;width:205px;border-radius:8px;font-size:11px}.gradient{height:10px;background:linear-gradient(90deg,#3a45b4,#298ec9,#46c6a3,#ddd262,#e77447);margin:7px 0}.legend span{font-size:10px}.legend small{font-size:9px}#loadOverlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#112d40e8;backdrop-filter:blur(4px);text-align:center;padding:25px;z-index:6}#loadOverlay strong{font-size:21px}#loadOverlay p{font-size:11px;max-width:400px}.progress{width:80%;max-width:350px;height:3px;background:#294556;margin:20px 0 10px}.progress i{display:block;height:100%;background:#a7dccb;width:3%}dialog{border:1px solid #46677a;border-radius:13px;background:#132a39;color:#dce9ee;max-width:min(1000px,94vw);width:860px;max-height:85dvh;padding:0}dialog::backdrop{background:#071722b0}.dialoghead{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;position:sticky;top:0;background:#132a39;border-bottom:1px solid #3c5367}.dialoghead h2{margin:0;font-size:13px}#modalBody{padding:20px;overflow:auto;max-height:70dvh}table{border-collapse:collapse;width:100%;font-size:11px}td,th{padding:9px 7px;border-bottom:1px solid #355363;text-align:left;vertical-align:top}th{color:#a7d9d1}tr:hover{background:#183847}#rfSummary{font-size:11px;margin-top:15px}#inspector textarea{min-height:65px}#modalBody textarea{min-height:190px}.tag{background:#2a4d60;color:#c4e4f1;font-size:9px;padding:3px 6px;border-radius:4px}.toast{position:fixed;left:50%;bottom:50px;transform:translateX(-50%);padding:12px 18px;background:#812e32;color:white;border-radius:7px;max-width:80vw;z-index:100}.pill{padding:3px 6px;background:#2b4659;border-radius:4px}.empty{font-size:11px;color:#9bb0bf;padding:15px 4px}@media(max-width:1100px){.workspace{grid-template-columns:215px minmax(150px,1fr) 258px}.privatebadge{display:none}header{gap:10px}.left section,.right section{padding:12px}}@media(max-width:780px){header{height:60px;padding:8px}.workspace{height:calc(100dvh - 60px);grid-template-columns:180px minmax(200px,1fr);grid-template-rows:1fr 250px}.right{grid-column:1 / span 2;display:block;border-top:1px solid #355363}.right section{max-width:100%}.left{font-size:11px}.sceneBadge{top:95px;font-size:8px;right:10px}.wordmark{font-size:12px}.wordmark span{font-size:8px}header>a:not(.wordmark){font-size:10px;width:75px}.projecthead input{font-size:12px}.viewtools{max-width:100%}.bottomline #counts{display:none}.right .tabs{position:sticky}#inspectTab section{display:inline-block;vertical-align:top;min-width:230px;width:50%}.legend{bottom:48px;width:160px;right:8px}#loadOverlay strong{font-size:16px}.progress{width:100%}.privatebadge{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Prevent intrinsic canvas dimensions from enlarging the CSS grid on each resize. */
.workspace{min-height:0;grid-template-rows:minmax(0,1fr)}aside,#viewport{min-height:0;min-width:0}#scene{position:absolute;inset:0}@media(max-width:780px){.workspace{grid-template-rows:minmax(0,1fr) 250px}}
.projecthead{min-width:0}.wordmark{flex-shrink:0}header>a:not(.wordmark){flex-shrink:0}
/* Shared-geometry review controls: no separate editable wireframe model. */
.scene-modes{position:absolute;left:12px;top:12px;display:flex;gap:3px;z-index:3;padding:4px;border:1px solid #607c91;border-radius:8px;background:#102735ef;box-shadow:0 4px 18px #06121f33}.scene-modes button{padding:6px 10px;font-size:11px;border:0;background:transparent}.scene-modes button[aria-pressed=true]{background:#a4e3d1;color:#0a302e;font-weight:700}.viewtools{top:60px}.sceneBadge{top:100px;max-width:calc(100% - 25px)}.equipment-tour-caption{position:absolute;left:12px;bottom:48px;max-width:calc(100% - 24px);padding:10px 14px;border-radius:8px;color:#e9f8ff;background:#102735ee;border:1px solid #6a8490;font-size:12px;pointer-events:none}.network-classes{display:grid;grid-template-columns:1fr 1fr;gap:1px 5px}.network-control-panel .row{flex-wrap:wrap}.network-control-panel .row button{flex-basis:40%}#equipmentTourStatus{font-size:11px;color:#a9dfcf}#viewport:fullscreen,#viewport.scene-maximized{position:fixed;inset:0;width:100vw;height:100dvh;z-index:100;background:#c5d0d9}.scene-maximized .scene-modes{z-index:101}@media(max-width:780px){.scene-modes{gap:0;max-width:calc(100% - 16px);left:8px}.scene-modes button{font-size:9px;padding:5px}.viewtools{top:54px}.sceneBadge{top:125px}.equipment-tour-caption{font-size:10px}}

/* Authoring workspace: clear light docks and controls inside the render surface. */
:root{color:#18364b;background:#ecf2f6;--edge:#d3e0e9;--muted:#637d8f;--panel:#f8fafc;--accent:#1682af;font:12px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{overflow:hidden}button,.filebutton{color:#25475c;background:#fff;border-color:#c6d7e2;border-radius:5px;padding:6px 9px}button:hover,.filebutton:hover{background:#e9f3f9;border-color:#90bad2}.primary{background:#147ea7;border-color:#147ea7;color:#fff}.primary:hover{background:#08678e}.secondary{background:#f2f7fb}header{height:46px;padding:6px 14px;gap:15px;background:#102c41;color:white;border-color:#25475b}.wordmark{font-size:14px;letter-spacing:1.1px}.wordmark span{font-size:9px;margin-top:4px;color:#80d7d2}header a{font-size:11px;color:#c8e6f0}.projecthead input{color:#fff!important;background:transparent!important;max-width:430px;font-size:12px}.projecthead small{margin-top:1px;color:#aac4d5}.privatebadge{padding:3px 6px;font-size:8px;letter-spacing:.6px;background:#17464c;color:#a3e3df;border-color:#38777d}header #help{font-size:10px;padding:4px 8px;background:#244b63;border-color:#466e85;color:#e3f1fa}.workspace{height:calc(100dvh - 46px);grid-template-columns:230px minmax(0,1fr) 264px;position:relative;min-width:0}.left,.right{scrollbar-color:#b6cad9 #f5f8fb}section{padding:12px;border-color:#dce6ed}h2{font-size:10px;letter-spacing:1px;color:#305d77;margin-bottom:10px}h3{font-size:14px}label{color:#496c82;font-size:11px;margin:8px 0 3px}small{color:#6d8495;font-size:10px;line-height:1.5}input:not([type=checkbox]):not([type=file]),select,textarea{background:#fff;color:#23475e;border-color:#c9dbe7;font-size:11px;padding:6px}input[type=checkbox]{accent-color:#1782ac}.check{font-size:10px;gap:5px}.warning{color:#806227;background:#fff8e8;border-color:#ead8a5;padding:8px;font-size:10px}.hintbox{color:#527084;background:#edf4f8;font-size:11px;padding:10px;margin:10px}.mono{color:#668094}.stat{border-color:#d9e5ec;font-size:11px}.stat strong{color:#1b6b87}summary{color:#37637d;font-size:11px}.inventory{max-height:190px}.inventory button{border-color:#dae6ee;color:#345a70;font-size:10px}.inventory .selected{background:#e2f0f8;color:#126f98}.tabs{background:#f6f9fb}.tabs button{background:#edf3f7;color:#527184;font-size:11px;padding:10px;border-color:#d6e3ec}.tabs button.active{background:#fff;color:#146e93;border-color:#1483ae}.empty{color:#6d8495;font-size:11px}.pill,.tag{background:#e0eef5;color:#3c657e}.delete{color:#b14943}table{font-size:11px}td,th{border-color:#dce7ee}th{color:#456e85}tr:hover{background:#edf6fa}dialog{background:#f8fbfd;color:#284a60;border-color:#b5cbd9;border-radius:9px}.dialoghead{background:#edf4f8;border-color:#cbdce7;padding:12px 16px}#modalBody{padding:16px}#sceneContext{position:absolute;left:10px;right:10px;top:8px;display:flex;gap:5px;align-items:center;flex-wrap:wrap;z-index:8;background:#fffffff2;border:1px solid #c3d7e4;border-radius:7px;padding:5px 7px;box-shadow:0 2px 12px #234d6520}.scene-context-copy{display:flex;flex-direction:column;gap:1px;flex:1;min-width:120px}.scene-context-copy strong{font-size:11px;color:#204961;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:360px}.scene-context-copy>span{font-size:9px;color:#56758a;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:420px}.scene-view-tabs{display:flex;gap:2px;padding:2px;background:#edf4f8;border-radius:5px}.scene-view-tabs button{border:0;background:transparent;font-size:10px;padding:4px 6px}.scene-view-tabs button[aria-pressed=true]{background:#fff;color:#13739d;box-shadow:0 1px 3px #234d651a}#sceneContext>button{font-size:10px;padding:4px 7px}.viewport-authoring-toolbar{position:absolute;top:64px;left:10px;right:10px;display:flex;align-items:center;gap:4px;flex-wrap:wrap;z-index:8;padding:6px;background:#fffffff5;border:1px solid #c9dce7;border-radius:7px;box-shadow:0 2px 12px #234d651a}.viewport-authoring-toolbar .row{display:contents}.viewport-authoring-toolbar button{font-size:10px;padding:4px 7px;min-height:27px;white-space:nowrap;width:auto;flex:none}.viewport-authoring-toolbar select{width:135px;max-width:165px;font-size:10px;padding:4px;min-height:27px;flex:none}.viewport-authoring-toolbar #cableKind{width:100px}.viewport-authoring-toolbar .authoring-group{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.viewport-authoring-toolbar button[aria-pressed=true]{background:#e0f0f9;color:#0e6d98;border-color:#90c4dd}.scene-tool-hint{position:absolute;left:12px;right:12px;top:142px;z-index:7;pointer-events:none;display:flex;gap:9px;align-items:center}.scene-tool-hint small{margin:0;font-size:10px;color:#294f65;background:#f6fbffe0;border-radius:4px;padding:4px 7px;max-width:75%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-tool-hint #workspaceNotice{background:#fff7db;color:#76561b;padding:5px 7px;font-size:10px}.viewtools{top:auto;bottom:42px;left:12px;z-index:8;max-width:calc(100% - 24px)}.viewtools button{background:#fffffff0;color:#365e76;backdrop-filter:none;border-color:#bfd4e2;font-size:10px;padding:5px 8px}.sceneBadge{top:auto;bottom:79px;left:12px;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#f1f7fbdc;color:#456d85;padding:4px 7px;font-size:8px;pointer-events:none}.bottomline{background:#f1f7fcf5;color:#4b6c82;border-top:1px solid #cadde9;padding:6px 10px;font-size:10px;z-index:9}.bottomline #status{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bottomline #counts{white-space:nowrap;flex:none}.legend{background:#fffffff0;color:#375c72;border:1px solid #c5dbe8;bottom:85px}.legend small{color:#668196}.progress{background:#bed1de}.progress i{background:#1289a9}#loadOverlay{color:#eff8fe}#loadOverlay button{background:#fff}#loadOverlay p{color:#bdd4e2}#loadOverlay{z-index:10}#sceneRightDock .tabs{z-index:12}.explorer-tree{display:flex;flex-direction:column;gap:2px;font-size:10px}.explorer-row{display:flex;align-items:center;gap:5px;min-width:0;flex-wrap:wrap;padding:3px 0}.explorer-row label{margin:0;min-width:0;flex:1;overflow-wrap:anywhere}.explorer-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:6px 0}.explorer-actions button{font-size:10px;padding:4px 6px}.explorer-status{font-size:10px;color:#647f91;line-height:1.5}.explorer-categories,.explorer-materials{display:flex;flex-direction:column;gap:3px}.explorer-walk-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.explorer-walk-fields label{font-size:10px}.scene-maximized>header{display:none}.scene-maximized>.workspace{height:100dvh;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.scene-maximized .left,.scene-maximized .right{display:none}.scene-maximized.inspector-peek .right{display:block;position:absolute;right:0;top:0;bottom:0;width:278px;z-index:11;box-shadow:-6px 0 26px #17394e2b}.scene-maximized #sceneContext{right:10px}.scene-maximized.inspector-peek #sceneContext,.scene-maximized.inspector-peek #sceneAuthoringToolbar{right:287px}.scene-maximized #sceneAuthoringToolbar{max-width:none}.scene-maximized #sceneContext .scene-context-copy strong{max-width:500px}.scene-maximized #sceneContext .scene-context-copy>span{max-width:650px}
@media(max-width:1250px){.workspace{grid-template-columns:205px minmax(0,1fr) 235px}.left section,.right section{padding:10px}.scene-context-copy strong{max-width:210px}.scene-context-copy>span{max-width:260px}.viewport-authoring-toolbar select{width:120px}.viewport-authoring-toolbar button{padding:4px 6px}.privatebadge{display:none}header{gap:12px}}
@media(max-width:1000px){.workspace{grid-template-columns:200px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.right{display:none}.inspector-peek .right{display:block;position:absolute;right:0;top:0;bottom:0;width:265px;z-index:11;box-shadow:-5px 0 20px #193c5030}.scene-tool-hint{top:158px}.scene-context-copy{flex-basis:100%;min-width:0}.scene-context-copy strong,.scene-context-copy>span{max-width:100%}#sceneContext{gap:4px}.viewport-authoring-toolbar{top:84px}.wordmark{font-size:13px}header>a:not(.wordmark){display:none}.projecthead input{font-size:11px}.scene-maximized .scene-context-copy{flex-basis:auto}.scene-maximized .viewport-authoring-toolbar{top:64px}}
@media(max-width:700px){.workspace{grid-template-columns:minmax(0,1fr);height:calc(100dvh - 44px);grid-template-rows:minmax(0,1fr)}.left{display:none}header{height:44px;padding:6px 9px}.wordmark{font-size:11px}.wordmark span{font-size:8px}header #help{font-size:9px}#sceneContext{left:6px;right:6px;top:6px;padding:4px}.scene-view-tabs button{padding:4px 5px;font-size:9px}#sceneContext>button{font-size:9px;padding:4px 5px}.viewport-authoring-toolbar{left:6px;right:6px;top:82px;gap:3px;padding:5px}.viewport-authoring-toolbar button{font-size:9px;min-height:25px;padding:3px 5px}.viewport-authoring-toolbar select{font-size:9px;width:105px}.viewport-authoring-toolbar #cableKind{width:88px}.scene-tool-hint{top:183px;left:7px;right:7px}.scene-tool-hint small{max-width:100%;font-size:9px}.scene-maximized .viewport-authoring-toolbar{top:82px}.scene-maximized .scene-context-copy{flex-basis:100%}.scene-maximized.inspector-peek #sceneContext,.scene-maximized.inspector-peek #sceneAuthoringToolbar{right:6px}.inspector-peek .right{width:min(278px,82vw);top:220px}.scene-maximized.inspector-peek .right{top:220px;width:min(278px,82vw)}#inspectTab section{display:block;min-width:0;width:100%}.sceneBadge{bottom:79px;right:10px}.bottomline #counts{display:none}}

#sceneLegacyModesMount{display:flex;gap:3px;align-items:center}#sceneLegacyModesMount:empty{display:none}#sceneLegacyModesMount button{font-size:10px;padding:4px 6px}.network-control-panel{background:#f4f9fc}#equipmentTourStatus{color:#326f78}.equipment-tour-caption{background:#f5fbfff2;color:#325f78;border-color:#bbd5e4;z-index:7}
