/* Colour scheme from the v3 proposal artifact: the design system's dark
   neutrals with its blue accent override (oklch hue 250), which matches the
   blue in the Vehicle Verdict logo. */
:root {
  --bg: #161826;
  --surface: #232532;
  --surface-2: #2b2e3d;
  --text: #e9e9ed;
  --line: color-mix(in srgb, #e9e9ed 16%, transparent);

  --n-100: #f3f5fe; --n-200: #e4e7f5; --n-300: #cfd3e5; --n-400: #b2b6ca; --n-500: #9397ab;
  --n-600: #75798c; --n-700: #595d6c; --n-800: #3f424d; --n-900: #292b31;
  --muted: var(--n-400);
  --faint: var(--n-500);
  --dim: var(--n-600);

  --accent: oklch(0.66 0.18 250);
  --accent-100: oklch(0.94 0.04 250);
  --accent-200: oklch(0.87 0.08 250);
  --accent-300: oklch(0.80 0.12 250);
  --accent-400: oklch(0.72 0.16 250);
  --accent-600: oklch(0.56 0.16 250);
  --accent-700: oklch(0.46 0.13 250);
  --accent-800: oklch(0.35 0.10 250);
  --accent-900: oklch(0.26 0.07 250);

  --good: oklch(0.76 0.12 155);
  --mon: oklch(0.8 0.12 80);
  --bad: oklch(0.72 0.13 25);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 4px; --r-md: 8px; --r-lg: 14px;
  --shadow-md: 0 0 0 1px #595d6c, 0 6px 18px rgba(0,0,0,.55);
  color-scheme: dark;
}
@supports not (color: oklch(0 0 0)) {
  :root {
    --accent: #1795fa; --accent-100: #d8eeff; --accent-200: #add9ff; --accent-300: #80c3ff; --accent-400: #49a9ff;
    --accent-600: #0077cd; --accent-700: #005a9d; --accent-800: #003c6c; --accent-900: #022544;
    --good: #6dc88f; --mon: #e6b55d; --bad: #eb827b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-300); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--accent-200); text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(24px, 3.5vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 760px) { .wrap { padding: 0 16px; } }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.right { text-align: right; }
.hidden { display: none !important; }

.env-banner { background: #b45309; color: #fff; text-align: center; font-size: 11px; padding: 3px; text-transform: uppercase; letter-spacing: .12em; }

/* Logo: transparent PNG cut from the supplied artwork */
.logo { display: block; height: auto; }

/* Buttons: accent outline, as in the proposal */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 16px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: transparent; color: var(--text);
  font: 400 15px var(--font); cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn:hover { border-color: var(--n-600); color: var(--text); }
.btn.primary { color: var(--accent); border-color: var(--accent); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.btn.primary:active { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.btn.block { display: flex; width: 100%; }
.btn.big { min-height: 56px; font-size: 16px; padding: 0 22px; }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.btn.capture { min-height: 60px; border: 1.5px solid var(--accent); border-radius: 30px; color: var(--accent); font-size: 16px;
  box-shadow: 0 0 24px var(--accent-800); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.btn.capture:hover { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
button.link { background: none; border: 0; color: var(--accent-300); font: inherit; cursor: pointer; padding: 0; }
button.link:hover { color: var(--accent-200); }

/* Forms */
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.err { color: var(--bad); font-size: 13px; margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=number],
input[type=datetime-local], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--surface); color: var(--text); caret-color: var(--accent); font: 16px var(--font); }
.card input:not([type=radio]):not([type=checkbox]), .card select, .card textarea { background: var(--bg); }
input:hover, select:hover, textarea:hover { border-color: var(--n-600); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
input::placeholder, textarea::placeholder { color: var(--dim); }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; padding: 12px 8px; border-radius: var(--r-md); border: 1px solid var(--line); text-align: center; color: var(--text); cursor: pointer; font-size: 15px; }
.seg label:hover { border-color: var(--n-600); }
.seg input:checked + label { color: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Registration: blue UK badge, as in the proposal */
.plate { display: inline-flex; align-items: stretch; vertical-align: middle; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--r-md); overflow: hidden; padding-right: 14px; font-weight: 600; letter-spacing: .08em; font-size: 20px; line-height: 52px;
  color: var(--text); white-space: nowrap; }
.plate::before { content: "UK"; display: grid; place-items: center; width: 30px; margin-right: 12px; line-height: 1; background: var(--accent-800);
  color: var(--accent-100); font-size: 10px; font-weight: 400; letter-spacing: .05em; }
.plate.sm { font-size: 12px; line-height: 22px; border-radius: 5px; padding-right: 7px; }
.plate.sm::before { width: 20px; margin-right: 6px; font-size: 7px; }

.card { background: var(--surface); border-radius: var(--r-md); padding: 18px; }
.card.tight { padding: 14px; }
.card + .card { margin-top: 12px; }
.kicker { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.chip { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); white-space: nowrap; }
.chip.accent { background: var(--accent-800); color: var(--accent-100); box-shadow: none; }
.chip.good { color: var(--good); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--good) 45%, transparent); }
.chip.mon { color: var(--mon); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mon) 45%, transparent); }
.chip.bad { color: var(--bad); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 45%, transparent); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--n-600); flex: none; }
.dot.good { background: var(--good); } .dot.mon { background: var(--mon); } .dot.bad { background: var(--bad); }
.notice { border-left: 3px solid var(--accent); background: var(--accent-900); color: var(--n-200); padding: 12px 14px; border-radius: var(--r-md); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-top: 1px solid var(--n-800); }
.list > li:first-child { border-top: 0; }
.list .item { display: flex; gap: 12px; align-items: center; padding: 14px 0; color: var(--text); text-decoration: none; }
.list a.item:hover .t { color: var(--accent-300); }
.list .t { font-weight: 500; }
.list .s { color: var(--muted); font-size: 14px; }
.caret { color: var(--dim); }

