.lc-topo {
  border: 1px solid #cfdbe4;
  border-radius: 14px;
  overflow: hidden;
  color: #172e41;
  background: #fff;
}
.lc-topo-head,
.lc-topo-controls,
.lc-topo-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lc-topo-head {
  padding: 18px 22px 14px;
}
.lc-topo-heading h2 {
  font-size: 1.25rem;
}
.lc-topo-heading p,
.lc-topo-muted {
  font-size: 0.88rem;
  color: #53687b;
}
.lc-topo-heading p {
  margin-top: 3px;
}
.lc-topo-label {
  display: grid;
  gap: 3px;
  color: #526579;
  font-size: 0.76rem;
  font-weight: 650;
}
.lc-topo-selector {
  appearance: none;
  border: 1px solid #bdcdd7;
  border-radius: 7px;
  color: #233e51;
  padding: 6px 31px 6px 10px;
  background: linear-gradient(45deg, transparent 50%, #496477 50%) right 13px center / 5px 5px no-repeat,
              linear-gradient(135deg, #496477 50%, transparent 50%) right 8px center / 5px 5px no-repeat,
              #fff;
  line-height: 1.4;
  font-size: 0.88rem;
  min-height: 36px;
  max-width: 100%;
}
.lc-topo-controls {
  border-top: 1px solid #e3eaf0;
  padding: 8px 18px;
  background: #f7fafb;
}
.lc-topo-nav,
.lc-topo-zoom,
.lc-topo-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.lc-topo-nav,
.lc-topo-zoom {
  font-size: 0.81rem;
  font-weight: 600;
  color: #475d70;
}
.lc-topo-zoom > span {
  min-width: 39px;
  text-align: center;
}
.lc-topo-button,
.lc-topo-console {
  appearance: none;
  border: 1px solid #bacbd8;
  border-radius: 6px;
  background: #fff;
  color: #27465c;
  padding: 4px 9px;
  line-height: 1.4;
  font-weight: 650;
  font-size: 0.8rem;
  text-decoration: none;
  min-width: 31px;
}
.lc-topo-button:focus-visible,
.lc-topo-selector:focus-visible,
.lc-topo-console:focus-visible {
  outline: 3px solid #2680c7;
  outline-offset: 2px;
}
.lc-topo-button:hover:not(:disabled),
.lc-topo-console:hover {
  background: #e9f4f6;
  border-color: #69a3af;
}
.lc-topo-scroll {
  background-color: #f6fafb;
  background-image: radial-gradient(circle, #cbdbe2 1px, transparent 1px);
  background-size: 17px 17px;
  border-top: 1px solid #d6e2e8;
  overflow-x: auto;
  padding: 8px;
  max-width: 100%;
}
.lc-topo-graph {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: none;
}
.lc-topo-wire {
  fill: none;
  stroke: #92a7b3;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lc-topo-wire.tp {
  stroke: #319180;
}
.lc-topo-wire.management {
  stroke: #7b77af;
  stroke-dasharray: 4 3;
}
.lc-topo-node {
  color: #234052;
}
.lc-topo-node .lc-topo-rect {
  stroke: #b0c1cc;
  stroke-width: 1.2;
  fill: #fff;
}
.lc-topo-session {
  color: #fff;
}
.lc-topo-session .lc-topo-rect {
  fill: #21485b;
  stroke: #183a4a;
}
.lc-topo-env .lc-topo-rect {
  fill: #f9fcff;
  stroke: #91aabd;
}
.lc-topo-network {
  color: #106458;
}
.lc-topo-network .lc-topo-rect {
  fill: #e2f5ee;
  stroke: #85bbaa;
}
.lc-topo-management {
  color: #54447d;
}
.lc-topo-management .lc-topo-rect {
  fill: #eeebf7;
  stroke: #b4a9d2;
}
.lc-topo-glyph {
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.lc-topo-node-title {
  fill: currentColor;
  font:
    670 13px/1 system-ui,
    sans-serif;
}
.lc-topo-node-sub {
  fill: #465e6c;
  font:
    500 11.6px/1 system-ui,
    sans-serif;
}
.lc-topo-session .lc-topo-node-sub {
  fill: #d1ede9;
}
.lc-topo-network .lc-topo-node-sub {
  fill: #316d64;
}
.lc-topo-management .lc-topo-node-sub {
  fill: #605581;
}
.lc-topo-led.ok {
  fill: #248266;
}
.lc-topo-led.waiting {
  fill: #b47718;
}
.lc-topo-led.off {
  fill: #83949d;
}
.lc-topo-node.can-open {
  cursor: pointer;
  outline: none;
}
.lc-topo-node.can-open:hover .lc-topo-rect,
.lc-topo-node.can-open:focus-visible .lc-topo-rect,
.lc-topo-node.selected .lc-topo-rect {
  stroke: #1864a4;
  stroke-width: 2.5;
}
.lc-topo-more {
  color: #15558a;
}
.lc-topo-more .lc-topo-rect {
  stroke: #a9c5d5;
  fill: #f3f9fc;
}
.lc-topo-empty,
.lc-topo-inspector {
  padding: 16px 21px;
}
.lc-topo-inspector {
  border-top: 1px solid #cfdee5;
  background: #fbfdfe;
}
.lc-topo-inspector h3:focus {
  outline: none;
}
.lc-topo-inspector-head h3 {
  font-size: 1.02rem;
}
.lc-topo-addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin: 10px 0 14px;
}
.lc-topo-addresses dt {
  color: #53687b;
  font-size: 0.76rem;
}
.lc-topo-addresses dd {
  margin: 2px 0 0;
  color: #203949;
  font-size: 0.89rem;
  overflow-wrap: anywhere;
}
.lc-topo-console {
  background: #eaf3fb;
  color: #174f7c;
  border-color: #b9d1e4;
  padding: 6px 12px;
}
@media (max-width: 620px) {
  .lc-topo-head {
    padding: 14px;
  }
  .lc-topo-controls {
    padding: 8px 11px;
  }
  .lc-topo-label {
    width: 100%;
  }
  .lc-topo-zoom {
    gap: 3px;
  }
  .lc-topo-scroll {
    padding: 5px;
  }
}

.lc-topo-desktop {
  background: #205e50;
  border-color: #205e50;
  color: #fff;
}
.lc-topo-desktop:hover {
  background: #174b3f;
  border-color: #174b3f;
}
