/* Vehicle Verdict: paper, ink and a rubber stamp. The report is the product,
   so the whole site is set like a well-made independent report. The
   inspector app (body.inspector) is the same system with stronger contrast
   and bigger targets for use outdoors. */
:root {
  --paper: #F3EFE6;
  --desk: #E9E3D6;
  --sheet: #FCFAF5;
  --white: #FFFFFF;
  --ink: #1B1A17;
  --ink-2: #4A463F;
  --ink-3: #6F695F;
  --rule: #D6CFC0;
  --rule-2: #E6E0D3;
  --glass: #E3DDCF;

  --blue: #145DA8;
  --blue-soft: #E3ECF6;
  --good: #2E6B45;
  --good-soft: #E2EDE3;
  --mon: #9A6408;
  --mon-soft: #F6EBD3;
  --bad: #A82A20;
  --bad-soft: #F5E1DD;
  --stamp: #B4561B;
  --plate: #F7CF1D;
  --plate-blue: #1D4E9E;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --plate-font: "Archivo", "Arial Narrow", sans-serif;
  --sig: "La Belle Aurore", cursive;

  --r: 3px;
  --r-lg: 6px;
  --shadow-sheet: 0 1px 0 rgba(0,0,0,.04), 0 16px 36px -14px rgba(60,45,20,.26), 0 2px 6px rgba(60,45,20,.07);
  --car-fill: #FCFAF5;
  --car-edge: #ECE6D9;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: color-mix(in srgb, var(--plate) 55%, transparent); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-variation-settings: "opsz" 48; }
h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -.025em; text-wrap: balance; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.center { text-align: center; }
.right { text-align: right; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
@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; }
.row.top { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }

.env-banner { background: var(--stamp); color: #fff; text-align: center; font: 600 11px var(--sans); padding: 3px; text-transform: uppercase; letter-spacing: .14em; }

/* Icons from public/img/icons.svg */
.i { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.i.sm { width: 16px; height: 16px; }
.i.lg { width: 26px; height: 26px; }
.i.xl { width: 32px; height: 32px; }

.logo { display: block; height: auto; }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 18px; border-radius: var(--r);
  border: 0; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); font: 600 15px var(--sans);
  cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s; }
.btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--sheet); box-shadow: none; }
.btn.primary:hover { background: #33312c; color: var(--sheet); }
.btn.ghost { box-shadow: none; color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); }
.btn.block { display: flex; width: 100%; }
.btn.big { min-height: 58px; font-size: 16px; padding: 0 24px; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn .i { width: 19px; height: 19px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
button.link { background: none; border: 0; color: var(--blue); font: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
button.link:hover { text-decoration: underline; }
.more { font: italic 400 19px var(--serif); margin: 0; }
.more a { color: var(--ink); border-bottom: 1px solid var(--ink-3); padding-bottom: 2px; }
.more a:hover { text-decoration: none; border-color: var(--ink); }

/* Forms ------------------------------------------------------------------ */
label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.hint { font-size: 13px; color: var(--ink-3); margin-top: 5px; }
.err { color: var(--bad); font-size: 13.5px; margin-top: 5px; font-weight: 500; }
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: 48px; padding: 10px 13px; border-radius: var(--r); border: 0; box-shadow: inset 0 0 0 1px var(--rule);
  background: var(--white); color: var(--ink); caret-color: var(--ink); font: 16px var(--sans); }
input:hover, select:hover, textarea:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #A39C90; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 15px; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.input-icon { position: relative; }
.input-icon .i { position: absolute; left: 13px; top: 14px; color: var(--ink-3); }
.input-icon input { padding-left: 42px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--r); overflow: hidden; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; padding: 12px 8px; text-align: center; color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 600; border-left: 1.5px solid var(--ink); }
.seg label:first-of-type { border-left: 0; }
.seg input:checked + label { background: var(--ink); color: var(--sheet); }
.seg input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: -4px; }

