/* "Press Proof" theme for the print pages (owner's choice of design option 2, 2026-11-26).
   Loaded after site.css on /printing, /printing-preflight-result, /print-fix-download, /pdf-upscale-resolution,
   /pdf-convert-cmyk and /pdf-add-bleed-crop-marks (and their /uk /de /fr /es copies, built by tools/build_i18n_pages.py).
   Colors, type, borders and corners, plus the upload card layout at the end; other layout stays as site.css sets it.
   Fonts are self-hosted (no calls to Google): Archivo (headings, variable width/weight), IBM Plex Sans (text),
   IBM Plex Mono (values). SIL Open Font License, see /fonts/OFL-*.txt. Bump ?v= on the six pages after a change. */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) 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 Sans"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-display: swap; font-weight: 400;
  src: url(/fonts/ibm-plex-sans-latin-400-italic.woff2) 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 Sans"; font-style: italic; font-display: swap; font-weight: 400;
  src: url(/fonts/ibm-plex-sans-latin-ext-400-italic.woff2) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) 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 Sans"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 700;
  src: url(/fonts/ibm-plex-sans-latin-700-normal.woff2) 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 Sans"; font-style: normal; font-display: swap; font-weight: 700;
  src: url(/fonts/ibm-plex-sans-latin-ext-700-normal.woff2) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) 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-display: swap; font-weight: 500;
  src: url(/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --cyan: #00a3e0;
  --magenta: #e5007e;
  --yellow: #ffe500;
  --ink: #111111;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111111;
  --muted: #474747;          /* 9.3:1 on white */
  --border: #111111;
  --rule: #e3e3e3;           /* hairlines inside cards and tables */
  --brand: #a8005f;          /* links and accents: deep magenta, 7.4:1 on white */
  --brand-dark: #6e003e;
  --brand-soft: #fff6fb;
  --pass: #0f6b3b;
  --pass-soft: #e3f4ea;
  --warn: #6b4300;
  --warn-soft: #fff7b8;
  --fail: #b01a10;
  --fail-soft: #fde7e4;
  --radius: 0;
  --shadow: none;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body { font-size: 17px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--display); font-stretch: 85%; font-weight: 800; letter-spacing: 0; }
h1 { font-stretch: 72%; font-weight: 900; text-transform: uppercase; line-height: .98; font-size: clamp(2.4rem, 6.2vw, 4.6rem);
     overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: 1.6rem; line-height: 1.12; }
h3 { font-size: 1.15rem; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
strong { font-weight: 700; }

/* header: a CMYK color bar on top, a heavy black rule below */
.site-header { border-bottom: 3px solid var(--ink); position: relative; }
.site-header::before { content: ""; display: block; height: 8px;
  background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--ink) 75% 100%); }
.site-header .wrap { height: 68px; }
.logo { font-family: var(--display); font-stretch: 80%; font-weight: 900; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; }
.logo svg path { stroke: var(--ink); stroke-width: 2.2; }
.logo svg path:last-child { stroke: var(--magenta); }
.site-footer { border-top: 3px solid var(--ink); color: var(--muted); }

/* hero: a small CMYK swatch strip under the title */
.hero { padding: 56px 0 12px; }
.hero h1::after { content: ""; display: block; width: 128px; height: 10px; margin-top: 22px;
  background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--ink) 75% 100%); }
