@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-var-latin-ext.woff2?v=2944249791873244) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-var-latin.woff2?v=1347501383290134) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin-ext.woff2?v=4240064130521012) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin.woff2?v=3438125779036409) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin-ext.woff2?v=2109979497568284) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin.woff2?v=2945545423708462) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #e8eaeb;
  --bg-2: #dfe2e4;
  --surface: #f4f5f5;
  --ink: #14181b;
  --ink-2: #3c444a;
  --muted: #5b646b;
  --line: #c3c9cd;
  --line-strong: #8d969c;
  --accent: #d93f12;
  --accent-ink: #b0300a;
  --accent-soft: rgba(217, 63, 18, 0.10);
  --on-accent: #ffffff;
  --focus: #0b63c9;
  --metal-a: #b9c0c5;
  --metal-b: #e3e7ea;
  --metal-c: #9ea6ac;
  --pit: #2b3136;
  --streak-light: rgba(255, 255, 255, 0.55);
  --streak-dark: rgba(30, 36, 40, 0.16);
  --reticle: #14181b;
  --ok: #14181b;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius: 2px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1113;
    --bg-2: #13171a;
    --surface: #171c1f;
    --ink: #e4e8ea;
    --ink-2: #bcc4c9;
    --muted: #8f99a0;
    --line: #283035;
    --line-strong: #4a545b;
    --accent: #ff5a24;
    --accent-ink: #ff7a4c;
    --accent-soft: rgba(255, 90, 36, 0.12);
    --on-accent: #12090a;
    --focus: #7cb8ff;
    --metal-a: #3a4146;
    --metal-b: #5b646a;
    --metal-c: #2a3034;
    --pit: #0b0d0f;
    --streak-light: rgba(255, 255, 255, 0.10);
    --streak-dark: rgba(0, 0, 0, 0.30);
    --reticle: #e4e8ea;
    --ok: #e4e8ea;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1113;
  --bg-2: #13171a;
  --surface: #171c1f;
  --ink: #e4e8ea;
  --ink-2: #bcc4c9;
  --muted: #8f99a0;
  --line: #283035;
  --line-strong: #4a545b;
  --accent: #ff5a24;
  --accent-ink: #ff7a4c;
  --accent-soft: rgba(255, 90, 36, 0.12);
  --on-accent: #12090a;
  --focus: #7cb8ff;
  --metal-a: #3a4146;
  --metal-b: #5b646a;
  --metal-c: #2a3034;
  --pit: #0b0d0f;
  --streak-light: rgba(255, 255, 255, 0.10);
  --streak-dark: rgba(0, 0, 0, 0.30);
  --reticle: #e4e8ea;
  --ok: #e4e8ea;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius); }
