:root {
  color-scheme: dark;
  --bg: #07111e;
  --bg-deep: #040c16;
  --panel: #0d1928;
  --panel-raised: #112237;
  --panel-hover: #152a42;
  --line: rgba(155, 184, 210, 0.13);
  --line-strong: rgba(155, 184, 210, 0.22);
  --text: #eef5fb;
  --text-soft: #b3c5d5;
  --text-muted: #72879a;
  --teal: #4fe0c2;
  --teal-soft: rgba(79, 224, 194, 0.12);
  --coral: #ff8278;
  --coral-soft: rgba(255, 130, 120, 0.12);
  --violet: #a68cff;
  --amber: #f2c572;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  --radius: 14px;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 75% -16%, rgba(35, 87, 126, 0.23), transparent 34rem),
    linear-gradient(132deg, #07111e 0%, #081523 48%, #07111e 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 248px;
  flex-direction: column;
  padding: 27px 18px 20px;
  background: rgba(6, 17, 29, 0.86);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px 36px;
}

.brand-mark,
.auth-mark {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 3px;
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
}

.brand-mark span,
.auth-mark span {
  display: block;
  border-radius: 2px;
  background: var(--teal);
  box-shadow: 0 0 14px rgba(79, 224, 194, 0.28);
}

.brand-mark span:nth-child(2),
.auth-mark span:nth-child(2) {
  opacity: 0.58;
}

.brand-mark span:nth-child(3),
.auth-mark span:nth-child(3) {
  opacity: 0.72;
}

.brand-mark span:nth-child(4),
.auth-mark span:nth-child(4) {
  opacity: 0.3;
}

.brand-name {
  color: #f3f8fc;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-caption {
  margin-top: 4px;
  color: #678097;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.sidebar-section-label {
  padding: 0 11px 9px;
  color: #647a8e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sidebar-section-label--lower {
  margin-top: 35px;
}

.nav-stack {
  display: grid;
  gap: 4px;
}

.nav-item,
.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #8095a8;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-item:hover,
.sidebar-link:hover {
  background: rgba(132, 174, 208, 0.08);
  color: #dce8f0;
}

.nav-item:active,
.sidebar-link:active {
  transform: translateY(1px);
}

.nav-item.is-active {
  background: linear-gradient(90deg, rgba(79, 224, 194, 0.15), rgba(79, 224, 194, 0.03));
  color: #eefbf9;
}

.nav-item.is-active::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -18px;
  width: 2px;
  border-radius: 0 4px 4px 0;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(79, 224, 194, 0.55);
  content: "";
}

.nav-icon {
  display: inline-grid;
  width: 16px;
  place-items: center;
  color: #708a9d;
  font-size: 16px;
  line-height: 1;
}

.nav-item.is-active .nav-icon {
  color: var(--teal);
}

.nav-pulse {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(79, 224, 194, 0.9);
}

.nav-lock {
  margin-left: auto;
  color: #5c7387;
  font-size: 18px;
}

.scope-card {
  padding: 14px 14px 13px;
  border: 1px solid rgba(79, 224, 194, 0.18);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(16, 45, 58, 0.76), rgba(12, 28, 44, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.scope-card-topline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #86dcca;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 9px rgba(79, 224, 194, 0.7);
}

.status-dot--amber {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(242, 197, 114, 0.6);
}

.status-dot--muted {
  background: #5e7385;
  box-shadow: none;
}

.scope-asn {
  margin-top: 15px;
  color: #f5fbfd;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.scope-asn span {
  color: var(--teal);
}

.scope-name {
  margin-top: 3px;
  overflow: hidden;
  color: #9db3c4;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scope-rule {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1px solid rgba(153, 205, 207, 0.1);
  color: #7597a5;
  font-size: 10px;
}

.lock-glyph {
  color: var(--teal);
  font-size: 13px;
}

.sidebar-bottom {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.sidebar-bottom .sidebar-link {
  padding: 8px 11px;
  color: #6d8395;
  font-size: 11px;
}

.sidebar-bottom .nav-icon {
  font-size: 14px;
}

.external-arrow {
  margin-left: auto;
  color: #587487;
}

.main-content {
  width: calc(100% - 248px);
  min-height: 100vh;
  margin-left: 248px;
}

.topbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 30, 0.42);
  backdrop-filter: blur(12px);
}

.topbar-left,
.topbar-right,
.crumbs,
.collector-status,
.account-chip,
.heading-actions,
.last-updated,
.toolbar,
.toolbar-group,
.scope-banner,
.chart-header,
.chart-header-right,
.chart-legend,
.chart-footer,
.boundary-summary,
.boundary-row-head,
.boundary-row-foot,
.status-strip,
.status-strip-item,
.status-strip-action {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 14px;
}

