:root {
  color-scheme: dark;
  --body: #0b111c;
  --panel: #121a29;
  --raised: #172033;
  --map: #0f1726;
  --line: #1c2537;
  --border: #253048;
  --text: #e6ecf5;
  --muted: #8a96ab;
  --soft: #c4cddc;
  --accent: #2dd4bf;
  --yellow: #fbbf24;
  --red: #f87171;
  --gray: #94a3b8;
  --header: 65px;
  --heading: Manrope, Inter, system-ui, sans-serif;
  font: 14px Inter, system-ui, sans-serif;
  background: var(--body);
  color: var(--text);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, p, dl { margin: 0; }
h1, h2, .brand, .metric strong, .fleet-speed { font-family: var(--heading); }
h2 { font-size: 17px; }
a { color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, input:not([type="range"]), select {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  padding: 0 12px;
}
button:hover:not(:disabled), select:hover { border-color: var(--muted); }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input:not([type="range"]):focus-visible { outline-offset: 0; }
button.primary { background: var(--accent); border-color: transparent; color: var(--body); font-weight: 750; }
button.primary:hover:not(:disabled) { background: #5eead4; border-color: transparent; }
label:has(> select), label:has(> input:not([type="search"])) {
  display: flex; min-width: 0; flex-direction: column; gap: 4px; color: var(--muted); font-size: 12px;
}
label > select, label > input { color: var(--text); font-size: 14px; min-width: 0; }
.icon-btn { display: inline-grid; width: 44px; min-width: 44px; place-items: center; padding: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.notice { color: var(--soft); min-width: 0; }
.notice:empty { display: none; }
.notice button, .connection-banner button { min-height: 32px; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.moving { --tone: var(--accent); }
.stopped { --tone: var(--yellow); }
.offline { --tone: var(--gray); }
.danger { --tone: var(--red); }
.moving, .stopped, .offline, .danger { color: var(--tone); }
.dot { display: inline-block; width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: var(--tone); }

.topbar {
  position: relative; z-index: 5; display: flex; align-items: center; gap: 24px; padding: 13px 24px;
  min-height: var(--header); border-bottom: 1px solid var(--line); background: var(--body);
}
.brand { color: var(--text); font-size: 18px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.topbar nav { display: flex; align-items: center; gap: 4px; }
.topbar nav a, .topbar nav button {
  min-height: 36px; border: 0; border-radius: 8px; padding: 8px 14px; color: var(--muted);
  white-space: nowrap; text-decoration: none; background: transparent;
}
.topbar nav [aria-current], .topbar nav a:hover, .topbar nav button:hover { color: var(--text); background: var(--raised); }
.topbar nav [aria-current] { font-weight: 650; }
.desktop-search { width: 252px; margin-left: auto; }
.search-field {
  display: flex; align-items: center; gap: 8px; padding: 0 12px; min-height: 38px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--muted);
}
.search-field:focus-within { border-color: var(--accent); }
.search-field svg { flex: 0 0 16px; }
.search-field input { min-height: 34px; width: 100%; padding: 0; border: 0; background: transparent; outline: none; }
.search-field input:focus-visible { outline: none; }
.search-field input::placeholder { color: var(--muted); }
.profile { margin-left: auto; position: relative; }
.desktop-search + .profile { margin-left: 0; }
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%;
  background: #1e293d; font-weight: 650; list-style: none;
}
.avatar::-webkit-details-marker { display: none; }
.profile-menu {
  position: absolute; right: 0; top: 48px; display: grid; gap: 9px;
  width: min(254px, 85vw); padding: 14px; box-shadow: 0 10px 36px #0006;
}
.profile-menu strong { overflow-wrap: anywhere; }
.connection-banner {
  position: relative; z-index: 4; padding: 6px 16px; background: #29241c; color: var(--yellow);
  text-align: center; font-size: 13px;
}

.map-layout {
  display: grid; grid-template-columns: 360px minmax(0, 1fr); grid-template-areas: "fleet map";
  height: calc(100dvh - var(--header)); min-height: 540px;
}
.shell:has(.connection-banner:not([hidden])) .map-layout { height: calc(100dvh - var(--header) - 34px); }
.fleet {
  grid-area: fleet; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 14px;
  padding: 18px; border-right: 1px solid var(--line);
}
.fleet-heading, .sheet-handle, .mobile-tools { display: none; }
#fleet-counts, .vehicle-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.metric { min-width: 0; border-radius: 12px; background: var(--panel); padding: 10px 12px; }
.metric strong { display: block; font-size: 22px; font-weight: 790; line-height: 1.24; overflow-wrap: anywhere; }
.metric div, .metric small { color: var(--muted); font-size: 12px; }
.fleet-groups { display: flex; flex-wrap: wrap; gap: 6px; }
button.pill { min-height: 32px; border-radius: 99px; background: transparent; color: var(--soft); }
button[aria-pressed="true"].pill, .segmented button[aria-pressed="true"], .replay-actions button[aria-pressed="true"] {
  background: var(--text); color: var(--body); font-weight: 650;
}
.fleet-list { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 2px; margin: -2px; }
button.fleet-row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; flex: 0 0 auto;
  padding: 8px 11px; border-color: transparent; border-radius: 12px; text-align: left;
}
button.fleet-row[aria-pressed="true"] { background: var(--raised); border-color: var(--accent); }
.fleet-label { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.fleet-label > span, .fleet-label small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fleet-label .model, .fleet-label small { color: var(--muted); font-weight: 400; }
.fleet-label small { font-size: 12px; }
.fleet-speed { white-space: nowrap; font-size: 13px; }

.map-area { position: relative; grid-area: map; min-width: 0; min-height: 0; overflow: hidden; background: var(--map); }
.map-view, .map-tiles, .map-lines, .map-markers { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-view { overflow: hidden; touch-action: none; cursor: grab; }
.map-view:active { cursor: grabbing; }
.map-view:focus-visible { outline-offset: -3px; }
.map-tiles { pointer-events: none; background-size: cover; background-position: center; }
.dark-tiles { filter: invert(.90) hue-rotate(180deg) saturate(.50) brightness(.86); }
.map-tiles img { position: absolute; width: 256px; height: 256px; inset: 0 auto auto 0; user-select: none; }
.map-lines, .map-markers { pointer-events: none; }
.track-line, .speed-line { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.track-origin { fill: var(--map); stroke: var(--accent); stroke-width: 3; }
.track-cursor { fill: var(--accent); stroke: var(--body); stroke-width: 2; }
button.map-marker {
  position: absolute; pointer-events: auto; display: grid; place-items: center; width: 32px; height: 32px;
  min-height: 0; padding: 0; border: 0; border-radius: 100%; transform: translate(-50%, -50%); background: transparent;
}
.map-marker::before {
  content: ''; width: 13px; height: 13px; border-radius: 50%; background: var(--tone);
  box-shadow: 0 0 0 2px #0b111ca0;
}
.map-marker.offline { --tone: #64748b; }
.map-marker:hover::before, .map-marker[aria-pressed="true"]::before { box-shadow: 0 0 0 7px color-mix(in srgb, var(--tone), transparent 73%); }
.map-marker[aria-pressed="true"] { z-index: 1; }
.map-attribution {
  position: absolute; z-index: 2; bottom: 0; right: 0; padding: 2px 6px; border-radius: 4px 0 0 0;
  background: #121a29eb; color: var(--soft); cursor: default; font-size: 11px;
}
.map-attribution a { color: inherit; }
.zoom { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; gap: 8px; }
.zoom button { border-radius: 12px; font-size: 21px; }

.vehicle-overlay {
  position: absolute; z-index: 2; top: 20px; left: 20px; width: 340px; max-width: calc(100% - 97px);
  max-height: calc(100% - 123px); overflow-y: auto; display: flex; flex-direction: column; gap: 11px;
  padding: 17px; border: 1px solid var(--border); border-radius: 18px; background: #121a29ef;
}
.vehicle-heading { display: flex; align-items: flex-start; gap: 8px; }
.vehicle-heading > div { flex: 1; min-width: 0; }
.vehicle-heading h1, .vehicle-heading h2 { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.vehicle-heading p { margin-top: 2px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.badge {
  display: inline-block; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--tone), transparent 86%); font-size: 12px; font-weight: 650;
}
.close-card {
  width: 25px; min-width: 25px; min-height: 25px; border-color: transparent; background: transparent; color: var(--muted);
}
.close-card svg { width: 14px; }
.vehicle-overlay .metric { background: var(--map); padding: 9px; }
.vehicle-overlay .metric strong { font-size: 16px; }
.vehicle-overlay .metric div { font-size: 11px; }
.vehicle-events { display: grid; gap: 7px; font-size: 13px; }
.timeline-row { display: flex; gap: 10px; min-width: 0; }
.timeline-row time { min-width: 42px; flex: 0 0 auto; color: var(--tone, var(--muted)); }
.timeline-row span { overflow-wrap: anywhere; }
.vehicle-state, .vehicle-position { color: var(--muted); font-size: 12px; }
.vehicle-position { overflow-wrap: anywhere; }
.telemetry { font-size: 13px; color: var(--soft); }
.telemetry summary { padding: 3px 0; color: var(--soft); }
.telemetry dl { display: grid; gap: 6px; padding-top: 8px; }
.telemetry dl div { display: grid; grid-template-columns: 44% 1fr; gap: 8px; }
.telemetry dt { color: var(--muted); }
.telemetry dd { margin: 0; overflow-wrap: anywhere; }
.vehicle-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.vehicle-actions button { flex: 1 1 auto; border-radius: 12px; font-weight: 650; padding: 0 9px; }

.replay {
  position: absolute; z-index: 3; bottom: 23px; left: 20px; right: 20px; display: flex; align-items: center;
  gap: 14px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 16px; background: #121a29ef;
}
.play {
  flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 0;
  display: grid; place-items: center; background: var(--accent); color: var(--body);
}
.seek-wrap { flex: 1 1 auto; min-width: 0; }
#seek { width: 100%; display: block; margin: 0; appearance: none; height: 20px; background: transparent; cursor: pointer; }
#seek::-webkit-slider-runnable-track {
  height: 7px; border-radius: 20px; background: linear-gradient(to right, var(--accent) var(--progress, 0%), var(--line) var(--progress, 0%));
}
#seek::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; background: var(--accent); border-radius: 50%; margin-top: -3px; }
#seek::-moz-range-track {
  height: 7px; border-radius: 20px; background: linear-gradient(to right, var(--accent) var(--progress, 0%), var(--line) var(--progress, 0%));
}
#seek::-moz-range-thumb { width: 13px; height: 13px; border: 0; background: var(--accent); border-radius: 50%; }
.replay-actions { display: flex; align-items: center; gap: 6px; }
.replay-actions button { min-height: 34px; padding: 0 8px; }
.replay-actions .icon-btn { width: 30px; min-width: 30px; }

.report-page { width: min(100%, 1408px); margin: 0 auto; padding: 24px; }
.report-top { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 20px; }
.report-heading { flex: 1 1 auto; }
.report-heading h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.report-heading p { margin-top: 4px; color: var(--muted); }
.report-filters, .report-dates { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.report-filters { justify-content: flex-end; }
.report-filters select { max-width: min(210px, 100%); }
.report-filters .primary { min-width: 135px; padding: 0 16px; }
.report-dates { flex: 1 1 100%; justify-content: flex-end; }
.report-device { margin: -8px 0 14px; color: var(--soft); }
.report-device .icon-btn { min-height: 28px; width: 28px; min-width: 28px; }
.report-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.report-metrics .metric { padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.report-metrics .metric div { font-size: 13px; }
.report-metrics .metric strong { font-size: 28px; margin-top: 6px; }
.report-metrics .metric small { display: block; margin-top: 4px; }
.report-charts { display: grid; grid-template-columns: 1.96fr 1fr; gap: 16px; margin: 20px 0; }
.report-charts > section, .report-table { padding: 18px; min-width: 0; }
.panel-header, .chart-axis, .time-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.panel-header span, .chart-axis { color: var(--muted); font-size: 12px; }
.chart-axis { margin-top: 6px; }
.bars { display: flex; gap: 6px; height: 200px; margin-top: 16px; }
.bars > div { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: flex-end; }
.bars > div > div { border-radius: 6px 6px 2px 2px; background: var(--accent); }
.bars .low { background: #334155; }
.time-use { display: flex; flex-direction: column; gap: 12px; }
.time-segments { display: flex; height: 14px; overflow: hidden; border-radius: 999px; }
.time-segments i { background: var(--tone); flex-basis: 0; }
.time-segments .offline { background: #334155; }
.table-scroll { overflow-x: auto; }
.report-table h2 { margin-bottom: 12px; }
table { width: 100%; min-width: 590px; border-collapse: collapse; text-align: left; }
thead th { padding: 10px 8px; color: var(--muted); font-size: 12px; font-weight: 550; }
tbody td, tbody th { padding: 12px 8px; border-top: 1px solid var(--line); }
tbody th { font-weight: 650; }
tbody td { color: var(--soft); }
.daily > .muted { margin-top: 16px; }

.login {
  min-height: 100dvh; display: grid; place-items: center; padding: 18px;
  background: radial-gradient(ellipse at 50% 25%, #123338 0%, var(--body) 58%);
}
.login-panel { width: min(100%, 390px); padding: 30px; }
.login-panel .brand { color: var(--accent); }
.login-panel h1 { margin: 9px 0 22px; font-size: 25px; }
.login-panel form, .date-form { display: grid; gap: 14px; }
.login-panel form > button { margin-top: 4px; }
dialog {
  width: min(530px, calc(100% - 32px)); max-height: 90dvh; padding: 18px; border: 1px solid var(--border);
  border-radius: 16px; background: var(--panel); color: var(--text);
}
dialog::backdrop { background: #060a13b8; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dialog-heading .icon-btn { min-height: 36px; min-width: 36px; width: 36px; }
.date-form .report-dates { justify-content: flex-start; }
.catalog { margin: 0; padding-left: 18px; display: grid; gap: 10px; }

@media (max-width: 1030px) {
  .topbar { gap: 12px; padding-inline: 16px; }
  .topbar nav a, .topbar nav button { padding-inline: 8px; }
  .desktop-search { width: min(24vw, 252px); }
  .map-layout { grid-template-columns: 312px minmax(0, 1fr); }
  .fleet { padding: 14px; }
  .report-metrics .metric strong { font-size: 22px; }
  .report-charts { grid-template-columns: 1.6fr 1fr; }
}

@media (min-width: 761px) and (max-width: 950px) {
  .replay { gap: 8px; padding-inline: 9px; }
  .replay-actions button { padding-inline: 6px; }
  .replay .chart-axis span:nth-child(2), .replay .chart-axis span:nth-child(3) { display: none; }
}

@media (max-width: 760px) {
  :root { --header: 49px; }
  .topbar { min-height: var(--header); padding: 5px 16px; background: var(--map); }
  .topbar .brand { font-size: 16px; }
  .topbar nav { gap: 2px; }
  .topbar nav a { padding: 8px; font-size: 13px; }
  .topbar .nav-extra, .desktop-search, .view-car .topbar { display: none; }
  .avatar { width: 32px; height: 32px; }
  .map-layout {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(230px, 1fr) min(380px, 47dvh);
    grid-template-areas: "map" "fleet"; min-height: 0; background: var(--map);
  }
  .map-area { overflow: visible; }
  .fleet {
    position: relative; z-index: 4; gap: 10px; padding: 9px 16px max(8px, env(safe-area-inset-bottom)); background: var(--panel);
    border: 0; border-top: 1px solid var(--border); border-radius: 24px 24px 0 0;
  }
  .sheet-handle { display: block; width: 40px; height: 4px; flex: 0 0 4px; margin: 0 auto 1px; background: #334155; border-radius: 99px; }
  .fleet-heading { display: flex; align-items: baseline; gap: 6px; justify-content: space-between; }
  .fleet-heading h1 { font-size: 20px; font-weight: 800; white-space: nowrap; }
  #mobile-counts { color: var(--muted); font-size: 12px; text-align: right; }
  #fleet-counts, .fleet-groups:not(.filters-open), .vehicle-overlay { display: none; }
  .fleet-list { gap: 9px; }
  button.fleet-row { background: var(--raised); border-radius: 14px; }
  .fleet-row .model { display: none; }
  .mobile-tools { position: absolute; top: 7px; right: 16px; left: 16px; z-index: 3; display: flex; gap: 8px; }
  .mobile-tools .search-field, .mobile-tools button { min-height: 48px; border-color: var(--border); border-radius: 14px; background: #121a29f0; }
  .mobile-tools .search-field { flex: 1; min-width: 0; }
  .mobile-tools .search-field input { font-size: 16px; }
  .mobile-tools button { width: 48px; }
  .zoom { top: 67px; right: 16px; gap: 4px; }
  .zoom button { width: 36px; min-width: 36px; min-height: 36px; }
  .map-attribution { font-size: 10px; bottom: 2px; right: 16px; }
  .replay { bottom: 21px; left: 12px; right: 12px; padding: 7px; gap: 7px; }
  .replay .play { flex-basis: 36px; width: 36px; min-height: 36px; height: 36px; }
  .replay-actions { gap: 3px; }
  .replay-actions button { min-height: 32px; padding: 0 4px; font-size: 12px; }
  .replay-actions [data-action="hide-track"] { width: 26px; min-width: 26px; }
  .replay .chart-axis span:nth-child(2), .replay .chart-axis span:nth-child(3) { display: none; }
  .mobile-car {
    display: flex; flex-direction: column; gap: 14px; min-height: 100dvh;
    padding: max(45px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  }
  .mobile-car .vehicle-heading { align-items: center; gap: 12px; }
  .mobile-car .vehicle-heading .icon-btn { border: 0; border-radius: 12px; }
  .segmented { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--panel); }
  .segmented button { flex: 1; min-height: 40px; padding-inline: 6px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); }
  .mobile-car .vehicle-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mobile-car .metric { padding: 14px; border-radius: 16px; }
  .mobile-car .metric strong { font-size: 24px; }
  meter { display: block; width: 100%; height: 7px; margin: 7px 0 0; appearance: none; }
  meter::-webkit-meter-bar { height: 6px; border: 0; border-radius: 3px; background: var(--line); }
  meter::-webkit-meter-optimum-value { border-radius: 3px; background: var(--accent); }
  meter::-moz-meter-bar { background: var(--accent); }
  .mobile-car section.panel { padding: 14px; }
  .mobile-car .speed-chart { display: block; width: 100%; height: 84px; margin-top: 8px; }
  .speed-line { stroke-width: 2.4; }
  .speed-limit { stroke: var(--red); stroke-width: 1; stroke-dasharray: 4 4; }
  .mobile-car .vehicle-events { gap: 9px; }
  .mobile-car .telemetry { padding: 0 2px; }
  .mobile-car .vehicle-actions { margin-top: auto; }
  .mobile-car .vehicle-actions .primary { flex-basis: 100%; min-height: 52px; font-size: 15px; }
  .report-page { padding: 18px 16px; }
  .report-heading h1 { font-size: 25px; }
  .report-filters { justify-content: flex-start; }
  .report-filters > label { flex: 1 1 101px; }
  .report-filters select { max-width: 100%; }
  .report-dates { justify-content: flex-start; }
  .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .report-metrics .metric { padding: 13px; }
  .report-charts { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-block: 12px; }
  .bars { height: 145px; gap: 3px; }
}

@media (max-width: 375px) {
  .replay .chart-axis span:last-child { display: none; }
  .fleet-heading h1 { font-size: 17px; }
  #mobile-counts { font-size: 11px; }
}

.track-status {
  position: absolute; z-index: 3; bottom: 23px; left: 16px; right: 16px;
  padding: 10px 12px; border-radius: 10px; background: var(--panel); color: var(--soft);
}

.map-tools {
  position: absolute; z-index: 2; top: 20px; right: 72px;
  display: grid; grid-template-columns: repeat(2, auto); gap: 6px;
}
.map-tools .icon-btn { border-radius: 12px; position: relative; }
.event-count {
  position: absolute; top: 1px; right: 1px; padding: 0 4px; border-radius: 9px;
  background: var(--accent); color: #111827; font-size: 10px; font-weight: 700;
}
.map-hint {
  position: absolute; z-index: 2; right: 20px; top: 160px; max-width: min(250px, 85%);
  padding: 6px 10px; border-radius: 8px; background: var(--panel); text-align: right;
}
.map-view.measuring { cursor: crosshair; }
.measure-line { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 6 4; }
.map-location { fill: #408aff; stroke: #fff; stroke-width: 2; }
.fleet-tools, .fleet-footer, .manage-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fleet-tools { justify-content: flex-end; }
.fleet-footer { margin-top: auto; }
.fleet-footer > button { flex: 1; }
.fleet-filter select { width: 100%; }
.settings-grid, .manage-form { display: grid; gap: 10px; }
.settings-grid > button { text-align: left; }
.manage-form label { display: grid; gap: 4px; }
.manage-form .check-field { display: flex; align-items: center; justify-content: space-between; }
.manage-form input[type=checkbox] { width: 20px; height: 20px; min-height: 0; }
.manage-form textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--raised); color: var(--text); font: inherit;
}
.manage-list, .event-list { padding: 0; margin-top: 12px; list-style: none; }
.manage-list li, .event-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; justify-content: space-between; }
.event-list time { color: var(--muted); }
@media (max-width: 760px) {
  .map-tools { top: 67px; right: 58px; gap: 4px; }
  .map-tools .icon-btn { width: 36px; min-width: 36px; min-height: 36px; }
  .map-hint { top: 190px; right: 16px; }
  .fleet-tools [data-action=filter] { display: none; }
  .fleet-tools .icon-btn, .fleet-footer > button { min-height: 32px; }
}
.vehicle-heading > .icon-btn { width: 32px; min-width: 32px; min-height: 32px; border-radius: 9px; }
@media (min-width: 761px) and (max-width: 1000px) {
  .vehicle-overlay { max-width: calc(100% - 174px); }
}
