/* Design tokens: palette "Inkt en kobalt" from the handoff, same names, checked for contrast in StylesheetTests. Fase 6 added three: --zelf is "u betaalt zelf" (the big amount, the own-share column, the orange bar segment), --on-accent is text on an --accent button, --accentbg-soft tints the sorted column and the selected row. Light is the default;
   dark follows the OS unless the reader chose otherwise (data-theme on <html>). The two
   [data-theme] blocks sit at :root specificity so the choice overrides the media query. */
:root {
  --paper: #f7f8fa; --ink: #161b23; --soft: #3f4652; --quiet: #626a78;
  --accent: #1c46c9; --accent-hover: #12329b; --accentbg: #e2e8fa; --sand: #eef1f6;
  --warn: #fbf0da; --line: #d5dae3; --field: #ffffff; --bar: #22304d; --on-bar: #ccd6ea;
  --zelf: #b4500a; --on-accent: #ffffff; --accentbg-soft: #f1f4fc;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f131a; --ink: #eef1f6; --soft: #c3cad5; --quiet: #8d97a6;
    --accent: #8fa9ff; --accent-hover: #b6c6ff; --accentbg: #1a2440; --sand: #171d26;
    --warn: #2a2418; --line: #2b323e; --field: #151b24; --bar: #1c2536; --on-bar: #c3cfe2;
    --zelf: #f0a35e; --on-accent: #0f131a; --accentbg-soft: #141b2e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f131a; --ink: #eef1f6; --soft: #c3cad5; --quiet: #8d97a6;
  --accent: #8fa9ff; --accent-hover: #b6c6ff; --accentbg: #1a2440; --sand: #171d26;
  --warn: #2a2418; --line: #2b323e; --field: #151b24; --bar: #1c2536; --on-bar: #c3cfe2;
  --zelf: #f0a35e; --on-accent: #0f131a; --accentbg-soft: #141b2e;
  color-scheme: dark;
}

@font-face {
  font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2");
}

* { box-sizing: border-box; }
/* One type scale and one spacing scale (spec 6a): every font-size on screen is a --t- step, and the layout takes its
   gaps from the --w- steps. The 35em block below is the phone's variant of the same names. Print keeps its points. */
html {
  background: var(--paper);
  --t-label: .875rem; --t-klein: .9375rem; --t-tekst: 1.0625rem; --t-inleiding: 1.25rem; --t-bloktitel: 1.375rem;
  --t-sectietitel: 1.625rem; --t-paginatitel: clamp(1.75rem, 3.2vw, 2.375rem);
  --t-cijfer-1: 2.5rem; --t-cijfer-2: 3rem; --t-cijfer-3: 4rem;
  --w-kop: 2.5rem; --w-sectie: 3rem; --w-blok: 1.5rem; --w-binnen: 1.5rem; --w-primair: 2rem; --goot: 1.5rem;
  --maat-7: 40.625rem; --maat-8: 46.625rem;   /* 7 and 8 columns of the 1132 px type area */
  --r-blok: 1rem; --r-paneel: .75rem; --r-knop: .625rem;
}
@media (max-width: 35em) { html {
  --t-inleiding: 1.1875rem; --t-sectietitel: 1.375rem; --t-paginatitel: 1.75rem; --t-cijfer-1: 2.25rem; --t-cijfer-3: 3rem;
  --w-kop: 1.25rem; --w-sectie: 2rem; --w-blok: 1rem; --w-binnen: 1.25rem; --w-primair: 1.25rem;
} }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--soft);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--t-tekst); line-height: 1.55;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; text-wrap: balance; }
h1 { font-size: var(--t-paginatitel); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 1rem; }
h2 { font-size: var(--t-sectietitel); margin: 2rem 0 .75rem; }
h3 { font-size: var(--t-inleiding); margin: 1.5rem 0 .5rem; }
/* Text keeps the seven-column measure wherever it stands (spec 6a): no per-class cap, one rule. */
main :is(p, li, dd, blockquote, figcaption) { max-width: var(--maat-7); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--bar); color: var(--on-bar); padding: .5rem 1rem; }
/* Focused, it lands on the --bar tab strip: drawn as a light block with an --on-bar ring, so it
   reads against the strip (a --bar block with the global --accent ring was the strip's colour). */
.skip:focus { left: 1rem; top: .375rem; z-index: 1; background: var(--paper); color: var(--ink); font-weight: 700; outline: 3px solid var(--on-bar); outline-offset: 2px; }

/* --- The chrome (fase 6 spec §5) -----------------------------------------------------------
   The section tabs on --bar, the header, main and the footer share one centred column: .kolom
   is that column inside the header and the footer, main is it itself. Everything in the strip
   and the header wraps, so a narrow screen or large text adds lines, never a sideways scroll.
   Tabs, menu links and the theme button are at least 2.75rem (44 px) high. */
.kolom, main { max-width: 73.75rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 1.5rem); }

.secties { background: var(--bar); }
.secties ul { list-style: none; margin: 0 auto; max-width: 73.75rem; padding: .375rem clamp(1rem, 4vw, 1.5rem) 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.secties a { display: block; min-height: 2.75rem; padding: .625rem 1.125rem; color: var(--on-bar); text-decoration: none; font-size: var(--t-klein); border-radius: .5rem .5rem 0 0; }
.secties a:hover { text-decoration: underline; }
/* The tab of the section the page is in looks joined to the page. Its fill barely differs from
   the strip in the dark theme (1.2:1), so the bold --ink text carries it, with aria-current. */
.secties a[aria-current] { background: var(--paper); color: var(--ink); font-weight: 700; }
.secties a[aria-current]:hover { text-decoration: none; }
/* The global outline is --accent, too close to --bar in the light theme; --on-bar is a tested pair. */
.secties a:focus-visible { outline-color: var(--on-bar); }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .kolom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; padding-block: .875rem; }
.brand { margin: 0; font-weight: 700; }
.brand a { display: flex; align-items: center; gap: .625rem; font-size: var(--t-inleiding); color: var(--ink); text-decoration: none; }
/* The mark: what the insurer reimburses beside what you pay yourself, the site's subject in two bars. */
.merk { flex: none; }
.merk-vergoed { fill: var(--accent); }
.merk-zelf { fill: var(--zelf); }
.header-actions { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .375rem; }
.site-header nav a { display: block; min-height: 2.75rem; padding: .625rem; border-radius: .5rem; color: var(--ink); text-decoration: none; }
.site-header nav a:hover { background: var(--sand); }
/* "page" on the page itself, "true" on the item that holds it (a policy page under its year): drawn alike. */
.site-header nav a[aria-current] { background: var(--accentbg); font-weight: 700; }
/* From 48em up the links are set in the small step: with the Doneer link the patients' menu was 46 px too wide for one row beside the brand
   at 1280 px. Not under 48em, where the open menu is a column at the body size (and a page without scripts keeps the base rule above).
   48.0625em, not 48em: 48em is a phone width and belongs to the phone block alone. */
@media (min-width: 48.0625em) {
  .site-header nav a { font-size: var(--t-klein); }
}
.theme-toggle {
  display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .75rem;
  font: inherit; font-size: var(--t-klein); color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: .625rem; cursor: pointer;
}
.theme-toggle:hover { border-color: var(--ink); }
.thema-icoon { flex: none; }
.thema-icoon circle { fill: none; stroke: currentColor; stroke-width: 2; }
.thema-icoon path { fill: currentColor; }
/* The Doneer link (stage 2) stands between the menu and the theme button, outlined: the filled --accent button stays the primary one of a
   page. --accent on --paper, and on --sand when hovered, are tested pairs; a:hover alone would turn the text --accent-hover. A link, 2.75rem
   high, and it wraps with the rest of the header. Without links the layout leaves it out altogether. */
.doneer-knop {
  display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .875rem;
  font-size: var(--t-klein); font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap;
  border: 2px solid var(--accent); border-radius: .625rem;
}
.doneer-knop:hover { color: var(--accent); background: var(--sand); }
.doneer-icoon { flex: none; }
.doneer-icoon path { fill: currentColor; }

/* The phone menu (fase 6 spec §5). The button is in every page but not drawn. menu.js runs in
   the <head> and marks the root element (data-menu) before the first paint; the rules below
   hang on that mark, so the first paint of a phone is already the closed menu. They do not
   wait for the button to lose its hidden attribute: that happens after the first paint, and
   the page then shifts. Without scripts there is no mark: no button, the menu open at every
   width, the theme button with its text. Under 48em a closed button hides the menu and the
   theme button shows its icon only (its text stays for assistive technology). Nothing is
   reordered: the tab order is the order on screen, which is button, the links when open, the
   theme button. That is why the theme button sits under the open menu, with its text back, and
   why the open button keeps the theme button's place free beside it, so it does not move under
   the finger that opened it. */
.menu-toggle { display: none; }
.menu-icoon { flex: none; }
.menu-icoon path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
@media (max-width: 48em) {
  .site-header .kolom { gap: .5rem; }
  .header-actions { display: contents; }
  [data-menu] .menu-toggle {
    display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; margin-left: auto; padding: .5rem .875rem;
    font: inherit; font-size: var(--t-klein); font-weight: 700; color: var(--ink); background: var(--field);
    border: 1px solid var(--line); border-radius: .625rem; cursor: pointer;
  }
  [data-menu] .menu-toggle[aria-expanded="true"] { margin-right: 3.25rem; }
  [data-menu] .menu-toggle[aria-expanded="false"] ~ nav { display: none; }
  [data-menu] .menu-toggle ~ nav { flex-basis: 100%; }
  [data-menu] .menu-toggle ~ nav ul { flex-direction: column; }
  [data-menu] .theme-toggle { min-width: 2.75rem; justify-content: center; padding-inline: .5rem; }
  [data-menu] .thema-tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  [data-menu] .menu-toggle[aria-expanded="true"] ~ .theme-toggle { padding-inline: .75rem; }
  [data-menu] .menu-toggle[aria-expanded="true"] ~ .theme-toggle .thema-tekst { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  /* The Doneer link is the last item of the menu: hidden with it; open, it has a row of its own under the links and above the theme
     button, where the markup puts it. Without the mark (no scripts) neither rule applies and it is drawn at every width. */
  [data-menu] .menu-toggle[aria-expanded="false"] ~ .doneer-knop { display: none; }
  [data-menu] .menu-toggle[aria-expanded="true"] ~ .doneer-knop { flex-basis: 100%; justify-content: center; }
}

main { padding-block: 2rem 3rem; }
main.standalone { max-width: var(--maat-7); margin: 0 auto; padding-top: 4rem; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: var(--t-label); margin: 0 0 .5rem; }

/* The twelve-column grid (spec 6a, bladspiegel). A row of blocks is a .raster with .k3 ... .k12 children (the
   number is the span); <main> is that grid itself on screen. The row gap is --w-blok, the column gap --goot,
   and the gap is the only vertical distance between children of <main>: no class gives such a child a margin.
   Under 56.25em the wide spans give way to two columns, under 35em to one; the children of <main> span all twelve. */
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--w-blok) var(--goot); }
.k3 { grid-column: span 3; } .k4 { grid-column: span 4; } .k5 { grid-column: span 5; } .k6 { grid-column: span 6; } .k7 { grid-column: span 7; } .k8 { grid-column: span 8; } .k12 { grid-column: span 12; }
@media screen {
  main { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--w-blok) var(--goot); align-content: start; padding-block: var(--w-kop) 4.5rem; }
  /* Blocks in one row are equally high: the grid's own stretch, not align-items: start. Main grows to the window, so its rows stay at the top (align-content) instead of sharing the spare height. A footer at the bottom of a short page: the body is a column and main takes what is left. */
  body { display: flex; flex-direction: column; }
  main { flex: 1 0 auto; width: 100%; }
  main > * { grid-column: 1 / -1; min-width: 0; margin-block: 0; }
  main > p, main > ul, main > ol, main > dl { grid-column: span 7; }
  /* An introduction that stayed in the body (the ranking's two, the professionals pages') is body text; two stand side by side. */
  main > p.intro { font-size: var(--t-tekst); grid-column: span 6; }
  /* The line that sends an old year on to the ranking is a paragraph of <main> (seven columns by the rule above) and the notice about next year a raster of its own: both are a row, twelve columns, as a notice is. */
  main > :is(.naar-ranglijst, .jaar-melding) { grid-column: span 12; }
  main > p.naar-ranglijst { max-width: none; }
  /* The strip of the switching season under a table's head is one paragraph of <main> too, and a row of its own like them. */
  main > p.seizoen-strook { grid-column: span 12; max-width: none; }
  /* The policy list (about 36 insurers) stands in three columns; an insurer (its heading with its policies) is a reading block that never breaks over two of them. The counts for narrower screens come after the collapse below. */
  .polislijst { column-count: 3; column-gap: var(--goot); }
  .polislijst .verzekeraar { break-inside: avoid; margin: 0 0 1.5rem; }
  /* A row keeps its divider across the whole column or block, not the seven-column measure of running text (on screen; paper keeps what it had). */
  .polislijst li, .niet-vergelijkbaar li, .zonder-lijst li { max-width: none; }
  /* The result card (the amount of the answer, the state of a page without a list) is a column, not a block: the margins of its paragraphs keep their own size instead of collapsing into each other and into the card's edge. */
  .hero { display: flex; flex-direction: column; }
  .databron { grid-column: span 8; }
  /* The blocks under the answer of a policy page stand in two columns of one .raster: the text blocks (the citation and "te laag") in seven
     columns, one under the other, and the authorisation block with the aside in five. The right column is one wrapper that spans every row of the left one, and the last row takes
     whatever height is left (1fr): when the right column is taller, the extra lands under the last left block, never as a hole between two; when it is shorter, the aside or the
     notice ends and the page goes on. The gap of the grid and of the wrapper is the same --w-blok. Under 56.25em it is one column in the order of the HTML (the collapse below). */
  .polis-uitleg { grid-template-rows: auto 1fr; }
  .polis-uitleg > .polis-marge { grid-column: 8 / -1; grid-row: 1 / -1; display: flex; flex-direction: column; gap: var(--w-blok); min-width: 0; }
  .polis-marge > * { margin-block: 0; }
  /* A warning that stands alone in <main> (the explanation on the gecontracteerd-tarief page) would stand beside empty columns: it takes the row, in two columns. */
  main > .let-op { grid-column: 1 / -1; column-count: 2; column-gap: var(--goot); }
  main > .let-op :is(h2, h3) { break-after: avoid; }
  main > .let-op :is(blockquote, p) { break-inside: avoid; }
  /* In a block of text columns the first paragraph has no top margin: a margin at a column break is cut off, the one at the top of the block is not, so column one would start a paragraph lower than column two. */
  main > .let-op > p:first-child { margin-top: 0; }
  /* A section starts --w-sectie below the one before it: the row gap is already --w-blok of that. */
  main > h2, main > footer, main > section:not(.hero, .som, .citaat, .let-op) { margin-top: calc(var(--w-sectie) - var(--w-blok)); }
  /* The list under its own heading ("Alle polissen van ...") is that heading's, not a new section. */
  main > h2 + section:not(.hero, .som, .citaat, .let-op) { margin-top: 0; }
  /* A grid item does not collapse its first child's margin into its own: the heading that opens a section of <main> sits flush, or the section would start the gap, its margin and the heading's margin below the one before it. */
  main > * > :is(h2, h3):first-child { margin-top: 0; }
  /* 404, error and offline are one narrow column, not a grid; the zero margins above would glue their lines. */
  main.standalone { display: block; }
  main.standalone > h1 { margin-block: 0 1rem; }
  main.standalone > p:not(.kicker) { margin-block: 1em; }
  .naar-boven { grid-column: span 12; }
  /* The model letter: the steps over the whole width (an aside, first in the HTML so that they come before the fields they explain on every width), then one row of the shared grid
     (section.modelbrief.raster): the fields, "Let op" and the line of origin in five columns (.k5), the buttons, notice, letter and caption in seven (.k7), the left one first on a narrow screen, where the spans
     give way below. Each column is a stack, a block gap apart: the gap is the only distance between its parts ("Let op" and the line of origin are one part, .brief-noten, so that they ride together below).
     No rule of these columns places them (no column, row or order). */
  .brief-links, .brief-rechts, .brief-noten { display: flex; flex-direction: column; gap: var(--w-blok); min-width: 0; }
  .brief-links > *, .brief-rechts > *, .brief-noten > * { margin-block: 0; }
  /* The heading of the letter is its own: a small step to what it heads (the letter), not the gap of the stack. */
  .brief-rechts > h2 { margin-bottom: calc(.5rem - var(--w-blok)); }
  /* The notice that says what the letter was filled with is a child of <main> between the steps and the row, over the whole width as the steps are (a paragraph of <main> takes seven columns and the measure of one
     column of text, which left the other half of its row empty): in the right column it made that column longer than the left one only when filled. */
  main > p.brief-polis { grid-column: 1 / -1; max-width: none; }
  /* The steps: the list without a margin of its own (the aside's padding and the gap keep the distances), the closing sentence a small step below it and as wide as the aside. */
  .brief-uitleg ol { margin: 0; padding-left: 1.5rem; }
  .brief-uitleg ol + p { margin: .75rem 0 0; max-width: none; }
  /* An entry of the changelog (a reading block, a k6 of two to a row on the other text pages) takes the row: one entry beside an empty half would be a hole. */
  .tekst-wijzigingen > .lees { grid-column: span 12; }
}
/* From the width of the columns the five steps stand in two columns (three and two), so that the aside is a block of its own height and not one long line each beside an empty half. */
@media screen and (min-width: 56.25em) {
  .brief-uitleg ol { column-count: 2; column-gap: var(--goot); }
  .brief-uitleg li { break-inside: avoid; }
  /* The paragraphs of a changelog entry stand in two columns under the date across both, none broken over them; the first has no top margin, which a column break would cut off in column two only (as in the conclusion). */
  .tekst-wijzigingen > .lees { column-count: 2; column-gap: var(--goot); }
  .tekst-wijzigingen > .lees > h2 { column-span: all; }
  .tekst-wijzigingen > .lees > p { break-inside: avoid; }
  /* An entry of one paragraph would stand whole in column one and leave column two empty: the only paragraph may break, so the two columns fill and balance. */
  .tekst-wijzigingen > .lees > p:only-of-type { break-inside: auto; }
  .tekst-wijzigingen > .lees > h2 + p { margin-top: 0; }
}
@media (max-width: 56.25em) {
  .k3, .k4 { grid-column: span 6; }
  .k5, .k7, .k8 { grid-column: span 12; }
  /* The reset comes after the spans above. */
  main > :is(p, ul, ol, dl, .databron) { grid-column: 1 / -1; }
  /* The ranking page's rows: a k4 is six columns here, which would leave half a row empty beside the count panel, the notice beside the dates, the third disclosure and the third date. */
  .jaar-melding > *, .rang-telling > *, .vraag-rij > *, .rang-uitklap > .k4, .overstappen li { grid-column: span 12; }
  /* The page of a year without a ranking: the countdown's two parts (the days and sentence, the rules link) and the reading blocks of "Wat u nu al kunt doen" would leave half a row empty the same way. */
  .seizoen-blok > *, .nu-al-rij > .k4 { grid-column: span 12; }
  /* The Vergoedingen page's ways onward (three cards of four) and its notices (the yellow one and the quiet aside) would leave half a row empty the same way. */
  .verder > .k4, .polis-meldingen > *, .polis-meldingen .vraag-na > .k4 { grid-column: span 12; }
  /* The page of the mean contracted tariff: the working block and the notice of its first row, the three blocks of its reading row and the three boxes of a step in a sum would leave half a row empty the same way. */
  .gct-kop > *, .gct-uitleg > .k4 { grid-column: span 12; }
  /* The controls of the development page: the kind of consult and the two years are k4s, three to a row, and the durations a k12 of their own; under this width each k4 would leave two thirds of a half row empty beside its chips. */
  .ontwikkel-keuze .raster > .k4 { grid-column: span 12; }
  /* Each fieldset takes the row here, so the twelve columns have no gaps to pay for: eleven gaps of 24 px are wider than the block under 340 px, and the fieldsets stood out of it. */
  .ontwikkel-keuze .raster { column-gap: 0; }
  /* The columns under the answer of a policy page: one column, the wrapper of the right one in its place in the HTML. */
  .polis-uitleg { grid-template-rows: none; }
  .polis-uitleg > .polis-marge { grid-column: span 12; grid-row: auto; }
  /* The first row of a policy page without a list (the notice and the aside): a k8 and a k4 are twelve and six columns here, which would leave half a row empty. */
  .geen-lijst-rij > * { grid-column: span 12; }
  /* The dark band that closes step 4 on the explanation page: its text and its link, a k8 and a k4, take the row one under the other. */
  .zorgtoeslag > * { grid-column: span 12; }
  /* The dark notice on the professionals' front (a k8 and a k4 as a strip) the same: one row each, the sentence over the link. */
  .pro-patient > * { grid-column: span 12; }
  /* One rule each: a browser without :has() drops the whole rule it is in. */
  main > .let-op { column-count: 1; }
}
/* Screen only: an A4 page is about 45em wide and must not get two columns. */
@media screen and (max-width: 56.25em) {
  .polislijst { column-count: 2; }
}
@media (max-width: 35em) {
  .k3, .k4, .k6 { grid-column: span 12; }
}
@media screen and (max-width: 35em) {
  main { padding-bottom: 2.5rem; }
  .paginakop-regel .jaarwisselaar { flex-basis: 100%; }
  /* The year switch fills its row: each year an equal part of it. */
  .paginakop-regel .jaarwisselaar ul { display: flex; width: 100%; }
  .paginakop-regel .jaarwisselaar li { flex: 1; }
  .paginakop-regel .jaarwisselaar a { text-align: center; }
  .polislijst { column-count: 1; }
}
/* The answer: its blocks one under the other, a block gap apart (the amount, the bar, the sum, the release choice, the buttons). */
@media screen {
  .antwoord { display: flex; flex-direction: column; gap: var(--w-blok); min-width: 0; }
  .antwoord > * { margin-block: 0; }
  /* The sum in the answer: no rule above it (the reading block would draw one; paper draws its own box), its own small heading, and the sentence about the deductible small and quiet. */
  .antwoord .som { border-top: 0; padding-top: 0; }
  .antwoord .som > h3:first-child { font-size: var(--t-inleiding); margin: 0 0 .5rem; }
  .antwoord .som > p { margin: .375rem 0 0; font-size: var(--t-klein); color: var(--quiet); }
}

/* --- The page head (fase 6 spec 6a) -----------------------------------------------------------
   Every page below home starts with it: the kruimelpad and the year switch on one line, then the title
   in five columns and the introduction in seven. The separator is drawn here, empty for assistive
   technology, so the kruimelpad is read as a list of links. A long name wraps rather than being cut. */
.paginakop-regel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; min-height: 2.75rem; margin-bottom: .75rem; }
.paginakop-regel .jaarwisselaar { margin: 0; }
.kruimelpad ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font-size: var(--t-klein); color: var(--quiet); }
.kruimelpad li { display: flex; align-items: center; min-height: 2.75rem; min-width: 0; overflow-wrap: anywhere; }
.kruimelpad li + li::before { content: "/"; content: "/" / ""; padding-inline: .5rem; }
.kruimelpad a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.paginakop h1 { margin: 0; line-height: 1.15; }
/* Without an introduction (a policy page, a year without policies) the title has the whole row, not five columns beside seven empty ones. */
.paginakop .raster > .k5:only-child { grid-column: 1 / -1; }
/* The line under a policy's name (insurer, form, polisjaar): body size, the soft colour, and it prints, because the title no longer names the insurer. */
.paginakop .polis-ondertitel { margin: .5rem 0 0; color: var(--soft); }
.inleiding { font-size: var(--t-inleiding); line-height: 1.5; }
.inleiding p { margin: 0; }
.inleiding p + p { margin-top: .75rem; }
.naar-boven a { display: inline-flex; align-items: center; min-height: 2.75rem; }

table { border-collapse: collapse; width: 100%; }
/* .75rem at the sides of a cell, as before fase 6: the stacking breakpoints (60em, 66em) were
   measured against the tables' min-content width with it. Only the row height grew. */