.crumbs {
  gap: 9px;
  color: #71889b;
  font-size: 12px;
}

.crumbs strong {
  color: #d7e4ed;
  font-weight: 600;
}

.crumb-slash {
  color: #4f6679;
}

.mobile-menu {
  display: none;
  padding: 7px;
  border: 0;
  background: transparent;
  color: #9eb4c4;
  font-size: 18px;
}

.topbar-right {
  gap: 21px;
}

.collector-status {
  gap: 7px;
  color: #7f97aa;
  font-size: 11px;
}

.collector-name {
  margin-left: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(147, 178, 199, 0.16);
  border-radius: 5px;
  color: #a3bdcd;
  font-family: var(--mono);
  font-size: 10px;
}

.topbar-divider {
  width: 1px;
  height: 25px;
  background: var(--line);
}

.account-chip {
  gap: 9px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(79, 224, 194, 0.35);
  border-radius: 9px;
  background: rgba(79, 224, 194, 0.12);
  color: #b1f4e8;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.account-copy {
  display: grid;
  gap: 3px;
}

.account-copy b {
  max-width: 152px;
  overflow: hidden;
  color: #dbe9f1;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy small {
  color: #708b9c;
  font-size: 9px;
}

.chevron {
  margin-left: 3px;
  color: #7290a0;
  font-size: 15px;
}

.page-content {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 43px 40px 36px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6ea1a2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 20px;
  height: 1px;
  background: var(--teal);
  box-shadow: 0 0 9px rgba(79, 224, 194, 0.5);
}

.eyebrow-asn {
  margin-left: 4px;
  padding-left: 9px;
  border-left: 1px solid rgba(110, 161, 162, 0.32);
  color: #84b5b2;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 13px;
  color: #f1f7fb;
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 630;
  letter-spacing: -0.055em;
  line-height: 1.07;
}

