:root {
  --yetzer-blue: #005ce6;
  --yetzer-cyan: #00c8e8;
  --yetzer-steel: #647888;
  --bg: #0b1220;
  --panel: #101a2e;
  --line: #2f4569;
  --text: #f5f7fa;
  --muted: #a5b4c5;
  --accent: #7fe3f3;
  --button: #0b1220;
  --active: #152b48;
  --danger: #ffb4ac;
  font-family: "Segoe UI", system-ui, sans-serif;
}
html[data-theme=light] {
  --bg: #f5f7fa;
  --panel: #ffffff;
  --line: #c3d1e2;
  --text: #0b1220;
  --muted: #455971;
  --accent: #0057ce;
  --button: #ffffff;
  --active: #e5f0ff;
  --danger: #a52329;
}
body {
  background: radial-gradient(ellipse at 80% 0, color-mix(in srgb, var(--yetzer-blue) 12%, transparent), transparent 70%) no-repeat var(--bg);
  background-size: 100% 580px;
}
header { padding-top: 14px; padding-bottom: 14px; }
.brand { gap: 10px; letter-spacing: -.025em; font-size: 1.12rem; }
.brand img { display: block; width: 42px; height: 42px; }
.brand b { color: var(--accent); }
.brand small { letter-spacing: .1em; font-size: .61rem; }
#theme { width: 44px; padding: 0; font-size: 1.25rem; }
#account {
  width: min(100%, 1040px);
  margin: auto;
  padding: 8px clamp(16px, 4vw, 38px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: .84rem;
}
#account button { color: var(--accent); }
#account + main { padding-top: 12px; }
h1 { letter-spacing: -.045em; font-weight: 750; }
h2 { letter-spacing: -.015em; }
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(125deg, #101a2e 23%, #122c56 100%);
  color: #f5f7fa;
}
.hero::before, .hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
}
.hero::before {
  background: #005ce6;
  opacity: .23;
  clip-path: polygon(58% 100%, 100% 18%, 100% 39%, 70% 100%);
}
.hero::after {
  background: #00c8e8;
  opacity: .12;
  clip-path: polygon(79% 100%, 100% 59%, 100% 67%, 84% 100%);
}
.hero h2, .hero small { color: #d8e1ec; }
.hero strong { color: #7fe3f3; }
.hero strong, .metric strong, .row strong { font-variant-numeric: tabular-nums; }
.panel { border-radius: 15px; overflow-wrap: anywhere; }
nav { padding-inline: 4px; gap: 2px; }
nav a { border-radius: 10px; }
nav a[aria-current] { background: var(--active); box-shadow: inset 0 2px 0 var(--accent); }
nav a[href="#abastecimentos"] { font-weight: 750; }
.error { color: var(--danger); }
.import-preview { max-height: 32vh; overflow: auto; padding-inline: 3px; }
.gps-distance { display: block; margin: 0 0 10px; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.gps-route { width: 100%; display: block; border: 1px solid var(--line); border-radius: 12px; background: var(--active); }
.gps-route path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pause-actions { margin-top: 12px; }
details summary { color: var(--accent); cursor: pointer; }
details ul { margin-block: 4px; padding-inline-start: 18px; font-size: .82rem; color: var(--muted); }
@media (min-width: 740px) {
  .hero { min-height: 190px; padding: 22px; }
  .hero h2 { margin-bottom: 8px; }
}

