@font-face {
  font-family: 'Amaranth';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/amaranth/v19/KtkpALODe433f0j1zMF-OMWl42H9FYud.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;
}

:root {
  --print-header-bg: #0b0f17;
  --print-header-text: rgba(255, 255, 255, 0.92);
  --print-accent: rgb(244, 150, 59);
  --print-page-bg: #f8fafc;
  --print-card-bg: #ffffff;
  --print-text: #0f172a;
  --print-muted: #475569;
  --print-border: rgba(15, 23, 42, 0.12);
  --print-max: 1120px;
  --font-brand: 'Amaranth', "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  background: var(--print-page-bg);
  color: var(--print-text);
  line-height: 1.5;
}

.printSiteHeader {
  background: var(--print-header-bg);
  color: var(--print-header-text);
  border-bottom: 1px solid rgba(15, 23, 42, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.printSiteHeader-inner {
  max-width: var(--print-max);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
}
.printSiteBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-brand);
  letter-spacing: -0.01em;
}
.printSiteLogo {
  height: 32px;
  width: auto;
  display: block;
}
.printSiteBrand-sub {
  opacity: 0.9;
}

.printMain {
  max-width: var(--print-max);
  margin: 0 auto;
  padding: 28px 18px 48px;
}
.printMain h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  font-family: var(--font-brand);
  font-weight: 700;
}
.printLead {
  margin: 0 0 24px;
  color: var(--print-muted);
  max-width: 85ch;
  font-size: 15px;
}

.printToc {
  background: var(--print-card-bg);
  border: 1px solid var(--print-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 24px;
  break-inside: avoid;
}
.printToc h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-family: var(--font-brand);
  font-weight: 700;
}
.printTocList {
  margin: 0;
  padding-left: 1.25em;
  columns: 2;
  column-gap: 24px;
}
/* Twee expliciete kolommen (o.a. interoperabiliteits-print): links ceil(n/2), rechts de rest — voorkomt browser-balancing 6+7 i.p.v. 7+6. */
.printTocColumns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.printTocColumns .printTocList {
  columns: 1;
}
.printTocList li {
  margin: 0.2em 0;
  break-inside: avoid;
}
.printTocList a {
  color: var(--print-muted);
  text-decoration: none;
}
.printTocList a:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .printTocList { columns: 1; }
  .printTocColumns { grid-template-columns: 1fr; }
}

.printRadarSection {
  background: var(--print-card-bg);
  border: 1px solid var(--print-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 24px;
  break-inside: avoid;
}
.printRadarSection h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-family: var(--font-brand);
  font-weight: 700;
}
.printRadar {
  min-height: 360px;
}
.printRadar svg {
  width: 100%;
  height: auto;
  display: block;
}

.printLegend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .printLegend { grid-template-columns: 1fr; }
}
.printLegendItem {
  background: var(--print-card-bg);
  border: 1px solid var(--print-border);
  border-radius: 14px;
  padding: 12px 14px;
  break-inside: avoid;
}
.printLegendPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.printLegendPill--realized {
  border: 1px solid rgba(34, 139, 84, 0.45);
  background: rgba(100, 180, 120, 0.14);
  color: #166534;
}
.printLegendPill--partial {
  border: 1px solid rgba(30, 100, 150, 0.4);
  background: rgba(100, 165, 200, 0.14);
  color: #0c4a6e;
}
.printLegendPill--none {
  border: 1px solid rgba(71, 85, 105, 0.35);
  background: rgba(148, 163, 184, 0.12);
  color: #475569;
}
.printLegendDesc {
  font-size: 12px;
  color: var(--print-muted);
  line-height: 1.45;
}

.printRecSection {
  background: var(--print-card-bg);
  border: 1px solid var(--print-border);
  border-radius: 18px;
  padding: 18px 20px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  break-inside: avoid;
}
.printRecHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(244, 150, 59, 0.35);
}
.printRecHeader h2 {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: 1;
  min-width: min(100%, 240px);
}

.printSub {
  padding: 14px 0;
  border-top: 1px dashed var(--print-border);
  break-inside: avoid;
  page-break-inside: avoid;
}
.printSub:first-of-type {
  border-top: none;
  padding-top: 0;
}
.printSubTitleRow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 12px;
  margin-bottom: 10px;
}
.printSubTitleRow h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--print-text);
  flex: 1;
  min-width: min(100%, 200px);
  display: flex;
  align-items: center;
  gap: 10px;
}
.printStatusLine {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--print-muted);
}
.printBlockLabel {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--print-accent);
}
.printBlock {
  font-size: 13px;
  line-height: 1.6;
  color: var(--print-muted);
  white-space: pre-wrap;
  margin-bottom: 14px;
}
.printBlock:last-child {
  margin-bottom: 0;
}
.printBlock em {
  font-style: italic;
  color: var(--print-text);
}

.printList {
  margin: 0 0 14px;
  padding-left: 1.25em;
  font-size: 13px;
  line-height: 1.6;
  color: var(--print-muted);
  break-inside: avoid;
}
.printList li {
  margin: 0.35em 0;
}

.printIdFoot {
  font-size: 11px;
  color: var(--print-muted);
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--print-border);
}

.printDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid transparent;
  flex-shrink: 0;
  vertical-align: middle;
}
.printDot--realized {
  background: rgba(100, 180, 120, 0.95);
  border-color: rgba(60, 120, 80, 0.55);
  box-shadow: 0 0 0 2px rgba(100, 180, 120, 0.2);
}
.printDot--partial {
  background: rgba(100, 165, 200, 0.95);
  border-color: rgba(60, 110, 150, 0.55);
  box-shadow: 0 0 0 2px rgba(100, 165, 200, 0.18);
}
.printDot--none {
  background: #e2e8f0;
  border-color: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.2);
}

.printEmpty, .printError {
  padding: 24px;
  text-align: center;
  color: var(--print-muted);
}
.printError { color: #b45309; }

@media print {
  @page {
    margin: 12mm;
    size: auto;
  }
  body {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .printMain {
    padding-top: 12px;
    max-width: none;
  }
  .printRecSection {
    box-shadow: none;
    border-color: #cbd5e1;
  }
  .printSiteHeader {
    box-shadow: none;
  }
  .printTocList a {
    color: inherit;
    text-decoration: none;
  }
  .printRadarSection {
    border-color: #cbd5e1;
  }
}