.heading-asn {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.page-heading p {
  max-width: 640px;
  margin-top: 13px;
  color: #8298a9;
  font-size: 13px;
  line-height: 1.6;
}

.page-heading p strong {
  color: #aec2cf;
  font-weight: 550;
}

.heading-actions {
  gap: 12px;
  padding-bottom: 3px;
}

.last-updated {
  gap: 7px;
  color: #7590a0;
  font-size: 10px;
  white-space: nowrap;
}

.last-updated b {
  color: #a4beca;
  font-weight: 550;
}

.live-dot,
.small-live-dot {
  display: inline-block;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 9px rgba(79, 224, 194, 0.7);
}

.live-dot {
  width: 6px;
  height: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 35px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(143, 175, 198, 0.06);
  color: #b9cbd6;
}

.button-secondary:hover {
  border-color: rgba(79, 224, 194, 0.35);
  background: rgba(79, 224, 194, 0.08);
  color: #e5f8f6;
}

.button:active,
.custom-range-button:active,
.icon-button:active,
.text-button:active,
.scope-info-button:active,
.status-strip-action:active {
  transform: translateY(1px);
}

.button-icon {
  color: var(--teal);
  font-size: 16px;
  line-height: 10px;
}

.scope-banner {
  min-height: 67px;
  gap: 12px;
  margin-top: 32px;
  padding: 12px 15px 12px 13px;
  border: 1px solid rgba(79, 224, 194, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(17, 56, 62, 0.55), rgba(12, 33, 47, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.scope-banner-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(79, 224, 194, 0.26);
  border-radius: 10px;
  background: rgba(79, 224, 194, 0.11);
  color: var(--teal);
  font-size: 19px;
}

.scope-banner-copy {
  display: grid;
  min-width: 185px;
  gap: 5px;
}

.scope-banner-copy span {
  color: #74c5b9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scope-banner-copy strong {
  color: #dcefe9;
  font-size: 12px;
  font-weight: 600;
}

.scope-banner code {
  margin-left: auto;
  padding: 8px 11px;
  border: 1px solid rgba(131, 193, 188, 0.15);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.17);
  color: #8fcbc2;
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.scope-info-button {
  display: inline-flex;
  gap: 6px;
  margin-left: 14px;
  padding: 7px 0 7px 14px;
  border: 0;
  border-left: 1px solid rgba(131, 193, 188, 0.18);
  background: transparent;
  color: #86a6b0;
  font-size: 10px;
  white-space: nowrap;
}

.scope-info-button:hover {
  color: #d1efeb;
}

.scope-info-button span {
  color: var(--teal);
  font-size: 13px;
}

.toolbar {
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.toolbar-group {
  gap: 10px;
}

.toolbar-group--right {
  gap: 17px;
}

.toolbar-label {
  margin-right: 2px;
  color: #718799;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.range-control,
.direction-control {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(133, 161, 181, 0.15);
  border-radius: 8px;
  background: rgba(113, 149, 177, 0.06);
}

.range-button,
.direction-button {
  min-width: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #728a9c;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.range-button:hover,
.direction-button:hover {
  color: #c5d9e5;
}

.range-button.is-active,
.direction-button.is-active {
  background: #17334a;
  color: #e7f2f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.range-button.is-active {
  color: var(--teal);
}

.direction-button {
  min-width: 70px;
  font-family: var(--sans);
  font-size: 10px;
}

.direction-button.is-active {
  background: rgba(79, 224, 194, 0.13);
  color: #b7f2e5;
}

.custom-range-button,
.text-button,
.icon-button,
.scope-info-button,
.status-strip-action {
  border: 0;
  background: transparent;
}

.custom-range-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 2px;
  color: #829bac;
  font-size: 10px;
}

.custom-range-button:hover {
  color: var(--teal);
}

.custom-range-button span {
  color: var(--teal);
  font-size: 15px;
}

.timezone-label {
  color: #829bac;
  font-family: var(--mono);
  font-size: 10px;
}

.timezone-caret {
  margin-left: 4px;
  color: #5a7485;
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 23px;
}

.metric-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16, 29, 45, 0.91), rgba(10, 23, 38, 0.91));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.metric-card {
  min-height: 144px;
  padding: 17px 18px 15px;
}

.metric-card--primary {
  border-color: rgba(79, 224, 194, 0.25);
  background: linear-gradient(145deg, rgba(14, 47, 53, 0.85), rgba(10, 28, 42, 0.9));
}

.metric-topline,
.metric-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-topline {
  color: #7e95a6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-symbol {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  font-size: 15px;
}

.metric-symbol--teal {
  background: rgba(79, 224, 194, 0.11);
  color: var(--teal);
}

.metric-symbol--coral {
  background: rgba(255, 130, 120, 0.1);
  color: var(--coral);
}

.metric-symbol--violet {
  background: rgba(166, 140, 255, 0.11);
  color: var(--violet);
}

.metric-symbol--amber {
  background: rgba(242, 197, 114, 0.11);
  color: var(--amber);
}

.metric-value {
  margin-top: 16px;
  color: #f0f7fa;
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.07em;
}

.metric-value small {
  color: #9eb7c3;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0;
}

.metric-foot {
  justify-content: flex-start;
  gap: 7px;
  margin-top: 14px;
  color: #627b8e;
  font-size: 10px;
}

.trend {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.trend-up {
  color: var(--teal);
}

.metric-time {
  color: #a0b7c4;
  font-family: var(--mono);
}

.panel {
  overflow: hidden;
}

.chart-panel {
  min-height: 428px;
  margin-top: 13px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 21px 0;
}

.panel-kicker {
  margin-bottom: 7px;
  color: #6a8998;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  color: #e8f2f6;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.035em;
}

.subtle-title {
  color: #607a8c;
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0;
}

.chart-header {
  align-items: flex-end;
}

.chart-header-right {
  gap: 20px;
}

.chart-legend {
  gap: 15px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7c95a4;
  font-size: 10px;
}

.legend-item b {
  margin-left: 1px;
  color: #c6d8e0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-dot--teal {
  background: var(--teal);
  box-shadow: 0 0 8px rgba(79, 224, 194, 0.55);
}

.legend-dot--coral {
  background: var(--coral);
  box-shadow: 0 0 8px rgba(255, 130, 120, 0.45);
}

.icon-button {
  padding: 0 0 3px;
  color: #6e8998;
  font-size: 13px;
  letter-spacing: 2px;
}

.icon-button:hover {
  color: #d4e7ed;
}

.chart-wrap {
  position: relative;
  height: 296px;
  margin-top: 14px;
  padding: 0 24px 25px 55px;
}

#trafficChart {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.chart-y-labels,
.chart-x-labels {
  position: absolute;
  display: flex;
  pointer-events: none;
}

.chart-y-labels {
  top: 10px;
  bottom: 37px;
  left: 20px;
  flex-direction: column;
  justify-content: space-between;
  color: #688091;
  font-family: var(--mono);
  font-size: 9px;
}

.chart-x-labels {
  right: 24px;
  bottom: 6px;
  left: 55px;
  justify-content: space-between;
  color: #688091;
  font-family: var(--mono);
  font-size: 9px;
}

.chart-tooltip {
  position: absolute;
  top: 23px;
  left: 55%;
  display: grid;
  min-width: 124px;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(172, 208, 219, 0.22);
  border-radius: 8px;
  background: rgba(7, 19, 31, 0.93);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  color: #aec4ce;
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.chart-wrap:hover .chart-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.chart-tooltip span:not(.tooltip-time) {
  display: flex;
  align-items: center;
  gap: 7px;
}

.chart-tooltip b {
  color: #e9f4f7;
  font-weight: 600;
}

.tooltip-time {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(158, 188, 203, 0.13);
  color: #7f9aaa;
}

.chart-footer {
  justify-content: space-between;
  margin: 0 21px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
  color: #667f90;
  font-size: 10px;
}

.chart-footer b {
  color: #91abb9;
  font-weight: 550;
}

.small-live-dot {
  width: 5px;
  height: 5px;
  margin-right: 5px;
}

.footer-info {
  display: inline-grid;
  width: 13px;
  height: 13px;
  margin-left: 3px;
  place-items: center;
  border: 1px solid #486578;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 9px;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.33fr) minmax(320px, 0.67fr);
  gap: 13px;
  margin-top: 13px;
}

.table-panel,
.boundary-panel {
  min-height: 339px;
}

.table-header {
  align-items: center;
}

.text-button {
  padding: 4px 0;
  color: #7ca69f;
  font-size: 10px;
}

.text-button:hover {
  color: var(--teal);
}

.text-button span,
.status-strip-action span {
  margin-left: 5px;
  color: var(--teal);
  font-size: 14px;
}

.tabs {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding: 0 21px;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  position: relative;
  padding: 0 0 11px;
  border: 0;
  background: transparent;
  color: #718899;
  font-size: 10px;
}

.tab-button:hover {
  color: #c2d5df;
}

.tab-button.is-active {
  color: var(--teal);
}

.tab-button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 3px 3px 0 0;
  background: var(--teal);
  box-shadow: 0 0 9px rgba(79, 224, 194, 0.5);
  content: "";
}

.table-wrap {
  padding: 2px 21px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th {
  padding: 11px 0 8px;
  color: #607a8c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}

th:nth-child(1) {
  width: 33%;
}

th:nth-child(2) {
  width: 22%;
}

th:nth-child(3) {
  width: 25%;
}

th:nth-child(4) {
  width: 20%;
  text-align: right;
}

td {
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid rgba(155, 184, 210, 0.08);
  color: #8da4b3;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

td:last-child {
  color: #a3bbc7;
  font-family: var(--mono);
  text-align: right;
}

.peer-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8e6ed;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.peer-badge {
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(130, 166, 190, 0.2);
  border-radius: 6px;
  background: rgba(130, 166, 190, 0.1);
  color: #9fb7c4;
  font-family: var(--sans);
  font-size: 9px;
}

.direction-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #93aebb;
  font-size: 9px;
}

.direction-tag::before {
  color: var(--teal);
  content: "↙";
  font-size: 13px;
}

.direction-tag.outbound::before {
  color: var(--coral);
  content: "↗";
}

.traffic-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-number {
  min-width: 57px;
  color: #a4bac6;
  font-family: var(--mono);
  font-size: 10px;
}

.mini-bar {
  display: inline-block;
  width: 45px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(121, 157, 177, 0.13);
}

.mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.table-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 21px 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #60798b;
  font-size: 9px;
}

.panel-badge {
  padding: 5px 7px;
  border: 1px solid rgba(79, 224, 194, 0.16);
  border-radius: 5px;
  background: rgba(79, 224, 194, 0.08);
  color: #80caba;
  font-family: var(--mono);
  font-size: 9px;
}

.boundary-summary {
  justify-content: space-between;
  margin: 26px 21px 20px;
}

.boundary-total {
  color: #eff7f7;
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.07em;
}

.boundary-unit {
  margin-left: 8px;
  color: #78909e;
  font-size: 10px;
}

.boundary-list {
  display: grid;
  gap: 21px;
  padding: 0 21px;
}

.boundary-row-head,
.boundary-row-foot {
  justify-content: space-between;
}

.boundary-row-head {
  color: #9db2bd;
  font-size: 10px;
}

.boundary-row-head b {
  color: #d5e4e8;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.boundary-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
}

.boundary-dot--teal {
  background: var(--teal);
  box-shadow: 0 0 9px rgba(79, 224, 194, 0.58);
}

.boundary-dot--coral {
  background: var(--coral);
  box-shadow: 0 0 9px rgba(255, 130, 120, 0.5);
}

.bar-track {
  height: 6px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(115, 147, 166, 0.14);
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 220ms ease;
}

.bar-fill--teal {
  background: linear-gradient(90deg, #34bda5, var(--teal));
  box-shadow: 0 0 10px rgba(79, 224, 194, 0.35);
}

.bar-fill--coral {
  background: linear-gradient(90deg, #d66769, var(--coral));
  box-shadow: 0 0 10px rgba(255, 130, 120, 0.25);
}

.boundary-row-foot {
  margin-top: 7px;
  color: #657e8e;
  font-size: 9px;
}

.boundary-callout {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 21px 0;
  padding: 10px 11px;
  border: 1px solid rgba(166, 140, 255, 0.15);
  border-radius: 8px;
  background: rgba(166, 140, 255, 0.06);
  color: #8491ad;
  font-size: 9px;
  line-height: 1.35;
}

.callout-icon {
  color: var(--violet);
  font-size: 16px;
}

.status-strip {
  gap: 25px;
  min-height: 76px;
  margin-top: 13px;
  padding: 0 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 27, 44, 0.72);
}

.status-strip-item {
  gap: 10px;
  min-width: 220px;
}

.status-strip-item > span:last-child {
  display: grid;
  gap: 4px;
}

.status-strip-item b {
  color: #c6d9e1;
  font-size: 10px;
  font-weight: 600;
}

.status-strip-item small {
  color: #657f90;
  font-size: 9px;
}

.status-strip-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.status-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(166, 140, 255, 0.25);
  border-radius: 6px;
  background: rgba(166, 140, 255, 0.1);
  color: var(--violet);
  font-size: 13px;
}

.status-strip-action {
  gap: 3px;
  margin-left: auto;
  padding: 7px 0 7px 14px;
  border-left: 1px solid var(--line);
  color: #7a96a5;
  font-size: 10px;
  white-space: nowrap;
}

.status-strip-action:hover {
  color: #d1e5ea;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  color: #536e80;
  font-size: 9px;
}

.footer-separator {
  margin: 0 5px;
  color: #375365;
}

/* Authentication gate */
.modal-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 24px;
  place-items: center;
  background: rgba(2, 9, 17, 0.76);
  backdrop-filter: blur(9px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.auth-card {
  position: relative;
  width: min(100%, 432px);
  padding: 27px 31px 24px;
  border: 1px solid rgba(94, 152, 163, 0.26);
  border-radius: 18px;
  background:
    radial-gradient(circle at 75% 20%, rgba(29, 83, 92, 0.2), transparent 15rem),
    linear-gradient(154deg, #102333, #091524 71%);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(10px) scale(0.985);
  transition: transform 220ms ease;
}

.modal-backdrop.is-visible .auth-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(159, 193, 205, 0.13);
  border-radius: 7px;
  background: rgba(135, 172, 188, 0.05);
  color: #7892a2;
  font-size: 19px;
  line-height: 19px;
}

.modal-close:hover {
  border-color: rgba(79, 224, 194, 0.35);
  color: var(--teal);
}

.auth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 43px;
}

.auth-mark {
  width: 26px;
  height: 26px;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 4px;
}

.auth-chip {
  padding: 5px 7px;
  border: 1px solid rgba(79, 224, 194, 0.19);
  border-radius: 5px;
  background: rgba(79, 224, 194, 0.08);
  color: #83d1c0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.auth-visual {
  position: relative;
  height: 121px;
  margin: 24px 0 21px;
  overflow: hidden;
  border: 1px solid rgba(90, 154, 163, 0.15);
  border-radius: 11px;
  background:
    linear-gradient(rgba(81, 143, 157, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 143, 157, 0.08) 1px, transparent 1px),
    rgba(3, 16, 26, 0.48);
  background-size: 25px 25px;
}

.auth-visual::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(79, 224, 194, 0.13), transparent 57%);
  content: "";
}

.auth-orbit {
  position: absolute;
  top: 15px;
  left: calc(50% - 45px);
  width: 90px;
  height: 90px;
  border: 1px solid rgba(79, 224, 194, 0.28);
  border-radius: 50%;
  transform: rotate(-27deg) skewX(-10deg);
}

.auth-orbit--two {
  top: 29px;
  left: calc(50% - 76px);
  width: 152px;
  height: 58px;
  border-color: rgba(166, 140, 255, 0.19);
  transform: rotate(-12deg);
}

.auth-signal {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.7;
  transform-origin: left center;
}

.auth-signal--one {
  top: 59px;
  left: 17%;
  width: 66%;
  transform: rotate(-12deg);
}

.auth-signal--two {
  top: 60px;
  left: 22%;
  width: 58%;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  transform: rotate(18deg);
}

.auth-node {
  position: absolute;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(79, 224, 194, 0.45);
  border-radius: 50%;
  background: #0e2635;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 8px;
  box-shadow: 0 0 17px rgba(79, 224, 194, 0.21);
}

.auth-node--center {
  top: 47px;
  left: calc(50% - 12px);
  width: 27px;
  height: 27px;
  background: #153743;
  font-size: 7px;
}

.auth-node--a {
  top: 28px;
  left: 20%;
  color: var(--violet);
  border-color: rgba(166, 140, 255, 0.45);
}

.auth-node--b {
  top: 78px;
  right: 18%;
  color: var(--coral);
  border-color: rgba(255, 130, 120, 0.42);
}

.auth-node--c {
  top: 38px;
  right: 13%;
  width: 19px;
  height: 19px;
  color: #8bb2c1;
  border-color: rgba(139, 178, 193, 0.3);
  font-size: 12px;
}

.auth-eyebrow {
  color: #71c9bb;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-card h2 {
  max-width: 320px;
  margin-top: 10px;
  color: #f0f7fa;
  font-size: 25px;
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.auth-description {
  margin-top: 11px;
  color: #819bab;
  font-size: 12px;
  line-height: 1.55;
}

.peering-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 13px;
  border: 1px solid rgba(79, 224, 194, 0.35);
  border-radius: 9px;
  background: linear-gradient(100deg, #32b69f, #43c6b1);
  color: #05211f;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(25, 154, 137, 0.18);
  transition: filter 160ms ease, transform 160ms ease;
}

.peering-button:hover {
  filter: brightness(1.09);
}

.peering-button:active,
.demo-button:active {
  transform: translateY(1px);
}

.peering-logo {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  background: rgba(1, 37, 34, 0.22);
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
}

.peering-arrow {
  margin-left: auto;
  font-size: 16px;
}

.demo-button {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #7895a5;
  font-size: 10px;
}

.demo-button:hover {
  color: #c6e4e4;
}

.demo-button span {
  color: var(--teal);
  font-size: 14px;
}

.auth-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
  padding: 10px 11px;
  border: 1px solid rgba(136, 172, 186, 0.11);
  border-radius: 8px;
  background: rgba(3, 13, 23, 0.22);
  color: #6f8999;
  font-size: 9px;
  line-height: 1.45;
}

.auth-trust b {
  color: #a5bdc8;
  font-weight: 600;
}

.trust-lock {
  color: var(--teal);
  font-size: 16px;
}

.auth-footnote {
  margin-top: 14px;
  color: #546d7c;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px 11px 11px;
  border: 1px solid rgba(79, 224, 194, 0.28);
  border-radius: 9px;
  background: rgba(13, 35, 42, 0.96);
  box-shadow: var(--shadow);
  color: #bdebe2;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: rgba(79, 224, 194, 0.15);
  color: var(--teal);
  font-size: 11px;
}

.view-muted {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 1180px) {
  .page-content,
  .topbar {
    padding-right: 26px;
    padding-left: 26px;
  }

  .collector-status {
    display: none;
  }

  .topbar-divider {
    display: none;
  }

  .metric-value {
    font-size: 22px;
  }

  .lower-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  }
}

@media (max-width: 900px) {
  .sidebar {
    width: 215px;
  }

  .main-content {
    width: calc(100% - 215px);
    margin-left: 215px;
  }

  .page-content,
  .topbar {
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .heading-actions {
    width: 100%;
    justify-content: space-between;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lower-grid {
    grid-template-columns: 1fr;
  }

  .boundary-panel {
    min-height: 290px;
  }
}

@media (max-width: 680px) {
  .sidebar {
    width: 230px;
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.32);
  }

  .main-content {
    width: 100%;
    margin-left: 0;
  }

  .topbar {
    min-height: 63px;
    padding: 0 16px;
  }

  .mobile-menu {
    display: block;
  }

  .crumbs span:first-child,
  .crumb-slash {
    display: none;
  }

  .account-copy,
  .chevron {
    display: none;
  }

  .page-content {
    padding: 30px 16px 27px;
  }

  .page-heading p {
    font-size: 12px;
  }

  .scope-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px;
  }

  .scope-banner-copy {
    min-width: calc(100% - 55px);
    align-self: center;
  }

  .scope-banner code {
    width: 100%;
    margin: 4px 0 0;
    overflow: auto;
    font-size: 9px;
  }

  .scope-info-button {
    width: 100%;
    margin: 0;
    padding: 9px 0 0;
    border: 0;
  }

  .toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .toolbar-group--right {
    width: 100%;
    justify-content: space-between;
  }

  .metric-grid {
    gap: 9px;
  }

  .metric-card {
    min-height: 132px;
    padding: 14px;
  }

  .metric-value {
    margin-top: 13px;
    font-size: 19px;
  }

  .metric-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin-top: 11px;
  }

  .panel-header {
    padding-right: 15px;
    padding-left: 15px;
  }

  .chart-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .chart-wrap {
    height: 245px;
    padding-left: 48px;
  }

  .chart-x-labels {
    left: 48px;
  }

  .chart-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin: 0 15px;
  }

  .tabs {
    gap: 13px;
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: auto;
  }

  .table-wrap {
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: auto;
  }

  .table-wrap table {
    min-width: 490px;
  }

  .table-note {
    margin-right: 15px;
    margin-left: 15px;
  }

  .boundary-summary,
  .boundary-list {
    margin-right: 15px;
    margin-left: 15px;
  }

  .boundary-list {
    padding-right: 0;
    padding-left: 0;
  }

  .boundary-callout {
    margin-right: 15px;
    margin-left: 15px;
  }

  .status-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 16px 15px;
  }

  .status-strip-divider {
    display: none;
  }

  .status-strip-action {
    width: 100%;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    line-height: 1.4;
  }

  .auth-card {
    padding: 22px 21px 20px;
  }

  .auth-visual {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Data views */
[hidden] {
  display: none !important;
}

.view-panel {
  animation: view-enter 220ms ease both;
}

.secondary-view {
  padding-top: 43px;
}

.view-toolbar,
.report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  margin-top: 13px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(13, 25, 40, 0.72);
}

