.topology-panel{margin:15px 0;overflow:hidden;min-width:0}.topology-toolbar{display:flex;gap:12px;align-items:end;padding:0 18px 15px;flex-wrap:wrap}.topology-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:9px;margin:0;min-width:145px}.topology-toolbar input,.topology-toolbar select{font-size:11px;min-height:34px;max-width:100%;margin:0}.topology-search{flex:1;min-width:190px!important}.topology-toolbar button{min-height:34px;font-size:10px}.topology-profile{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#082334;border-block:1px solid #1b4558;padding:10px 18px;font-family:"JetBrains Mono",monospace;font-size:8px;color:#8bb4cc}.topology-profile strong{font-family:"Rajdhani",sans-serif;font-size:18px;color:#69d8f4}.topology-profile strong span{font-family:"JetBrains Mono",monospace;font-size:9px;color:#86b8ce;margin-left:6px}.topology-profile>span:last-child{margin-left:auto;color:#b3a07e}.topology-counts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:#26374c;border-bottom:1px solid #26374c}.topology-counts>div{display:flex;align-items:center;gap:10px;background:#0e182a;padding:12px 17px}.topology-counts strong{font-family:"Rajdhani",sans-serif;font-size:26px;color:#81dcef;white-space:nowrap}.topology-counts span{font-size:9px;color:#99afc9;line-height:1.7}.topology-counts>div:nth-child(5) strong{font-family:inherit;font-size:12px;color:#d2b582}.topology-counts>div:last-child strong{color:#f0b26f}.topology-actions{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:10px 18px;border-bottom:1px solid #243248;background:#0a1426;flex-wrap:wrap}.topology-actions fieldset{border:0;display:flex;gap:16px;align-items:center;padding:0;margin:0;flex-wrap:wrap}.topology-actions label{font-size:9px;margin:0;display:flex;align-items:center;gap:6px;white-space:nowrap}.topology-actions input{width:12px;height:12px;min-height:0;margin:0;accent-color:#00c4ff}.topology-actions .physical{color:#aebed3}.topology-actions .telemetry{color:#58d5ef}.topology-actions .video{color:#baa4f3}.topology-actions .vpn{color:#7adcbb}.topology-actions .steering{color:#e6b879}.topology-view-tools{display:flex;align-items:center;gap:7px}.topology-view-tools button{font-size:9px;padding:6px 10px;min-height:29px}.topology-view-tools .quiet{font-size:18px;line-height:1;min-width:30px;border:1px solid #294059;border-radius:4px}.topology-view-tools span{font-family:"JetBrains Mono",monospace;font-size:9px;min-width:35px;text-align:center}.topology-stage{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-width:0;background:#080e20}.topology-stage>#topology-map-area{min-width:0;position:relative;overflow:hidden;background:radial-gradient(circle at 40% 40%,#11253a55,transparent 65%),#080f21}.topology-stage svg{display:block;width:100%;height:740px;touch-action:none;cursor:grab;background-image:radial-gradient(#29425b 1px,transparent 1px);background-size:24px 24px}.topology-stage svg:active{cursor:grabbing}.topology-map-caption{display:flex;flex-wrap:wrap;gap:7px;justify-content:space-between;padding:10px 14px;border-top:1px solid #203047;font-size:8px;line-height:1.8;color:#7893b3;background:#0b1425}.topology-map-caption span:last-child{color:#a89778}.topo-group{cursor:default}.topo-group>rect{fill:#101c2b66;stroke:#294259;stroke-width:1.3}.topo-group>text{fill:#83b9d0;font-family:"JetBrains Mono",monospace;font-size:14px;letter-spacing:1px;cursor:pointer}.topo-group-count{fill:#597c99;font-size:12px}.concept-group>rect{fill:#33211822;stroke:#775734;stroke-dasharray:7 6}.concept-group>text{fill:#d4b58c;font-size:13px;letter-spacing:.2px}.topo-edge{cursor:pointer}.edge-line{fill:none;stroke-width:2;opacity:.65;stroke-dasharray:6 4;pointer-events:stroke}.topo-edge.video .edge-line{stroke-dasharray:none;opacity:.8}.topo-edge.vpn .edge-line{stroke-dasharray:3 8}.topo-edge.selected .edge-line,.topo-edge:hover .edge-line{stroke-width:3.5;opacity:1}.edge-hit{fill:none;stroke:transparent;stroke-width:15;pointer-events:stroke}.topo-node{cursor:pointer;outline:none}.topo-node>rect{fill:#101e31;stroke:#3d647f;stroke-width:1.5;stroke-dasharray:5 3}.topo-node.registered>rect{stroke:#4e9c90;stroke-dasharray:none}.topo-node.observed_unapproved>rect,.topo-node.investigating>rect{fill:#301b2b;stroke:#f58a9d;stroke-width:2;stroke-dasharray:4 2}.topo-node.rejected>rect{fill:#2a1c25;stroke:#a65c6d}.topo-node.disabled,.topo-node.retired{opacity:.4}.topo-node.selected>rect,.topo-node:focus-visible>rect{stroke:#5ee2ff;stroke-width:3}.topo-node:hover>rect{fill:#142d42;stroke-width:2.5}.topo-kind{font-family:"JetBrains Mono",monospace;font-size:9px;fill:#6db9d0;letter-spacing:1px}.topo-name{font-family:"Rajdhani",sans-serif;font-size:16px;font-weight:700;fill:#e0f0fa}.topo-node-state{font-family:"JetBrains Mono",monospace;font-size:8px;fill:#91a8c3}.topo-node.observed_unapproved .topo-node-state{fill:#f5a2b1}.unapproved-dot,.topo-tamper circle{fill:#ff7596;stroke:#491b2a;stroke-width:2}.topo-tamper text{fill:#1c0a13;font-weight:bold;font-family:monospace;font-size:14px}.topology-detail{min-width:0;border-left:1px solid #293a51;background:#0c1629;padding:16px;max-height:780px;overflow:auto;font-size:10px;color:#9eb3cc;line-height:1.8}.topology-detail .empty{font-size:11px;line-height:2;padding:45px 12px}.topo-detail-head .eyebrow{font-size:7px;overflow-wrap:anywhere;font-family:"JetBrains Mono",monospace;color:#739ab8}.topo-detail-head h3{font-family:"Rajdhani",sans-serif;font-size:22px;color:#b0e8f5;line-height:1.3;margin:9px 0}.topo-state-badge{display:inline-block;text-transform:uppercase;border:1px solid #39566c;background:#102536;padding:3px 7px;border-radius:4px;color:#adcadb;font-family:"JetBrains Mono",monospace;font-size:7px}.topo-state-badge.observed_unapproved,.topo-state-badge.investigating{border-color:#824a5d;background:#311c2b;color:#ffacc0}.topo-facts{display:grid;grid-template-columns:1fr;gap:3px;font-size:9px;margin:14px 0}.topo-facts dt{color:#6f90ad;margin-top:7px;font-size:8px;font-family:"JetBrains Mono",monospace}.topo-facts dd{color:#c0d2e5;margin:0;overflow-wrap:anywhere;line-height:1.9}.topology-detail details{border-top:1px solid #293b51;margin:13px 0;padding:12px 0}.topology-detail summary{cursor:pointer;color:#7dd2e9;font-size:10px}.topo-note{color:#cfb486;background:#2d251a55;padding:10px;border:1px solid #5e4b2b;border-radius:5px}.topology-detail form,.topology-editor-form{display:grid;gap:10px;margin:13px 0}.topology-detail label,#topology-editor label,.steering-limits label{display:flex;flex-direction:column;gap:6px;font-size:9px;margin:0;color:#9fb7d0}.topology-detail input,.topology-detail select,#topology-editor input,#topology-editor select{font-size:10px;width:100%;min-height:32px}.topology-detail input[type=checkbox]{width:14px;height:14px;min-height:0;align-self:start}.topology-detail button{font-size:9px}.topo-button-row{display:flex;flex-wrap:wrap;gap:7px}.topo-approval{background:#311b2b55;border:1px solid #704357;border-radius:6px;padding:11px}.topo-approval>strong{color:#ffc0cb;font-size:11px}.topo-tamper-panel{border-top:1px solid #29455c;padding-top:9px}.topo-tamper-panel h4{color:#a4d7e5;font-size:12px;margin:8px 0}.topo-tamper-panel>strong{font-size:10px;color:#d7b080}.topo-incident{padding:9px;background:#182537;border-radius:4px;border:1px solid #324457}.topology-footer{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid #25384e;background:#101a2b}.topology-footer>span{font-size:9px;line-height:1.8;color:#a3b5cc}.topology-footer button{font-size:9px;white-space:nowrap}.topology-error{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#35201d;padding:12px 18px;color:#f2c1a3;font-size:11px;line-height:1.7}.topology-error button{font-size:10px;white-space:nowrap}.topology-detail-error{color:#efb794;padding:12px;line-height:1.9}.steering-simulator{margin:15px 18px 0;border:1px solid #6b5234;border-radius:8px;background:#151820}.steering-simulator>summary{cursor:pointer;padding:13px 15px;color:#edc487;font-family:"JetBrains Mono",monospace;font-size:10px}.steering-sim-banner{display:flex;flex-direction:column;gap:8px;border-block:1px solid #5a462b;padding:12px 15px;background:#30231777;line-height:1.8;font-size:10px;color:#c1ad8c}.steering-sim-banner strong{color:#e8bd7d;font-family:"JetBrains Mono",monospace;font-size:9px}.steering-sim-toolbar,.steering-command-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:15px}.steering-sim-toolbar label{font-size:10px;margin:0;display:flex;flex-direction:column;gap:7px}.steering-sim-toolbar select{font-size:10px;min-height:33px}.steering-sim-toolbar button,.steering-command-tools button{font-size:10px;min-height:33px}.steering-sim-toolbar label.steering-manual,.steering-command-tools label{flex-direction:row;display:flex;align-items:center;gap:6px;font-size:10px;margin:0;min-height:33px}.steering-simulator input[type=checkbox]{width:13px;height:13px;min-height:0;margin:0;accent-color:#f2b55f}.steering-readouts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 15px}.steering-readouts article{padding:13px;border:1px solid #3b3d45;border-radius:6px;background:#121b2a}.steering-readouts small{display:block;font-family:"JetBrains Mono",monospace;color:#a3a7b1;font-size:7px;line-height:1.8}.steering-readouts strong{font-family:"Rajdhani",sans-serif;color:#e5c597;font-size:23px;display:block;margin-top:6px}.steering-command-tools{align-items:center}#steering-feedback{font-size:10px;color:#d6c1a4;line-height:1.9;padding:0 15px 12px;margin:0}.steering-limits{border-top:1px solid #473a2b;padding:12px 15px}.steering-limits summary{font-size:10px;cursor:pointer;color:#deb986}.steering-limits form{display:grid;grid-template-columns:1fr 1fr 2fr auto;align-items:end;gap:12px;padding:15px 0}.steering-limits input{font-size:11px;min-height:32px;width:100%}.steering-limits button{font-size:10px;min-height:32px}.steering-limits p{font-size:9px;color:#b9a286;line-height:1.9}#topology-editor{max-width:560px}#topology-editor form{display:grid;grid-template-columns:1fr 1fr;gap:13px}#topology-editor form label:last-of-type{grid-column:1/-1}#topology-editor form button{font-size:11px;grid-column:1/-1}#topology-editor h2{font-size:20px}.topology-panel :disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1100px){.topology-stage{grid-template-columns:minmax(0,1fr) 275px}.topology-actions{gap:10px}.topology-actions fieldset{gap:10px}.topology-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.topology-counts strong{font-size:24px}.steering-limits form{grid-template-columns:1fr 1fr}.steering-limits label:last-of-type{grid-column:1/-1}}
@media(max-width:750px){.topology-stage{grid-template-columns:1fr}.topology-stage svg{height:580px}.topology-detail{border-left:0;border-top:1px solid #294057;max-height:550px}.topology-detail .empty{padding:10px}.topology-facts{grid-template-columns:1fr 1fr}.topology-footer{align-items:start;flex-direction:column;gap:9px}.topology-profile>span:last-child{margin-left:0;flex-basis:100%}.topology-toolbar{gap:10px}.topology-toolbar label{flex:1;min-width:135px}.topology-search{flex-basis:100%!important;order:3}.topology-actions fieldset{gap:10px 14px}.topology-view-tools{width:100%;justify-content:end}.steering-readouts{grid-template-columns:1fr 1fr}.steering-sim-toolbar{align-items:start;flex-direction:column}}
@media(max-width:450px){.topology-toolbar{padding:0 13px 12px}.topology-toolbar label{min-width:130px;font-size:9px}.topology-toolbar input,.topology-toolbar select{font-size:10px}.topology-profile{padding:9px 13px;font-size:7px;gap:7px}.topology-counts>div{padding:10px;gap:8px}.topology-counts span{font-size:8px}.topology-counts strong{font-size:24px}.topology-counts>div:nth-child(5) strong{font-size:10px;white-space:normal}.topology-actions{padding:11px 13px}.topology-actions label{font-size:8px}.topology-stage svg{height:510px}.topology-map-caption{font-size:8px;padding:9px 13px}.topology-detail{padding:13px}.topology-footer{padding:12px 13px}.topology-footer>span{font-size:9px}.steering-simulator{margin:13px 12px 0}.steering-simulator>summary{font-size:8px;line-height:1.9}.steering-readouts strong{font-size:20px}.steering-command-tools{gap:9px}.steering-readouts{padding:0 12px;gap:8px}.steering-readouts article{padding:10px}.steering-readouts small{font-size:7px}.steering-sim-banner{padding:12px}.steering-sim-toolbar,.steering-command-tools{padding:12px}.steering-limits{padding:12px}#topology-editor form{grid-template-columns:1fr}.topology-error{padding:11px 13px;flex-wrap:wrap;font-size:10px}}

.topo-edge.observational .edge-line{stroke:#f38ca7;stroke-dasharray:3 7;opacity:.85}

/* Map workspace: readable devices first, overview on request. */
.topology-heading-tools { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.topology-heading-tools button { min-height:40px; font-size:13px; }
.topology-toolbar label { font-size:11px; }
.topology-toolbar input,.topology-toolbar select { font-size:12px; min-height:40px; }
.topology-toolbar button { min-height:40px; font-size:12px; }
.topology-counts span { font-size:11px; }
.topology-actions { gap:12px; }
.topology-actions label { font-size:11px; }
.topology-actions input { width:15px; height:15px; }
.topology-view-tools { flex-wrap:wrap; }
.topology-view-tools button { font-size:12px; min-height:38px; }
.topology-view-tools .quiet { font-size:23px; min-width:38px; }
.topology-view-tools span { font-size:12px; min-width:43px; }
.topology-jump { display:flex; flex-direction:row; gap:8px; padding:10px 18px; overflow-x:auto; border-bottom:1px solid #294057; background:#0c192b; }
.topology-jump button { flex:none; min-height:36px; padding:8px 11px; font-size:10px; letter-spacing:.3px; white-space:nowrap; }
.topology-jump button span { margin-left:8px; color:#7dd8ef; }
.topology-jump .concept-shortcut { color:#e7bc82; border-color:#624e32; }
.topology-stage { display:block; position:relative; }
.topology-stage #topology-canvas { width:100%; height:820px; }
.topology-map-overlay { pointer-events:none; position:absolute; inset:0 0 49px; }
#topology-map-status { position:absolute; top:12px; left:14px; max-width:calc(100% - 28px); color:#b4d3e7; background:#081322ed; border:1px solid #28485f; border-radius:5px; font-size:11px; line-height:1.7; padding:5px 10px; }
.topology-stage #topology-minimap { pointer-events:auto; position:absolute; bottom:16px; left:16px; width:170px; height:130px; border:1px solid #42647b; border-radius:8px; background:#081422f2; cursor:crosshair; }
.topology-map-caption { font-size:10px; min-height:49px; gap:5px 14px; align-items:center; }
.topology-inspector { position:absolute; right:0; top:0; bottom:49px; width:360px; max-width:calc(100% - 32px); z-index:3; background:#0c1629; border-left:1px solid #395b74; box-shadow:-14px 0 30px #02091688; }
.topology-inspector[hidden] { display:none; }
.topology-inspector>header { height:50px; display:flex; align-items:center; justify-content:space-between; padding:5px 14px; border-bottom:1px solid #31516a; color:#acd9ed; background:#102335; font-size:12px; }
.topology-inspector>header button { width:40px; height:40px; font-size:19px; border:1px solid #37566d; border-radius:5px; }
.topology-detail { height:calc(100% - 50px); max-height:none; border:0; font-size:12px; }
.topology-detail .empty { padding:20px 6px; }
.topo-facts { font-size:12px; }
.topo-facts dt { font-size:10px; }
.topo-detail-head .eyebrow { font-size:9px; }
.topo-state-badge { font-size:9px; }
.topology-detail label { font-size:11px; }
.topology-detail input,.topology-detail select { min-height:38px; font-size:12px; }
.topology-detail button { min-height:37px; font-size:11px; }
.topology-detail summary,.topo-tamper-panel>strong { font-size:12px; }
.topo-kind { font-size:9px; letter-spacing:0; }
.topo-name { font-size:18px; }
.topo-node-state { font-size:9px; }
.map-is-expanded { overflow:hidden; }
.topology-panel.map-expanded { position:fixed; inset:10px; margin:0; z-index:60; display:flex; flex-direction:column; border-color:#34627c; border-radius:10px; box-shadow:0 0 0 12px #050b19e8; }
.map-expanded>.section-heading { padding:12px 18px; flex:none; }
.map-expanded>.section-heading .eyebrow { display:none; }
.map-expanded .topology-toolbar { padding-bottom:10px; flex:none; }
.map-expanded .topology-toolbar label { gap:4px; }
.map-expanded .topology-profile,.map-expanded .topology-counts,.map-expanded .topology-footer,.map-expanded .steering-simulator,.map-expanded>.coverage-note { display:none; }
.map-expanded>.topology-actions,.map-expanded>.topology-jump { flex:none; padding-block:8px; }
.map-expanded>.topology-stage { flex:1; min-height:180px; overflow:hidden; }
.map-expanded #topology-map-area { height:100%; display:flex; flex-direction:column; }
.map-expanded #topology-canvas { flex:1; height:0; min-height:0; }
.map-expanded .topology-map-caption { flex:none; }
@media(max-width:750px) {
  .topology-heading-tools { width:100%; justify-content:space-between; gap:9px; }
  .topology-heading-tools .pill { font-size:8px; }
  .topology-stage #topology-canvas { height:680px; }
  .topology-inspector { top:auto; bottom:49px; height:48%; max-width:none; width:100%; border:0; border-top:1px solid #395b74; box-shadow:0 -10px 30px #02091688; }
  .topology-stage #topology-minimap { width:115px; height:95px; left:10px; bottom:12px; }
  .topology-map-caption { font-size:10px; }
  .topology-actions label { font-size:11px; }
  .topology-view-tools { justify-content:start; gap:6px; }
  .topology-jump { padding-inline:12px; }
  .topology-panel.map-expanded { inset:0; border-radius:0; }
  .map-expanded>.section-heading { padding:8px 12px; gap:5px; }
  .map-expanded>.section-heading h2 { font-size:18px; }
  .map-expanded .topology-heading-tools { width:auto; margin-left:auto; }
  .map-expanded .topology-heading-tools .pill { display:none; }
  .map-expanded .topology-heading-tools button { min-height:36px; font-size:11px; }
  .map-expanded .topology-toolbar { flex-wrap:nowrap; overflow-x:auto; padding:5px 12px 10px; }
  .map-expanded .topology-toolbar label { flex:none; min-width:130px; }
  .map-expanded .topology-search { min-width:160px!important; order:0; }
  .map-expanded .topology-toolbar button { flex:none; }
  .map-expanded .topology-actions { padding-inline:12px; }
  .map-expanded .topology-actions fieldset { flex-wrap:nowrap; overflow-x:auto; width:100%; gap:12px; }
  .map-expanded .topology-view-tools { flex-wrap:nowrap; overflow-x:auto; }
  .map-expanded .topology-view-tools button { white-space:nowrap; }
  .map-expanded #topology-canvas { height:0; }
  .map-expanded .topology-map-caption { padding-block:5px; min-height:34px; font-size:9px; }
  .map-expanded .topology-map-caption>span:first-child { display:none; }
  .map-expanded .topology-map-overlay,.map-expanded .topology-inspector { bottom:34px; }
}
