.beup-node-surface button.beup-node-stat-action {
  position: relative;
  width: 100%;
  min-height: 99px;
  text-align: left;
  pointer-events: auto;
  cursor: pointer;
  transition: background-color .16s, border-color .16s;
}
.beup-node-surface .beup-node-stat-action::after {
  content: '';
  position: absolute;
  top: 21px;
  right: 19px;
  width: 6px;
  height: 6px;
  transform: rotate(-45deg);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--ns-primary);
}
.beup-node-surface .beup-node-stat-action:hover,
.beup-node-surface .beup-node-stat-action[aria-pressed='true'] {
  border-color: #8abfc6 !important;
  background: #eaf6f6 !important;
}
.beup-node-surface .beup-node-stat-action:focus-visible {
  outline: 2px solid var(--ns-deep);
  outline-offset: 3px;
}
.beup-node-surface .beup-node-map-labels { scroll-margin-top: 88px; }
.beup-node-surface .beup-node-list-empty {
  padding: 16px 20px;
  margin: 0;
  color: var(--ns-muted);
  border-top: 1px solid var(--ns-line);
  font-size: 13px;
}
.beup-node-map-labels :is(.bmap-label-leaders, .bmap-label-layer) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.beup-node-map-labels .bmap-label-layer { z-index: 1; }
.beup-node-map-labels :is(.bmap-zoom, .bmap-maperror, .bmap-mapnote) { z-index: 2; }
.beup-node-map-labels .bmap-label-leaders line {
  stroke: #548e94;
  stroke-width: 1;
  opacity: .55;
}
.beup-node-map-labels .bmap-label-leaders line.offline { stroke: #bb584d; }
.beup-node-map-labels .bmap-label-leaders line.unknown { stroke: #899a9c; }
.beup-node-map-labels button.bmap-label {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  max-width: min(244px, calc(100% - 20px));
  padding: 2px 6px;
  border: 1px solid #c4dddf;
  border-radius: 4px;
  background: #fafdfe;
  color: #345965;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
  visibility: hidden;
}
.beup-node-map-labels .bmap-label.is-placed { visibility: visible; pointer-events: auto; }
.beup-node-map-labels .bmap-label-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.beup-node-map-labels .bmap-label-count {
  flex: 0 0 auto;
  padding-left: 5px;
  border-left: 1px solid #d8eaec;
  color: #55727a;
  font-size: 10px;
  line-height: 1.25;
}
.beup-node-map-labels button.bmap-label.offline {
  border-color: #e7b4ad;
  color: #963e33;
  background: #fff7f4;
}
.beup-node-map-labels button.bmap-label.unknown {
  border-color: #c9d4d6;
  color: #62777b;
  background: #f2f6f7;
}
.beup-node-map-labels button.bmap-label.is-selected { border-width: 2px; border-color: var(--bm-deep); }
.beup-node-map-labels button.bmap-label.offline.is-selected { border-color: #be5547; }
.beup-node-map-labels button.bmap-label:hover { background: #e8f4f5; }
.beup-node-map-labels .bmap-label:focus-visible { outline-offset: 0; }
.beup-node-map-labels .bmap-locate-ring {
  pointer-events: none;
  fill: none;
  stroke: var(--bm-deep);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.beup-node-map-labels .bmap-locate-ring.offline { stroke: #bd5547; }
.beup-node-map-labels .bmap-locate-ring.unknown { stroke: var(--bm-grey); }
.beup-node-map-labels .bmap-quick > button > span:first-child { min-width: 0; overflow-wrap: anywhere; text-align: left; }
.beup-node-map-labels .bmap-quick > button > span:last-child { flex: 0 0 auto; }
.beup-node-map-labels .bmap-detail-scroll { max-height: 238px; overflow: auto; overscroll-behavior: contain; padding: 3px; }
.beup-node-map-labels .bmap-node > span { min-width: 0; }
.beup-node-map-labels .bmap-location,
.beup-node-map-labels .bmap-empty {
  padding: 7px 9px;
  margin: 4px 0 9px;
  border-radius: 5px;
  background: #e8f4f5;
  color: #37646e;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.beup-node-map-labels .bmap-location.offline { background: #fcefe9; color: #963e33; }
.beup-node-map-labels .bmap-empty { background: #eff6f7; }
.beup-node-map-labels .bmap-totals { flex-wrap: wrap; row-gap: 7px; }
@media (max-width: 680px) {
  .beup-node-surface .beup-node-stat-action { min-height: 85px; }
  .beup-node-surface .beup-node-stat-action::after { right: 15px; top: 18px; }
  .beup-node-map-labels .bmap-detail-scroll { max-height: 260px; }
  .beup-node-map-labels .bmap-node-list { grid-template-columns: 1fr; }
  .beup-node-map-labels button.bmap-label { font-size: 11px; min-height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .beup-node-surface .beup-node-stat-action { transition: none; }
}

.beup-node-map-focus .bmap-canvas {
  background: radial-gradient(ellipse at 74% 44%, #deeff055, transparent 66%), #f6fafb;
}
.beup-node-map-focus .bmap-gridline { opacity: .28; }
.beup-node-map-focus .bmap-wire {
  vector-effect: non-scaling-stroke;
  stroke-width: 1;
  opacity: .38;
}
.beup-node-map-focus .bmap-flow {
  vector-effect: non-scaling-stroke;
  opacity: .65;
}
.beup-node-map-focus .bmap-route.muted { opacity: .16; }
.beup-node-map-focus .bmap-route.highlighted .bmap-wire { stroke-width: 2.1; }
.beup-node-map-focus .bmap-marker.selected .bmap-halo { opacity: .28; stroke-width: 1.1; }
.beup-node-map-focus .bmap-label-leaders line { opacity: .38; }
.beup-node-map-focus .bmap-label-leaders line.offline { opacity: .67; }
.beup-node-map-focus .bmap-label-layer,
.beup-node-map-focus .bmap-label-leaders {
  transition: opacity .16s ease-out;
}
.beup-node-map-focus .bmap-camera-moving :is(.bmap-label-layer, .bmap-label-leaders) {
  opacity: 0;
  transition: none;
}
.beup-node-map-focus .bmap-camera-moving .bmap-label.is-placed {
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .beup-node-map-focus :is(.bmap-label-layer, .bmap-label-leaders) { transition: none; }
}