.view-toolbar-note,
.report-toolbar-right,
.report-select-label {
  display: flex;
  align-items: center;
}

.view-toolbar-note {
  gap: 8px;
  color: #7891a1;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-layout,
.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.72fr);
  gap: 13px;
  margin-top: 13px;
}

.map-panel,
.data-list-panel,
.report-chart-panel,
.report-insight-panel,
.report-table-panel {
  border: 1px solid var(--line);
  background: var(--panel);
}

.map-panel {
  min-height: 578px;
}

.map-panel-header {
  align-items: center;
}

.map-stage {
  position: relative;
  min-height: 457px;
  margin: 15px;
  overflow: hidden;
  border: 1px solid rgba(126, 170, 193, 0.15);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(79, 224, 194, 0.1), transparent 20%),
    linear-gradient(145deg, rgba(10, 31, 48, 0.92), rgba(7, 17, 30, 0.96));
}

.map-stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(128, 171, 190, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 171, 190, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.peering-map-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 457px;
}

.map-graticule path {
  fill: none;
  stroke: rgba(128, 171, 190, 0.14);
  stroke-dasharray: 3 8;
  stroke-width: 1;
}

.map-link {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2;
}

.map-link.inbound {
  stroke: var(--teal);
  opacity: 0.5;
}

.map-link.outbound {
  stroke: var(--coral);
  opacity: 0.52;
}

