:root {
  --ink: #15171b;
  --muted: #676b73;
  --paper: #f4f2ed;
  --card: #fff;
  --line: #dedbd4;
  --red: #3b9cff;
  --green: #2f7d5a;
  --shadow: 0 18px 50px rgba(21, 23, 27, .08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button, input[type="checkbox"] { touch-action: manipulation; }
.hero { background: #111318; color: white; padding: max(34px, env(safe-area-inset-top)) 20px 26px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -190px; top: -180px; border: 55px solid rgba(59, 156, 255, .16); border-radius: 50%; }
.hero__inner, main { width: min(100%, 860px); margin: 0 auto; }
.eyebrow, .kicker { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .16em; margin: 0 0 10px; }
.hero h1 { font-size: clamp(2.4rem, 10vw, 4.9rem); letter-spacing: -.055em; line-height: .94; margin: 18px 0; max-width: 760px; }
.hero h1 span { color: #aeb2ba; }
.hero__copy { color: #c9ccd2; max-width: 610px; font-size: 1rem; }
.progress-card { background: #1d2026; border: 1px solid #2e323a; padding: 18px; border-radius: 18px; margin: 26px 0 18px; position: relative; z-index: 1; }
.progress-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.progress-card__top strong { font-size: 1.65rem; }
.progress-card__top span { color: #b9bdc5; font-size: .85rem; }
.progress-track { height: 7px; border-radius: 20px; background: #343841; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 0; background: var(--red); border-radius: inherit; transition: width .25s ease; }
.quick-nav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; position: relative; z-index: 1; scrollbar-width: none; }
.quick-nav a { color: #eceef2; text-decoration: none; border: 1px solid #373b44; border-radius: 999px; padding: 9px 13px; font-size: .82rem; white-space: nowrap; }
main { padding: 24px 16px 60px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 14px; }
.setup { margin-top: -10px; position: relative; z-index: 2; }
.section-heading, .phase-title, .title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.section-heading h2, .phase-title h2, .five h2 { margin: 0; letter-spacing: -.035em; line-height: 1.1; }
.save-status { color: var(--green); font-weight: 700; font-size: .76rem; white-space: nowrap; padding-top: 6px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
label { font-weight: 700; font-size: .82rem; color: #41444a; }
input:not([type="checkbox"]), textarea, select { width: 100%; margin-top: 6px; border: 1px solid #d5d2ca; border-radius: 12px; padding: 12px; min-height: 46px; color: var(--ink); background: #faf9f6; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,23,27,.08); }
.mileage-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.mileage-summary div { background: #f1f0ec; border-radius: 12px; padding: 12px; }
.mileage-summary span { color: var(--muted); display: block; font-size: .68rem; font-weight: 700; }
.mileage-summary strong { display: block; font-size: 1.05rem; margin-top: 2px; }
.phase { padding-top: 50px; scroll-margin-top: 8px; }
.phase-title { margin: 0 4px 18px; align-items: end; }
.phase-title h2 { font-size: clamp(2rem, 8vw, 3.25rem); }
.phase-title > p { color: var(--muted); max-width: 330px; margin: 0 0 3px; font-size: .9rem; }
.checklist h3, .card h3 { margin: 0 0 14px; font-size: 1.18rem; }
.card-copy { color: var(--muted); margin: -7px 0 16px; font-size: .9rem; }
.check-grid { display: grid; gap: 2px; }
.check-grid label { display: grid; grid-template-columns: 25px 1fr; gap: 11px; align-items: start; padding: 12px 2px; border-top: 1px solid #eeece7; cursor: pointer; font-size: .94rem; color: var(--ink); font-weight: 560; }
.check-grid label:first-child { border-top: 0; }
input[type="checkbox"] { appearance: none; width: 23px; height: 23px; margin: 0; border: 1.5px solid #a8a9aa; border-radius: 7px; background: white; display: grid; place-content: center; }
input[type="checkbox"]::before { content: "✓"; color: white; font-size: 15px; font-weight: 900; transform: scale(0); }
input[type="checkbox"]:checked { background: var(--ink); border-color: var(--ink); }
input[type="checkbox"]:checked::before { transform: scale(1); }
input[type="checkbox"]:checked + span { color: #898c91; text-decoration: line-through; }
.accent-card { border-top: 4px solid var(--red); }
.title-row span { background: #e1f8e9; color: #1c6fb8; border-radius: 999px; padding: 5px 9px; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.callout { background: #edfff4; color: #275f91; border-radius: 12px; padding: 12px 14px; font-size: .85rem; margin: 0 0 10px; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compact { align-items: center; }
.compact h3 { margin: 0; }
.button { border: 0; background: var(--red); color: white; border-radius: 999px; padding: 11px 16px; font-weight: 800; cursor: pointer; min-height: 44px; }
.button--dark { background: var(--ink); }
.button--ghost { background: transparent; color: var(--ink); border: 1px solid #c8c5be; }
.inline-form, .note-form { background: #f3f1ec; border-radius: 16px; padding: 15px; margin: 18px 0; }
.inline-form { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 10px; align-items: end; }
.inline-form[hidden], .note-form[hidden] { display: none; }
.note-form > label { display: block; margin-top: 14px; }
.form-actions { display: flex; gap: 8px; margin-top: 12px; }
.empty-state { color: var(--muted); text-align: center; padding: 24px 10px 12px; font-size: .9rem; }
.record-list { display: grid; gap: 10px; margin-top: 12px; }
.record { border: 1px solid #e1ded7; border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.record__meta { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.record p { margin: 5px 0 0; white-space: pre-wrap; }
.record button { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: .78rem; align-self: start; }
.five { margin-top: 54px; background: var(--ink); color: white; border: 0; }
.five ol { margin: 24px 0 0; padding-left: 28px; }
.five li { padding: 8px 0 8px 6px; color: #e8e9eb; }
.data-tools { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 24px 0; }
.text-button { border: 0; background: transparent; color: #256aa7; text-decoration: underline; cursor: pointer; font-size: .84rem; }
footer { color: var(--muted); text-align: center; padding: 24px 16px calc(32px + env(safe-area-inset-bottom)); font-size: .8rem; }
@media (max-width: 680px) {
  .field-grid, .two-column { grid-template-columns: 1fr; }
  .phase-title { display: block; }
  .phase-title > p { margin-top: 9px; }
  .mileage-summary { gap: 5px; }
  .mileage-summary div { padding: 9px; }
  .inline-form { grid-template-columns: 1fr 1fr; }
  .inline-form .button { width: 100%; }
  .card { padding: 18px; border-radius: 18px; }
}
@media (max-width: 390px) {
  .section-heading.compact { display: block; }
  .section-heading.compact .button { margin-top: 12px; width: 100%; }
  .mileage-summary strong { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Device-local photo attachments */
.check-grid label.has-photo { grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; }
.photo-add { border: 1px solid #c8c5be; background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 10px; font-size: .72rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.photo-add.has-items { border-color: var(--green); color: var(--green); background: #eef8f2; }
.photo-vault { margin-top: 54px; scroll-margin-top: 12px; }
.photo-vault h2 { margin: 0; letter-spacing: -.035em; line-height: 1.1; }
.photo-count { color: var(--green); font-weight: 800; font-size: .78rem; white-space: nowrap; padding-top: 7px; }
.photo-note { color: var(--muted); background: #f3f1ec; padding: 13px 14px; border-radius: 13px; font-size: .87rem; }
.photo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.photo-card { border: 1px solid #e1ded7; border-radius: 14px; overflow: hidden; background: #faf9f6; }
.photo-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9e7e1; }
.photo-card__body { padding: 10px; }
.photo-card__task { font-size: .72rem; font-weight: 800; line-height: 1.3; }
.photo-card__date { color: var(--muted); font-size: .68rem; margin-top: 3px; }
.photo-card__actions { display: flex; gap: 9px; margin-top: 8px; }
.photo-card__actions a, .photo-card__actions button { border: 0; background: transparent; color: var(--ink); padding: 0; font-size: .7rem; font-weight: 800; cursor: pointer; text-decoration: underline; }
.photo-card__actions button { color: #256aa7; }
@media (max-width: 680px) {
  .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-grid label.has-photo { grid-template-columns: 25px minmax(0, 1fr); }
  .check-grid label.has-photo .photo-add { grid-column: 2; justify-self: start; }
}


/* Dashboard and milestone experience */
.dashboard { margin-top: -10px; position: relative; z-index: 2; }
.dashboard__heading { display: flex; justify-content: space-between; align-items: end; margin: 0 4px 16px; }
.dashboard__heading h2 { font-size: clamp(2rem, 8vw, 3.4rem); margin: 0; letter-spacing: -.045em; line-height: 1; }
.dashboard__date { color: var(--muted); font-size: .78rem; font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.dashboard-primary, .dashboard-stat { border-radius: 20px; padding: 20px; min-height: 160px; }
.dashboard-primary { background: var(--ink); color: white; }
.dashboard-label { color: #aeb2ba; font-size: .67rem; letter-spacing: .13em; font-weight: 900; }
.dashboard-primary h3 { font-size: 1.65rem; letter-spacing: -.035em; margin: 18px 0 5px; }
.dashboard-primary p { color: #c8cbd0; margin: 0 0 17px; font-size: .86rem; }
.dashboard-primary a { color: white; font-weight: 800; font-size: .82rem; text-decoration-color: var(--red); text-underline-offset: 4px; }
.dashboard-stat { background: white; border: 1px solid var(--line); display: flex; flex-direction: column; }
.dashboard-stat span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.dashboard-stat strong { font-size: 2rem; margin-top: auto; letter-spacing: -.04em; }
.dashboard-stat small { color: var(--muted); font-size: .68rem; }
.milestone-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.milestone-strip a { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 12px; text-decoration: none; color: var(--ink); display: grid; gap: 2px; }
.milestone-strip a > span { color: var(--red); font-size: .65rem; font-weight: 900; }
.milestone-strip strong { font-size: .78rem; }
.milestone-strip small { color: var(--muted); font-size: .65rem; }
.milestone-strip a.is-active { border-color: var(--red); box-shadow: 0 0 0 2px rgba(59, 156, 255,.08); }
.milestone-strip a.is-complete small { color: var(--green); }
.recent-photos { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.recent-photos .section-heading a { color: var(--ink); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.recent-empty { color: var(--muted); font-size: .82rem; padding: 18px 0 4px; }
.recent-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.recent-photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #ece9e3; }
.setup { margin-top: 28px; }
.milestone { position: relative; padding-left: 24px; }
.milestone::before { content: ""; position: absolute; left: 5px; top: 82px; bottom: 10px; width: 2px; background: #d8d5cf; }
.milestone::after { content: ""; position: absolute; left: 0; top: 75px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px var(--paper); }
.paperwork { margin-top: 54px; scroll-margin-top: 12px; }
.paperwork h2 { margin: 0; letter-spacing: -.035em; line-height: 1.1; }
.scan-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 16px; }
.document-gallery { display: grid; gap: 10px; margin-top: 16px; }
.document-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid #e1ded7; border-radius: 14px; padding: 9px; }
.document-card img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: #e9e7e1; }
.document-card strong, .document-card small { display: block; }
.document-card small { color: var(--muted); font-size: .7rem; margin-top: 3px; }
.document-actions { display: grid; gap: 6px; }
.document-actions a, .document-actions button { border: 0; background: transparent; padding: 0; font-size: .7rem; font-weight: 800; text-decoration: underline; color: var(--ink); cursor: pointer; }
.document-actions button { color: #256aa7; }
@media (max-width: 680px) {
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-primary { grid-column: 1 / -1; }
  .dashboard-stat { min-height: 118px; padding: 15px; }
  .milestone-strip { display: flex; overflow-x: auto; scrollbar-width: none; }
  .milestone-strip a { min-width: 122px; }
  .scan-controls { grid-template-columns: 1fr; }
  .scan-controls .button { width: 100%; }
  .milestone { padding-left: 16px; }
  .milestone::before { left: 2px; }
  .milestone::after { left: -3px; }
  .document-card { grid-template-columns: 64px minmax(0, 1fr); }
  .document-card img { width: 64px; height: 64px; }
  .document-actions { grid-column: 2; display: flex; gap: 14px; }
}

/* Simplified milestone gates and larger touch navigation */
.quick-nav { gap: 11px; padding-bottom: 12px; }
.quick-nav a { min-height: 50px; display: inline-flex; align-items: center; gap: 7px; padding: 13px 18px; font-size: .94rem; font-weight: 800; }
.nav-lock { border: 1px solid #555a65; color: #b9bdc5; border-radius: 999px; padding: 2px 6px; font-size: .56rem; letter-spacing: .05em; text-transform: uppercase; }
.quick-nav a.is-unlocked .nav-lock { display: none; }
.dashboard-grid { grid-template-columns: 2fr 1fr; }
.milestone-strip { grid-template-columns: repeat(3, 1fr); }
[data-gated-link].is-locked { opacity: .62; }
.gate-panel { background: #eceae4; border: 1px dashed #b9b5ac; border-radius: 18px; padding: 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 0 0 16px; }
.gate-panel h3 { margin: 0 0 3px; }
.gate-panel p { margin: 0; color: var(--muted); font-size: .84rem; }
.gate-icon { background: var(--ink); color: white; border-radius: 10px; padding: 8px; font-size: .6rem; font-weight: 900; letter-spacing: .09em; }
.phase.is-locked > :not(.gate-panel) { display: none !important; }
.phase:not(.is-locked) > .gate-panel { display: none; }
.gate-unlocked-note { background: #eef8f2; color: var(--green); border: 1px solid #b7d9c5; border-radius: 14px; padding: 11px 13px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: .78rem; font-weight: 800; }
.gate-unlocked-note[hidden] { display: none; }
.gate-unlocked-note button { border: 0; background: transparent; color: var(--green); text-decoration: underline; font-weight: 800; cursor: pointer; }
.photo-card__actions, .document-actions { flex-wrap: wrap; }
.drive-share { color: #2459a8 !important; }
@media (max-width: 680px) {
  .quick-nav a { min-height: 54px; padding: 14px 19px; font-size: 1rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-primary { grid-column: auto; }
  .gate-panel { grid-template-columns: auto 1fr; }
  .gate-panel .button { grid-column: 1 / -1; width: 100%; }
}


/* Hidden milestones stay completely out of sight until they are available. */
[hidden] { display: none !important; }

.early-return-control {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #f7f7f5;
}
.early-return-control div { display: grid; gap: .25rem; }
.early-return-control span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.early-return-control--active { background: #eef7ef; border-color: #bdd8c1; }
@media (max-width: 680px) {
  .early-return-control { align-items: stretch; flex-direction: column; }
  .early-return-control .button { width: 100%; min-height: 52px; }
}


/* Tesla Life visual refresh */
:root {
  --paper: #f3f4f6;
  --line: #dfe2e7;
  --shadow: 0 14px 38px rgba(18, 22, 31, .09);
}
body {
  background:
    radial-gradient(circle at 92% 7%, rgba(59, 156, 255,.09), transparent 22rem),
    linear-gradient(180deg, #f7f8fa 0%, #f1f2f4 48%, #eceef1 100%);
}
.hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(59, 156, 255,.3), transparent 14rem),
    linear-gradient(145deg, #0c0e12 0%, #171b23 58%, #242934 100%);
  border-bottom: 3px solid var(--red);
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 140px;
  right: -110px;
  bottom: 30px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
  transform: rotate(-12deg);
}
.hero h1 span {
  background: linear-gradient(90deg, #ffffff, #8f96a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.progress-card {
  background: linear-gradient(135deg, rgba(35,39,48,.95), rgba(21,24,30,.95));
  border-color: rgba(255,255,255,.13);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}
.progress-track span {
  background: linear-gradient(90deg, #3b9cff, #79beff);
  box-shadow: 0 0 16px rgba(59, 156, 255,.65);
}
.quick-nav a {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.quick-nav a:first-child {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(59, 156, 255,.25);
}
.dashboard-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #171a20, #292e38);
  box-shadow: 0 18px 38px rgba(17,19,24,.18);
}
.dashboard-primary::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -62px;
  bottom: -72px;
  border: 28px solid rgba(59, 156, 255,.28);
  border-radius: 50%;
}
.dashboard-primary > * { position: relative; z-index: 1; }
.dashboard-stat {
  background: linear-gradient(145deg, #fff, #f4f5f7);
  box-shadow: 0 10px 28px rgba(18,22,31,.07);
  border-top: 3px solid var(--red);
}
.dashboard-stat strong { color: var(--red); }
.milestone-strip a {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f5f6f8);
  box-shadow: 0 7px 18px rgba(18,22,31,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.milestone-strip a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: #c7cbd2;
}
.milestone-strip a.is-active {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 156, 255,.14);
}
.milestone-strip a.is-active::after { background: var(--red); }
.milestone-strip a.is-complete::after { background: var(--green); }
.card, .recent-photos {
  background: rgba(255,255,255,.94);
  border-color: rgba(205,209,216,.9);
  box-shadow: 0 14px 36px rgba(18,22,31,.075);
}
.setup {
  border-top: 4px solid var(--red);
  background:
    linear-gradient(135deg, rgba(59, 156, 255,.035), transparent 35%),
    rgba(255,255,255,.96);
}
.phase-title {
  padding: 4px 2px 5px;
}
.phase-title h2 {
  text-shadow: 0 1px 0 white;
}
.milestone::before {
  width: 3px;
  background: linear-gradient(var(--red), #cfd3da 28%, #cfd3da);
}
.milestone::after {
  width: 15px;
  height: 15px;
  left: -1px;
  background: var(--red);
  box-shadow: 0 0 0 5px #f3f4f6, 0 0 0 7px rgba(59, 156, 255,.16);
}
#delivery > article.checklist {
  border-left: 4px solid #20242c;
  animation: deliveryReveal .3s ease both;
}
#delivery > article.checklist.accent-card { border-left-color: var(--red); }
#delivery > article.checklist h3::before {
  content: "CHECKPOINT";
  display: block;
  color: var(--red);
  font-size: .59rem;
  letter-spacing: .15em;
  margin-bottom: 5px;
}
.check-grid label {
  border-radius: 10px;
  padding-left: 8px;
  padding-right: 8px;
  transition: background .15s ease;
}
.check-grid label:active { background: #f3f4f7; }
input[type="checkbox"]:checked {
  background: linear-gradient(145deg, #252a33, #0f1115);
  box-shadow: 0 4px 10px rgba(18,22,31,.18);
}
.button {
  box-shadow: 0 8px 18px rgba(59, 156, 255,.18);
}
.button--dark { box-shadow: 0 8px 18px rgba(18,22,31,.16); }
.button--ghost { box-shadow: none; background: rgba(255,255,255,.72); }
.photo-add {
  background: #f8f9fa;
  border-color: #bcc1c9;
}
@keyframes deliveryReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 680px) {
  .hero { padding-bottom: 22px; }
  .dashboard-primary { min-height: 180px; }
  .dashboard-stat { min-height: 104px; }
  #delivery > article.checklist { border-left-width: 3px; }
}


/* Animated charging-station hero */
.hero::before, .hero::after { display: none; }
.hero__inner { position: relative; }
.hero h1, .hero__copy { max-width: 560px; }
.charging-visual {
  position: absolute;
  z-index: 1;
  right: 8px;
  top: 58px;
  width: 240px;
  height: 205px;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.35));
}
.charge-station {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 82px;
  height: 150px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 22px 22px 12px 12px;
  background: linear-gradient(150deg, #f8f9fb 0%, #cdd1d8 100%);
  box-shadow: inset -8px -8px 18px rgba(30,35,45,.18);
}
.charge-screen {
  width: 54px;
  height: 38px;
  margin: 15px auto 8px;
  border-radius: 8px;
  background: #151920;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}
.charge-screen span {
  width: 7px;
  height: 8px;
  border-radius: 4px 4px 2px 2px;
  background: var(--red);
  animation: chargeBars 1.4s ease-in-out infinite;
}
.charge-screen span:nth-child(2) { height: 14px; animation-delay: .18s; }
.charge-screen span:nth-child(3) { height: 21px; animation-delay: .36s; }
.charge-bolt {
  color: var(--red);
  font-size: 28px;
  line-height: 1;
  text-align: center;
  animation: chargeGlow 1.6s ease-in-out infinite;
}
.station-base {
  position: absolute;
  left: 23px;
  bottom: -13px;
  width: 36px;
  height: 18px;
  border-radius: 0 0 8px 8px;
  background: #b8bdc6;
}
.charge-cable {
  position: absolute;
  left: 75px;
  top: 50px;
  width: 100px;
  height: 108px;
  border-right: 7px solid #8d939e;
  border-bottom: 7px solid #8d939e;
  border-radius: 0 0 55px 0;
}
.charge-cable::before {
  content: "";
  position: absolute;
  right: -12px;
  top: -12px;
  width: 17px;
  height: 28px;
  border-radius: 7px;
  background: #e9ebef;
  border: 3px solid #8d939e;
}
.charge-cable i {
  position: absolute;
  width: 8px;
  height: 8px;
  right: -8px;
  bottom: 8px;
  border-radius: 50%;
  background: #65b2ff;
  box-shadow: 0 0 12px #65b2ff;
  animation: energyTravel 1.8s linear infinite;
}
.charge-cable i:nth-child(2) { animation-delay: .6s; }
.charge-cable i:nth-child(3) { animation-delay: 1.2s; }
.charge-battery {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 124px;
  height: 48px;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(17,20,26,.76);
}
.charge-battery::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 14px;
  width: 7px;
  height: 17px;
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,.72);
}
.battery-fill {
  position: absolute;
  inset: 4px;
  right: auto;
  width: 25%;
  border-radius: 8px;
  background: linear-gradient(90deg, #3b9cff, #79beff);
  animation: batteryCharge 3s ease-in-out infinite;
}
.charge-battery > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  color: white;
  font-size: .58rem;
  letter-spacing: .15em;
  font-weight: 900;
}
@keyframes chargeBars {
  0%, 100% { opacity: .35; transform: scaleY(.65); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes chargeGlow {
  0%, 100% { opacity: .55; filter: drop-shadow(0 0 0 transparent); }
  50% { opacity: 1; filter: drop-shadow(0 0 7px rgba(59, 156, 255,.85)); }
}
@keyframes energyTravel {
  0% { transform: translateY(-68px); opacity: 0; }
  20%, 75% { opacity: 1; }
  100% { transform: translate(-58px, 24px); opacity: 0; }
}
@keyframes batteryCharge {
  0% { width: 20%; }
  70%, 100% { width: calc(100% - 8px); }
}
@media (max-width: 760px) {
  .hero h1, .hero__copy { max-width: none; }
  .charging-visual {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 310px);
    height: 135px;
    margin: 18px auto 6px;
  }
  .charge-station {
    width: 66px;
    height: 112px;
    border-radius: 17px 17px 10px 10px;
  }
  .charge-screen { width: 44px; height: 31px; margin-top: 11px; padding: 6px; }
  .charge-bolt { font-size: 22px; }
  .station-base { left: 18px; bottom: -10px; width: 30px; }
  .charge-cable { left: 58px; top: 37px; width: 120px; height: 75px; }
  .charge-battery { right: 0; bottom: 2px; width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .charge-screen span, .charge-bolt, .charge-cable i, .battery-fill { animation: none; }
  .battery-fill { width: 78%; }
}


/* Matrix-green color direction */
:root {
  --red: #3b9cff;
  --green: #2687d8;
}
body {
  background:
    radial-gradient(circle at 92% 7%, rgba(59, 156, 255,.1), transparent 22rem),
    linear-gradient(180deg, #f6f9f7 0%, #f0f4f1 48%, #eaf0ec 100%);
}
.hero {
  background:
    linear-gradient(115deg, rgba(59, 156, 255,.055) 1px, transparent 1px),
    radial-gradient(circle at 82% 20%, rgba(59, 156, 255,.2), transparent 15rem),
    linear-gradient(145deg, #07110c 0%, #0d1c14 55%, #15271c 100%);
  background-size: 28px 28px, auto, auto;
  border-bottom-color: #3b9cff;
}
.hero h1 span {
  background: linear-gradient(90deg, #f7fff9, #8bb9e8);
  -webkit-background-clip: text;
  background-clip: text;
}
.progress-card {
  background: linear-gradient(135deg, rgba(13,31,20,.96), rgba(7,18,12,.96));
  border-color: rgba(89,255,153,.18);
}
.quick-nav a {
  border-color: rgba(113,255,169,.22);
  background: rgba(54,190,106,.08);
}
.dashboard-primary {
  background:
    radial-gradient(circle at 95% 100%, rgba(59, 156, 255,.2), transparent 11rem),
    linear-gradient(145deg, #09150e, #17291d);
}
.charge-screen { background: #07140d; }
.charge-station {
  background: linear-gradient(150deg, #f4fff7 0%, #b9d2c2 100%);
}
.charge-cable { border-color: #7b9d87; }
.charge-cable::before { border-color: #7b9d87; }
.charge-battery { background: rgba(5,18,10,.82); }
.milestone::after {
  box-shadow: 0 0 0 5px #f0f4f1, 0 0 0 7px rgba(59, 156, 255,.18);
}


/* Tesla-style top-down charging car */
.charging-car-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.car-charge-label {
  color: #eafff1;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.car-charge-label span {
  color: #3b9cff;
  filter: drop-shadow(0 0 6px rgba(59, 156, 255,.75));
}
.charge-car {
  position: relative;
  width: 188px;
  height: 92px;
  margin: 0 auto;
  border: 1px solid rgba(224,255,235,.42);
  border-radius: 48% 48% 38% 38% / 32% 32% 42% 42%;
  background: linear-gradient(90deg, rgba(218,230,222,.36), rgba(246,255,249,.75) 48%, rgba(184,202,190,.4));
  box-shadow: inset 0 0 28px rgba(255,255,255,.22), 0 12px 25px rgba(0,0,0,.25);
}
.charge-car::before, .charge-car::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 11px;
  border-radius: 50%;
  background: rgba(225,239,230,.42);
}
.charge-car::before { left: -5px; }
.charge-car::after { right: -5px; }
.car-pack {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 20px;
  bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(7,20,13,.8);
  border-radius: 9px;
  background: #101a14;
  box-shadow: 0 0 0 2px rgba(255,255,255,.28);
}
.car-pack-fill {
  position: absolute;
  inset: 0;
  width: 18%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, #176bb5, #3b9cff);
  background-size: 13px 100%, auto;
  box-shadow: 6px 0 18px rgba(59, 156, 255,.6);
  animation: carBatteryFill 3.2s ease-in-out infinite;
}
.car-pack b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(255,255,255,.92);
  font-size: .43rem;
  letter-spacing: .12em;
}
.car-glass {
  position: absolute;
  top: 25px;
  width: 25px;
  height: 42px;
  border-radius: 8px;
  background: rgba(17,28,21,.72);
}
.car-glass--front { left: 17px; clip-path: polygon(25% 0, 100% 12%, 100% 88%, 25% 100%, 0 75%, 0 25%); }
.car-glass--rear { right: 17px; clip-path: polygon(0 12%, 75% 0, 100% 25%, 100% 75%, 75% 100%, 0 88%); }
.wheel {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 27px;
  border-radius: 5px;
  background: #070b08;
  box-shadow: inset 0 0 0 2px #303a33;
}
.wheel--fl { left: 18px; top: -5px; }
.wheel--fr { left: 18px; bottom: -5px; }
.wheel--rl { right: 18px; top: -5px; }
.wheel--rr { right: 18px; bottom: -5px; }
.car-charge-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
  color: white;
}
.car-charge-footer strong { font-size: .7rem; }
.car-charge-footer span { color: #8fb8df; font-size: .59rem; }
@keyframes carBatteryFill {
  0% { width: 18%; }
  72%, 100% { width: 100%; }
}
@media (max-width: 760px) {
  .charging-car-visual { padding: 2px 8px; }
  .charge-car { width: 205px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .car-pack-fill { animation: none; width: 78%; }
}


/* Blue Tesla-screen dashboard */
:root {
  --red: #3b9cff;
  --green: #2687d8;
}
body {
  background:
    radial-gradient(circle at 90% 8%, rgba(59,156,255,.11), transparent 24rem),
    linear-gradient(180deg, #f5f8fc 0%, #edf3f8 52%, #e8eef4 100%);
}
.hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(59,156,255,.2), transparent 15rem),
    linear-gradient(145deg, #07111c 0%, #0d2032 55%, #16334d 100%);
  border-bottom-color: #3b9cff;
}
.hero h1 span {
  background: linear-gradient(90deg, #f6fbff, #8bb9e8);
  -webkit-background-clip: text;
  background-clip: text;
}
.progress-card {
  background: linear-gradient(135deg, rgba(12,31,48,.96), rgba(6,17,28,.96));
  border-color: rgba(102,180,255,.28);
}
.progress-track {
  position: relative;
  height: 18px;
  margin-right: 8px;
  padding: 3px;
  border: 2px solid rgba(221,240,255,.78);
  border-radius: 6px;
  background: rgba(2,11,20,.8);
  overflow: visible;
}
.progress-track::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 3px;
  width: 6px;
  height: 8px;
  border-radius: 0 3px 3px 0;
  background: rgba(221,240,255,.78);
}
.progress-track span {
  height: 8px;
  background: linear-gradient(90deg, #237bd1, #64b5ff);
  box-shadow: 0 0 16px rgba(59,156,255,.8);
}
.quick-nav a {
  border-color: rgba(117,190,255,.24);
  background: rgba(59,156,255,.08);
}
.dashboard {
  padding: 10px;
  border: 7px solid #161b22;
  border-radius: 28px;
  background: linear-gradient(150deg, #dce8f2, #f6f9fc 45%, #e5edf4);
  box-shadow: 0 26px 55px rgba(10,20,32,.22), inset 0 0 0 1px #343c46;
}
.dashboard__heading {
  margin: 0;
  min-height: 52px;
  padding: 10px 14px;
  align-items: center;
  color: #18212c;
  border-bottom: 1px solid rgba(36,65,91,.14);
}
.dashboard__heading .kicker { margin-bottom: 3px; }
.dashboard__heading h2 { font-size: clamp(1.35rem, 5vw, 2rem); }
.dashboard__date {
  color: #53687a;
  background: rgba(255,255,255,.55);
  padding: 6px 9px;
  border-radius: 9px;
}
.dashboard-grid {
  min-height: 270px;
  padding: 12px;
  grid-template-columns: minmax(0, 2.1fr) minmax(145px, .9fr);
  align-items: stretch;
}
.dashboard-primary {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 245px;
  background:
    radial-gradient(ellipse at 70% 45%, rgba(59,156,255,.28), transparent 28%),
    linear-gradient(145deg, #0b1724, #17334d);
  border: 1px solid rgba(255,255,255,.16);
}
.dashboard-primary::before {
  content: "";
  position: absolute;
  width: 52%;
  height: 42%;
  right: 8%;
  top: 20%;
  border-radius: 48% 52% 35% 38% / 48% 48% 32% 35%;
  background: linear-gradient(145deg, rgba(235,246,255,.86), rgba(99,145,183,.48));
  box-shadow: inset -18px -10px 22px rgba(10,36,58,.24), 0 15px 25px rgba(0,0,0,.22);
}
.dashboard-primary::after {
  width: 34%;
  height: 7px;
  right: 17%;
  bottom: auto;
  top: 59%;
  border: 0;
  border-radius: 50%;
  background: rgba(4,13,22,.5);
  filter: blur(4px);
}
.dashboard-stat {
  min-height: 245px;
  border-top-color: #3b9cff;
  background: rgba(255,255,255,.76);
}
.dashboard-stat strong {
  color: #237bd1;
  font-size: clamp(2.6rem, 8vw, 4rem);
}
.milestone-strip {
  margin: 0 12px 12px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(20,29,39,.92);
}
.milestone-strip a {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.07);
  color: #eef7ff;
  box-shadow: none;
}
.milestone-strip small { color: #9db0c2; }
.milestone-strip a.is-active {
  background: rgba(59,156,255,.2);
  border-color: #3b9cff;
  box-shadow: 0 0 20px rgba(59,156,255,.16);
}
.recent-photos {
  margin: 0 12px 12px;
  background: rgba(255,255,255,.68);
  box-shadow: none;
}
.car-pack-fill {
  background:
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, #176bb5, #3b9cff);
  background-size: 13px 100%, auto;
  box-shadow: 6px 0 18px rgba(59,156,255,.7);
}
@media (max-width: 680px) {
  .dashboard { border-width: 5px; border-radius: 22px; padding: 6px; }
  .dashboard-grid { grid-template-columns: 1fr; min-height: auto; padding: 8px; }
  .dashboard-primary { min-height: 235px; }
  .dashboard-stat { min-height: 110px; }
  .dashboard-stat strong { margin-top: 10px; }
  .milestone-strip { margin: 0 8px 8px; }
  .recent-photos { margin: 0 8px 8px; }
}


/* Closer Tesla center-screen layout */
:root { --red: #3b9cff; --green: #3b9cff; }
.charging-visual { display: none !important; }
.hero {
  background: linear-gradient(145deg, #08111b 0%, #10263a 56%, #173b5a 100%);
  border-bottom-color: #3b9cff;
}
.dashboard {
  padding: 8px;
  border: 9px solid #11151b;
  border-radius: 30px;
  background: #e9eef4;
  box-shadow: 0 26px 60px rgba(6,16,27,.28), inset 0 0 0 1px #3c444e;
}
.dashboard__heading {
  min-height: 48px;
  padding: 8px 14px;
  color: #171d24;
  background: #f1f3f6;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid #cfd5dc;
}
.dashboard__heading .kicker { color: #447497; }
.dashboard-grid {
  grid-template-columns: minmax(0, 2.25fr) minmax(175px, .75fr);
  min-height: 350px;
  gap: 1px;
  padding: 0;
  background: #cdd3da;
}
.tesla-screen-scene {
  position: relative;
  min-height: 350px;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  color: #161c23;
  background:
    radial-gradient(ellipse at 48% 66%, rgba(255,255,255,.95), transparent 34%),
    linear-gradient(180deg, #eef2f6, #dbe2e9);
  box-shadow: none;
  border: 0;
}
.tesla-screen-scene::before, .tesla-screen-scene::after { content: none; }
.screen-scene-label {
  position: absolute;
  left: 18px;
  top: 15px;
  display: grid;
  z-index: 4;
}
.screen-scene-label span { font-size: .7rem; font-weight: 850; letter-spacing: .14em; }
.screen-scene-label small { color: #66727e; font-size: .64rem; }
.screen-vehicle {
  position: absolute;
  left: 8%;
  right: 21%;
  top: 72px;
  height: 170px;
}
.vehicle-shadow {
  position: absolute;
  left: 7%;
  right: 4%;
  bottom: 14px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15,25,36,.25);
  filter: blur(10px);
}
.vehicle-body {
  position: absolute;
  left: 4%;
  right: 3%;
  bottom: 30px;
  height: 70px;
  border-radius: 58% 40% 25% 30% / 48% 50% 38% 42%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), transparent 30%),
    linear-gradient(150deg, #1d8ff1 0%, #0e5fa9 58%, #073b6b 100%);
  box-shadow: inset 0 -12px 18px rgba(3,30,55,.32), 0 12px 20px rgba(18,38,57,.22);
}
.vehicle-body::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 37%;
  height: 2px;
  background: rgba(215,240,255,.45);
}
.vehicle-body::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 30%;
  width: 8%;
  height: 12%;
  border-radius: 50%;
  background: #d8efff;
  box-shadow: 0 0 9px rgba(210,239,255,.9);
}
.vehicle-cabin {
  position: absolute;
  left: 28%;
  right: 20%;
  bottom: 85px;
  height: 55px;
  border-radius: 60% 48% 10% 8% / 78% 78% 12% 12%;
  background: linear-gradient(145deg, #a8c7dc, #273b4c 62%, #172531);
  border: 5px solid #126db9;
  border-bottom: 0;
  transform: skewX(-7deg);
}
.vehicle-cabin::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(210,231,244,.5);
}
.vehicle-wheel {
  position: absolute;
  z-index: 3;
  bottom: 15px;
  width: 48px;
  height: 48px;
  border: 6px solid #151a20;
  border-radius: 50%;
  background:
    radial-gradient(circle, #20262c 0 19%, transparent 20%),
    conic-gradient(#b9c1c9 0 8%, #3b4249 9% 17%, #b9c1c9 18% 26%, #3b4249 27% 35%, #b9c1c9 36% 44%, #3b4249 45% 53%, #b9c1c9 54% 62%, #3b4249 63% 71%, #b9c1c9 72% 80%, #3b4249 81% 89%, #b9c1c9 90%);
  box-shadow: 0 4px 8px rgba(0,0,0,.3);
}
.vehicle-wheel--front { left: 16%; }
.vehicle-wheel--rear { right: 13%; }
.screen-supercharger {
  position: absolute;
  z-index: 3;
  right: 7%;
  top: 80px;
  width: 54px;
  height: 118px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(145deg, #fff, #bdc5ce);
  box-shadow: 0 10px 20px rgba(19,31,43,.2);
}
.screen-supercharger::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  width: 30px;
  height: 65px;
  border-radius: 14px 14px 5px 5px;
  background: #222831;
  box-shadow: inset 8px 0 #3b9cff;
}
.screen-supercharger::after {
  content: "";
  position: absolute;
  left: -7px;
  right: -7px;
  bottom: -10px;
  height: 12px;
  border-radius: 3px;
  background: #4d555e;
}
.screen-supercharger b {
  position: absolute;
  z-index: 2;
  top: 8px;
  width: 100%;
  text-align: center;
  color: #287fca;
  font-size: .45rem;
  letter-spacing: .08em;
}
.screen-cable {
  position: absolute;
  z-index: 4;
  right: 17%;
  top: 133px;
  width: 66px;
  height: 70px;
  border-right: 4px solid #3b9cff;
  border-bottom: 4px solid #3b9cff;
  border-radius: 0 0 30px 0;
  filter: drop-shadow(0 0 5px rgba(59,156,255,.5));
}
.screen-active-copy {
  position: absolute;
  z-index: 5;
  left: 18px;
  right: 18px;
  bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(100,115,130,.18);
  border-radius: 12px;
  background: rgba(248,250,252,.86);
  backdrop-filter: blur(10px);
}
.screen-active-copy .dashboard-label { color: #3b78a8; }
.screen-active-copy h3 { margin: 3px 0 1px; font-size: 1.18rem; }
.screen-active-copy p { color: #566674; margin: 0 0 5px; font-size: .74rem; }
.screen-active-copy a { color: #126db9; font-size: .73rem; font-weight: 850; }
.tesla-charge-panel {
  min-height: 350px;
  border-radius: 0;
  border: 0;
  border-top: 0;
  padding: 20px 16px;
  background: #f5f6f8;
  box-shadow: none;
}
.tesla-charge-panel > span {
  color: #596774;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .62rem;
}
.tesla-charge-panel strong {
  margin: 14px 0 8px;
  color: #171d24;
  font-size: 3.3rem;
}
.dash-battery {
  position: relative;
  width: calc(100% - 8px);
  height: 22px;
  margin: 2px 8px 9px 0;
  padding: 3px;
  border: 2px solid #26313b;
  border-radius: 5px;
}
.dash-battery::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 5px;
  width: 6px;
  height: 8px;
  border-radius: 0 2px 2px 0;
  background: #26313b;
}
.dash-battery i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #176bb5, #5bb3ff);
  transition: width .3s ease;
}
.tesla-screen-readouts {
  display: grid;
  gap: 1px;
  margin-top: auto;
  border: 1px solid #d5dae0;
  border-radius: 10px;
  overflow: hidden;
}
.tesla-screen-readouts b {
  padding: 9px;
  background: white;
  color: #42505d;
  font-size: .67rem;
}
.milestone-strip {
  margin: 0;
  padding: 8px 10px;
  border-radius: 0 0 14px 14px;
  background: #161b22;
}
.milestone-strip a {
  min-height: 58px;
  place-content: center;
  text-align: center;
  background: transparent;
  border-color: transparent;
}
.milestone-strip a.is-active {
  background: #29384a;
  border-color: #3b9cff;
}
.recent-photos {
  margin: 10px 0 0;
  background: #f8fafc;
}
@media (max-width: 680px) {
  .dashboard { border-width: 6px; border-radius: 22px; }
  .dashboard__heading h2 { font-size: 1.18rem; }
  .dashboard-grid { grid-template-columns: 1fr; min-height: auto; }
  .tesla-screen-scene { min-height: 330px; }
  .screen-vehicle { left: 1%; right: 12%; top: 70px; transform: scale(.88); transform-origin: left center; }
  .screen-supercharger { right: 5%; }
  .screen-cable { right: 14%; }
  .tesla-charge-panel {
    min-height: 145px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6px 14px;
  }
  .tesla-charge-panel strong { margin: 0; font-size: 2.5rem; }
  .tesla-charge-panel small { grid-column: 1 / -1; }
  .tesla-screen-readouts { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); }
  .milestone-strip { display: flex; }
}


/* Photoreal dashboard vehicle presentation */
.tesla-screen-scene {
  background:
    radial-gradient(ellipse at 48% 55%, rgba(255,255,255,1), rgba(233,239,245,.92) 60%, #dce4eb 100%);
}
.dashboard-car-render {
  position: absolute;
  z-index: 2;
  left: 1.5%;
  top: 38px;
  width: 94%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 16px rgba(20,36,52,.2));
}
.screen-scene-label { z-index: 5; }
.screen-active-copy {
  left: 14px;
  right: 14px;
  bottom: 12px;
  background: rgba(248,250,252,.92);
}
.tesla-charge-panel {
  background: linear-gradient(180deg, #f8f9fb, #edf1f5);
}
.tesla-charge-panel strong { color: #166eb6; }
@media (max-width: 680px) {
  .dashboard-car-render {
    left: -2%;
    top: 42px;
    width: 104%;
    height: 205px;
  }
}


/* Yes/no damage inspections */
.inspection-question {
  display: grid;
  gap: 12px;
  padding: 15px 8px;
  border-top: 1px solid #e7e9ec;
}
.inspection-copy { display: grid; gap: 3px; }
.inspection-copy strong { color: #171d24; font-size: .94rem; }
.inspection-copy span { color: #5f6d79; font-size: .82rem; font-weight: 500; }
.inspection-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inspection-actions button {
  min-height: 48px;
  border: 1px solid #b8c2cc;
  border-radius: 12px;
  background: #f8fafc;
  color: #26333f;
  font-weight: 800;
  cursor: pointer;
}
.inspection-actions button[data-inspection-yes] {
  border-color: #8bbbe4;
  color: #126db9;
}
.inspection-actions button.is-selected {
  color: white;
  border-color: #176bb5;
  background: #176bb5;
  box-shadow: 0 7px 16px rgba(23,107,181,.2);
}
.inspection-question[data-answer="no"] {
  border-left: 3px solid #2d8b57;
  padding-left: 12px;
}
.inspection-question[data-answer="yes"] {
  border-left: 3px solid #3b9cff;
  padding-left: 12px;
  background: #f2f8fe;
}
@media (max-width: 390px) {
  .inspection-actions { grid-template-columns: 1fr; }
}