/* UK number plates ------------------------------------------------------- */
.plate-input { flex: 1; min-width: 0; display: flex; align-items: stretch; height: 62px; background: var(--plate); border-radius: 5px; box-shadow: inset 0 0 0 2px var(--ink); overflow: hidden; }
.plate-input .uk { width: 36px; flex: none; margin: 2px 0 2px 2px; border-radius: 3px 0 0 3px; background: var(--plate-blue); color: #fff; display: grid; place-items: center; font: 700 12px var(--sans); letter-spacing: .04em; }
.plate-input input { flex: 1; min-width: 0; min-height: 0; height: 100%; border: 0; box-shadow: none !important; background: transparent; text-align: center; text-transform: uppercase;
  font: 800 34px/1 var(--plate-font); font-stretch: 72%; letter-spacing: .06em; color: #111; padding: 0 10px; }
.plate-input input::placeholder { color: rgba(17,17,17,.36); }
.plate-input:focus-within { box-shadow: inset 0 0 0 3px var(--ink), 0 0 0 3px color-mix(in srgb, var(--ink) 18%, transparent); }
.plate { display: inline-flex; align-items: stretch; vertical-align: middle; background: var(--plate); border-radius: 3px; box-shadow: inset 0 0 0 1px var(--ink); overflow: hidden; white-space: nowrap; flex: none; }
.plate::before { content: ""; width: 11px; margin: 1px 0 1px 1px; background: var(--plate-blue); }
.plate b, .plate span { font: 800 15px/24px var(--plate-font); font-stretch: 75%; letter-spacing: .06em; padding: 0 7px; color: #111; }
.plate.lg::before { width: 26px; }
.plate.lg b, .plate.lg span { font-size: 30px; line-height: 50px; padding: 0 16px; }

/* Paper sheets, stamp, signature ---------------------------------------- */
.sheet { background: var(--sheet); box-shadow: var(--shadow-sheet); border-radius: 2px; }
.stamp { display: inline-block; justify-self: start; align-self: center; color: var(--stamp); font: 800 28px/1 var(--plate-font); font-stretch: 86%; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 15px 9px; border: 3px solid currentColor; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--sheet), inset 0 0 0 3.5px currentColor;
  transform: rotate(-6deg); filter: url(#vv-rough); opacity: .93; white-space: nowrap; }
.stamp.proceed { color: var(--good); }
.stamp.walk-away { color: var(--bad); }
.stamp.sm { font-size: 17px; padding: 6px 10px 5px; border-width: 2px; box-shadow: inset 0 0 0 1.5px var(--sheet), inset 0 0 0 2.5px currentColor; }
.stamp.lg { font-size: 34px; }
.sig { font: 38px/1 var(--sig); color: #23324f; }
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); font-size: 13px; color: var(--ink-2); }
.doc-head .logo { width: 112px; }

/* Chips & tags ----------------------------------------------------------- */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2); white-space: nowrap; background: var(--sheet); }
.chip .i { width: 14px; height: 14px; }
.chip.good { color: var(--good); background: var(--good-soft); box-shadow: none; }
.chip.mon { color: var(--mon); background: var(--mon-soft); box-shadow: none; }
.chip.bad { color: var(--bad); background: var(--bad-soft); box-shadow: none; }
.chip.ink { color: var(--sheet); background: var(--ink); box-shadow: none; }
.chip.accent { color: var(--blue); background: var(--blue-soft); box-shadow: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--rule); flex: none; }
.dot.good { background: var(--good); } .dot.mon { background: var(--mon); } .dot.bad { background: var(--bad); }
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--sheet); box-shadow: inset 3px 0 0 var(--ink); color: var(--ink); padding: 12px 14px; border-radius: 2px; }
.notice .i { margin-top: 1px; }
.notice.warn { box-shadow: inset 3px 0 0 var(--stamp); }
.divider { border: 0; border-top: 1px solid var(--rule); margin: 16px 0; }

/* Lists ------------------------------------------------------------------ */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-top: 1px solid var(--rule-2); }
.list > li:first-child { border-top: 0; }
.list .item { display: flex; gap: 12px; align-items: center; padding: 13px 0; color: var(--ink); text-decoration: none; }
.list a.item:hover .t { text-decoration: underline; }
.list .t { font-weight: 600; }
.list .s { color: var(--ink-2); font-size: 14px; }
.list .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; color: var(--ink); }
.caret { color: var(--ink-3); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; margin: 0; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; text-align: right; }

/* Public site ------------------------------------------------------------ */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: 30px; padding-top: 16px; padding-bottom: 16px; }
.site-header .brand { margin-right: auto; display: block; }
.site-header .logo { width: 150px; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav .btn { color: var(--sheet); }
@media (max-width: 960px) { .site-nav a:not(.btn):not(.keep) { display: none; } .site-nav { gap: 16px; } }
@media (max-width: 420px) { .site-header .logo { width: 122px; } .site-nav .keep { display: none; } }

.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: start; }
.dateline { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--ink-2); margin-bottom: 26px; }
.dateline span:not(:last-child)::after { content: "·"; margin-left: 12px; color: var(--ink-3); }
.hero h1 { margin: 0 0 24px; }
.hero .lede { font: 400 21px/1.5 var(--serif); color: var(--ink-2); max-width: 540px; margin-bottom: 30px; font-variation-settings: "opsz" 18; }
.reg-form { max-width: 540px; }
.reg-row { display: flex; gap: 10px; }
.reg-row .btn { min-height: 62px; padding: 0 26px; font-size: 16px; }
@media (max-width: 460px) { .reg-row { flex-direction: column; } }
.terms { font-size: 14.5px; color: var(--ink-2); margin: 16px 0 26px; max-width: 540px; }
.terms strong { color: var(--ink); font-weight: 600; }