.map-node circle {
  stroke: rgba(232, 251, 249, 0.78);
  stroke-width: 1.25;
}

.map-node.inbound circle {
  fill: var(--teal);
  filter: drop-shadow(0 0 6px rgba(79, 224, 194, 0.72));
}

.map-node.outbound circle {
  fill: var(--coral);
  filter: drop-shadow(0 0 6px rgba(255, 130, 120, 0.6));
}

.map-node text {
  fill: #b9ced7;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(7, 17, 30, 0.9);
  stroke-width: 4px;
}

.map-center-label {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  min-width: 92px;
  justify-items: center;
  gap: 3px;
  padding: 9px 12px;
  border: 1px solid rgba(79, 224, 194, 0.38);
  border-radius: 9px;
  background: rgba(7, 23, 34, 0.93);
  box-shadow: 0 0 0 7px rgba(79, 224, 194, 0.06), 0 0 28px rgba(79, 224, 194, 0.17);
  transform: translate(-50%, -50%);
}

.map-center-label b {
  color: #e7fbf6;
  font-family: var(--mono);
  font-size: 12px;
}

.map-center-label small {
  color: #79a3a6;
  font-size: 9px;
}

.map-center-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(79, 224, 194, 0.95);
}

.map-empty {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(7, 17, 30, 0.9);
  color: #a8bec8;
  font-size: 11px;
  transform: translate(-50%, 85px);
}

