/* IBM Plex, served from this server (no font CDN): Sans 400/500/600, Mono 400/500, Latin. */
@font-face { font-family: "IBM Plex Sans"; src: url("/verify/fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/verify/fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/verify/fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/verify/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/verify/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

/* Colours: the result bands carry the verdict (green, red, amber, grey); everything else stays quiet. */
/* Type scale: few steps. Labels and fine print 12, details 14, text 16, headings 20, verdict 32,
   start page 48; on phones the two display steps shrink. */
:root {
  --text-xs: 12px; --text-s: 14px; --text-m: 16px; --text-l: 20px; --text-xl: 32px; --text-xxl: 48px;
  --ground: #f2f5f8;
  --card: #ffffff;
  --subtle: #f7f9fb;
  --line: #dce3ea;
  --hairline: #edf1f5;
  --ink: #0b1d30;
  --muted: #4a5a6a;
  --field: #8fa6bc;
  --link: #0b5e8e;
  --navy: #0b1d30;
  --button: #0b1d30;
  --button-ink: #ffffff;
  --tile: #e9edf1;
  --chip: rgba(255, 255, 255, 0.92);
  --chip-ink: #0b1d30;
  --map-filter: none;
  --ok: #0f6b3a;
  --ok-mark: #17803f;
  --ok-tint: #e6f4ec;
  --ok-line: #cfe3d7;
  --bad: #a3241c;
  --bad-mark: #c62e25;
  --bad-text: #a3241c;
  --warn: #f4b63f;
  --warn-ink: #2a1b00;
  --warn-mark: #e0a021;
  --warn-text: #7a4900;
  --neutral: #3e4e5e;
  --neutral-mark: #6b7b8b;
  --info: #8fa0b2;
  --mark-ink: #ffffff;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0b1520;
    --card: #111e2c;
    --subtle: #0e1926;
    --line: #22364b;
    --hairline: #1a2b3d;
    --ink: #e7eef5;
    --muted: #9aaec2;
    --field: #3d5873;
    --link: #7cc6ee;
    --button: #e7eef5;
    --button-ink: #0b1520;
    --tile: #1a2b3d;
    --chip: rgba(11, 21, 32, 0.86);
    --chip-ink: #e7eef5;
    --map-filter: brightness(0.82) saturate(0.85);
    --ok: #145c37;
    --ok-mark: #46c98b;
    --ok-tint: rgba(70, 201, 139, 0.12);
    --ok-line: #2b4a3c;
    --bad: #8e2019;
    --bad-mark: #ff6b5e;
    --bad-text: #ff8a7f;
    --warn: #e8a93a;
    --warn-ink: #1f1400;
    --warn-mark: #f2b755;
    --warn-text: #f2b755;
    --neutral: #2b3a4a;
    --neutral-mark: #7f93a8;
    --info: #5e738a;
    --mark-ink: #0b1520;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: var(--text-m)/1.5 var(--sans); -webkit-text-size-adjust: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
a { color: var(--link); }
a:hover { color: var(--ink); }
code { font: var(--text-xs)/1.4 var(--mono); background: var(--subtle); border: 1px solid var(--hairline); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--button); background: var(--button); color: var(--button-ink);
  font: 600 var(--text-s)/1 var(--sans); text-decoration: none;
}
button.secondary { background: transparent; color: var(--ink); }
button:focus-visible, .drop:focus-within, input:focus-visible, summary:focus-visible, .rail-item:focus-visible { outline: 3px solid #9fc6e0; outline-offset: 2px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.kicker { margin: 0; font: 500 var(--text-xs)/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ── Masthead ───────────────────────────────────────────────────────────────── */

.masthead { background: var(--navy); color: #fff; }
.bar { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; flex-grow: 1; color: #fff; text-decoration: none; font-weight: 600; font-size: var(--text-m); }
.brand:hover { color: #fff; }
.brand img { border-radius: 8px; }
.brand-sub { font-weight: 400; color: #9fc6e0; }
.how-link { color: #cfe6f5; font-size: var(--text-s); }
.how-link:hover { color: #fff; }
.narrow { display: none; }

/* ── Drop areas ─────────────────────────────────────────────────────────────── */

.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 22px 16px; text-align: center; cursor: pointer;
  border: 2px dashed var(--field); border-radius: 12px; background: var(--card); color: var(--link);
  transition: border-color 0.15s, background 0.15s;
}
.drop:hover, .drop.over, body.dragging .drop { border-color: var(--link); background: var(--ok-tint); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-title { font-weight: 600; color: var(--ink); }
.drop-sub, .privacy { font-size: var(--text-s); color: var(--muted); }
.like-link { color: var(--link); text-decoration: underline; }

/* ── Start ──────────────────────────────────────────────────────────────────── */

.start { display: flex; flex-direction: column; gap: 40px; padding: 56px 0 48px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .drop { min-height: 380px; gap: 14px; padding: 32px; border-radius: 16px; }
.hero .drop-title { font-size: var(--text-l); }
.hero .privacy { font-size: var(--text-s); }
.intro { display: flex; flex-direction: column; gap: 16px; }
.intro .kicker { font-size: var(--text-xs); }
.intro h1 { margin: 0; font-size: var(--text-xxl); line-height: 1.08; font-weight: 700; }
.intro > p { margin: 0; font-size: var(--text-m); line-height: 1.55; color: var(--muted); }
.id-form { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.id-question { font-weight: 600; }
.id-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.id-field { flex: 999 1 240px; display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: var(--text-s); color: var(--muted); }
.id-row button { flex: 1 0 auto; }
.id-input {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 10px;
  font: var(--text-m)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--card);
}
.id-input::placeholder { color: var(--muted); opacity: 0.6; }
.id-input:focus { border-color: var(--link); }
.status { margin: -24px 0 0; color: var(--muted); }
.status:empty { display: none; }

.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; scroll-margin-top: 16px; }
.note-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.note-card p { margin: 0; font-size: var(--text-s); line-height: 1.55; color: var(--muted); }
.fingerprint { font: var(--text-xs)/1.5 var(--mono) !important; overflow-wrap: anywhere; }
.fingerprint:empty { display: none; }

.footer { padding-bottom: 40px; font-size: var(--text-xs); line-height: 1.55; color: var(--muted); }
.footer p { margin: 0; max-width: 820px; }

/* ── Desk: drop | verdict, list | result ───────────────────────────────────── */

.desk {
  display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); grid-template-areas: "drop band" "rail view";
  /* The longest verdict fits, so the row keeps its height from one photo to the next. */
  grid-template-rows: minmax(250px, auto) auto;
  gap: 20px 24px; padding: 24px 0 48px; align-items: stretch;
}
.desk-drop { grid-area: drop; }
.band-slot { grid-area: band; display: flex; flex-direction: column; }
.rail { grid-area: rail; align-self: start; overflow: hidden; }
.view { grid-area: view; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.rail-head { padding: 12px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line); }
.rail-head > span { font-size: var(--text-xs); color: var(--muted); }
.rail-list { margin: 0; padding: 0; list-style: none; max-height: 560px; overflow-y: auto; }
.rail-list li + li { border-top: 1px solid var(--hairline); }
.rail-item {
  width: 100%; min-height: 0; padding: 10px 14px; display: flex; gap: 12px; align-items: center; border: 0; border-radius: 0;
  background: transparent; color: var(--ink); font: 400 var(--text-s)/1.4 var(--sans); text-align: left; justify-content: flex-start;
}
.rail-item:hover { background: var(--subtle); }
.rail-item.active { background: var(--subtle); }
.rail-item.active.ok { background: var(--ok-tint); }
.rail-item.active .rail-name { font-weight: 600; }
.rail-item img, .rail-item .thumb-id { width: 40px; height: 40px; flex: none; border-radius: 4px; object-fit: cover; }
.thumb-id { display: flex; align-items: center; justify-content: center; background: var(--subtle); border: 1px solid var(--line); font: 500 var(--text-xs) var(--mono); color: var(--muted); }
.rail-text { min-width: 0; display: flex; flex-direction: column; }
.rail-name { overflow-wrap: anywhere; }
.rail-status { display: flex; gap: 6px; align-items: center; font-size: var(--text-xs); }
.rail-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: currentColor; }
.ok > .rail-text .rail-status { color: var(--ok-mark); }
.bad > .rail-text .rail-status { color: var(--bad-text); }
.warn > .rail-text .rail-status { color: var(--warn-text); }
.neutral > .rail-text .rail-status, .checking > .rail-text .rail-status { color: var(--muted); }
.rail-foot { padding: 12px 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.rail-foot button { min-height: 44px; font-size: var(--text-s); padding: 0 12px; }
.rail-foot > span { font-size: var(--text-xs); line-height: 1.4; color: var(--muted); text-align: center; }
.rail-foot > span > span { display: block; }

/* ── Verdict band ───────────────────────────────────────────────────────────── */

.band { flex-grow: 1; border-radius: 12px; padding: 24px 26px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; color: #fff; }
.band > svg { flex: none; width: 56px; height: 56px; }
.band-text { flex: 999 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.band .kicker { font-size: var(--text-xs); color: inherit; opacity: 0.8; }
.band h1 { margin: 0; font-size: var(--text-xl); line-height: 1.1; font-weight: 700; }
.band p { margin: 0; font-size: var(--text-m); line-height: 1.5; opacity: 0.92; }
.band strong { opacity: 1; }
.band button { flex: none; min-height: 46px; padding: 0 20px; font-size: var(--text-s); border: none; background: #fff; }
.band { background: var(--band-bg); }
.band .cut { stroke: var(--band-bg); }
.band button { color: var(--band-bg); }
.band.ok { --band-bg: var(--ok); }
.band.bad { --band-bg: var(--bad); }
.band.warn { --band-bg: var(--warn); color: var(--warn-ink); }
.band.warn button { background: var(--warn-ink); color: var(--warn); }
.band.neutral { --band-bg: var(--neutral); }
.band.checking { background: var(--card); color: var(--ink); border: 1px solid var(--line); }

/* ── Result: picture box beside the chain ───────────────────────────────────── */

.row { display: flex; gap: 20px; flex-wrap: wrap; align-items: stretch; }
.picture-box { flex: 999 1 520px; max-width: 600px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.side > * { flex-grow: 1; }

/* Small pictures share the photo's proportions; columns 2 : 1 make two of them as tall as the big one. */
.group { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.group .smalls { display: flex; flex-direction: column; gap: 10px; }
/* Two small pictures beside a portrait one end flush with it: they share its height (gap included). */
.group:not(.landscape) .smalls:has(> .tile + .tile) { align-self: stretch; }
.group:not(.landscape) .smalls:has(> .tile + .tile) > .tile { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
.group.landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.group.landscape > .tile:first-child { grid-column: 1 / 3; }
.group.landscape .smalls { display: contents; }
.group.alone { grid-template-columns: minmax(0, 1fr); }
.tile { margin: 0; position: relative; aspect-ratio: var(--ar, 3 / 4); border-radius: 6px; overflow: hidden; background: var(--tile); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile.depth img { object-fit: fill; image-rendering: auto; }
.tile img { cursor: zoom-in; }
/* Where the depth would be: a quiet stand-in, so the column is not just empty. */
.tile.empty { background: var(--subtle); border: 1px solid var(--hairline); display: grid; place-items: center; }
.empty-text { display: grid; gap: 4px; padding: 12px; text-align: center; font-size: var(--text-xs); line-height: 1.4; color: var(--field); }
.empty-text strong { font-weight: 500; color: var(--muted); }
.zoom { border: 0; padding: 0; margin: auto; max-width: 100vw; max-height: 100vh; background: transparent; cursor: zoom-out; }
.zoom::backdrop { background: rgb(0 0 0 / 0.88); }
.zoom img { display: block; max-width: 96vw; max-height: 96vh; object-fit: contain; }
.zoom.depth img { width: min(96vw, 72vh); height: auto; }
.tile.dim img { filter: grayscale(0.7); }
.chip { text-transform: uppercase; position: absolute; left: 8px; bottom: 8px; font: 500 var(--text-xs)/1.4 var(--mono); letter-spacing: 0.06em; color: var(--chip-ink); background: var(--chip); padding: 3px 7px; border-radius: 4px; }
.caption { margin: 0; font-size: var(--text-s); color: var(--muted); }
.caption strong { color: var(--ink); }

.archive-note { display: flex; gap: 10px; align-items: flex-start; padding-top: 10px; border-top: 1px solid var(--hairline); font-size: var(--text-s); line-height: 1.45; }
.archive-note > svg { flex: none; margin-top: 2px; color: var(--ok-mark); }
.archive-note.neutral > svg { color: var(--muted); }
.archive-note > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.archive-note span { color: var(--muted); }

.chain { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.chain ol { margin: 0; padding: 0 0 0 26px; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.chain li { position: relative; }
.chain li::before { content: ""; position: absolute; left: -26px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok-mark); box-shadow: 0 0 0 4px var(--ok-tint); }
.chain li.info::before { background: var(--card); border: 2px solid var(--info); box-shadow: none; }
.chain li:not(:last-child)::after { content: ""; position: absolute; left: -21px; top: 21px; width: 2px; height: calc(100% + 4px); background: var(--ok-line); }
.chain .time { font: 500 var(--text-m)/1.4 var(--mono); }
.chain .time.words { font: 400 var(--text-s)/1.5 var(--sans); color: var(--muted); }
.chain .what { font-weight: 600; }
.chain .sub { font-size: var(--text-s); color: var(--muted); }

.map-card { overflow: hidden; }
.map { margin: 0; position: relative; aspect-ratio: 21 / 9; background: var(--tile); }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: var(--map-filter); }
.map .map-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--muted); font-size: var(--text-s); }
.map figcaption { position: absolute; right: 8px; bottom: 6px; font-size: var(--text-xs); color: #3e4e5e; background: rgba(255, 255, 255, 0.9); padding: 1px 6px; border-radius: 3px; }
.map figcaption a { color: inherit; }
/* Two rows: time, place, direction above; height, depth, series below (a case number makes it four columns). */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--hairline); border-top: 1px solid var(--hairline); min-width: 0; }
.facts > div:nth-child(3n) { border-right: 0; }
.facts > div:nth-child(-n+3) { border-top: 0; }
.facts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts.four > div:nth-child(n) { border-right: 1px solid var(--hairline); border-top: 1px solid var(--hairline); }
.facts.four > div:nth-child(4n) { border-right: 0; }
.facts.four > div:nth-child(-n+4) { border-top: 0; }
.facts .value { font-size: var(--text-m); font-weight: 600; overflow-wrap: anywhere; }
.facts .sub { font-size: var(--text-s); color: var(--muted); }
.facts .coords { user-select: all; -webkit-user-select: all; font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts .alert { font-size: var(--text-s); font-weight: 600; color: var(--bad-text); }

.checks { overflow: hidden; }
.checks > .kicker { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.checklist li { padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin: 0 -1px -1px 0; }
.checklist svg { flex: none; }
.checklist li > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.checklist b { font-size: var(--text-s); font-weight: 600; }
.checklist small { font-size: var(--text-xs); color: var(--muted); overflow-wrap: anywhere; }

.experts { padding: 14px 18px; border-top: 1px solid var(--line); background: var(--subtle); }
.experts.card { border-top: 1px solid var(--line); }
.experts summary { cursor: pointer; font-weight: 600; color: var(--link); }
.experts .hint { margin: 8px 0 0; font-size: var(--text-s); color: var(--muted); }
/* One technical face for the whole list: labels and values in the small mono. */
.experts dl { display: grid; grid-template-columns: minmax(150px, 22%) 1fr; gap: 6px 16px; margin: 16px 0 0; font: var(--text-xs)/1.6 var(--mono); }
.experts dt { color: var(--muted); }
.experts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.experts details { margin-top: 16px; }
.experts details summary { font-weight: 400; }
.experts pre { max-height: 360px; overflow: auto; background: #0f1a26; color: #d7e3ee; padding: 12px; border-radius: 8px; font: var(--text-xs)/1.45 var(--mono); }

.id-box { padding: 20px 24px; display: flex; gap: 12px 28px; align-items: center; flex-wrap: wrap; }
.id-box > div { flex: none; display: flex; flex-direction: column; gap: 4px; }
.id-box .id { font: 500 var(--text-l)/1.2 var(--mono); letter-spacing: 0.06em; white-space: nowrap; }
.id-box > p { flex: 1 1 260px; margin: 0; font-size: var(--text-s); color: var(--muted); }
.id-box button { flex: none; min-height: 44px; padding: 0 16px; font-size: var(--text-s); background: var(--subtle); color: var(--ink); border-color: var(--line); }

.panel { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { margin: 0; font-size: var(--text-l); }
.panel p { margin: 0; font-size: var(--text-m); line-height: 1.55; }
.panel .muted { color: var(--muted); }
.panel .aside-text { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: var(--text-s); color: var(--muted); }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step > span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--card); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.step > p { margin-top: 3px !important; }
.inline-lookup { display: flex; flex-wrap: wrap; gap: 12px; }
.inline-lookup .id-input { flex: 999 1 220px; min-width: 0; width: auto; }
.inline-lookup button { flex: 1 0 auto; }
.lookup-box { flex: 999 1 520px; max-width: 600px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.lookup-box > span:not(.kicker) { font-size: var(--text-s); color: var(--muted); }
.lookup-box .small { font-size: var(--text-xs); }

/* ── Phone ──────────────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  /* Phone: question, then the drop area, then the ID lookup. */
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .intro { display: contents; }
  .hero .drop { min-height: 220px; order: 1; margin: 10px 0; }
  .id-form { order: 2; }
  .notes { grid-template-columns: 1fr; }
  .desk { grid-template-columns: 1fr; grid-template-areas: "drop" "rail" "band" "view"; grid-template-rows: none; gap: 14px; }
  .desk-drop { flex-direction: row; justify-content: flex-start; padding: 12px 16px; gap: 12px; text-align: left; }
  .desk-drop svg { width: 24px; height: 24px; }
  .rail-list { display: flex; gap: 10px; overflow-x: auto; max-height: none; padding: 10px 12px; }
  .rail-list li + li { border-top: 0; }
  .rail-item { flex-direction: column; align-items: stretch; width: 64px; padding: 0; gap: 4px; background: transparent !important; }
  .rail-item img, .rail-item .thumb-id { width: 64px; height: 64px; border-radius: 6px; }
  .rail-item.active img, .rail-item.active .thumb-id { outline: 3px solid var(--ink); outline-offset: 2px; }
  .rail-name { display: none; }
  .rail-status { font-size: 0; height: 4px; border-radius: 2px; background: currentColor; }
  .rail-status::before { display: none; }
  .rail-foot { flex-direction: row; align-items: center; }
  .rail-foot button { flex: none; }
  .rail-foot > span { text-align: left; }
}

@media (max-width: 600px) {
  :root { --text-xl: 24px; --text-xxl: 32px; }
  .wrap { padding: 0 16px; }
  .bar { padding-top: 12px; padding-bottom: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 28px; height: 28px; border-radius: 7px; }
  .how-link .wide, .desk-drop .wide { display: none; }
  .how-link .narrow, .desk-drop .narrow { display: inline; }
  .desk-drop .drop-sub { display: none; }
  .rail-foot > span { display: none; }
  .start { padding: 28px 0 32px; gap: 28px; }
  .desk { padding: 16px 0 32px; }
  .band { padding: 18px; gap: 12px; }
  .band > svg { width: 40px; height: 40px; }
  .band button { width: 100%; }
  .picture-box { padding: 10px; }
  .group { gap: 8px; }
  .map { aspect-ratio: 4 / 3; }
  .facts, .facts.four { grid-template-columns: 1fr; }
  .facts > div:nth-child(n), .facts.four > div:nth-child(n) { border-right: 0; border-top: 1px solid var(--hairline); }
  .checklist { grid-template-columns: 1fr; }
  .experts dl { grid-template-columns: 1fr; gap: 2px; }
  .experts dd { margin-bottom: 8px; }
  .rail-foot { flex-direction: column; align-items: stretch; }
}

/* ── Verification report (print, A4) ────────────────────────────────────────── */

.report { display: none; }
@media print {
  @page { size: A4; margin: 12mm 13mm 11mm; }
  body.has-report { background: #fff; }
  body.has-report > :not(.report) { display: none !important; }
  body.has-report .report { display: block; }
  a { color: inherit; text-decoration: none; }
}
.report-page {
  --ink: #0b1d30; --muted: #4a5a6a; --line: #d5dce3;
  /* Sized so one photo fits on one A4 page. */
  display: flex; flex-direction: column; gap: 10px; color: var(--ink); background: #fff;
  font: 11px/1.38 var(--sans); -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.report-page + .report-page { break-before: page; }
.report-head { display: flex; align-items: center; gap: 12px; }
.report-head img { border-radius: 8px; }
.report-head > div:first-of-type { flex-grow: 1; display: flex; flex-direction: column; }
.report-head .kicker { color: var(--muted); }
.report-head h1 { margin: 0; font-size: 20px; line-height: 1.2; }
.report-head .when { text-align: right; color: var(--muted); }
.report-verdict { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 8px; font-size: 12px; color: #fff; }
.report-verdict svg { flex: none; width: 28px; height: 28px; }
.report-verdict strong { font-size: 14px; }
.report-verdict.ok { background: #0f6b3a; }
.report-verdict.bad { background: #a3241c; }
.report-verdict.warn { background: #f4b63f; color: #2a1b00; }
.report-verdict.neutral { background: #3e4e5e; }
.report-pictures { display: flex; gap: 12px; height: 180px; break-inside: avoid; }
.report-group { flex: none; height: 180px; display: grid; gap: 6px; }
.report-group img { display: block; border-radius: 4px; object-fit: cover; }
.report-group .smalls { display: flex; flex-direction: column; gap: 6px; }
.report-map { flex: 1; position: relative; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.report-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.report-map span { position: absolute; right: 6px; bottom: 4px; font-size: 9px; color: var(--muted); background: rgba(255, 255, 255, 0.9); padding: 0 5px; border-radius: 3px; }
.report-legend { color: var(--muted); }
.report section { display: flex; flex-direction: column; break-inside: avoid; }
.report h2 { margin: 0 0 4px; padding-bottom: 3px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
.report-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.report-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 4px; }
.report-chain > div { display: flex; flex-direction: column; gap: 1px; padding: 4px 8px; border-left: 2px solid #17803f; }
.report-chain > div.info { border-left-color: #8fa0b2; }
.report-chain .mono { font-weight: 500; }
.report-chain span:last-child { color: var(--muted); }
.report .row-r { display: flex; gap: 12px; padding: 2px 0; border-bottom: 1px solid #e6ebf0; }
.report .row-r:last-child { border-bottom: none; }
.report .row-r > span:first-child { width: 128px; flex: none; color: var(--muted); }
.report .row-r > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.report .mono { font-family: var(--mono); }
.report .hash { font: 10px/1.4 var(--mono); }
.report .big-id { font: 500 14px var(--mono); letter-spacing: 0.05em; }
.report-foot { display: flex; flex-direction: column; gap: 3px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); break-inside: avoid; }
.report-foot strong { color: var(--ink); }