.hero-doc { position: relative; min-height: 640px; }
.hero-doc .under { position: absolute; left: 70px; right: -10px; top: 26px; height: 600px; transform: rotate(3deg); }
.hero-doc .doc { position: relative; margin: 6px 0 0 18px; padding: 34px 40px 26px; transform: rotate(-1.4deg); }
.hero-doc h3 { font-size: 30px; margin: 20px 0 8px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.doc-verdict { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin: 22px 0 16px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.doc-verdict p { margin: 0; font: italic 400 17px/1.45 var(--serif); }
.kicker { font-size: 12.5px; color: var(--ink-3); margin-bottom: 4px; }
.ftable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ftable td { padding: 9px 0; border-top: 1px solid var(--rule-2); vertical-align: baseline; }
.ftable td.n { width: 26px; font: 500 15px var(--serif); color: var(--ink-3); }
.ftable td.c { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 12px; }
.ftable .w { color: var(--ink-3); font-size: 12.5px; margin-left: 4px; }
.ftable tr.total td { border-top: 1.5px solid var(--ink); font-weight: 600; padding-top: 11px; }
.doc-sign { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-doc { min-height: 0; max-width: 560px; }
  .hero-doc .under { display: none; }
  .hero-doc .doc { margin: 0; transform: rotate(-1deg); }
}
@media (max-width: 560px) {
  .hero { padding-top: 36px; }
  .hero-doc .doc { padding: 24px 20px 18px; }
  .doc-verdict { grid-template-columns: 1fr; gap: 14px; }
  .doc-verdict .stamp { font-size: 22px; }
  .ftable .w { display: block; margin: 0; }
}

.section { padding: 76px 0; border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 12px; } .section { padding: 56px 0; } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.steps > div { padding: 22px 24px 4px 0; }
.steps > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); display: grid; place-items: center; margin-bottom: 16px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps > div:nth-child(3) { padding-left: 0; border-left: 0; } .steps > div:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps > div, .steps > div + div { padding: 20px 0 6px; border-left: 0; } .steps > div + div { border-top: 1px solid var(--rule); } }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.features { list-style: none; padding: 0; margin: 24px 0 28px; }
.features li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
.features li:last-child { border-bottom: 1px solid var(--rule); }
.features b { display: block; font-weight: 600; }
.features span { color: var(--ink-2); font-size: 15px; }
.features .i { width: 26px; height: 26px; margin-top: 1px; }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.numbers > div { padding: 14px 14px 16px 0; min-width: 0; }
.numbers > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.numbers .k { font-size: 12.5px; color: var(--ink-3); }
.numbers .v { font: 400 28px/1.15 var(--serif); letter-spacing: -.01em; font-variant-numeric: lining-nums; margin-top: 4px; white-space: nowrap; }
.numbers .v.offer { color: var(--good); }
.numbers .s { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 520px) {
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers .v { font-size: 24px; }
  .numbers > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
}
.say { margin-top: 18px; padding: 18px 20px; background: var(--paper); border-radius: 2px; box-shadow: inset 3px 0 0 var(--ink); }
.say .k { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.say blockquote { margin: 0; font: 400 18px/1.5 var(--serif); }
.say .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.promo-sheet { padding: 30px 32px; transform: rotate(.6deg); }
.promo-sheet .doc-head { margin-bottom: 18px; }

.porsche-figure { position: relative; margin: 8px 0 30px; }
.porsche-figure svg { width: 100%; height: auto; display: block; }
.callout { cursor: default; }
.callout circle { fill: var(--ink); }
.callout text { fill: var(--sheet); font: 700 6.2px var(--sans); text-anchor: middle; dominant-baseline: central; }
.callout line { stroke: var(--ink); stroke-width: .5; }
.porsche-list { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; counter-reset: pc; }
.porsche-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--rule); break-inside: avoid; }
.porsche-list .n { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--sheet); display: grid; place-items: center; font: 700 12px var(--sans); }
.porsche-list b { font-weight: 600; }
.porsche-list span { display: block; color: var(--ink-2); font-size: 14px; }
@media (max-width: 700px) { .porsche-list { columns: 1; } }
.gens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; align-items: center; }
.gens .k { font-size: 14px; color: var(--ink-2); margin-right: 6px; }
.gens span:not(.k) { font: 600 13.5px var(--sans); padding: 5px 10px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); border-radius: 3px; }

.fee { padding: 8px 28px 18px; }
.fee-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fee-table th, .fee-table td { text-align: left; padding: 16px 10px 16px 0; border-bottom: 1px solid var(--rule-2); vertical-align: baseline; }
.fee-table th { font: 600 14px var(--sans); color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-top: 18px; }
.fee-table th span { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.fee-table td:first-child { font: 400 18px var(--serif); }
.fee-table .soft { color: var(--ink-2); font-size: 16px; }
.fee-table .hard { font: 400 26px var(--serif); white-space: nowrap; }
.fee-table tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) { .fee { padding: 4px 16px 14px; } .fee-table .hard { font-size: 21px; } .fee-table td:first-child { font-size: 16px; } }