.map-footer {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0 21px;
  padding: 0 0 16px;
  color: #7b95a4;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.map-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-footer-note {
  margin-left: auto;
  color: #5e7889;
  text-transform: none;
}

.map-legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.map-legend-dot--teal {
  background: var(--teal);
  box-shadow: 0 0 7px rgba(79, 224, 194, 0.62);
}

.map-legend-dot--coral {
  background: var(--coral);
  box-shadow: 0 0 7px rgba(255, 130, 120, 0.55);
}

.map-side-stack {
  display: grid;
  align-content: start;
  gap: 13px;
}

.data-list-panel {
  min-height: 275px;
}

.data-list-header {
  align-items: center;
}

.network-list {
  display: grid;
  gap: 2px;
  padding: 12px 20px 9px;
}

.network-list-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  border-bottom: 1px solid rgba(155, 184, 210, 0.08);
}

.network-list-row:last-child {
  border-bottom: 0;
}

.network-list-badge {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(79, 224, 194, 0.19);
  border-radius: 7px;
  background: rgba(79, 224, 194, 0.08);
  color: #93dacc;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.network-list-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.network-list-copy b {
  overflow: hidden;
  color: #d5e6ed;
  font-family: var(--mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-list-copy small {
  overflow: hidden;
  color: #6f8a9b;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-list-value {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: #c5d9e1;
  font-family: var(--mono);
  font-size: 10px;
}

.network-list-value small {
  color: #6c8796;
  font-size: 9px;
}

.panel-note {
  margin: 0 20px;
  padding: 11px 0 15px;
  border-top: 1px solid rgba(155, 184, 210, 0.08);
  color: #617b8b;
  font-size: 9px;
}

.report-toolbar {
  flex-wrap: wrap;
}

.report-toolbar-right {
  justify-content: flex-end;
  gap: 11px;
  margin-left: auto;
}

.report-select-label {
  color: #718b9b;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.report-select {
  min-width: 154px;
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: none;
  background: #0d1b2b;
  color: #c8dbe3;
  font-family: var(--mono);
  font-size: 9px;
}

.report-select:focus {
  border-color: rgba(79, 224, 194, 0.55);
}

.report-refresh-button {
  padding: 5px 3px 5px 8px;
  border-left: 1px solid var(--line);
}

.report-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 13px;
}

.report-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.68fr);
}