/* Public site ------------------------------------------------------------ */
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.site-header .brand { margin-right: auto; display: block; }
.site-header .logo { width: 165px; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: var(--n-300); font-size: 14px; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .btn { font-size: 14px; min-height: 40px; }
@media (max-width: 900px) { .site-nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .site-header .logo { width: 128px; } .site-header .wrap { gap: 12px; } }

.hero { background: radial-gradient(ellipse at 80% 40%, var(--accent-900), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { margin: 0 0 22px; }
.hero .lede { font-size: 18px; line-height: 1.55; color: var(--n-300); max-width: 500px; text-wrap: pretty; margin-bottom: 22px; }
.hero-media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden;
  /* Blend the masked photo as one layer so its blacks drop out against the
     page; a blend on the <img> alone is isolated by the mask. */
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 58% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 58% 50%, #000 55%, transparent 100%); }
.hero-media picture { display: block; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; padding-top: 40px; padding-bottom: 32px; }
  .hero-media { aspect-ratio: 16 / 9; margin: 16px -16px 0; }
}

.reg-form { max-width: 460px; }
.reg-form > label { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.reg-row { display: flex; gap: 8px; }
.reg-input { flex: 1; min-width: 0; min-height: 56px; display: flex; align-items: stretch; border-radius: var(--r-md); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--accent); overflow: hidden; }
.reg-input span { width: 34px; flex: none; display: grid; place-items: center; background: var(--accent-800); color: var(--accent-100); font-size: 10px; letter-spacing: .05em; }
.reg-input input { border: 0; border-radius: 0; background: transparent; box-shadow: none !important; font: 600 24px var(--font); letter-spacing: .08em; text-transform: uppercase; min-height: 56px; padding: 0 12px; }
.reg-input:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.reg-form .btn { min-height: 56px; padding: 0 22px; }
.reg-form .note { display: block; font-size: 12px; color: var(--faint); margin-top: 8px; }
@media (max-width: 420px) { .reg-row { flex-direction: column; } }

.section { padding: 64px 0; }
.section h2 { margin-bottom: 32px; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.how .n { font-size: 13px; color: var(--accent); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.how h3 { font-size: 17px; margin: 0 0 8px; }
.how p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.price-card { background: var(--surface); border-radius: var(--r-md); padding: 8px 24px; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 18px 8px 18px 0; vertical-align: baseline;
  background: linear-gradient(to right, transparent, var(--n-800) 48px, var(--n-800) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px; }
.price-table tr:last-child td { background: none; }
.price-table th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 400; padding: 14px 8px 14px 0;
  background: linear-gradient(to right, transparent, var(--line) 48px, var(--line) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px; }
.price-table td:first-child { font-size: 16px; }
.price-table .soft { font-size: 15px; color: var(--muted); }
.price-table .hard { font-size: 22px; font-weight: 500; white-space: nowrap; }
.porsche-list { columns: 2; column-gap: 24px; padding-left: 18px; color: var(--n-300); font-size: 14px; margin: 0; }
.porsche-list li { margin-bottom: 4px; }
@media (max-width: 560px) { .porsche-list { columns: 1; } }
.site-footer { border-top: 1px solid var(--n-800); padding: 32px 0 48px; color: var(--faint); font-size: 14px; }
.site-footer .logo { width: 130px; margin-bottom: 12px; }

/* Quote flow */
.flow { max-width: 560px; margin: 0 auto; padding: 16px 16px 64px; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.flow-top .logo { width: 104px; }
.progress { display: flex; gap: 4px; }
.progress i { width: 24px; height: 3px; border-radius: 2px; background: var(--n-800); }
.progress i.on { background: var(--accent); }
.reg-display { min-height: 52px; display: flex; align-items: center; gap: 12px; border-radius: var(--r-md); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.reg-display .uk { align-self: stretch; width: 30px; display: grid; place-items: center; background: var(--accent-800); color: var(--accent-100); font-size: 10px; }
.reg-display .reg { font-size: 20px; font-weight: 600; letter-spacing: .08em; }
.reg-display svg { width: 22px; height: 22px; margin: 0 14px 0 auto; color: var(--accent); flex: none; }
.breakdown { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.breakdown td { padding: 8px 0; }
.breakdown td:last-child { text-align: right; }
.breakdown tr.total td { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 600; font-size: 18px; }
.option { display: block; position: relative; }
.option input { position: absolute; opacity: 0; }
.option .box { display: block; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; color: var(--text); margin: 0; }
.option input:checked + .box { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-900); }
.option input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.option + .option { margin-top: 10px; }
.option .price { float: right; font-weight: 600; }

/* Phone apps (inspector + portal) ---------------------------------------- */
.app { max-width: 520px; margin: 0 auto; min-height: 100vh; padding: 0 16px calc(84px + env(safe-area-inset-bottom)); }
.app-top { display: flex; align-items: center; gap: 10px; padding: 16px 0 12px; position: sticky; top: 0; background: var(--bg); z-index: 5; }
.app-top .back { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--text); margin-left: -8px; font-size: 22px; flex: none; text-decoration: none; }
.app-top .back:hover { background: var(--surface); }
.app-top h1 { font-size: 22px; margin: 0; letter-spacing: -.01em; line-height: 1.2; }
.app-top .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.portal-brand { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 0; }
.portal-brand .logo { width: 104px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 12px; color: var(--text); flex: none; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--n-800); padding-bottom: env(safe-area-inset-bottom); z-index: 10; }
.tabbar nav { max-width: 520px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0 12px; color: var(--dim); font-size: 12px; position: relative; text-decoration: none; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.on { color: var(--accent); }
.tabbar .badge { position: absolute; top: 6px; left: calc(50% + 6px); background: var(--accent); color: var(--bg); font-size: 10px; border-radius: 99px; padding: 0 5px; font-weight: 700; }
.app h2 { font-size: 13px; color: var(--faint); font-weight: 400; margin: 24px 0 10px; letter-spacing: .08em; text-transform: uppercase; }
.greet { font-size: 26px; font-weight: 500; margin: 4px 0 18px; letter-spacing: -.02em; }
.visit-card { background: radial-gradient(ellipse at 85% 0%, var(--accent-900), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px var(--accent-700); }
.visit-card .car { font-size: 20px; font-weight: 500; margin: 8px 0 2px; }
.tabs { display: flex; gap: 4px; background: var(--surface); padding: 4px; border-radius: 10px; margin-bottom: 14px; }
.tabs a { flex: 1; text-align: center; padding: 8px; border-radius: 7px; color: var(--muted); font-size: 14px; text-decoration: none; }
.tabs a:hover { color: var(--text); }
.tabs a.on { background: var(--bg); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-700); }
.stage-head { display: flex; justify-content: space-between; color: var(--faint); font-size: 12px; margin: 20px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.job-card { display: block; color: var(--text); text-decoration: none !important; }
.job-card:hover { box-shadow: inset 0 0 0 1px var(--n-700); color: var(--text); }
.job-card .next { color: var(--accent-300); font-size: 14px; white-space: nowrap; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; }

/* Soft check lines */
.check-lines { list-style: none; padding: 0; margin: 0; }
.check-lines li { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--n-800); }
.check-lines li:first-child { border-top: 0; }
.check-lines .src { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }

/* Timeline: done / live / next, as in the proposal */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 22px 32px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 20px; bottom: 0; width: 2px; background: var(--n-800); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--accent-700); }
.timeline li.next::before { background: transparent; }
.timeline .node { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--n-600); background: var(--bg); }
.timeline .done .node { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.timeline .live .node { box-shadow: inset 0 0 0 2px var(--accent), 0 0 12px var(--accent); }
.timeline .label { font-weight: 500; }
.timeline .done .label { color: var(--n-200); }
.timeline .next .label { color: var(--faint); }
.timeline .when { float: right; color: var(--muted); font-size: 13px; }
.timeline .detail { color: var(--muted); font-size: 14px; margin-top: 2px; }
.timeline .next .detail, .timeline .next .when { color: var(--dim); }

/* Car overlay */
.car-wrap { position: relative; max-width: 260px; margin: 0 auto; }
.car-svg { width: 100%; height: auto; display: block; }
.car-svg .body { fill: var(--surface); stroke: var(--n-600); stroke-width: 1.5; }
.car-svg .glass { fill: var(--bg); stroke: var(--n-700); }
.car-svg .tyre { fill: #0e0f18; stroke: var(--n-700); }
.pin circle { stroke: var(--bg); stroke-width: 2; }
.pin text { font: 600 11px var(--font); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pin.todo circle { fill: var(--n-700); } .pin.todo text { fill: var(--text); }
.pin.good circle { fill: var(--good); } .pin.good text { fill: #0e1a12; }
.pin.monitor circle { fill: var(--mon); } .pin.monitor text { fill: #1d1607; }
.pin.concern circle { fill: var(--bad); } .pin.concern text { fill: #1f0b07; }
.pin.sel circle { stroke: var(--accent-300); stroke-width: 3; }
.pin.num circle { fill: var(--accent); } .pin.num text { fill: var(--bg); }
a.pin { cursor: pointer; }

.zone-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin: 10px 0; scrollbar-width: none; }
.zone-chips a { flex: none; text-decoration: none; }
.zone-chips a.on .chip { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-300); }

.rate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rate input { position: absolute; opacity: 0; }
.rate label { margin: 0; display: grid; place-items: center; min-height: 64px; border-radius: var(--r-md); border: 1.5px solid var(--line); font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; }
.rate input:checked + label.good { border-color: var(--good); color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.rate input:checked + label.monitor { border-color: var(--mon); color: var(--mon); background: color-mix(in srgb, var(--mon) 14%, transparent); }
.rate input:checked + label.concern { border-color: var(--bad); color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }
.rate input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.capture { display: grid; place-items: center; gap: 4px; min-height: 120px; border: 1.5px dashed var(--accent-700); border-radius: var(--r-lg);
  color: var(--accent); cursor: pointer; text-align: center; margin: 0; font-size: 15px; background: color-mix(in srgb, var(--accent-900) 50%, transparent); }
.capture svg { width: 30px; height: 30px; }
.capture input { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.thumbs img, .thumbs video { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 50%; width: 26px; height: 26px; cursor: pointer; }
.sticky-bottom { position: sticky; bottom: calc(72px + env(safe-area-inset-bottom)); padding: 12px 0; background: linear-gradient(transparent, var(--bg) 30%); }

.verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; }
.verdict::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.verdict.proceed { color: var(--good); } .verdict.negotiate { color: var(--mon); } .verdict.walk-away { color: var(--bad); }
.verdict-card { box-shadow: inset 3px 0 0 var(--mon); }
.verdict-card.proceed { box-shadow: inset 3px 0 0 var(--good); } .verdict-card.walk-away { box-shadow: inset 3px 0 0 var(--bad); }
.finding { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--n-800); }
.finding:first-child { border-top: 0; }
.finding .num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.finding .cost { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--n-800); align-items: flex-start; }
.steps-list li:first-child { border-top: 0; }
.steps-list .n { flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--n-600); display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.steps-list li.done .n { background: var(--accent); color: var(--bg); box-shadow: none; }

.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; background: var(--surface-2); margin: 6px 0; white-space: pre-wrap; }
.bubble.me { margin-left: auto; background: var(--accent-900); box-shadow: inset 0 0 0 1px var(--accent-800); }
.bubble .tiny { display: block; margin-top: 4px; color: var(--faint); }

.login-box { max-width: 380px; margin: 10vh auto 0; padding: 0 16px 48px; }
.login-box .logo { width: 240px; margin: 0 auto 32px; }

/* Desktop: report pages get more room */
.app.wide { max-width: 760px; }