.cta { background: var(--ink); color: var(--sheet); padding: 56px 0; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 40px; align-items: center; }
.cta h2 { color: var(--sheet); margin-bottom: 8px; }
.cta p { color: #CFC8BA; margin: 0; }
.cta .btn.primary { background: var(--plate); color: var(--ink); }
.cta .btn.primary:hover { background: #ffd93d; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; gap: 20px; } }

.site-footer { padding: 34px 0 46px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--rule); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; }
.site-footer .logo { width: 126px; margin-bottom: 10px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); }

/* Quote flow ------------------------------------------------------------- */
.flow { max-width: 580px; margin: 0 auto; padding: 18px 16px 64px; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.flow-top .logo { width: 112px; }
.progress { display: flex; gap: 4px; }
.progress i { width: 26px; height: 4px; border-radius: 2px; background: var(--rule); }
.progress i.on { background: var(--ink); }
.flow h1 { font-size: 40px; margin-bottom: 18px; }
.car-card { padding: 18px 20px; display: flex; gap: 16px; align-items: center; }
.car-card .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; }
.car-card .name { font: 400 22px/1.2 var(--serif); }
.option { display: block; position: relative; }
.option input { position: absolute; opacity: 0; }
.option .box { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: start; padding: 16px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); cursor: pointer; color: var(--ink); margin: 0; font-weight: 400; }
.option .box .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.option .box strong { display: block; font-size: 16px; }
.option .box .s { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.option .price { font: 400 22px var(--serif); }
.option input:checked + .box { box-shadow: inset 0 0 0 2px var(--ink); }
.option input:checked + .box .ico { background: var(--ink); color: var(--sheet); }
.option input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }
.option + .option { margin-top: 10px; }
.receipt { padding: 6px 20px 14px; }
.breakdown { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.breakdown td { padding: 11px 0; border-bottom: 1px dashed var(--rule); }
.breakdown td:last-child { text-align: right; white-space: nowrap; }
.breakdown td .s { display: block; font-size: 13px; color: var(--ink-3); }
.breakdown tr.total td { border-bottom: 0; border-top: 1.5px solid var(--ink); padding-top: 14px; font: 400 26px var(--serif); }

/* Apps (buyer portal + inspector) ----------------------------------------- */
.app { max-width: 540px; margin: 0 auto; min-height: 100vh; padding: 0 16px calc(96px + env(safe-area-inset-bottom)); }
.app.wide { max-width: 1240px; }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--rule); }
.app-bar .logo { width: 108px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--sheet); display: grid; place-items: center; font: 700 13px var(--sans); flex: none; }
.app-top { display: flex; align-items: center; gap: 10px; padding: 16px 0 14px; position: sticky; top: 0; background: var(--paper); z-index: 5; }
.app-top .back { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); margin-left: -8px; flex: none; text-decoration: none; }
.app-top .back:hover { background: var(--desk); }
.app-top h1 { font-size: 28px; margin: 0; line-height: 1.12; letter-spacing: -.015em; }
.app-top .sub { color: var(--ink-2); font-size: 14px; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.app h2 { font: 600 13px var(--sans); color: var(--ink-2); margin: 26px 0 10px; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.card { background: var(--sheet); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 0 0 1px var(--rule-2), 0 1px 2px rgba(60,45,20,.05); }
.card.tight { padding: 6px 16px; }
.card + .card { margin-top: 12px; }
.card h3 { font-size: 21px; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: color-mix(in srgb, var(--sheet) 94%, transparent); backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); z-index: 10; }
.tabbar nav { max-width: 540px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 11px; color: var(--ink-3); font-size: 12px; font-weight: 600; position: relative; text-decoration: none; }
.tabbar a .i { width: 26px; height: 26px; }
.tabbar a.on { color: var(--ink); }
.tabbar a.on::before { content: ""; position: absolute; top: -1px; left: 30%; right: 30%; height: 2.5px; background: var(--ink); border-radius: 0 0 2px 2px; }
.tabbar .badge { position: absolute; top: 5px; left: calc(50% + 7px); background: var(--bad); color: #fff; font-size: 10.5px; border-radius: 99px; padding: 0 5px; font-weight: 700; line-height: 17px; min-width: 17px; text-align: center; }
.tabs { display: flex; gap: 0; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.tabs a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px 6px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; border-left: 1.5px solid var(--ink); }
.tabs a:first-child { border-left: 0; }
.tabs a .i { width: 18px; height: 18px; }
.tabs a.on { background: var(--ink); color: var(--sheet); }
.stage-head { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 13px; font-weight: 600; margin: 22px 0 8px; }
.job-card { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none !important; }
.job-card:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.job-card .t { font-weight: 600; }
.job-card .next { color: var(--ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 2px; }
.greet { font: 400 34px/1.1 var(--serif); margin: 4px 0 18px; letter-spacing: -.02em; }

/* Car header in the portal */
.car-head { padding: 18px 0 6px; }
.car-head h1 { font-size: 32px; margin: 8px 0 6px; }
.car-head .sub { color: var(--ink-2); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* Timeline log ---------------------------------------------------------- */
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule); position: relative; }
.log li:first-child { border-top: 0; }
.log .when { font: 600 13px var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.log .what { display: flex; align-items: center; gap: 8px; font: 400 19px/1.3 var(--serif); }
.log .what .i { color: var(--ink-2); }
.log .det { font-size: 14.5px; color: var(--ink-2); margin-top: 3px; }
.log .det a { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.log li.done .what .i { color: var(--good); }
.log li.live { background: var(--sheet); margin: 0 -16px; padding: 16px; border-top: 1.5px solid var(--ink); box-shadow: 0 1px 0 var(--rule); }
.log li.live .when { color: var(--ink); }
.log li.live .what { font-weight: 500; }
.log li.next .what, .log li.next .when { color: var(--ink-3); }
.log li.next .what .i { color: var(--rule); }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 22%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--good) 6%, transparent); } }