.report-chart-panel,
.report-insight-panel {
  min-height: 333px;
}

.report-chart-wrap {
  position: relative;
  height: 222px;
  margin: 14px 21px 0;
  padding-bottom: 13px;
}

#reportChart {
  display: block;
  width: 100%;
  height: 100%;
}

.report-chart-axis {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: #617a8b;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.report-insight {
  min-height: 142px;
  margin: 17px 21px 13px;
  padding: 17px;
  border: 1px solid rgba(79, 224, 194, 0.13);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(18, 50, 59, 0.45), rgba(12, 28, 44, 0.45));
  color: #b5cbd3;
  font-size: 12px;
  line-height: 1.65;
}

.report-checks {
  display: grid;
  gap: 12px;
  margin: 0 21px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.report-checks > div {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
}

.report-checks .status-dot {
  grid-row: span 2;
}

.report-checks b {
  color: #bdd1d9;
  font-size: 10px;
  font-weight: 650;
}

.report-checks small {
  color: #708a99;
  font-size: 9px;
}

.report-table-panel {
  margin-top: 13px;
}

.report-table-wrap {
  min-height: 216px;
}

.explorer-toolbar {
  flex-wrap: wrap;
}

.explorer-control-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7891a1;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.explorer-panel {
  margin-top: 13px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.explorer-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 21px;
  padding: 13px 0 2px;
  color: #718b9b;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}

.explorer-summary b {
  color: #a6c4cb;
  font-weight: 600;
}

.explorer-table-wrap {
  overflow-x: auto;
}

.explorer-table {
  min-width: 1040px;
  table-layout: auto;
}

.explorer-table th,
.explorer-table td {
  padding-right: 12px;
}

.explorer-table th:nth-child(1) {
  width: 92px;
}

.explorer-table th:nth-child(2),
.explorer-table th:nth-child(3) {
  width: 170px;
}

.explorer-table th:nth-child(4) {
  width: 94px;
  text-align: left;
}

.explorer-table th:nth-child(5),
.explorer-table th:nth-child(6) {
  width: 122px;
}

.explorer-table th:nth-child(7),
.explorer-table th:nth-child(8) {
  width: 90px;
  text-align: right;
}

.explorer-table td {
  color: #b4c8d1;
  font-family: var(--mono);
  font-size: 10px;
}

.explorer-table td:last-child {
  padding-right: 0;
}

.explorer-table .explorer-address {
  color: #d6e9ed;
  font-weight: 600;
}

.explorer-table .explorer-rate {
  color: #c5d9e1;
  font-weight: 600;
  text-align: right;
}

.explorer-table .explorer-muted {
  color: #6d8796;
}

.explorer-table .direction-tag {
  font-family: var(--sans);
  font-weight: 600;
}

.explorer-table .empty-table-row {
  padding: 34px 0;
  color: #718b9b;
  font-family: var(--sans);
  text-align: center;
}

@keyframes view-enter {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .map-layout,
  .report-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .report-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-toolbar-right {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .secondary-view {
    padding-top: 30px;
  }

  .view-toolbar,
  .report-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }

  .view-toolbar-note {
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .report-toolbar-right {
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
  }

  .map-side-stack,
  .report-metric-grid {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 350px;
    margin: 11px;
  }

  .peering-map-svg {
    min-height: 350px;
  }

  .map-footer {
    flex-wrap: wrap;
    margin: 0 15px;
  }

  .map-footer-note {
    width: 100%;
    margin-left: 0;
  }

  .report-select {
    flex: 1;
    min-width: 140px;
  }

  .explorer-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-right: 15px;
    margin-left: 15px;
  }
}