.hero .lead { font-size: 1.2rem; color: #3d3d3d; }
.hero-tight { padding: 36px 0 4px; }
.hero-tight h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.hero-tight h1::after { margin-top: 16px; width: 96px; height: 8px; }

/* cards: square, 2px black border; the upload card gets a cyan top band */
.card { border: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
.card h2 { font-size: 1.4rem; }
.check-form { border-top: 10px solid var(--cyan); }
.toolbar { border-top-width: 2px; }

label.field select, label.field input[type="text"], .custom-size input, .limit-row input[type="number"] {
  border: 2px solid var(--ink); border-radius: 0; }
label.field select:focus, label.field input:focus, .custom-size input:focus, .limit-row input:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.limit-row input[type="range"], .fix-check input { accent-color: var(--magenta); }

.dropzone { border: 2px dashed var(--ink); border-radius: 0; background: #fafafa; }
.dropzone.uppy-is-drag-over, .dropzone.drag-over { border-color: var(--magenta); background: var(--brand-soft); }
.dropzone .dz-icon { color: var(--magenta); }
.dropzone .dz-title { font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 1.25rem; }

/* buttons: black, uppercase; hover turns magenta */
.btn { border-radius: 0; border: 2px solid var(--ink); background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .04em;
  font-size: .92rem; font-weight: 700; padding: 12px 20px; min-height: 46px; }
.btn:hover { background: #c4006f; border-color: #c4006f; color: #fff; }
.btn:focus-visible, .table-scroll:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-secondary:hover { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 6px 12px; min-height: 36px; font-size: .8rem; }
.units-toggle { border: 2px solid var(--ink); border-radius: 0; }
.units-toggle button.on { background: var(--ink); color: #fff; }

.privacy-note svg { color: var(--pass); }

/* progress */
.progress-bar { height: 10px; background: #ececec; border-radius: 0; }
.progress-bar span { background: linear-gradient(90deg, var(--cyan), var(--magenta)); }
.alert { border-radius: 0; border: 2px solid currentColor; }
.alert-warn { background: var(--warn-soft); border-color: var(--warn); }

/* PASS / WARNING / FAIL */
.badge, .pill { border-radius: 0; letter-spacing: .06em; border: 2px solid transparent; }
.badge-pass, .pill-pass { background: #fff; color: var(--pass); border-color: var(--pass); }
.badge-warn, .pill-warn { background: var(--yellow); color: #3d2700; border-color: var(--warn); }
.badge-fail, .pill-fail { background: var(--fail); color: #fff; border-color: var(--fail); }
.report-head .file-name { font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 1.15rem; }

/* report bodies */
.kv th, .kv td, .issues li, .section, .data th, .data td { border-color: var(--rule); }
.section .row span.v, .rule-details .ctx { font-family: var(--mono); }
.issues .t { font-weight: 700; }
.fix-box { background: #fffbd1; border: 2px solid var(--ink); border-radius: 0; }
.fix-form { border: 2px solid var(--ink); border-radius: 0; }
.fix-total .price, .fix-form .price { font-family: var(--display); font-stretch: 80%; font-weight: 900; font-size: 2rem; }
.thumb { border: 2px solid var(--ink); }
.thumb-placeholder { background: #f3f3f3; }

/* guides below the tools */
.toc { border: 2px solid var(--ink); border-radius: 0; }
.data { border: 2px solid var(--ink); border-radius: 0; }
.data thead th { background: var(--ink); color: #fff; font-weight: 700; }
.diagram { border: 2px solid var(--ink); border-radius: 0; }
.check-list li::before { border-color: var(--pass); }
.faq h3 { font-size: 1.15rem; }
.content h2, .guide h2 { font-size: 1.9rem; }
.guide h2::before { content: ""; display: block; width: 48px; height: 6px; margin-bottom: 12px; background: var(--cyan); }
.guide section:nth-of-type(4n+2) h2::before { background: var(--magenta); }
.guide section:nth-of-type(4n+3) h2::before { background: var(--yellow); }
.guide section:nth-of-type(4n+4) h2::before { background: var(--ink); }

/* upload card (2026-12-01): the upload box comes first so its button is on the first screen. The settings sit beside it
   on wide screens and below it on small ones; they can also be changed on the report. */
.hero:not(.hero-tight) { padding-top: 20px; }
.check-settings { margin: 20px 0 0; }
@media (min-width: 900px) {
  .check-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: "upload settings" "note settings";
    grid-template-rows: auto 1fr; column-gap: 28px; }
  .check-split .check-upload { grid-area: upload; }
  .check-split .dropzone { padding-top: 24px; padding-bottom: 24px; }
  .check-split .check-settings { grid-area: settings; margin: 0; }
  .check-split .privacy-note { grid-area: note; }
  .check-split .field-row { grid-template-columns: minmax(0, 1fr); align-content: start; }
}
@media (max-width: 640px) {
  .hero:not(.hero-tight) { padding-top: 16px; }
  .hero:not(.hero-tight) .lead { font-size: 1.05rem; }
  .check-form { padding: 16px; }
  .check-form .dropzone { padding: 20px 12px; }
}