th, td { text-align: left; padding: .6875rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); }
thead th { background: var(--sand); }
.ta-right, td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ta-center { text-align: center; }
.table-wrap { overflow-x: auto; }
/* A table that scrolls in its own region is a working block (drawn with the four kinds
   below); the last row's rule would double its border. */
.table-wrap tbody tr:last-child > * { border-bottom: 0; }

.site-footer { margin-top: 2rem; background: var(--sand); border-top: 1px solid var(--line); color: var(--soft); font-size: var(--t-klein); }
.site-footer .kolom { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.25rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.site-footer a { display: inline-block; padding-block: .65rem; }
.site-footer p { margin: 0; }

/* --- The donation band (stage 2) ---------------------------------------------------------------
   Between <main> and the footer on every page of a site that has donation links, except the donation page itself: the bold line and
   the sentence on the left, the amounts and their note on the right, in the shared column (.kolom). Under 56.25em they stack, under
   35em each amount fills a row. On --accentbg only --ink, --soft and the --accent link stand (all tested pairs; never --quiet or
   --zelf there). The primary amount is --accent with --on-accent, the others --accent on --field with a 2px --accent edge. The
   class names .doneer-rij, .doneer-noot and .doneer-bedrag are shared with the donation page, which draws the same row. */
.donatieband { flex: none; background: var(--accentbg); border-top: 1px solid var(--line); color: var(--soft); }
.donatieband .kolom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; }
.donatie-tekst { flex: 1 1 22rem; max-width: var(--maat-7); }
.donatie-tekst p { margin: 0; }
.donatieband .donatie-kop { margin-bottom: .25rem; color: var(--ink); font-size: var(--t-inleiding); font-weight: 700; line-height: 1.3; }
.donatie-acties { flex: 0 1 auto; }
.doneer-rij { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.doneer-noot { margin: .5rem 0 0; max-width: 24rem; font-size: var(--t-klein); color: var(--soft); }
/* The first VISIBLE amount of a row is the primary one: --on-accent on --accent (--accent-hover when hovered), with the word "Doneer" showing in
   front of its amount. The markup cannot say which that is, because the first link can have expired (doneer.js hides it), so this is the base
   look of every link, and a visible amount link before it in the row makes it the outlined kind: --accent on --field (--sand when hovered), the
   amount alone. Its word goes the way .thema-tekst goes under 48em (clipped to a pixel, not display: none), so the accessible name of every link
   stays "Doneer € 10"; the word has a class of its own. The word and the amount are two flex items,
   a gap is the space between them. The link of the line after an answer (.doneer-regel-link, further down) is the same button in its outlined kind:
   it shares the metrics (so it is at least 2.75rem high) and the outlined colours, and is never the primary one. The rules weigh 0,1,0 to 0,4,0;
   the only order that matters is the one between the shared metrics and the shared outlined colours below them, which both weigh 0,1,0 for the link. */
.doneer-bedrag, .doneer-regel-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 2.75rem; padding: .5rem 1.125rem;
  font-weight: 700; border: 2px solid var(--accent); border-radius: .625rem; text-decoration: none; white-space: nowrap;
}
.doneer-bedrag { color: var(--on-accent); background: var(--accent); }
.doneer-bedrag:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.doneer-bedrag:not([hidden]) ~ .doneer-bedrag, .doneer-regel-link { color: var(--accent); background: var(--field); border-color: var(--accent); }
.doneer-bedrag:not([hidden]) ~ .doneer-bedrag:hover, .doneer-regel-link:hover { color: var(--accent); background: var(--sand); border-color: var(--accent); }
.doneer-bedrag:not([hidden]) ~ .doneer-bedrag .doneer-woord { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.donatieband + .site-footer { margin-top: 0; }
/* doneer.js hides an amount link whose payment request has ended, the row and the group (a heading with its row) that have none left, and a
   note that went with them, with the hidden attribute alone. The row is a flex container and the link inline-flex: the author's display beats
   the browser's [hidden], so these rules, which weigh more, make [hidden] win again. The note and the group have no display of their own;
   they are in the rule so that it stays true if they get one. Not in a media query: an ended link is as dead on paper as on a screen. */
.doneer-bedrag[hidden], .doneer-rij[hidden], .doneer-noot[hidden], [data-doneer-groep][hidden] { display: none; }
@media (max-width: 56.25em) {
  .donatie-tekst, .donatie-acties { flex-basis: 100%; }
}
@media (max-width: 35em) {
  .doneer-rij { flex-direction: column; }
  .doneer-bedrag { width: 100%; }
}

/* --- The four kinds of block (fase 6 spec 6a) -----------------------------------------------
   A block is drawn here and placed in the grid above. Each rule names the new class that later
   stages emit and the blocks the pages have today, so a kind has one look. A page has one
   primary block, raised; a working block holds something to do or to read in a box; a reading
   block has no box, only a rule above it; a notice says one thing to know. Cards do not nest:
   a panel inside a block (a quotation, the release choice in the sum) has --r-paneel. */
.blok-primair { --vlak: var(--field); background: var(--field); border: 1px solid var(--line); border-radius: var(--r-blok); padding: var(--w-primair); box-shadow: 0 .75rem 2rem -1.25rem rgb(22 27 35 / .35); }
.blok-werk, .keuze, .keuze-polis, .brief, .table-wrap { --vlak: var(--field); background: var(--field); border: 1px solid var(--line); border-radius: var(--r-blok); padding: var(--w-binnen); }
.table-wrap { padding: 0; }
.lees, .som, .verzekeraar, .niet-vergelijkbaar, .zonder-lijst, .citaat { border-top: 2px solid var(--ink); padding-top: 1rem; }
/* Notices: must know (--warn), emphasis (--bar, white on it is the secondary button's tested pair), aside (--sand). */
.melding, .let-op, .naar-ranglijst { --vlak: var(--warn); background: var(--warn); border-radius: var(--r-blok); padding: var(--w-binnen); color: var(--soft); }
.melding-donker { --vlak: var(--bar); background: var(--bar); border-radius: var(--r-blok); padding: var(--w-binnen); color: var(--on-bar); }
.melding-donker :is(h2, h3) { color: #fff; }
.melding-donker a { color: #fff; }
.melding-donker a:focus-visible { outline-color: var(--on-bar); }
/* The note "opens in a new tab" after an external link is --quiet by default, which on --bar is no tested pair: on this block it takes the colour of the block's text. */
.melding-donker .extern { color: var(--on-bar); }
.terzijde, .databron { --vlak: var(--sand); background: var(--sand); border-radius: var(--r-blok); padding: var(--w-binnen); }
/* The switching season (seizoen.js). The build writes a season element hidden, and the script takes the attribute off when today is in the season, and puts it back
   outside it. The element may be a .raster (a grid) and the bar inside it is a block: the author's display beats the browser's [hidden] (an inline SVG is not even one
   of the elements the browser's rule covers), so this rule, which weighs two classes, makes [hidden] win again. It comes after the blocks and the grid, and stands outside every
   @media and @supports: a season that is not shown is as absent on paper as on a screen. The bar is drawn in --on-bar, on the dark block it stands in. */
[data-seizoen][hidden], [data-seizoen] [hidden] { display: none; }
.voortgang { display: block; }
.voortgang .baan { fill: var(--on-bar); fill-opacity: .25; }
.voortgang .verstreken { fill: var(--on-bar); }
@media screen {
  /* The countdown: the days left as a number in a frame of the colour of the text, which is --on-bar on the --bar block (a tested pair). */
  .teller { border: 2px solid var(--on-bar); border-radius: var(--r-paneel); color: var(--on-bar); padding: .5rem 1rem; text-align: center; }
  .teller [data-slot="groot"] { display: block; font-size: var(--t-cijfer-2); font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
  .teller [data-slot="klein"] { display: block; font-size: var(--t-label); }
}
@media screen {
  /* "Not known yet" is a dashed panel. Screen only: paper keeps the plain outline it has. (The notice of a policy without a list is no such panel: it is the yellow notice that
     says why there is no amount, and the dashed panels are the things it lists as not known.) */
  .nog-niet, main > p.leeg, .citaat > p.leeg, .home-polis > p.leeg, .brief-links > noscript > p.leeg, .reken-blok > noscript > p.leeg { --vlak: var(--field); background: var(--field); border: 1px dashed var(--quiet); border-radius: var(--r-paneel); padding: var(--w-binnen); box-shadow: none; color: var(--soft); }
  /* The heading that opens a block is the block title, flush with the block's top; one level down is the lead size. */
  :is(.blok-primair, .blok-werk, .lees, .melding, .melding-donker, .terzijde, .nog-niet, .hero, .keuze, .keuze-polis, .brief, .som, .niet-vergelijkbaar, .zonder-lijst, .let-op, .naar-ranglijst, .citaat, .databron) > h2:first-child { font-size: var(--t-bloktitel); margin-top: 0; }
  /* The padding is the only room under a notice or an aside: its last child (a paragraph, mostly) brings no margin of its own. */
  .melding > :last-child, .melding-donker > :last-child, .terzijde > :last-child, .nog-niet > :last-child { margin-bottom: 0; }
  /* A text section's title: block title size (above), flush at the top, a small step to its first paragraph. */
  .lees > h2:first-child { margin: 0 0 .5rem; }
  /* An insurer of the policy list opens its block with an h3 (the list's h2 stands above the columns): the lead size by the global rule, flush at the top, a small step to the first policy. */
  .verzekeraar > h3 { margin: 0 0 .5rem; }
}

/* --- The split bar (stage 2) -------------------------------------------------------------------
   What the insurer reimburses beside what you pay yourself, as one bar (SplitBar.Html): --accent for the reimbursed part, --zelf for your
   own share, the same two colours as the mark and the amounts. The gap between the segments is a stroke in the colour of the surface the
   bar stands on: every block that has a background names it in --vlak (the four kinds above and the dashed panel), and on the bare page
   and in a reading block, which have none, --paper applies. The stroke is drawn on the edge of each rect and the svg clips what falls
   outside it, so the bar is inset by half the stroke on all four sides: the figure is 28 px high and shows 24, the small one 10 and shows 8.
   The figure is a block: an inline svg would leave a gap below it for the descenders. */
.splitsbalk { display: block; }
.splitsbalk rect { stroke: var(--vlak, var(--paper)); stroke-width: 4px; }
.splitsbalk.klein rect { stroke-width: 2px; }
.splitsbalk .vergoed { fill: var(--accent); }
.splitsbalk .zelf { fill: var(--zelf); }
/* The bar of the count panel: the policies with a list in ink, the others in quiet at 40 %. The figure stands beside it, so it is decoration (aria-hidden). */
.splitsbalk .met { fill: var(--ink); }
.splitsbalk .zonder { fill: var(--quiet); fill-opacity: .4; }

/* --- The donation page (stage 2) ---------------------------------------------------------------
   /doneer/ draws the kinds of block that exist and adds none: the primary block holds the amounts, the working block the figure and its
   two bars, the reading blocks the rest. What is new is small. What the right policy saves per consult is a figure at the second figure
   step in the own-share colour (--zelf on --field, a tested pair), the words "per consult" after it at the size of the text; the two
   bars stand one under the other, each in a figure with its caption in the small step and the soft colour (--soft on --field, also tested).
   A figure has no margin of the browser's. Screen only: on paper the figure is a line of text like the rest. */
@media screen {
  .doneer-verschil { margin: 0 0 .75rem; }
  .doneer-cijfer { font-size: var(--t-cijfer-2); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--zelf); font-variant-numeric: tabular-nums; }
  .splitsfiguur { margin: 1rem 0 0; }
  .splitsfiguur figcaption { margin-top: .5rem; font-size: var(--t-klein); color: var(--soft); }
  /* The three reading blocks of "Wat uw donatie mogelijk maakt" have no title, so their paragraph sits flush under the rule, as a title does. Scoped to that
     row: a reading block of a text page keeps the margin it has. */
  .doneer-punten > .lees > p:first-child { margin-top: 0; }
}
/* The page's first row, the amounts card and the card of the difference, stacks under 56.25em, each card the whole row: side by side at 768 px
   the second card was a third empty. Scoped to that row, and after the spans it overrides (.k6 weighs as much, so the order decides). */
@media screen and (max-width: 56.25em) {
  .doneer-kaarten > * { grid-column: span 12; }
}
/* The line after an answer (stage 2, Task 7; a strip since the final review's F7): a quiet aside (.terzijde: sand, its padding) after the sum of a policy
   page and after the table of the ranking, as the plan and the artboards draw it: the whole row, the sentence at the left, the link "Doneer" at the right,
   centred on each other. It is its own child of <main> and a <div>, so it takes the twelve columns (main > *; a <p> of <main> is seven), and the hero and
   the sum above it stay a pair. The sentence keeps the seven-column measure of every paragraph of <main> and has no margin: the strip's padding is the only
   room around it, and <main>'s grid gap the only distance above and below. The link is the outlined button of the band (.doneer-regel-link, above).
   Under 56.25em the strip is a column: the link drops under the sentence whatever the sentence's width (a basis of 100% would be clamped by the measure and
   leave the link beside the sentence while both fit). */
@media screen {
  .doneer-regel { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
  .doneer-regel p { flex: 1 1 22rem; margin: 0; }
}
@media screen and (max-width: 56.25em) {
  .doneer-regel { flex-direction: column; align-items: flex-start; }
  .doneer-regel p { flex: none; }
}

/* --- Tariff pages (fase 4a) ------------------------------------------------------------- */
.intro { font-size: var(--t-inleiding); }
/* A switch between years is one segmented control (fase 6 spec §6; the releases of a year are cards, below): a
   --sand track, the current choice a --field pill in bold with an --accent edge. The fill alone
   is 1.02:1 on the track in the dark theme, and forced colours drop the fill and the shadow; a
   border they keep. The links are at least 2.75rem high and the track wraps, so eight
   professions take two or three lines on a phone. */
.jaarwisselaar ul {
  list-style: none; margin: 0; padding: .25rem; display: inline-flex; flex-wrap: wrap; gap: .25rem; max-width: 100%;
  background: var(--sand); border: 1px solid var(--line); border-radius: .75rem;
}
.jaarwisselaar a { display: block; min-height: 2.75rem; padding: .5625rem 1.125rem; border-radius: .5rem; color: var(--ink); text-decoration: none; }
.jaarwisselaar a:hover { text-decoration: underline; }
.jaarwisselaar a[aria-current] { background: var(--field); font-weight: 700; box-shadow: 0 1px 2px rgb(22 27 35 / .2); text-decoration: none; border-bottom: 3px solid var(--accent); padding-bottom: calc(.5625rem - 3px); }
/* A disclosure is a card on its summary (fase 6 spec §6), not around what it opens: the tables
   inside were measured against their stacking breakpoints at the full column width, and a
   padded box would take 2.5rem of it. */
details.setting > summary, .som-groep > summary {
  cursor: pointer; padding: .875rem 1.25rem; color: var(--ink); font-weight: 700;
  background: var(--field); border: 1px solid var(--line); border-radius: .75rem;
}
details.setting[open] > summary, .som-groep[open] > summary { margin-bottom: 1rem; }
/* The id a row of B3 links to is the first element after the summary of its sum (a browser opens a closed disclosure from a link into its content, not from one to the disclosure or its summary): it is scrolled to the top
   of the window, and the margin keeps the summary, the sum's title, in view above it (7rem holds the tallest summary above 31.25em, 13rem the tallest below it, 159 px and 1rem above the target (the last round measured at 320 px: 7 px of the summary lost at 10.5rem, and a closing sibling sum moves the target up to 22 px after the scroll, so 13rem); measured at 320 to 1280 px). */
.som-groep > summary + * { scroll-margin-top: 7rem; }
@media screen and (max-width: 31.25em) {
  .som-groep > summary + * { scroll-margin-top: 13rem; }
}
details.setting > summary > h2 { display: inline; }
/* The heading in a summary is the card's label, so it is card-sized; it stays an h2 for the outline. */
details.setting > summary > h2 { font-size: var(--t-inleiding); }
/* A closed part of a profession page (fase 6 stage 4) names itself with an h3, one level down from the section it stands in: the same card-sized label. */
details.setting > summary > h3 { display: inline; font-size: var(--t-inleiding); }
/* Three columns: a table this wide in the full type area would leave its middle empty. */
.tabel-consulten, .tabel-groepsconsulten, .tabel-overig { max-width: var(--maat-8); }
/* The amounts are right-aligned (td.num), so the head of an amount column is too, or it stands far from its numbers in a wide table; the first column (the duration, the group size, the code) stays left. */
:is(.tabel-consulten, .tabel-groepsconsulten, .tabel-overig) thead th:not(:first-child) { text-align: right; }
caption { text-align: left; caption-side: top; color: var(--quiet); padding: .25rem 0; }
.code { color: var(--quiet); font-size: var(--t-label); }
.was, .nieuw { color: var(--quiet); white-space: nowrap; }
.geen-definitie { color: var(--quiet); }
.extern { color: var(--quiet); font-size: var(--t-label); }
/* A decision's document id ("TB-REG-26628-04") is one piece: wrapped by TarievenHtml.DocumentLink, outside the note that follows it, so a line never ends after "TB-REG-". */
.dokument { white-space: nowrap; }
/* Sources: a tinted block on --sand (fase 6 spec §6). */
.databron { color: var(--quiet); font-size: var(--t-klein); }
.databron p { margin: .25rem 0; }
/* The line of sources for paper (PolisHtml.Footer): the citation's list says the same on screen, with links; paper has no links, so it prints the names and the days. Its own class, not .alleen-print: p2.js fills the first of those with the date. */
.bronnen-druk { display: none; }

/* Under 600 px a duration table stacks: one block per row, the column head as a CSS label per
   cell. The label is an attribute of the cell (the head of its column, from the bundle), so no
   Dutch is written here and another page can lend these tables; the policy page's tables, with
   1 400 rows, keep a label per position below instead of an attribute per cell (spec §8).
   Breakpoints are in em (16 px at the default text size) so they follow the reader's font-size
   setting as well as zoom. */
@media (max-width: 37.5em) {
  .tabel-consulten thead, .tabel-groepsconsulten thead, .tabel-overig thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .tabel-consulten tr, .tabel-groepsconsulten tr, .tabel-overig tr {
    display: block; border-bottom: 1px solid var(--line); padding: .375rem 0;
  }
  .tabel-consulten th, .tabel-consulten td, .tabel-groepsconsulten th, .tabel-groepsconsulten td, .tabel-overig th, .tabel-overig td {
    display: block; border: 0; padding: .125rem 0; text-align: left; white-space: normal;
  }
  :is(.tabel-consulten, .tabel-groepsconsulten, .tabel-overig) td::before { content: attr(data-label) ": "; color: var(--quiet); }
}

/* --- The NZa tariff page (fase 6, stage 3c) ------------------------------------------------------------
   The card of a release (.release-kaart, a working block): the label (.voorkop) in the accent colour, the document, the dates, and in the other five columns the difference with the previous
   release as three numbers at the size of the big figures, the first (changed amounts) in the own-share colour unless it is 0, and under the raster the year's releases as a grid of cards, the
   shown one on --bar in --on-bar (a tested pair; the date line says "u bekijkt deze" in words, for forced colours). The consults stand in the primary block; the chips choose with :has() (the rules with the tables
   of the policy page). An amount is bold, and its code and the previous amount stand under it in the label size: the previous amount in the own-share colour (--zelf on --field, a tested pair). The primary block has three
   children, the chips, the tables and the rest (the lookup of a prestatiecode, the note about "was", the note about what the tariff covers). Under 56.25em they stack in the order of the HTML (no rule reorders:
   the focus order is the visual order), so the table is right under the chips; from 56.25em the chips and the rest stand in the left five columns and the tables beside both (the block after this one). */
.release-kaart .voorkop { color: var(--accent); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; }
.release-kaart h2 { font-size: var(--t-bloktitel); }
.release-kaart h3 { font-size: var(--t-tekst); }
.release-kaart p.klein { color: var(--quiet); }
.release-kaart .cijfers strong { display: block; color: var(--ink); font-size: var(--t-cijfer-1); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.release-kaart .cijfers li:first-child:not(.nul) strong { color: var(--zelf); }
.releases > p { color: var(--ink); font-weight: 700; }
.releases a { color: var(--ink); text-decoration: none; }
.releases a:hover { text-decoration: underline; }
.releases a > span:first-child { display: block; font-weight: 700; }
.releases a > span + span { display: block; color: var(--quiet); font-size: var(--t-klein); }
.releases a[aria-current] { --vlak: var(--bar); background: var(--bar); border-color: var(--bar); color: var(--on-bar); }
.releases a[aria-current] > span + span { color: var(--on-bar); }
.bedrag { color: var(--ink); font-weight: 700; }
.cel-onder { display: block; color: var(--quiet); font-size: var(--t-label); }
.cel-onder small { font-size: inherit; }
.cel-onder .was { color: var(--zelf); }
.tarief-keuze .table-wrap { background: none; border: 0; border-radius: var(--r-paneel); }
.tarief-keuze .was-uitleg { color: var(--quiet); }
@media screen {
  .tarief-consulten { display: grid; gap: var(--w-blok); }
  .tarief-consulten > h2 { margin: 0; }
  .release-kaart { display: flex; flex-direction: column; gap: var(--w-binnen); }
  .release-kaart .raster > div { display: flex; flex-direction: column; gap: .5rem; }
  .release-kaart .raster > div > :is(p, h2, h3, ul) { margin: 0; }
  .release-kaart .cijfers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
  .release-kaart > .releases { border-top: 1px solid var(--line); padding-top: var(--w-binnen); }
  .releases { display: flex; flex-direction: column; gap: .625rem; }
  .releases > p { margin: 0; }
  .releases ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10.625rem, 1fr)); gap: .5rem; }
  .releases li { max-width: none; min-width: 0; }
  .releases a { display: block; min-height: 2.75rem; padding: .625rem .875rem; border: 1px solid var(--line); border-radius: var(--r-paneel); }
  .tarief-keuze { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--w-blok) var(--goot); }
  .tarief-keuze > * { min-width: 0; margin: 0; }
  .tarief-rest { display: flex; flex-direction: column; gap: var(--w-blok); }
  .tarief-rest > * { margin: 0; }
  .tarief-keuze .keuze .chips { margin: 0; }
  /* The lookup of a prestatiecode stands under the chips with a rule on top and no box (the primary block is the box). Its paragraphs have the margin of the policy page's lookup; the status is excepted, or
     this rule would outweigh the margin it takes when it says something. No rule of the lookup sets a display: the hidden attribute is what keeps it away until nza-tarieven.js shows it. */
  .tarief-keuze .code-zoek { border-top: 1px solid var(--line); padding-top: var(--w-blok); }
  .tarief-keuze .code-zoek > p:not(.zoek-uitkomst) { margin: 0 0 .5rem; }
  .tarief-dekt { border-top: 1px solid var(--line); padding-top: var(--w-blok); }
  .tarief-dekt h3 { margin: 0 0 .5rem; font-size: var(--t-tekst); }
  .tarief-dekt p { margin: 0; }
  /* The tables of the closed parts have two or three columns and stop at eight columns (above); their box (.tabel-smal; the policy page's tables in closed parts are wider) stops with them, or it would stand open to the right of the table. */
  .tabel-smal { max-width: var(--maat-8); }
}
/* From 56.25em the primary block has two columns: the chips (row 1) and the rest (row 2) one under the other in the left five, the tables in the right seven beside both. The first row is as high as the chips
   and the second takes what is left (1fr), so when the table is the taller the extra lands under the rest and never as a hole between the chips and the lookup. The columns are placed, not reordered
   (no `order`): the focus order is the order of the HTML, and so is the stack under 56.25em. */
@media screen and (min-width: 56.25em) {
  .tarief-keuze { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; }
  .tarief-keuze > .keuze { grid-column: 1 / span 5; grid-row: 1; }
  .tarief-keuze > .tarief-rest { grid-column: 1 / span 5; grid-row: 2; }
  .tarief-keuze > .tarief-tabellen { grid-column: 6 / -1; grid-row: 1 / span 2; }
}

/* --- Patient pages (fase 4b) ------------------------------------------------------------ */
/* min-width: 0 overrides the UA stylesheet's fieldset { min-width: min-content }: without it a
   long <select> option (the profession list) keeps the fieldset wider than a 400 px viewport. */
/* A working block (drawn with the four kinds above). Blocks do not nest. */
.keuze, .keuze-polis { min-width: 0; }
/* The gap of the grid is the only distance between question blocks; this also resets the fieldset's own 2px at the sides. */
.keuze { margin: 0; }
.keuze legend { color: var(--ink); font-weight: 700; padding: 0 .5rem; }
.keuze p { margin: .5rem 0; }
.keuze label { display: block; color: var(--ink); font-weight: 700; margin-bottom: .25rem; }
.keuze select, .keuze input, .keuze-polis select {
  font: inherit; color: var(--ink); background: var(--field); border: 2px solid var(--line); max-width: 100%;
}
/* A field (fase 6 spec §6): 3rem high. By type, not a bare `.keuze input`: the checkbox and the
   radios keep their own size. */
.keuze select, .keuze input:not([type="checkbox"]):not([type="radio"]), .keuze-polis select { min-height: 3rem; padding: .625rem .75rem; border-radius: .625rem; }
/* The letter's inputs fill their group (the date input too), whatever the width of the group. */
.brief-invoer input { width: 100%; }
.keuze-polis label, .keuze-p1 label { font-size: var(--t-klein); color: var(--ink); font-weight: 700; }
.keuze small { display: block; color: var(--quiet); }
.keuze-polis[hidden] { display: none; }

/* --- The chooser of the policy page (fase 6, stage 3a): chips --------------------------------------
   Each question is a group of radios (a fieldset with its question as the legend) and each answer a label drawn as a chip.
   The chooser stands in the primary block, which is the card: it has no box of its own. Unchecked a chip is --field
   with --ink text in a 2 px --line frame; checked, it is --ink with --paper text, bold. The radio fills its chip and is
   invisible (opacity, never display: none or visibility: hidden, which take it out of the order of Tab and the arrow keys),
   so a click lands on the radio itself and the browser does the rest. Hiding it and the look of the checked and the
   focused chip need :has(), so they stand in a @supports block: a browser without it shows plain radios beside the labels. */
.tarief-keuze .keuze, .polis-keuze .keuze { background: none; border: 0; border-radius: 0; padding: 0; }
/* The letter's fields stand in the primary block too: its three groups are fieldsets without a box, one under the other a block gap apart, their legend flush with the block's edge. */
.brief-velden .keuze { background: none; border: 0; border-radius: 0; padding: 0; }
.brief-velden .keuze legend { padding: 0; font-size: var(--t-inleiding); }
.brief-velden .keuze + .keuze { margin-top: var(--w-blok); }
.brief-velden > p.klein { margin: .75rem 0 0; color: var(--quiet); }
.keuze .chips { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.keuze .chips legend { padding: 0; margin-bottom: .5rem; font-size: var(--t-klein); }
.keuze .chips-meer, .keuze .chips-uitleg { flex-basis: 100%; grid-column: 1 / -1; margin: .25rem 0 0; font-size: var(--t-klein); }
.keuze .chips-meer { margin-top: .75rem; color: var(--soft); font-weight: 700; }
.keuze .chips-uitleg { color: var(--quiet); }
/* The sentence under the fourth question stands in the chooser, not in a group of chips: a small quiet line, with none of the flex properties of the hints inside the groups. */
.keuze .keuze-uitleg { margin: .25rem 0 0; font-size: var(--t-klein); color: var(--quiet); }
.keuze .keuze-vraag { margin: 1.25rem 0 .25rem; color: var(--ink); }
.keuze .chip {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin: 0; padding: .5rem 1rem;
  font-size: var(--t-klein); font-weight: 400; text-align: center; background: var(--field); color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--r-knop); cursor: pointer;
}
.keuze .chip:hover { border-color: var(--quiet); }
@supports selector(:has(*)) {
  .keuze .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
  .keuze .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; }
  .keuze .chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
  /* Forced colours drop the fill, so the checked chip would look like the others (the --ink fill and its --paper text are author colours). The system's own selection colours
     say it, and the colours are taken out of the browser's adjustment so the pair stays together. */
  @media (forced-colors: active) {
    .keuze .chip:has(input:checked) { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  }
  /* Four durations to a row; a chip this narrow keeps its text on one line with less padding. */
  .keuze .chips:has(input[name="duur"]) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .keuze .chips:has(input[name="duur"]) .chip { padding-inline: .25rem; }
}
/* A form: the two labels above their fields, the button beside them. The markup is label, select, label, select, button; filled column by column,
   the button would stand in the first row, so it is put in the second. */
.keuze-polis { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: .375rem .75rem; align-items: end; align-content: center; }
.keuze-polis select { width: 100%; }
.keuze-polis button { grid-row: 2; }
/* kies.js is a module and shows the chooser after the first paint, which pushed everything
   under it down. Where scripts run, the hidden chooser keeps its place until then: laid out but
   unseen, and out of reach of keyboard and assistive technology. Without scripts, on paper, and
   in a browser that does not know the scripting feature, it takes no room as before. Should the
   module fail to load, the place stays empty and the link under it still leads on. */
@media screen and (scripting: enabled) {
  .keuze-polis[hidden] { display: grid; visibility: hidden; }
}
/* The primary button, one per card at most: --accent with its tested text colour. */
.keuze-polis button {
  font: inherit; font-weight: 700; color: var(--on-accent); background: var(--accent); border: 2px solid var(--accent);
  border-radius: .625rem; min-height: 3.25rem; padding: .75rem 1.25rem; cursor: pointer;
}
.keuze-polis button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
/* On a phone the chooser is one column in the order of the markup, the button as wide as the fields. After the rules it resets. */
@media (max-width: 35em) {
  .keuze-polis { grid-auto-flow: row; grid-template-columns: 1fr; }
  .keuze-polis button { grid-row: auto; width: 100%; margin-top: .5rem; }
  .keuze-polis select + label { margin-top: .5rem; }
}
/* The secondary button: white on --bar (13:1 light, 15:1 dark; computed in StylesheetTests,
   white being no token). The link to the model letter is drawn as one. */
.brief-knoppen button, .naar-brief a {
  font: inherit; font-weight: 700; color: #fff; background: var(--bar); border: 2px solid var(--bar);
  border-radius: .625rem; min-height: 3rem; padding: .625rem 1.25rem; cursor: pointer;
}
.naar-brief a { display: inline-block; text-decoration: none; }
.brief-knoppen button:hover, .naar-brief a:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }

