:root {
  color-scheme: dark;
  --bg: #03070c;
  --panel: rgba(8, 17, 27, 0.74);
  --panel-strong: rgba(7, 13, 20, 0.9);
  --line: rgba(126, 217, 255, 0.3);
  --cyan: #50d7ff;
  --green: #98ff43;
  --gold: #ffc74f;
  --text: #f6fbff;
  --muted: #b8c7d4;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 116px clamp(22px, 5vw, 76px) 104px;
}

.hero__image,
.hero__shade,
.orbital-grid {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -4;
  background:
    image-set(url("assets/hero-motorhome.png") type("image/png")) center / cover
      no-repeat;
  transform: scale(1.02);
}

.hero__shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.92) 0%, rgba(4, 10, 17, 0.74) 36%, rgba(4, 10, 17, 0.18) 70%),
    linear-gradient(180deg, rgba(2, 5, 9, 0.42), rgba(2, 5, 9, 0.88));
}

.orbital-grid {
  z-index: -2;
  background-image:
    linear-gradient(rgba(80, 215, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 215, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(22px, 5vw, 76px);
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(4, 15, 25, 0.72);
  box-shadow: 0 0 28px rgba(80, 215, 255, 0.24);
}

.brand__text {
  font-size: 1rem;
}

.status-pill,
.chip {
  border: 1px solid rgba(152, 255, 67, 0.35);
  background: rgba(9, 31, 22, 0.72);
  color: #dcffd3;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  backdrop-filter: blur(18px);
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(152, 255, 67, 0.7);
  animation: pulse 1.8s infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(930px, 62vw);
  max-width: 930px;
  padding-top: 20px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

h1 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(2.05rem, 2.55vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: 0;
  white-space: nowrap;
}

.lede {
  max-width: 820px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.28vw, 1.22rem);
  line-height: 1.58;
}

.privacy-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.privacy-points span { padding: 7px 10px; border: 1px solid rgba(152,255,67,0.36); color: #dcffd3; background: rgba(9,31,22,0.62); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.learning-note {
  max-width: 820px;
  margin: 15px 0 0;
  padding-left: 13px;
  border-left: 3px solid rgba(152, 255, 67, 0.64);
  color: #dff8db;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.48;
  text-shadow: 0 0 18px rgba(4, 12, 9, 0.72);
}

.resale-note {
  max-width: 820px;
  margin: 12px 0 0;
  padding: 10px 13px;
  border: 1px solid rgba(255, 199, 79, 0.34);
  background: rgba(25, 18, 5, 0.42);
  color: #fff1c2;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.42;
  text-shadow: 0 0 18px rgba(4, 12, 9, 0.72);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.button--primary {
  background: linear-gradient(135deg, #48d7ff, #78ff57);
  color: #03100e;
  border: 0;
  box-shadow: 0 0 38px rgba(80, 215, 255, 0.34);
}

.button--ghost {
  background: rgba(5, 14, 23, 0.68);
  backdrop-filter: blur(18px);
}

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chip {
  padding: 6px 9px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.coach-intel-visual {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 5vw, 76px);
  top: 142px;
  width: min(26vw, 430px);
  min-width: 340px;
  aspect-ratio: 1.72;
  pointer-events: none;
  opacity: 0.94;
}

.coach-intel-visual svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 26px rgba(80, 215, 255, 0.18));
}

.coach-outline,
.coach-scan,
.coach-windshield,
.coach-side-window,
.coach-service-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach-outline {
  stroke: rgba(230, 248, 255, 0.68);
  stroke-width: 5;
  filter: drop-shadow(0 0 12px rgba(80, 215, 255, 0.2));
}

.coach-scan {
  stroke: var(--green);
  stroke-width: 8;
  stroke-dasharray: 82 1120;
  stroke-dashoffset: 0;
  animation: coachSystemsSweep 7.2s linear infinite;
  filter:
    drop-shadow(0 0 9px rgba(152,255,67,0.95))
    drop-shadow(0 0 28px rgba(152,255,67,0.55));
}

.coach-windshield,
.coach-side-window,
.coach-service-line {
  stroke: rgba(80, 215, 255, 0.34);
  stroke-width: 3;
}

.scan-dot {
  fill: var(--green);
  stroke: rgba(234,255,241,0.95);
  stroke-width: 2;
  transform-origin: center;
  opacity: 0.2;
  animation: scanDotPulse 7.2s linear infinite;
  filter: drop-shadow(0 0 14px rgba(152,255,67,0.74));
}

.scan-dot--front { animation-delay: 0.15s; }
.scan-dot--engine { animation-delay: 1.35s; }
.scan-dot--tanks { animation-delay: 2.75s; }
.scan-dot--power { animation-delay: 4.2s; }
.scan-dot--tpms { animation-delay: 5.45s; }

.sensor-pop,
.intel-core {
  position: absolute;
  color: #eafff1;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}

.sensor-pop {
  padding: 8px 10px;
  border: 1px solid rgba(152,255,67,0.42);
  border-radius: 999px;
  background: rgba(1, 9, 14, 0.72);
  box-shadow: 0 0 22px rgba(152,255,67,0.16);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.14;
  transform: translateY(4px) scale(0.96);
  animation: sensorPop 7.2s linear infinite;
}

.sensor-pop--front { top: 4%; left: 12%; animation-delay: 0.15s; }
.sensor-pop--engine { top: 18%; right: 1%; animation-delay: 1.35s; }
.sensor-pop--tanks { right: -1%; bottom: 28%; animation-delay: 2.75s; }
.sensor-pop--power { right: 15%; bottom: 3%; animation-delay: 4.2s; }
.sensor-pop--tpms { left: 6%; bottom: 4%; animation-delay: 5.45s; }

.intel-core {
  left: 50%;
  bottom: -8px;
  translate: -50% 0;
  width: max-content;
  color: #dcffd3;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: coreScan 4.8s ease-in-out infinite;
}

.hero__footer {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 76px);
  right: clamp(22px, 5vw, 76px);
  bottom: 24px;
  min-height: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--muted);
  overflow: hidden;
}

.ticker {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: glide 28s linear infinite;
}

.ticker span {
  position: relative;
  font-weight: 800;
}

.ticker span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(80, 215, 255, 0.8);
}