::selection { background: var(--accent); color: var(--on-accent); }
h1, h2, h3 { margin: 0; font-weight: 750; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; font-stretch: 90%; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding: 6px 0; }
.nav a:hover { color: var(--accent-ink); }
.controls { display: flex; gap: 8px; align-items: center; }
.nav + .controls { margin-left: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.seg button, .icon-btn {
  appearance: none; border: 0; background: transparent; color: var(--ink-2);
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em;
  padding: 7px 9px; cursor: pointer; min-height: 34px; min-width: 34px;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.icon-btn { border: 1px solid var(--line-strong); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 16px; height: 16px; }
.eyebrow { color: var(--accent-ink); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: var(--radius);
  font-weight: 650; text-decoration: none; font-size: 1rem; line-height: 1.2;
  border: 1px solid var(--ink); cursor: pointer; font-family: var(--font-sans);
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.linkish { appearance: none; background: none; border: 0; padding: 4px 0; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.linkish:hover { color: var(--accent-ink); }
.pillars { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pillars li { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 8px; border-radius: var(--radius); }
.spec { border-top: 1px solid var(--ink); margin: 0; }
.spec div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-size: 1.08rem; }
.form { border: 1px solid var(--line-strong); background: var(--surface); padding: clamp(18px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; width: 100%; min-width: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.err { font-size: 0.84rem; color: var(--accent-ink); min-height: 0; }
.err:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 22px; }
.form-foot .note { color: var(--muted); font-size: 0.86rem; max-width: 30em; }
.form-status { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--ink); background: var(--bg); }
.form-status[hidden] { display: none; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; padding: 14px 0; font-weight: 650; font-size: 1.02rem; font-stretch: 94%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-weight: 400; color: var(--accent-ink); font-size: 1.3rem; line-height: 1; text-align: right; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; color: var(--ink-2); }
main.wrap { padding-block: 22px 56px; }
.page-head { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-end; justify-content: space-between;
             padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 18px; }
.page-head h1 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-stretch: 85%; margin-top: 6px; }
.page-head > div { min-width: 0; }
.page-head h1, .page-head .eyebrow { overflow-wrap: anywhere; }
.page-head .eyebrow a { text-decoration: none; }
.page-head + .spec, .page-head + .faq { border-top: 0; }
h2.section-title { font-size: 1.22rem; font-stretch: 92%; margin: 34px 0 12px; }
.lead-note { color: var(--muted); font-size: 0.9rem; max-width: 60em; margin: 8px 0 12px; }
.stack > * + * { margin-top: 14px; }
.spec dd { overflow-wrap: anywhere; min-width: 0; }
.site-header .wrap { flex-wrap: wrap; row-gap: 0; }
.site-header .who { color: var(--muted); white-space: nowrap; }
.site-header .app-label { color: var(--muted); margin-left: -8px; }
.controls form { margin: 0; }
@media (max-width: 1120px) {
  .nav { order: 3; flex-basis: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .controls { margin-left: auto; }
}
.panel { border: 1px solid var(--line-strong); background: var(--surface); padding: clamp(14px, 2.4vw, 22px); }
.panel + .panel { margin-top: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.btn-sm { padding: 8px 12px; font-size: 0.92rem; }
.actions form { margin: 0; }
.form-status { margin: 0 0 16px; }
.form-status.is-error { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.form-status.is-warn { border-style: dashed; border-color: var(--line-strong); }
.form-status ul { margin: 6px 0 0 18px; padding: 0; }
.check { display: inline-flex; gap: 8px; align-items: center; margin: 4px 18px 4px 0; cursor: pointer; }
.check input { width: auto; accent-color: var(--accent); }
.field .check input { width: auto; padding: 0; border: 0; background: none; box-shadow: none; }
.field .check { font-family: var(--font-sans); font-size: 0.98rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.hint { color: var(--muted); font-size: 0.86rem; text-transform: none; letter-spacing: 0; font-family: var(--font-sans); }
fieldset.group { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14px 0 0; min-width: 0; }
fieldset.group + fieldset.group { margin-top: 18px; }
fieldset.group legend { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
                        color: var(--accent-ink); padding: 0 8px 0 0; }
.fieldpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px 10px; max-height: 260px;
             overflow-y: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 8px 10px; background: var(--bg); }
.is-dim { opacity: 0.45; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-strong); background: var(--surface); max-width: 100%; }
table.data { border-collapse: collapse; width: 100%; font-size: 0.88rem; }
table.data th, table.data td { padding: 8px 10px; text-align: left; vertical-align: top; white-space: nowrap; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
                color: var(--muted); background: var(--bg-2); border-bottom: 1px solid var(--ink); position: sticky; top: 0; }
table.data th a { text-decoration: none; color: inherit; }
table.data th a:hover, table.data th a[aria-current] { color: var(--accent-ink); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data td.text { white-space: normal; min-width: 200px; }
table.data code, .code { font-family: var(--font-mono); font-size: 0.82rem; }
table.data tr.bulk td { background: var(--accent-soft); }
table.data .sticky { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
table.data th.sticky { z-index: 2; background: var(--bg-2); }
table.data tr.bulk td.sticky { background: color-mix(in srgb, var(--accent-soft) 100%, var(--surface)); }
table.data tr:target td { background: var(--accent-soft); }
.sticky label { display: inline-flex; gap: 6px; align-items: center; }
table.data input[type=text], table.data select {
  font: inherit; font-size: 0.86rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 5px 6px; width: 84px; }
table.data input.wide { width: 170px; }
table.data select { width: auto; }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
          letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius);
          border: 1px solid var(--line-strong); color: var(--ink-2); white-space: nowrap; }
.status::before { content: "\25CB"; }
.status.ok { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.status.ok::before { content: "\25CF"; }
.status.bad { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.status.bad::before { content: "\2715"; }
.status.warn { border-style: dashed; color: var(--ink); }
.status.warn::before { content: "\25D0"; }
.status.muted { color: var(--muted); }
ul.reasons { margin: 0; padding-left: 18px; color: var(--ink-2); }
ul.reasons li + li { margin-top: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.thumbs a { text-decoration: none; display: block; border: 1px solid var(--line-strong); background: var(--surface); }
.thumbs a:hover { border-color: var(--ink); }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-2); }
.thumbs .cap { padding: 8px 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.86rem; min-width: 0; }
.thumbs .cap .status { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.thumbs a { min-width: 0; overflow: hidden; }
.photo-img { width: 100%; height: auto; border: 1px solid var(--line-strong); background: var(--bg-2); }
.plate-preview { width: 100%; max-height: 70vh; object-fit: contain; border: 1px solid var(--line-strong);
                 background: #fff; padding: 8px; }
.unit, .keep-case { text-transform: none; }
.split2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 3vw, 32px); align-items: start; }
.platemap { width: 100%; height: auto; max-height: 60vh; border: 1px solid var(--line-strong); background: var(--surface); }
.platemap .pm-plate { fill: var(--bg-2); stroke: var(--line); stroke-width: 0.2; }
.platemap .pm-field rect { stroke-width: 0.25; }
.platemap text { font-family: var(--font-mono); fill: var(--ink); }
.platemap a:hover rect, .platemap a:focus rect { stroke: var(--focus); stroke-width: 0.6; }
.platemap .pm-valid rect { fill: var(--ink); stroke: var(--ink); }
.platemap .pm-valid text { fill: var(--bg); }
.platemap .pm-bad_signature rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 0.5; }
.platemap .pm-bad_signature text { fill: var(--accent-ink); }
.platemap .pm-unread rect { fill: var(--surface); stroke: var(--accent-ink); stroke-dasharray: 0.8 0.5; stroke-width: 0.4; }
.platemap .pm-absent rect { fill: none; stroke: var(--line-strong); stroke-dasharray: 0.4 0.6; }
.platemap .pm-absent text { fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.legend li { display: inline-flex; gap: 6px; align-items: center; }
.swatch { display: inline-block; width: 14px; height: 14px; border: 1px solid var(--line-strong); }
.swatch.valid { background: var(--ink); border-color: var(--ink); }
.swatch.bad_signature { background: var(--accent-soft); border-color: var(--accent); }
.swatch.unread { background: var(--surface); border: 1px dashed var(--accent-ink); }
.swatch.absent { background: none; border: 1px dashed var(--line-strong); }
.verified { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--ink-2); white-space: nowrap; }
.verified::before { content: "\2713  "; }
.tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.file-pick { padding: 14px 12px !important; background: var(--surface) !important; border-style: dashed !important; }
.upload-progress { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.upload-progress[hidden] { display: none; }
.upload-progress progress { width: 100%; height: 10px; accent-color: var(--accent); }
@media (max-width: 980px) {
.unit, .keep-case { text-transform: none; }
.split2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .spec div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .brand span { font-size: 1.35rem; }
  .site-header .who { display: none; }
  table.data th, table.data td { padding: 6px 8px; }
  .btn-wide { width: 100%; justify-content: center; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
