:root {
  --bg: #0d151b;
  --bg-2: #101a21;
  --panel: #111e26;
  --panel-2: #15242c;
  --line: #263740;
  --line-strong: #3c7478;
  --text: #e4ebed;
  --muted: #819198;
  --soft: #b2bec2;
  --cyan: #3ab4b8;
  --cyan-2: #287f85;
  --green: #62ba89;
  --orange: #d5945b;
  --yellow: #c7ad59;
  --red: #d56e6a;
  --blue: #628eb2;
  --sidebar: 184px;
  --header: 60px;
  --shadow: none;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  background: var(--bg);
}

button, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
svg { display: block; }

.topbar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: #0a1218;
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 190px; }
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: none;
}
.brand-mark span { transform: rotate(-45deg); font-size: 14px; font-weight: 760; }
.brand-copy strong { display: block; font-size: 16px; font-weight: 650; letter-spacing: .12em; }
.brand-copy small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .14em; margin-top: 2px; }
.sync { display: flex; align-items: center; gap: 9px; color: var(--soft); font-size: 11px; }
.sync i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.top-actions { min-width: 0; display: flex; align-items: center; justify-content: flex-end; }

.control, .icon-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  color: var(--soft);
  background: #111f27;
  transition: .2s ease;
}
.control { appearance: none; padding: 0 34px 0 11px; font-size: 11px; }
.select-box { position: relative; display: inline-flex; align-items: center; }
.select-box::after {
  content: "";
  position: absolute;
  right: 13px;
  top: calc(50% - 5px);
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.icon-button { padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; }
.icon-button:hover, .control:hover, .control:focus { color: var(--text); border-color: var(--line-strong); }
.icon-button .download { font-size: 15px; color: var(--cyan); }

.layout { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: calc(100vh - var(--header)); }
.sidebar {
  position: sticky;
  top: var(--header);
  height: calc(100vh - var(--header));
  border-right: 1px solid var(--line);
  background: #0b151b;
  padding: 21px 12px 17px;
  display: flex;
  flex-direction: column;
}
.nav-title { margin: 0 9px 12px; color: #55727f; font-size: 10px; letter-spacing: .16em; }
.nav { display: grid; gap: 3px; }
.nav a {
  height: 41px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  position: relative;
  color: var(--soft);
  font-size: 12px;
  border-radius: 3px;
  transition: .2s ease;
}
.nav a:hover { color: var(--text); background: #101f27; }
.nav a.active { color: var(--text); background: #14262e; }
.nav a.active::before { content: ""; position: absolute; left: 0; width: 3px; height: 23px; background: var(--cyan); }
.nav-icon { width: 19px; height: 19px; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.nav a.active .nav-icon { color: var(--cyan); }
.side-divider { height: 1px; background: var(--line); margin: 26px 10px 20px; }
.side-note { color: var(--muted); font-size: 11px; line-height: 1.75; padding: 0 9px; }
.side-note strong { color: var(--soft); font-weight: 500; }
.side-foot { margin-top: auto; padding: 11px 9px 0; color: #486472; font-size: 9px; border-top: 1px solid var(--line); }

.main { min-width: 0; padding: 22px 24px 34px; }
.crumb { color: var(--muted); font-size: 11px; margin-bottom: 13px; }
.crumb span { color: var(--soft); }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.page-header h1 { margin: 0; font-size: clamp(21px, 1.8vw, 28px); line-height: 1.2; font-weight: 570; }
.page-header p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.header-meta { white-space: nowrap; color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; }
.header-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.filterbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: -5px 0 17px;
}
.filter-label { color: var(--muted); font-size: 11px; margin-right: 2px; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.segmented button, .filter-chip {
  min-height: 31px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: #111f27;
  padding: 0 11px;
  font-size: 11px;
}
.segmented button:last-child { border-right: 0; }
.segmented button:hover, .segmented button.active, .filter-chip.active { color: var(--text); background: #193038; }
.segmented button.active, .filter-chip.active { box-shadow: inset 0 -2px 0 var(--cyan); }
.filter-chip { border: 1px solid var(--line); border-radius: 2px; }
.filter-spacer { flex: 1; }

.panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.panel::after { display: none; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.panel-head h2 { margin: 0; font-size: 14px; font-weight: 560; letter-spacing: .04em; }
.panel-head small { color: var(--muted); font-size: 10px; }
.panel-pad { padding: 17px 18px; }

.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 11px; }
.stat { min-height: 105px; padding: 15px 16px; cursor: default; transition: .2s ease; }
.stat:hover { background: #14242c; border-color: var(--line-strong); }
.stat-label { display: flex; align-items: center; justify-content: space-between; color: var(--soft); font-size: 11px; }
.stat-label i { color: var(--cyan); font-style: normal; }
.stat-value { margin: 13px 0 8px; font-size: 24px; line-height: 1; font-weight: 640; font-variant-numeric: tabular-nums; }
.stat-value em { color: var(--muted); font-style: normal; font-weight: 400; font-size: 10px; margin-left: 3px; }
.stat-foot { color: var(--muted); font-size: 10px; display: flex; justify-content: space-between; }
.positive { color: var(--green) !important; }
.warning { color: var(--orange) !important; }
.danger { color: var(--red) !important; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); gap: 11px; }
.grid-equal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.stack { display: grid; gap: 11px; }

.bars { display: grid; gap: 13px; }
.bar-row { display: grid; grid-template-columns: 86px minmax(80px, 1fr) 50px; gap: 10px; align-items: center; color: var(--soft); font-size: 11px; }
.bar-track { height: 6px; background: #1c2c34; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); background: var(--cyan); transition: width .25s ease; }
.bar-fill.orange { background: var(--orange); }
.bar-value { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }

.chart { position: relative; height: 218px; padding: 8px 5px 23px 34px; }
.chart-lines { position: absolute; inset: 8px 0 24px 34px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-lines i { width: 100%; border-top: 1px dashed rgba(143, 181, 190, .14); }
.line-svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.line-area { fill: url(#lineFill); }
.line-main { fill: none; stroke: var(--cyan); stroke-width: 2; }
.line-secondary { fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 5 4; }
.chart-labels { position: absolute; left: 34px; right: 0; bottom: 0; display: flex; justify-content: space-between; color: #5e7985; font-size: 9px; }
.legend { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 10px; }
.legend span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--cyan)); margin-right: 5px; }

.donut-wrap { display: flex; align-items: center; gap: 24px; min-height: 180px; }
.donut { width: 150px; height: 150px; flex: 0 0 150px; position: relative; border-radius: 50%; background: conic-gradient(var(--cyan) 0 36%, var(--blue) 36% 62%, var(--orange) 62% 82%, #526b76 82%); }
.donut::after { content: ""; position: absolute; inset: 30px; border-radius: 50%; background: #0e2a3b; border: 1px solid var(--line); }
.donut-center { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; }
.donut-center strong { font-size: 23px; }
.donut-center span { color: var(--muted); font-size: 9px; margin-top: 4px; }
.donut-legend { flex: 1; display: grid; gap: 12px; }
.donut-item { display: grid; grid-template-columns: 8px 1fr auto; gap: 7px; align-items: center; font-size: 10px; color: var(--soft); }
.donut-item i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.donut-item b { font-size: 11px; font-weight: 550; color: var(--text); }

.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 15px; padding-top: 15px; }
.metric-strip div { padding: 0 13px; border-right: 1px solid var(--line); }
.metric-strip div:first-child { padding-left: 0; }
.metric-strip div:last-child { border: 0; }
.metric-strip span { color: var(--muted); font-size: 10px; display: block; margin-bottom: 7px; }
.metric-strip strong { font-size: 16px; font-weight: 580; }

.type-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-bottom: 11px; }
.type-card { padding: 15px; text-align: left; border: 1px solid var(--line); color: var(--soft); background: var(--panel); transition: .2s ease; }
.type-card:hover, .type-card.active { border-color: var(--line-strong); background: #15262e; }
.type-card.active { box-shadow: inset 0 -2px 0 var(--cyan); }
.type-card span { font-size: 11px; color: var(--muted); }
.type-card strong { display: block; color: var(--text); font-size: 18px; margin: 8px 0 4px; }
.type-card small { font-size: 10px; color: var(--green); }

.compare-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.compare-table th { color: var(--muted); font-weight: 480; text-align: left; padding: 10px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare-table td { padding: 11px 9px; border-bottom: 1px solid rgba(138,181,194,.1); color: var(--soft); white-space: nowrap; }
.compare-table tbody tr { transition: background .2s ease; }
.compare-table tbody tr:hover { background: #14242c; }
.compare-table td strong { color: var(--text); font-weight: 550; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: var(--c); }

.heatmap { display: grid; grid-template-columns: 78px repeat(6, minmax(48px, 1fr)); gap: 5px; align-items: stretch; }
.heat-label { color: var(--soft); font-size: 10px; display: flex; align-items: center; }
.heat-head { color: var(--muted); font-size: 9px; text-align: center; padding: 4px 0; }
.heat-cell { min-height: 42px; display: grid; place-items: center; color: var(--text); font-size: 10px; background: color-mix(in srgb, #2f7074 var(--heat), #17252c); border: 1px solid #263b43; transition: border-color .2s ease; }
.heat-cell:hover { border-color: var(--cyan); }
.heat-note { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.heat-scale { display: flex; align-items: center; gap: 6px; }
.heat-scale i { width: 90px; height: 5px; background: linear-gradient(90deg, #17252c, #3f8588); }

.dimension-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 11px; }
.dimension-card { padding: 14px; border: 1px solid var(--line); background: var(--panel); }
.dimension-card span { color: var(--muted); font-size: 10px; }
.dimension-card strong { display: block; font-size: 19px; margin: 8px 0 4px; }
.dimension-card small { color: var(--green); font-size: 10px; }

.status-overview { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.25fr); gap: 11px; }
.status-ring { display: grid; place-items: center; min-height: 245px; }
.status-ring .donut { width: 176px; height: 176px; flex-basis: 176px; background: conic-gradient(var(--green) 0 90.4%, #234759 90.4%); }
.status-ring .donut::after { inset: 34px; }
.status-flow { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 8px; margin-top: 12px; }
.flow-block { border: 1px solid var(--line); padding: 14px; background: #101c23; }
.flow-block strong { display: block; font-size: 21px; margin-bottom: 6px; }
.flow-block span { color: var(--muted); font-size: 10px; }
.flow-arrow { color: var(--muted); text-align: center; font-size: 18px; }
.sub-statuses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; }
.sub-status { padding: 10px; border-left: 2px solid var(--c); background: #111e25; }
.sub-status b { display: block; font-size: 15px; }
.sub-status span { color: var(--muted); font-size: 9px; }

.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.search { position: relative; flex: 0 1 250px; }
.search input { width: 100%; height: 32px; padding: 0 10px 0 29px; color: var(--text); background: #101c23; border: 1px solid var(--line); outline: 0; border-radius: 2px; font-size: 11px; }
.search::before { content: "⌕"; position: absolute; left: 10px; top: 6px; color: var(--muted); }
.row-link { color: var(--cyan); border: 0; background: transparent; padding: 0; font-size: 11px; }
.row-hidden { display: none; }

.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 11px; }
.map-panel { min-height: 610px; position: relative; background: #0d1a21; overflow: hidden; border: 1px solid var(--line); }
.map-canvas { position: absolute; inset: 0; transform-origin: center; transition: transform .3s ease; }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .78; }
.map-grid { position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(122,173,186,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(122,173,186,.25) 1px, transparent 1px); background-size: 44px 44px; }
.map-controls { position: absolute; top: 15px; left: 15px; z-index: 5; display: grid; gap: 6px; }
.map-controls button { width: 34px; height: 34px; border: 1px solid var(--line); color: var(--soft); background: #101d24; font-size: 16px; }
.map-legend { position: absolute; left: 15px; bottom: 15px; z-index: 5; padding: 11px 13px; background: #101d24; border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 11px; color: var(--soft); font-size: 10px; max-width: calc(100% - 30px); }
.map-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-right: 5px; }
.marker { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; border: 0; background: transparent; transform: translate(-50%, -50%); z-index: 3; }
.marker::before { content: ""; position: absolute; inset: 3px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 14%, transparent); }
.marker::after { content: ""; position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; left: 8px; top: 7px; }
.marker.hidden { display: none; }
.cluster { position: absolute; left: var(--x); top: var(--y); width: 35px; height: 35px; transform: translate(-50%, -50%); border: 1px solid #73c2c4; border-radius: 50%; color: #071619; font-size: 9px; font-weight: 700; background: #4bb3b7; box-shadow: 0 0 0 4px rgba(58,180,184,.1); z-index: 4; }
.map-side { display: grid; gap: 11px; align-content: start; }
.map-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map-summary div { padding: 12px; background: #101c23; border: 1px solid var(--line); }
.map-summary span { display: block; color: var(--muted); font-size: 9px; margin-bottom: 6px; }
.map-summary strong { font-size: 16px; }
.point-list { display: grid; gap: 7px; }
.point-item { border: 1px solid var(--line); background: #101c23; padding: 11px; text-align: left; color: var(--soft); }
.point-item:hover { border-color: var(--line-strong); }
.point-item strong { display: block; color: var(--text); font-size: 11px; margin-bottom: 5px; }
.point-item span { color: var(--muted); font-size: 9px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(2,10,16,.56); opacity: 0; pointer-events: none; transition: .25s ease; }
.drawer { position: fixed; top: 0; right: 0; z-index: 71; width: min(420px, 92vw); height: 100vh; transform: translateX(100%); transition: .24s ease; background: #0d181f; border-left: 1px solid var(--line-strong); box-shadow: -16px 0 36px rgba(0,0,0,.28); padding: 24px; overflow-y: auto; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 19px; }
.drawer-head p { color: var(--muted); font-size: 10px; margin: 7px 0 0; }
.drawer-close { border: 1px solid var(--line); background: transparent; color: var(--soft); width: 30px; height: 30px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin: 18px 0; border: 1px solid var(--line); }
.detail-grid div { background: #111e25; padding: 13px; }
.detail-grid span { display: block; color: var(--muted); font-size: 9px; margin-bottom: 6px; }
.detail-grid strong { font-size: 11px; font-weight: 520; }
.timeline { border-left: 1px solid var(--line-strong); margin: 17px 0 0 6px; padding-left: 18px; display: grid; gap: 18px; }
.timeline div { position: relative; }
.timeline div::before { content: ""; position: absolute; left: -22px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.timeline strong { display: block; font-size: 11px; }
.timeline span { color: var(--muted); font-size: 9px; }

.logic-note { margin-top: 11px; padding: 11px 14px; border: 1px dashed rgba(232,201,103,.28); background: rgba(232,201,103,.04); color: #a9a58b; font-size: 10px; line-height: 1.7; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 100; transform: translate(-50%, 10px); opacity: 0; pointer-events: none; padding: 9px 14px; color: var(--text); background: #172a32; border: 1px solid var(--line-strong); border-radius: 2px; font-size: 11px; transition: .18s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { animation: reveal .2s both; }
.delay-1, .delay-2, .delay-3 { animation-delay: 0s; }
@keyframes reveal { from { opacity: .72; } to { opacity: 1; } }

@media (max-width: 1180px) {
  :root { --sidebar: 176px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map-layout { grid-template-columns: 1fr; }
  .map-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .topbar { height: 58px; padding: 0 14px; }
  .sync { display: none; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .top-actions { min-width: 0; }
  .top-actions .select-box { display: none; }
  .layout { display: block; }
  .sidebar { position: sticky; top: 58px; height: auto; z-index: 45; padding: 7px 10px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; display: block; backdrop-filter: blur(13px); }
  .nav-title, .side-divider, .side-note, .side-foot { display: none; }
  .nav { display: flex; width: max-content; }
  .nav a { height: 38px; padding: 0 11px; font-size: 11px; }
  .main { padding: 21px 14px 30px; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 11px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .grid-equal, .status-overview { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .type-cards, .dimension-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heatmap { grid-template-columns: 65px repeat(6, minmax(42px, 1fr)); overflow-x: auto; }
  .map-panel { min-height: 520px; }
}

@media (max-width: 520px) {
  .brand-mark { width: 28px; height: 28px; }
  .brand-copy strong { font-size: 14px; }
  .icon-button .button-text { display: none; }
  .page-header h1 { font-size: 22px; }
  .stats { gap: 7px; }
  .stat { min-height: 101px; padding: 13px; }
  .stat-value { font-size: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: 1fr 1fr; gap: 15px 0; }
  .metric-strip div:nth-child(2) { border-right: 0; }
  .donut-wrap { flex-direction: column; align-items: stretch; }
  .donut { align-self: center; }
  .table-toolbar { align-items: stretch; flex-direction: column; }
  .search { max-width: none; }
  .table-scroll { overflow-x: auto; }
  .compare-table { min-width: 720px; }
  .status-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .map-side { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* Theme: transit blue */
:root {
  --bg: #0b121c;
  --bg-2: #0e1824;
  --panel: #111d2a;
  --panel-2: #142434;
  --line: #25394c;
  --line-strong: #3e73a2;
  --text: #e6edf3;
  --muted: #7e91a2;
  --soft: #b2c0cc;
  --cyan: #4b9ed6;
  --cyan-2: #2f72a6;
  --green: #62b98d;
  --orange: #d4915b;
  --yellow: #c4aa59;
  --red: #d66d6a;
  --blue: #79a8d0;
}
body { background: var(--bg); }
.topbar { background: #09111a; }
.sidebar { background: #0b151f; }
.control, .segmented button, .filter-chip { background: #111e2b; }
.nav a:hover { background: #111f2d; }
.nav a.active { background: #16283a; }
.segmented button:hover, .segmented button.active, .filter-chip.active { background: #1b3143; }
.stat:hover, .compare-table tbody tr:hover { background: #152431; }
.type-card:hover, .type-card.active { background: #162735; }
.bar-track { background: #1c2b38; }
.heat-cell { background: color-mix(in srgb, #386a91 var(--heat), #17232e); border-color: #2a3e50; }
.dimension-card, .type-card { background: var(--panel); }
.flow-block, .search input, .map-summary div, .point-item { background: #101c28; }
.map-panel { background: #0b1823; }
.map-controls button, .map-legend { background: #101c28; }
.donut::after { background: #122130; }
#lineFill stop:first-child { stop-color: var(--cyan); }
.chart g[fill="#54d6d1"] { fill: var(--cyan) !important; }
.chart g[fill="#f1a15e"] { fill: var(--orange) !important; }
