:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #55637a;
  --paper: #f6f8fb;
  --card: #ffffff;
  --line: #d9e1ec;
  --accent: #164ea6;
  --good: #0d6b4d;
  --warn: #8a4b00;
  --danger: #a32828;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
a:focus-visible { outline: 3px solid #f2b53d; outline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
header { background: #0d2346; color: white; border-bottom: 4px solid #e72222; }
header a { color: white; }
.brand { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 24px 0 12px; }
.brand h1 { margin: 0; font-size: clamp(1.45rem, 4vw, 2.1rem); line-height: 1.2; }
.brand p { margin: 6px 0 0; color: #d5e2fb; }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 0 18px; }
nav a { text-decoration: none; font-weight: 700; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
main { padding: 36px 0 48px; }
section, .card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin: 20px 0; box-shadow: 0 2px 12px rgb(23 32 51 / 4%); }
h2 { margin-top: 0; line-height: 1.25; }
h3 { line-height: 1.3; }
.eyebrow { color: #dce9ff; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.notice { border-left: 5px solid var(--warn); background: #fff6e9; padding: 16px 18px; margin: 20px 0; }
.notice.critical { border-left-color: var(--danger); background: #fff0f0; }
.notice.ok { border-left-color: var(--good); background: #ebf8f1; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 16px; }
.grid .card { margin: 0; }
.status { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: .86rem; font-weight: 750; }
.status.live { background: #e8f7ef; color: #075e42; }
.status.planned { background: #fff2dc; color: #774100; }
.status.blocked { background: #fdeaea; color: #8f2424; }
table { border-collapse: collapse; width: 100%; overflow: hidden; border: 1px solid var(--line); }
th, td { vertical-align: top; text-align: left; padding: 11px; border-bottom: 1px solid var(--line); }
th { background: #eff4fb; }
code { background: #edf1f6; padding: .1em .35em; border-radius: 4px; color: #28354b; }
.checklist li { margin: 9px 0; }
.evidence-image { width: 100%; max-width: 1080px; border: 1px solid var(--line); border-radius: 8px; display: block; background: white; }
footer { border-top: 1px solid var(--line); background: white; color: var(--muted); padding: 25px 0 40px; }
footer p { margin: 0; }
.small { color: var(--muted); font-size: .92rem; }
@media print {
  body { background: white; font-size: 11pt; }
  header { background: white; color: black; border-bottom: 2px solid #222; }
  header a { color: black; }
  .eyebrow, .brand p { color: #333; }
  nav { display: none; }
  section, .card { box-shadow: none; break-inside: avoid; }
  a { color: black; text-decoration: none; }
}