.cockpit {
  padding: 88px clamp(18px, 4vw, 64px) 96px;
  background:
    radial-gradient(circle at 20% 0%, rgba(80, 215, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #03070c 0%, #07111b 100%);
}

.section-heading {
  max-width: min(1320px, 100%);
  margin: 0 auto 32px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.35vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.dash-frame {
  max-width: 1420px;
  min-height: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
  border: 1px solid rgba(80, 215, 255, 0.24);
  background: rgba(2, 7, 13, 0.92);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.55);
}

.dash-nav {
  display: grid;
  grid-template-rows: auto repeat(6, 54px) 1fr;
  gap: 10px;
  padding: 18px 14px;
  border-right: 1px solid rgba(80, 215, 255, 0.22);
  background: rgba(3, 10, 18, 0.86);
}

.dash-nav__brand {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.dash-nav__brand span {
  width: 54px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(80, 215, 255, 0.32);
  font-weight: 900;
}

.dash-nav__brand strong,
.dash-nav__item,
.panel-title,
.gauge-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.dash-nav__item {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.82rem;
}

.dash-nav__item--active {
  color: var(--text);
  border-color: rgba(80, 215, 255, 0.42);
  background: linear-gradient(90deg, rgba(0, 134, 255, 0.7), rgba(80, 215, 255, 0.1));
  box-shadow: 0 0 28px rgba(80, 215, 255, 0.24);
}

.dash-nav__status {
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.dash-nav__status strong {
  display: block;
  font-size: 2rem;
}

.dash-nav__status span {
  color: var(--muted);
  font-size: 0.82rem;
}

.dash-main {
  display: grid;
  grid-template-columns: minmax(590px, 1.12fr) minmax(420px, 0.88fr);
  gap: 14px;
  padding: 14px;
}

.dash-left {
  display: grid;
  grid-template-rows: minmax(450px, 1fr) 370px;
  gap: 14px;
}

.dash-cluster,
.map-panel,
.tpms-panel {
  border: 1px solid rgba(80, 215, 255, 0.2);
  background: rgba(6, 16, 27, 0.82);
}

.dash-cluster {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: 1fr auto;
  gap: 14px;
  padding: 18px;
}

.gauge-card {
  min-width: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(12, 26, 39, 0.9), rgba(3, 9, 16, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gauge-card--speed {
  display: grid;
  align-content: center;
}

.gauge-label {
  color: var(--cyan);
  font-size: 0.8rem;
}

.speed-gauge {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 1.6;
  margin: 26px auto 18px;
  display: grid;
  place-items: center;
}

.speed-arc {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 30px 30px;
  background:
    conic-gradient(from 225deg, #77ff56 0deg, #77ff56 92deg, #ffe45f 114deg, #ff504c 136deg, transparent 137deg),
    radial-gradient(circle at 50% 78%, rgba(4, 12, 20, 1) 0 38%, transparent 39%);
  filter: drop-shadow(0 0 22px rgba(119, 255, 86, 0.32));
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 72%);
}

.speed-gauge strong {
  z-index: 1;
  font-size: clamp(4.4rem, 9vw, 7.8rem);
  line-height: 0.8;
}

.speed-gauge span {
  z-index: 1;
  align-self: end;
  margin-bottom: 26px;
  color: var(--cyan);
  font-weight: 900;
}

.gauge-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.mini-gauges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-gauge {
  min-height: 122px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.mini-gauge span,
.range-summary span,
.tpms-note,
.fuel-tag strong,
.map-card span {
  color: var(--muted);
}

.mini-gauge strong {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.mini-gauge--green {
  box-shadow: inset 4px 0 0 rgba(152, 255, 67, 0.88);
}

.mini-gauge--yellow {
  box-shadow: inset 4px 0 0 rgba(255, 199, 79, 0.92);
}

.range-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.range-summary div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.range-summary span,
.range-summary strong {
  display: block;
}

.range-summary strong {
  margin-top: 8px;
  color: var(--green);
  font-size: 1.7rem;
}

.map-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 24%, rgba(115, 152, 76, 0.72), transparent 22%),
    radial-gradient(ellipse at 76% 68%, rgba(141, 101, 54, 0.66), transparent 24%),
    radial-gradient(ellipse at 58% 42%, rgba(75, 120, 78, 0.7), transparent 23%),
    linear-gradient(135deg, #28482f, #3c5129 34%, #263d2b 64%, #59452a);
}

.map-terrain {
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(ellipse at 16% 12%, transparent 0 20px, rgba(231, 218, 165, 0.26) 21px 22px, transparent 23px 35px),
    repeating-radial-gradient(ellipse at 76% 66%, transparent 0 25px, rgba(231, 218, 165, 0.2) 26px 27px, transparent 28px 43px);
  opacity: 0.7;
}

.map-road {
  position: absolute;
  height: 5px;
  background: rgba(255, 239, 191, 0.72);
  border: 1px solid rgba(74, 60, 36, 0.72);
  border-radius: 999px;
  opacity: 0.72;
}

.map-road--one {
  width: 74%;
  top: 30%;
  right: -7%;
  transform: rotate(-25deg);
}

.map-road--two {
  width: 84%;
  left: -13%;
  top: 68%;
  transform: rotate(18deg);
}

.map-road--three {
  width: 58%;
  right: -7%;
  top: 80%;
  transform: rotate(-9deg);
}

.route-path {
  position: absolute;
  width: 23%;
  height: 96%;
  left: 34%;
  bottom: -4%;
  border-right: 12px solid #2bb6ff;
  border-radius: 36% 52% 42% 58%;
  filter: drop-shadow(0 0 12px rgba(80, 215, 255, 0.9));
  transform: rotate(-9deg);
}

.route-path::after {
  content: "";
  position: absolute;
  inset: 0 -8px 0 auto;
  width: 4px;
  border-radius: 999px;
  background: rgba(220, 250, 255, 0.86);
}

.route-node {
  position: absolute;
  right: -20px;
  width: 24px;
  height: 24px;
  border: 3px solid #f7fff2;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(152, 255, 67, 0.82);
}

.route-node--start {
  bottom: 5%;
}

.route-node--one {
  bottom: 38%;
}

.route-node--two {
  bottom: 61%;
}

.route-node--three {
  bottom: 82%;
  background: var(--gold);
}

.map-heading {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  gap: 5px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 12, 13, 0.78);
}

.map-heading span,
.highway-shield {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-heading span {
  color: var(--cyan);
  letter-spacing: 0.12em;
}

.highway-shield,
.map-place {
  position: absolute;
  z-index: 1;
}

.highway-shield {
  padding: 7px 8px;
  border-radius: 12px;
  color: #fff;
  background: #174c97;
  border: 2px solid rgba(255, 255, 255, 0.86);
}

.highway-shield--one {
  left: 28%;
  top: 44%;
}

.highway-shield--two {
  right: 12%;
  bottom: 29%;
}

.map-place {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 800;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.map-place--one {
  left: 12%;
  top: 24%;
}

.map-place--two {
  left: 15%;
  top: 59%;
}

.map-place--three {
  right: 7%;
  bottom: 17%;
}

.fuel-tag,
.map-card {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(152, 255, 67, 0.55);
  background: rgba(4, 13, 9, 0.86);
  box-shadow: 0 0 24px rgba(152, 255, 67, 0.18);
}

.fuel-tag {
  width: 144px;
}

.fuel-tag span {
  color: var(--text);
  font-size: 1.42rem;
  font-weight: 900;
}

.fuel-tag small {
  color: #dcffd3;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fuel-tag--one {
  top: 17%;
  right: 7%;
}

.fuel-tag--two {
  top: 43%;
  right: 5%;
}

.fuel-tag--three {
  top: 69%;
  right: 6%;
  border-color: rgba(255, 199, 79, 0.75);
}

.map-card {
  left: 8%;
  bottom: 9%;
  width: 238px;
}

.map-card strong {
  color: var(--green);
  font-size: 2.5rem;
}

.tpms-panel {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cyan);
  font-size: 0.82rem;
}

.panel-title strong {
  color: var(--green);
}

.tpms-layout {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 24px;
  align-items: center;
}

.coach-diagram {
  position: relative;
  width: 330px;
  height: 288px;
  margin: 12px auto 0;
}

.coach-shell {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 86px;
  right: 86px;
  z-index: 2;
  overflow: hidden;
  border: 2px solid rgba(80, 215, 255, 0.66);
  border-radius: 52px 52px 16px 16px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(80, 215, 255, 0.22) 49% 51%, transparent 52%),
    linear-gradient(180deg, rgba(42, 95, 120, 0.42), rgba(10, 24, 36, 0.9));
  box-shadow:
    inset 0 0 24px rgba(80, 215, 255, 0.12),
    0 0 24px rgba(80, 215, 255, 0.14);
}

.coach-windshield {
  height: 46px;
  border-bottom: 2px solid rgba(80, 215, 255, 0.5);
  background: rgba(80, 215, 255, 0.18);
}

.coach-shell span {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
}

.coach-shell__label {
  top: 48%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.coach-shell__front,
.coach-shell__rear {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
}

.coach-shell__front {
  top: 63px;
}

.coach-shell__rear {
  bottom: 14px;
}

.diagram-axle {
  position: absolute;
  left: 58px;
  right: 58px;
  height: 5px;
  z-index: 1;
  background: rgba(184, 199, 212, 0.5);
}

.diagram-axle--front {
  top: 76px;
}

.diagram-axle--rear {
  bottom: 54px;
}

.tpms-tire {
  position: absolute;
  z-index: 3;
  width: 38px;
  height: 64px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  border-radius: 8px;
  color: #021007;
  font-weight: 900;
}

.tpms-tire span {
  font-size: 0.58rem;
}

.tpms-tire strong {
  font-size: 0.9rem;
}

.tire--green {
  background: var(--green);
  box-shadow: 0 0 18px rgba(152, 255, 67, 0.5);
}

.tire--yellow {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(255, 199, 79, 0.6);
}

.tpms-tire--front-left {
  top: 45px;
  left: 47px;
}

.tpms-tire--front-right {
  top: 45px;
  right: 47px;
}

.tpms-tire--rear-left-outer {
  bottom: 21px;
  left: 3px;
}

.tpms-tire--rear-left-inner {
  bottom: 21px;
  left: 46px;
}

.tpms-tire--rear-right-inner {
  right: 46px;
  bottom: 21px;
}

.tpms-tire--rear-right-outer {
  right: 3px;
  bottom: 21px;
}

.tpms-summary {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(255, 199, 79, 0.34);
  background: rgba(255, 199, 79, 0.08);
}

.tpms-summary__eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tpms-summary strong {
  color: var(--text);
  font-size: 1.28rem;
}

.tpms-summary__value {
  color: var(--gold);
  font-size: 2.25rem;
  font-weight: 900;
}

.tpms-summary p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.38;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(152, 255, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(152, 255, 67, 0);
  }
}

@keyframes glide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes coachSystemsSweep {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -1202;
  }
}

@keyframes scanDotPulse {
  0%, 13%, 100% {
    opacity: 0.22;
    scale: 1;
  }
  5% {
    opacity: 1;
    scale: 1.7;
  }
}

@keyframes sensorPop {
  0%, 14%, 100% {
    opacity: 0.14;
    transform: translateY(4px) scale(0.96);
  }
  5%, 10% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes coreScan {
  0%, 100% {
    opacity: 0.62;
    text-shadow: 0 0 16px rgba(152,255,67,0.18);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 26px rgba(152,255,67,0.58);
  }
}

@keyframes speedometerCautionBreath {
  0%, 100% {
    box-shadow:
      inset 0 0 22px rgba(255, 199, 79, 0.12),
      inset 0 0 44px rgba(80, 215, 255, 0.12),
      0 0 8px rgba(255, 199, 79, 0.58),
      0 0 22px rgba(255, 199, 79, 0.28),
      0 0 48px rgba(255, 199, 79, 0.12);
  }
  50% {
    box-shadow:
      inset 0 0 26px rgba(255, 199, 79, 0.22),
      inset 0 0 44px rgba(80, 215, 255, 0.12),
      0 0 12px rgba(255, 199, 79, 0.9),
      0 0 34px rgba(255, 199, 79, 0.52),
      0 0 74px rgba(255, 199, 79, 0.24);
  }
}

@media (max-width: 980px) {
  .hero {
    align-items: start;
    padding-top: 104px;
    padding-bottom: 360px;
  }

  h1,
  h2 {
    white-space: normal;
  }

  .hero__content {
    width: min(760px, 100%);
    max-width: 760px;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(2, 7, 13, 0.92) 0%, rgba(4, 10, 17, 0.68) 48%, rgba(4, 10, 17, 0.9) 100%),
      linear-gradient(90deg, rgba(2, 7, 13, 0.82), rgba(2, 7, 13, 0.25));
  }

  .coach-intel-visual {
    top: auto;
    right: 18px;
    bottom: 76px;
    left: 18px;
    width: auto;
    min-width: 0;
    height: 250px;
    opacity: 0.92;
  }

  .intel-core {
    font-size: 0.66rem;
  }

  .dash-frame,
  .dash-main,
  .dash-cluster {
    grid-template-columns: 1fr;
  }

  .dash-frame {
    min-height: 0;
  }

  .dash-nav {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .dash-nav__brand,
  .dash-nav__status {
    grid-column: 1 / -1;
  }

  .dash-main {
    grid-template-rows: auto;
  }

  .dash-left {
    grid-template-rows: auto auto;
  }

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

@media (max-width: 620px) {
  .topbar {
    padding-top: 18px;
  }

  .status-pill {
    display: none;
  }

  h1 {
    font-size: clamp(2.72rem, 15vw, 4.4rem);
    line-height: 0.95;
  }

  .coach-intel-visual {
    height: 200px;
    bottom: 74px;
    opacity: 0.72;
  }

  .sensor-pop {
    font-size: 0.58rem;
    padding: 6px 8px;
  }

  .intel-core {
    display: none;
  }

  .actions {
    display: grid;
  }

  .range-summary,
  .mini-gauges {
    grid-template-columns: 1fr;
  }

  .dash-nav {
    grid-template-columns: 1fr 1fr;
  }

  .tpms-layout {
    grid-template-columns: 1fr;
  }

  .coach-diagram {
    transform: scale(0.88);
    transform-origin: top center;
  }

  .fuel-tag span {
    font-size: 1.2rem;
  }
}

/* Cockpit approval mockup */
.cockpit-screen {
  width: min(1500px, 100%);
  aspect-ratio: 16 / 9;
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 172px minmax(0, 1.18fr) minmax(390px, 0.92fr);
  grid-template-rows: minmax(0, 1fr) 160px;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(80, 215, 255, 0.32);
  border-radius: 24px;
  overflow: hidden;
  background: #02070c;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.62);
}

.screen-nav,
.range-dashboard,
.screen-map,
.fuel-strip,
.impact-panel,
.tpms-mini {
  border: 1px solid rgba(80, 215, 255, 0.22);
  background: rgba(4, 12, 20, 0.96);
}

.screen-nav {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 10px;
  border-radius: 16px;
}

.screen-nav__brand {
  display: grid;
  gap: 10px;
  padding: 0 4px 12px;
}

.screen-nav__brand span {
  width: 46px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-weight: 900;
}

.screen-nav__brand strong,
.screen-nav__item,
.strip-title,
.screen-map__title span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-nav__item {
  min-height: 49px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
}

.screen-nav__item--active {
  color: #fff;
  border-color: rgba(80, 215, 255, 0.48);
  background: linear-gradient(90deg, rgba(0, 128, 255, 0.82), rgba(0, 128, 255, 0.15));
  box-shadow: 0 0 22px rgba(0, 128, 255, 0.26);
}

.screen-nav__status {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 4px;
  margin-top: auto;
  padding: 16px 6px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.screen-nav__status strong {
  font-size: 1.7rem;
}

.screen-nav__status span {
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.screen-nav__status small {
  grid-column: 1 / -1;
  color: var(--cyan);
}

.range-dashboard {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 48% 59%, rgba(14, 50, 53, 0.56), transparent 31%),
    linear-gradient(180deg, rgba(6, 20, 31, 0.98), rgba(2, 7, 13, 0.98));
}

.range-dashboard__mode {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  min-width: 270px;
  padding: 8px 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(80, 215, 255, 0.4);
  border-radius: 0 0 20px 20px;
  color: #f8fdff;
  background: rgba(5, 15, 24, 0.94);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.range-dashboard__headline {
  position: absolute;
  top: 55px;
  left: 20px;
  right: 142px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
  text-transform: uppercase;
}

.range-dashboard__headline span {
  color: #f2f8fc;
  font-size: clamp(1.2rem, 2vw, 1.68rem);
  font-weight: 900;
}

.range-dashboard__headline strong {
  display: none;
}

.range-dashboard__headline small {
  font-size: 0.23em;
}

.range-dashboard__arc {
  position: absolute;
  left: 5%;
  right: 20%;
  bottom: 88px;
  height: 57%;
}

.range-dashboard__arc-fill {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(3, 10, 16, 1) 0 57%, transparent 58%),
    conic-gradient(from 270deg at 50% 100%, #ff3939 0 22deg, #ffb522 22deg 57deg, #aaff39 57deg 129deg, transparent 129deg);
  filter: drop-shadow(0 0 16px rgba(152, 255, 67, 0.36));
}

.arc-label {
  position: absolute;
  bottom: -18px;
  z-index: 2;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.arc-label--zero { left: 0; }
.arc-label--sixty { left: 21%; bottom: 22%; }
.arc-label--one-twenty { left: 48%; bottom: 39%; color: #fff; }
.arc-label--one-eighty { right: 19%; bottom: 20%; }
.arc-label--two-forty { right: 0; }

.arc-core {
  position: absolute;
  left: 50%;
  bottom: -7px;
  z-index: 3;
  width: 132px;
  height: 114px;
  display: grid;
  align-content: center;
  justify-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(152, 255, 67, 0.36);
  border-radius: 90px 90px 12px 12px;
  background: rgba(3, 13, 16, 0.94);
  color: var(--green);
}

.arc-core strong {
  color: var(--green);
  font-size: 3.35rem;
  line-height: 0.9;
  text-shadow: 0 0 16px rgba(152, 255, 67, 0.58);
}

.arc-core span { color: var(--cyan); font-size: 0.82rem; font-weight: 900; }

.range-side {
  position: absolute;
  top: 60px;
  right: 14px;
  width: 132px;
  display: grid;
  gap: 8px;
}

.range-side div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(2, 8, 14, 0.86);
}

.range-side span,
.driving-stats span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.range-side strong { font-size: 1.65rem; }
.range-side small { color: var(--cyan); font-weight: 900; }

.driving-stats {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.driving-stats div {
  display: grid;
  gap: 5px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 18, 27, 0.94);
}

.driving-stats strong {
  color: var(--green);
  font-size: 1.28rem;
  text-transform: uppercase;
}

.driving-stats small { color: var(--cyan); font-size: 0.58em; }

.instrument-cluster {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 10px;
  padding: 48px 12px 12px;
}

.speedometer-panel,
.fuel-tile,
.aux-gauges {
  border: 1px solid rgba(80, 215, 255, 0.18);
  background: rgba(3, 10, 17, 0.88);
}

.cluster-label {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.speedometer-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 12px;
}

.coach-health-gauges {
  position: absolute;
  top: 62px;
  bottom: 28px;
  left: 18px;
  z-index: 8;
  width: 116px;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.health-gauge {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
}

.health-gauge > span {
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.health-gauge__dial {
  position: relative;
  width: 84px;
  height: 84px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 3px solid rgba(80, 215, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(4, 13, 20, 0.98) 0 68%, transparent 69%),
    conic-gradient(from 270deg, var(--green) 0 180deg, rgba(255, 255, 255, 0.06) 180deg 360deg);
  box-shadow: 0 0 11px rgba(152, 255, 67, 0.14);
}

.health-gauge__hashes {
  position: absolute;
  inset: 6px;
  z-index: 1;
  border-radius: 50%;
}

.health-gauge__hashes b {
  --health-tick-angle: calc(-90deg + ((var(--health-tick-index) - 1) * 22.5deg));
  position: absolute;
  top: 50%;
  left: calc(50% - 1px);
  width: 2px;
  height: 5px;
  border-radius: 999px;
  background: rgba(231, 255, 224, 0.9);
  box-shadow: 0 0 4px rgba(152, 255, 67, 0.56);
  transform:
    translateY(-50%)
    rotate(var(--health-tick-angle))
    translateY(-32px);
  transform-origin: 1px 50%;
}

.health-gauge__hashes b:nth-child(1) { --health-tick-index: 1; }
.health-gauge__hashes b:nth-child(2) { --health-tick-index: 2; }
.health-gauge__hashes b:nth-child(3) { --health-tick-index: 3; }
.health-gauge__hashes b:nth-child(4) { --health-tick-index: 4; }
.health-gauge__hashes b:nth-child(5) { --health-tick-index: 5; }
.health-gauge__hashes b:nth-child(6) { --health-tick-index: 6; }
.health-gauge__hashes b:nth-child(7) { --health-tick-index: 7; }
.health-gauge__hashes b:nth-child(8) { --health-tick-index: 8; }
.health-gauge__hashes b:nth-child(9) { --health-tick-index: 9; }

.health-gauge__hashes b:nth-child(odd) {
  height: 8px;
}

.health-gauge--normal .health-gauge__dial {
  box-shadow:
    inset 0 0 10px rgba(152, 255, 67, 0.08),
    0 0 5px rgba(152, 255, 67, 0.42),
    0 0 15px rgba(152, 255, 67, 0.14);
}

.health-gauge--watch .health-gauge__dial {
  border-color: rgba(255, 199, 79, 0.62);
  background:
    radial-gradient(circle, rgba(4, 13, 20, 0.98) 0 68%, transparent 69%),
    conic-gradient(from 270deg, var(--gold) 0 180deg, rgba(255, 255, 255, 0.06) 180deg 360deg);
  box-shadow:
    inset 0 0 10px rgba(255, 199, 79, 0.08),
    0 0 5px rgba(255, 199, 79, 0.5),
    0 0 15px rgba(255, 199, 79, 0.18);
}

.health-gauge--critical .health-gauge__dial {
  border-color: rgba(255, 81, 72, 0.72);
  background:
    radial-gradient(circle, rgba(4, 13, 20, 0.98) 0 68%, transparent 69%),
    conic-gradient(from 270deg, #ff5148 0 180deg, rgba(255, 255, 255, 0.06) 180deg 360deg);
  box-shadow:
    inset 0 0 10px rgba(255, 81, 72, 0.1),
    0 0 7px rgba(255, 81, 72, 0.62),
    0 0 19px rgba(255, 81, 72, 0.24);
}

.health-gauge__dial::before {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  bottom: 50%;
  z-index: 2;
  width: 4px;
  height: 29%;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 6px rgba(152, 255, 67, 0.78);
  transform: rotate(28deg);
  transform-origin: bottom center;
}

.health-gauge__dial::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  left: calc(50% - 5px);
  z-index: 3;
  width: 10px;
  height: 10px;
  border: 2px solid #eaffff;
  border-radius: 50%;
  background: #0b2830;
}

.health-gauge__dial strong {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 4;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  text-align: center;
}

.health-gauge__dial small {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  z-index: 4;
  color: var(--cyan);
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.health-gauge__dial--trans::before {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(255, 199, 79, 0.78);
}

.speedometer-dial {
  position: relative;
  width: min(390px, 94%);
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  transform: translateX(58px);
  border: 6px solid rgba(152, 255, 67, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(5, 16, 24, 0.98) 0 69%, transparent 70%),
    conic-gradient(from 218deg, rgba(255, 84, 78, 0.78) 0 28deg, rgba(255, 199, 79, 0.82) 28deg 63deg, rgba(152, 255, 67, 0.86) 63deg 246deg, rgba(255, 255, 255, 0.08) 246deg 360deg);
  box-shadow:
    inset 0 0 22px rgba(152, 255, 67, 0.12),
    inset 0 0 44px rgba(80, 215, 255, 0.14),
    0 0 8px rgba(152, 255, 67, 0.64),
    0 0 24px rgba(152, 255, 67, 0.3),
    0 0 54px rgba(152, 255, 67, 0.12);
}

.speedometer-dial--caution {
  border-color: rgba(255, 199, 79, 0.7);
  box-shadow:
    inset 0 0 22px rgba(255, 199, 79, 0.14),
    inset 0 0 44px rgba(80, 215, 255, 0.12),
    0 0 8px rgba(255, 199, 79, 0.7),
    0 0 24px rgba(255, 199, 79, 0.36),
    0 0 58px rgba(255, 199, 79, 0.18);
  animation: speedometerCautionBreath 1.55s ease-in-out infinite;
}

.speedometer-dial--caution .speedometer-needle {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 199, 79, 0.92);
}

.speedometer-dial--caution .speedometer-readout strong {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 199, 79, 0.5);
}

.speedometer-dial::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: 1;
  border: 1px solid rgba(80, 215, 255, 0.3);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(9, 27, 38, 0.96) 0 52%, rgba(3, 10, 17, 0.98) 76%),
    linear-gradient(145deg, rgba(80, 215, 255, 0.08), transparent 52%);
  box-shadow:
    inset 0 0 30px rgba(80, 215, 255, 0.14),
    0 0 10px rgba(80, 215, 255, 0.12);
}

.speedometer-ticks {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.speedometer-ticks--major {
  inset: 11px;
  background:
    repeating-conic-gradient(from 218deg, rgba(229, 255, 220, 0.92) 0 1.6deg, transparent 1.6deg 20.5deg);
  mask: radial-gradient(circle, transparent 0 82%, #000 82.5% 100%);
}

.speedometer-ticks--minor {
  inset: 16px;
  background:
    repeating-conic-gradient(from 228.25deg, rgba(190, 225, 231, 0.68) 0 0.8deg, transparent 0.8deg 20.5deg);
  mask: radial-gradient(circle, transparent 0 88%, #000 88.5% 100%);
}

.speedometer-numbers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.speedometer-hashes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.speedometer-hash {
  --tick-angle: calc(-130deg + (var(--tick-index) * 10.833deg));
  position: absolute;
  top: 50%;
  left: calc(50% - 1px);
  width: 2px;
  height: 7px;
  border-radius: 999px;
  background: rgba(207, 239, 244, 0.74);
  box-shadow: 0 0 4px rgba(80, 215, 255, 0.45);
  transform:
    translateY(-50%)
    rotate(var(--tick-angle))
    translateY(-173px);
  transform-origin: 1px 50%;
}

.speedometer-hash--major {
  height: 13px;
  background: rgba(236, 255, 228, 0.96);
  box-shadow: 0 0 6px rgba(152, 255, 67, 0.68);
}

.speedometer-numbers span {
  --speed-angle: calc(-130deg + (var(--speed-index) * 21.667deg));
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  color: #eefcff;
  font-size: 0.64rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 8px rgba(80, 215, 255, 0.55);
  transform:
    translate(-50%, -50%)
    rotate(var(--speed-angle))
    translateY(-39%)
    translateY(-132px)
    rotate(calc(-1 * var(--speed-angle)));
}

.speedometer-needle {
  position: absolute;
  left: calc(50% - 2.5px);
  bottom: 50%;
  z-index: 3;
  width: 5px;
  height: 34%;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(152, 255, 67, 0.9);
  transform: rotate(var(--needle-angle, 4deg));
  transform-origin: bottom center;
  transition: transform 120ms linear;
}

.speedometer-hub {
  position: absolute;
  top: calc(50% - 11px);
  left: calc(50% - 11px);
  z-index: 4;
  width: 22px;
  height: 22px;
  border: 4px solid #eaffff;
  border-radius: 50%;
  background: #0b2730;
}

.speedometer-readout {
  position: absolute;
  right: 0;
  bottom: 18%;
  left: 0;
  z-index: 5;
  display: grid;
  justify-items: center;
}

.speedometer-readout strong {
  color: var(--green);
  font-size: 3.6rem;
  line-height: 0.92;
  text-shadow: 0 0 16px rgba(152, 255, 67, 0.38);
}

.speedometer-readout span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
}

.speedometer-status {
  display: none;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding-top: 5px;
  color: #dfffd4;
  font-size: 0.68rem;
  font-weight: 800;
}

.speedometer-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(152, 255, 67, 0.8);
}

.fuel-tile {
  display: grid;
  grid-template-rows: auto 142px 1fr;
  gap: 6px;
  padding: 12px;
}

.fuel-dial {
  position: relative;
  width: 142px;
  height: 142px;
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #061018 0 64%, transparent 65%),
    repeating-conic-gradient(from 220deg, rgba(235, 255, 229, 0.82) 0 2deg, transparent 2deg 18deg),
    conic-gradient(from 220deg, #ff4a42 0 24deg, var(--gold) 24deg 56deg, var(--green) 56deg 172deg, rgba(255, 255, 255, 0.1) 172deg 280deg, transparent 280deg);
  box-shadow: 0 0 20px rgba(152, 255, 67, 0.16);
}

.fuel-dial::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  z-index: 2;
  width: 4px;
  height: 38%;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(152, 255, 67, 0.82);
  transform: rotate(18deg);
  transform-origin: bottom center;
}

.fuel-dial::after {
  content: "";
  position: absolute;
  top: calc(50% - 7px);
  left: calc(50% - 7px);
  z-index: 3;
  width: 14px;
  height: 14px;
  border: 3px solid #dfffd6;
  border-radius: 50%;
  background: #0b2830;
}

.fuel-dial__center {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.fuel-dial__center strong { color: var(--green); font-size: 2.4rem; }
.fuel-dial__center span { color: var(--green); font-size: 1rem; font-weight: 900; }
.fuel-dial small { position: absolute; bottom: 18px; color: var(--muted); font-weight: 900; }
.fuel-dial small:first-of-type { left: 19px; }
.fuel-dial small:last-of-type { right: 19px; }

.fuel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.fuel-stats div {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
}

.fuel-stats span {
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fuel-stats strong {
  color: #fff;
  font-size: 0.92rem;
}

.fuel-stats__range strong { color: var(--green); }

.aux-gauges {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 8px;
}

.aux-gauge {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.aux-gauge > span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.aux-gauge__dial {
  position: relative;
  width: 106px;
  height: 106px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 3px solid rgba(80, 215, 255, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle, #07141c 0 68%, transparent 69%),
    repeating-conic-gradient(from 220deg, rgba(220, 255, 211, 0.74) 0 2deg, transparent 2deg 28deg),
    conic-gradient(from 220deg, rgba(152, 255, 67, 0.84) 0 210deg, rgba(255, 255, 255, 0.12) 210deg 360deg);
  box-shadow: 0 0 13px rgba(152, 255, 67, 0.15);
}

.aux-gauge__dial::before {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  bottom: 50%;
  z-index: 2;
  width: 4px;
  height: 30%;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 7px rgba(152, 255, 67, 0.82);
  transform: rotate(22deg);
  transform-origin: bottom center;
}

.aux-gauge__dial::after {
  content: "";
  position: absolute;
  top: calc(50% - 6px);
  left: calc(50% - 6px);
  z-index: 3;
  width: 12px;
  height: 12px;
  border: 2px solid #eaffff;
  border-radius: 50%;
  background: #0b2830;
}

.aux-gauge__dial strong { z-index: 4; color: #fff; font-size: 1.2rem; }
.aux-gauge__dial small { color: var(--cyan); font-size: 0.58rem; font-weight: 900; }
.aux-gauge__dial--trans::before { background: var(--gold); box-shadow: 0 0 7px rgba(255, 199, 79, 0.82); }

.screen-map {
  position: relative;
  grid-column: 3;
  grid-row: 1 / -1;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: url("assets/dashboard-road-map-v2.png") center / cover no-repeat;
}

.screen-map__title,
.screen-map__range {
  position: absolute;
  z-index: 600;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(152, 255, 67, 0.5);
  color: #fff;
  background: rgba(3, 11, 12, 0.9);
}

.screen-map__title { top: 12px; left: 12px; }
.screen-map__title span { color: var(--cyan); }

.screen-map__range {
  left: 14px;
  bottom: 14px;
  width: 224px;
  background: rgba(3, 11, 12, 0.92);
}
.screen-map__range strong { color: var(--green); font-size: 2rem; }
.screen-map__range span { color: #e9ffe1; font-size: 0.74rem; }

.freeway-route {
  position: absolute;
  inset: 6% 34% 4% 36%;
  z-index: 520;
  pointer-events: none;
}

.freeway-route__line {
  position: absolute;
  inset: 0 35% 0 38%;
  display: block;
  border-right: 10px solid #168dff;
  border-radius: 60% 48% 58% 42%;
  filter: drop-shadow(0 0 9px rgba(22, 141, 255, 0.96));
  transform: rotate(-10deg);
}

.freeway-route__line::after {
  content: "";
  position: absolute;
  top: 0;
  right: -7px;
  bottom: 0;
  width: 3px;
  border-radius: 20px;
  background: rgba(225, 251, 255, 0.9);
}

.freeway-route__node {
  position: absolute;
  right: 26%;
  width: 19px;
  height: 19px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(152, 255, 67, 0.95);
}

.freeway-route__node--one { top: 24%; }
.freeway-route__node--two { top: 52%; }
.freeway-route__node--three { top: 75%; background: var(--gold); }

.map-exit {
  position: absolute;
  right: 12px;
  z-index: 610;
  width: 138px;
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  border: 1px solid rgba(152, 255, 67, 0.8);
  background: rgba(3, 13, 9, 0.92);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
}

.map-exit::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: var(--connector-width);
  height: 2px;
  background: linear-gradient(90deg, rgba(152, 255, 67, 0.38), rgba(152, 255, 67, 0.94));
  box-shadow: 0 0 9px rgba(152, 255, 67, 0.62);
  transform: translateY(-50%);
}

.map-exit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + var(--connector-width) - 8px);
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(152, 255, 67, 0.96);
  transform: translateY(-50%);
}

.map-exit strong,
.map-exit span {
  color: #e8ffdf;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.map-exit b { color: var(--green); font-size: 1.24rem; }
.map-exit--one { --connector-width: 214px; bottom: 23%; }
.map-exit--two { --connector-width: 106px; top: 48%; }
.map-exit--three { --connector-width: 118px; top: 20%; border-color: var(--gold); }
.map-exit--three b { color: var(--gold); }
.map-exit--three::before {
  background: linear-gradient(90deg, rgba(255, 199, 79, 0.34), rgba(255, 199, 79, 0.94));
  box-shadow: 0 0 9px rgba(255, 199, 79, 0.62);
}
.map-exit--three::after {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 199, 79, 0.96);
}

.exit-marker { background: transparent; }

.exit-marker__pin {
  position: absolute;
  top: 27px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(152, 255, 67, 0.9);
}

.exit-marker__pin--warning { background: var(--gold); }

.exit-marker__card {
  position: absolute;
  top: 0;
  left: 28px;
  min-width: 140px;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid rgba(152, 255, 67, 0.72);
  background: rgba(4, 14, 10, 0.92);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.42);
}

.exit-marker__card--warning { border-color: var(--gold); }
.exit-marker__card strong { color: #fff; font-size: 0.75rem; }
.exit-marker__card b { color: var(--green); font-size: 1.18rem; }
.exit-marker__card small { color: #e7ffdd; font-size: 0.62rem; text-transform: uppercase; }

.coach-marker__arrow {
  width: 38px;
  height: 38px;
  display: block;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #1989ff;
  box-shadow: 0 0 16px rgba(25, 137, 255, 0.78);
}

.fuel-strip,
.impact-panel,
.tpms-mini {
  border-radius: 14px;
  padding: 12px;
}

.fuel-strip {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lower-readout {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.lower-readout--impact {
  gap: 7px;
}

.fuel-story-strip {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.fuel-pump-icon {
  position: relative;
  width: 22px;
  height: 27px;
  border: 2px solid var(--green);
  border-radius: 3px;
  box-shadow: 0 0 9px rgba(152, 255, 67, 0.34);
}

.fuel-pump-icon::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 3px;
  left: 3px;
  height: 7px;
  border: 1px solid rgba(152, 255, 67, 0.78);
}

.fuel-pump-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  right: -8px;
  width: 6px;
  height: 17px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  border-radius: 0 5px 5px 0;
}

.fuel-pump-icon i {
  position: absolute;
  right: 3px;
  bottom: -5px;
  left: 3px;
  height: 3px;
  background: var(--green);
}

.fuel-story-strip__meter {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.fuel-story-strip__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.fuel-story-strip__heading span,
.fuel-reserve span {
  color: var(--cyan);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fuel-level-scale {
  position: relative;
  height: 11px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.fuel-level-scale__fill {
  position: absolute;
  inset: 0 42% 0 0;
  background: linear-gradient(90deg, #ff5148, #ffc74f 26%, var(--green) 46%);
}

.fuel-level-scale__reserve,
.fuel-level-scale__needle {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
}

.fuel-level-scale__reserve {
  left: 15%;
  background: var(--gold);
}

.fuel-level-scale__needle {
  left: 58%;
  background: #fff;
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.84);
}

.fuel-level-scale__labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.46rem;
}

.lower-readout > span {
  color: var(--cyan);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lower-readout strong {
  color: var(--green);
  font-size: 2rem;
  line-height: 0.9;
}

.lower-readout strong small,
.lower-readout em {
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.range-speeds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.range-speeds b {
  display: grid;
  gap: 4px;
  padding: 7px 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.86rem;
  text-align: center;
}

.range-speeds small {
  color: var(--muted);
  font-size: 0.48rem;
}

.range-speeds__current {
  border-color: rgba(152, 255, 67, 0.72) !important;
  color: var(--green) !important;
  box-shadow: 0 0 12px rgba(152, 255, 67, 0.1);
}

.range-speeds__warning {
  border-color: rgba(255, 199, 79, 0.86) !important;
  color: var(--gold) !important;
  box-shadow: 0 0 14px rgba(255, 199, 79, 0.2);
}

.strip-title {
  grid-column: 1 / -1;
  color: #fff;
}

.strip-title span {
  color: var(--muted);
  font-size: 0.62rem;
}

.fuel-stop {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.fuel-stop strong { font-size: 0.7rem; }
.fuel-stop span { color: #fff; font-size: 1.12rem; font-weight: 900; }
.fuel-stop--active { border-color: var(--green); box-shadow: 0 0 18px rgba(152, 255, 67, 0.16); }
.fuel-stop--warning { border-color: var(--gold); }

.tpms-inline {
  display: grid;
  align-items: center;
  width: 100%;
  padding: 4px;
  border: 1px solid rgba(80, 215, 255, 0.28);
  background: rgba(80, 215, 255, 0.04);
}

.tpms-axles {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
  min-height: 88px;
  padding: 1px 8px;
}

.tpms-coach-outline {
  position: absolute;
  top: 5px;
  right: 25px;
  bottom: 5px;
  left: 18px;
  border: 2px solid rgba(80, 215, 255, 0.88);
  border-radius: 20px 5px 5px 20px;
  box-shadow:
    inset 0 0 8px rgba(80, 215, 255, 0.1),
    0 0 8px rgba(80, 215, 255, 0.24);
}

.tpms-coach-outline__windshield {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 12px;
  width: 9px;
  border-left: 2px solid rgba(80, 215, 255, 0.72);
  border-radius: 50%;
}

.tpms-axle {
  position: relative;
  min-width: 0;
}

.tpms-axle::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 50%;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #65727b, #d9e5eb 45%, #637078);
  box-shadow: 0 0 5px rgba(182, 210, 221, 0.42);
}

.tpms-wheel {
  position: absolute;
  left: 50%;
  width: 48px;
  height: 16px;
  border: 1px solid rgba(3, 16, 7, 0.88);
  border-radius: 4px;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(135deg, transparent 0 4px, rgba(3, 16, 7, 0.9) 4px 6px, transparent 6px 10px),
    var(--green);
  box-shadow:
    inset 0 0 0 1px rgba(216, 255, 193, 0.24),
    0 0 8px rgba(152, 255, 67, 0.58);
}

.tpms-wheel--top { top: 0; }
.tpms-wheel--bottom { bottom: 0; }

.tpms-dually {
  position: absolute;
  left: 50%;
  width: 48px;
  height: 35px;
  transform: translateX(-50%);
}

.tpms-dually--top { top: -3px; }
.tpms-dually--bottom { bottom: -3px; }
.tpms-dually .tpms-wheel:first-child { top: 0; }
.tpms-dually .tpms-wheel:last-child { bottom: 0; }

.impact-panel {
  display: grid;
  grid-template-rows: auto 1fr;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.impact-grid div {
  display: grid;
  align-content: center;
  gap: 5px;
  text-align: center;
}

.impact-grid span { color: var(--muted); font-size: 0.68rem; }
.impact-grid strong { font-size: 1.05rem; }
.impact-grid__active { border: 1px solid var(--green); color: var(--green); }

.tpms-mini {
  grid-column: 3;
  display: none;
}

.mini-coach {
  position: relative;
  width: 100%;
  height: 102px;
  margin-top: 7px;
}

.mini-coach__shell {
  position: absolute;
  top: 27px;
  right: 52px;
  bottom: 17px;
  left: 52px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(80, 215, 255, 0.66);
  border-radius: 24px 9px 9px 24px;
  color: #e8faff;
  background: rgba(80, 215, 255, 0.13);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mini-tire {
  position: absolute;
  width: 38px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #031007;
  background: var(--green);
  font-size: 0.72rem;
  box-shadow: 0 0 12px rgba(152, 255, 67, 0.56);
}

.mini-tire--fl { top: 12px; left: 72px; }
.mini-tire--fr { bottom: 2px; left: 72px; }
.mini-tire--rlo { top: 0; right: 28px; }
.mini-tire--rli { top: 27px; right: 28px; }
.mini-tire--rri { right: 28px; bottom: 27px; }
.mini-tire--rro { right: 28px; bottom: 0; }
.mini-tire--watch { background: var(--gold); box-shadow: 0 0 12px rgba(255, 199, 79, 0.7); }

@media (min-width: 1340px) {
  .cockpit-screen {
    grid-template-columns: 172px minmax(0, 1.2fr) minmax(430px, 0.9fr);
  }
}

@media (max-width: 1100px) {
  .cockpit-screen {
    aspect-ratio: auto;
    min-height: 980px;
    grid-template-columns: 148px minmax(0, 1fr);
    grid-template-rows: 610px 420px 150px;
  }

  .screen-nav { grid-row: 1 / -1; }
  .screen-map { grid-column: 2; grid-row: 2; }
  .fuel-strip { grid-column: 2; grid-row: 3; }
  .impact-panel { display: none; }
}

@media (max-width: 620px) {
  .cockpit {
    padding-right: 12px;
    padding-left: 12px;
  }

  .cockpit .section-heading h2 {
    font-size: 2rem;
    white-space: normal;
  }

  .cockpit-screen {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
  }

  .screen-nav {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    gap: 5px;
    overflow-x: auto;
    padding: 7px;
    border-radius: 10px;
    scrollbar-width: none;
  }

  .screen-nav::-webkit-scrollbar {
    display: none;
  }

  .screen-nav__brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 5px 0 0;
  }

  .screen-nav__brand span {
    width: 38px;
    height: 34px;
  }

  .screen-nav__brand strong {
    white-space: nowrap;
  }

  .screen-nav__item {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 10px;
    white-space: nowrap;
  }

  .screen-nav__status {
    display: none;
  }

  .range-dashboard {
    flex: 0 0 480px;
    min-height: 480px;
    border-radius: 12px;
  }

  .range-dashboard__mode {
    min-width: 210px;
    padding: 7px 12px;
    font-size: 0.7rem;
  }

  .instrument-cluster {
    padding: 40px 6px 6px;
  }

  .speedometer-panel {
    padding: 9px;
  }

  .cluster-label {
    font-size: 0.58rem;
  }

  .coach-health-gauges {
    top: 74px;
    bottom: 40px;
    left: 4px;
    width: 62px;
    gap: 5px;
  }

  .health-gauge > span {
    font-size: 0.38rem;
  }

  .health-gauge__dial {
    width: 54px;
    height: 54px;
    border-width: 2px;
  }

  .health-gauge__hashes {
    display: none;
  }

  .health-gauge__dial::before {
    width: 3px;
  }

  .health-gauge__dial::after {
    top: calc(50% - 4px);
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-width: 1px;
  }

  .health-gauge__dial strong {
    bottom: 10px;
    font-size: 0.78rem;
  }

  .health-gauge__dial small {
    bottom: 3px;
    font-size: 0.38rem;
  }

  .speedometer-dial {
    width: min(274px, 86%);
    transform: translateX(28px);
    border-width: 4px;
  }

  .speedometer-dial::before {
    inset: 17px;
  }

  .speedometer-ticks--major {
    inset: 8px;
  }

  .speedometer-ticks--minor {
    inset: 11px;
  }

  .speedometer-hash {
    transform:
      translateY(-50%)
      rotate(var(--tick-angle))
      translateY(-120px);
  }

  .speedometer-numbers span {
    font-size: 0.48rem;
    transform:
      translate(-50%, -50%)
      rotate(var(--speed-angle))
      translateY(-39%)
      translateY(-91px)
      rotate(calc(-1 * var(--speed-angle)));
  }

  .speedometer-readout strong {
    font-size: 2.7rem;
  }

  .screen-map {
    flex: 0 0 560px;
    min-height: 560px;
    border-radius: 12px;
  }

  .map-exit {
    right: 8px;
    width: 124px;
    padding: 7px;
  }

  .map-exit--one { --connector-width: 130px; }
  .map-exit--two { --connector-width: 78px; }
  .map-exit--three { --connector-width: 88px; }

  .screen-map__range {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
  }

  .fuel-strip {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
  }

  .tpms-axles {
    min-height: 96px;
  }
}

/* Coach information e-ink touch panel preview */
.coach-info-section {
  --eink-paper: #f0efe8;
  --eink-ink: #111411;
  --eink-muted: #596059;
  --eink-line: #777e77;
  --eink-bezel: #171918;
  overflow-x: hidden;
  padding: 92px clamp(12px, 4vw, 58px) 110px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.48), transparent 33%),
    linear-gradient(180deg, #d8dad4, #bec4bf);
  color: var(--eink-ink);
}

.coach-info-section .section-heading {
  margin-bottom: 28px;
}

.coach-info-section .eyebrow {
  color: #36403b;
}

.coach-info-section h2 {
  color: var(--eink-ink);
}

.coach-info-section .section-copy {
  max-width: 1120px;
  margin: 14px auto 0;
  color: #4f5a55;
  font-size: 1.04rem;
  line-height: 1.55;
}

.eink-shell {
  position: relative;
  width: min(860px, 100%);
  min-height: 1120px;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  margin: 0 auto;
  padding: 20px 20px 20px 28px;
  border: 2px solid #050706;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05), transparent 9%, transparent 91%, rgba(255,255,255,0.04)),
    var(--eink-bezel);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 18px rgba(255,255,255,0.04),
    0 24px 76px rgba(0, 0, 0, 0.28);
}

.eink-shell::before {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  pointer-events: none;
  content: "";
}

.eink-shell::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 3px;
  height: 86px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  transform: translateY(-50%);
  content: "";
}

.eink-camera-dot {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 8px;
  height: 8px;
  z-index: 3;
  border-radius: 50%;
  background: #050706;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
  transform: translateY(-50%);
}

.eink-side-key {
  position: absolute;
  top: 118px;
  right: -4px;
  width: 4px;
  height: 92px;
  border-radius: 0 999px 999px 0;
  background: #0d0f0e;
}

.eink-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 10px;
  border-right: 2px solid var(--eink-ink);
  background: #deded8;
}

.eink-nav__brand {
  display: grid;
  gap: 7px;
  padding: 0 5px 14px;
  border-bottom: 2px solid var(--eink-ink);
}

.eink-nav__brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--eink-ink);
  font-weight: 900;
}

.eink-nav__brand strong {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.eink-nav__item {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid transparent;
  color: #343936;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.eink-nav__item--active {
  border: 2px solid var(--eink-ink);
  color: var(--eink-ink);
  background: var(--eink-paper);
}

.eink-nav__footer {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding: 15px 5px 3px;
  border-top: 2px solid var(--eink-ink);
}

.eink-nav__footer strong { font-size: 1.55rem; }
.eink-nav__footer span { color: var(--eink-muted); font-size: 0.68rem; font-weight: 800; }

.eink-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 10px;
  padding: 14px;
  background:
    radial-gradient(circle at 15% 20%, rgba(17,20,17,0.035) 0 1px, transparent 1.5px),
    radial-gradient(circle at 85% 78%, rgba(17,20,17,0.028) 0 1px, transparent 1.5px),
    linear-gradient(180deg, #f5f4ec, var(--eink-paper));
  background-size: 7px 7px, 9px 9px, auto;
  filter: grayscale(1);
}

.eink-nav,
.eink-content {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.28),
    inset 0 0 18px rgba(17,20,17,0.045);
}

.panel-heading {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 10px 12px;
  border: 2px solid var(--eink-ink);
  border-bottom: 3px solid var(--eink-ink);
}

.panel-heading > :not(.coach-overview-wallpaper) { position: relative; z-index: 1; }
.panel-heading p,
.panel-heading h3 { margin: 0; }
.panel-heading p { color: var(--eink-muted); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.panel-heading h3 { margin-top: 3px; font-size: 2rem; }

.panel-status { display: flex; align-items: center; gap: 10px; }
.panel-status time { padding: 4px 11px 4px 0; border-right: 1px solid var(--eink-line); font-size: 1.05rem; font-weight: 900; white-space: nowrap; }
.coach-overview-wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; opacity: 0.22; filter: grayscale(1) contrast(1.45) drop-shadow(0 7px 4px rgba(0,0,0,0.62)); }
.coach-state { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 2px solid var(--eink-ink); }
.coach-state b { width: 29px; height: 29px; display: grid; place-items: center; border: 2px solid var(--eink-ink); border-radius: 50%; }
.coach-state span { display: grid; gap: 2px; }
.coach-state small { color: var(--eink-muted); font-size: 0.68rem; }

.eink-panel { min-width: 0; padding: 11px; border: 2px solid var(--eink-ink); background: rgba(255,255,255,0.16); }
.eink-panel__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--eink-line); }
.eink-panel__title strong { font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; }
.eink-panel__title small { color: var(--eink-muted); font-size: 0.66rem; font-weight: 800; }

.tank-panel { grid-column: 1; grid-row: 2; }
.tank-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.tank-card { min-width: 0; display: grid; grid-template-rows: 1fr auto; padding: 7px 7px 0; border: 1px solid var(--eink-line); }
.tank-card > div { min-width: 0; display: grid; grid-template-columns: 23px minmax(0,1fr); align-items: center; gap: 8px; padding-bottom: 6px; }
.tank-card i { position: relative; height: 58px; border: 2px solid var(--eink-ink); }
.tank-card i b { position: absolute; right: 2px; bottom: 2px; left: 2px; height: var(--level); background: var(--eink-ink); }
.tank-card span { min-width: 0; display: grid; align-content: center; gap: 3px; }
.tank-card strong { font-size: 1.35rem; }
.tank-card em { margin: 0 -7px; padding: 5px 7px; border-top: 1px solid var(--eink-line); font-size: 0.64rem; font-style: normal; font-weight: 900; line-height: 1; text-align: center; text-transform: uppercase; }
.tank-card small { color: var(--eink-muted); font-size: 0.6rem; line-height: 1.15; }

.power-panel { grid-column: 1; grid-row: 4; }
.power-primary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 8px; border: 1px solid var(--eink-line); }
.power-primary article { display: grid; grid-template-columns: 30px max-content minmax(0,1fr); grid-template-rows: auto auto 3px; align-items: center; gap: 2px 6px; padding: 6px 7px; border-right: 1px solid var(--eink-line); }
.power-primary article:last-child { border-right: 0; }
.power-primary span, .power-telemetry span, .energy-stats span, .power-ribbon span, .coach-stat-grid span { color: var(--eink-muted); font-size: 0.62rem; font-weight: 900; text-transform: uppercase; }
.power-primary strong { grid-column: 3; grid-row: 1 / span 2; justify-self: start; font-size: 1.45rem; }
.power-primary small { color: var(--eink-muted); font-size: 0.58rem; font-weight: 800; }
.power-symbol { grid-column: 1; grid-row: 1 / span 2; width: 28px; height: 28px; display: grid; place-items: center; color: var(--eink-ink); font-size: 1.8rem; font-style: normal; line-height: 1; }
.power-symbol--battery { position: relative; width: 27px; height: 17px; border: 2px solid var(--eink-ink); }
.power-symbol--battery::after { position: absolute; top: 4px; right: -5px; width: 3px; height: 7px; background: var(--eink-ink); content: ""; }
.power-symbol--battery b { position: absolute; top: 2px; bottom: 2px; left: 2px; width: var(--charge); max-width: calc(100% - 4px); background: var(--eink-ink); }
.power-symbol--solar { font-size: 2rem; }
.power-symbol--loads { position: relative; width: 27px; height: 28px; }
.power-symbol--loads::before { position: absolute; top: 5px; left: 5px; width: 15px; height: 13px; border: 2px solid var(--eink-ink); border-radius: 2px 2px 6px 6px; content: ""; }
.power-symbol--loads::after { position: absolute; bottom: 1px; left: 12px; width: 9px; height: 9px; border-bottom: 2px solid var(--eink-ink); border-left: 2px solid var(--eink-ink); border-radius: 0 0 0 7px; content: ""; }
.power-symbol--loads b::before, .power-symbol--loads b::after { position: absolute; top: 0; width: 2px; height: 7px; background: var(--eink-ink); content: ""; }
.power-symbol--loads b::before { left: 9px; }
.power-symbol--loads b::after { left: 17px; }
.power-meter { grid-column: 2 / -1; width: 100%; height: 3px; display: block; background: var(--eink-line); }
.power-meter b { display: block; width: var(--meter); height: 100%; background: var(--eink-ink); }
.energy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.energy-stats div { display: grid; gap: 3px; padding: 7px; border-top: 1px solid var(--eink-line); }
.energy-stats strong { font-size: 0.78rem; }

.power-telemetry { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0; margin-top: 8px; border: 1px solid var(--eink-line); }
.power-telemetry div { display: grid; grid-template-columns: 15px minmax(0,1fr); gap: 2px 5px; min-width: 0; padding: 5px 7px; border-right: 1px solid var(--eink-line); }
.power-telemetry div:last-child { border-right: 0; }
.power-telemetry strong { grid-column: 2; font-size: 0.75rem; }
.power-ribbon { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 8px; border: 1px solid var(--eink-line); }
.power-ribbon div { display: flex; align-items: center; justify-content: start; gap: 5px; min-width: 0; padding: 5px 7px; border-right: 1px solid var(--eink-line); }
.power-ribbon div:last-child { border-right: 0; }
.power-ribbon strong { font-size: 0.74rem; }
.power-mini-symbol { width: 15px; display: inline-grid; flex: 0 0 15px; place-items: center; color: var(--eink-ink); font-size: 0.72rem; font-style: normal; font-weight: 900; line-height: 1; }

.condition-panel { grid-column: 1; grid-row: 3; }
.coach-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; margin-top: 9px; }
.coach-stat-grid--six { grid-template-columns: repeat(3, minmax(0,1fr)); }
.coach-stat-grid div { display: grid; grid-template-columns: 18px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; gap: 1px 5px; min-width: 0; padding: 6px; border: 1px solid var(--eink-line); }
.coach-stat-grid i { grid-row: 1 / span 2; width: 18px; display: grid; place-items: center; color: var(--eink-ink); font-size: 0.95rem; font-style: normal; font-weight: 900; line-height: 1; }
.coach-stat-grid strong { grid-column: 2; font-size: 0.9rem; }

.readiness-panel { grid-column: 1; grid-row: 5; }
.readiness-grid { height: calc(100% - 34px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(3, minmax(0,1fr)); gap: 7px; margin-top: 9px; }
.readiness-grid div { min-height: 58px; display: grid; grid-template-columns: 26px minmax(0,1fr); grid-template-rows: auto auto; align-content: center; align-items: center; gap: 2px 8px; padding: 8px; border: 1px solid var(--eink-line); }
.readiness-grid i { grid-row: 1 / span 2; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--eink-line); border-radius: 50%; font-size: 0.85rem; font-style: normal; font-weight: 900; }
.readiness-grid span { color: var(--eink-muted); font-size: 0.64rem; font-weight: 900; text-transform: uppercase; }
.readiness-grid strong { font-size: 0.92rem; }

.eink-footer { grid-column: 1; grid-row: 6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px; padding: 8px 2px 0; border-top: 2px solid var(--eink-ink); color: var(--eink-muted); font-size: 0.67rem; font-weight: 900; text-transform: uppercase; }

@media (max-width: 920px) {
  .eink-shell { min-height: 0; grid-template-columns: 1fr; }
  .eink-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 2px solid var(--eink-ink); scrollbar-width: none; }
  .eink-nav::-webkit-scrollbar { display: none; }
  .eink-nav__brand { display: flex; align-items: center; gap: 6px; padding: 0 7px 0 0; border: 0; }
  .eink-nav__brand span { width: 34px; height: 32px; }
  .eink-nav__item { flex: 0 0 auto; padding: 0 9px; white-space: nowrap; }
  .eink-nav__footer { display: none; }
  .eink-content { grid-template-columns: 1fr; grid-template-rows: auto; padding: 9px; }
  .panel-heading, .tank-panel, .power-panel, .condition-panel, .eink-footer { grid-column: 1; grid-row: auto; }
}

@media (max-width: 560px) {
  .coach-info-section { padding: 70px 12px; }
  .coach-info-section h2 { font-size: 2rem; white-space: normal; }
  .panel-heading { align-items: start; flex-direction: column; }
  .panel-heading h3 { font-size: 1.6rem; }
  .panel-status { width: 100%; }
  .coach-state { width: 100%; }
  .tank-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .power-primary { grid-template-columns: 1fr; }
  .energy-stats, .power-telemetry, .coach-stat-grid, .coach-stat-grid--six { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .eink-panel__title { align-items: start; flex-direction: column; gap: 4px; }
}

/* Dealer service reporting preview */
.reports-section {
  padding: 92px clamp(18px, 4vw, 64px) 104px;
  background:
    linear-gradient(rgba(80, 215, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 215, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #07121c, #02070c);
  background-size: 54px 54px, 54px 54px, auto;
}

.reports-section .section-heading { max-width: min(1320px, 100%); }
.reports-section .section-heading p:last-child { margin: 15px auto 0; max-width: 1040px; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }

.report-workspace {
  width: min(1540px, 100%);
  min-height: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(80, 215, 255, 0.32);
  background: #06101a;
  box-shadow: 0 34px 110px rgba(0,0,0,0.58);
}

.report-nav { display: flex; flex-direction: column; padding: 14px 11px; border-right: 1px solid rgba(80,215,255,0.24); background: rgba(3,10,17,0.98); }
.report-nav__brand { display: grid; gap: 8px; padding: 5px 5px 18px; margin-bottom: 9px; border-bottom: 1px solid rgba(80,215,255,0.24); color: var(--text); font-size: 0.74rem; letter-spacing: 0.08em; }
.report-nav__brand span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(80,215,255,0.48); color: var(--cyan); font-size: 0.8rem; font-weight: 900; }
.report-nav__item { padding: 12px 9px; border-left: 2px solid transparent; color: #aabcc9; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.report-nav__item--active { border-left-color: var(--cyan); background: rgba(80,215,255,0.1); color: #f5fbff; }
.report-nav__footer { display: grid; gap: 5px; margin-top: auto; padding: 15px 6px 4px; border-top: 1px solid rgba(80,215,255,0.24); color: var(--cyan); font-size: 0.64rem; letter-spacing: 0.08em; }
.report-nav__footer span { color: #8fa4b4; font-size: 0.68rem; letter-spacing: 0; }

.report-content { min-width: 0; padding: 18px; background: linear-gradient(145deg, rgba(10,25,38,0.98), rgba(4,12,20,0.98)); }
.report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 5px 2px 17px; border-bottom: 1px solid rgba(80,215,255,0.22); }
.report-toolbar p, .report-toolbar h3, .report-card h4, .report-alert h4 { margin: 0; }
.report-toolbar p { color: var(--cyan); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.report-toolbar h3 { margin-top: 5px; font-size: 2rem; }
.report-toolbar small { display: block; margin-top: 5px; color: #8fa4b4; font-weight: 700; }
.report-actions { display: flex; align-items: center; gap: 10px; }
.report-actions span { color: var(--green); font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }
.report-actions button { min-height: 38px; padding: 0 13px; border: 1px solid rgba(80,215,255,0.52); background: rgba(80,215,255,0.11); color: #e5f9ff; font: inherit; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }

.report-alert { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 13px; margin-top: 15px; padding: 13px; border: 1px solid rgba(255,199,79,0.58); background: rgba(255,199,79,0.095); }
.report-alert__icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-size: 1.45rem; font-weight: 900; }
.report-alert p { margin: 0 0 3px; color: var(--gold); font-size: 0.67rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.report-alert h4 { font-size: 1rem; }
.report-alert span { color: #c1cbd2; font-size: 0.76rem; }
.report-alert > b { padding: 7px 9px; border: 1px solid rgba(255,199,79,0.56); color: var(--gold); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }

.report-metrics { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin-top: 13px; }
.report-metrics article { min-width: 0; padding: 10px; border: 1px solid rgba(80,215,255,0.18); background: rgba(255,255,255,0.025); }
.report-metrics span, .report-stat-grid span, .power-report-head span { display: block; color: #8fa4b4; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.report-metrics strong { display: block; margin-top: 4px; font-size: 1.13rem; }
.report-metrics small { display: block; margin-top: 4px; color: #95a8b6; font-size: 0.67rem; line-height: 1.3; }

.report-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 11px; margin-top: 12px; }
.report-card { min-width: 0; padding: 12px; border: 1px solid rgba(80,215,255,0.2); background: rgba(255,255,255,0.025); }
.report-card__title { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding-bottom: 9px; border-bottom: 1px solid rgba(80,215,255,0.16); }
.report-card__title div { display: flex; align-items: center; gap: 7px; }
.report-card__title p { margin: 0; color: var(--cyan); font-size: 0.67rem; font-weight: 900; }
.report-card__title h4 { font-size: 0.93rem; letter-spacing: 0.04em; text-transform: uppercase; }
.report-card__title > span { color: #94a7b4; font-size: 0.65rem; font-weight: 900; text-transform: uppercase; }
.report-card__title .report-ok { color: var(--green); }
.report-card__title .report-review { color: var(--gold); }

.fault-list { display: grid; gap: 6px; margin-top: 10px; }
.fault-item { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 8px; border: 1px solid rgba(80,215,255,0.14); }
.fault-item i { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(152,255,67,0.42); color: var(--green); font-size: 0.74rem; font-style: normal; font-weight: 900; }
.fault-item--amber i { border-color: rgba(255,199,79,0.7); color: var(--gold); }
.fault-item strong, .fault-item span { display: block; }
.fault-item strong { font-size: 0.75rem; }
.fault-item span, .fault-item time { margin-top: 3px; color: #91a3b0; font-size: 0.66rem; }

.report-stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 10px; }
.report-stat-grid div { padding: 8px; border: 1px solid rgba(80,215,255,0.14); }
.report-stat-grid strong, .power-report-head strong { display: block; margin-top: 4px; font-size: 0.92rem; }
.report-trend { margin-top: 9px; }
.report-trend span { color: #8fa4b4; font-size: 0.62rem; font-weight: 900; text-transform: uppercase; }
.report-trend svg { width: 100%; height: 74px; display: block; margin-top: 4px; overflow: visible; }
.report-trend path { fill: none; stroke: var(--green); stroke-width: 3; }
.report-trend line { stroke: rgba(80,215,255,0.14); stroke-width: 1; }

.power-report-head { display: grid; grid-template-columns: 1.25fr repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 10px; }
.power-report-head > div { padding: 8px; border: 1px solid rgba(80,215,255,0.14); }
.power-report-battery { display: flex; align-items: center; gap: 9px; }
.power-report-battery i { position: relative; width: 44px; height: 24px; border: 2px solid var(--cyan); }
.power-report-battery i::after { position: absolute; top: 6px; right: -6px; width: 4px; height: 9px; background: var(--cyan); content: ""; }
.power-report-battery b { position: absolute; inset: 3px auto 3px 3px; width: var(--report-charge); max-width: calc(100% - 6px); background: var(--cyan); }
.cell-report { display: grid; gap: 6px; margin-top: 10px; }
.cell-report div { display: grid; grid-template-columns: 54px minmax(0,1fr) 48px; align-items: center; gap: 7px; color: #a8bac6; font-size: 0.65rem; font-weight: 800; }
.cell-report b { height: 7px; background: linear-gradient(90deg,var(--cyan) var(--cell),rgba(80,215,255,0.12) var(--cell)); }
.cell-report em { color: #dcebf3; font-style: normal; text-align: right; }
.cell-report__alert { color: var(--gold) !important; }
.cell-report__alert b { background: linear-gradient(90deg,var(--gold) var(--cell),rgba(255,199,79,0.12) var(--cell)); }

.tpms-report { display: grid; grid-template-columns: 178px minmax(0,1fr); gap: 14px; margin-top: 10px; }
.tpms-coach { position: relative; width: 168px; height: 154px; margin: 0 auto; }
.tpms-coach__outline { position: absolute; top: 4px; right: 42px; bottom: 4px; left: 42px; border: 1px solid rgba(80,215,255,0.48); border-radius: 18px 18px 9px 9px; background: rgba(80,215,255,0.035); }
.tpms-coach__outline::before { position: absolute; top: 18px; right: 8px; left: 8px; height: 1px; background: rgba(80,215,255,0.34); content: ""; }
.tpms-tire { position: absolute; width: 15px; height: 34px; border: 1px solid rgba(152,255,67,0.64); background: rgba(152,255,67,0.2); box-shadow: 0 0 9px rgba(152,255,67,0.2); }
.tpms-tire--front-left { top: 23px; left: 28px; }.tpms-tire--front-right { top: 23px; right: 28px; }
.tpms-tire--rear-left-outer { bottom: 22px; left: 11px; }.tpms-tire--rear-left-inner { bottom: 22px; left: 30px; }
.tpms-tire--rear-right-inner { right: 30px; bottom: 22px; }.tpms-tire--rear-right-outer { right: 11px; bottom: 22px; }
.tpms-tire--alert { border-color: var(--gold); background: rgba(255,199,79,0.56); box-shadow: 0 0 16px rgba(255,199,79,0.8); }
.tpms-event { min-width: 0; padding: 10px; border: 1px solid rgba(255,199,79,0.36); background: rgba(255,199,79,0.055); }
.tpms-event span, .tpms-event strong, .tpms-event small, .tpms-event em { display: block; }
.tpms-event span { color: var(--gold); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.tpms-event strong { margin-top: 3px; color: var(--gold); font-size: 2rem; }
.tpms-event small, .tpms-event em { color: #b9c6cf; font-size: 0.67rem; line-height: 1.35; }
.tpms-event em { margin-top: 8px; font-style: normal; }
.tpms-pressure-bar { position: relative; height: 8px; margin-top: 12px; background: rgba(80,215,255,0.13); }
.tpms-pressure-bar b { display: block; width: var(--pressure); height: 100%; background: var(--gold); }
.tpms-pressure-bar i { position: absolute; top: -4px; left: 79%; width: 2px; height: 16px; background: var(--green); }
.tpms-impact { display: grid; grid-template-columns: 1fr 20px 1fr 1fr; align-items: stretch; gap: 7px; margin-top: 10px; }
.tpms-impact > div { padding: 8px; border: 1px solid rgba(80,215,255,0.14); }
.tpms-impact > b { align-self: center; color: var(--cyan); text-align: center; }
.tpms-impact span, .tpms-impact small { display: block; color: #91a3b0; font-size: 0.62rem; font-weight: 900; text-transform: uppercase; }
.tpms-impact strong { display: block; margin: 4px 0; font-size: 1.2rem; }
.tpms-impact__loss { border-color: rgba(255,199,79,0.42) !important; }
.tpms-impact__loss strong, .tpms-impact__delta strong { color: var(--gold); }
.tpms-impact__delta { display: grid; align-content: center; background: rgba(255,199,79,0.075); }

.event-timeline { display: grid; gap: 0; margin: 10px 0 0; padding: 0; list-style: none; }
.event-timeline li { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(80,215,255,0.13); }
.event-timeline time { color: var(--cyan); font-size: 0.66rem; font-weight: 900; }
.event-timeline strong, .event-timeline span { display: block; }
.event-timeline strong { font-size: 0.75rem; }
.event-timeline span { margin-top: 3px; color: #91a3b0; font-size: 0.66rem; }

.report-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 11px 2px 0; border-top: 1px solid rgba(80,215,255,0.2); color: #9cadb9; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }

.paper-report-wrap { width: min(1100px,100%); margin: 74px auto 0; }
.paper-report-label { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: #b7cbd8; text-transform: uppercase; }
.paper-report-label span { color: var(--cyan); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.16em; }
.paper-report-label strong { font-size: 0.72rem; letter-spacing: 0.08em; }
.paper-report { padding: 32px 38px 24px; color: #1a242b; background: #f4f5f1; box-shadow: 0 28px 86px rgba(0,0,0,0.48); }
.paper-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 3px solid #1d3645; }
.paper-header > div { display: flex; align-items: center; gap: 10px; }
.paper-header > div:last-child { display: grid; gap: 4px; text-align: right; }
.paper-header b { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: #163747; font-size: 0.86rem; }
.paper-header span { display: grid; gap: 3px; }
.paper-header strong { color: #173746; font-size: 1.05rem; }
.paper-header small { color: #67777e; font-size: 0.68rem; font-weight: 800; }
.paper-header em { color: #9a6614; font-size: 0.7rem; font-style: normal; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.paper-coach { display: grid; grid-template-columns: 1.6fr 1fr repeat(3,.82fr); margin-top: 13px; border: 1px solid #bec8ca; }
.paper-coach div { min-width: 0; padding: 8px 9px; border-right: 1px solid #bec8ca; }
.paper-coach div:last-child { border-right: 0; }
.paper-coach span, .paper-data-grid span { display: block; color: #68787e; font-size: 0.58rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.paper-coach strong { display: block; margin-top: 4px; color: #20323a; font-size: 0.77rem; }
.paper-summary { margin-top: 14px; padding: 12px; border-left: 4px solid #1b5268; background: #e7edef; }
.paper-summary h3 { margin: 0; color: #173746; font-size: 0.92rem; text-transform: uppercase; }
.paper-summary p { margin: 5px 0 0; color: #43545b; font-size: 0.72rem; line-height: 1.48; }
.paper-summary div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; margin-top: 8px; color: #1b5268; font-size: 0.64rem; font-weight: 900; text-transform: uppercase; }
.paper-fault { margin-top: 15px; border: 1px solid #bec8ca; }
.paper-fault > header { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; color: #fff; background: #264957; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.paper-fault > header b { color: #ffe4a6; }
.paper-fault__title { display: flex; align-items: center; gap: 10px; padding: 11px 10px 9px; border-bottom: 1px solid #ced6d7; }
.paper-fault__title i { width: 28px; height: 28px; display: grid; flex: 0 0 28px; place-items: center; border: 2px solid #b17618; border-radius: 50%; color: #a56d14; font-size: 1rem; font-style: normal; font-weight: 900; }
.paper-fault h4 { margin: 0; color: #26383f; font-size: 0.88rem; }
.paper-fault__title p { margin: 3px 0 0; color: #65757b; font-size: 0.68rem; font-weight: 800; }
.paper-data-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid #ced6d7; }
.paper-data-grid div { min-width: 0; padding: 8px 10px; border-right: 1px solid #ced6d7; border-bottom: 1px solid #ced6d7; }
.paper-data-grid div:nth-child(4n) { border-right: 0; }
.paper-data-grid div:nth-last-child(-n+4) { border-bottom: 0; }
.paper-data-grid strong { display: block; margin-top: 4px; color: #24363d; font-size: 0.76rem; }
.paper-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.paper-columns > div { padding: 10px; }
.paper-columns > div + div { border-left: 1px solid #ced6d7; }
.paper-columns h5 { margin: 0; color: #1d5367; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.paper-columns ul { margin: 6px 0 0; padding-left: 16px; color: #4d5e64; font-size: 0.68rem; line-height: 1.52; }
.paper-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 17px; padding-top: 7px; border-top: 1px solid #aebbbc; color: #69797f; font-size: 0.58rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }

@media (max-width: 1120px) {
  .report-workspace { grid-template-columns: 1fr; min-height: 0; }
  .report-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(80,215,255,0.24); }
  .report-nav__brand { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin: 0 8px 0 0; padding: 0 12px 0 0; border: 0; border-right: 1px solid rgba(80,215,255,0.24); }
  .report-nav__brand span { width: 32px; height: 32px; }
  .report-nav__item { flex: 0 0 auto; }
  .report-nav__footer { display: none; }
}

@media (max-width: 780px) {
  .reports-section { padding-inline: 12px; }
  .reports-section h2 { font-size: 2.2rem; white-space: normal; }
  .report-content { padding: 10px; }
  .report-toolbar, .report-actions { align-items: start; flex-direction: column; }
  .report-toolbar h3 { font-size: 1.55rem; }
  .report-alert { grid-template-columns: 34px minmax(0,1fr); }
  .report-alert__icon { width: 32px; height: 32px; }
  .report-alert > b { grid-column: 2; justify-self: start; }
  .report-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-grid { grid-template-columns: 1fr; }
  .power-report-head { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tpms-report { grid-template-columns: 1fr; }
  .tpms-impact { grid-template-columns: 1fr; }
  .tpms-impact > b { display: none; }
  .report-nav { max-width: 100%; }
  .report-content { min-width: 0; }
  .report-toolbar, .report-alert, .report-metrics, .report-grid, .report-card { max-width: 100%; }
  .paper-report { padding: 18px 14px; }
  .paper-header { align-items: start; flex-direction: column; }
  .paper-header > div:last-child { text-align: left; }
  .paper-coach { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .paper-coach div { border-bottom: 1px solid #bec8ca; }
  .paper-coach div:nth-child(2n) { border-right: 0; }
  .paper-coach div:last-child { border-bottom: 0; }
  .paper-data-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .paper-data-grid div:nth-child(odd) { border-right: 1px solid #ced6d7; }
  .paper-data-grid div:nth-child(even) { border-right: 0; }
  .paper-data-grid div:nth-last-child(-n+4) { border-bottom: 1px solid #ced6d7; }
  .paper-data-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .paper-columns { grid-template-columns: 1fr; }
  .paper-columns > div + div { border-top: 1px solid #ced6d7; border-left: 0; }
}

/* Coach resale provenance preview */
.resale-section { padding: 96px clamp(18px,4vw,64px) 110px; background: linear-gradient(180deg,#e4e5df,#cfd4d1); color: #172329; }
.resale-section .section-heading { max-width: min(1320px,100%); }
.resale-section .eyebrow { color: #23657c; }
.resale-section h2 { color: #142a34; }
.resale-section .section-heading p:last-child { max-width: 1120px; margin: 15px auto 0; color: #506268; font-size: 1.05rem; line-height: 1.55; }
.resale-workspace { width: min(1420px,100%); margin: 0 auto; padding: 18px; border: 1px solid #a7b5b6; background: #f2f3ef; box-shadow: 0 28px 76px rgba(26,39,44,0.22); }
.resale-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 4px 2px 15px; border-bottom: 3px solid #244a59; }
.resale-header > div { display: flex; align-items: center; gap: 11px; }
.resale-header > div > span { width: 43px; height: 43px; display: grid; place-items: center; color: #fff; background: #244a59; font-size: 0.8rem; font-weight: 900; }
.resale-header p, .resale-header h3 { margin: 0; }
.resale-header p { color: #25708a; font-size: 0.65rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.resale-header h3 { margin-top: 3px; color: #17333d; font-size: 1.45rem; }
.resale-header small { display: block; margin-top: 3px; color: #67777d; font-weight: 800; }
.resale-header > b { padding: 8px 10px; border: 1px solid #4c817d; color: #286762; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.resale-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; margin-top: 13px; }
.resale-stats article { min-width: 0; padding: 10px; border: 1px solid #c0cbca; background: #e9eeec; }
.resale-stats span, .record-bars span { display: block; color: #6b7a7e; font-size: 0.6rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.resale-stats strong { display: block; margin-top: 4px; color: #1c3b47; font-size: 1.2rem; }
.resale-stats small { display: block; margin-top: 3px; color: #6b7a7e; font-size: 0.65rem; }
.resale-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: 10px; margin-top: 11px; }
.resale-card { min-width: 0; padding: 11px; border: 1px solid #b7c5c5; background: #fbfbf8; }
.resale-card__title { display: flex; align-items: center; gap: 7px; padding-bottom: 8px; border-bottom: 1px solid #ced6d5; }
.resale-card__title span { color: #27718a; font-size: 0.64rem; font-weight: 900; }
.resale-card__title h4 { margin: 0; color: #263e47; font-size: 0.83rem; letter-spacing: 0.05em; text-transform: uppercase; }
.resale-card__title b { margin-left: auto; color: #37816b; font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; }
.resale-timeline { display: grid; gap: 0; margin: 7px 0 0; padding: 0; list-style: none; }
.resale-timeline li { display: grid; grid-template-columns: 63px minmax(0,1fr) 20px; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #d8dfde; }
.resale-timeline li:last-child { border-bottom: 0; }
.resale-timeline time { color: #26728b; font-size: 0.65rem; font-weight: 900; }
.resale-timeline strong, .resale-timeline span { display: block; }
.resale-timeline strong { color: #34484f; font-size: 0.72rem; }
.resale-timeline span { margin-top: 3px; color: #78878b; font-size: 0.64rem; }
.resale-timeline i { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #43826f; border-radius: 50%; color: #367460; font-size: 0.64rem; font-style: normal; font-weight: 900; }
.interval-list { display: grid; gap: 9px; margin-top: 9px; }
.interval-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; }
.interval-list strong, .interval-list span { display: block; }
.interval-list strong { color: #34484f; font-size: 0.71rem; }
.interval-list span, .interval-list em { color: #78878b; font-size: 0.62rem; font-style: normal; }
.interval-list em { align-self: end; color: #347360; font-weight: 900; }
.interval-list i { grid-column: 1/-1; height: 5px; background: #dde5e3; }
.interval-list i b { display: block; width: var(--interval); height: 100%; background: #3a7e71; }
.record-bars { display: grid; gap: 8px; margin-top: 10px; }
.record-bars div { display: grid; grid-template-columns: 86px minmax(0,1fr) 28px; align-items: center; gap: 6px; }
.record-bars b { height: 6px; background: #e0e7e5; }
.record-bars i { display: block; width: var(--record); height: 100%; background: #3e8190; }
.record-bars strong { color: #31515c; font-size: 0.7rem; text-align: right; }
.transfer-copy { padding-top: 9px; }
.transfer-copy > strong { color: #2a4650; font-size: 0.8rem; }
.transfer-copy p { margin: 6px 0 0; color: #68797e; font-size: 0.68rem; line-height: 1.5; }
.transfer-copy div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 9px; }
.transfer-copy span { color: #347360; font-size: 0.63rem; font-weight: 900; }
.resale-card--custody { grid-column: 1/-1; }
.custody-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; margin-top: 9px; }
.custody-grid article { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 7px; padding: 8px; border: 1px solid #d0d9d7; background: #f4f7f5; }
.custody-grid i { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #43826f; border-radius: 50%; color: #367460; font-size: 0.62rem; font-style: normal; font-weight: 900; }
.custody-grid strong, .custody-grid span { display: block; }
.custody-grid strong { color: #324a53; font-size: 0.7rem; }
.custody-grid span { margin-top: 3px; color: #718186; font-size: 0.62rem; line-height: 1.38; }
.resale-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 11px; padding-top: 9px; border-top: 2px solid #244a59; color: #567077; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 780px) {
  .resale-section { padding-inline: 12px; }
  .resale-section h2 { font-size: 2.2rem; white-space: normal; }
  .resale-workspace { padding: 10px; }
  .resale-header { align-items: start; flex-direction: column; }
  .resale-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resale-grid { grid-template-columns: 1fr; }
  .transfer-copy div { grid-template-columns: 1fr; }
  .custody-grid { grid-template-columns: 1fr; }
}
