/* TowSizing — Rugged Automotive Instrument Cluster Design Language */
body.theme-auto-gauge {
  --bg: #f5f5f4;
  --surface: #ffffff;
  --surface-alt: #e7e5e4;
  --ink: #18181b;
  --ink-muted: #52525b;
  --border: #d6d3d1;
  --accent: #d97706;
  --accent-dark: #b45309;
  --accent-soft: #fef3c7;
  --radius: 8px;
}

body.theme-auto-gauge .site-header {
  background: #18181b;
  border-bottom: 4px solid #f59e0b;
}

body.theme-auto-gauge .brand,
body.theme-auto-gauge .brand__text strong {
  color: #fafaf9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.theme-auto-gauge .brand__text span {
  color: #a1a1aa;
}

body.theme-auto-gauge .brand__mark {
  background: #f59e0b;
  color: #18181b;
  border-radius: 5px;
  font-weight: 900;
}

body.theme-auto-gauge .site-nav__link {
  color: #d4d4d8;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

body.theme-auto-gauge .site-nav__link:hover,
body.theme-auto-gauge .site-nav__link.is-active {
  background: #27272a;
  color: #fbbf24;
}

body.theme-auto-gauge .hero {
  background: linear-gradient(125deg, #18181b 0%, #292524 62%, #451a03 100%);
  border-left: 6px solid #f59e0b;
  border-radius: 10px;
}

body.theme-auto-gauge .hero__eyebrow {
  color: #fbbf24;
  letter-spacing: 0.09em;
}

body.theme-auto-gauge .card {
  border-top: 3px solid #27272a;
}

body.theme-auto-gauge .result-panel {
  background: #18181b;
  color: #fafaf9;
  border: 2px solid #f59e0b;
}

body.theme-auto-gauge .result-panel .kpi {
  background: #27272a;
  border: 1px solid #3f3f46;
}

body.theme-auto-gauge .result-panel .kpi__label,
body.theme-auto-gauge .result-panel .ux-gauge__sub,
body.theme-auto-gauge .result-panel .muted {
  color: #a1a1aa;
}

body.theme-auto-gauge .result-panel .kpi__val,
body.theme-auto-gauge .result-panel .ux-bar-head,
body.theme-auto-gauge .result-panel .ux-bar-head strong,
body.theme-auto-gauge .result-panel text {
  color: #fafaf9;
  fill: #fafaf9;
}

body.theme-auto-gauge .result-panel .ux-bar-track {
  background: #3f3f46;
}

body.theme-auto-gauge .result-panel .ux-gauge path:first-of-type {
  stroke: #3f3f46;
}

body.theme-auto-gauge .result-panel .loss-alert {
  background: rgba(220, 38, 38, 0.18);
  border-color: #f87171;
  color: #fecaca;
}

body.theme-auto-gauge .result-panel .notice-box {
  background: #27272a;
  color: #fde68a;
  border-left-color: #f59e0b;
}

body.theme-auto-gauge .result-panel .notice-box--fail {
  background: rgba(220, 38, 38, 0.2);
  color: #fecaca;
  border-left-color: #f87171;
}

body.theme-auto-gauge .result-panel .notice-box--pass {
  background: rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
  border-left-color: #34d399;
}

body.theme-auto-gauge .result-panel .btn--secondary {
  background: #27272a;
  color: #fafaf9;
  border-color: #52525b;
}

body.theme-auto-gauge .result-panel .btn--secondary:hover {
  background: #3f3f46;
}

body.theme-auto-gauge .btn--primary {
  background: #d97706;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
}

body.theme-auto-gauge .btn--primary:hover {
  background: #b45309;
}

body.theme-auto-gauge .preset-chip.is-active {
  background: #d97706;
  border-color: #d97706;
  color: #ffffff;
}

body.theme-auto-gauge .hero__media {
  border: 2px solid #f59e0b;
  border-radius: 6px;
}

body.theme-auto-gauge .site-footer {
  background: #09090b;
  border-top: 4px solid #f59e0b;
}