/* History lines */
.check-lines { list-style: none; padding: 0; margin: 0; }
.check-lines li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: start; padding: 11px 0; border-top: 1px solid var(--rule-2); }
.check-lines li:first-child { border-top: 0; }
.check-lines .i { color: var(--good); }
.check-lines li.flag .i { color: var(--mon); }
.check-lines .src { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; padding-top: 2px; }
.note-from { display: flex; gap: 12px; align-items: flex-start; }
.note-from .who { font-size: 13px; color: var(--ink-3); }

/* Car diagram ------------------------------------------------------------ */
.car-wrap { position: relative; max-width: 250px; margin: 0 auto; }
.car-svg { width: 100%; height: auto; display: block; overflow: visible; }
.car-svg .shadow, .car-side .shadow { fill: rgba(27,26,23,.06); }
.car-svg .shadow { transform: translate(1.6px, 2.2px); }
.car-svg .body { fill: var(--car-fill); stroke: var(--ink); stroke-width: 1.15; stroke-linejoin: round; }
.car-svg .panel { fill: none; stroke: var(--ink); stroke-width: .55; }
.car-svg .crest { fill: none; stroke: #8C8578; stroke-width: .45; stroke-linecap: round; }
.car-svg .glass { fill: var(--glass); stroke: var(--ink); stroke-width: .7; stroke-linejoin: round; }
.car-svg .glint { fill: none; stroke: var(--sheet); stroke-width: .9; stroke-linecap: round; opacity: .9; }
.car-svg .roof { fill: var(--car-fill); stroke: var(--ink); stroke-width: .6; stroke-linejoin: round; }
.car-svg .pillar { fill: none; stroke: var(--ink); stroke-width: .6; stroke-linecap: round; }
.car-svg .lamp { fill: var(--glass); stroke: var(--ink); stroke-width: .7; }
.car-svg .taillamp { fill: #E7C9BF; stroke: var(--ink); stroke-width: .6; }
.car-svg .detail { fill: none; stroke: var(--ink-2); stroke-width: .45; stroke-linecap: round; }
.car-svg .brake { stroke: #B4301F; stroke-width: 1; stroke-linecap: round; }
.car-svg .tail { fill: none; stroke: #B4301F; stroke-width: 1.1; stroke-linecap: round; }
.car-svg .tyre { fill: none; stroke: #8C8578; stroke-width: .6; stroke-dasharray: 2.2 1.6; }
.car-svg.dim > :not(.pin):not(a) { opacity: .55; }
.pin circle { stroke: var(--sheet); stroke-width: 2.4; }
.pin text { font: 700 11px var(--sans); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pin.todo circle { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.6; } .pin.todo text { fill: var(--ink); }
.pin.good circle { fill: var(--good); } .pin.good text { fill: #fff; }
.pin.monitor circle { fill: var(--mon); } .pin.monitor text { fill: #fff; }
.pin.concern circle { fill: var(--bad); } .pin.concern text { fill: #fff; }
.pin.num circle { fill: var(--ink); } .pin.num text { fill: var(--sheet); }
.pin.num.concern circle { fill: var(--bad); }
.pin.sel circle { stroke: var(--plate); stroke-width: 3.6; }
a.pin { cursor: pointer; }
a.pin:hover circle { stroke: var(--plate); }

.car-side { width: 100%; height: auto; display: block; }
.car-side .body { fill: var(--car-fill); stroke: var(--ink); stroke-width: .45; stroke-linejoin: round; }
.car-side .glass { fill: var(--glass); stroke: var(--ink); stroke-width: .35; }
.car-side .line { fill: none; stroke: var(--ink); stroke-width: .24; stroke-linecap: round; }
.car-side .thin { fill: none; stroke: var(--ink-2); stroke-width: .17; }
.car-side .lamp { fill: var(--glass); stroke: var(--ink); stroke-width: .3; }
.car-side .red { fill: none; stroke: #B4301F; stroke-width: .9; stroke-linecap: round; }
.car-side .tyre { fill: var(--ink); }
.car-side .wall { fill: none; stroke: #4A463F; stroke-width: .25; }
.car-side .rim { fill: var(--car-fill); stroke: var(--ink); stroke-width: .35; }
.car-side .lip { fill: none; stroke: var(--ink); stroke-width: .2; }
.car-side .disc { fill: var(--glass); stroke: #8C8578; stroke-width: .2; }
.car-side .caliper { fill: #6F695F; }
.car-side .spoke { fill: var(--car-fill); stroke: var(--ink); stroke-width: .28; stroke-linejoin: round; }
.car-side .hub { fill: var(--car-fill); stroke: var(--ink); stroke-width: .3; }
.car-side .cap { fill: var(--ink); }

/* Inspection ------------------------------------------------------------- */
.zone-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; margin: 12px 0 6px; scrollbar-width: none; }
.zone-chips a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.zone-chips a .i { width: 18px; height: 18px; }
.zone-chips a.on { background: var(--ink); color: var(--sheet); box-shadow: none; }
.zone-chips a .n { font-size: 12px; opacity: .7; }
.zone-chips a .done { color: var(--good); }
.zone-chips a.on .done { color: #9fd3b0; }
.rate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rate input { position: absolute; opacity: 0; }
.rate label { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 76px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 2px var(--ink); font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; background: var(--white); }
.rate label .i { width: 26px; height: 26px; }
.rate input:checked + label.good { background: var(--good); color: #fff; box-shadow: none; }
.rate input:checked + label.monitor { background: var(--mon); color: #fff; box-shadow: none; }
.rate input:checked + label.concern { background: var(--bad); color: #fff; box-shadow: none; }
.rate input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.capture { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 128px; border: 2px dashed var(--ink); border-radius: var(--r-lg);
  color: var(--ink); cursor: pointer; text-align: center; margin: 0; font-size: 16px; font-weight: 700; background: var(--white); }
.capture .i { width: 34px; height: 34px; }
.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); overflow: hidden; background: var(--desk); }
.thumbs img, .thumbs video { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 5px; right: 5px; background: rgba(27,26,23,.75); color: #fff; border: 0; border-radius: 50%; width: 28px; height: 28px; cursor: pointer; display: grid; place-items: center; padding: 0; }
.thumbs button .i { width: 16px; height: 16px; }
.sticky-bottom { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 14px 0 6px; background: linear-gradient(transparent, var(--paper) 26%); z-index: 4; }

.item-status { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--ink-3); }
.item-status .i { width: 18px; height: 18px; }
.item-status.good { background: var(--good); color: #fff; box-shadow: none; }
.item-status.monitor { background: var(--mon); color: #fff; box-shadow: none; }
.item-status.concern { background: var(--bad); color: #fff; box-shadow: none; }
.item-status.na { background: var(--desk); color: var(--ink-2); box-shadow: none; }

.verdict-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.verdict-pick input { position: absolute; opacity: 0; }
.verdict-pick label { margin: 0; min-height: 64px; display: grid; place-items: center; border-radius: var(--r-lg); box-shadow: inset 0 0 0 2px var(--ink); font: 800 15px var(--plate-font); font-stretch: 86%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--white); cursor: pointer; text-align: center; padding: 6px; }
.verdict-pick input:checked + label.proceed { background: var(--good); color: #fff; box-shadow: none; }
.verdict-pick input:checked + label.negotiate { background: var(--stamp); color: #fff; box-shadow: none; }
.verdict-pick input:checked + label.walk-away { background: var(--bad); color: #fff; box-shadow: none; }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule-2); align-items: center; }
.steps-list li:first-child { border-top: 0; }
.steps-list .n { flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.steps-list li.done .n { background: var(--good); color: #fff; box-shadow: none; }

.visit-card { background: var(--ink); color: var(--sheet); border-radius: var(--r-lg); padding: 18px; box-shadow: none; }
.visit-card .car { font: 400 26px/1.15 var(--serif); margin: 10px 0 4px; }
.visit-card .meta { color: #CFC8BA; font-size: 14px; display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.visit-card .meta .i { width: 16px; height: 16px; }
.visit-card .chip { background: var(--plate); color: var(--ink); box-shadow: none; }
.visit-card .btn { color: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--sheet); }
.visit-card .btn:hover { background: rgba(255,255,255,.08); }
.visit-card .btn.primary { background: var(--plate); color: var(--ink); box-shadow: none; }
.visit-card .btn.primary:hover { background: #ffd93d; }
.visit-card .tiny { color: #B5AE9F; }

.bubble { max-width: 84%; padding: 11px 14px; border-radius: 14px 14px 14px 4px; background: var(--white); box-shadow: 0 0 0 1px var(--rule-2); margin: 8px 0; white-space: pre-wrap; }
.bubble.me { margin-left: auto; background: var(--ink); color: var(--sheet); box-shadow: none; border-radius: 14px 14px 4px 14px; }
.bubble .tiny { display: block; margin-top: 5px; color: var(--ink-3); font-size: 12px; }
.bubble.me .tiny { color: #B5AE9F; }
.composer { display: flex; gap: 8px; }
.composer .btn { min-height: 48px; }

.login-box { max-width: 400px; margin: 9vh auto 0; padding: 0 16px 48px; }
.login-box .logo { width: 220px; margin: 0 auto 30px; }
.login-box h1 { font-size: 34px; }

/* Report ----------------------------------------------------------------- */
.report-layout { display: grid; grid-template-columns: 210px minmax(0, 780px) 250px; gap: 36px; justify-content: center; align-items: start; padding: 32px 0 40px; }
.report-side { position: sticky; top: 20px; font-size: 14px; }
.report-side .k { color: var(--ink-3); font-size: 12.5px; margin-bottom: 8px; }
.toc { list-style: none; margin: 0 0 26px; padding: 0; }
.toc a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a span:last-child { color: var(--ink-3); }
.report-side .btn { width: 100%; margin-bottom: 8px; }
.report-side .hint { margin-top: 2px; }
.report-doc { padding: 44px 52px 40px; }
.report-doc h1 { font-size: 46px; margin: 26px 0 10px; }
.report-doc h2 { font-size: 30px; margin: 40px 0 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; scroll-margin-top: 20px; }
.report-doc h2 small { font: 400 14px var(--sans); color: var(--ink-3); }
.verdict-block { display: grid; grid-template-columns: 262px 1fr; gap: 28px; align-items: center; margin: 26px 0 0; padding: 26px 0; border-top: 1px solid var(--rule); }
.verdict-block blockquote { margin: 0; font: italic 400 21px/1.45 var(--serif); font-variation-settings: "opsz" 24; }
.verdict-block .by { display: flex; align-items: center; gap: 14px; margin-top: 10px; color: var(--ink-3); font-size: 13px; }
.verdict-block .sig { font-size: 34px; }
.report-margin { position: sticky; top: 20px; padding-top: 120px; }
.report-margin .k { color: var(--ink-3); font-size: 12.5px; margin-bottom: 10px; }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--ink-2); margin-top: 12px; justify-content: center; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.finding { display: grid; grid-template-columns: 34px minmax(0, 1fr) 220px; gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule); scroll-margin-top: 20px; }
.finding .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--sheet); display: grid; place-items: center; font: 700 13px var(--sans); }
.finding .n.concern { background: var(--bad); }
.finding .t { font-weight: 600; font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.finding .w { font-size: 13.5px; color: var(--ink-3); margin: 3px 0 8px; display: flex; align-items: center; gap: 6px; }
.finding .w .i { width: 16px; height: 16px; }
.finding p { margin: 0; font: 400 16.5px/1.55 var(--serif); color: var(--ink-2); }
.finding .cost { font: 400 21px var(--serif); margin-top: 10px; font-variant-numeric: lining-nums; }
.finding .pics { display: grid; gap: 8px; align-content: start; }
.finding .pics a { display: block; aspect-ratio: 4 / 3; background: var(--desk); border-radius: 2px; overflow: hidden; }
.finding .pics img, .finding .pics video { width: 100%; height: 100%; object-fit: cover; }
.finding .pics .more-pics { font-size: 12.5px; color: var(--ink-3); }
.finding.nopics { grid-template-columns: 34px minmax(0, 1fr); }
.mobile-car { display: none; }
.factory { width: 100%; border-collapse: collapse; font-size: 15px; }
.factory td { padding: 10px 0; border-top: 1px solid var(--rule-2); vertical-align: top; }
.factory td.r { text-align: right; white-space: nowrap; color: var(--ink-2); }
.factory .i { width: 18px; height: 18px; color: var(--good); margin-right: 8px; vertical-align: -3px; }
.factory tr.flag .i { color: var(--mon); }
.factory tr.flag td { background: var(--mon-soft); }
.factory tr.flag td:first-child { padding-left: 10px; }
.factory tr.flag td:last-child { padding-right: 10px; }
.factory .note { display: block; color: var(--ink-2); font-size: 14px; margin-top: 3px; }
details.checks { border-top: 1px solid var(--rule); }
details.checks summary { cursor: pointer; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; list-style: none; }
details.checks summary::after { content: "Show"; color: var(--blue); font-weight: 600; }
details.checks[open] summary::after { content: "Hide"; }
details.checks summary::-webkit-details-marker { display: none; }
.check-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.check-zone { padding: 10px 0 12px; border-top: 1px solid var(--rule-2); break-inside: avoid; }
.check-zone h4 { margin: 0 0 6px; font: 600 14px var(--sans); display: flex; align-items: center; gap: 8px; }
.check-zone ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.check-zone li { display: flex; gap: 8px; align-items: center; padding: 2px 0; }
.check-zone li .i { width: 15px; height: 15px; }
.check-zone li.good .i { color: var(--good); } .check-zone li.monitor .i { color: var(--mon); } .check-zone li.concern .i { color: var(--bad); } .check-zone li.none .i { color: var(--rule); }
.report-foot { margin-top: 36px; padding-top: 18px; border-top: 1.5px solid var(--ink); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; font-size: 13px; color: var(--ink-3); }
.report-actions-m { display: none; }
.sample-note { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 1180px) {
  .report-layout { grid-template-columns: minmax(0, 780px) 240px; }
  .report-side { display: none; }
  .report-actions-m { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
}
@media (max-width: 900px) {
  .report-layout { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .report-margin { display: none; }
  .mobile-car { display: block; margin: 6px 0 4px; }
  .report-doc { padding: 26px 20px 28px; margin: 0 -16px; box-shadow: none; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .report-doc h1 { font-size: 34px; }
  .verdict-block { grid-template-columns: 1fr; gap: 14px; }
  .verdict-block blockquote { font-size: 19px; }
  .finding { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .finding .pics { grid-column: 2; grid-template-columns: repeat(3, 1fr); }
  .check-groups { grid-template-columns: 1fr; }
  .report-actions-m { grid-template-columns: 1fr; }
}

/* Seller copy */
.report-layout.two { grid-template-columns: minmax(0, 780px) 250px; }
@media (max-width: 900px) { .report-layout.two { grid-template-columns: minmax(0, 1fr); } }
.seller-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--sheet); box-shadow: inset 3px 0 0 var(--blue); border-radius: 2px; margin: 18px 0 0; font-size: 14.5px; }

/* Share page */
.share-link { display: flex; gap: 8px; }
.share-link input { font-size: 14px; }

/* Inspector: same system, more contrast and bigger targets for outdoors */
body.inspector { --paper: #F5F2EA; --rule: #C9C1B1; --ink-3: #5F594F; }
.inspector .app-top h1 { font: 700 24px/1.15 var(--sans); letter-spacing: -.01em; }
.inspector .card { box-shadow: 0 0 0 1.5px #D3CBBB; }
.inspector .list .t { font-size: 16.5px; }
.inspector .list .s { font-size: 14.5px; }
.inspector .btn { min-height: 52px; font-size: 16px; }
.inspector .btn.sm { min-height: 42px; font-size: 14.5px; }
.inspector .job-card { padding: 14px 16px; }
.inspector .car-wrap { max-width: 236px; }
.inspector label { color: var(--ink); font-weight: 600; }
.inspector .greet { font: 700 30px/1.1 var(--sans); letter-spacing: -.02em; }
.inspector .tabs a { padding: 12px 6px; font-size: 15px; }
.stage-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; color: var(--ink); }
.task-list .ico { background: var(--ink); color: var(--sheet); }
.pin-ico { color: #fff; pointer-events: none; }
.pin.todo .pin-ico { color: var(--ink); }

/* Portal on desktop: the tab bar sits in the header instead of the bottom */
@media (min-width: 1000px) {
  body.portal .app { padding-bottom: 48px; }
  body.portal .tabbar { top: 14px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); border: 0; background: transparent; backdrop-filter: none; padding: 0; }
  body.portal .tabbar nav { display: flex; gap: 4px; }
  body.portal .tabbar a { flex-direction: row; gap: 7px; padding: 8px 14px; font-size: 14.5px; border-radius: 99px; }
  body.portal .tabbar a .i { width: 20px; height: 20px; }
  body.portal .tabbar a.on { background: var(--ink); color: var(--sheet); }
  body.portal .tabbar a.on::before { display: none; }
  body.portal .tabbar .badge { position: static; margin-left: 2px; }
  body.portal .sticky-bottom { bottom: 0; }
}
/* Inspection group tabs: icon over label so four fit on a phone */
.tabs.groups a { flex-direction: column; gap: 2px; font-size: 13px; padding: 8px 2px; }
.tabs.groups a .i { width: 22px; height: 22px; }