/* The amount block of the answer (fase 6, stage 3a), inside the primary block, which is the raised card: no box of its own. The big amount is what you
   pay yourself, in its own colour, and never breaks between the euro sign and the figure. The consult line is body text with the code in the quiet colour.
   The message of a state without an amount (the --soft of the no-list state, both tested on --field) takes the amount's place. */
.hero { color: var(--ink); }
.hero p { margin: .25rem 0; }
.hero h2.hero-kop { font-size: var(--t-inleiding); font-weight: 700; margin: 0; }
.hero .hero-bedrag { font-size: var(--t-cijfer-3); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; color: var(--zelf); font-variant-numeric: tabular-nums; white-space: nowrap; margin: .25rem 0 .5rem; }
.hero .hero-consult { margin: .375rem 0 0; }
.hero .hero-code { color: var(--quiet); }
.hero .leeg { color: var(--soft); }
.leeg { color: var(--quiet); }
td.leeg { color: var(--quiet); }
/* The notice of a policy without a list is a section that is both .hero and .melding (yellow). Its text is the page's reading text, --soft (a tested pair on --warn),
   not the --ink of the amount block the .hero rule above gives. Two classes outweigh that rule wherever it stands. */
.hero.geen-lijst { color: var(--soft); }

/* The sum (fase 6 spec §6): three rows, each under a rule; the last, what you pay yourself,
   under a 2 px --ink rule with its amount in --zelf. The rows are display: contents, so the
   rules sit on the cells, and the grid has no column gap that would break them. */
.jaar-som, .som dl { margin: 0 0 1rem; display: grid; grid-template-columns: 1fr auto; }
.jaar-som > div, .som dl > div { display: contents; }
.som dt, .som dd { padding-block: .625rem; border-top: 1px solid var(--line); }
.som dt { color: var(--soft); }
.som dd { margin: 0; padding-left: 1.5rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 700; white-space: nowrap; }
.jaar-som > div:last-child > dt, .jaar-som > div:last-child > dd, .som dl > div:last-child > dt, .som dl > div:last-child > dd { border-top: 2px solid var(--ink); }
.jaar-som > div:last-child > dt, .som dl > div:last-child > dt { color: var(--ink); font-weight: 700; }
.jaar-som > div:last-child > dd, .som dl > div:last-child > dd { color: var(--zelf); font-size: var(--t-inleiding); }
/* .release-keuze, not .releases: that class is the list of releases in the tariff page's card (stage 3c). It sits
   in the answer, so it is a quiet panel on --paper with a 1 px --line frame, not a card in a card. It works with no script: the checked radio
   hides the other release's columns (the :has() rules with the tables). Each choice is a row of at least 2.75rem. */
.release-keuze { --vlak: var(--paper); border: 1px solid var(--line); border-radius: var(--r-paneel); padding: .75rem 1.25rem; margin: 0; min-width: 0; background: var(--paper); }
.release-keuze legend { color: var(--ink); font-weight: 700; padding: 0 .5rem; }
.release-keuze p { margin: .35rem 0; }
.release-keuze label { display: flex; align-items: center; gap: .625rem; min-height: 2.75rem; }
.release-keuze input[type="radio"] { flex: none; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--accent); }

/* The answer's own blocks (stage 3a). The bar stands under the amount with its legend: each item is a 12 px square in its segment's colour (a box
   made by the stylesheet, so there is nothing for assistive technology to skip) and the words. The sum is the reading block of the sum without the rule
   above it: it is part of the answer, under its own small heading, and the second row's amount, what the insurer takes off, is in --accent. */
.verdeling .legenda { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: var(--t-klein); }
.verdeling .legenda li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.verdeling .legenda li::before { content: ""; flex: none; width: .75rem; height: .75rem; border-radius: 3px; background: var(--accent); }
.verdeling .legenda .zelf::before { background: var(--zelf); }
.jaar-som > div:nth-child(2) > dd, .som dl > div:nth-child(2) > dd { color: var(--accent); }
/* The year's sum is the same on paper as on screen: the rules for its first row stand outside every query (paper has the rest of the sum's rules at the top of the file too). */
/* The row of the invoices is the first of the sum and, until the script shows the others (they carry the hidden attribute), the only one, which is also the last: the page without a script drew it as the
   last row, a 2 px rule above it and its label in bold. The first row keeps that look whatever follows it, so the page does not change when the rows are written (and the 2 px rule above the first row of the
   year's sum is the rule above the invoices, the other one above what you pay yourself). */
