/* Readiness report (not eligible for a certificate): A4 portrait, fixed print colours. */
@page { size: A4; margin: 12mm 14mm; }

.rep {
  --c-ink: #121212; --c-ink-2: #3d3d39; --c-mute: #66655f; --c-rule: #d9d6ce; --c-green: #0B7A47;
  max-width: 780px; margin: 0 auto 64px; padding: 44px 52px; background: #fff; color: var(--c-ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 8px 32px rgba(0,0,0,.10); font-size: 14px; line-height: 1.5;
}
.rep * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rep .mono { font-family: var(--mono); }
.rep.band-green { --c-band: #0B7A47; } .rep.band-yellow { --c-band: #8A6100; } .rep.band-orange { --c-band: #A63A0A; } .rep.band-red { --c-band: #B3261E; }
.rep-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--c-ink); }
.c-brand { display: flex; align-items: center; gap: 8px; font: 500 16px var(--mono); color: var(--c-ink); }
.c-brand span span { color: var(--c-mute); }
.rep-no { font-size: 12px; color: var(--c-mute); }
.rep-kicker { font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--c-band); margin: 28px 0 6px; }
.rep h1 { font-size: 30px; line-height: 1.1; font-weight: 600; margin: 0; color: var(--c-ink); }
.rep-domain { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 22px; padding: 10px 0; border-top: 1px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); font: 500 22px var(--mono); overflow-wrap: anywhere; }
.rep-score { font: 600 26px var(--sans); color: var(--c-band); white-space: nowrap; }
.rep-score small { font-size: 14px; font-weight: 400; color: var(--c-mute); }
.rep-label { color: var(--c-band); font-weight: 500; margin: 8px 0 0; }
.rep-stmt { color: var(--c-ink-2); margin: 14px 0 18px; }
.rep-table { width: 100%; border-collapse: collapse; }
.rep-table th, .rep-table td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--c-rule); color: var(--c-ink); }
.rep-table thead th { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c-mute); border-bottom-color: var(--c-ink); }
.rep-table td:last-child, .rep-table thead th:last-child { text-align: right; padding-right: 0; font-family: var(--mono); white-space: nowrap; }
.rep-table tbody th { font-weight: 600; white-space: nowrap; }
.rep h2 { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c-mute); margin: 22px 0 8px; }
.rep-findings { margin: 0; padding-left: 20px; }
.rep-findings li { margin-bottom: 8px; break-inside: avoid; }
.rep-findings code { font-family: var(--mono); font-size: .92em; }
.sev { font: 500 11px var(--mono); color: var(--c-mute); border: 1px solid var(--c-rule); padding: 0 5px; margin-left: 4px; }
.rep-pass { color: var(--c-ink-2); margin: 0; }
.rep-note { margin: 16px 0 0; padding: 10px 12px; background: #f4f3ef; color: var(--c-ink-2); font-size: 13px; }
.rep-foot { display: flex; gap: 18px; align-items: center; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--c-ink); font-size: 12.5px; color: var(--c-ink-2); break-inside: avoid; }
.rep-foot b { color: var(--c-ink); }
.rep-foot .qr svg { width: 84px; height: 84px; }
@media screen and (max-width: 640px) { .rep { padding: 24px 20px; } .rep-domain { font-size: 17px; } }

@media print {
  html, body { background: #fff !important; }
  .top, .foot, .no-print, .skip, .drawer, .print-bar, dialog { display: none !important; }
  main, .wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .rep { box-shadow: none; padding: 0; margin: 0; max-width: none; font-size: 12.5px; }
  .rep-kicker { margin-top: 18px; } .rep h2 { margin: 16px 0 6px; } .rep-stmt { margin: 10px 0 12px; }
  .rep-table th, .rep-table td { padding: 6px 12px 6px 0; }
  .rep-foot { margin-top: 18px; padding-top: 12px; } .rep-foot .qr svg { width: 72px; height: 72px; }
}
.rep-findings pre { font: 12px/1.5 var(--mono); background: #f4f3ef; color: #121212; padding: 8px 10px; margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