.jaar-som > div:first-child > dt, .jaar-som > div:first-child > dd { border-top: 2px solid var(--ink); }
.jaar-som > div:first-child > dt { color: var(--ink); font-weight: 700; }
.som-release { color: var(--quiet); font-size: var(--t-klein); }
.antwoord .uitleg { color: var(--soft); }
.acties { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.acties p { margin: 0; }
/* The link to the calculator between the letter link and the print button: a bold link, no button (the letter link is the block's secondary button), as high as a touch target. */
.naar-rekenhulp a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
/* The secondary button next to the letter link: --ink on --field in a 2 px --line frame (both tested), the link's height. */
.print-knop { --vlak: var(--field); font: inherit; font-weight: 700; color: var(--ink); background: var(--field); border: 2px solid var(--line); border-radius: var(--r-knop); min-height: 3rem; padding: .625rem 1.25rem; cursor: pointer; }
.print-knop:hover { border-color: var(--quiet); }
/* An element the script shows or hides by the hidden attribute keeps that meaning whatever display a rule above gives it. */
.antwoord [hidden] { display: none; }
/* The no-script instruction sits in the answer and says where to look. It is displayed only when the answer written by the build no longer belongs to the chips: the follow block below decides
   that (a checked radio without the checked attribute, with the answer not marked by the script; a browser without :has() has its own rule below), whether scripting is off or the script did not run. (The print button needs the script and carries the hidden attribute until it shows it; no rule of its own.) */
.zonder-script { display: none; }
/* A browser without :has() cannot tell which choice the build wrote the answer for, so there the answer is displayed only after the script has rewritten it and marked it (data-script): until
   then, and whenever the script did not run or broke, the instruction stands in its place. No media query: a browser that does not know the scripting feature, or has scripts on that do not run, would
   otherwise show the default amount beside radios the reader changed. */
@supports not selector(:has(*)) {
  .antwoord:not([data-script]) .hero, .antwoord:not([data-script]) .verdeling, .antwoord:not([data-script]) .som { display: none; }
  .antwoord:not([data-script]) .zonder-script { display: block; }
}
/* After a fault (p2.js marks the answer data-fout when a render threw, and takes the mark away when one succeeds) the answer on the page may belong to an earlier choice, so it is hidden and the
   instruction stands in its place, whatever the chips say (the letter link goes too: it carries the code of the last consult that rendered, and the calculator link the profession of the last chips that did): the guards above compare the chips with the build's defaults, and a reader can be back at those with the earlier answer still written. No :has(), so
   no @supports; after the rules that display these blocks, heavier than them, and not limited to the screen (a faulted answer prints no amount; the instruction may print). */
.antwoord[data-fout] .hero, .antwoord[data-fout] .verdeling, .antwoord[data-fout] .som, .antwoord[data-fout] .naar-brief, .antwoord[data-fout] .naar-rekenhulp { display: none; }
.antwoord[data-fout] .zonder-script { display: block; }
/* The tariff page's chips choose among the professions' tables with the :has() rules above; where :has() is unknown those rules are dropped, so the chips would be a control that does nothing: they are not
   drawn, and the page shows every profession's table. The selector names .keuze .chips like the rule that gives the group its display, or that rule would win. (A block of its own, after the answer's:
   the test of the answer reads the first block of this kind.) */
@supports not selector(:has(*)) {
  .keuze .chips.beroep-keuze { display: none; }
}

/* The citation is a reading block (a rule above it, no box: .lees, above), the quotation itself a --field panel; no accent stripe at the side (fase 6 spec §6).
   On the page background the panel is a block with a background like any other, so it names its surface (--vlak) and has a --line edge to be seen; in the
   authorisation block, on --warn, it has no edge. --ink and --quiet on --field are tested pairs. */
.citaat > h2 { margin-top: 0; }
.citaat > h3 { margin: 1.5rem 0 .5rem; }
.citaat blockquote, .let-op blockquote { --vlak: var(--field); margin: 0 0 1rem; padding: 1rem 1.25rem; background: var(--field); border-radius: var(--r-paneel); }
.citaat blockquote { border: 1px solid var(--line); }
.citaat blockquote p, .let-op blockquote p { margin: 0 0 .5rem; color: var(--ink); }
.citaat blockquote footer, .let-op blockquote footer { color: var(--quiet); font-size: var(--t-klein); }
/* An address in a quotation (HollandZorg's service page, an e-mail address) must not widen the page on a phone: it breaks anywhere. */
.citaat blockquote, .let-op blockquote { overflow-wrap: anywhere; }
.citaat blockquote ul, .let-op blockquote ul { margin: 0 0 .5rem; padding-left: 1.25rem; color: var(--ink); }
.citaat > .citaat-noot { margin: -.25rem 0 1rem; color: var(--ink); }
.bronnen-noot.afleiding { color: var(--ink); }
/* The sources of the figures on the page, under the citation: a row per kind, the kind in bold at the left, its links at the right with the day each was retrieved
   quiet after it. The note under the list says once that they open in a new tab, so the note on each link is read by assistive technology only (on paper too, where a note about a tab means nothing). */
.bronnen { list-style: none; margin: 0; padding: 0; }
.bronnen li { display: flex; flex-wrap: wrap; gap: .125rem 1rem; padding: .625rem 0; border-top: 1px solid var(--line); }
.bronnen li > strong { flex: 0 0 7.5rem; color: var(--ink); }
.bron-links { flex: 1 1 14rem; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.opgehaald { color: var(--quiet); font-size: var(--t-klein); }
.bronnen-noot { margin: .5rem 0 0; color: var(--quiet); font-size: var(--t-klein); }
.bronnen .extern { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* A heading with an icon before it: the icon keeps its place at the left when the words wrap. It is decorative (aria-hidden) and takes the colour of the text. */
.met-icoon { display: flex; align-items: center; gap: .75rem; }
.met-icoon > svg { flex: none; }
/* The quiet block "Vraag het eerst na" (a .terzijde on --sand): the bold question with its icon, the sentence, the way to the comparison. The icon is --accent on --sand, a tested pair. */
.vraag-na p { margin: 0 0 .5rem; }
.vraag-na-kop { display: flex; align-items: flex-start; gap: .75rem; color: var(--ink); }
.vraag-na-kop > svg { flex: none; margin-top: .125rem; color: var(--accent); }
.vraag-na a { font-weight: 700; }
/* The notice that a policy is not for everyone (PZP: the police), right under the head of its page: a yellow block (.melding, text in --soft) over the whole width, the insurer's sentence and the source under it.
   The source is the quiet small line; its link is a touch target like the others on a screen. The line under a name in the ranking (.vorm.doelgroep) is the contract form's style (.tabel-p1 .vorm). */
.melding.doelgroep p { margin: 0 0 .5rem; }
.melding.doelgroep > :last-child { margin-bottom: 0; }
@media screen {
  .doelgroep-rij { margin-block: 1rem; }
  .melding.doelgroep a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; }
}

/* The page of a policy without a list (stage 3c). The first row is the yellow notice (.melding, also .hero for paper) in eight columns and the quiet aside in four, equally high: the grid stretches both,
   the foot of the notice and the last link of the aside are pushed down, so spare height lands between their parts, never under them. The button is the secondary one (white on --bar, a tested pair, as the
   model letter's) with an edge in --ink: in the dark theme --bar is as light as the notice's --warn, and the border is what shows it (3:1, tested). A link in the foot is a touch target like it. */
.knop-donker { font-weight: 700; color: #fff; background: var(--bar); border: 2px solid var(--ink); border-radius: var(--r-knop); text-decoration: none; }
.knop-donker:hover { color: #fff; text-decoration: underline; }
/* The cell's figure is the second step of the scale in --ink, its line the small step in --quiet (a tested pair on the page); a thing not known is the dashed panel, whose sentence is body text in --soft. */
.weten-cijfer { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.weten-onder { color: var(--quiet); }
@media screen {
  .knop-donker { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .5rem 1.25rem; }
  .geen-lijst { gap: .75rem; }
  .geen-lijst > p, .geen-lijst > h2 { margin: 0; }
  .geen-lijst-voet { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }
  .geen-lijst-voet > a:not(.knop-donker) { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
  .geen-lijst-rij > .vraag-na { display: flex; flex-direction: column; }
  .geen-lijst-rij > .vraag-na > p:last-child { margin-top: auto; }
  .geen-lijst-rij > .vraag-na a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; }
  /* What we know: four cells of three columns, side by side from 56.25em up; two by two under it and one by one under 35em by the grid's own collapse. */
  .weten { margin: 0; }
  .weten dt, .weten-onder { font-size: var(--t-klein); }
  .weten dd { margin: 0; }
  .weten-cijfer { font-size: var(--t-sectietitel); line-height: 1.2; margin: .25rem 0 0; }
  .weten-onder { margin: .25rem 0 0; }
  .weten > .nog-niet dd { margin-top: .25rem; }
  /* The aside that says the NZa tariff is known stands in the margin of the columns, under the authorisation block: block title (above), the words, the link under them, as in "Vraag het na". */
  .tarief-bekend h2:first-child { margin: 0 0 .5rem; }
  .tarief-bekend p { margin: 0 0 .5rem; }
  .tarief-bekend a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; font-weight: 700; }
}

.let-op h2 { margin-top: 0; }
.let-op h3 { margin: 1rem 0 .5rem; }

.polislijst ul { list-style: none; padding: 0; margin: 0; }
.polislijst li { padding: 0 0 .5rem; border-bottom: 1px solid var(--line); }
/* A policy is three lines: the name (the link, bold, a touch target of its own), the contract form with the state of its list, and the premium, which is the quiet one. */
.polislijst li > a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
.polis-vorm, .polis-premie { display: block; font-size: var(--t-klein); }
.polis-premie { color: var(--quiet); }
.alleen-print { display: none; }

.tabel-polis th[scope="colgroup"], .tabel-polis-gc th[scope="colgroup"], .tabel-polis-overig th[scope="colgroup"] { text-align: center; }

/* --- The policy page's tables (fase 6, stage 3a) -----------------------------------------------
   One small table per profession and consult type, in a working block (.table-wrap): the head row
   on --sand (thead th, above), numbers right, and the own-share column bold in --zelf, the colour
   of the amount in the hero (--zelf on --field is a tested pair; a dash stays quiet). The head
   cells of the release columns stand right over their numbers, and so does "Vergoeding", the
   second head cell of the short table. The three closed parts below the short tables are reading
   blocks: a 2 px --ink rule on top, no box, the summary plain text at the small-heading size and at
   least 2.75rem high. They name their ids so the tariff pages' cards (details.setting > summary,
   above) stay as they are. The rule that decides which block is displayed comes with the chooser. */
.tabel-polis td.zelf:not(.leeg), .tabel-polis-gc td.zelf:not(.leeg), .tabel-polis-overig td.zelf:not(.leeg) { color: var(--zelf); font-weight: 700; }
.tabel-polis th.rel-1[scope="col"], .tabel-polis th.rel-2[scope="col"], .tabel-polis-gc th.rel-1[scope="col"], .tabel-polis-gc th.rel-2[scope="col"],
.tabel-polis-overig th.rel-1[scope="col"], .tabel-polis-overig th.rel-2[scope="col"], .tabel-polis thead th[scope="col"]:nth-child(2),
.tabel-polis-gc thead th[scope="col"]:nth-child(2), .tabel-polis-gc thead th[scope="col"]:nth-child(3), .tabel-polis-overig thead th[scope="col"]:nth-child(2) { text-align: right; }
.table-wrap caption { padding-inline: .75rem; }
/* The duration stays on one line while the table is a table; under 60em it stacks and wraps. */
@media screen and (min-width: 60.0625em) {
  .tabel-polis tbody th[scope="row"], .tabel-polis-gc tbody th[scope="row"] { white-space: nowrap; }
}
@media screen {
  .kort { display: grid; gap: var(--w-blok); }
  .consult > :is(h2, h3, h4) { margin: 0 0 .5rem; }
  .consult > h2 { font-size: var(--t-bloktitel); }
  .consult > h4 { font-size: var(--t-tekst); }
  .consult > p { margin: 0 0 1rem; }
  .setting .consult + .consult { margin-top: 1.5rem; }
  details#gc, details#overig, #andere-zorg { border-top: 2px solid var(--ink); padding-top: 1rem; }
  main > :is(#gc, #overig) { margin-top: calc(var(--w-sectie) - var(--w-blok)); }
  details#gc > summary, details#overig > summary, #andere-zorg > details > summary { min-height: 2.75rem; padding: .6875rem 0; background: none; border: 0; border-radius: 0; }
  #andere-zorg > h2 { font-size: var(--t-bloktitel); margin: 0 0 .5rem; }
  #andere-zorg > p { margin: 0 0 1rem; }
  #andere-zorg > details { border-top: 1px solid var(--line); }
  #andere-zorg > details > summary > h3 { display: inline; font-size: var(--t-inleiding); margin: 0; }
}

/* The tables follow the chooser with no script (fase 6, stage 3a): the page shows the blocks of the checked profession and consult type, and marks the row of the checked
   duration: a tint, a bold row header and an accent marker at its left edge (the row headers are regular weight otherwise, so the marked row is the one that stands out; the no-script
   sentence sends the reader to it). The rule of a duration only sets two custom properties for the row header's rule above to use, so there is one rule per duration, as before. :has() on the checked radios does it, so it stands in a @supports block, and it is NOT limited to the screen: print shows what is displayed. With no radio checked
   nothing is hidden. The group consults carry no type and stay with their profession; the blocks of the other kinds of care (#andere-zorg) are .consult too and follow likewise.
   One rule per profession, per consult type and per duration the NZa publishes (StylesheetTests fails when the data has a duration without its rule: add one); each rule is
   alone, because a list with :has() is dropped whole by a browser that does not know it. The names are those of Names.Select. */
.kort tbody th { font-weight: var(--rij-gewicht, 400); box-shadow: inset 3px 0 0 var(--rij-merk, transparent); }
/* The sentence for a profession and consult type that has no table in a place (the generator writes one only for such a pair, in the place of the block) is a .consult like a block, so
   the rules below hide it for every other pair. It is hidden by default, because without :has() nothing follows the chooser and every one of them would show; inside the block
   below it is displayed, and the follow rules (heavier: main:has(...:checked) .consult:not(...)) still hide it: it shows exactly when no follow rule hides it. */
.geen-tabel { display: none; margin: 0; }
@supports selector(:has(*)) {
  .geen-tabel { display: block; }
  main:has(input[name="beroep"][value="B01"]:checked) .consult:not([data-beroep="B01"]) { display: none; }
  main:has(input[name="beroep"][value="B02"]:checked) .consult:not([data-beroep="B02"]) { display: none; }
  main:has(input[name="beroep"][value="B03"]:checked) .consult:not([data-beroep="B03"]) { display: none; }
  main:has(input[name="beroep"][value="B04"]:checked) .consult:not([data-beroep="B04"]) { display: none; }
  main:has(input[name="beroep"][value="B05"]:checked) .consult:not([data-beroep="B05"]) { display: none; }
  main:has(input[name="beroep"][value="B06"]:checked) .consult:not([data-beroep="B06"]) { display: none; }
  main:has(input[name="beroep"][value="B07"]:checked) .consult:not([data-beroep="B07"]) { display: none; }
  main:has(input[name="beroep"][value="B08"]:checked) .consult:not([data-beroep="B08"]) { display: none; }
  main:has(input[name="beroep"][value="B01"]:checked) .gct-beroep:not([data-beroep="B01"]) { display: none; }
  main:has(input[name="beroep"][value="B02"]:checked) .gct-beroep:not([data-beroep="B02"]) { display: none; }
  main:has(input[name="beroep"][value="B03"]:checked) .gct-beroep:not([data-beroep="B03"]) { display: none; }
  main:has(input[name="beroep"][value="B04"]:checked) .gct-beroep:not([data-beroep="B04"]) { display: none; }
  main:has(input[name="beroep"][value="B05"]:checked) .gct-beroep:not([data-beroep="B05"]) { display: none; }
  main:has(input[name="beroep"][value="B06"]:checked) .gct-beroep:not([data-beroep="B06"]) { display: none; }
  main:has(input[name="beroep"][value="B07"]:checked) .gct-beroep:not([data-beroep="B07"]) { display: none; }
  main:has(input[name="beroep"][value="B08"]:checked) .gct-beroep:not([data-beroep="B08"]) { display: none; }
  main:has(input[name="beroep"][value="B01"]:checked) .ontwikkeling-beroep:not([data-beroep="B01"]) { display: none; }
  main:has(input[name="beroep"][value="B02"]:checked) .ontwikkeling-beroep:not([data-beroep="B02"]) { display: none; }
  main:has(input[name="beroep"][value="B03"]:checked) .ontwikkeling-beroep:not([data-beroep="B03"]) { display: none; }
  main:has(input[name="beroep"][value="B04"]:checked) .ontwikkeling-beroep:not([data-beroep="B04"]) { display: none; }
  main:has(input[name="beroep"][value="B05"]:checked) .ontwikkeling-beroep:not([data-beroep="B05"]) { display: none; }
  main:has(input[name="beroep"][value="B06"]:checked) .ontwikkeling-beroep:not([data-beroep="B06"]) { display: none; }
  main:has(input[name="beroep"][value="B07"]:checked) .ontwikkeling-beroep:not([data-beroep="B07"]) { display: none; }
  main:has(input[name="beroep"][value="B08"]:checked) .ontwikkeling-beroep:not([data-beroep="B08"]) { display: none; }
  main:has(input[name="type"][value="diagnostiek"]:checked) .consult[data-type]:not([data-type="diagnostiek"]) { display: none; }
  main:has(input[name="type"][value="behandeling"]:checked) .consult[data-type]:not([data-type="behandeling"]) { display: none; }
  main:has(input[name="duur"][value="5"]:checked) .kort tr[data-duur="5"] { background: var(--accentbg-soft); --rij-gewicht: 700; --rij-merk: var(--accent); }
  main:has(input[name="duur"][value="15"]:checked) .kort tr[data-duur="15"] { background: var(--accentbg-soft); --rij-gewicht: 700; --rij-merk: var(--accent); }
  main:has(input[name="duur"][value="30"]:checked) .kort tr[data-duur="30"] { background: var(--accentbg-soft); --rij-gewicht: 700; --rij-merk: var(--accent); }
  main:has(input[name="duur"][value="45"]:checked) .kort tr[data-duur="45"] { background: var(--accentbg-soft); --rij-gewicht: 700; --rij-merk: var(--accent); }
  main:has(input[name="duur"][value="60"]:checked) .kort tr[data-duur="60"] { background: var(--accentbg-soft); --rij-gewicht: 700; --rij-merk: var(--accent); }
  main:has(input[name="duur"][value="75"]:checked) .kort tr[data-duur="75"] { background: var(--accentbg-soft); --rij-gewicht: 700; --rij-merk: var(--accent); }
  main:has(input[name="duur"][value="90"]:checked) .kort tr[data-duur="90"] { background: var(--accentbg-soft); --rij-gewicht: 700; --rij-merk: var(--accent); }
  main:has(input[name="duur"][value="120"]:checked) .kort tr[data-duur="120"] { background: var(--accentbg-soft); --rij-gewicht: 700; --rij-merk: var(--accent); }
  /* The release choice of the answer (its radios carry these ids): the columns of the other release go. */
  main:has(#release-2:checked) .rel-1 { display: none; }
  main:has(#release-1:checked) .rel-2 { display: none; }
  /* The answer the build wrote is for the radios it checked, which carry the checked attribute for good; a reader's choice changes only the state. A radio that is checked without the attribute
     is a choice the written answer is not for, and until p2.js has rewritten it (it marks the answer with data-script) the answer is not displayed and the instruction is. Once the reader
     returns to the default chips the answer is the written one again. */
  main:has(input[type="radio"]:checked:not([checked])) .antwoord:not([data-script]) :is(.hero, .verdeling, .som) { display: none; }
  main:has(input[type="radio"]:checked:not([checked])) .antwoord:not([data-script]) .zonder-script { display: block; }
}

/* --- The code lookup (fase 6, stage 3a) ---------------------------------------------------------
   "Staat er een andere code op uw factuur?": a working block (the markup carries .blok-werk: --field, a 1 px --line edge, the block radius and padding, as in the drawing; the
   blocks of one section stand a grid gap apart, so no distance of its own) between the short tables and the closed parts, its explanation in seven columns
   (.k7) and its field in five (.k5). The block (a div with role search; the site has no form) carries the hidden attribute until p2.js shows it, so no rule of .blok-werk or .code-zoek sets a display of its own: a display there would win over
   [hidden] and show a search that does nothing. The field and its button are as high as the other controls (3rem); the button is the primary one of this block. The status paragraph is
   a live region and stays displayed when it is empty, but only takes room once it says something. The row the lookup found is tinted like the chosen row and outlined in --accent
   inside its table's box (a negative offset: a table sits in a clipped scroll region); it works in any table and needs no :has(). The row takes focus (tabindex -1) and keeps that
   same outline as its focus ring. The field shows the site's focus ring (its own 2 px edge stays). Paper leaves the block out and the mark with it. */
@media screen {
  .code-zoek .k7 p { margin: 0 0 .5rem; }
  .code-zoek .k7 p:last-child { margin-bottom: 0; }
  .code-zoek .zoek-titel { color: var(--ink); }
  .code-zoek label { display: block; margin: 0 0 .25rem; color: var(--ink); font-weight: 700; font-size: var(--t-klein); }
  .zoek-veld { display: flex; flex-wrap: wrap; gap: .5rem; }
  .zoek-veld input { flex: 100 1 9rem; min-width: 0; min-height: 3rem; padding: .625rem .75rem; font: inherit; color: var(--ink); background: var(--field); border: 2px solid var(--line); border-radius: var(--r-knop); }
  .zoek-veld button { flex: 1 1 auto; font: inherit; font-weight: 700; color: var(--on-accent); background: var(--accent); border: 2px solid var(--accent); border-radius: var(--r-knop); min-height: 3rem; padding: .625rem 1.25rem; cursor: pointer; }
  .zoek-veld input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .zoek-veld button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
  .zoek-uitkomst { margin: 0; color: var(--ink); }
  .zoek-uitkomst:not(:empty) { margin-top: 1rem; }
}
tr.gevonden { background: var(--accentbg-soft); outline: 2px solid var(--accent); outline-offset: -2px; }
/* The tariff page's lookup marks a cell, not a row: the same tint and the same outline, drawn inside the cell; the cell names its colour in --vlak. The cell takes focus (tabindex -1) and shows this outline as its ring. */
td.gevonden { --vlak: var(--accentbg-soft); background: var(--accentbg-soft); outline: 2px solid var(--accent); outline-offset: -2px; }

/* The model letter */
/* The buttons and the status flow in the paragraph's line: the paragraph has no display, or the hidden attribute would lose to it until brief.js shows it. A row of buttons that wraps keeps .5rem between
   its lines by the margin under each, which the paragraph takes back (it is a part of a stack with a gap of its own). */
.brief-knoppen { margin-block-end: -.5rem; }
.brief-knoppen button { margin: 0 .5rem .5rem 0; vertical-align: middle; }
/* The caption under the letter is a small quiet line like the line of origin below it. */
.brief-geel { color: var(--quiet); }
.bevestiging { color: var(--quiet); }
.brief { max-width: calc(var(--maat-7) + 2 * var(--w-binnen)); color: var(--ink); }
/* The notice above the letter (brief.js): what the letter was filled with, or why it was not, in a quiet block on --sand over the whole width, between the steps and the row (its width is the rule of main > p.brief-polis). It carries the hidden attribute until
   the script shows it, so no rule of its class sets a display. The text is --ink and the links --accent, both tested pairs on --sand; a hovered link keeps --accent (a:hover alone would turn it
   --accent-hover, which has no row) and thickens its underline instead. */
.brief-polis { --vlak: var(--sand); background: var(--sand); border-radius: var(--r-paneel); padding: var(--w-binnen); color: var(--ink); }
.brief-polis a { font-weight: 700; }
/* The two links are a finger wide, as every link that is a way on is, and each stands on a line of its own under the sentence, as wide as its words: a block of its own height, only while visible (the author's
   display would otherwise win over the hidden attribute, as the donation links' note says). Inline in the sentence a link this high loosened its lines at desktop width. */
.brief-polis a:not([hidden]) { display: block; width: fit-content; min-height: 2.75rem; padding-block: .625rem; }
.brief-polis a:hover { color: var(--accent); text-decoration-thickness: 2px; }
/* "Let op" and the line of origin ride beside the letter. Without the script the left column holds one sentence and them, beside a letter several times as tall; they stick to the top of the window, inside the
   column, which is as tall as the row, so the column is not empty in the window. With the script the two columns end together and there is hardly room to move (the difference of their ends, measured, is all).
   A plain rule: in a window lower than 40em the block would not fit under the top of it, and then it stays where it is. */
@media screen and (min-width: 56.25em) and (min-height: 40em) {
  .brief-links > .brief-noten { position: sticky; top: var(--w-blok); }
}
/* Where scripting is enabled the three parts brief.js shows keep their room while the script is on its way, but stay unseen: visibility: hidden keeps them out of the tab order and the accessibility tree, and
   what stands below them does not jump down when the script shows them. No height is written by hand: they take the room they take once shown. Without scripting (and in a browser that does not know the
   feature) the hidden attribute hides them as before. The one rule that gives them a display, and it cannot show a thing.
   The room ends by itself: when the script has not shown them after ten seconds it is not coming (the request failed, an import failed) and nothing on the page would say why there is a hole of a screen and a
   half, so an animation of no duration, started by its delay and kept by its fill mode, takes the parts out of the layout (the page then holds the steps and "Let op" with their usual gap). A script that comes in
   time takes the hidden attribute off: the selector stops matching and the animation with it. The top margin takes back the block gap that the flex column keeps beside a part of no height (the gap is its only distance),
   so that what follows the collapsed part starts where it would without the part. Nothing moves in sight (the parts are unseen), so reduced motion needs no exception. */
@media screen and (scripting: enabled) {
  .brief-velden[hidden], .brief-knoppen[hidden], .brief-geel[hidden] { display: block; visibility: hidden; animation: brief-ruimte-weg 0s 10s forwards; }
  @keyframes brief-ruimte-weg { to { max-height: 0; overflow: hidden; padding: 0; border: 0; margin: calc(-1 * var(--w-blok)) 0 0; } }
}
.brief p { max-width: none; }
.brief mark { background: var(--warn); color: var(--ink); padding: 0 .15rem; }
.brief mark.ingevuld { background: transparent; padding: 0; }
.voetnoten { font-size: var(--t-label); color: var(--quiet); }
.herkomst { color: var(--quiet); font-size: var(--t-klein); }

/* --- P1: kies uw verzekering (fase 5a) --------------------------------------------------- */
.telling { color: var(--ink); font-weight: 700; }
/* The controls reuse the policy page's question fieldset (.keuze) in a grid. [hidden] must win
   over display: grid, or the controls would show without JavaScript, when they do nothing. */
.keuze-p1 { display: flex; flex-wrap: wrap; align-items: end; gap: 0 1rem; }
.keuze-p1[hidden] { display: none; }
/* Four or five controls stand in rows that fill their width: each item grows into what the last row leaves, so no cell stays empty (a grid of equal cells did, whenever the
   count did not divide the columns). The seven-column measure of a paragraph does not cap an item. The sentence at the end has a row of its own. */
.keuze-p1 > p { flex: 1 1 9rem; min-width: 0; max-width: none; }
/* The three with long text in them (the profession, the sentence of the authorisation filter, the sort key) take twice the growth from a wider start. */
.keuze-p1 > .keuze-breed { flex: 2 1 14rem; }
.keuze-p1 > .keuze-uitleg { flex: 1 1 100%; max-width: var(--maat-7); }
.keuze-p1 select { width: 100%; }
.keuze-p1 label:not([for]) { display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; margin: 0; }
.keuze-p1 input[type="checkbox"] { width: 1.25rem; height: 1.25rem; padding: 0; vertical-align: middle; border-radius: .25rem; }
.keuze input:disabled, .keuze select:disabled { opacity: .6; }
.status { color: var(--soft); min-height: 1.55em; }
.tabel-p1 td.rang { font-variant-numeric: tabular-nums; }
.tabel-p1 .sorteer, .tabel-gct .sorteer {
  font: inherit; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 0;
  cursor: pointer; text-align: inherit; text-decoration: underline; text-underline-offset: .15em;
}
.tabel-p1 .sorteer:hover, .tabel-gct .sorteer:hover { color: var(--accent-hover); }
/* The arrow is decoration: aria-sort on the <th> tells a screen reader, and the empty alt text
   after the slash keeps the arrow from being read out. */
.tabel-p1 th[aria-sort="descending"] .sorteer::after, .tabel-gct th[aria-sort="descending"] .sorteer::after { content: " ▼" / ""; }
.tabel-p1 th[aria-sort="ascending"] .sorteer::after, .tabel-gct th[aria-sort="ascending"] .sorteer::after { content: " ▲" / ""; }
.machtiging-onbekend { display: block; color: var(--quiet); font-size: var(--t-label); font-weight: 400; }
/* The table's cells (stage 3b). The caption says what the percentage is: small and quiet, directly above the table. The form under the policy's name and
   the year's premium under the month's are lines of their own in the small quiet step (--quiet is a tested pair on --paper and on --accentbg-soft). The sorted
   column is tinted: its cells on --accentbg-soft, its head (the one with aria-sort) on --accentbg with --ink text, and each tinted cell names its colour in
   --vlak so the bar's gap takes it. The figure of a sorted percentage cell is bold --ink; ranglijst.js and the build put the tint and the bars on the same column. */
.tabel-p1 caption { font-size: var(--t-klein); }
.tabel-p1 .vorm, .tabel-p1 .per-jaar { display: block; font-size: var(--t-label); font-weight: 400; color: var(--quiet); }
.tabel-p1 td.gesorteerd { --vlak: var(--accentbg-soft); background: var(--accentbg-soft); }
/* The greyed row of a policy that has no list yet: its name and one sentence in the reading text, --soft on the field colour (the pair of the dashed panels), across the columns the table has. It holds no
   rank (the cell is empty) and no figure; the tint is the only thing that sets it apart besides the words, and the words say what it is. */
.tabel-p1 tr.wacht > * { --vlak: var(--field); background: var(--field); }
.tabel-p1 tr.wacht > * { border-block: 1px dashed var(--quiet); }
.tabel-p1 td.wacht-tekst { color: var(--soft); font-size: var(--t-klein); }
.tabel-p1 thead th[aria-sort] { --vlak: var(--accentbg); background: var(--accentbg); color: var(--ink); }
.tabel-p1 thead th[aria-sort] .sorteer { color: var(--ink); }
.tabel-p1 thead th[aria-sort] .sorteer:hover { color: var(--accent-hover); }
.tabel-p1 td.pct.gesorteerd .cijfer { color: var(--ink); font-weight: 700; }
/* On screen the figure and the bar of a sorted percentage cell stand side by side: the figure at a fixed width so the bars start at one line, the bar taking the
   rest of a cell that is at least 13.75rem wide. Under 66em (the cards) the bar stands under its figure. */
@media screen {
  .tabel-p1 td.pct.gesorteerd { min-width: 13.75rem; }
  .tabel-p1 td.pct.gesorteerd .cijfer { display: inline-block; width: 4.5rem; text-align: right; }
  .tabel-p1 td.pct.gesorteerd .splitsbalk { display: inline-block; width: calc(100% - 5.25rem); margin-left: .75rem; vertical-align: middle; }
  /* The policy column takes what the table has to spare. The number columns are as narrow as their heads and the sorted one as its bar (its minimum above), so without a width of its own the
     spare room went to the bar column and the names ("Univé Zorg Uitgebreid polis van Univé") stood on three lines. A width on the head cell is the column's (the head is gone in the cards, below). */
  .tabel-p1 thead th:nth-child(2) { width: 40%; }
}
/* Between the cards (up to 66em) and the width at which the overview fits its box as it is (71.1em, a table of 1008 px in a box of the page's width less its sides) the table took more room than its
   box had, and the box scrolled inside (80 px at 1057 px, a 1366 px screen at 125 % is 1093 px). The room is taken from the bar and the sides of the cells: the sorted cell is as narrow as its bar
   (not under 6rem: its minimum is the cell's sides 2 x .4375rem + the figure 4.25rem + its gap .375rem + 6rem) and the cells have a little less at their sides. The figure keeps room for "100,0 %".
   66.01em and not 66em: the cards own 66em itself. Screen only, like the layout it changes; the cards (the rule above) and paper are untouched. */
@media screen and (min-width: 66.01em) and (max-width: 71.5em) {
  .tabel-p1 th, .tabel-p1 td { padding-inline: .4375rem; }
  .tabel-p1 td.pct.gesorteerd { min-width: 13rem; }
  .tabel-p1 td.pct.gesorteerd .cijfer { width: 4.25rem; }
  .tabel-p1 td.pct.gesorteerd .splitsbalk { width: calc(100% - 4.625rem); margin-left: .375rem; }
}
.niet-vergelijkbaar ul, .zonder-lijst ul { list-style: none; padding: 0; margin: 0 0 1rem; }
/* --- The ranking page (stage 3b) ---------------------------------------------------------------
   One primary block holds the head (the title, and beside it the count panel of a year that misses lists, or a line under it), the status line, the table and the note about
   the authorisation. The table needs no box of its own inside the card (the card is the box; its head row is the tint). Under the block: the notice and the dates in one row, and the
   disclosures, closed. The year notice at the top is a raster of its own, the heading and sentences in eight columns and the way on in four. Rows that would leave half a row
   empty at the widths where k4 is six columns stack in the 56.25em block above. */
.ranglijst .table-wrap { background: none; border: 0; border-radius: var(--r-paneel); }
/* The block is never displayed beside controls it was not computed for (stage 3b, Task 6). The build writes it for the controls' defaults and ranglijst.js rewrites it for the choice, so the title and the
   table stand hidden (kept in their places: visibility; the status line stays displayed while busy: the script writes the sentence that says what is waited for) whenever the choice may not be theirs: while
   the data file for a choice is being fetched (data-bezig, set by the script before
   anything else, also at load, so a script that dies half way leaves the table hidden in a browser without :has() too), and below, until the script has rewritten them (data-script) beside a select whose chosen
   option is not the one the build marked selected (the five selects and the checkbox that is checked), but only while the controls are displayed (#p1-keuze:not([hidden])): a control the script has not
   shown cannot contradict the table the build wrote, and a browser may have restored a value into it, so a script that fails to load would otherwise leave neither table nor sentence. After a fault (data-fout) a rewrite may be half written: they are gone, the show-all row and the no-result panel with them, and
   the sentence that says so stands in their place. Plain rules outside every @media and @supports: paper and a browser without :has() need them too. One :has() rule each, in a block of its own: a
   browser that does not know :has() drops a list that holds it whole. The script's own marks, not the media feature for scripts, tell these states apart. */
.ranglijst[data-bezig] :is(.rang-titel, .tabel-p1) { visibility: hidden; }
.ranglijst[data-fout] :is(.rang-titel, .table-wrap, .rang-meer, .rang-geen, .status) { display: none; }
/* The sentence of a faulted block starts hidden (the hidden attribute, so a reader view or a failed stylesheet does not say the ranking could not be updated); this is the one display rule of the class, and an author rule outweighs the attribute. */
.ranglijst[data-fout] .rang-fout { display: block; }
@supports selector(:has(*)) {
  main:has(#p1-keuze:not([hidden]) select[name="beroep"] option:checked:not([selected])) .ranglijst:not([data-script]) :is(.rang-titel, .tabel-p1, .status) { visibility: hidden; }
  main:has(#p1-keuze:not([hidden]) select[name="type"] option:checked:not([selected])) .ranglijst:not([data-script]) :is(.rang-titel, .tabel-p1, .status) { visibility: hidden; }
  main:has(#p1-keuze:not([hidden]) select[name="duur"] option:checked:not([selected])) .ranglijst:not([data-script]) :is(.rang-titel, .tabel-p1, .status) { visibility: hidden; }
  main:has(#p1-keuze:not([hidden]) select[name="sorteer"] option:checked:not([selected])) .ranglijst:not([data-script]) :is(.rang-titel, .tabel-p1, .status) { visibility: hidden; }
  main:has(#p1-keuze:not([hidden]) input[name="machtiging"]:checked:not([checked])) .ranglijst:not([data-script]) :is(.rang-titel, .tabel-p1, .status) { visibility: hidden; }
}
@media screen {
  /* The collapse to the first ten rows is a class the script sets, on the screen only: without a script and on paper every row shows. */
  .tabel-p1 tr.later { display: none; }
  /* What the search does not match, and the table when the search finds nothing, are hidden on the screen only: on paper every row the authorisation filter keeps prints, under a title whose count is true. */
  .tabel-p1 tr.buiten { display: none; }
  .ranglijst .table-wrap.buiten { display: none; }
  .jaar-melding { align-items: center; }
  .jaar-melding > *, .jaar-melding p { margin: 0; }
  .jaar-melding h2 { margin: 0 0 .5rem; font-size: var(--t-bloktitel); }
  .jaar-melding .k4 { font-weight: 700; }
  .ranglijst { display: flex; flex-direction: column; }
  .ranglijst > * { margin-block: 0; }
  .rang-hoofd { margin-bottom: .5rem; }
  .rang-hoofd .rang-titel { margin: 0; font-size: var(--t-sectietitel); }
  .rang-lijn { margin: .5rem 0 0; color: var(--soft); }
  /* The head is two rows: the title, then the count. The count of a year that misses lists is one strip of the whole width: its own heading across all twelve columns, and under it three parts
     (3 + 4 + 5 columns, the markup says which): the figure, the sentence that continues it, and the bar. They stand side by side and centred on each other, so a short part leaves no corner
     empty; under 56.25em the parts are rows of their own (the group above), in the order of the markup. */
  .rang-telling { align-items: center; margin-top: 1rem; row-gap: .75rem; }
  .rang-telling > * { margin: 0; }
  .telling-cijfer p, .telling-tekst p, .telling-balk p { margin: 0; }
  .telling-balk p { margin-top: .75rem; }
  .cijfer-groot { font-size: var(--t-inleiding); color: var(--ink); line-height: 1.1; }
  .cijfer-groot strong { font-size: var(--t-cijfer-1); font-weight: 700; font-variant-numeric: tabular-nums; }
  .ranglijst .status { margin: 0; }
  /* The status line is the title's second line in the head (the count and what the list is sorted on), a live region that stays displayed while a data file is fetched and then says so. */
  .rang-kop .status { margin: .5rem 0 0; }
  /* The line is empty until the reader does something (the title already says the count and the sort), so the title stands alone beside the search block, centred on it; the empty live region
     stays in the page and takes no room, and once it says something it is the title's second line. */
  .rang-kop { align-items: center; }
  .rang-kop .status:empty { margin: 0; min-height: 0; }
  .rang-machtiging { margin: 1rem 0 0; font-size: var(--t-klein); color: var(--quiet); }
  /* The one line to the calculator under the note, a step more present than it (--soft on the card, a tested pair); its link is bold and, in a sentence, a touch target by its padding. */
  .rang-rekenhulp { margin: .5rem 0 0; font-size: var(--t-klein); color: var(--soft); }
  .rang-rekenhulp a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; font-weight: 700; }
  /* The search stands in the four columns beside the title, its label above the field and its hint under it. The field is as high as the other controls (3rem) and shows the site's focus ring (its own 2 px
     edge stays); it and the hint are on the card (--field), where --ink and --quiet are tested pairs. The search, the show-all row and the no-result panel carry the hidden attribute until the script
     shows them, so no rule of theirs sets a display: it would win over [hidden]. The Vergoedingen page's field (.zoekveld) and its no-result panel (.polis-geen) share the field, label and focus rules
     of this block (the ranking's .rang-zoek and .rang-geen): an edit of them changes both pages. */
  .rang-zoek label, .zoekveld label { display: block; margin: 0 0 .25rem; color: var(--ink); font-weight: 700; font-size: var(--t-klein); }
  .rang-zoek input, .zoekveld input { width: 100%; min-height: 3rem; padding: .625rem .75rem; font: inherit; color: var(--ink); background: var(--field); border: 2px solid var(--line); border-radius: var(--r-knop); }
  .rang-zoek input:focus-visible, .zoekveld input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .rang-zoek p { margin: .25rem 0 0; font-size: var(--t-label); color: var(--quiet); }
  /* The panel for a search that finds nothing is a working block (a --field panel with its edge) in the card; the buttons of it and of the show-all row are the secondary one, ink on --field in a 2 px --line frame. */
  .rang-geen, .polis-geen { margin-top: 1rem; max-width: var(--maat-8); }
  .rang-geen > *, .polis-geen > * { margin: 0 0 .75rem; }
  .rang-geen > :last-child, .polis-geen > :last-child { margin-bottom: 0; }
  .rang-geen-kop, .polis-geen-kop { color: var(--ink); font-weight: 700; font-size: var(--t-inleiding); overflow-wrap: anywhere; }
  .rang-geen button, .polis-geen button, .rang-meer button { --vlak: var(--field); font: inherit; font-weight: 700; color: var(--ink); background: var(--field); border: 2px solid var(--line); border-radius: var(--r-knop); min-height: 3rem; padding: .625rem 1.25rem; cursor: pointer; }
  .rang-geen button:hover, .polis-geen button:hover, .rang-meer button:hover { border-color: var(--quiet); }
  .rang-meer { margin: 1rem 0 0; }
  /* The sentence beside the button stays whole: where it does not fit it goes to the line under the button, flush left. */
  .rang-meer button { margin-right: .75rem; }
  .rang-meer span { display: inline-block; color: var(--soft); }
  .rang-fout { margin: 1rem 0 0; color: var(--ink); font-weight: 700; }
  .vraag-na.k4 > * { margin-top: 0; }
  .overstappen > ol { list-style: none; margin: 0 0 1rem; padding: 0; }
  .overstappen li { padding-top: .75rem; }
  .overstappen li p { margin: 0; }
  .overstap-kop { color: var(--ink); font-weight: 700; font-size: var(--t-inleiding); }
  .overstap-kop + p { margin-top: .25rem; }
  .overstappen > p { margin: 0; }
  .overstappen > p a { font-weight: 700; }
  /* Three links that stand alone in their line are touch targets like their neighbours: the notice's link to the disclaimer (home and ranking), the government's rules under the dates, and the way on in the year notice.
     Inline-block, not inline-flex: the link to the government opens a new tab and carries a marker after its words, which a flex container would set apart as a second item. */
  .melding.vraag-na a, .overstappen > p a, .jaar-melding .k4 a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; }
  .rang-uitklap summary { cursor: pointer; padding-block: .6875rem; color: var(--ink); font-weight: 700; }
  /* The summary holds a heading (so a screen-reader user can jump to it) that looks like the plain text the summary was: inline, and the summary's own size, line and weight. */
  .rang-uitklap summary > h2 { display: inline; margin: 0; font-size: inherit; line-height: inherit; }
  .rang-uitklap details > p { margin: 0 0 .75rem; }
  /* The page of a year without a ranking (Task 5). The notice is a .melding with its text in seven columns and the figure in five, centred on each other; the figure is the count strip's
     (.cijfer-groot), and the bar under it is the count bar, all grey. The reading blocks under "Wat u nu al kunt doen" are .lees blocks in a row: each a column, its link pushed to the foot so the
     links of a row stand on one line. */
  .nog-geen { align-items: center; }
  .nog-geen > *, .nog-geen p { margin: 0; }
  .nog-geen h2 { margin: 0 0 .75rem; font-size: var(--t-bloktitel); }
  /* Two classes: the reset above (.nog-geen p) weighs a class and an element, and the gap between the bar and the sentence under it is the margin of that paragraph. */
  .nog-geen .nog-geen-cijfer > * + * { margin-top: .75rem; }
  .nog-geen-link { font-weight: 700; }
  .nog-geen-link a { display: inline-block; padding-block: .5rem; }
  .nu-al > h2 { margin: 0 0 var(--w-blok); font-size: var(--t-bloktitel); }
  .nu-al-rij .lees { display: flex; flex-direction: column; gap: .5rem; }
  .nu-al-rij .lees > * { margin: 0; }
  .nu-al-rij .lees > h3 { font-size: var(--t-inleiding); line-height: 1.25; color: var(--ink); }
  .nu-al-rij .nu-al-link { margin-top: auto; padding-top: .25rem; font-weight: 700; }   /* two classes: it must beat the zero margin of the block's children above */
  .nu-al-link a { display: inline-block; padding-block: .625rem; }
  /* The season's block: the counter beside the title, the sentence and the bar; the rules link beside them. The counter keeps its width, the text takes the rest. */
  .seizoen-blok { align-items: center; }
  .seizoen-kern { display: flex; gap: 1.5rem; align-items: center; min-width: 0; }
  .seizoen-kern .teller { flex: none; min-width: 7.5rem; margin: 0; }
  .seizoen-tekst { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: .625rem; }
  .seizoen-tekst > * { margin: 0; }
  /* The countdown's sentence is a paragraph (an empty heading would stand there before the script fills it) that looks as the heading did: the block title, bold, white on the bar, balanced. */
  .seizoen-kop { font-size: var(--t-bloktitel); font-weight: 700; line-height: 1.2; color: #fff; text-wrap: balance; }
  .seizoen-blok .k4 p { margin: 0; }
  .seizoen-blok .k4 a { display: inline-block; padding-block: .625rem; font-weight: 700; }
  /* The strip: the clock and the sentence on one line, the heading in bold. */
  .seizoen-strook { margin: 0; }
  .seizoen-strook > span { min-width: 0; }
  /* The dates under "Tot wanneer kunt u overstappen?" each carry a rule of their own colour on screen; paper has the heading's rule and three plain paragraphs. */
  .overstap-1 { border-top: 2px solid var(--quiet); }
  .overstap-2 { border-top: 2px solid var(--accent); }
  .overstap-3 { border-top: 2px solid var(--zelf); }
}
/* On a phone the counter stands over the text, not beside it: beside it the sentence would have a third of the width. */
@media screen and (max-width: 35em) {
  .seizoen-kern { flex-direction: column; align-items: stretch; }
  .seizoen-kern .teller { align-self: flex-start; }
}
/* --- The home page (stage 3b) -------------------------------------------------------------------------------------------------------------------------
   "Wat wilt u weten?" is two cards in one row, equally high (the grid's stretch). Each is a column whose last part is pushed down (margin-top: auto), so spare height lands inside
   the card, between its parts, and never under it. The first card is the primary block (the chooser, with no box of its own, and the example under a rule); the second is the dark
   block. The labels above the titles (.voorkop) are the small bold step; in the first card they are --quiet (on --field), in the dark one the block's own --on-bar. The light button of
   the dark card is #161b23 on #fff in both themes (a pair computed in StylesheetTests: white is no token). The countdown is a season element: it and the label start hidden and carry
   no display heavier than one class, so the script's hidden attribute wins whatever the rule says (StylesheetTests). Four steps and four things the site offers are rows of
   k3: two by two under 56.25em and one by one under 35em by the grid's own collapse. */
.voorkop { font-size: var(--t-klein); font-weight: 700; }
p.klein { font-size: var(--t-klein); }
.knop-licht, .melding-donker .knop-licht { font-weight: 700; color: #161b23; background: #fff; }
.knop-licht:hover, .melding-donker .knop-licht:hover { color: #161b23; text-decoration: underline; }
@media screen {
  .knop-licht, .melding-donker .knop-licht { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .5rem 1.25rem; border-radius: var(--r-knop); text-decoration: none; }
  .home-vraag, .home-uitleg, .home-vindt { display: flex; flex-direction: column; gap: var(--w-blok); }
  .home-vraag > *, .home-uitleg > *, .home-vindt > * { margin-block: 0; }
  .home-vindt { gap: 1rem; }
  .home-polis, .home-kies { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
  .home-polis > *, .home-kies > *, .home-kies-kop > *, .home-kies-seizoen > * { margin-block: 0; }
  .home-kaarten h3 { font-size: var(--t-sectietitel); line-height: 1.2; }
  /* The sentence with the two amounts is the card's message: the lead size. */
  .home-verschil { font-size: var(--t-inleiding); line-height: 1.5; }
  /* The dark card is three groups: the question, what the season says, and the way on. The spare height of the row (the first card is the taller) is shared between the groups, so no gap is a hole and the last group still stands at the foot. */
  .home-kies { justify-content: space-between; }
  .home-kies-kop, .home-kies-seizoen { display: flex; flex-direction: column; gap: .75rem; }
  .home-polis .voorkop { color: var(--quiet); }
  /* The chooser stands in a card that is a box already: no box of its own. */
  .home-polis .keuze-polis { background: none; border: 0; border-radius: 0; padding: 0; }
  /* The way to all the policies is two sentences for one link (home-alle holds both, kies.js shows the one that goes with the chooser): the wrapper and its sentences have no display, so the hidden
     attribute is all that hides one. As the last block of the card (no example) it stands at the foot, so the spare height lands between the chooser and it and not under it. */
  .home-alle { font-size: var(--t-klein); }
  .home-alle > p { margin: 0; }
  .home-alle a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .home-alle:last-child { margin-top: auto; }
  /* A running year without policies: the dashed panel takes the card's height, its text in the middle of it. */
  .home-polis > p.leeg { flex: 1 1 auto; display: flex; align-items: center; }
  /* The example answer at the foot of the card, under a rule: the sentence, the bar, the two amounts. */
  .voorbeeld { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-direction: column; gap: .75rem; }
  .voorbeeld > * { margin: 0; }
  .voorbeeld > p { font-size: var(--t-klein); }
  .voorbeeld > p strong { color: var(--ink); }
  .voorbeeld .legenda { gap: .375rem 2rem; align-items: baseline; }
  .voorbeeld .legenda strong { color: var(--ink); font-size: var(--t-inleiding); font-variant-numeric: tabular-nums; }
  .voorbeeld .legenda .zelf strong { color: var(--zelf); font-size: var(--t-bloktitel); }
  /* The countdown: the days in their frame beside the sentence and the bar. */
  .teller-paneel { display: flex; gap: 1.25rem; align-items: center; }
  .teller-paneel .teller { flex: none; min-width: 7.5rem; margin: 0; }
  .teller-tekst { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: .625rem; }
  .teller-tekst > * { margin: 0; }
  .teller-tekst strong { color: #fff; }
  /* The foot of the dark card: the way to the ranking, and under it the line about next year. */
  .home-onder { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
  .home-onder > * { margin: 0; }
  .home-kop { display: flex; flex-wrap: wrap; gap: .25rem 2rem; align-items: baseline; justify-content: space-between; }
  .home-kop > h2 { margin: 0; }
  .home-kop > a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
  .stappen, .home-vindt ul { list-style: none; margin: 0; padding: 0; }
  .stappen a { display: flex; flex-direction: column; gap: .25rem; height: 100%; border-top: 2px solid var(--ink); padding-top: 1rem; color: var(--soft); text-decoration: none; }
  .stappen li:nth-child(2) a { border-top-color: var(--quiet); }
  .stappen li:nth-child(3) a { border-top-color: var(--accent); }
  .stappen li:nth-child(4) a { border-top-color: var(--zelf); }
  .stap-nr { color: var(--quiet); font-weight: 700; font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; }
  .stap-titel { color: var(--accent); font-weight: 700; font-size: var(--t-inleiding); line-height: 1.25; text-decoration: underline; text-underline-offset: 3px; }
  .stappen a:hover .stap-titel { text-decoration-thickness: 2px; }
  .home-vindt .klein { color: var(--quiet); }
  .vindt-link { margin: .5rem 0 0; }
  .vindt-link a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
  /* The closing line: the note and the way to the calculator side by side where there is room, the link under the note on a phone; centred on each other, so neither leaves a corner empty. */
  .vindt-onder { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; }
  .vindt-onder > * { margin: 0; }
  /* The yellow strip under the cards: the sentence at the left and the link at the right are centred on each other, so the link does not hang at the top of an empty column. */
  .vraag-na.raster { align-items: center; }
  .vraag-na.raster p { margin: 0; }
}
/* From a phone up the chooser's two fields stand side by side and the button under them; on a phone the chooser's own one-column rule above is what applies. */
@media screen and (min-width: 35.0625em) {
  .home-polis .keuze-polis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-polis .keuze-polis button { grid-row: 3; grid-column: 1 / -1; justify-self: start; }
}
/* Under 56.25em the two cards are a row each: side by side at 768 px each would be a third empty. */
@media screen and (max-width: 56.25em) {
  .home-kaarten > * { grid-column: span 12; }
}
/* On a phone the days stand over the sentence, as on the ranking page's block. */
@media screen and (max-width: 35em) {
  .teller-paneel { flex-direction: column; align-items: stretch; }
  .teller-paneel .teller { align-self: flex-start; }
}
.niet-vergelijkbaar li, .zonder-lijst li { padding: .25rem 0; border-bottom: 1px solid var(--line); }

/* --- The Vergoedingen page (stage 3c) ------------------------------------------------------------------------------------------------------------------
   The count of the year is a working block with the search field beside it; where the field stays hidden (no script) the count takes all twelve columns. The notices stand in a row of their own: the yellow one and the quiet
   aside in six columns each, or the quiet aside as a strip. "Verder" is a row of working blocks that are links: the title is the link's colour and underline, the card itself has none, and it stacks
   (three cards) under 56.25em with the other rows above. */
@media screen {
  .polis-zoek > [hidden] + .polis-telling { grid-column: span 12; }
  .polis-telling { margin: 0; }
  /* The search stands in the seven columns before the count (the ranking's field, label and focus ring), and its status line under both. The line is a live region that is empty until the reader types: it
     takes the whole row once it says something, and while empty it is out of the grid (absolutely placed, in the page and in the accessibility tree all the same), so it adds neither a row nor a row gap
     and the block does not end in an empty strip. A negative margin did not do it: the row stays, and the gap with it. */
  .polis-zoek { position: relative; }
  .polis-zoek > .status { grid-column: span 12; margin: 0; }
  .polis-zoek > .status:empty { position: absolute; min-height: 0; }
  /* What the search does not match is hidden on the screen only (paper keeps every policy) and not after a fault: a list that failed half way stays whole. */
  .polislijst:not([data-fout]) .buiten { display: none; }
  .polis-geen { margin-bottom: 1.5rem; }
  /* The dashed panel of a year without policies holds one paragraph: the padding is the only room round it, not the paragraph's own margins as well. */
  .nog-niet > p { margin: 0; }
  .polis-meldingen > .vraag-na.raster { grid-column: span 12; }
  /* The quiet aside's heading is the block title in both shapes (as the yellow notice's is); in the strip it is not the first child of the aside, so the rule for the first heading of a block does not reach it. */
  .polis-meldingen .vraag-na h2 { font-size: var(--t-bloktitel); margin: 0 0 .5rem; }
  /* The link of the quiet aside is a touch target like the yellow notice's on the ranking. */
  .polis-meldingen .vraag-na a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; }
  .verder-kaart, .beroep-kaart { display: flex; flex-direction: column; gap: .25rem; min-width: 0; color: var(--soft); text-decoration: none; }
  .verder-titel, .beroep-naam { color: var(--accent); font-weight: 700; font-size: var(--t-inleiding); line-height: 1.25; text-decoration: underline; text-underline-offset: 3px; }
  /* The cards of the professionals' front (stage 4) are these cards with a second line: the NZa's name of the profession and its code, quiet and small under the name. They stand eight to the grid as k3 (four to a row,
     two under 56.25em, one under 35em by the grid's own spans) and are as high as their row makes them. The longest name ("Verpleegkundig specialist geestelijke gezondheidszorg (Wet Big artikel 14)") wraps inside its card. */
  .beroep-kaart { overflow-wrap: anywhere; }
  .beroep-wet { color: var(--quiet); font-size: var(--t-klein); }
  /* The global a:hover turns the card's text --accent-hover; a card keeps its text colour and only its title is the link's. */
  .verder-kaart:hover, .beroep-kaart:hover { color: var(--soft); }
  .verder-kaart:hover .verder-titel, .beroep-kaart:hover .beroep-naam { text-decoration-thickness: 2px; }
  /* The front's dark notice (stage 4) is a strip like the quiet notice of the policy list: the sentence and the link level with each other, the heading the block title, no margin of the paragraphs on top of the padding. */
  .pro-patient { align-items: center; }
  .pro-patient h2 { font-size: var(--t-bloktitel); margin: 0 0 .5rem; }
  .pro-patient p { margin: 0; }
}

/* --- The explanation page (stage 3c) ---------------------------------------------------------------------------------------------------------------------
   Four step cards (working blocks that are links, a 4 px rule on top in the home steps' four colours), then one section per step: a heading, and under it the questions, one row each, the text in
   seven columns (a reading block, a rule above it) and its notes in the five beside it (the margin). A note is small, under a hairline; a link alone in the margin is bold and a touch target. The row of
   step 3 holds the example answer in a quiet panel (--sand) in the five columns, and step 4 ends in a dark band over the full width, the zorgtoeslag. Under 56.25em the grid's own collapse puts the notes under
   their text; the cards stand two by two and, under 35em, one by one (the home steps' rule). The cards' list is a child of <main>, which would give a list seven columns: it takes the row. */
@media screen {
  main > ol.stappen-kaart { grid-column: span 12; }
  /* The home steps' rule (.stappen a, above) is a plain rule on top; here the link is a working block, so the box comes first and the 4 px rule after it. The colour of the rules of cards two to four is
     the home steps' (.stappen li:nth-child, which weighs more than this rule). The card keeps its text colour on hover, as the "Verder" cards do. */
  .stappen-kaart a { --vlak: var(--field); background: var(--field); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--r-blok); padding: var(--w-binnen); }
  .stappen-kaart a:hover { color: var(--soft); }
  .stappen-kaart li { min-width: 0; }
  .uitleg-stap { display: flex; flex-direction: column; gap: var(--w-blok); }
  .uitleg-stap > h2 { margin: 0; }
  .stap-cijfer { color: var(--quiet); font-weight: 400; }
  .vraag > * { min-width: 0; }
  .uitleg-stap .lees > h3 { margin: 0 0 .5rem; }
  .uitleg-stap .lees > p { margin: 0; }
  .uitleg-stap .lees > p + p { margin-top: .75rem; }
  /* Two reading blocks under each other in one row (step 2) stand a block gap apart. */
  .stapel { display: flex; flex-direction: column; gap: var(--w-blok); }
  /* The margin is a column of notes a gap apart; the text of a note is the small step. */
  .marge { display: flex; flex-direction: column; gap: 1rem; }
  .marge > * { margin: 0; }
  .notitie { border-top: 1px solid var(--line); padding-top: .75rem; font-size: var(--t-klein); }
  .notitie > p, .notitie > ul { margin: 0; }
  .notitie > p + p, .notitie > p + ul { margin-top: .5rem; }
  .notitie > ul { padding-left: 1.25rem; }
  .notitie-kop { color: var(--ink); font-weight: 700; }
  .notitie > .notitie-kop + p, .notitie > .notitie-kop + ul { margin-top: .125rem; }
  /* A link alone (in a note, or under the text of step 3): bold, and a touch target. */
  /* An inline block, not a flex box: the note "(opent in een nieuw tabblad)" of an outward link would be a flex item of its own, a gap away from the words it belongs to. */
  .notitie-link a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; font-weight: 700; }
  /* Step 3: the text is the introduction's size, the example in a quiet panel beside it. The example is the home page's (.voorbeeld, above: a rule above it, built for the foot of a card); in the panel it
     is the panel itself that has the room round it, so the example inside has neither the rule nor the push down. */
  .uitleg-stap .terzijde.voorbeeld { border-top: 0; margin-top: 0; padding: var(--w-binnen); }
  .uitleg-stap .voorbeeld .voorbeeld { border-top: 0; margin-top: 0; padding-top: 0; }
  /* The dark band that closes step 4 is a grid of its own over the full width: the heading and the sentence in eight columns, the link level with them in the four beside them (under them where the columns
     give way, below). */
  .uitleg-stap .zorgtoeslag { align-items: center; }
  .uitleg-stap .zorgtoeslag h3 { margin: 0 0 .5rem; }
  .uitleg-stap .zorgtoeslag p { margin: 0; }
}

/* --- The calculator (stage 3d) -------------------------------------------------------------------------------------------------------------------------
   /rekenhulp/ is one wrapper (#rekenhulp, which the script marks) holding two blocks a section apart: the primary block (the example, then the sum of each year) and the consults table. The primary block is a
   column with a block gap between its parts, so the gap is the only distance and a part that is not drawn (the no-script sentence is a noscript, which has no box while scripts are on) leaves no strip
   behind. Each year is a row of the grid under a 1 px rule: its heading across, the sentence and the link in five columns, the count, the sum and the notice in seven. Its sum is the policy page's: the
   rules of ".som dl" name ".jaar-som" too, because the sum here is the list itself and not a block that holds one.
   --tussen is the gap of the stack a part stands in (the block's, or the year's left and right columns): the parts the script shows keep their room unseen, and when the room is given up
   (the reserved room, further down) the gap that the stack keeps beside a part of no height is the one to take back. */
/* A part that has a display from another class (the grid of a row of the page, the flex of the example's sentence, the sum's rows) is put away by the hidden attribute again, in every medium: paper has its own
   grid and would print a part nobody asked for. It weighs as much as the rule that keeps the room unseen where scripts run, which comes after it and therefore wins there. */
.reken-vragen[hidden], .reken-jaar[hidden], .reken-voorbeeld[hidden], .jaar-voorbeeld[hidden], .jaar-som[hidden], .jaar-som > div[hidden], .reken-totaal[hidden] { display: none; }
/* A fault in the calculation takes the result away and shows the sentence that says so: each year's outcome, the total, the line about consults outside the years and the consults. Every field stays, the
   questions and the fields of each year: the reader's choices are theirs to correct, and they are in the address. */
.rekenhulp[data-fout] :is(.jaar-uitkomst, .reken-totaal, .reken-na, .reken-consulten) { display: none; }
.rekenhulp[data-fout] .reken-fout { display: block; }
@media screen {
  .rekenhulp { display: flex; flex-direction: column; gap: var(--w-sectie); min-width: 0; margin-top: calc(var(--w-sectie) - var(--w-blok)); }
  .rekenhulp > * { margin-block: 0; }
  .reken-blok { display: flex; flex-direction: column; --tussen: var(--w-blok); gap: var(--w-blok); }
  .reken-blok > * { margin-block: 0; }
  .reken-voorbeeld h2, .reken-jaren-titel, .reken-consulten > h2 { font-size: var(--t-bloktitel); margin: 0 0 .5rem; }
  .reken-blok > .reken-jaren-titel { margin: 0; }
  .reken-voorbeeld p { margin: 0 0 .75rem; }
  .reken-voorbeeld p:last-child { margin-bottom: 0; }
  .reken-jaren { display: flex; flex-direction: column; gap: var(--w-blok); }
  .reken-jaar { border-top: 1px solid var(--line); padding-top: var(--w-blok); }
  .reken-jaar h3 { font-size: var(--t-bloktitel); margin: 0; }
  .jaar-links, .jaar-uitkomst { display: flex; flex-direction: column; --tussen: .75rem; gap: var(--tussen); min-width: 0; }
  .jaar-links > *, .jaar-uitkomst > *, .jaar-voorbeeld p { margin-block: 0; }
  .jaar-voorbeeld { display: flex; flex-direction: column; gap: .75rem; }
  /* The link that stands alone in the example's year row is a touch target, as the other links to the calculator's neighbours are. */
  .jaar-voorbeeld p > a:only-child { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .jaar-consulten { font-weight: 700; }
  .jaar-som { border-top: 0; padding-top: 0; }
  /* The consults table: the year's group head is a bold row on --sand across all five columns. */
  .tabel-rekenhulp .jaar-rij th { --vlak: var(--sand); background: var(--sand); font-weight: 700; }
  .tabel-rekenhulp tbody th[scope="row"] { font-weight: 400; }
  /* The two cells the page leaves unfilled sit under their right-aligned heads, where the amounts will stand. */
  .tabel-rekenhulp td.leeg { text-align: right; white-space: nowrap; }
  /* The consults table cuts itself after the tenth row: the script marks the rows after it with "later" and puts data-alle on the table when the reader wants them all. On screen only: paper prints every row. */
  .tabel-rekenhulp:not([data-alle]) .later { display: none; }
}
/* The questions (stage 3d, Task 4). They stand in the primary block, in two columns of the grid (who treats you, when it begins, and the plan of its consults), each a column of its own that keeps the block gap between
   its parts; the heading of a column sits closer to what it heads than the gap would put it. The chips are the policy page's: they stand in a block of the working kind without its box (the primary block is the box),
   as the tariff page's do. Every field is the site's field, 3rem high; a label stands above its field. Nothing in this block gives a part that the script shows a display of its own: those are the rules below
   and the guard that holds them. */
@media screen {
  .reken-wie, .reken-plan { display: flex; flex-direction: column; gap: var(--w-blok); min-width: 0; }
  .reken-wie > *, .reken-plan > * { margin-block: 0; }
  .reken-wie > h2, .reken-plan > h3 { font-size: var(--t-bloktitel); margin-bottom: calc(.5rem - var(--w-blok)); }
  .reken-blok .keuze { background: none; border: 0; border-radius: 0; padding: 0; }
  .reken-blok .keuze .chips { margin: 0; }
  /* The chips of the questions are fields in the same sense: their border is --quiet here (a checked chip, `.keuze .chip:has(input:checked)`, is more specific and keeps its --ink border). */
  .rekenhulp .keuze .chip { border-color: var(--quiet); }
  .rekenhulp .keuze .chip:hover { border-color: var(--ink); }
  .veld { margin: 0; }
  .veld label { display: block; color: var(--ink); font-size: var(--t-klein); font-weight: 700; margin-bottom: .25rem; }
  /* On this page the fields stand white on the white primary block, and their border is all that shows where one is: the boundary of a control needs 3:1 against what is next to it (WCAG 1.4.11), which --line
     (1.4:1) does not give and --quiet does (5.5:1 and 5.9:1; the pairs are rows of Control_borders_of_the_calculator_meet_the_graphical_object_contrast). */
  .veld input, .veld select, .plan-rij input, .plan-rij select { font: inherit; font-weight: 400; color: var(--ink); background: var(--field); border: 2px solid var(--quiet); border-radius: .625rem; min-height: 3rem; padding: .625rem .75rem; max-width: 100%; }
  .veld select, .plan-rij input, .plan-rij select { width: 100%; }
  .veld input { width: 100%; max-width: 14rem; }
  .veld-uitleg { display: block; margin-top: .25rem; font-size: var(--t-klein); color: var(--quiet); }
  /* A field that is not valid has a 2 px border in the colour of what you pay yourself, and the sentence the script writes under it is in that colour too (both on the block's --field, a tested pair). */
  .reken-blok [aria-invalid="true"] { border: 2px solid var(--zelf); }
  .veld-fout { display: block; margin-top: .25rem; font-size: var(--t-klein); color: var(--zelf); }
  /* The secondary button: white on --bar (the pair of the letter's buttons). */
  .plan-knoppen button, .plan-rij button, .reken-meer button { --vlak: var(--bar); font: inherit; font-weight: 700; color: #fff; background: var(--bar); border: 2px solid var(--bar); border-radius: .625rem; min-height: 3rem; padding: .625rem 1.25rem; cursor: pointer; }
  .plan-knoppen button:hover, .plan-rij button:hover, .reken-meer button:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
  .plan-knoppen { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
  /* The rows of the plan: no box, a 1 px rule between two rows; the four labels each above their field in one line and the button after them, two by two under 35em. */
  .plan-rijen { list-style: none; margin: 0; padding: 0; }
  .plan-rijen > li { padding-block: .75rem; }
  .plan-rijen > li:first-child { padding-top: 0; }
  .plan-rijen > li:last-child { padding-bottom: 0; }
  .plan-rijen > li + li { border-top: 1px solid var(--line); }
  .plan-rij { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: .75rem; align-items: end; }
  .plan-rij select, .plan-rij input { font-size: var(--t-klein); padding-inline: .375rem; }
  .plan-rij button { grid-column: 3; grid-row: 1 / 3; padding-inline: 1rem; }
  .plan-rij legend { padding: 0; margin-bottom: .5rem; color: var(--ink); font-size: var(--t-klein); font-weight: 700; }
  .plan-rij label { display: flex; flex-direction: column; gap: .25rem; min-width: 0; color: var(--ink); font-size: var(--t-klein); font-weight: 700; }
  /* The fields of a year: a block of its own height, parts a small step apart. */
  .jaar-invoer > *, .dekking-polis > *, .dekking-percentage > * { margin-block: 0 .75rem; }
  .jaar-invoer > :last-child, .dekking-polis > :last-child, .dekking-percentage > :last-child { margin-bottom: 0; }
  .jaar-vraag { color: var(--ink); }
  /* The outcome of a year. What you pay yourself is the big figure, in its own colour, tabular and never broken after the euro sign; the total at the foot of the block is the larger one. The assumption is a notice
     inside the block, on --warn: it is what a reader must know about the figure above it (the site has no left-border accent). */
  .jaar-kop { margin: 0; color: var(--ink); font-weight: 700; }
  .reken-bedrag { margin: 0; font-size: var(--t-cijfer-1); line-height: 1.05; font-weight: 700; color: var(--zelf); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .reken-bedrag.groot { font-size: var(--t-cijfer-2); }
  .jaar-aanname { --vlak: var(--warn); background: var(--warn); color: var(--ink); border-radius: var(--r-paneel); padding: var(--w-binnen); font-size: var(--t-klein); }
  .jaar-terugwerkend { color: var(--quiet); }
  /* The source of a policy's amounts is one bold link to the policy's page, a touch target; on paper it is text like every link there. */
  .jaar-bron a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
  /* A status region with nothing visible in it is still in the page (a screen reader announces what is written into a region it already knows, and not one that appears with its text) and takes no
     room: the gap that the stack it stands in keeps beside a part of no height is taken back. The script marks the region while it is empty. */
  .jaar-uitkomst > [data-leeg] { margin-top: calc(-1 * var(--tussen)); }
  /* The total's assumption sentence stands in the region of its amount, at the distance the stack gave it. */
  .jaar-bedrag > .jaar-aanname { margin: var(--tussen) 0 0; }
  /* The authorisation region is the last block of the year's row, across its twelve columns. A grid row of no height would still cost a row gap, so while the region is empty (the script marks it) it is out of the
     flow, a box of no size that takes no track and covers nothing; with its box it is a block of the row again. Its text keeps the measure of the site's running text (main :is(p, ...), --maat-7). */
  .reken-jaar > [data-leeg] { position: absolute; }
  /* The authorisation line is a box (the assumption's look) of two paragraphs: what it is about, in the weight of a label, above the sentence. */
  .jaar-machtiging .machtiging-titel { margin: 0 0 .25rem; font-weight: 700; }
  .jaar-machtiging .machtiging-tekst { margin: 0; }
  /* The year's own assumption sentence stands below its sum; a copy of it, for a screen reader only, is part of the amount's region. */
  .jaar-bedrag > .lees-alleen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .reken-totaal { border-top: 1px solid var(--line); padding-top: var(--w-blok); }
  .reken-totaal h3 { font-size: var(--t-bloktitel); margin: 0; }
  /* The total's sentence is the larger text of the block, so that its column is not a few lines beside a column of an amount and a notice (about half as high at the plain size). */
  .reken-totaal .jaar-links > p { font-size: var(--t-inleiding); }
  /* What the table's figures rest on is the year's assumption line, directly above the table. */
  .reken-consulten > .jaar-aanname { margin: 0 0 .75rem; }
  .reken-na { color: var(--soft); }
  .reken-fout { --vlak: var(--warn); background: var(--warn); border-radius: var(--r-blok); padding: var(--w-binnen); color: var(--ink); }
  .reken-meer { margin: .75rem 0 0; }
  .reken-meer span { margin-left: .75rem; color: var(--soft); }
}
/* From 56.25em the questions stand beside the plan, and in a window high enough for it they stay in view while the plan below them grows: the column takes the height of its content and sticks to the top of the
   window inside its row (the rule of the letter's notes). In a lower window it would not fit under the top of it, and then it stays where it is. */
@media screen and (min-width: 56.25em) and (min-height: 40em) {
  .reken-vragen > .reken-wie { position: sticky; top: var(--w-blok); align-self: start; }
}
/* Where the year's row is two columns the authorisation box, which spans the row, lays its paragraphs out on the row's own twelve columns and gap: the title in the left five, the sentence in the right seven,
   top-aligned, each filling its part (the box is inside the row's padding, so its columns are a few pixels narrower than the row's and the sentence starts within that of the outcome column above). Only while it is
   shown: a hidden box gets no display from its class. Under that width the title stands above the sentence, as written above. */
@media screen and (min-width: 56.25em) {
  .jaar-machtiging > .jaar-aanname:not([hidden]) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--goot); align-items: start; }
  .jaar-machtiging .machtiging-titel { grid-column: 1 / span 5; margin: 0; }
  .jaar-machtiging .machtiging-tekst { grid-column: 6 / span 7; }
}
/* The place where a year's result will come. A year row first shows its fields beside a result that is one sentence, and the right column would end far above the left. While the year has no amount, its dashed
   sentence is that place and fills what is left of its column (the column is a flex stack and as high as the row), its text at the top; no height is written by hand. Under 56.25em the columns stack and it is its
   own height. A panel the script has hidden (a year with an amount) takes nothing: no rule of its class gives it a display. */
@media screen and (min-width: 56.25em) {
  .jaar-uitkomst > .jaar-melding { flex: 1 1 auto; }
}
/* A row of the plan is its four fields two by two with the button beside them; where the plan's column is wide enough for the four fields and the button in one line without clipping the longest choice
   ("elke 13 weken", "vanaf 120 min"; measured: the column is 612 px wide from about 1250 px of window up), they stand in one line. The drawing and the brief say one line from 56.25em, where the column is
   442 px wide and the choices were cut off. */
@media screen and (min-width: 78em) {
  .plan-rij { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) minmax(0, .65fr) minmax(0, 1.35fr) auto; gap: .5rem; }
  .plan-rij button { grid-column: auto; grid-row: auto; }
}
/* What is left out stands in two columns from the width of the columns, none of its items broken over them. */
@media screen and (min-width: 56.25em) {
  .reken-niet ul { column-count: 2; column-gap: var(--goot); }
  .reken-niet li { max-width: none; break-inside: avoid; }
}
/* Under 40em the consults table is a list of cards, as the ranking's is under 66em: every cell on its own line, labelled from its own label attribute, the head gone (not clipped, so nothing is focusable
   unseen). The group head stays a full-width row on --sand. 40em and not 35em: from 560 to 628 px wide the five columns were wider than their block and the table scrolled inside its box, which hid "Eigen bijdrage". */
@media screen and (max-width: 40em) {
  .tabel-rekenhulp thead { display: none; }
  .tabel-rekenhulp tr { display: block; border-bottom: 1px solid var(--line); padding: .5rem .75rem; }
  .tabel-rekenhulp tbody tr:last-child { border-bottom: 0; }
  .tabel-rekenhulp tr.jaar-rij { padding: 0; }
  .tabel-rekenhulp th, .tabel-rekenhulp td { display: block; border: 0; padding: .125rem 0; text-align: left; white-space: normal; }
  .tabel-rekenhulp .jaar-rij th { padding: .625rem .75rem; }
  .tabel-rekenhulp td.leeg { text-align: left; white-space: normal; }
  .tabel-rekenhulp td::before, .tabel-rekenhulp th[scope="row"]::before { content: attr(data-label) ": "; color: var(--quiet); font-weight: 400; }
}
/* The plan of the example keeps its four columns on a phone, in the small size and with tighter cells: at the size of the text it is 43 px wider than the block and scrolls sideways, which hides its last column.
   The rows of the plan the reader makes are two fields by two on a phone, the button below them. */
@media screen and (max-width: 35em) {
  /* The plan of the example */
  .plan-voorbeeld { font-size: var(--t-klein); }
  .plan-voorbeeld th, .plan-voorbeeld td { padding-inline: .25rem; }
  .plan-voorbeeld th:first-child, .plan-voorbeeld td:first-child { padding-left: .75rem; }
  .plan-voorbeeld th:last-child, .plan-voorbeeld td:last-child { padding-right: .75rem; }
  /* The total is at the size of the figure of the year on a phone: "€ 49.999,98" at the size above is 283 px at 320 px wide, against 246 px of room, and is never broken after the euro sign. */
  .reken-bedrag.groot { font-size: var(--t-cijfer-1); }
  .plan-rij { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-rij button { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
}
/* Where scripting is enabled the parts a script shows keep their room while it is on its way, and stay unseen: visibility: hidden keeps them out of the tab order and the accessibility tree, and what stands below
   them does not jump when the script arrives. The questions (a grid, from the row of the page) and each year's fields are laid out and not seen; the example, which the script takes away when it shows the questions,
   takes no room meanwhile (and the gap of the stack it stands in is taken back, so the questions begin where the example began). Without scripting, and in a browser that does not know the feature, the hidden
   attribute hides them as it always did. These five rules are the only ones that give those parts a display, and they cannot show a thing.
   The room ends by itself, as the letter's does: when the script has not come after ten seconds it is not coming (the request failed, an import failed), and the page would stand with a hole where the questions
   should be. An animation of no duration, started by its delay and kept by its fill mode, closes the room (the questions) and brings the example back, and the page is the page without a script. A script that comes in
   time sets hidden on the example and takes it off the questions: the selectors stop matching, and the animations with them. Nothing moves in sight, so reduced motion needs no exception. The top margin of the closed
   room takes back the gap that the stack keeps beside a part of no height, so what follows starts where it would without the part. */
@media screen and (scripting: enabled) {
  .reken-vragen[hidden] { display: grid; visibility: hidden; animation: reken-ruimte-weg 0s 10s forwards; }
  .jaar-invoer[hidden] { display: block; visibility: hidden; animation: reken-ruimte-weg 0s 10s forwards; }
  .reken-voorbeeld, .jaar-voorbeeld { max-height: 0; overflow: hidden; visibility: hidden; margin-bottom: calc(-1 * var(--tussen)); animation: reken-voorbeeld-terug 0s 10s forwards; }
  @keyframes reken-ruimte-weg { to { max-height: 0; overflow: hidden; padding: 0; border: 0; margin: calc(-1 * var(--tussen)) 0 0; } }
  @keyframes reken-voorbeeld-terug { to { max-height: none; overflow: visible; visibility: visible; margin-bottom: 0; } }
}

/* --- Voor professionals (fase 5b) -------------------------------------------------------- */

/* The legend under a figure: the soft colour of body text (the answer's bar and the professionals' tables use the class). */
.legenda { color: var(--soft); }

/* The marker of a percentage no quotation confirms is a word, so it does not lean on colour. */
.zonder-citaat { color: var(--quiet); font-size: var(--t-label); font-weight: 400; white-space: nowrap; }

/* Under 60em the policy tables stack like the tariff tables: fixed label text per cell
   position and per table kind (four kinds plus the NZa-only variant, which has the tariff in
   the first cell), never a per-cell markup attribute (spec §8). The NZa-only rules come last:
   equal specificity, last wins. 60em, not the tariff tables' 37.5em: with two release column
   groups the table needs ~52em plus the page padding, so at 150-200 % zoom or text size it
   would otherwise make the whole page scroll sideways. Screen only: an A4 page is ~720 CSS px,
   under 60em, and the stacked S01 table would print on ~128 pages; print keeps the table and
   shrinks its type instead (see @media print). */
@media screen and (max-width: 60em) {
  .tabel-polis thead, .tabel-polis-gc thead, .tabel-polis-overig thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .tabel-polis tr, .tabel-polis-gc tr, .tabel-polis-overig tr { display: block; border-bottom: 1px solid var(--line); padding: .375rem 0; }
  .tabel-polis th, .tabel-polis td, .tabel-polis-gc th, .tabel-polis-gc td, .tabel-polis-overig th, .tabel-polis-overig td {
    display: block; border: 0; padding: .125rem 0; text-align: left; white-space: normal;
  }
  .tabel-polis td:nth-child(2)::before { content: "Vergoeding: "; color: var(--quiet); }
  .tabel-polis td:nth-child(3)::before { content: "NZa-tarief: "; color: var(--quiet); }
  .tabel-polis td:nth-child(4)::before { content: "U betaalt zelf: "; color: var(--quiet); }
  .tabel-polis td:nth-child(5)::before { content: "% van het NZa-tarief: "; color: var(--quiet); }
  .tabel-polis td:nth-child(6)::before { content: "NZa-tarief, vorige release: "; color: var(--quiet); }
  .tabel-polis td:nth-child(7)::before { content: "U betaalt zelf, vorige release: "; color: var(--quiet); }
  .tabel-polis td:nth-child(8)::before { content: "% van het NZa-tarief, vorige release: "; color: var(--quiet); }
  .tabel-polis-gc td:nth-child(2)::before { content: "Vergoeding: "; color: var(--quiet); }
  .tabel-polis-gc td:nth-child(3)::before { content: "Max. per jaar: "; color: var(--quiet); }
  .tabel-polis-gc td:nth-child(4)::before { content: "NZa-tarief: "; color: var(--quiet); }
  .tabel-polis-gc td:nth-child(5)::before { content: "U betaalt zelf: "; color: var(--quiet); }
  .tabel-polis-gc td:nth-child(6)::before { content: "% van het NZa-tarief: "; color: var(--quiet); }
  .tabel-polis-gc td:nth-child(7)::before { content: "NZa-tarief, vorige release: "; color: var(--quiet); }
  .tabel-polis-gc td:nth-child(8)::before { content: "U betaalt zelf, vorige release: "; color: var(--quiet); }
  .tabel-polis-gc td:nth-child(9)::before { content: "% van het NZa-tarief, vorige release: "; color: var(--quiet); }
  .tabel-polis-overig td:nth-child(2)::before { content: "Vergoeding: "; color: var(--quiet); }
  .tabel-polis-overig td:nth-child(3)::before { content: "NZa-tarief: "; color: var(--quiet); }
  .tabel-polis-overig td:nth-child(4)::before { content: "U betaalt zelf: "; color: var(--quiet); }
  .tabel-polis-overig td:nth-child(5)::before { content: "% van het NZa-tarief: "; color: var(--quiet); }
  .tabel-polis-overig td:nth-child(6)::before { content: "NZa-tarief, vorige release: "; color: var(--quiet); }
  .tabel-polis-overig td:nth-child(7)::before { content: "U betaalt zelf, vorige release: "; color: var(--quiet); }
  .tabel-polis-overig td:nth-child(8)::before { content: "% van het NZa-tarief, vorige release: "; color: var(--quiet); }
  .table-wrap :is(.tabel-polis, .tabel-polis-gc, .tabel-polis-overig) :is(th, td) { padding-inline: .75rem; }
  .table-wrap :is(.tabel-polis, .tabel-polis-gc, .tabel-polis-overig) td.num { white-space: nowrap; }
  .table-wrap :is(.tabel-polis, .tabel-polis-gc, .tabel-polis-overig) td.num::before { white-space: normal; }
  .tabel-nza td:nth-child(2)::before { content: "NZa-tarief: "; color: var(--quiet); }
  .tabel-nza td:nth-child(3)::before { content: "NZa-tarief, vorige release: "; color: var(--quiet); }
  .tabel-nza td:nth-child(n+4)::before { content: none; }
  .tabel-gct > thead, .tabel-vergelijk > thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .tabel-gct > tbody > tr, .tabel-vergelijk > tbody > tr { display: block; border-bottom: 1px solid var(--line); padding: .375rem 0; }
  .tabel-gct > tbody > tr > th, .tabel-gct > tbody > tr > td, .tabel-vergelijk > tbody > tr > th, .tabel-vergelijk > tbody > tr > td { display: block; border: 0; padding: .125rem 0; text-align: left; white-space: normal; }
  /* The label of a cell of B3 and of the comparison is an attribute of the cell, written from the bundle: no Dutch is written here (the row of a group, the card of a phone, is read cell by cell). */
  .tabel-gct > tbody > tr > :is(th, td)[data-label]::before, .tabel-vergelijk > tbody > tr > :is(th, td)[data-label]::before { content: attr(data-label) ": "; color: var(--quiet); font-weight: 400; }
  /* The comparison's card: the three numbers one under the other and the bar under them, a bar no wider than a card of B3's; this profession's own card is tinted, so its text does not stand on the edge of the tint. */
  .tabel-vergelijk td.balk .veranderbalk { max-width: 16rem; margin: .25rem 0; }
  .tabel-vergelijk > tbody > tr.eigen { padding-inline: .75rem; }
  .tabel-gct td.aandeel .aandeelbalk { max-width: 16rem; }
  /* The select sorts here. The head is clipped and not removed (the table keeps its names for a reader of the markup), so the buttons gecontracteerd.js puts in it would take the focus where nobody sees them:
     they are not visible, which takes them out of the tab order too. The sentence that sends the reader to the heads is not said. */
  .tabel-gct > thead .sorteer { visibility: hidden; }
  /* The chosen row is a tinted card here: its text does not stand on the edge of the tint. */
  .tabel-gct > tbody > tr.gekozen { padding-inline: .75rem; }
  .gct-sorteer-uitleg { display: none; }
  /* An amount stays whole in its line (the label before it wraps instead), as in the policy tables. */
  .tabel-gct > tbody > tr > td.num { white-space: nowrap; }
  .tabel-gct > tbody > tr > td.num::before { white-space: normal; }
}
/* B3's table has a column more than B1's (the sum) and does not fit its box from 60.0625em on: it needs 933 px and its box is the viewport minus 129 px, so from 961 to 1061 px it scrolled inside the box (measured on the
   build of the stage 4 fix wave). B1's table has no such column and fits from 961 px. So B3's own table (under .gecontracteerd, the wrapper of B3; the same class stands in B1's table) stays a stack of cards up to
   67.5em, 1080 px, where its box is 951 px, with the same declarations as under 60em; the select that sorts is displayed there, the buttons in the heads are not seen, and the sentence about the heads is not said. */
@media screen and (min-width: 60.0625em) and (max-width: 67.5em) {
  .gecontracteerd .tabel-gct > thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .gecontracteerd .tabel-gct > tbody > tr { display: block; border-bottom: 1px solid var(--line); padding: .375rem 0; }
  .gecontracteerd .tabel-gct > tbody > tr > th, .gecontracteerd .tabel-gct > tbody > tr > td { display: block; border: 0; padding: .125rem 0; text-align: left; white-space: normal; }
  .gecontracteerd .tabel-gct > tbody > tr > :is(th, td)[data-label]::before { content: attr(data-label) ": "; color: var(--quiet); font-weight: 400; }
  .gecontracteerd .tabel-gct td.aandeel .aandeelbalk { max-width: 16rem; }
  .gecontracteerd .tabel-gct > thead .sorteer { visibility: hidden; }
  .gecontracteerd .tabel-gct > tbody > tr.gekozen { padding-inline: .75rem; }
  .gct-sorteer-uitleg { display: none; }
  .gecontracteerd .tabel-gct > tbody > tr > td.num { white-space: nowrap; }
  .gecontracteerd .tabel-gct > tbody > tr > td.num::before { white-space: normal; }
}
/* The heads sort from 67.5625em up (the first width B3's table is a table again: it stacks up to 60em with the other tables and, on its own, up to 67.5em), so the select that sorts where they are clipped is not
   displayed there. */
@media screen and (min-width: 67.5625em) {
  .gct-sorteer { display: none; }
  /* The button in a head is a touch target (the ranking's own are not: they measure 26 px). It stays an inline box, so that the arrow of the sorted head is text after the last word, with its space: the 2.75rem
     are padding, which a negative margin of the same size takes back, so the text stands where it stood and the head row is as high as before. */
  .tabel-gct .sorteer { min-height: 2.75rem; padding-block: calc((2.75rem - 1lh) / 2); margin-block: calc((2.75rem - 1lh) / -2); }
}
/* Under 66em each P1 row becomes one flat card: every cell on its own line, labelled from its
   own label attribute (fase 5 spec §4.5), so a column ranglijst.js swaps takes its label with it (this
   comment avoids the attribute's name: StylesheetTests allow it on .tabel-p1 lines only). The DOM order
   puts rank, name, percentage and year cost first (plan deviation 3). The head is gone entirely,
   not clipped, so its sort buttons are not focusable unseen; the "Sorteren op" select sorts
   here. 66em, not the policy tables' 60em: the overview's eight columns need 60.5em of their own
   min-content (measured with width: min-content, the table then had a 60rem cap) plus
   the page's side padding and a scrollbar, so 60em left the page scrolling sideways from 961 to
   ~1024px wide. Screen only: print keeps the table. */
@media screen and (max-width: 66em) {
  .tabel-p1 thead { display: none; }
  .tabel-p1 tr { display: block; border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .tabel-p1 tr[hidden] { display: none; }
  .tabel-p1 th, .tabel-p1 td { display: block; border: 0; padding: .125rem 0; text-align: left; white-space: normal; }
  .tabel-p1 tr.wacht > * { border: 0; }
  .tabel-p1 tr.wacht { border-bottom-style: dashed; border-bottom-color: var(--quiet); }
  .tabel-p1 td::before, .tabel-p1 th[scope="row"]::before { content: attr(data-label) ": "; color: var(--quiet); font-weight: 400; }
  .tabel-p1 tr.wacht td::before { content: none; }
  .tabel-p1 tr.wacht td.rang { display: none; }
  .tabel-p1 td.pct.gesorteerd { min-width: 0; }
  .tabel-p1 td.pct.gesorteerd .cijfer { display: inline; width: auto; text-align: left; }
  .tabel-p1 td.pct.gesorteerd .splitsbalk { display: block; width: 100%; max-width: 16rem; margin: .25rem 0 0; }
}
@media (max-width: 37.5em) {
  .jaar-som, .som dl { grid-template-columns: 1fr; }
  .som dd { text-align: left; padding-left: 0; padding-top: 0; border-top: 0; }
  .jaar-som > div:last-child > dd, .som dl > div:last-child > dd { border-top: 0; }
  .jaar-som > div:first-child > dd { border-top: 0; }
}

/* --- The figure cards and the bars of the professionals' pages (fase 6, stage 4; ProfessionalsBlocks) ---------------------------------
   A figure card is a label, a figure and a line (spec §6, "Stat card"): a reading block (.lees, a rule above it) or, for the one that matters, a dark
   block (.melding-donker). The figure is set at the first numeral size, bold, tabular and never wrapped; the size belongs to the card, because
   .cijfer is also the class of a cell of the policy overview's table. On the dark card the label and the figure are white and the line --on-bar,
   the colours that block gives its headings and text; on the reading block they are --ink and --quiet (all tested pairs). */
.cijferkaart .cijfer-label { color: var(--ink); font-size: var(--t-klein); font-weight: 700; }
.cijferkaart .cijfer { color: var(--ink); font-size: var(--t-cijfer-1); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* The figure of a card is never wrapped, but a range ("80,0–96,0 %", the contracted tariff's lowest and highest share) is wider than the card of three across at a tablet's width: its own class lets it break at the <wbr> after its dash, and only that figure. */
.cijferkaart .cijfer.bereik { white-space: normal; }
.cijferkaart .cijfer-context { color: var(--quiet); font-size: var(--t-klein); }
.cijferkaart.melding-donker :is(.cijfer-label, .cijfer) { color: #fff; }
.cijferkaart.melding-donker .cijfer-context { color: var(--on-bar); }
@media screen {
  .cijferkaart { display: flex; flex-direction: column; gap: .5rem; }
  .cijferkaart > p { margin: 0; }
  /* A link in the line under the figure stands alone in its line: a touch target, like the link of a notice. */
  .cijferkaart .cijfer-context a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; }
  /* Where the browser knows subgrid a card takes three rows of its row's grid (the label, the figure, the line), so the cards of one row have their figures
     on one line whatever their labels do; the gap is the card's own, .5rem, not the grid's. A card without a line still takes the three rows. Without subgrid the flex column above stays. */
  @supports (grid-template-rows: subgrid) {
    .cijferkaart { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: .5rem; }
  }
}
/* Three cards of .k4 stand two and one between 35 em and a tablet (768 px), where .k4 spans six columns: the third takes the row, or half of it would stand empty. From 768 px they stand three across, as at the full
   width: a card is 219 px wide there at the least and its figure (the first numeral size, never wrapped) about 175 px. The two limits are 767 px and 767.04 px, so that no width has both rules and 768 px has the second. */
@media screen and (min-width: 35.0625em) and (max-width: 47.9375em) {
  .cijferrij > .k4:last-child:nth-child(odd) { grid-column: span 12; }
}
@media screen and (min-width: 47.94em) and (max-width: 56.25em) {
  .cijferrij > .k4 { grid-column: span 4; }
}
/* The bars: decoration beside a figure (aria-hidden), a track in --line with the part drawn on it. A share is --accent; a change is told apart by
   side as well as colour: a fall to the left of the centre line in the colour of the own share, a rise to the right in the accent. The fills are
   graphical objects on the track (3:1, rows of The_bars_meet_graphical_contrast_on_their_track); the centre line is 2 px of ink. */
/* The svg clips to the track's rounded ends, so the square end of the largest fall or of a full share does not stand outside it. */
.aandeelbalk, .veranderbalk { display: block; border-radius: 5px; overflow: hidden; }
.aandeelbalk .spoor, .veranderbalk .spoor { fill: var(--line); }
.aandeelbalk .deel { fill: var(--accent); }
.veranderbalk .stijging { fill: var(--accent); }
.veranderbalk .daling { fill: var(--zelf); }
.veranderbalk .midden { stroke: var(--ink); stroke-width: 2px; }

/* --- A profession's page (fase 6, stage 4, Task 10) -----------------------------------------------------------------------------------------
   The chips are the eight professions as links, drawn as the choice chips of the policy page (--field, a 2 px --line frame; the current one --ink with --paper text, bold: the pairs of those chips), 2.75rem high, in a
   row that wraps. The page's sections are grids a block gap apart (.pro-sectie; so is B2's comparison of the eight professions). The table of the tariffs stands in the primary block without a box of its own. The
   comparison is B3's kind of table: a table from 60em, a list of labelled cards under it (above); the checked profession's row is tinted and bold and says so in words (.lees-alleen, visually hidden: the tint is not
   the only sign). */
.beroep-chips a { text-decoration: none; background: var(--field); color: var(--ink); border: 2px solid var(--line); border-radius: var(--r-knop); }
.beroep-chips a:hover { border-color: var(--quiet); color: var(--ink); }
.beroep-chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; }
.beroep-chips a[aria-current]:hover { color: var(--paper); }
.beroep-chips a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tabel-vergelijk th.num { text-align: right; }
.tabel-vergelijk tr.eigen { --vlak: var(--accentbg-soft); background: var(--accentbg-soft); }
.tabel-vergelijk tr.eigen :is(th, td) { color: var(--ink); font-weight: 700; }
.tabel-vergelijk .lees-alleen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media screen {
  .beroep-chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
  .beroep-chips li { max-width: none; }
  .beroep-chips a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem 1rem; font-size: var(--t-klein); text-align: center; }
  .pro-sectie { display: grid; gap: var(--w-blok); min-width: 0; }
  .pro-sectie > * { min-width: 0; margin-block: 0; }
  .pro-sectie > h2 { font-size: var(--t-sectietitel); }
  /* A table in a block of the page stands without the box its wrap would give it (the block is the box), as the tariff page and B3 have it; the table of a closed part keeps its own. */
  .pro-sectie :is(.blok-primair, .blok-werk) > .table-wrap { background: none; border: 0; border-radius: var(--r-paneel); }
  .pro-sectie .blok-primair > p.klein { margin: .75rem 0 0; color: var(--quiet); }
  /* The table of the tariffs has the whole row of the block (the tariff page caps a table of three columns at eight columns because it stands beside a margin; here nothing stands beside it, and the cap would leave four columns of the box empty). */
  .pro-sectie .blok-primair .tabel-consulten { max-width: none; }
  .tabel-vergelijk th.balk-kop { width: 40%; }
}

/* --- B3, the mean contracted tariff (fase 6, stage 4, Task 8) -----------------------------------------------------------------------------
   The page is one wrapper (.gecontracteerd) of rows a section distance apart: the first row (the working block with the chips and the notice), a section per profession of which the chips display one
   (the rules with the tariff page's, in the @supports block), the reading row and the quotes. A section is its cards, its table in the primary block and its sums, a block gap apart. The table is a row per group
   of insurers: the name bold, the insurers, the number of policies and the lines under a number in the label size and --quiet, each on a line of its own; the share bold with its bar under it (10 px high, at least 6rem
   wide). Under 60em each row is a card (with the stacking rules of the other tables, above). A sum is a disclosure on the summary card of the site; its steps are rows of boxes of the paneel kind, the outcome on the soft accent. */
.tabel-gct .groep-naam { display: block; color: var(--ink); font-weight: 700; }
.tabel-gct :is(.groep-leden, .groep-aantal, .cel-onder) { display: block; color: var(--quiet); font-size: var(--t-klein); font-weight: 400; }
.tabel-gct .aandeel-cijfer { color: var(--ink); font-weight: 700; }
.tabel-gct th.num { text-align: right; }
/* A number never wraps, but the line under it and the word that stands for it do: at one line each the column of the share would be as wide as its longest sentence. */
.tabel-gct td.num :is(.cel-onder, .leeg) { white-space: normal; }
.tabel-gct .aandeelbalk { min-width: 6rem; }
.som-titel { font-size: var(--t-inleiding); }
.som-onder { display: block; color: var(--quiet); font-size: var(--t-klein); font-weight: 400; }
.som-vak { --vlak: var(--field); background: var(--field); border: 1px solid var(--line); border-radius: var(--r-paneel); }

.som-teken { color: var(--ink); font-size: var(--t-inleiding); font-weight: 700; }
.som-label { color: var(--ink); font-size: var(--t-klein); font-weight: 700; }
.som-bedrag { color: var(--ink); font-size: var(--t-cijfer-1); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.som-bron { color: var(--quiet); font-size: var(--t-klein); }
.som-uitkomst { --vlak: var(--accentbg-soft); background: var(--accentbg-soft); border: 2px solid var(--accent); }
.som-citaat blockquote, .grondslag blockquote { --vlak: var(--field); background: var(--field); border: 1px solid var(--line); border-radius: var(--r-paneel); }
.som-citaat blockquote p, .grondslag blockquote p { color: var(--ink); }
.som-citaat blockquote footer, .grondslag blockquote footer { color: var(--quiet); font-size: var(--t-klein); }
.grondslag-artikel { color: var(--ink); font-size: var(--t-klein); font-weight: 700; }
.gct-referentie { font-size: var(--t-klein); }
@media screen {
  .tabel-gct .aandeelbalk { margin: .25rem 0; }
  /* A link in a row, in the list of a group's policies, above a quote of another basis and in the reading row is a touch target, in the form the figure cards' links have (the sentence around it flows on). */
  .tabel-gct td > a, .som-polissen a, .grondslag-wie a, .gct-uitleg li a { display: inline-block; min-height: 2.75rem; padding-block: .625rem; }
  .som-vak { padding: 1rem; }
  .som-vak p { margin: 0; }
  .som-citaat blockquote, .grondslag blockquote { margin: 0 0 1rem; padding: 1rem 1.25rem; }
  .som-citaat blockquote p, .grondslag blockquote p { margin: 0 0 .5rem; }
  .grondslag-artikel { margin: 0 0 .5rem; }
  .gecontracteerd { display: grid; gap: var(--w-sectie); min-width: 0; }
  .gecontracteerd > * { min-width: 0; margin-block: 0; }
  .gct-beroep { display: grid; gap: var(--w-blok); min-width: 0; align-content: start; }
  .gct-beroep > * { min-width: 0; margin-block: 0; }
  .gct-beroep > h2 { font-size: var(--t-sectietitel); }
  /* The working block of the first row (seven columns, the notice beside it in five) holds the chips, the sentence about the reference consult and what the script shows: the chooser has no box of its own in it, and what is left of the height stands under the sentence. */
  .gct-kop > .k7 { display: flex; flex-direction: column; gap: var(--w-blok); }
  .gct-kop > .k7 > * { margin-block: 0; }
  .gct-kop .keuze { background: none; border: 0; border-radius: 0; padding: 0; }
  .gct-kop .keuze .chips { margin: 0; }
  /* The search and the sort are shown by gecontracteerd.js (they carry the hidden attribute until then, so no rule of their classes sets a display but the two none below): a label above its field, the field as
     high as the other controls (3rem) and with the site's focus ring, on the working block (--field), where --ink is a tested pair. */
  .gct-zoek label, .gct-sorteer label { display: block; margin: 0 0 .25rem; color: var(--ink); font-weight: 700; font-size: var(--t-klein); }
  .gct-zoek input { width: 100%; max-width: 28rem; min-height: 3rem; padding: .625rem .75rem; font: inherit; color: var(--ink); background: var(--field); border: 2px solid var(--line); border-radius: var(--r-knop); }
  .gct-sorteer select { width: 100%; max-width: 28rem; min-height: 3rem; padding: .625rem .5rem; font: inherit; font-size: var(--t-klein); color: var(--ink); background: var(--field); border: 2px solid var(--line); border-radius: var(--r-knop); }
  .gct-zoek input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  /* What the script does to the rows is a class, hidden on the screen only (paper keeps every row). The rows the search put away are hidden only while the script has marked the page (data-script): after a fault the
     mark is gone and every row shows again. The rows after the cut are hidden while the table is cut (data-alle is the button's "show all"), and stay a cut with a working button after a fault. */
  table[data-eerste]:not([data-alle]) tr.later { display: none; }
  .gecontracteerd[data-script] .tabel-gct tr.weg { display: none; }
  /* The row whose sum is open is the selected row: the soft accent, the tint of the ranking's sorted column; the bar in it takes the tint for its gap. */
  .tabel-gct tr.gekozen { --vlak: var(--accentbg-soft); background: var(--accentbg-soft); }
  /* The cut's button is the ranking's secondary one (ink on --field in a 2 px frame); the sentence beside it stays whole and goes under the button where it does not fit. */
  .toon-alle { margin: 1rem 0 0; }
  .toon-alle button { --vlak: var(--field); font: inherit; font-weight: 700; color: var(--ink); background: var(--field); border: 2px solid var(--line); border-radius: var(--r-knop); min-height: 3rem; padding: .625rem 1.25rem; margin-right: .75rem; cursor: pointer; }
  .toon-alle button:hover { border-color: var(--quiet); }
  .toon-alle span { display: inline-block; color: var(--soft); }
  /* A lone card stands beside its dashed sentence, which takes the three rows of the card. */
  .cijferrij > .nog-niet { grid-row: span 3; margin: 0; max-width: none; }
  .gct-tabel .table-wrap { background: none; border: 0; border-radius: var(--r-paneel); }
  .gct-tabel > h3:first-child { margin: 0 0 .5rem; font-size: var(--t-bloktitel); }
  .gct-tabel > .gct-sorteer-uitleg { margin: .75rem 0 0; }
  /* The sentence for a search that finds nothing stands in a live region that is always there (the page reads a text that appears in a region it already knows) and has no box of its own: while the sentence is
     hidden the region is empty, with no margin, padding or gap. What was typed is in the sentence: a word without a break (a pasted address) is broken at the edge of the box and cannot widen the page. */
  .gct-status > .geen-resultaat { margin: .75rem 0 0; overflow-wrap: anywhere; }
  .gct-tabel > .gct-sorteer-uitleg { color: var(--quiet); }
  .gct-sommen { display: grid; gap: .75rem; align-content: start; }
  .gct-sommen > h3 { margin: 0; font-size: var(--t-bloktitel); }
  .som-groep h4 { margin: 1.25rem 0 .5rem; font-size: var(--t-tekst); }
  .som-groep > h4:first-of-type { margin-top: 0; }
  .som-stap { margin: 0 0 1rem; grid-template-columns: 1fr; }
  /* The boxes of a step stand in one column (a box a row), and three across from 51.0625em (ThreeAcross below), not in the twelve columns of the page: a k4 spanning a half or the whole row left a box 300 to 550 px wide
     with 250 px of content, and two across left half a row of the page's background beside every third box. Between 31.25em and 51em a box is one full-width line (HorizontalBoxes below). */
  .som-stap > .k4 { grid-column: auto; }
  /* A box of a step is a column; the first of a step has no sign above its label, so it is pushed down to the line of its neighbours' labels. */
  .som-vak { display: flex; flex-direction: column; gap: .25rem; }
  .som-vak:first-child { justify-content: flex-end; }
  .som-toelichting > :first-child, .som-citaat > :first-child { margin-top: 0; }
  .som-toelichting :is(ul, p) { max-width: none; }
  .som-beroepen { margin: 0 0 1rem; padding-left: 1.25rem; column-count: 2; column-gap: var(--goot); }
  /* The policies of a group stand under the row of the sum over its whole width, in as many text columns as fit at 22rem (two where the page is wide: a column wide enough for the link and, on the same line, the text after it); an item is never broken over two. */
  .som-leden { margin-top: var(--w-blok); }
  .som-leden > h4 { margin: 0 0 .5rem; }
  .som-polissen { columns: 22rem; column-gap: var(--goot); margin: 0; padding-left: 1.25rem; }
  .som-polissen li { break-inside: avoid; font-size: var(--t-klein); }
  .som-beroepen li { break-inside: avoid; }
  .som-citaat > h4 { margin: 0 0 .5rem; }
  .som-citaat > :last-child { margin-bottom: 0; }
  .gct-uitleg > .lees ul { margin: 0; padding-left: 1.25rem; }
  .geen-percentage > h2 { margin: 0 0 .5rem; font-size: var(--t-bloktitel); }
  .geen-percentage > p { margin: 0 0 var(--w-blok); }
  /* The quotes of another basis: as many as fit in a row of at least 20rem, a last row stretched; two or four of them stand in halves. */
  .grondslagen { display: flex; flex-wrap: wrap; gap: var(--w-blok) var(--goot); }
  .grondslag { flex: 1 1 20rem; min-width: 0; }
  .per-2 > .grondslag { flex-basis: 30rem; }
  .grondslag-wie { margin: 0 0 .75rem; }
  .grondslag > blockquote:last-child { margin-bottom: 0; }
}

/* --- B2, the tariff development (fase 6, stage 4, Task 11) ---------------------------------------------------------------------------------
   The page is one wrapper (.ontwikkeling) of rows a section distance apart: the working block (the profession chips and, hidden until the script of the page shows them, the controls that choose consults and years) and
   a section per profession, of which the chips display the checked one (the rules with the tariff page's, in the @supports block; a browser without :has() shows every section under its own heading and draws no
   profession chip). A section is its cards, the chart with its notes and the table of every consult, a block gap apart: a column of normal flow, so that the sentence of an empty choice, whose region is always
   there, takes no room while it is hidden (a grid would keep a gap above its empty region). The controls are the chips of the site, written again for a block that is not a chooser: a checkbox is drawn as a radio is.
   The chart is written in two drawings, because a viewBox cannot serve both widths with text of one size: the narrow one is displayed up to 46.25em, where the wide one's 15-unit text would be under 13 px (the
   figure under 624 px), and the wide one from there; from 68em, where the figure in eight columns is 624 px, the three cards stand one under the other in four columns left of it, and under 68em they
   are a row above it. The note about the table stands under the figure's caption, and the sources under the table. */
.indexgrafiek { display: block; width: 100%; height: auto; }
.indexgrafiek.smal { display: none; }
.indexgrafiek.smal { max-width: 30rem; margin-inline: auto; }
.indexgrafiek text { font-size: 15px; fill: var(--ink); }
.indexgrafiek.smal text { font-size: 16px; }
/* A value is legible where the line at 100 or the line of the chart crosses it: a halo in the colour of the block it stands on (--field), under the ink. */
.indexgrafiek .waarde { fill: var(--ink); font-weight: 700; paint-order: stroke; stroke: var(--field); stroke-width: 3; stroke-linejoin: round; }
.indexgrafiek .jaartal { fill: var(--ink); }
.indexgrafiek .lijn { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.indexgrafiek .punt { fill: var(--accent); }
.indexgrafiek .honderd { stroke: var(--line); stroke-width: 2; }
.grafiek-blok figcaption { color: var(--soft); font-size: var(--t-klein); }
/* After a fault (tariefontwikkeling.js marks the wrapper data-fout when a render threw, and takes the mark away when one succeeds) a section may be half written: every section is away, and so is the table of the professions side by side (#vergelijk, written by the same render), so that no figure stands beside
   the controls it was not computed for, and the sentence that says so is shown. These two rules are the only ones that give that sentence a display: it carries the hidden attribute, and an author rule outweighs it. */
.ontwikkeling[data-fout] :is(.ontwikkeling-beroep, #vergelijk) { display: none; }
.ontwikkeling[data-fout] .ontwikkel-fout { display: block; }
/* What a screen reader is told after a change stands in one status region for the page, which is never hidden and takes no room: the region is out of the flow (in the wrapper's grid it would take a row and a gap), and its
   paragraph is heard and not seen (the recipe of .lees-alleen), on paper too. */
.ontwikkeling > .ontwikkel-melding { position: absolute; margin: 0; }
.ontwikkel-melding > [data-slot="melding"] { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* A row or a cell the script hides (the consults not chosen, the years outside the range) stays hidden whatever display the cards under 60em give it: an author rule outweighs the attribute. */
.tabel-ontwikkeling :is(tr, th, td)[hidden] { display: none; }
.bronlijst { list-style: none; margin: 0; padding: 0; font-size: var(--t-klein); }
.tabel-ontwikkeling tbody th { font-weight: 400; }
.tabel-ontwikkeling .code { white-space: nowrap; }
.tabel-ontwikkeling thead th:not(:first-child) { text-align: right; }
.tabel-ontwikkeling thead th.balk-kop { text-align: left; width: 18%; }
.tabel-ontwikkeling td.balk { min-width: 8rem; }
.tabel-ontwikkeling tfoot :is(th, td) { --vlak: var(--accentbg-soft); background: var(--accentbg-soft); border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 700; color: var(--ink); }
@media screen and (max-width: 46.25em) {
  .indexgrafiek.smal { display: block; }
  .indexgrafiek.breed { display: none; }
}
@media screen {
  .ontwikkeling { display: grid; gap: var(--w-sectie); min-width: 0; }
  .ontwikkeling > * { min-width: 0; margin-block: 0; }
  /* The working block: the profession chips, and under them the controls the script shows. The chooser inside it has no box of its own (the block is the box). */
  .ontwikkel-blok { display: flex; flex-direction: column; gap: var(--w-blok); }
  .ontwikkel-blok > * { margin-block: 0; }
  .ontwikkel-blok .keuze { background: none; border: 0; border-radius: 0; padding: 0; }
  .ontwikkel-blok .keuze .chips { margin: 0; }
  /* The controls are hidden by their attribute until the script shows them, so no rule of their class sets a display: a rule above the block and rules for what is inside are all they have. */
  .ontwikkel-keuze { border-top: 1px solid var(--line); padding-top: var(--w-blok); }
  .ontwikkel-keuze > * { margin: 0; }
  .ontwikkel-keuze > .ontwikkel-kop { margin-bottom: var(--w-blok); }
  .ontwikkel-kop strong { color: var(--ink); font-size: var(--t-inleiding); }
  .ontwikkel-kop .klein { color: var(--quiet); }
  .ontwikkel-keuze .chips { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: .5rem; }
  .ontwikkel-keuze .chips legend { padding: 0; margin-bottom: .5rem; color: var(--ink); font-size: var(--t-klein); font-weight: 700; }
  .ontwikkel-keuze .chip {
    position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin: 0; padding: .5rem 1rem;
    font-size: var(--t-klein); font-weight: 400; text-align: center; white-space: nowrap; background: var(--field); color: var(--ink);
    border: 2px solid var(--line); border-radius: var(--r-knop); cursor: pointer;
  }
  .ontwikkel-keuze .chip:hover { border-color: var(--quiet); }
  @supports selector(:has(*)) {
    .ontwikkel-keuze .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
    .ontwikkel-keuze .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; }
    .ontwikkel-keuze .chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
    @media (forced-colors: active) {
      .ontwikkel-keuze .chip:has(input:checked) { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
    }
  }
  /* The years stand in one row (a chip is at least 3rem wide and the row grows them to fill it); the durations wrap, four to a row on a phone (below). */
  .ontwikkel-keuze .jaar-keuze .chip { flex: 1 1 3rem; padding-inline: .25rem; }
  /* The durations fill their row of twelve columns the same way (on a phone they are a grid of four, which ignores this). */
  .ontwikkel-keuze .duur-keuze .chip { flex: 1 1 4.5rem; }
  /* The kind of consult has three chips that must stand in one row in a third of the block (about 313 px at 68em): a little less padding, and they fill the row. */
  .ontwikkel-keuze .soort-keuze .chip { flex: 1 1 auto; padding-inline: .5rem; }
  .ontwikkeling-beroep > * { min-width: 0; margin: 0; }
  .ontwikkeling-beroep > * + * { margin-top: var(--w-blok); }
  .ontwikkeling-beroep > h2 { font-size: var(--t-sectietitel); }
  .ontwikkeling-beroep > h3 { font-size: var(--t-bloktitel); }
  .ontwikkeling-beroep > h3 + .table-wrap { margin-top: .75rem; }
  .ontwikkeling-beroep > .table-wrap ~ p { margin-top: .5rem; }
  .ontwikkeling-beroep > p.klein { color: var(--quiet); font-size: var(--t-klein); }
  /* The sentence of an empty choice stands in a region that is always there: the region has no box (it is not in the column's spacing), and the sentence brings its distance with it while it is displayed. */
  .ontwikkeling-beroep > .ontwikkel-status { margin: 0; }
  .ontwikkel-status > p { margin: var(--w-blok) 0 0; max-width: none; }
  /* The cards and the figure's column are one grid. Under 68em each takes the row (the cards as the row they are); from 68em the three cards stand one under the other in four columns, left of the figure in eight. */
  .beroep-grafiek > * { grid-column: span 12; }
  .grafiek-kolom { display: flex; flex-direction: column; gap: .75rem; }
  .grafiek-kolom > * { margin: 0; }
  .grafiek-blok { flex: 1 1 auto; }
  .grafiek-blok figcaption { margin: .75rem 0 0; }
  .grafiek-noot { color: var(--quiet); font-size: var(--t-klein); }
  /* The link to the table stands on a line of its own under its sentence, a finger high: inline in the sentence a link this high loosened its lines. */
  .grafiek-noot > a { display: block; width: fit-content; min-height: 2.75rem; padding-block: .625rem; }
  /* The sources: a reading block over the whole width, the list in columns (one on a phone), an item never broken over two of them. */
  .ontwikkel-bronnen > * { margin: 0; }
  .ontwikkel-bronnen > ul + p { margin-top: .75rem; }
  .ontwikkel-bronnen > p:first-child { margin-bottom: .75rem; }
  .ontwikkel-bronnen > .klein { color: var(--quiet); font-size: var(--t-klein); }
  .bronlijst li { max-width: none; margin: 0 0 .5rem; break-inside: avoid; }
  .bronlijst { column-gap: var(--goot); }
}
@media screen and (min-width: 35.0625em) {
  .bronlijst { columns: 2; }
}
@media screen and (min-width: 60.0625em) {
  .bronlijst { columns: 3; }
}
/* From 56.25em the controls are no longer a column of rows (above); up to 68em a third of the block is too narrow for the years (five chips) and the kind of consult: the kind has a row, the two years halves of the next, the durations the last. */
@media screen and (min-width: 56.3125em) and (max-width: 68em) {
  .ontwikkel-keuze .raster > .soort-keuze { grid-column: span 12; }
  .ontwikkel-keuze .raster > .jaar-keuze { grid-column: span 6; }
}
@media screen and (min-width: 68.0625em) {
  .beroep-grafiek > .cijferrij { grid-column: span 4; }
  .beroep-grafiek > .cijferrij > .k4 { grid-column: span 12; }
  .beroep-grafiek > .grafiek-kolom { grid-column: span 8; }
}
/* The eight durations stand in one row only where each chip has the width its text needs (from 53.0625em, measured: eight of 76 to 92 px in 736 px; at 801 px they split 7 + 1, at 600 px 5 + 3); below that they are four to a row, in a grid. */
@media screen and (max-width: 53em) {
  .ontwikkel-keuze .duur-keuze { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; }
  .ontwikkel-keuze .duur-keuze .chip { padding-inline: .25rem; }
}
@media screen and (max-width: 35em) {
  /* A figure with less room round the narrow drawing, so that its 16-unit text is 13 px or more at 375 px and up. */
  .grafiek-blok { padding: .5rem; }
}
@media screen and (max-width: 24em) {
  /* On the smallest phones (the block is 264 px wide at 320 px) the chips are closer and have less padding, so that the three kinds stand in one row and the five years in one row, each chip still 2.75rem high with its text on one line. */
  .ontwikkel-blok { padding-inline: .5rem; }
  .ontwikkel-keuze .chips { gap: .25rem; }
  .ontwikkel-keuze .chip, .ontwikkel-keuze .soort-keuze .chip { padding-inline: .25rem; }
  /* Under 24em the drawing takes the container's whole width: no side padding in the figure (its caption keeps a little). */
  .grafiek-blok { padding-inline: 0; }
  .grafiek-blok figcaption { padding-inline: .5rem; }
}
/* The controls are hidden until the script has run, and they are tall: where the browser runs scripts they keep their room while hidden (invisible, out of the order of Tab and of the accessibility tree), so that nothing moves
   when the script shows them. This is the one exception to "no rule of the controls' class sets a display": its purpose, no dead control on a page without scripts, holds, since it applies only where scripts run. A script that
   gives up before it renders marks the wrapper (data-zonder-keuze) and the room goes back. Without scripting, and in a browser that does not know the feature, the attribute hides the block as it always did.
   The room ends by itself, as the model letter's and the calculator's do: when the script has not shown the controls after ten seconds it is not coming (the request failed, an import failed, and then not even the give-up
   mark is written), and nothing on the page would say why there is a hole of 281 to 566 px. An animation of no duration, started by its delay and kept by its fill mode, takes the block out of the layout (the working
   block then holds the chips alone). A script that comes in time takes the hidden attribute off: the selector stops matching and the animation with it. The top margin takes back the block gap that the flex column of
   the working block keeps beside a part of no height, so that what follows starts where it would without the part. Nothing moves in sight (the block is unseen), so reduced motion needs no exception. */
@media screen and (scripting: enabled) {
  .ontwikkel-keuze[hidden] { display: block; visibility: hidden; animation: ontwikkel-ruimte-weg 0s 10s forwards; }
  .ontwikkeling[data-zonder-keuze] .ontwikkel-keuze[hidden] { display: none; }
  @keyframes ontwikkel-ruimte-weg { to { max-height: 0; overflow: hidden; padding: 0; border: 0; margin: calc(-1 * var(--w-blok)) 0 0; } }
}
/* Where :has() is unknown the profession chips are not drawn (above), so the working block would be an empty box, and the controls of the script are of no use without the chips: it is not displayed. */
@supports not selector(:has(*)) {
  .ontwikkel-blok { display: none; }
}
/* The table of every consult stands from 60em; under it each consult is a card, as in the other tables of the professionals' pages: the head is clipped (the cells keep their labels), every cell on a line of its own,
   the year before its amount from the cell's label. The last row is the card of the mean, under a rule of ink as it is above the table's foot. */
@media screen and (max-width: 60em) {
  .tabel-ontwikkeling > thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .tabel-ontwikkeling > :is(tbody, tfoot) > tr { display: block; padding: .375rem .75rem; border-bottom: 1px solid var(--line); }
  .tabel-ontwikkeling > tfoot > tr { --vlak: var(--accentbg-soft); background: var(--accentbg-soft); border-top: 2px solid var(--ink); border-bottom: 0; }
  .tabel-ontwikkeling > :is(tbody, tfoot) > tr > :is(th, td) { display: block; border: 0; padding: .125rem 0; text-align: left; white-space: normal; }
  .tabel-ontwikkeling > tbody > tr > th { font-weight: 700; }
  .tabel-ontwikkeling > tbody > tr > td[data-label]::before, .tabel-ontwikkeling > tfoot > tr > td[data-label]::before { content: attr(data-label) ": "; color: var(--quiet); font-weight: 400; }
  .tabel-ontwikkeling > tfoot > tr > td[data-label]::before { color: var(--ink); }
  .tabel-ontwikkeling td.num { white-space: nowrap; }
  .tabel-ontwikkeling td.num::before { white-space: normal; }
  .tabel-ontwikkeling td.balk:empty { display: none; }
  .tabel-ontwikkeling td.balk .veranderbalk { max-width: 16rem; margin: .25rem 0; }
  /* The links of the sources are a finger high but stay text, so that a line breaks inside one and "2022:" never stands alone: inline, with block padding that makes the box 2.75rem (the line itself does not grow). */
  .bronlijst a { padding-block: .8125rem; }
}
/* The rows of the professionals' tables that are shown as cards (B3's groups, B1's contracted table and its comparison, B2's consults and index) were one narrow column of "label: value" lines on the left of a card 650 to
   950 px wide, 400 to 600 px empty on its right. From 35em (560 px; a phone keeps its single column) the lines of a row flow in columns of at least 14rem, as many as fit, and the cell that heads the row takes the whole
   first line. The cells keep their labels (::before) and their order; only the professionals' tables have these classes. These rules come after the ones that make a row a block, which they replace. */
@media screen and (min-width: 35em) and (max-width: 60em) {
  .tabel-gct > tbody > tr, .tabel-vergelijk > tbody > tr, .tabel-ontwikkeling > :is(tbody, tfoot) > tr {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); column-gap: var(--goot); align-items: start;
  }
  .tabel-gct > tbody > tr > th, .tabel-vergelijk > tbody > tr > th, .tabel-ontwikkeling > :is(tbody, tfoot) > tr > th { grid-column: 1 / -1; }
}
/* The boxes of a step of a sum: three across where they fit (the sum's column is 704 px from 51.0625em, the three need 3 x 212 px and two gaps of 24 px; 210 px is the widest box's content with its padding). */
@media screen and (min-width: 51.0625em) {
  .som-stap { grid-template-columns: repeat(3, 1fr); }
}
/* Under it, down to 31.25em, a box is one full-width line with nothing empty beside it: the sign ("gedeeld door", "is"), the label and the source on the left, the amount on the right, vertically in the middle of them.
   Under 31.25em the line would leave the label 40 px, so the amount goes under the label again, as in the column the box always was. */
@media screen and (min-width: 31.25em) and (max-width: 51em) {
  .som-vak { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; }
  .som-vak > p { grid-column: 1; }
  .som-vak > p + p { margin-top: .25rem; }
  .som-vak > .som-bedrag { grid-column: 2; grid-row: 1 / span 3; justify-self: end; text-align: right; }
}
/* B3's own table is a stack of cards up to 67.5em (above); the same columns there. */
@media screen and (max-width: 67.5em) and (min-width: 60.0625em) {
  .gecontracteerd .tabel-gct > tbody > tr {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); column-gap: var(--goot); align-items: start;
  }
  .gecontracteerd .tabel-gct > tbody > tr > th { grid-column: 1 / -1; }
}

/* Print (spec §6.3): one A4 for the chosen row — hero, sum, citation, authorisation — and the
   table on the pages after it; the chooser, the navigation, the closed details and the
   theme/button chrome do not print. The date is filled by p2.js: the build has no clock. */
@media print {
  /* Print ignores the theme: every colour token gets its paper value, so a rule that names a
     token prints dark on white whatever the reader chose on screen. Both selectors weigh as much
     as the theme blocks at the top and come later, so they win for "light", "dark" and no choice
     alike. */
  :root[data-theme], :root:not([data-theme]) {
    --paper: #fff; --field: #fff; --sand: #fff; --warn: #fff; --accentbg: #fff; --accentbg-soft: #fff;
    --ink: #000; --soft: #000; --quiet: #333; --accent: #000; --accent-hover: #000; --zelf: #000; --on-accent: #fff;
    --line: #666; --bar: #000; --on-bar: #fff;
    color-scheme: light;
  }
  .secties, .site-header, .site-footer, .skip, .theme-toggle, .keuze, .keuze-polis, .jaarwisselaar, .release-keuze, .releases, .brief-invoer, .brief-knoppen, .status, .beroep-chips, .ontwikkel-blok, .donatieband, .doneer-knop, .doneer-regel, .code-zoek, .rang-zoek, .rang-meer, .rang-geen, .zoekveld, .polis-geen, .reken-vragen.raster, .jaar-invoer, .reken-meer, .rang-rekenhulp, .gct-zoek, .gct-sorteer, .toon-alle, .gct-sorteer-uitleg, .geen-resultaat { display: none; }
  .kruimelpad, .naar-boven { display: none; }
  .paginakop-regel { display: none; }
  .paginakop { margin: 0 0 1rem; }
  .paginakop h1 { margin: 0 0 .5rem; }
  /* .raster and .k* are not screen-only: narrower than 56.25em a raster would half-collapse on paper. Every raster is a plain block there. */
  .raster { display: block; }
  details:not([open]) { display: none; }
  /* The section for the other kinds of care would print its heading and sentence alone when none of its disclosures is open. A rule of its own: a browser without :has() drops a whole list. */
  #andere-zorg:not(:has(details[open])) { display: none; }
  /* The mark of the code lookup is for the screen (the chosen row of the short table keeps its own look on paper). */
  tr.gevonden { background: none; outline: none; }
  td.gevonden { background: none; outline: none; }
  .alleen-print { display: block; }
  .alleen-print[hidden] { display: none; }
  body { background: #fff; color: #000; }
  /* On paper <main> is not a grid, so the distances the grid gap gives on screen come from margins, as they did before fase 6. */
  .setting { margin: 1.5rem 0; }
  .tabel-consulten, .tabel-groepsconsulten, .tabel-overig, .tabel-polis, .tabel-polis-gc, .tabel-polis-overig, .tabel-p1, .tabel-gct { margin: .5rem 0 1.5rem; }
  .som-groep { margin: 1rem 0; }
  .databron { margin-top: 2rem; }
  .brief { margin: 1rem 0; }
  .brief-polis { display: none; }   /* the notice above the letter: the letter prints alone */
  .brief-velden, .brief-geel { display: none; }   /* the fields' block and the caption under the letter: the letter prints alone */
  .modelbrief ~ .verder { display: none; }   /* the ways onward under the letter are links: the letter prints alone */
  .brief-rechts > h2 { break-after: avoid; }   /* the heading of the letter stays with it: with the steps shorter it would otherwise end page 1 alone */
  /* The kinds of block are drawn for the screen. What had no box on paper keeps none, and what had its own padding keeps it. */
  .lees, .verzekeraar, .niet-vergelijkbaar, .zonder-lijst { border: 0; padding: 0; }
  .naar-ranglijst { padding: 1rem 1.25rem; }
  .databron { padding: 1.25rem 1.5rem; }
  a { color: inherit; text-decoration: none; }
  .hero, .som, .citaat, .let-op, .brief { break-inside: avoid; background: none; border: 1px solid #000; }
  .hero { box-shadow: none; }
  /* A browser prints no background unless the reader asks for it: the dark figure card (white text on --bar) is an outlined block in the print ink, like the blocks above; its link too (.melding-donker a is white). */
  .cijferkaart.melding-donker { background: none; border: 1px solid #000; border-radius: 0; break-inside: avoid; }
  .cijferkaart.melding-donker :is(.cijfer-label, .cijfer, .cijfer-context, a) { color: #000; }
  /* The primary block of a policy page is no raised card on paper: the chooser is left out and the hero and the sum keep their own outline. */
  .polis-keuze { background: none; border: 0; box-shadow: none; padding: 0; }
  .hero, .som, .citaat, .let-op, .brief, .citaat blockquote, .let-op blockquote, .databron, .table-wrap { border-radius: 0; }
  .som dt, .som dd { padding-block: .1rem; }
  .som dl > div:last-child > dd { font-size: inherit; }
  #tabel { break-before: page; }
  .tabel-polis, .tabel-polis-gc, .tabel-polis-overig { font-size: 8pt; }
  .brief mark { background: none; text-decoration: underline; }

  /* Page 1 of a policy page holds the chosen consult's story: hero, sum, date line, citation,
     authorisation. The table starts on page 2. On 4b staging the authorisation block ran onto
     page 2 and the date line printed on the last page. Tighter type and spacing fix that, and the
     links that mean nothing on paper are left out. The size and spacing changes below are scoped
     to main:has(.hero), so the model letter and the other pages print at their own size; @page
     { size: A4 } is not scoped and applies to every printed page — the audience is Dutch, and
     headless Chrome's default is US Letter. tools/verify.ps1's print gate proves it on two policy
     pages. */
  @page { size: A4; }
  main:has(.hero) { padding: 0; font-size: 10pt; line-height: 1.35; }
  main:has(.hero) h1 { font-size: 16pt; margin: 0 0 .5rem; }
  main:has(.hero) h2 { font-size: 12pt; margin: .5rem 0 .25rem; }
  /* What paper had before fase 6: the 8px under the title (the head brings no more), a quotation as wide as its box, and the h3 of the authorisation block at 1.125rem. */
  main:has(.hero) .paginakop { margin: 0; }
  main:has(.hero) blockquote { max-width: none; }
  main:has(.hero) blockquote p { max-width: none; }
  main:has(.hero) h3 { font-size: 1.125rem; }
  /* The sum's heading in the answer is an h3 now and keeps the 12pt of the h2 it was; the rule weighs more than the one above. */
  main:has(.hero) .som > h3 { font-size: 12pt; margin: .5rem 0 .25rem; }
  .hero, .som, .citaat, .let-op { padding: .5rem .75rem; margin: 0 0 .5rem; }
  /* The sum of a year of the calculator is a row of the year, not the policy page's block: no frame and no padding round it, as on screen. */
  dl.jaar-som { border: 0; padding: 0; }
  /* The copy of the assumption sentence for a screen reader is not printed (even clipped it would be in the printed text): the sentence below the sum is, once. */
  .jaar-bedrag > .lees-alleen { display: none; }
  .hero p, .som p, .citaat p, .let-op p { margin: .15rem 0; }
  .hero .hero-bedrag { font-size: 18pt; margin: .1rem 0; }
  .som dl { margin: 0; }
  .citaat blockquote, .let-op blockquote { padding: .25rem .5rem; margin: 0 0 .25rem; }
  /* The policy page's quiet aside is left out so that page 1 keeps its room; the notice on the ranking and home (section.melding.vraag-na) prints. */
  .naar-brief, aside.terzijde.vraag-na { display: none; }
  /* The tariffs block and the foot of the notice (a button and a link) are for the screen: paper cannot follow a link, and the button printed as a black pill with no room round it. */
  .tarief-bekend, .geen-lijst-voet { display: none; }
  /* The four things we know stay side by side on paper, where a .raster is a block: a table of four equal cells, since paper has no grid. */
  .weten { display: table; table-layout: fixed; width: 100%; border-spacing: .5rem 0; margin: 0 0 .5rem; }
  .weten > * { display: table-cell; vertical-align: top; }
  .weten dd { margin: 0; }
  /* The sources are on screen, not on paper: a policy with a citation of its own and several quotes in the authorisation block (aevitae) would push that block off page 1,
     and the page keeps the tariff's document id in the sum and the insurer in every quotation. */
  .bronnen-kop, .bronnen, .bronnen-noot { display: none; }
  /* What stands in their place, at the end of the page, so page 1 keeps the room. */
  .bronnen-druk { display: block; }
  /* The note that a list rests on an inference stays on paper: a printed amount is read without the page that explains it. */
  .bronnen-noot.afleiding { display: block; }
  .verdeling, .acties, .zonder-script { display: none; }
  /* The example on the home page is the content of its card: the two amounts print with it. */
  .voorbeeld .verdeling { display: block; }
  .alleen-print { margin: 0 0 .5rem; }
  .tabel-p1 { font-size: 9pt; }
  .tabel-p1 .sorteer, .tabel-gct .sorteer { color: inherit; text-decoration: none; }
  /* The ranking on paper: no raised card around it, and the table as wide as the page with every column on it (the scroll region the screen needs is left open, the cells are tight, and what is a
     drawing on the screen is left out: the bars print as black boxes, and the premium's "per year" line is the premium again). Every row the authorisation filter keeps prints, whatever the search and
     the collapse to ten did on the screen. */
  .ranglijst { background: none; border: 0; box-shadow: none; padding: 0; }
  .ranglijst .table-wrap { overflow: visible; }
  .tabel-p1 { width: 100%; }
  .tabel-p1 th, .tabel-p1 td { padding: .25rem .3rem; }
  .tabel-p1 .splitsbalk, .tabel-p1 .per-jaar { display: none; }
  .tabel-p1 tr { break-inside: avoid; }
  /* The index chart is written in two drawings, one for each width; on paper the wide one prints (it is the one that is not hidden by default), whatever the width of the page. */
  .indexgrafiek.breed { display: block; }
  .indexgrafiek.smal { display: none; }
  .tabel-gct { font-size: 8pt; }
}
