/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:where(.app-kto) *, :where(.app-kto) :before, :where(.app-kto) :after, :where(.app-kto) ::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:where(.app-kto){--font-sans:var(--hero-font);--font-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-white:#fff;--spacing:.25rem;--font-weight-light:300;--font-weight-bold:700;--font-weight-black:900;--ease-out:cubic-bezier(0, 0, .2, 1);--default-font-family:var(--hero-font);--default-mono-font-family:var(--font-mono)}}@layer base{:where(.app-kto) *, :where(.app-kto) :after, :where(.app-kto) :before, :where(.app-kto) ::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.app-kto) ::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.app-kto){-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}:where(.app-kto) hr{height:0;color:inherit;border-top-width:1px}:where(.app-kto) abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.app-kto) h1, :where(.app-kto) h2, :where(.app-kto) h3, :where(.app-kto) h4, :where(.app-kto) h5, :where(.app-kto) h6{font-size:inherit;font-weight:inherit}:where(.app-kto) a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.app-kto) b, :where(.app-kto) strong{font-weight:bolder}:where(.app-kto) code, :where(.app-kto) kbd, :where(.app-kto) samp, :where(.app-kto) pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}:where(.app-kto) small{font-size:80%}:where(.app-kto) sub, :where(.app-kto) sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(.app-kto) sub{bottom:-.25em}:where(.app-kto) sup{top:-.5em}:where(.app-kto) table{text-indent:0;border-color:inherit;border-collapse:collapse}:where(.app-kto) :-moz-focusring:where(:not(iframe)){outline:auto}:where(.app-kto) progress{vertical-align:baseline}:where(.app-kto) summary{display:list-item}:where(.app-kto) ol, :where(.app-kto) ul, :where(.app-kto) menu{list-style:none}:where(.app-kto) img, :where(.app-kto) svg, :where(.app-kto) video, :where(.app-kto) canvas, :where(.app-kto) audio, :where(.app-kto) iframe, :where(.app-kto) embed, :where(.app-kto) object{vertical-align:middle;display:block}:where(.app-kto) img, :where(.app-kto) video{max-width:100%;height:auto}:where(.app-kto) button, :where(.app-kto) input, :where(.app-kto) select, :where(.app-kto) optgroup, :where(.app-kto) textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.app-kto) ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.app-kto) :where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(.app-kto) :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}:where(.app-kto) ::file-selector-button{margin-inline-end:4px}:where(.app-kto) ::-moz-placeholder{opacity:1}:where(.app-kto) ::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){:where(.app-kto) ::-moz-placeholder{color:currentColor}:where(.app-kto) ::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){:where(.app-kto) ::-moz-placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}:where(.app-kto) ::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}:where(.app-kto) textarea{resize:vertical}:where(.app-kto) ::-webkit-search-decoration{-webkit-appearance:none}:where(.app-kto) ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:where(.app-kto) ::-webkit-datetime-edit{display:inline-flex}:where(.app-kto) ::-webkit-datetime-edit-fields-wrapper{padding:0}:where(.app-kto) ::-webkit-datetime-edit{padding-block:0}:where(.app-kto) ::-webkit-datetime-edit-year-field{padding-block:0}:where(.app-kto) ::-webkit-datetime-edit-month-field{padding-block:0}:where(.app-kto) ::-webkit-datetime-edit-day-field{padding-block:0}:where(.app-kto) ::-webkit-datetime-edit-hour-field{padding-block:0}:where(.app-kto) ::-webkit-datetime-edit-minute-field{padding-block:0}:where(.app-kto) ::-webkit-datetime-edit-second-field{padding-block:0}:where(.app-kto) ::-webkit-datetime-edit-millisecond-field{padding-block:0}:where(.app-kto) ::-webkit-datetime-edit-meridiem-field{padding-block:0}:where(.app-kto) ::-webkit-calendar-picker-indicator{line-height:1}:where(.app-kto) :-moz-ui-invalid{box-shadow:none}:where(.app-kto) button, :where(.app-kto) input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}:where(.app-kto) ::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}:where(.app-kto) ::-webkit-inner-spin-button{height:auto}:where(.app-kto) ::-webkit-outer-spin-button{height:auto}:where(.app-kto) [hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{:where(.app-kto) .\@container{container-type:inline-size}:where(.app-kto) .visible{visibility:visible}:where(.app-kto) .absolute{position:absolute}:where(.app-kto) .fixed{position:fixed}:where(.app-kto) .relative{position:relative}:where(.app-kto) .static{position:static}:where(.app-kto) .container{width:100%}@media (min-width:40rem){:where(.app-kto) .container{max-width:40rem}}@media (min-width:48rem){:where(.app-kto) .container{max-width:48rem}}@media (min-width:64rem){:where(.app-kto) .container{max-width:64rem}}@media (min-width:80rem){:where(.app-kto) .container{max-width:80rem}}@media (min-width:96rem){:where(.app-kto) .container{max-width:96rem}}:where(.app-kto) .block{display:block}:where(.app-kto) .contents{display:contents}:where(.app-kto) .flex{display:flex}:where(.app-kto) .hidden{display:none}:where(.app-kto) .inline{display:inline}:where(.app-kto) .table{display:table}:where(.app-kto) .size-full{width:100%;height:100%}:where(.app-kto) .min-h-full{min-height:100%}:where(.app-kto) .flex-1{flex:1}:where(.app-kto) .border-collapse{border-collapse:collapse}:where(.app-kto) .transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}:where(.app-kto) .flex-col{flex-direction:column}:where(.app-kto) .truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:where(.app-kto) .border{border-style:var(--tw-border-style);border-width:1px}:where(.app-kto) .border-hairline{border-color:var(--hero-border,var(--h-rand))}:where(.app-kto) .bg-gray-50{background-color:var(--hero-gray-50,#f9fafb)}:where(.app-kto) .bg-hero-blue{background-color:var(--hero-blue)}:where(.app-kto) .bg-surface-1{background-color:var(--hero-surface-1,var(--h-vlak))}:where(.app-kto) .bg-white{background-color:var(--color-white)}:where(.app-kto) .px-6{padding-inline:calc(var(--spacing) * 6)}:where(.app-kto) .font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}:where(.app-kto) .font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}:where(.app-kto) .font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}:where(.app-kto) .text-gray-900{color:var(--hero-gray-900,#111827)}:where(.app-kto) .text-text-2{color:var(--hero-text-2,var(--h-tekst-2))}:where(.app-kto) .text-white{color:var(--color-white)}:where(.app-kto) .ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where(.app-kto) .outline{outline-style:var(--tw-outline-style);outline-width:1px}:where(.app-kto) .blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}:where(.app-kto) .filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}:where(.app-kto) .ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:where(.app-kto){color-scheme:light;--hero-blue:#073889;--hero-orange:#f46015;--hero-blue-black:#03153f;--hero-blue-bold:#0065cc;--hero-blue-medium:#4197cb;--hero-blue-light:#00a8f5;--hero-blue-thin:#9ecae2;--hero-blue-soft:#d3e6f0;--hero-blue-hairline:#e9f3f8;--hero-orange-black:#4c1b00;--hero-orange-bold:#944100;--hero-orange-medium:#c85800;--hero-orange-light:#f79c44;--hero-orange-thin:#fde1b6;--hero-grijs-black:#242629;--hero-grijs-bold:#4f5259;--hero-grijs-tekst:#6b6d78;--hero-grijs-regular:#9496a1;--hero-grijs-light:#b8c2c7;--hero-grijs-thin:#dfe4e6;--hero-grijs-hairline:#f5f5f9;--hero-groen-black:#002b0d;--hero-groen-bold:#006621;--hero-groen-regular:#38bd47;--hero-groen-light:#91d98c;--hero-groen-thin:#d7ead7;--hero-rood-bold:#8f101d;--hero-rood:#b71525;--hero-rood-thin:#f8dbde;--hero-geel:#ffbd0d;--hero-paars-bold:#6d5bd0;--hero-paars-thin:#ede9fb;--hero-wit:#fff;--hero-font:"Exo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--hero-font-hand:"Caveat", "Bradley Hand", "Segoe Print", "Ink Free", "Noteworthy", "Marker Felt", cursive;--hero-gewicht-tekst:400;--hero-gewicht-medium:500;--hero-gewicht-label:600;--hero-gewicht-nadruk:700;--hero-gewicht-kop:800;--hero-gewicht-knop:800;--hero-tekst-meta:11px;--hero-tekst-xs:12px;--hero-tekst-sm:14px;--hero-tekst-md:16px;--hero-tekst-lg:18px;--hero-tekst-xl:20px;--hero-tekst-2xl:24px;--hero-tekst-3xl:30px;--hero-ruimte-4:4px;--hero-ruimte-8:8px;--hero-ruimte-12:12px;--hero-ruimte-16:16px;--hero-ruimte-20:20px;--hero-ruimte-24:24px;--hero-ruimte-32:32px;--hero-ruimte-40:40px;--hero-ruimte-48:48px;--hero-ruimte-64:64px;--hero-radius-s:4px;--hero-radius-m:6px;--hero-radius:8px;--hero-radius-l:12px;--hero-radius-xl:16px;--hero-radius-pil:999px;--hero-schaduw-s:0 1px 2px 0 #0000000d;--hero-schaduw-m:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--hero-schaduw-l:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--hero-schaduw-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--hero-schaduw-modal:0 25px 50px -12px #00000040;--hero-kopbalk-hoogte:56px;--hero-onderbalk-hoogte:72px;--hero-logo-hoogte:34px;--hero-formulier-kolom:480px;--hero-zijmenu-breedte:256px;--hero-pagina-padding:20px;--hero-rand-afstand:var(--hero-pagina-padding);--hero-knop-hoogte:40px;--hero-knop-hoogte-klein:32px;--hero-z-kopbalk:30;--hero-z-menu:40;--hero-z-laag:50;--h-canvas:#f6f8fc;--h-vlak:#fff;--h-vlak-2:var(--hero-grijs-hairline);--h-kopbalk-bg:#fffffff2;--h-rand:var(--hero-grijs-thin);--h-rand-sterk:var(--hero-grijs-light);--h-tekst:var(--hero-blue-black);--h-tekst-2:var(--hero-grijs-bold);--h-tekst-3:var(--hero-grijs-tekst);--h-tekst-placeholder:#8a8d99;--h-invoer-bg:#fff;--h-tabelkop:#f7f8fa;--h-rij-hover:#1a2b4809;--h-menu-hover:var(--hero-grijs-hairline);--h-menu-actief-bg:#eef1f6;--h-menu-actief-tekst:var(--hero-blue);--h-segment-bg:var(--hero-grijs-thin);--h-actie:var(--hero-blue);--h-actie-hover:#052c6c;--h-actie-tekst:#fff;--h-link:var(--hero-blue);--h-link-hover:var(--h-actie-hover);--h-focus:var(--hero-blue);--h-focus-zacht:#d6deec;--h-laag:#0006;--h-toast-bg:var(--hero-grijs-black);--h-toast-tekst:var(--hero-wit);--h-toast-goed:#86e6a0;--h-toast-fout:#ff9a9c;--h-toast-info:#9ad9fb;--h-toast-hover:var(--hero-grijs-bold);--h-info-bg:#e7ecf5;--h-info-tekst:var(--hero-blue);--h-info-stip:var(--hero-blue);--h-info-rand:#cfd8e7;--h-info-licht:#f3f6fa;--h-goed-bg:var(--hero-groen-thin);--h-goed-tekst:var(--hero-groen-bold);--h-goed-stip:var(--hero-groen-regular);--h-goed-rand:var(--hero-groen-light);--h-goed-licht:#ebf5eb;--h-waarschuwing-bg:var(--hero-orange-thin);--h-waarschuwing-tekst:var(--hero-orange-bold);--h-waarschuwing-stip:var(--hero-orange);--h-waarschuwing-rand:var(--hero-orange-light);--h-waarschuwing-licht:#fef3e2;--h-fout-bg:var(--hero-rood-thin);--h-fout-tekst:var(--hero-rood);--h-fout-stip:var(--hero-rood);--h-fout-rand:#e1969d;--h-fout-licht:#fceeef;--h-neutraal-bg:var(--hero-grijs-thin);--h-neutraal-tekst:var(--hero-grijs-bold);--h-neutraal-stip:var(--hero-grijs-regular);--h-neutraal-rand:var(--hero-grijs-light);--h-neutraal-licht:var(--hero-grijs-hairline);--h-ai-bg:var(--hero-paars-thin);--h-ai-tekst:#6352c6;--h-ai-stip:var(--hero-paars-bold);--h-ai-rand:#d9d2f7;--h-ai-licht:#f7f5fd;--h-stip-bezig:var(--h-ai-stip);--h-stip-wacht:var(--h-waarschuwing-stip);--h-stip-klaar:var(--h-goed-stip);--t-bg:var(--h-neutraal-bg);--t-tekst:var(--h-neutraal-tekst);--t-stip:var(--h-neutraal-stip);--t-rand:var(--h-neutraal-rand);--t-licht:var(--h-neutraal-licht);--p-inkt:var(--h-tekst);--p-inkt-2:#46546c;--p-lijn-zacht:#eceff3;--p-spoor-ring:#1a2b481f;--p-spoor-ring-let-op:#f4601524;--h-focus-breedte:2px;--h-focus-afstand:1px;--h-focus-ring:0 0 0 var(--h-focus-afstand) var(--h-vlak), 0 0 0 calc(var(--h-focus-afstand) + var(--h-focus-breedte)) var(--h-focus);--h-focus-ring-donker:0 0 0 2px var(--h-toast-bg), 0 0 0 calc(2px + var(--h-focus-breedte)) var(--hero-wit);--h-focus-ring-licht:0 0 0 var(--h-focus-afstand) var(--hero-blue), 0 0 0 calc(var(--h-focus-afstand) + var(--h-focus-breedte)) var(--hero-wit);--h-tekst-min:12px;--h-tekst-meta:12px;--h-regel-meta:16px;--h-tekst-basis:14px;--h-regel-basis:20px;--h-tekst-lees:16px;--h-regel-lees:24px;--h-tekst-kop:20px;--h-regel-kop:28px;--h-tekst-groot:24px;--h-regel-groot:32px;--h-tekst-dagstart:30px;--h-regel-dagstart:38px;--h-tikdoel:44px;--h-lijstregel-min:56px;--h-lijstregel-telefoon:72px;--h-breek-telefoon:600px;--h-breek-zijmenu:900px;--h-breek-tussen:1180px;--h-breek-laptop:1440px;--h-zijvlak:360px;--h-selectie-streep:var(--hero-blue);--h-skelet:var(--h-neutraal-bg);--h-overgang:.15s}[data-hero-app-theme="dark"] :where(.app-kto){color-scheme:dark;--h-canvas:#26262a;--h-vlak:#313135;--h-vlak-2:#3f3f44;--h-kopbalk-bg:#202024eb;--h-rand:#ffffff1a;--h-rand-sterk:#fff3;--h-tekst:#f5f5f7;--h-tekst-2:#d1d1d6;--h-tekst-3:#98989d;--h-tekst-placeholder:#8e8e93;--h-invoer-bg:#3f3f44;--h-tabelkop:#ffffff0d;--h-rij-hover:#ffffff0d;--h-menu-hover:#ffffff0f;--h-menu-actief-bg:#f4601529;--h-menu-actief-tekst:#fb8b48;--h-segment-bg:#ffffff1a;--h-actie:#0065cc;--h-actie-hover:#0d72d6;--h-link:#5ac8fa;--h-link-hover:#8fd9ff;--h-focus:#5ac8fa;--h-focus-zacht:#5ac8fa4d;--h-laag:#0009;--h-toast-bg:#4c4c51;--h-toast-hover:#6e6e73;--h-info-bg:#5ac8fa29;--h-info-tekst:#9ad9fb;--h-info-stip:#5ac8fa;--h-info-rand:#5ac8fa73;--h-info-licht:#5ac8fa1a;--h-goed-bg:#34c75929;--h-goed-tekst:#86e6a0;--h-goed-stip:#34c759;--h-goed-rand:#34c75973;--h-goed-licht:#34c7591a;--h-waarschuwing-bg:#ffcc3329;--h-waarschuwing-tekst:#ffd875;--h-waarschuwing-stip:#fc3;--h-waarschuwing-rand:#ffcc3373;--h-waarschuwing-licht:#ffcc331a;--h-fout-bg:#ff5e6229;--h-fout-tekst:#ff9a9c;--h-fout-stip:#ff5e62;--h-fout-rand:#ff5e6273;--h-fout-licht:#ff5e621a;--h-neutraal-bg:#ffffff1a;--h-neutraal-tekst:#d1d1d6;--h-neutraal-stip:#98989d;--h-neutraal-rand:#fff3;--h-neutraal-licht:#ffffff0d;--h-ai-bg:#a78bfa2e;--h-ai-tekst:#c4b5fd;--h-ai-stip:#a78bfa;--h-ai-rand:#a78bfa73;--h-ai-licht:#a78bfa1a;--hero-schaduw-s:0 1px 2px 0 #0000004d;--p-inkt:#f5f5f7;--p-inkt-2:#d1d1d6;--p-lijn-zacht:#ffffff0f;--p-spoor-ring:#f5f5f72e;--p-spoor-ring-let-op:#f460154d}@media (prefers-reduced-motion:reduce){:where(.app-kto){--h-overgang:0s}}:where(.app-kto){--h-oranje-actie:var(--hero-orange);--h-oranje-actie-hover:var(--hero-orange-light);--h-oranje-actie-tekst:var(--hero-blue-black)}@media not all and (min-width:600px){:where(.app-kto){--hero-pagina-padding:12px}}:where(.app-kto){--hero-logo-blauw:#00447b;--hero-logo-oranje:#ed7226;--hero-logo-amber:#f6bd51;--hero-logo-blauw-juni:#073889;--hero-logo-oranje-juni:#f46015;--hero-logo-amber-juni:#f5b863}:where(.app-kto){--background:var(--h-canvas);--foreground:var(--h-tekst);--card:var(--h-vlak);--card-border:var(--h-rand);--sidebar:var(--h-vlak);--sidebar-border:var(--h-rand);--text-primary:var(--h-tekst);--text-secondary:var(--h-tekst-2);--text-muted:var(--h-tekst-3);--text-placeholder:var(--h-tekst-placeholder);--font-h1-size:var(--h-tekst-kop);--font-h1-line-height:var(--h-regel-kop);--font-h1-weight:var(--hero-gewicht-kop);--font-h2-size:var(--hero-tekst-lg);--font-h2-weight:var(--hero-gewicht-kop);--font-h3-size:var(--h-tekst-basis);--font-h3-line-height:var(--h-regel-basis);--font-h3-weight:var(--hero-gewicht-kop);--font-h4-size:var(--h-tekst-meta);--font-h4-line-height:var(--h-regel-meta);--font-h4-weight:var(--hero-gewicht-label);--font-body-size:var(--h-tekst-basis);--font-body-line-height:var(--h-regel-basis);--font-body-weight:var(--hero-gewicht-tekst);--font-lead-size:var(--h-tekst-lees);--font-lead-line-height:var(--h-regel-lees);--font-lead-weight:var(--hero-gewicht-tekst);--font-quote-size:var(--hero-tekst-lg);--font-quote-weight:var(--hero-gewicht-tekst);--font-cta-size:var(--h-tekst-basis);--font-cta-weight:var(--hero-gewicht-knop);--font-thin:var(--hero-gewicht-tekst);--font-extralight:var(--hero-gewicht-tekst);--font-light:var(--hero-gewicht-tekst);--font-regular:var(--hero-gewicht-tekst);--font-medium:var(--hero-gewicht-medium);--font-semibold:var(--hero-gewicht-label);--font-bold:var(--hero-gewicht-nadruk);--font-extrabold:var(--hero-gewicht-kop);--font-black:var(--hero-gewicht-kop);--hero-radius-sm:var(--hero-radius-s);--hero-radius-md:var(--hero-radius-m);--hero-radius-lg:var(--hero-radius-l);--hero-spacing-1:var(--hero-ruimte-4);--hero-spacing-2:var(--hero-ruimte-8);--hero-spacing-3:var(--hero-ruimte-12);--hero-spacing-4:var(--hero-ruimte-16);--hero-spacing-6:var(--hero-ruimte-24);--hero-spacing-8:var(--hero-ruimte-32);--hero-header-height:var(--hero-kopbalk-hoogte);--hero-sidebar-width:var(--hero-zijmenu-breedte);--hero-sidebar-right-width:var(--h-zijvlak);--hero-transition-fast:var(--h-overgang);--hero-transition-normal:var(--h-overgang);--hero-transition-slow:var(--h-overgang);--font-h1-spacing:.02em;--font-h2-spacing:.02em;--font-h3-spacing:.02em;--font-h4-spacing:.02em;--font-h2-line-height:1.75rem;--font-quote-line-height:1.3125rem}:where(.app-kto) .hero-h1{font-family:Exo,sans-serif;font-weight:var(--font-h1-weight);font-size:var(--font-h1-size);line-height:var(--font-h1-line-height);letter-spacing:var(--font-h1-spacing)}:where(.app-kto) .hero-h2{font-family:Exo,sans-serif;font-weight:var(--font-h2-weight);font-size:var(--font-h2-size);line-height:var(--font-h2-line-height);letter-spacing:var(--font-h2-spacing)}:where(.app-kto) .hero-h3{font-family:Exo,sans-serif;font-weight:var(--font-h3-weight);font-size:var(--font-h3-size);line-height:var(--font-h3-line-height);letter-spacing:var(--font-h3-spacing)}:where(.app-kto) .hero-h4{font-family:Exo,sans-serif;font-weight:var(--font-h4-weight);font-size:var(--font-h4-size);line-height:var(--font-h4-line-height);letter-spacing:var(--font-h4-spacing)}:where(.app-kto) .hero-body{font-family:Exo,sans-serif;font-weight:var(--font-body-weight);font-size:var(--font-body-size);line-height:var(--font-body-line-height)}:where(.app-kto) .hero-lead{font-family:Exo,sans-serif;font-weight:var(--font-lead-weight);font-size:var(--font-lead-size);line-height:var(--font-lead-line-height)}:where(.app-kto) .hero-quote{font-family:Exo,sans-serif;font-weight:var(--font-quote-weight);font-size:var(--font-quote-size);line-height:var(--font-quote-line-height)}:where(.app-kto) .hero-cta{font-family:Exo,sans-serif;font-weight:var(--font-cta-weight);font-size:var(--font-cta-size)}:where(.app-kto) .hero-accent-orange{border-left:4px solid var(--hero-orange)}:where(.app-kto) .hero-bg-orange-soft{background:var(--hero-orange-thin)}:where(.app-kto) .hero-btn-orange{background:var(--h-oranje-actie);color:var(--h-oranje-actie-tekst);transition:background var(--h-overgang);border:none}@media (hover:hover){:where(.app-kto) .hero-btn-orange:hover{background:var(--h-oranje-actie-hover);transform:translateY(-1px)}}:where(.app-kto){font-family:var(--hero-font);font-size:var(--h-tekst-basis);line-height:var(--h-regel-basis);background-color:var(--h-canvas);color:var(--h-tekst)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
/* componenten.css: the class rules of the Hero house style (hero-*) and of the platform layer (p-*),
 * taken from huisstijl/tokens.css (sections 2 to 15) and huisstijl/platform.css, without their :root token
 * blocks. Load tokens/hero-tokens.css first (the single source of all values), then this file.
 * The rules and their Dutch comments are the regie's text of 1 October 2026 and change only via the regie;
 * see huisstijl/BRON.md. Literal values of her rules that equal a token are replaced by the
 * token, six others by the nearest role (ticket 6752, 13 October 2026; see the CHANGELOG of 1.0.0); only the blue
 * header bar (.hero-kopbalk-blauw: white with opacity on blue) keeps literal values, the one named exception; a
 * literal colour or an app in one of her comments is named by its role (tickets 7396 and 47978). The
 * logo in the header bar of the platform layer has the token --hero-logo-hoogte (34 px) instead of 38 px, the phone
 * starts below 600 px, (width < 600px) where her rules said 600px (1.0.5, --h-breek-telefoon; a range since 1.0.52),
 * and the side menu becomes a drawer below 900 px, (width < 900px) where her rules said 900px (1.0.6,
 * --h-breek-zijmenu): the tokens
 * lead (decision of the regie, 10 October 2026). Since 1.0.6 every rule with :hover stands in @media (hover: hover),
 * so that a touch screen keeps no hover style after a tap (ticket 10461), and the progress bar in the tones goed and
 * waarschuwing takes the text token of its tone, which reaches 3:1 for a bar (WCAG 1.4.11). Three of her rules are
 * corrected after this file, in componenten/aanvulling/00-huisstijl-correcties.css (load componenten/aanvulling.css
 * after it): the step of an AI colleague (.p-trede) in full colour without opacity, the icon button as a tap target
 * of 44 px on the phone, and since 1.0.8 the light primary button (.hero-knop-primair-licht) with its text in --h-link.
 * Fonts: Exo (OFL) from ../huisstijl/fonts/. Caveat is left out on purpose until its file is in huisstijl/fonts/;
 * --hero-font-hand falls back to a system hand. Generated by toets/bouw-componenten-css.py.
 */

/* 0. Fonts */
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:400;src:url(./exo-latin-ext-400-normal-B28fqpFm.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:400;src:url(./exo-latin-400-normal-D8KS7ddm.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:500;src:url(./exo-latin-ext-500-normal-BIdaBT7G.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:500;src:url(./exo-latin-500-normal-C0tOtMD3.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:600;src:url(./exo-latin-ext-600-normal-B44DbxjS.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:600;src:url(./exo-latin-600-normal-Bj_6olIa.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:700;src:url(./exo-latin-ext-700-normal-Bfo6Yegm.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:700;src:url(./exo-latin-700-normal-CFqZ6J3B.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Exo';font-style:normal;font-display:swap;font-weight:800;src:url(./Exo-ExtraBold-Dpd6eRDO.ttf) format("truetype")}

/* ===== Classes from huisstijl/tokens.css ===== */
/* =====================================================================
 * 2. BASIS
 * ===================================================================== */
:where(.app-kto) *, :where(.app-kto) *::before, :where(.app-kto) *::after { box-sizing: border-box; }
:where(.app-kto) { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; }
:where(.app-kto) {
  margin: 0;
  background: var(--h-canvas);
  color: var(--h-tekst);
  font-family: var(--hero-font);
  font-size: var(--hero-tekst-sm);
  line-height: 20px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:where(.app-kto) :where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd) { margin: 0; }
:where(.app-kto) :where(h1) { font-size: var(--hero-tekst-xl); line-height: 28px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) :where(h2) { font-size: var(--hero-tekst-lg); line-height: 26px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) :where(h3) { font-size: var(--hero-tekst-sm); line-height: 20px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) :where(h4) { font-size: var(--hero-tekst-xs); line-height: 16px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) :where(a) { color: var(--h-link); text-underline-offset: 2px; }
:where(.app-kto) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.app-kto) :where(button) { cursor: pointer; }
:where(.app-kto) :where(table) { border-collapse: collapse; }
:where(.app-kto) :where(hr) { border: 0; height: 1px; background: var(--h-rand); margin: 0; }
:where(.app-kto) :where(img, svg) { max-width: 100%; }
:where(.app-kto) :focus-visible { outline: 2px solid var(--h-focus); outline-offset: 1px; }

/* Tekstklassen */
:where(.app-kto) .hero-h1 { font-size: var(--hero-tekst-xl); line-height: 28px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-h2 { font-size: var(--hero-tekst-lg); line-height: 26px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-h3 { font-size: var(--hero-tekst-sm); line-height: 20px; font-weight: var(--hero-gewicht-kop); }
/* Alleen voor aanmeld- en welkomstschermen: de H1 van de shell-tokenset (shell/src/styles.css regel 406-409: 36/38 px, 700, +0,02 em) */
:where(.app-kto) .hero-display { font-size: 36px; line-height: 38px; font-weight: var(--hero-gewicht-kop); letter-spacing: 0.02em; }
:where(.app-kto) .hero-tekst { font-size: var(--hero-tekst-sm); line-height: 20px; }
:where(.app-kto) .hero-tekst-klein { font-size: var(--hero-tekst-xs); line-height: 16px; }
:where(.app-kto) .hero-meta { font-size: var(--hero-tekst-meta); line-height: 14px; }
:where(.app-kto) .hero-label-klein { font-size: var(--hero-tekst-xs); line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
:where(.app-kto) .hero-cijfer { font-variant-numeric: tabular-nums; }
:where(.app-kto) .hero-cijfer-groot { font-size: var(--hero-tekst-2xl); line-height: 28px; font-weight: var(--hero-gewicht-kop); font-variant-numeric: tabular-nums; }
/* Kop in Hero Blauw (een app: paneelkoppen en cijfers); op donker lichtblauw */
:where(.app-kto) .hero-kop-merk { color: var(--hero-blue); }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-kop-merk { color: var(--h-link); }
/* Handschrift-accent, alleen voor de lege staat ("Alles goedgekeurd!"); zie sectie 3 van de kop (Caveat ontbreekt als bestand) */
:where(.app-kto) .hero-hand { display: block; margin-bottom: 4px; font-family: var(--hero-font-hand); font-size: 36px; line-height: 40px; font-weight: 600; color: var(--hero-blue); }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-hand { color: var(--h-link); }
:where(.app-kto) .hero-gedempt { color: var(--h-tekst-2); }
:where(.app-kto) .hero-zacht { color: var(--h-tekst-3); }
:where(.app-kto) .hero-tekst-goed { color: var(--h-goed-tekst); }
:where(.app-kto) .hero-tekst-fout { color: var(--h-fout-tekst); }
:where(.app-kto) .hero-tekst-waarschuwing { color: var(--h-waarschuwing-tekst); }
:where(.app-kto) .hero-tekst-blauw { color: var(--h-link); }
:where(.app-kto) .hero-vet { font-weight: 600; }
:where(.app-kto) .hero-afkappen { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where(.app-kto) .hero-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hulpklassen voor indeling */
:where(.app-kto) .hero-rij { display: flex; align-items: center; flex-wrap: wrap; gap: var(--g, 8px); }
:where(.app-kto) .hero-rij-geen-wrap { flex-wrap: nowrap; }
:where(.app-kto) .hero-stapel { display: flex; flex-direction: column; gap: var(--g, 12px); }
:where(.app-kto) .hero-raster { display: grid; gap: var(--g, 12px); grid-template-columns: repeat(var(--kolommen, 2), minmax(0, 1fr)); }
:where(.app-kto) .hero-raster-2 { --kolommen: 2; }
:where(.app-kto) .hero-raster-3 { --kolommen: 3; }
:where(.app-kto) .hero-raster-4 { --kolommen: 4; }
:where(.app-kto) .hero-hoofd-zijkant { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
:where(.app-kto) .hero-ruimte { flex: 1 1 auto; }
:where(.app-kto) .hero-scheiding { height: 1px; background: var(--h-rand); border: 0; margin: 0; }

/* Pictogrammen: <i class="hero-icoon hero-icoon-search"></i>, kleur volgt de tekstkleur */
:where(.app-kto) .hero-icoon {
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: var(--hero-icoon) center / contain no-repeat;
  mask: var(--hero-icoon) center / contain no-repeat;
  vertical-align: -3px;
}
:where(.app-kto) .hero-icoon-14 { width: 14px; height: 14px; }
:where(.app-kto) .hero-icoon-18 { width: 18px; height: 18px; }
:where(.app-kto) .hero-icoon-20 { width: 20px; height: 20px; }
:where(.app-kto) .hero-icoon-24 { width: 24px; height: 24px; }

/* Tonen: een toonklasse zet de kleuren voor label, tegel, punt en melding */
:where(.app-kto) .hero-toon-info { --t-bg: var(--h-info-bg); --t-tekst: var(--h-info-tekst); --t-stip: var(--h-info-stip); --t-rand: var(--h-info-rand); --t-licht: var(--h-info-licht); }
:where(.app-kto) .hero-toon-goed { --t-bg: var(--h-goed-bg); --t-tekst: var(--h-goed-tekst); --t-stip: var(--h-goed-stip); --t-rand: var(--h-goed-rand); --t-licht: var(--h-goed-licht); }
:where(.app-kto) .hero-toon-waarschuwing { --t-bg: var(--h-waarschuwing-bg); --t-tekst: var(--h-waarschuwing-tekst); --t-stip: var(--h-waarschuwing-stip); --t-rand: var(--h-waarschuwing-rand); --t-licht: var(--h-waarschuwing-licht); }
:where(.app-kto) .hero-toon-fout { --t-bg: var(--h-fout-bg); --t-tekst: var(--h-fout-tekst); --t-stip: var(--h-fout-stip); --t-rand: var(--h-fout-rand); --t-licht: var(--h-fout-licht); }
:where(.app-kto) .hero-toon-neutraal { --t-bg: var(--h-neutraal-bg); --t-tekst: var(--h-neutraal-tekst); --t-stip: var(--h-neutraal-stip); --t-rand: var(--h-neutraal-rand); --t-licht: var(--h-neutraal-licht); }
:where(.app-kto) .hero-toon-ai { --t-bg: var(--h-ai-bg); --t-tekst: var(--h-ai-tekst); --t-stip: var(--h-ai-stip); --t-rand: var(--h-ai-rand); --t-licht: var(--h-ai-licht); }

/* =====================================================================
 * 3. PAGINA-INDELING: kopbalk, zijmenu, inhoud
 *    <div class="hero-app"> <header class="hero-kopbalk">...</header>
 *      <nav class="hero-zijmenu">...</nav> <main class="hero-inhoud"><div class="hero-pagina">...</div></main> </div>
 * ===================================================================== */
:where(.app-kto) .hero-app {
  display: grid;
  grid-template-columns: var(--hero-zijmenu-breedte) minmax(0, 1fr);
  grid-template-rows: var(--hero-kopbalk-hoogte) minmax(0, 1fr);
  min-height: 100vh;
  /* de witte zijmenukolom loopt door over de hele paginalengte, ook bij een lange pagina of hele-pagina-afbeelding */
  background: linear-gradient(to right,
    var(--h-vlak) 0, var(--h-vlak) calc(var(--hero-zijmenu-breedte) - 1px),
    var(--h-rand) calc(var(--hero-zijmenu-breedte) - 1px), var(--h-rand) var(--hero-zijmenu-breedte),
    var(--h-canvas) var(--hero-zijmenu-breedte));
}
:where(.app-kto) .hero-kopbalk {
  grid-column: 1 / -1;
  grid-row: 1;
  position: sticky;
  top: 0;
  z-index: var(--hero-z-kopbalk);
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--hero-kopbalk-hoogte);
  padding: 0 16px;
  background: var(--h-kopbalk-bg);
  border-bottom: 1px solid var(--h-rand);
  backdrop-filter: blur(8px);
}
:where(.app-kto) .hero-logo { display: inline-flex; align-items: center; flex: none; width: calc(var(--hero-zijmenu-breedte) - 32px); }
:where(.app-kto) .hero-logo img { display: block; height: var(--hero-logo-hoogte); width: auto; }
:where(.app-kto) .hero-logo .hero-logo-donker { display: none; }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-logo .hero-logo-licht { display: none; }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-logo .hero-logo-donker { display: block; }
:where(.app-kto) .hero-kopbalk-acties { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Kopbalk in Hero Blauw met wit logo en apptitel, zoals in een app (briefing §8.2: "Header: blauw, wit Hero-logo, apptitel,
   subtitel, gebruiker rechts"). Gebruik logo/hero-woordmerk-wit.svg.
   <header class="hero-kopbalk hero-kopbalk-blauw"><a class="hero-logo"><img src="logo/hero-woordmerk-wit.svg" alt="Hero"></a>
   <div class="hero-apptitel"><b>Facturen</b><span>Automatische inkoopfactuurverwerking</span></div> ... </header> */
:where(.app-kto) .hero-kopbalk-blauw {
  background: var(--hero-blue);
  border-bottom-color: transparent;
  color: var(--hero-wit);
  box-shadow: 0 6px 22px rgba(3, 21, 63, 0.22);
  backdrop-filter: none;
}
:where(.app-kto) .hero-kopbalk-blauw .hero-logo { width: auto; padding-right: 4px; }
:where(.app-kto) .hero-apptitel { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.28); }
:where(.app-kto) .hero-apptitel b { font-size: 17px; line-height: 20px; font-weight: var(--hero-gewicht-kop); letter-spacing: 0.01em; white-space: nowrap; }
:where(.app-kto) .hero-apptitel span { font-size: var(--hero-tekst-xs); line-height: 14px; color: rgba(255, 255, 255, 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:where(.app-kto) .hero-kopbalk-blauw .hero-zoek { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); color: var(--hero-wit); }
@media (hover: hover) {
  :where(.app-kto) .hero-kopbalk-blauw .hero-zoek:hover { border-color: rgba(255, 255, 255, 0.5); }
}
:where(.app-kto) .hero-kopbalk-blauw .hero-zoek .hero-icoon, :where(.app-kto) .hero-kopbalk-blauw .hero-zoek-tekst { color: rgba(255, 255, 255, 0.85); }
:where(.app-kto) .hero-kopbalk-blauw .hero-kbd { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.85); }
:where(.app-kto) .hero-kopbalk-blauw .hero-knop-rustig { color: var(--hero-wit); }
@media (hover: hover) {
  :where(.app-kto) .hero-kopbalk-blauw .hero-knop-rustig:hover { background: rgba(255, 255, 255, 0.14); color: var(--hero-wit); }
}
:where(.app-kto) .hero-kopbalk-blauw .hero-knop:focus-visible { box-shadow: 0 0 0 1px var(--hero-blue), 0 0 0 3px var(--hero-wit); }
:where(.app-kto) .hero-kopbalk-blauw .hero-meldpunt::after { box-shadow: 0 0 0 2px var(--hero-blue); }
:where(.app-kto) .hero-kopbalk-blauw .hero-avatar { background: var(--hero-orange); color: var(--hero-wit); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28); }
:where(.app-kto) .hero-kopbalk .hero-menuknop { display: none; }
:where(.app-kto) .hero-zoek {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  max-width: 480px;
  min-width: 0;
  height: 36px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius);
  background: var(--h-vlak-2);
  color: var(--h-tekst-2);
  font-size: var(--hero-tekst-sm);
  text-align: left;
}
@media (hover: hover) {
  :where(.app-kto) .hero-zoek:hover { border-color: var(--h-rand-sterk); }
}
:where(.app-kto) .hero-zoek .hero-icoon { color: var(--h-tekst-3); }
:where(.app-kto) .hero-zoek-tekst { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--h-tekst-3); }
:where(.app-kto) .hero-kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--h-rand-sterk);
  border-radius: var(--hero-radius-m);
  background: var(--h-vlak);
  color: var(--h-tekst-3);
  font-size: var(--hero-tekst-meta);
  line-height: 16px;
}
:where(.app-kto) .hero-meldpunt { position: relative; }
:where(.app-kto) .hero-meldpunt::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-orange);
  box-shadow: 0 0 0 2px var(--h-vlak);
}

:where(.app-kto) .hero-zijmenu {
  grid-column: 1;
  grid-row: 2;
  position: sticky;                 /* blijft in beeld bij scrollen, net als in de shell */
  top: var(--hero-kopbalk-hoogte);
  align-self: start;
  height: calc(100vh - var(--hero-kopbalk-hoogte));
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  overflow-y: auto;
  background: var(--h-vlak);
  border-right: 1px solid var(--h-rand);
}
:where(.app-kto) .hero-zijmenu-groep {
  margin: 14px 0 4px;
  padding: 0 10px;
  font-size: var(--hero-tekst-meta);
  line-height: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--h-tekst-3);
}
:where(.app-kto) .hero-zijmenu-groep:first-child { margin-top: 2px; }
:where(.app-kto) .hero-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: var(--hero-radius);
  color: var(--h-tekst-2);
  font-size: var(--hero-tekst-sm);
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
:where(.app-kto) .hero-menu-item .hero-icoon { color: var(--h-tekst-3); }
@media (hover: hover) {
  :where(.app-kto) .hero-menu-item:hover { background: var(--h-menu-hover); color: var(--h-tekst); }
}
:where(.app-kto) .hero-menu-item[aria-current="page"], :where(.app-kto) .hero-menu-item.is-actief {
  background: var(--h-menu-actief-bg);
  color: var(--h-menu-actief-tekst);
  font-weight: 600;
}
:where(.app-kto) .hero-menu-item[aria-current="page"] .hero-icoon, :where(.app-kto) .hero-menu-item.is-actief .hero-icoon { color: currentColor; }
:where(.app-kto) .hero-menu-item[aria-current="page"]::before, :where(.app-kto) .hero-menu-item.is-actief::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--hero-orange);
}
:where(.app-kto) .hero-menu-item .hero-teller { margin-left: auto; }
:where(.app-kto) .hero-menu-sub { margin-left: 26px; padding-left: 8px; border-left: 1px solid var(--h-rand); display: flex; flex-direction: column; gap: 2px; }
:where(.app-kto) .hero-menu-sub .hero-menu-item { min-height: 32px; font-size: var(--hero-tekst-xs); }
:where(.app-kto) .hero-zijmenu-voet {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--h-rand);
  display: flex;
  align-items: center;
  gap: 10px;
}
:where(.app-kto) .hero-inhoud { grid-column: 2; grid-row: 2; min-width: 0; }

/* Ingeklapt zijmenu (de "rail" van 56 px in de shell): <div class="hero-app hero-app-rail">. Alleen pictogrammen. */
:where(.app-kto) .hero-app-rail { --hero-zijmenu-breedte: 56px; }
:where(.app-kto) .hero-app-rail .hero-logo { width: auto; }
:where(.app-kto) .hero-app-rail .hero-zijmenu { align-items: center; padding: 8px; }
:where(.app-kto) .hero-app-rail .hero-menu-item { width: 40px; min-height: 40px; padding: 0; justify-content: center; gap: 0; font-size: 0; }
:where(.app-kto) .hero-app-rail .hero-menu-item .hero-teller, :where(.app-kto) .hero-app-rail .hero-zijmenu-groep, :where(.app-kto) .hero-app-rail .hero-menu-sub { display: none; }
:where(.app-kto) .hero-app-rail .hero-menu-item[aria-current="page"]::before, :where(.app-kto) .hero-app-rail .hero-menu-item.is-actief::before { top: 11px; bottom: 11px; }
:where(.app-kto) .hero-app-rail .hero-zijmenu-voet { flex-direction: column; border-top: 0; padding-top: 0; }
:where(.app-kto) .hero-app-rail .hero-zijmenu-voet > :not(.hero-avatar) { display: none; }
:where(.app-kto) .hero-pagina { display: flex; flex-direction: column; gap: 16px; padding: var(--hero-pagina-padding); }

/* Paginakop: icoontegel, titel, ondertitel, acties rechts */
:where(.app-kto) .hero-paginakop { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
:where(.app-kto) .hero-paginakop-titelblok { display: flex; align-items: center; gap: 12px; min-width: 0; }
:where(.app-kto) .hero-paginakop-icoon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--hero-radius-l);
  background: linear-gradient(135deg, var(--hero-blue-soft), var(--hero-blue-hairline));
  color: var(--hero-blue);
  box-shadow: inset 0 0 0 1px var(--hero-blue-soft);
}
[data-hero-app-theme="dark"] :where(.app-kto) .hero-paginakop-icoon { background: var(--h-info-bg); color: var(--h-info-tekst); box-shadow: inset 0 0 0 1px var(--h-info-rand); }
:where(.app-kto) .hero-paginakop-titel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:where(.app-kto) .hero-paginakop-titel h1 { font-size: var(--hero-tekst-xl); line-height: 28px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-paginakop-sub { font-size: var(--hero-tekst-sm); line-height: 20px; color: var(--h-tekst-2); }
:where(.app-kto) .hero-paginakop-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:where(.app-kto) .hero-terug { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: var(--hero-tekst-sm); color: var(--h-tekst-2); text-decoration: none; }
@media (hover: hover) {
  :where(.app-kto) .hero-terug:hover { color: var(--h-tekst); }
}
:where(.app-kto) .hero-broodkruimel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--hero-tekst-xs); line-height: 16px; color: var(--h-tekst-2); }
:where(.app-kto) .hero-broodkruimel a { color: var(--h-tekst-2); text-decoration: none; }
@media (hover: hover) {
  :where(.app-kto) .hero-broodkruimel a:hover { color: var(--h-link); text-decoration: underline; }
}
:where(.app-kto) .hero-broodkruimel > * + *::before { content: "/"; margin-right: 6px; color: var(--h-rand-sterk); }
:where(.app-kto) .hero-broodkruimel [aria-current="page"] { color: var(--h-tekst); font-weight: 600; }

/* =====================================================================
 * 4. KAART, KPI-TEGEL, SECTIEKOP
 * ===================================================================== */
:where(.app-kto) .hero-kaart {
  background: var(--h-vlak);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-l);
  box-shadow: var(--hero-schaduw-s);
}
:where(.app-kto) .hero-kaart-plat { box-shadow: none; }
:where(.app-kto) .hero-kaart-klikbaar { cursor: pointer; transition: border-color 0.15s; }
@media (hover: hover) {
  :where(.app-kto) .hero-kaart-klikbaar:hover { border-color: var(--hero-blue-light); }
}
:where(.app-kto) .hero-kaart-kop { display: flex; align-items: center; gap: 8px; padding: 8px 12px; min-height: 40px; border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .hero-kaart-kop > .hero-icoon { color: var(--hero-blue); }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-kaart-kop > .hero-icoon { color: var(--h-info-stip); }
:where(.app-kto) .hero-kaart-titel { font-size: var(--hero-tekst-sm); line-height: 20px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-kaart-acties { margin-left: auto; display: flex; align-items: center; gap: 8px; }
:where(.app-kto) .hero-kaart-body { padding: 16px; }
:where(.app-kto) .hero-kaart-body-dicht { padding: 12px; }
:where(.app-kto) .hero-kaart-voet { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--h-rand); }

:where(.app-kto) .hero-kpi-rij { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
:where(.app-kto) .hero-kpi {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  background: var(--h-vlak);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-l);
  text-align: left;
}
:where(.app-kto) button.hero-kpi { width: 100%; cursor: pointer; transition: border-color 0.15s; }
@media (hover: hover) {
  :where(.app-kto) button.hero-kpi:hover { border-color: var(--hero-blue-light); }
}
:where(.app-kto) .hero-kpi.is-actief { border-color: var(--hero-blue); box-shadow: 0 0 0 1px var(--hero-blue); }
:where(.app-kto) .hero-kpi-icoon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--hero-radius);
  background: var(--t-bg);
  color: var(--t-tekst);
}
:where(.app-kto) .hero-kpi-tekst { display: block; min-width: 0; }
:where(.app-kto) .hero-kpi-waarde, :where(.app-kto) .hero-kpi-label, :where(.app-kto) .hero-kpi-hint { display: block; }
:where(.app-kto) .hero-kpi-waarde { font-size: var(--hero-tekst-xl); line-height: 24px; font-weight: var(--hero-gewicht-kop); font-variant-numeric: tabular-nums; }
:where(.app-kto) .hero-kpi-label { font-size: var(--hero-tekst-xs); line-height: 16px; color: var(--h-tekst-2); }
:where(.app-kto) .hero-kpi-hint { font-size: var(--hero-tekst-meta); line-height: 14px; color: var(--hero-orange-medium); }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-kpi-hint { color: var(--h-waarschuwing-tekst); }

:where(.app-kto) .hero-sectiekop { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
:where(.app-kto) .hero-sectiekop::before { content: ""; width: 4px; height: 14px; border-radius: 999px; background: var(--hero-blue); flex: none; }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-sectiekop::before { background: var(--h-info-stip); }
:where(.app-kto) .hero-sectiekop h2 { font-size: var(--hero-tekst-xs); line-height: 16px; font-weight: var(--hero-gewicht-kop); text-transform: uppercase; letter-spacing: 0.08em; }
:where(.app-kto) .hero-sectiekop::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--h-rand); order: 5; min-width: 16px; }
:where(.app-kto) .hero-sectiekop > :last-child:not(h2) { order: 6; }

/* Tellertje (pil met een getal) */
:where(.app-kto) .hero-teller {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  border-radius: var(--hero-radius-pil);
  background: var(--h-neutraal-bg);
  color: var(--h-neutraal-tekst);
  font-size: var(--hero-tekst-meta);
  line-height: 18px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
:where(.app-kto) .hero-teller-blauw { background: var(--h-info-bg); color: var(--h-info-tekst); }
:where(.app-kto) .hero-teller-oranje { background: var(--h-waarschuwing-bg); color: var(--h-waarschuwing-tekst); }
:where(.app-kto) .hero-teller-rood { background: var(--h-fout-bg); color: var(--h-fout-tekst); }

/* =====================================================================
 * 5. KNOPPEN
 *    <button class="hero-knop hero-knop-primair">  (secundair | rustig | primair-licht | succes | gevaar | gevaar-licht)
 *    Klein: + hero-knop-klein. Alleen icoon: + hero-knop-icoon. Uitgeschakeld = disabled (grijs vlak, geen doorzichtigheid).
 * ===================================================================== */
:where(.app-kto) .hero-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--hero-knop-hoogte);
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--hero-radius);
  font-size: var(--hero-tekst-sm);
  line-height: 20px;
  font-weight: var(--hero-gewicht-knop);
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
:where(.app-kto) .hero-knop:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--h-vlak), 0 0 0 3px var(--h-focus); }
:where(.app-kto) .hero-knop:disabled, :where(.app-kto) .hero-knop.is-uit { cursor: not-allowed; }
:where(.app-kto) .hero-knop-klein { min-height: var(--hero-knop-hoogte-klein); padding: 0 12px; font-size: var(--hero-tekst-xs); line-height: 16px; }
:where(.app-kto) .hero-knop-icoon { width: var(--hero-knop-hoogte); padding: 0; }
:where(.app-kto) .hero-knop-icoon.hero-knop-klein { width: var(--hero-knop-hoogte-klein); }
:where(.app-kto) .hero-knop-groot { min-height: 48px; padding: 0 20px; font-size: var(--hero-tekst-md); line-height: 24px; }   /* handboek blz. 8: Large */
:where(.app-kto) .hero-knop-xl { min-height: 56px; padding: 0 24px; font-size: var(--hero-tekst-md); line-height: 24px; }      /* handboek blz. 8-9: Extra Large */
:where(.app-kto) .hero-knop-icoon.hero-knop-groot { width: 48px; }
:where(.app-kto) .hero-knop-icoon.hero-knop-xl { width: 56px; }

:where(.app-kto) .hero-knop-primair { background: var(--h-actie); color: var(--h-actie-tekst); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-primair:hover { background: var(--h-actie-hover); }
}
:where(.app-kto) .hero-knop-primair:disabled, :where(.app-kto) .hero-knop-primair.is-uit { background: var(--hero-grijs-thin); color: var(--hero-grijs-bold); }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-primair:disabled { background: var(--h-neutraal-bg); color: var(--h-neutraal-tekst); }

:where(.app-kto) .hero-knop-secundair { background: var(--h-vlak); border-color: var(--h-rand); color: var(--h-tekst-2); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-secundair:hover { border-color: var(--h-link); color: var(--h-link); }
}
:where(.app-kto) .hero-knop-secundair:disabled, :where(.app-kto) .hero-knop-secundair.is-uit { border-color: var(--h-rand); background: var(--h-vlak); color: var(--hero-grijs-regular); }

:where(.app-kto) .hero-knop-primair-licht { background: var(--h-vlak); border-color: var(--hero-blue); color: var(--hero-blue); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-primair-licht:hover { background: var(--h-info-licht); }
}
[data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-primair-licht { border-color: var(--h-info-stip); color: var(--h-info-tekst); }

:where(.app-kto) .hero-knop-rustig { background: transparent; color: var(--h-tekst-2); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-rustig:hover { background: var(--h-neutraal-bg); color: var(--h-tekst); }
}
:where(.app-kto) .hero-knop-rustig:disabled, :where(.app-kto) .hero-knop-rustig.is-uit { background: transparent; color: var(--hero-grijs-regular); }

:where(.app-kto) .hero-knop-succes { background: var(--hero-groen-bold); color: var(--hero-wit); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-succes:hover { background: var(--hero-groen-black); }
}
:where(.app-kto) .hero-knop-succes:disabled, :where(.app-kto) .hero-knop-succes.is-uit { background: var(--hero-grijs-thin); color: var(--hero-grijs-bold); }

:where(.app-kto) .hero-knop-gevaar { background: var(--hero-rood); color: var(--hero-wit); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-gevaar:hover { background: var(--hero-rood-bold); }
}
:where(.app-kto) .hero-knop-gevaar:disabled, :where(.app-kto) .hero-knop-gevaar.is-uit { background: var(--hero-grijs-thin); color: var(--hero-grijs-bold); }
:where(.app-kto) .hero-knop-gevaar-licht { background: var(--h-vlak); border-color: var(--h-rand); color: var(--h-fout-tekst); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-gevaar-licht:hover { border-color: var(--hero-rood); background: var(--h-fout-bg); }
}

/* Zwarte actieknop: een modus afsluiten, nadrukkelijk zonder de primaire kleur te claimen (ui.tsx regel 141) */
:where(.app-kto) .hero-knop-donker { background: var(--hero-grijs-black); color: var(--hero-wit); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-donker:hover { background: var(--hero-grijs-bold); }
}
:where(.app-kto) .hero-knop-donker:disabled, :where(.app-kto) .hero-knop-donker.is-uit { background: var(--hero-grijs-thin); color: var(--hero-grijs-bold); }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-donker { background: var(--h-tekst); color: var(--h-canvas); }
@media (hover: hover) {
  [data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-donker:hover { background: var(--h-tekst-2); }
}
[data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-donker:disabled { background: var(--h-neutraal-bg); color: var(--h-neutraal-tekst); }

/* Oranje actieknop (handboek blz. 8 Solid oranje; een app "Goedkeuren", portaal "Nieuw..."): de ene opvallende actie van een
   scherm. Wit op Hero Oranje (--h-oranje-actie) haalt 3,2:1: houd het label kort. De standaard hoofdactie blijft hero-knop-primair (blauw). */
:where(.app-kto) .hero-knop-oranje { background: var(--h-oranje-actie); color: var(--hero-wit); }
@media (hover: hover) {
  :where(.app-kto) .hero-knop-oranje:hover { background: var(--h-oranje-actie-hover); }
}
:where(.app-kto) .hero-knop-oranje:disabled, :where(.app-kto) .hero-knop-oranje.is-uit { background: var(--hero-grijs-thin); color: var(--hero-grijs-bold); }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-oranje:disabled { background: var(--h-neutraal-bg); color: var(--h-neutraal-tekst); }

:where(.app-kto) .hero-knopgroep { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* =====================================================================
 * 6. FORMULIEREN
 *    <div class="hero-veld"><label class="hero-label" for="x">Naam</label><input class="hero-invoer" id="x"><p class="hero-hint">...</p></div>
 *    Foutstaat: aria-invalid="true" of .is-fout, plus <p class="hero-fout">. Filterbalk: .hero-invoer-klein (32 px).
 * ===================================================================== */
:where(.app-kto) .hero-veld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
:where(.app-kto) .hero-label { font-size: var(--hero-tekst-xs); line-height: 16px; font-weight: 600; color: var(--h-tekst); }
:where(.app-kto) .hero-label-vereist::after { content: " *"; color: var(--h-fout-tekst); }
:where(.app-kto) .hero-hint { font-size: var(--hero-tekst-xs); line-height: 16px; color: var(--h-tekst-3); }
:where(.app-kto) .hero-fout { display: flex; align-items: center; gap: 6px; font-size: var(--hero-tekst-xs); line-height: 16px; color: var(--h-fout-tekst); }
:where(.app-kto) .hero-invoer {
  display: block;
  width: 100%;
  min-height: var(--hero-knop-hoogte);
  padding: 8px 12px;
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius);
  background: var(--h-invoer-bg);
  color: var(--h-tekst);
  font-size: var(--hero-tekst-sm);
  line-height: 20px;
  box-shadow: var(--hero-schaduw-s);
  outline: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
:where(.app-kto) .hero-invoer::-moz-placeholder { color: var(--h-tekst-placeholder); }
:where(.app-kto) .hero-invoer::placeholder { color: var(--h-tekst-placeholder); }
@media (hover: hover) {
  :where(.app-kto) .hero-invoer:hover { border-color: var(--h-rand-sterk); }
}
:where(.app-kto) .hero-invoer:focus { border-color: var(--h-focus); box-shadow: 0 0 0 2px var(--h-focus-zacht); }
:where(.app-kto) .hero-invoer:disabled { background: var(--h-vlak-2); color: var(--hero-grijs-regular); box-shadow: none; cursor: not-allowed; }
:where(.app-kto) .hero-invoer[aria-invalid="true"], :where(.app-kto) .hero-invoer.is-fout { border-color: var(--h-fout-stip); box-shadow: 0 0 0 2px var(--h-fout-bg); }
:where(.app-kto) .hero-invoer.is-goed { border-color: var(--h-goed-stip); }
:where(.app-kto) .hero-invoer-klein { min-height: var(--hero-knop-hoogte-klein); padding: 4px 10px; font-size: var(--hero-tekst-xs); line-height: 16px; }
:where(.app-kto) textarea.hero-invoer { min-height: 96px; resize: vertical; }
:where(.app-kto) select.hero-invoer {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6d78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}
:where(.app-kto) select.hero-invoer.hero-invoer-klein { padding-right: 30px; background-position: right 8px center; }
:where(.app-kto) .hero-zoekveld { position: relative; min-width: 192px; flex: 1 1 192px; }
:where(.app-kto) .hero-zoekveld > .hero-icoon { position: absolute; left: 10px; top: 50%; margin-top: -7px; width: 14px; height: 14px; color: var(--h-tekst-3); pointer-events: none; }
:where(.app-kto) .hero-zoekveld > .hero-invoer { padding-left: 32px; }
:where(.app-kto) .hero-filterbalk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:where(.app-kto) .hero-filterbalk > .hero-invoer { width: auto; }
:where(.app-kto) .hero-velden { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
:where(.app-kto) .hero-velden .hero-veld-breed { grid-column: 1 / -1; }

/* Selectievakje, keuzerondje, schakelaar */
:where(.app-kto) .hero-keuze { display: inline-flex; align-items: center; gap: 8px; font-size: var(--hero-tekst-sm); line-height: 20px; cursor: pointer; }
:where(.app-kto) .hero-vink, :where(.app-kto) .hero-radio {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--h-rand-sterk);
  background: var(--h-invoer-bg);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
:where(.app-kto) .hero-vink { border-radius: var(--hero-radius-s); }
:where(.app-kto) .hero-radio { border-radius: 50%; }
:where(.app-kto) .hero-vink:checked, :where(.app-kto) .hero-radio:checked { background-color: var(--h-actie); border-color: var(--h-actie); }
:where(.app-kto) .hero-vink:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
:where(.app-kto) .hero-radio:checked { background-image: radial-gradient(circle, var(--hero-wit) 0 3.5px, transparent 4px); }
:where(.app-kto) .hero-vink:disabled, :where(.app-kto) .hero-radio:disabled { background-color: var(--h-neutraal-bg); border-color: var(--h-neutraal-bg); cursor: not-allowed; }
:where(.app-kto) .hero-vink:disabled:checked, :where(.app-kto) .hero-radio:disabled:checked { background-color: var(--hero-grijs-light); border-color: var(--hero-grijs-light); }
:where(.app-kto) .hero-schakelaar {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 36px;
  height: 20px;
  margin: 0;
  border-radius: var(--hero-radius-pil);
  background: var(--hero-grijs-light);
  cursor: pointer;
  transition: background-color 0.15s;
}
:where(.app-kto) .hero-schakelaar::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--hero-wit);
  box-shadow: var(--hero-schaduw-s);
  transition: transform 0.15s;
}
:where(.app-kto) .hero-schakelaar:checked { background: var(--h-actie); }
:where(.app-kto) .hero-schakelaar:checked::after { transform: translateX(16px); }
:where(.app-kto) .hero-schakelaar:disabled { background: var(--hero-grijs-thin); cursor: not-allowed; }

/* =====================================================================
 * 7. TABS
 * ===================================================================== */
:where(.app-kto) .hero-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .hero-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: -1px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--h-tekst-3);
  font-size: var(--hero-tekst-sm);
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s;
}
@media (hover: hover) {
  :where(.app-kto) .hero-tab:hover { color: var(--h-tekst); }
}
:where(.app-kto) .hero-tab[aria-selected="true"], :where(.app-kto) .hero-tab.is-actief { color: var(--h-link); border-bottom-color: var(--hero-orange); }
:where(.app-kto) .hero-tab .hero-teller { background: var(--h-neutraal-bg); }
:where(.app-kto) .hero-tab-stip { width: 6px; height: 6px; border-radius: 50%; background: var(--hero-orange); }
:where(.app-kto) .hero-segmenten { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--hero-radius); background: var(--h-segment-bg); }
:where(.app-kto) .hero-segment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 12px;
  border: 0;
  border-radius: var(--hero-radius-m);
  background: transparent;
  color: var(--h-tekst-2);
  font-size: var(--hero-tekst-sm);
  font-weight: 500;
}
@media (hover: hover) {
  :where(.app-kto) .hero-segment:hover { color: var(--h-tekst); }
}
:where(.app-kto) .hero-segment[aria-selected="true"], :where(.app-kto) .hero-segment.is-actief { background: var(--h-vlak); color: var(--h-tekst); box-shadow: var(--hero-schaduw-m); }

/* Filterchip (aan/uit) */
:where(.app-kto) .hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 2px 10px;
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-pil);
  background: var(--h-vlak);
  color: var(--h-tekst-2);
  font-size: var(--hero-tekst-xs);
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}
@media (hover: hover) {
  :where(.app-kto) .hero-chip:hover { border-color: var(--h-link); }
}
:where(.app-kto) .hero-chip[aria-pressed="true"], :where(.app-kto) .hero-chip.is-actief { background: var(--h-info-bg); border-color: var(--hero-blue); color: var(--h-info-tekst); }

/* =====================================================================
 * 8. TABEL
 *    <div class="hero-tabel-kaart"><table class="hero-tabel"><thead><tr><th>..</th></tr></thead><tbody>..</tbody></table></div>
 *    Getallen: class="hero-num". Klikbare rijen: table.hero-tabel-klikbaar. Telefoon: table.hero-tabel-stapel + data-label op td.
 * ===================================================================== */
:where(.app-kto) .hero-tabel-kaart { position: relative; overflow-x: auto; background: var(--h-vlak); border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); box-shadow: var(--hero-schaduw-s); }
:where(.app-kto) .hero-tabel { width: 100%; font-size: var(--hero-tekst-xs); line-height: 16px; }
:where(.app-kto) .hero-tabel th {
  padding: 8px 12px;
  background: var(--h-tabelkop);
  border-bottom: 1px solid var(--h-rand);
  color: var(--h-tekst-3);
  font-size: var(--hero-tekst-meta);
  line-height: 14px;
  font-weight: 500;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
:where(.app-kto) .hero-tabel td { padding: 10px 12px; border-bottom: 1px solid var(--h-rand); color: var(--h-tekst); vertical-align: middle; }
:where(.app-kto) .hero-tabel tbody tr:last-child td { border-bottom: 0; }
@media (hover: hover) {
  :where(.app-kto) .hero-tabel tbody tr:hover td { background: var(--h-rij-hover); }
}
:where(.app-kto) .hero-tabel-klikbaar tbody tr { cursor: pointer; }
:where(.app-kto) .hero-tabel .hero-num, :where(.app-kto) .hero-tabel th.hero-num { text-align: right; font-variant-numeric: tabular-nums; }
:where(.app-kto) .hero-tabel .hero-vet { font-weight: 600; }
:where(.app-kto) .hero-tabel-sorteer { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
:where(.app-kto) th.is-gesorteerd .hero-tabel-sorteer { color: var(--h-tekst); }
@media (hover: hover) {
  :where(.app-kto) .hero-tabel-sorteer:hover { color: var(--h-tekst); }
}
:where(.app-kto) .hero-sub { display: block; font-size: var(--hero-tekst-meta); line-height: 14px; color: var(--h-tekst-3); }
:where(.app-kto) .hero-naamcel { display: flex; align-items: center; gap: 10px; min-width: 0; }
:where(.app-kto) .hero-naamcel > div { min-width: 0; }

:where(.app-kto) .hero-paginering { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--hero-tekst-xs); color: var(--h-tekst-2); }
:where(.app-kto) .hero-paginering-knoppen { display: flex; align-items: center; gap: 4px; }
:where(.app-kto) .hero-pagina-knop {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius);
  background: var(--h-vlak);
  color: var(--h-tekst-2);
  font-size: var(--hero-tekst-xs);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  :where(.app-kto) .hero-pagina-knop:hover { border-color: var(--h-link); color: var(--h-link); }
}
:where(.app-kto) .hero-pagina-knop[aria-current="page"], :where(.app-kto) .hero-pagina-knop.is-actief { background: var(--h-actie); border-color: var(--h-actie); color: var(--h-actie-tekst); }

/* =====================================================================
 * 9. STATUSLABEL, AVATAR
 *    <span class="hero-status hero-status-goed">Actief</span>  (info | goed | waarschuwing | fout | neutraal | ai)
 *    Altijd tekst naast de kleur: kleur alleen is niet genoeg (toegankelijkheid).
 * ===================================================================== */
:where(.app-kto) .hero-status {
  --t-bg: var(--h-neutraal-bg);
  --t-tekst: var(--h-neutraal-tekst);
  --t-stip: var(--h-neutraal-stip);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: var(--hero-radius-pil);
  background: var(--t-bg);
  color: var(--t-tekst);
  font-size: var(--hero-tekst-xs);
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}
:where(.app-kto) .hero-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--t-stip); flex: none; }
:where(.app-kto) .hero-status-zonder-stip::before { display: none; }
:where(.app-kto) .hero-status-info { --t-bg: var(--h-info-bg); --t-tekst: var(--h-info-tekst); --t-stip: var(--h-info-stip); }
:where(.app-kto) .hero-status-goed { --t-bg: var(--h-goed-bg); --t-tekst: var(--h-goed-tekst); --t-stip: var(--h-goed-stip); }
:where(.app-kto) .hero-status-waarschuwing { --t-bg: var(--h-waarschuwing-bg); --t-tekst: var(--h-waarschuwing-tekst); --t-stip: var(--h-waarschuwing-stip); }
:where(.app-kto) .hero-status-fout { --t-bg: var(--h-fout-bg); --t-tekst: var(--h-fout-tekst); --t-stip: var(--h-fout-stip); }
:where(.app-kto) .hero-status-neutraal { --t-bg: var(--h-neutraal-bg); --t-tekst: var(--h-neutraal-tekst); --t-stip: var(--h-neutraal-stip); }
:where(.app-kto) .hero-status-ai { --t-bg: var(--h-ai-bg); --t-tekst: var(--h-ai-tekst); --t-stip: var(--h-ai-stip); }

:where(.app-kto) .hero-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--t-bg);
  color: var(--t-tekst);
  font-size: var(--hero-tekst-xs);
  line-height: 1;
  font-weight: 600;
}
:where(.app-kto) .hero-avatar-klein { width: 28px; height: 28px; font-size: var(--hero-tekst-meta); }
:where(.app-kto) .hero-avatar-groot { width: 40px; height: 40px; font-size: var(--hero-tekst-sm); }
:where(.app-kto) .hero-avatar-bedrijf { border-radius: var(--hero-radius); }

/* =====================================================================
 * 10. MELDING, TOAST, AI-BLOK
 *     <div class="hero-melding hero-melding-waarschuwing" role="alert"><i class="hero-icoon hero-icoon-triangle-alert"></i>
 *       <div><p class="hero-melding-titel">Titel</p><p>Tekst</p></div></div>
 * ===================================================================== */
:where(.app-kto) .hero-melding {
  --t-rand: var(--h-info-rand);
  --t-licht: var(--h-info-licht);
  --t-tekst: var(--h-info-tekst);
  --t-stip: var(--h-info-stip);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--t-rand);
  border-radius: var(--hero-radius-l);
  background: var(--t-licht);
  color: var(--h-tekst);
  font-size: var(--hero-tekst-sm);
  line-height: 20px;
}
:where(.app-kto) .hero-melding > .hero-icoon { width: 18px; height: 18px; margin-top: 1px; color: var(--t-stip); }
:where(.app-kto) .hero-melding-titel { font-weight: 600; color: var(--t-tekst); }
:where(.app-kto) .hero-melding-acties { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
:where(.app-kto) .hero-melding-sluit { margin-left: auto; flex: none; }
:where(.app-kto) .hero-melding-info { --t-rand: var(--h-info-rand); --t-licht: var(--h-info-licht); --t-tekst: var(--h-info-tekst); --t-stip: var(--h-info-stip); }
:where(.app-kto) .hero-melding-goed { --t-rand: var(--h-goed-rand); --t-licht: var(--h-goed-licht); --t-tekst: var(--h-goed-tekst); --t-stip: var(--h-goed-stip); }
:where(.app-kto) .hero-melding-waarschuwing { --t-rand: var(--h-waarschuwing-rand); --t-licht: var(--h-waarschuwing-licht); --t-tekst: var(--h-waarschuwing-tekst); --t-stip: var(--h-waarschuwing-stip); }
:where(.app-kto) .hero-melding-fout { --t-rand: var(--h-fout-rand); --t-licht: var(--h-fout-licht); --t-tekst: var(--h-fout-tekst); --t-stip: var(--h-fout-stip); }
:where(.app-kto) .hero-melding-ai { --t-rand: var(--h-ai-rand); --t-licht: var(--h-ai-licht); --t-tekst: var(--h-ai-tekst); --t-stip: var(--h-ai-stip); }

:where(.app-kto) .hero-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 448px;
  padding: 10px 14px;
  border-radius: var(--hero-radius-l);
  background: var(--h-toast-bg);
  color: var(--hero-wit);
  font-size: var(--hero-tekst-sm);
  line-height: 20px;
  box-shadow: var(--hero-schaduw-xl);
}
:where(.app-kto) .hero-toast > .hero-icoon { color: var(--h-toast-goed); }
:where(.app-kto) .hero-toast-fout > .hero-icoon { color: var(--h-toast-fout); }
:where(.app-kto) .hero-toast-info > .hero-icoon { color: var(--h-toast-info); }
:where(.app-kto) .hero-toast-actie { margin-left: auto; font-weight: 600; color: var(--h-toast-info); background: transparent; border: 0; }

/* =====================================================================
 * 11. TIJDLIJN
 *     <ol class="hero-tijdlijn"><li class="hero-tijdlijn-item hero-toon-goed"><span class="hero-tijdlijn-punt"><i class="hero-icoon hero-icoon-check hero-icoon-14"></i></span>
 *       <div><p class="hero-tijdlijn-titel">..</p><p class="hero-tijdlijn-tijd">..</p><p>..</p></div></li></ol>
 *     Huidige stap: .is-huidig. Nog te doen: .hero-toon-neutraal.is-open.
 * ===================================================================== */
:where(.app-kto) .hero-tijdlijn { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
:where(.app-kto) .hero-tijdlijn-item { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
:where(.app-kto) .hero-tijdlijn-item:last-child { padding-bottom: 0; }
:where(.app-kto) .hero-tijdlijn-item::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 4px; width: 2px; background: var(--h-rand); border-radius: 2px; }
:where(.app-kto) .hero-tijdlijn-item:last-child::before { display: none; }
:where(.app-kto) .hero-tijdlijn-punt {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--t-bg);
  color: var(--t-tekst);
  box-shadow: inset 0 0 0 1px var(--t-rand);
}
:where(.app-kto) .hero-tijdlijn-item.is-huidig .hero-tijdlijn-punt { box-shadow: inset 0 0 0 1px var(--t-stip), 0 0 0 4px var(--t-licht); }
:where(.app-kto) .hero-tijdlijn-item.is-open .hero-tijdlijn-punt { background: var(--h-vlak); box-shadow: inset 0 0 0 2px var(--h-rand); color: var(--h-tekst-3); }
:where(.app-kto) .hero-tijdlijn-titel { font-size: var(--hero-tekst-sm); line-height: 20px; font-weight: 600; }
:where(.app-kto) .hero-tijdlijn-tijd { font-size: var(--hero-tekst-meta); line-height: 14px; color: var(--h-tekst-3); }
:where(.app-kto) .hero-tijdlijn-item p + p { margin-top: 2px; }
:where(.app-kto) .hero-tijdlijn-item > div > p:not([class]) { font-size: var(--hero-tekst-xs); line-height: 16px; color: var(--h-tekst-2); }

/* =====================================================================
 * 12. VOORTGANGSBALK
 *     <div class="hero-voortgang" style="--waarde:62%"><span></span></div>   (-goed | -waarschuwing | -fout | -dik)
 *     Met getal: <div class="hero-voortgang-rij"><div class="hero-voortgang">..</div><span class="hero-voortgang-getal">5/8</span></div>
 *     Per fase: .hero-fases > .hero-fase > (.hero-fase-kop + .hero-voortgang)
 * ===================================================================== */
:where(.app-kto) .hero-voortgang { --v-kleur: var(--hero-blue); height: 6px; border-radius: var(--hero-radius-pil); background: var(--h-segment-bg); overflow: hidden; }
:where([data-hero-app-theme="dark"]) :where(.app-kto) .hero-voortgang { --v-kleur: var(--h-info-stip); }
:where(.app-kto) .hero-voortgang > span { display: block; width: var(--waarde, 0%); height: 100%; border-radius: inherit; background: var(--v-kleur); transition: width 0.5s; }
:where(.app-kto) .hero-voortgang-goed { --v-kleur: var(--h-goed-tekst); }
:where(.app-kto) .hero-voortgang-waarschuwing { --v-kleur: var(--h-waarschuwing-tekst); }
:where(.app-kto) .hero-voortgang-fout { --v-kleur: var(--h-fout-stip); }
:where(.app-kto) .hero-voortgang-dik { height: 10px; }
:where(.app-kto) .hero-voortgang-rij { display: flex; align-items: center; gap: 8px; min-width: 96px; }
:where(.app-kto) .hero-voortgang-rij .hero-voortgang { flex: 1 1 auto; min-width: 48px; }
:where(.app-kto) .hero-voortgang-getal { font-size: var(--hero-tekst-xs); line-height: 16px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--h-tekst-2); }
:where(.app-kto) .hero-fases { display: flex; gap: 12px; }
:where(.app-kto) .hero-fase { flex: 1 1 0; min-width: 0; }
:where(.app-kto) .hero-fase-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; margin-bottom: 4px; font-size: var(--hero-tekst-meta); line-height: 14px; }
:where(.app-kto) .hero-fase-kop > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--h-tekst-3); }
:where(.app-kto) .hero-fase-kop > :last-child { flex: none; font-variant-numeric: tabular-nums; color: var(--h-tekst-2); }

/* =====================================================================
 * 13. OVERIGE BOUWSTENEN: lege staat, definitielijst, popup, drawer, AI-blok
 * ===================================================================== */
:where(.app-kto) .hero-leeg { padding: 32px; border: 1px dashed var(--h-rand-sterk); border-radius: var(--hero-radius-l); text-align: center; }
:where(.app-kto) .hero-leeg-icoon { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 10px; border-radius: var(--hero-radius-l); background: var(--h-neutraal-bg); color: var(--h-neutraal-tekst); }
:where(.app-kto) .hero-leeg-titel { margin-bottom: 4px; font-size: var(--hero-tekst-sm); font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-leeg p { color: var(--h-tekst-2); }
:where(.app-kto) .hero-leeg .hero-knopgroep { margin-top: 12px; justify-content: center; }

:where(.app-kto) .hero-definities > div { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .hero-definities > div:last-child { border-bottom: 0; }
:where(.app-kto) .hero-definities dt { font-size: var(--hero-tekst-xs); line-height: 20px; color: var(--h-tekst-3); }
:where(.app-kto) .hero-definities dd { font-size: var(--hero-tekst-sm); line-height: 20px; color: var(--h-tekst); }

:where(.app-kto) .hero-laag { position: fixed; inset: 0; z-index: var(--hero-z-laag); display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--h-laag); }
:where(.app-kto) .hero-laag-inline { position: relative; inset: auto; z-index: auto; min-height: 320px; border-radius: var(--hero-radius-l); }
:where(.app-kto) .hero-modal { width: 100%; max-width: 576px; overflow: hidden; border-radius: var(--hero-radius-xl); background: var(--h-vlak); box-shadow: var(--hero-schaduw-modal); }
:where(.app-kto) .hero-modal-kop { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .hero-modal-kop h2 { font-size: var(--hero-tekst-lg); line-height: 26px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-modal-kop .hero-knop-icoon { margin-left: auto; }
:where(.app-kto) .hero-modal-body { padding: 20px; }
:where(.app-kto) .hero-modal-voet { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--h-rand); background: var(--h-vlak-2); }
:where(.app-kto) .hero-drawer-laag { position: fixed; inset: 0; z-index: var(--hero-z-laag); display: flex; justify-content: flex-end; background: var(--h-laag); }
:where(.app-kto) .hero-drawer-laag.hero-laag-inline { position: relative; inset: auto; z-index: auto; min-height: 420px; border-radius: var(--hero-radius-l); overflow: hidden; }
:where(.app-kto) .hero-drawer { width: 100%; max-width: 576px; height: 100%; overflow-y: auto; background: var(--h-vlak); box-shadow: var(--hero-schaduw-xl); }

:where(.app-kto) .hero-ai {
  --t-rand: var(--h-ai-rand);
  --t-licht: var(--h-ai-licht);
  --t-tekst: var(--h-ai-tekst);
  --t-stip: var(--h-ai-stip);
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--t-rand);
  border-radius: var(--hero-radius-l);
  background: var(--t-licht);
}
:where(.app-kto) .hero-ai > .hero-icoon { width: 18px; height: 18px; margin-top: 1px; color: var(--t-stip); }
:where(.app-kto) .hero-ai-titel { font-weight: 600; color: var(--t-tekst); }

:where(.app-kto) .hero-toast-plaats { position: relative; display: flex; justify-content: center; }

/* =====================================================================
 * 14. TELEFOON EN KLEINE SCHERMEN
 * ===================================================================== */
@media (width < 900px) {
  :where(.app-kto) .hero-app { grid-template-columns: minmax(0, 1fr); background: var(--h-canvas); }
  :where(.app-kto) .hero-inhoud { grid-column: 1; }
  :where(.app-kto) .hero-zijmenu { display: none; }
  :where(.app-kto) .hero-kopbalk .hero-menuknop { display: inline-flex; }
  :where(.app-kto) .hero-logo { width: auto; }
  :where(.app-kto) .hero-hoofd-zijkant { grid-template-columns: minmax(0, 1fr); }
  :where(.app-kto) .hero-kpi-rij { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(.app-kto) .hero-raster-3, :where(.app-kto) .hero-raster-4 { --kolommen: 2; }
  /* Menu open: <div class="hero-app" data-menu="open"> */
  :where(.app-kto) .hero-app[data-menu="open"] .hero-zijmenu {
    display: flex;
    position: fixed;
    top: var(--hero-kopbalk-hoogte);
    left: 0;
    bottom: 0;
    height: auto;
    align-self: stretch;
    width: min(300px, 86vw);
    z-index: var(--hero-z-menu);
    box-shadow: var(--hero-schaduw-xl);
  }
  :where(.app-kto) .hero-app[data-menu="open"]::after { content: ""; position: fixed; inset: var(--hero-kopbalk-hoogte) 0 0 0; z-index: 35; background: var(--h-laag); }
}
@media (width < 600px) {
  /* --hero-pagina-padding: 12px at this width now lives in tokens/hero-tokens.css */
  :where(.app-kto) .hero-kopbalk { gap: 8px; padding: 0 12px; }
  :where(.app-kto) .hero-zoek { flex: 0 0 36px; width: 36px; padding: 0; justify-content: center; margin-left: auto; }
  :where(.app-kto) .hero-kopbalk-acties { margin-left: 0; }
  :where(.app-kto) .hero-kaart-voet > .hero-knop, :where(.app-kto) .hero-modal-voet > .hero-knop { flex: 1 1 auto; }
  :where(.app-kto) .hero-zoek-tekst, :where(.app-kto) .hero-zoek .hero-kbd { display: none; }
  :where(.app-kto) .hero-raster-2, :where(.app-kto) .hero-raster-3, :where(.app-kto) .hero-raster-4, :where(.app-kto) .hero-velden { --kolommen: 1; grid-template-columns: minmax(0, 1fr); }
  :where(.app-kto) .hero-fases { flex-wrap: wrap; }
  :where(.app-kto) .hero-fase { flex: 1 1 45%; }
  :where(.app-kto) .hero-paginakop-titelblok { align-items: flex-start; }
  :where(.app-kto) .hero-paginakop-acties { width: 100%; }
  :where(.app-kto) .hero-filterbalk > .hero-zoekveld { flex-basis: 100%; }
  :where(.app-kto) .hero-laag { padding: 12px; align-items: flex-end; }
  :where(.app-kto) .hero-modal { border-radius: var(--hero-radius-xl) var(--hero-radius-xl) 0 0; }
  :where(.app-kto) .hero-kaart-body { padding: 12px; }
  :where(.app-kto) .hero-tabs { flex-wrap: nowrap; overflow-x: auto; }
  :where(.app-kto) .hero-definities > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  :where(.app-kto) .hero-tabel-stapel thead { display: none; }
  :where(.app-kto) .hero-tabel-stapel, :where(.app-kto) .hero-tabel-stapel tbody, :where(.app-kto) .hero-tabel-stapel tr, :where(.app-kto) .hero-tabel-stapel td { display: block; width: 100%; }
  :where(.app-kto) .hero-tabel-stapel tr { padding: 10px 12px; border-bottom: 1px solid var(--h-rand); }
  :where(.app-kto) .hero-tabel-stapel tbody tr:last-child { border-bottom: 0; }
  :where(.app-kto) .hero-tabel-stapel td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
  :where(.app-kto) .hero-tabel-stapel td::before { content: attr(data-label); flex: none; font-size: var(--hero-tekst-meta); text-transform: uppercase; letter-spacing: 0.08em; color: var(--h-tekst-3); text-align: left; }
  :where(.app-kto) .hero-tabel-stapel td:not([data-label])::before { display: none; }
  :where(.app-kto) .hero-tabel-stapel td:not([data-label]) { text-align: left; justify-content: flex-start; }
}
@media (width < 600px) and (hover: hover) {
  :where(.app-kto) .hero-tabel-stapel tbody tr:hover td { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.app-kto) *, :where(.app-kto) *::before, :where(.app-kto) *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
 * 15. PICTOGRAMMEN  (Lucide-stijl, ingebouwd; gebruik: <i class="hero-icoon hero-icoon-home"></i>)
 * ===================================================================== */
:where(.app-kto) .hero-icoon-home{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-search{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-bell{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-user{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-users{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-user-check{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpolyline points='16 11 18 13 22 9'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-file-text{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-file-check{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-check{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-x{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-plus{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-minus{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-chevron-down{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-chevron-up{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-chevron-left{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-chevron-right{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-chevrons-up-down{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-arrow-up{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3Cpath d='M12 19V5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-arrow-down{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='m19 12-7 7-7-7'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-arrow-left{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-arrow-right{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-circle-check{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-circle-x{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='m9 9 6 6'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-circle-alert{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' x2='12' y1='8' y2='12'/%3E%3Cline x1='12' x2='12.01' y1='16' y2='16'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-triangle-alert{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-info{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-circle-dashed{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.1 2.182a10 10 0 0 1 3.8 0'/%3E%3Cpath d='M13.9 21.818a10 10 0 0 1-3.8 0'/%3E%3Cpath d='M17.609 3.721a10 10 0 0 1 2.69 2.7'/%3E%3Cpath d='M2.182 13.9a10 10 0 0 1 0-3.8'/%3E%3Cpath d='M20.279 17.609a10 10 0 0 1-2.7 2.69'/%3E%3Cpath d='M21.818 10.1a10 10 0 0 1 0 3.8'/%3E%3Cpath d='M3.721 6.391a10 10 0 0 1 2.7-2.69'/%3E%3Cpath d='M6.391 20.279a10 10 0 0 1-2.69-2.7'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-clock{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-history{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-calendar{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-settings{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-euro{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12'/%3E%3Cpath d='M4 14h9'/%3E%3Cpath d='M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-wallet{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-receipt{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z'/%3E%3Cpath d='M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8'/%3E%3Cpath d='M12 17.5v-11'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-calculator{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cline x1='8' x2='16' y1='6' y2='6'/%3E%3Cline x1='16' x2='16' y1='14' y2='18'/%3E%3Cpath d='M16 10h.01'/%3E%3Cpath d='M12 10h.01'/%3E%3Cpath d='M8 10h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-briefcase{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3Crect width='20' height='14' x='2' y='6' rx='2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-building-2{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-layout-dashboard{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='9' x='3' y='3' rx='1'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-inbox{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 16 12 14 15 10 15 8 12 2 12'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-mail{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-phone{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-message-square{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-send{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-filter{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-sliders-horizontal{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' x2='14' y1='4' y2='4'/%3E%3Cline x1='10' x2='3' y1='4' y2='4'/%3E%3Cline x1='21' x2='12' y1='12' y2='12'/%3E%3Cline x1='8' x2='3' y1='12' y2='12'/%3E%3Cline x1='21' x2='16' y1='20' y2='20'/%3E%3Cline x1='12' x2='3' y1='20' y2='20'/%3E%3Cline x1='14' x2='14' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='10' y2='14'/%3E%3Cline x1='16' x2='16' y1='18' y2='22'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-download{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-upload{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' x2='12' y1='3' y2='15'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-pencil{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z'/%3E%3Cpath d='m15 5 4 4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-trash-2{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6'/%3E%3Cpath d='M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2'/%3E%3Cline x1='10' x2='10' y1='11' y2='17'/%3E%3Cline x1='14' x2='14' y1='11' y2='17'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-ellipsis{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-paperclip{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-copy{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-link{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-external-link{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-eye{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-lock{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-shield-check{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-log-out{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' x2='9' y1='12' y2='12'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-menu{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' x2='20' y1='12' y2='12'/%3E%3Cline x1='4' x2='20' y1='6' y2='6'/%3E%3Cline x1='4' x2='20' y1='18' y2='18'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-panel-left{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M9 3v18'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-refresh-cw{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-loader-circle{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-sparkles{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.9 5.8a2 2 0 0 1-1.3 1.3L3 12l5.8 1.9a2 2 0 0 1 1.3 1.3L12 21l1.9-5.8a2 2 0 0 1 1.3-1.3L21 12l-5.8-1.9a2 2 0 0 1-1.3-1.3Z'/%3E%3Cpath d='M5 3v4'/%3E%3Cpath d='M19 17v4'/%3E%3Cpath d='M3 5h4'/%3E%3Cpath d='M17 19h4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-bot{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8V4H8'/%3E%3Crect width='16' height='12' x='4' y='8' rx='2'/%3E%3Cpath d='M2 14h2'/%3E%3Cpath d='M20 14h2'/%3E%3Cpath d='M15 13v2'/%3E%3Cpath d='M9 13v2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-zap{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-trending-up{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-chart-column{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M18 17V9'/%3E%3Cpath d='M13 17V5'/%3E%3Cpath d='M8 17v-3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-database{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5V19A9 3 0 0 0 21 19V5'/%3E%3Cpath d='M3 12A9 3 0 0 0 21 12'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-globe{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-map-pin{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-folder-open{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-list-checks{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 17 2 2 4-4'/%3E%3Cpath d='m3 7 2 2 4-4'/%3E%3Cpath d='M13 6h8'/%3E%3Cpath d='M13 12h8'/%3E%3Cpath d='M13 18h8'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-star{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-sun{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-moon{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-ticket{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M13 5v2'/%3E%3Cpath d='M13 17v2'/%3E%3Cpath d='M13 11v2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-megaphone{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z'/%3E%3Cpath d='M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14'/%3E%3Cpath d='M8 6v8'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-search-x{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m13.5 8.5-5 5'/%3E%3Cpath d='m8.5 8.5 5 5'/%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-cloud-off{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057'/%3E%3Cpath d='M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-circle-question-mark, :where(.app-kto) .hero-icoon-circle-help{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-calendar-cog{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15.228 16.852-.923-.383'/%3E%3Cpath d='m15.228 19.148-.923.383'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='m16.47 14.305.382.923'/%3E%3Cpath d='m16.852 20.772-.383.924'/%3E%3Cpath d='m19.148 15.228.383-.923'/%3E%3Cpath d='m19.53 21.696-.382-.924'/%3E%3Cpath d='m20.772 16.852.924-.383'/%3E%3Cpath d='m20.772 19.148.924.383'/%3E%3Cpath d='M21 10.592V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 2v4'/%3E%3Ccircle cx='18' cy='18' r='3'/%3E%3C/svg%3E")}

/* ===== Classes from huisstijl/platform.css (without the :root block) ===== */
/*
 * platform.css: de laag van Hero 3.0 bovenop de huisstijl (../huisstijl/tokens.css).
 *
 * Gebruik in elk schermontwerp, in deze volgorde:
 *   <html lang="nl" data-merk="apps">
 *   <link rel="stylesheet" href="../huisstijl/tokens.css">
 *   <link rel="stylesheet" href="platform.css">
 *
 * Wat deze laag doet:
 *   1. Rustig beeld. Besluit van de opdrachtgever (1 oktober 2026): "niet te fel blauw, Hero herkenbaar maar
 *      niet te veel". Wit en donkere inkt dragen het scherm. Hero Blauw is er voor drie dingen: de hoofdknop,
 *      de plek waar je bent, en een link. Oranje is alleen een stip of een dunne streep, zoals de punt in het logo.
 *      Paars is alleen voor wat een AI-collega deed of voorstelt.
 *   2. Gewone schrijfwijze. Geen hoofdletterlabels met letterspatiëring.
 *   3. De vaste onderdelen van het platform, met voorvoegsel p-:
 *        p-dagstart     de openingszin van een scherm: wat is er gedaan, wat wacht op jou
 *        p-werk         de actielijst (rijen p-actie, één uitgeklapt met een voorstel)
 *        p-voorstel     voorstel van een AI-collega, met reden en zekerheid
 *        p-spoor        het spoor van een factuur, contract of inzet: stappen met datums
 *        p-stil         rustige lijst van wat het platform zelf afhandelde
 *        p-versie       versiepil rechtsonder (klik: wat is er nieuw, iets melden)
 *        p-portaal      schil van het portaal voor professionals, leveranciers en klanten
 *        p-telefoon     schil van de app op de telefoon (390 x 844)
 *
 * Regels voor wie een scherm maakt:
 *   - Hooguit één gevulde blauwe knop (hero-knop-primair) per scherm. Andere knoppen: hero-knop-secundair.
 *   - Geen blauwe vlakken, geen blauwe koppen. Koppen staan in inkt.
 *   - Statuskleur alleen met tekst erbij. Standaard is neutraal grijs; groen, oranje en rood alleen als het iets betekent.
 *   - Alle namen, bedragen en nummers in de schermen zijn verzonnen.
 */

/* =====================================================================
 * 1. RUSTIG BEELD: rollen opnieuw toegewezen
 * ===================================================================== */

:where(.app-kto) h1, :where(.app-kto) h2, :where(.app-kto) h3, :where(.app-kto) .hero-paginakop-titel h1, :where(.app-kto) .hero-kaart-titel, :where(.app-kto) .hero-modal-kop h2 { color: var(--p-inkt); }
:where(.app-kto) .hero-paginakop-icoon { background: var(--h-menu-actief-bg); color: var(--p-inkt); box-shadow: inset 0 0 0 1px var(--h-rand); }
:where(.app-kto) .hero-kaart-kop > .hero-icoon { color: var(--h-tekst-3); }
@media (hover: hover) {
  :where(.app-kto) .hero-kaart-klikbaar:hover, :where(.app-kto) button.hero-kpi:hover { border-color: var(--h-rand-sterk); }
}
:where(.app-kto) .hero-kpi-waarde { color: var(--p-inkt); }
:where(.app-kto) .hero-sectiekop::before { display: none; }
:where(.app-kto) .hero-kbd { white-space: nowrap; }
:where(.app-kto) .hero-logo img { height: var(--hero-logo-hoogte); }

/* =====================================================================
 * 2. GEWONE SCHRIJFWIJZE in plaats van hoofdletterlabels
 * ===================================================================== */
:where(.app-kto) .hero-zijmenu-groep { margin: 18px 0 4px; font-size: 12px; line-height: 16px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--h-tekst-3); }
:where(.app-kto) .hero-tabel th { padding: 9px 12px; font-size: 12px; line-height: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--h-tekst-2); }
:where(.app-kto) .hero-sectiekop h2 { font-size: 14px; line-height: 20px; font-weight: 600; text-transform: none; letter-spacing: 0; }
:where(.app-kto) .hero-fase-kop > :first-child, :where(.app-kto) .hero-label-klein { text-transform: none; letter-spacing: 0; font-size: 12px; }
:where(.app-kto) .hero-tabel-stapel td::before { text-transform: none; letter-spacing: 0; font-size: 12px; }

/* =====================================================================
 * 3. DAGSTART: de openingszin
 *    <section class="p-dagstart">
 *      <p class="p-dagstart-zin">Vannacht zijn 31 zaken afgehandeld. 6 wachten op jou<span class="p-punt">.</span></p>
 *      <p class="p-dagstart-sub">Donderdag 1 oktober, bijgewerkt om 08:12 uur. <a href="#">Bekijk wat er is gedaan</a></p>
 *    </section>
 *    De oranje punt aan het eind is de punt uit het logo. Gebruik hem één keer per scherm, alleen hier.
 * ===================================================================== */
:where(.app-kto) .p-dagstart { padding: 12px 0 4px; max-width: 880px; }
:where(.app-kto) .p-dagstart-zin { font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -0.01em; color: var(--p-inkt); text-wrap: balance; }
:where(.app-kto) .p-dagstart-sub { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--h-tekst-2); }
:where(.app-kto) .p-dagstart-sub a { text-decoration: none; font-weight: 500; }
@media (hover: hover) {
  :where(.app-kto) .p-dagstart-sub a:hover { text-decoration: underline; }
}
:where(.app-kto) .p-punt { color: var(--hero-orange); }

/* =====================================================================
 * 4. WERK: de actielijst
 *    <section class="p-werk">
 *      <header class="p-werk-kop"><h2>Wacht op jou</h2><span class="hero-teller">6</span> ... </header>
 *      <article class="p-actie is-open"> ... </article>     uitgeklapt: met p-actie-inhoud
 *      <article class="p-actie"> ... </article>              dicht: één regel
 *    </section>
 * ===================================================================== */
:where(.app-kto) .p-werk { background: var(--h-vlak); border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); box-shadow: var(--hero-schaduw-s); overflow: hidden; }
:where(.app-kto) .p-werk-kop { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .p-werk-kop h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
:where(.app-kto) .p-werk-kop .hero-segmenten, :where(.app-kto) .p-werk-kop .hero-rij { margin-left: auto; }
:where(.app-kto) .p-actie { border-bottom: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .p-actie:last-child { border-bottom: 0; }
:where(.app-kto) .p-actie-rij { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 16px; }
:where(.app-kto) .p-actie-icoon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--hero-radius); background: var(--t-licht); color: var(--t-tekst); box-shadow: inset 0 0 0 1px var(--h-rand); }
:where(.app-kto) .p-actie-titel { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--p-inkt); }
:where(.app-kto) .p-actie-context { font-size: 12px; line-height: 16px; color: var(--h-tekst-2); margin-top: 1px; }
:where(.app-kto) .p-actie-context b { font-weight: 500; color: var(--h-tekst); }
:where(.app-kto) .p-actie.is-open { background: var(--h-vlak-2); }
:where(.app-kto) .p-actie.is-open > .p-actie-rij { padding-bottom: 8px; }
:where(.app-kto) .p-actie-inhoud { padding: 0 16px 16px 60px; display: flex; flex-direction: column; gap: 12px; }
:where(.app-kto) .p-actie-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:where(.app-kto) .p-actie-knoppen .p-toets { margin-left: auto; font-size: 12px; color: var(--h-tekst-3); }

/* Twee waarden naast elkaar: wat is afgesproken, wat staat er nu */
:where(.app-kto) .p-vergelijk { display: grid; grid-template-columns: repeat(var(--kolommen, 3), minmax(0, 1fr)); border: 1px solid var(--h-rand); border-radius: var(--hero-radius); background: var(--h-vlak); }
:where(.app-kto) .p-vergelijk > div { padding: 10px 12px; border-left: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .p-vergelijk > div:first-child { border-left: 0; }
:where(.app-kto) .p-vergelijk dt, :where(.app-kto) .p-vergelijk .p-kop { font-size: 12px; line-height: 16px; color: var(--h-tekst-3); }
:where(.app-kto) .p-vergelijk dd, :where(.app-kto) .p-vergelijk .p-waarde { margin: 2px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--p-inkt); font-variant-numeric: tabular-nums; }
:where(.app-kto) .p-vergelijk .p-noot { font-size: 12px; line-height: 16px; color: var(--h-tekst-2); }

/* =====================================================================
 * 5. VOORSTEL VAN EEN AI-COLLEGA
 *    <div class="p-voorstel">
 *      <p class="p-voorstel-kop"><i class="hero-icoon hero-icoon-sparkles"></i>Voorstel van de contractkeurder, een AI-collega<span class="p-trede">Werkt met goedkeurknop</span></p>
 *      <p>...</p>
 *      <p class="p-voorstel-reden">Waarom ik dit niet zelf doe: ...</p>
 *    </div>
 * ===================================================================== */
:where(.app-kto) .p-voorstel { padding: 12px 14px; border: 1px solid var(--h-ai-rand); border-radius: var(--hero-radius); background: var(--h-ai-licht); font-size: 14px; line-height: 20px; }
:where(.app-kto) .p-voorstel-kop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--h-ai-tekst); }
:where(.app-kto) .p-voorstel-kop .hero-icoon { width: 14px; height: 14px; }
:where(.app-kto) .p-trede { margin-left: auto; font-weight: 500; color: var(--h-ai-tekst); opacity: 0.85; }
:where(.app-kto) .p-voorstel-reden { margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--h-tekst-2); }
/* Klein merkje in een regel of tabel: door wie gedaan */
:where(.app-kto) .p-door { display: inline-flex; align-items: baseline; gap: 5px; font-size: 12px; line-height: 16px; color: var(--h-tekst-3); }
:where(.app-kto) .p-door-ai { color: var(--h-ai-tekst); }
:where(.app-kto) .p-door .hero-icoon { width: 12px; height: 12px; flex: none; align-self: flex-start; margin-top: 2px; }

/* =====================================================================
 * 6. SPOOR: waar staat mijn factuur, contract of inzet
 *    <ol class="p-spoor">
 *      <li class="is-klaar"><span class="p-spoor-punt"></span><b>Ontvangen</b><small>do 1 okt, 09:14</small></li>
 *      <li class="is-nu">...</li>
 *      <li>...</li>
 *    </ol>
 *    is-klaar = gedaan (groen vinkje), is-nu = hier staat het nu (inkt), zonder klasse = komt nog.
 *    is-let-op = hier hapert het (oranje).
 * ===================================================================== */
:where(.app-kto) .p-spoor { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
:where(.app-kto) .p-spoor > li { position: relative; padding: 22px 12px 0 0; min-width: 0; }
:where(.app-kto) .p-spoor > li::before { content: ""; position: absolute; left: 14px; right: 0; top: 6px; height: 2px; background: var(--h-rand); }
:where(.app-kto) .p-spoor > li:last-child::before { display: none; }
:where(.app-kto) .p-spoor > li.is-klaar::before { background: var(--h-goed-stip); }
:where(.app-kto) .p-spoor-punt { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--h-vlak); box-shadow: inset 0 0 0 2px var(--h-rand-sterk); }
:where(.app-kto) .p-spoor > li.is-klaar .p-spoor-punt { background: var(--h-goed-stip); box-shadow: none; }
:where(.app-kto) .p-spoor > li.is-klaar .p-spoor-punt::after { content: ""; position: absolute; left: 4px; top: 3.5px; width: 5px; height: 3px; border-left: 1.5px solid var(--hero-wit); border-bottom: 1.5px solid var(--hero-wit); transform: rotate(-45deg); }
:where(.app-kto) .p-spoor > li.is-nu .p-spoor-punt { background: var(--p-inkt); box-shadow: 0 0 0 4px var(--p-spoor-ring); }
:where(.app-kto) .p-spoor > li.is-let-op .p-spoor-punt { background: var(--hero-orange); box-shadow: 0 0 0 4px var(--p-spoor-ring-let-op); }
:where(.app-kto) .p-spoor b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--p-inkt); }
:where(.app-kto) .p-spoor small { display: block; font-size: 12px; line-height: 16px; color: var(--h-tekst-2); }
:where(.app-kto) .p-spoor > li:not(.is-klaar):not(.is-nu):not(.is-let-op) b { color: var(--h-tekst-3); font-weight: 500; }
:where(.app-kto) .p-spoor-compact > li { padding-top: 20px; }
:where(.app-kto) .p-spoor-compact b { font-size: 12px; line-height: 16px; }
:where(.app-kto) .p-spoor-compact small { font-size: 11px; line-height: 14px; }

/* =====================================================================
 * 7. STIL: wat het platform zelf afhandelde
 *    <ul class="p-stil"><li><span class="p-stil-getal">18</span>dossiers gekeurd<span class="p-door p-door-ai">...</span></li></ul>
 * ===================================================================== */
:where(.app-kto) .p-stil { list-style: none; margin: 0; padding: 0; }
:where(.app-kto) .p-stil > li { display: flex; align-items: baseline; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--p-lijn-zacht); font-size: 14px; line-height: 20px; }
:where(.app-kto) .p-stil > li:last-child { border-bottom: 0; }
:where(.app-kto) .p-stil-getal { flex: none; min-width: 26px; font-weight: 600; color: var(--p-inkt); font-variant-numeric: tabular-nums; text-align: right; }
:where(.app-kto) .p-stil > li > :last-child:not(:first-child):not(.p-stil-tekst) { margin-left: auto; }
:where(.app-kto) .p-stil-tekst { min-width: 0; }
:where(.app-kto) .p-stil-tekst small { display: block; font-size: 12px; line-height: 16px; color: var(--h-tekst-3); }

/* Regel met datum links: wat loopt af, wat komt eraan */
:where(.app-kto) .p-agenda { list-style: none; margin: 0; padding: 0; }
:where(.app-kto) .p-agenda > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--p-lijn-zacht); font-size: 14px; line-height: 20px; }
:where(.app-kto) .p-agenda > li:last-child { border-bottom: 0; }
:where(.app-kto) .p-agenda time { font-size: 12px; line-height: 20px; font-weight: 600; color: var(--p-inkt); font-variant-numeric: tabular-nums; }
:where(.app-kto) .p-agenda small { display: block; font-size: 12px; line-height: 16px; color: var(--h-tekst-3); }

/* =====================================================================
 * 8. VERSIEPIL: rechtsonder in elk scherm van de werkplek en het portaal
 *    <a class="p-versie is-nieuw" href="#"><span>versie</span> <b>3.0.412</b></a>
 *    is-nieuw = er is iets nieuws sinds je laatste bezoek (oranje stip). Klik: wat is er nieuw, en iets melden.
 * ===================================================================== */
:where(.app-kto) .hero-app, :where(.app-kto) .p-portaal { position: relative; }
:where(.app-kto) .p-versie { position: absolute; right: 16px; bottom: 14px; z-index: 20; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid var(--h-rand); border-radius: 999px; background: var(--h-vlak); color: var(--h-tekst-3); font-size: 12px; line-height: 16px; text-decoration: none; font-variant-numeric: tabular-nums; box-shadow: var(--hero-schaduw-s); }
:where(.app-kto) .p-versie b { font-weight: 600; color: var(--h-tekst-2); }
:where(.app-kto) .p-versie.is-nieuw::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-radius: 50%; background: var(--hero-orange); }

/* =====================================================================
 * 9. PORTAAL: schil voor professionals, leveranciers en klanten (toon: je en jouw)
 *    <div class="p-portaal">
 *      <header class="p-portaal-kop"><div class="p-portaal-binnen"> logo, <nav class="p-portaal-nav">, <button class="p-namens"> </div></header>
 *      <main class="p-portaal-inhoud"> ... </main>
 *      <a class="p-versie">...</a>
 *    </div>
 * ===================================================================== */
:where(.app-kto) .p-portaal { min-height: 100vh; background: var(--h-canvas); padding-bottom: 56px; }
:where(.app-kto) .p-portaal-kop { position: sticky; top: 0; z-index: 30; background: var(--h-kopbalk-bg); border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .p-portaal-binnen { display: flex; align-items: center; gap: 24px; max-width: 1120px; height: 64px; margin: 0 auto; padding: 0 24px; }
:where(.app-kto) .p-portaal-binnen .hero-logo { width: auto; }
:where(.app-kto) .p-portaal-nav { display: flex; align-items: stretch; gap: 4px; height: 100%; }
:where(.app-kto) .p-portaal-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--h-tekst-2); text-decoration: none; }
@media (hover: hover) {
  :where(.app-kto) .p-portaal-nav a:hover { color: var(--h-tekst); }
}
:where(.app-kto) .p-portaal-nav a[aria-current="page"] { color: var(--p-inkt); font-weight: 600; }
:where(.app-kto) .p-portaal-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--hero-orange); }
:where(.app-kto) .p-portaal-rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
:where(.app-kto) .p-namens { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--h-rand); border-radius: var(--hero-radius); background: var(--h-vlak); font-size: 12px; line-height: 16px; text-align: left; color: var(--h-tekst); }
:where(.app-kto) .p-namens small { display: block; font-size: 11px; line-height: 14px; color: var(--h-tekst-3); }
:where(.app-kto) .p-namens b { display: block; font-weight: 600; }
:where(.app-kto) .p-namens .hero-icoon { color: var(--h-tekst-3); }
:where(.app-kto) .p-portaal-inhoud { max-width: 1120px; margin: 0 auto; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 20px; }
:where(.app-kto) .p-portaal .p-dagstart { padding-top: 8px; }
:where(.app-kto) .p-portaal .hero-kaart-body { padding: 20px; }
:where(.app-kto) .p-kaartkop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
:where(.app-kto) .p-kaartkop h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
:where(.app-kto) .p-kaartkop p { font-size: 14px; line-height: 20px; color: var(--h-tekst-2); }
:where(.app-kto) .p-kaartkop > :last-child:not(h2):not(p) { margin-left: auto; }
:where(.app-kto) .p-groot { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--p-inkt); font-variant-numeric: tabular-nums; }
:where(.app-kto) .p-uitleg { font-size: 14px; line-height: 20px; color: var(--h-tekst-2); }

/* =====================================================================
 * 10. TELEFOON: de app (390 x 844). Zet op het html-element: data-w="390" data-h="844".
 *     <div class="p-telefoon">
 *       <header class="p-telefoon-kop"> logo, bel, avatar </header>
 *       <main class="p-telefoon-inhoud"> ... </main>
 *       <nav class="p-onderbalk"><a aria-current="page"><i class="hero-icoon hero-icoon-home"></i>Vandaag</a> ... </nav>
 *     </div>
 * ===================================================================== */
:where(.app-kto) .p-telefoon { display: flex; flex-direction: column; width: 100%; min-height: 100vh; background: var(--h-canvas); }
:where(.app-kto) .p-telefoon-kop { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; background: var(--h-kopbalk-bg); border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .p-telefoon-kop .hero-logo { width: auto; }
:where(.app-kto) .p-telefoon-kop .hero-logo img { height: 30px; }
:where(.app-kto) .p-telefoon-kop .hero-kopbalk-acties { margin-left: auto; }
:where(.app-kto) .p-telefoon-inhoud { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 88px; }
:where(.app-kto) .p-telefoon .p-dagstart { padding: 4px 0 4px; }
:where(.app-kto) .p-telefoon .p-dagstart-zin { font-size: 24px; line-height: 30px; }
:where(.app-kto) .p-telefoon .hero-kaart-body { padding: 16px; }
:where(.app-kto) .p-onderbalk { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: 72px; padding: 6px 8px 14px; background: var(--h-kopbalk-bg); border-top: 1px solid var(--h-rand); }
:where(.app-kto) .p-onderbalk a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; line-height: 14px; font-weight: 500; color: var(--h-tekst-3); text-decoration: none; }
:where(.app-kto) .p-onderbalk a .hero-icoon { width: 22px; height: 22px; }
:where(.app-kto) .p-onderbalk a[aria-current="page"] { color: var(--hero-blue); font-weight: 600; }
:where(.app-kto) .p-onderbalk a .p-stipje { position: absolute; top: 4px; left: calc(50% + 8px); width: 7px; height: 7px; border-radius: 50%; background: var(--hero-orange); box-shadow: 0 0 0 2px var(--hero-wit); }
:where(.app-kto) .p-versie-regel { margin-top: 4px; text-align: center; font-size: 11px; line-height: 14px; color: var(--h-tekst-3); }

/* Urenrooster van één week: zeven dagen, groot genoeg voor een duim */
:where(.app-kto) .p-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
:where(.app-kto) .p-dag { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border: 1px solid var(--h-rand); border-radius: var(--hero-radius); background: var(--h-vlak); }
:where(.app-kto) .p-dag small { font-size: 11px; line-height: 14px; color: var(--h-tekst-3); }
:where(.app-kto) .p-dag b { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--p-inkt); font-variant-numeric: tabular-nums; }
:where(.app-kto) .p-dag.is-leeg b { color: var(--h-tekst-3); font-weight: 500; }
:where(.app-kto) .p-dag.is-vandaag { border-color: var(--p-inkt); box-shadow: inset 0 0 0 1px var(--p-inkt); }
:where(.app-kto) .p-dag.is-vrij { background: var(--h-vlak-2); }

/* =====================================================================
 * 11. KLEINE HULPEN
 * ===================================================================== */
:where(.app-kto) .p-inkt { color: var(--p-inkt); }
:where(.app-kto) .p-cijfers { font-variant-numeric: tabular-nums; }
:where(.app-kto) .p-rechts { margin-left: auto; }
:where(.app-kto) .p-kop-rij { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:where(.app-kto) .p-kaart-kop { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .p-kaart-kop h2 { font-size: 14px; line-height: 20px; font-weight: 600; }
:where(.app-kto) .p-kaart-kop a, :where(.app-kto) .p-kaart-kop .hero-teller { margin-left: auto; }
:where(.app-kto) .p-kaart-kop a { font-size: 12px; line-height: 16px; font-weight: 500; text-decoration: none; }
/* componenten/aanvulling.css: generated by toets/bouw-index.py from componenten/aanvulling/*.css.
 * Rules that the house style does not have yet (new in 1.0, proposals to the regie); only tokens. */

/* ---- 00-basis.css ---- */
/* Shared additions for the components (new in 1.0, proposals to the regie; the house style does not have them yet).
 * Only tokens. Component-specific additions live in their own file NN-<slug>.css next to this one. */

/* Component token: the counter (hero-teller) is a pill of 18 px high in the house style (componenten.css: its line
 * height, with no padding above or below); off the grid of 4 px and without a token there. With the text of 12 px
 * of 1.0 the pill keeps that height (spec 8). */
:where(.app-kto) {
  --hero-teller-hoogte: 18px;
}

/* Emphasis in running text (1.0.20; regels/schrijfregels.md, the rule of 1.0.13): strong and b are the weight of emphasis,
 * 700 (--hero-gewicht-nadruk). The browser default is bolder, which asks 700 from text of 400 but 900 from a label of
 * 600 or a tab of 600, a weight Exo does not load, so the browser fakes it (UI-toets 26985). A heading
 * stays a heading (800, --hero-gewicht-kop); a rule with a class, such as .hero-apptitel b or .p-versie b in
 * componenten.css, weighs more and keeps its own weight. */
:where(.app-kto) strong, :where(.app-kto) b { font-weight: var(--hero-gewicht-nadruk); }
/* A heading keeps its weight inside too (reading of 1.0.20, K5, and the two delta readings): without this a strong or
 * b in a heading of 800 would drop to 700, lighter than the heading. The list is every selector of componenten.css
 * and of the additions that sets --hero-gewicht-kop on a block of text, on the heading itself and not on its
 * wrapper: h1 to h4 (h5 and h6 do not set the token), the heading classes, the display and the large figures, the
 * page, card, section, modal and empty-state titles, the heading of the choice explanation (component 7), the
 * titles and the group heading of the workers column and the strip (23 and 25), the figure of a tile (19) and the
 * title of an unread list line (9). The app title is not in the list: its b has its own rule (.hero-apptitel b).
 * :is() gives the rule the specificity of its heaviest argument (three classes); the rules with a class on the strong
 * or b itself (.p-versie b, .hero-apptitel b) are not inside one of these headings and keep their own weight. */
:where(.app-kto) :is(h1, h2, h3, h4, .hero-h1, .hero-h2, .hero-h3, .hero-display, .hero-cijfer-groot, .hero-kpi-waarde, .hero-paginakop-titel h1, .hero-kaart-titel, .hero-sectiekop h2, .hero-modal-kop h2, .hero-leeg-titel, .hero-keuze-uitleg-kop, .hero-werkers-titel, .hero-werkers-knop-titel, .hero-werkers-groepkop, .hero-werkerstrook-stand, .hero-tegel-getal, .hero-lijstregel.is-ongelezen .p-actie-titel) :where(strong, b) { font-weight: inherit; }

/* Component 1, state bezig: the text stays, a turning loader before it, no second click (rapport 03, 1.3 row 1). The
 * script of the button refuses a click or Enter while aria-busy is true (spec 01, Bezig), and the focus stays on the
 * button. Since 1.0.40 (K310 on ticket 32706) without pointer-events: none, which let a second click fall
 * through to the element below and put the focus on body, so that a screen reader lost its place. */
:where(.app-kto) .hero-knop[aria-busy="true"] { cursor: progress; }
:where(.app-kto) .hero-knop[aria-busy="true"] .hero-icoon-loader-circle { animation: hero-draai 1s linear infinite; }
@keyframes hero-draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { :where(.app-kto) .hero-knop[aria-busy="true"] .hero-icoon-loader-circle { animation: none; } }

/* Component 1, the secondary button (1.0.8, ticket 14202 K-b): white (--h-vlak) with a border and its text in ink
 * (--h-tekst), in the light and the dark theme; the house style gives it --h-tekst-2. Hover (border and text --h-link)
 * and the disabled state keep the rules of componenten.css, which weigh more. --h-actie is only the fill of the one
 * filled button, never a text colour on a surface: blue text on a surface (a link, a text button, a quiet button in
 * blue) is --h-link. */
:where(.app-kto) .hero-knop-secundair { color: var(--h-tekst); }

/* A link under the mouse (1.0.9, the wish on ticket 15500, K5): the token --h-link-hover, in the light theme
 * the darker blue of --h-actie-hover, in the dark theme a lighter step of --h-link. Without weight, like the link rule
 * :where(a) of componenten.css, so that a link with a colour of its own (the breadcrumb, the navigation of the portal,
 * a clickable card or tile, the skip link) keeps it; only with a mouse, so that a touch screen keeps no hover colour
 * after a tap. --h-link is the fallback (1.0.11, K5 of review-1 on 1.0.9): an app with a copy of the tokens from before
 * 1.0.9, without --h-link-hover, keeps the link under the mouse in --h-link instead of the colour of its parent. */
@media (hover: hover) {
  :where(.app-kto) :where(a:hover) { color: var(--h-link-hover, var(--h-link)); }
}

/* Every button is a tap target of 44 px on the phone (rapport 03 hoofdstuk 3; decision of Interface at the merge of
 * 0.4.0, 12 October 2026): the normal button of 40 px and the small one of 32 px (rapport 20, difference 5; uitwerking
 * 5050, W-26), the small icon button 44 px wide too. On the laptop they keep 40 and 32 px; the large buttons (48 and
 * 56 px) are taller already and keep their height. The button in a row (hero-knop-inregel, 1.0.32) is the exception:
 * it keeps 24 px on the phone too (the rule below). */
@media (width < 600px) {
  :where(.app-kto) .hero-knop:not(.hero-knop-groot):not(.hero-knop-xl):not(.hero-knop-inregel) { min-height: var(--h-tikdoel); }
  :where(.app-kto) .hero-knop-icoon.hero-knop-klein { width: var(--h-tikdoel); }
}

/* Component 1, the button in a row (1.0.32; K100 on ticket 13547): a text button in a heading row or a
 * table row cannot be 44 px without breaking the row, or it makes the heading twice as high. WCAG 2.5.8 (AA) asks a
 * target of 24 by 24 px or 24 px of spacing, so this button is at least 24 px high at every width, the phone included
 * (24 px is the lower bound of WCAG 2.5.8, not a token), with the padding of 8 px; in a hero-knopgroep the gap of
 * 8 px (--hero-ruimte-8) stays, the spacing that 2.5.8 asks. */
:where(.app-kto) .hero-knop-inregel { min-height: 24px; padding: 0 var(--hero-ruimte-8); }

/* No text under 12 px (rapport 03 hoofdstuk 3 and open punt 12; regels/toegankelijkheid.md): the meta line and the
 * shortcut hint of the house style are 11 px (--hero-tekst-meta) and take the 1.0 role of 12 px everywhere */
:where(.app-kto) .hero-meta, :where(.app-kto) .hero-kbd { font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }

/* The shell of the platform layer too: the links of the bottom bar, the line of the version pill, a compact trail and
 * a day of the week roster are 11/14 px in componenten.css; 12 px everywhere (rapport 03 hoofdstuk 3; found by the
 * build of the patterns, 12 October 2026), and since 1.0.40 with the line of 16 px of the role (--h-regel-meta; K12 of
 * the reading on ticket 34724). The second line of the button p-namens of the portal has its 12/16 in
 * 14-voorstelvlak.css. The sub line keeps its own line of 14 px: only the size. */
:where(.app-kto) .p-onderbalk a, :where(.app-kto) .p-versie-regel, :where(.app-kto) .p-spoor-compact small, :where(.app-kto) .p-dag small { font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }
:where(.app-kto) .hero-sub { font-size: var(--h-tekst-meta); }

/* No text under 12 px (1.0.40, npm run proef-lettermaat): the four rules of componenten.css that take
 * --hero-tekst-meta (11 px) and that no later rule set to 12 px yet: the hint of a key figure, the initials of a small
 * avatar, the time of a time line and the heading of a phase. Only the size: each keeps its line. */
:where(.app-kto) .hero-kpi-hint, :where(.app-kto) .hero-avatar-klein, :where(.app-kto) .hero-tijdlijn-tijd, :where(.app-kto) .hero-fase-kop { font-size: var(--h-tekst-meta); }

/* The portal reads at 16 px, and so do its fields on the phone, because iOS Safari zooms in on a field under 16 px
 * (ticket 8231); the work place (hero-app) stays at 14 px */
:where(.app-kto) .p-portaal { font-size: var(--hero-tekst-md); }
:where(.app-kto) .p-portaal :is(input, textarea, select, .hero-invoer) { font-size: var(--hero-tekst-md); }

/* The counter: 12 px everywhere, in a tab or a segment, in the side menu and the bottom bar, in a heading and on its
 * own (the house style says 11 px, --hero-tekst-meta), with its line height: the pill stays 18 px high (spec 8) */
:where(.app-kto) .hero-teller { font-size: var(--h-tekst-meta); line-height: var(--hero-teller-hoogte); }

/* The hidden attribute always hides: a class that sets display (hero-knop, hero-chip) would otherwise win */
:where(.app-kto) [hidden] { display: none !important; }

/* Skip link: the first tab stop of every screen (regels/toegankelijkheid.md; the patterns), out of view until it has
 * the focus, then at the top left over the header, at the edge distance --hero-rand-afstand (1.0.8) */
:where(.app-kto) .hero-overslaan {
  position: absolute; left: var(--hero-rand-afstand); top: -80px; z-index: var(--hero-z-laag);
  display: inline-flex; align-items: center; min-height: var(--h-tikdoel); padding: 0 var(--hero-ruimte-16);
  border-radius: var(--hero-radius); background: var(--h-vlak); color: var(--h-link);
  font-weight: var(--hero-gewicht-label); text-decoration: none; box-shadow: var(--hero-schaduw-l);
}
:where(.app-kto) .hero-overslaan:focus { top: var(--hero-rand-afstand); outline: 0; box-shadow: var(--hero-schaduw-l), var(--h-focus-ring); }

/* Skeleton for the loading state (component 10; also a loading card or row): grey blocks in the size of the content,
 * after 300 ms, never a spinner; a slow breath only when motion is allowed (regels/toegankelijkheid.md). The corner is
 * 8 px (--hero-radius), the corner of a field or a button: 4 px is only for a checkbox (regels/vijf-regels.md, the
 * paragraph under the five rules; a line of 12 px gets round ends). */
:where(.app-kto) .hero-skelet { display: block; border-radius: var(--hero-radius); background: var(--h-skelet); }
:where(.app-kto) .hero-skelet-regel { height: 12px; }
:where(.app-kto) .hero-skelet-regel + .hero-skelet-regel { margin-top: 8px; }
:where(.app-kto) .hero-skelet-kop { height: 16px; width: 40%; }
:where(.app-kto) .hero-skelet-blok { height: 56px; }
@media (prefers-reduced-motion: no-preference) { :where(.app-kto) .hero-skelet { animation: hero-skelet-adem 1.6s ease-in-out infinite; } }
@keyframes hero-skelet-adem { 50% { opacity: 0.6; } }

/* Chosen row or card: a 3 px stripe on the left in Hero Blauw, never a blue surface (rapport 03, 1.3 rows 4 and 9) */
:where(.app-kto) .is-gekozen { box-shadow: inset 3px 0 0 var(--h-selectie-streep); }
/* The stripe in the high contrast mode (1.0.58, (fg); oordeel 578 on ticket 32706, the form measured there): the
 * stripe is a box-shadow, which the mode sets to none, so a chosen row or card looked like every other one. In the
 * mode it gets a border of 3 px in Highlight at the side of the stripe; the content moves 3 px or less in the mode
 * only. The chosen row of a table carries it on its first cell (04-tabel.css). */
@media (forced-colors: active) {
  :where(.app-kto) .is-gekozen { border-left: 3px solid Highlight; }
}

/* A clickable card is a link: block, text in ink without underline, the ring around the whole card (component 3) */
:where(.app-kto) a.hero-kaart { display: block; color: inherit; text-decoration: none; }
:where(.app-kto) a.hero-kaart:focus-visible { outline: 0; box-shadow: var(--hero-schaduw-s), var(--h-focus-ring); }

/* Focus ring of 1.0 on an own control that does not use a shared class: the same ring as the buttons */
:where(.app-kto) .hero-focusring:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }

/* 1.0.33: a surface in Hero Blue (a tile or a band) with controls in it. Text and quiet buttons are white, the focus
 * ring is the light ring (--h-focus-ring-licht), because the blue ring of --h-focus-ring reaches 1:1 on Hero Blue
 * (spec 1, regels/toegankelijkheid.md). No primary button on it: a filled blue button disappears on a blue surface.
 * The hover only with a mouse, inside @media (hover: hover) like every :hover of the system, so that a touch screen
 * keeps no hover colour after a tap (point 8 of the toets). */
:where(.app-kto) .hero-vlak-blauw { background: var(--hero-blue); color: var(--hero-wit); border-radius: var(--hero-radius-l); padding: var(--hero-ruimte-16); }
:where(.app-kto) .hero-vlak-blauw .hero-knop-rustig { color: var(--hero-wit); }
@media (hover: hover) {
  :where(.app-kto) .hero-vlak-blauw .hero-knop-rustig:hover { background: color-mix(in srgb, var(--hero-wit) 12%, transparent); }
}
:where(.app-kto) .hero-vlak-blauw :is(.hero-knop, a, button, input, select, textarea, [tabindex]):focus-visible { box-shadow: var(--h-focus-ring-licht); outline: none; }
/* The high contrast mode (1.0.47, point e on ticket 34724): a hero-icoon is a surface in currentColor with
 * a mask (componenten.css), and under forced-colors the browser sets that surface to Canvas, so the icon disappears.
 * preserve-parent-color lets the icon take the forced text colour of its parent (CanvasText, LinkText, ButtonText, or
 * HighlightText on a chosen item) and keeps the surface in currentColor; measured in Chromium with emulated
 * forced-colors, light and dark: every icon visible (1.0.46: none). preserve-parent-color only acts when the colour of
 * the icon inherits: an icon with a colour of its own (the side menu and the search field --h-tekst-3, the toast
 * --h-toast-goed) kept that colour in the mode, and the icon of the toast fell to 1.52:1 (T6b, after the measurement
 * on ticket 34724, 14:25). Hence color: inherit, and !important because those own colours stand in rules of a
 * higher weight (.hero-menu-item .hero-icoon, .hero-toast > .hero-icoon); only in the mode, where the forced colour
 * of the place is the only right colour. */
@media (forced-colors: active) {
  :where(.app-kto) .hero-icoon { forced-color-adjust: preserve-parent-color; color: inherit !important; }
}
/* The focus in the high contrast mode (1.0.47, T8, the note of 14:32 on ticket 34724; WCAG 2.4.7): the mode sets
 * box-shadow to none, so a focus drawn only as a box-shadow with outline 0 or none disappears there. That holds for
 * .hero-knop (componenten.css), the skip link, a card as a link, hero-focusring, a control on a blue surface and some
 * twenty rules of the components (the table, the switch, the tabs, the toast, the modal, the tile, the step line, the
 * worker column, the chat bar and the way back of the shell). One rule in the mode gives every focus a transparent
 * outline in the width of the ring at the place of the ring of the system (--h-focus-afstand); the mode draws it in its
 * own colour. Where a component draws its ring elsewhere, it repeats its own offset in the mode with !important and a
 * heavier selector (1.0.49, (ca)), three exceptions: the bottom bar inside its link (00-shell.css), the pill 1 px around
 * the visible pill on the phone (15-versiepil.css), and since 1.0.50 a scroll box below, whose ring falls inside the
 * box, because outside it a box with overflow hidden around it cuts the ring off. Outside the mode nothing changes
 * for the others; componenten.css stays as generated. */
@media (forced-colors: active) {
  :where(.app-kto) :focus-visible, :where(.app-kto) .hero-overslaan:focus { outline: var(--h-focus-breedte) solid transparent !important; outline-offset: var(--h-focus-afstand) !important; }
}
/* A scroll box that takes the focus itself (1.0.50, finding 2 on ticket 34724; regels/toegankelijkheid.md,
 * Hoge-contrastmodus): an element that scrolls and gets the focus (tabindex="0", or a scroller that Chromium makes
 * focusable when nothing in it can take the focus), and that often fills a card with overflow hidden, so that a ring
 * outside it is cut off: measured with the offset of T8 0 of 4 sides and 1:1 in the mode. The ring falls inside the
 * box: in the mode for hero-schuifvak (the class for a scroll box of an app) and the three scroll boxes of the system
 * that take the focus: hero-modal-body and hero-tabel-kaart with tabindex="0" (spec 12 and 4, Toetsenbord) and
 * hero-chat-gesprek, the history of the chat bar, a scroller without controls in it (4 of 4 sides, 11.31:1 light and
 * 8.73:1 dark). hero-drawer and hero-werkers-paneel stay out: they hold their own buttons (Sluiten, the workers), so
 * they never take the focus themselves. Outside the mode only hero-schuifvak gets the ring inside; the others keep the
 * ring they draw now, so the prints outside the mode stay the same. Since 1.0.58 ((eq)) hero-modal-body draws its ring
 * outside the mode as an outline inside its edge too (12-modal-drawer.css), so that what scrolls under it does not
 * cover it. */
@media (forced-colors: active) {
  :where(.app-kto) :is(.hero-schuifvak, .hero-modal-body, .hero-tabel-kaart, .hero-chat-gesprek):focus-visible { outline-offset: calc(-1 * var(--h-focus-breedte)) !important; }
}
:where(.app-kto) .hero-schuifvak:focus-visible { outline-offset: calc(-1 * var(--h-focus-breedte)); }

/* ---- 00-huisstijl-correcties.css ---- */
/* Corrections of six class rules of the house style. componenten.css stays the regie's text, unchanged; these rules
 * come after it. regels/verboden.md rejects the first two, and report 03 (open point 12) with answer 5a of the regie on
 * ticket 5281 puts their fix in 1.0; the third follows the decision of 1.0.8 that blue text on a surface is --h-link; the fourth gives a button with is-uit
 * the dark look of disabled (1.0.16, spec 1); the fifth gives the orange action button its text in the ink (1.0.19, S13).
 * The sixth keeps an icon button at its size in a flex row (1.0.31, spec 1).
 * The regie changes the house style itself when it suits her. Only tokens. */

/* The step of an AI colleague (.p-trede, in the head of a proposal): the house style fades it with opacity 0.85,
 * which takes it below AA on the proposal surface (4.08:1 at 12 px on --h-ai-licht). Full colour without opacity. */
/* Full purple, as rapport 03 open point 12, answer 5a of the regie and the dashboard standard 4 say: 5.47:1 on the
 * proposal surface (--h-ai-licht), AA; with the opacity of the house style it was 4.08:1. */
:where(.app-kto) .p-trede { opacity: 1; color: var(--h-ai-tekst); }

/* An icon button is 40 x 40 px in the house style; on a phone every control is a tap target of 44 px, so the icon
 * button is 44 px wide and high there, the small one too (see 00-basis.css). The large ones (48 and 56 px) stay. */
@media (width < 600px) {
  :where(.app-kto) .hero-knop-icoon:not(.hero-knop-groot):not(.hero-knop-xl) { width: var(--h-tikdoel); min-height: var(--h-tikdoel); }
}

/* The light primary button (.hero-knop-primair-licht; not used in the parts or the patterns): one blue for text. Blue
 * text on a surface is --h-link (decision of 1.0.8, P1; ticket 14559); --h-info-tekst is the role of the info status.
 * The house style gives this button --hero-blue as text and --h-info-tekst in the dark theme, so this rule fixes no
 * contrast error: it brings the button in line with the decision. Both selectors keep the specificity of the house
 * style rules, so only the colour changes: on --h-vlak 10.85:1 light and 6.83:1 dark. Border and hover stay. */
:where(.app-kto) .hero-knop-primair-licht, [data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-primair-licht { color: var(--h-link); }

/* A button that cannot act yet (1.0.16, spec 1: aria-disabled="true" with the hint and the class is-uit, after keuze 4
 * of the UI-toets 23394) looks like a disabled one. The house style gives is-uit the light grey of
 * disabled, but in the dark theme only :disabled of the primary, dark and orange button gets the dark grey, so there a
 * dark button with is-uit kept its active look and a primary one the light grey. Same specificity as the rules of the
 * house style for :disabled in the dark theme, which come earlier, so the same colours. */
[data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-primair.is-uit, [data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-donker.is-uit, [data-hero-app-theme="dark"] :where(.app-kto) .hero-knop-oranje.is-uit { background: var(--h-neutraal-bg); color: var(--h-neutraal-tekst); }

/* The orange action button (.hero-knop-oranje; 1.0.19, S13, ticket 25097): the one exception to rule 4, the one striking
 * action of a screen that the owner of Hero points out (now only Indienen van uren, ticket 24022), at most one per screen
 * and then no filled blue button next to it. The house style gives it white text, which reaches 3.22:1 on Hero Orange
 * (--h-oranje-actie), under the 4.5:1 of AA at 14 px. Its text is the fixed ink --h-oranje-actie-tekst (--hero-blue-black,
 * also in the dark theme, where --h-tekst turns light): 5.52:1 on the surface and 8.28:1 on the hover, which is the light
 * orange since 1.0.19 (--h-oranje-actie-hover). Same specificity as the house style rule, which comes earlier, so only
 * the colour changes; :disabled and is-uit keep their grey, because their rules weigh more. */
:where(.app-kto) .hero-knop-oranje { color: var(--h-oranje-actie-tekst); }

/* An icon button keeps its size in a flex row (1.0.31, K5 of the pre-review of 1.0.30). The house style gives
 * .hero-knop-icoon a width but no flex: none, so in a flex row (the head of a modal, a message with a close button, a
 * list row) it shrank down to its icon as soon as the text next to it did not fit on one line: the close button of a
 * message with two hundred characters was 18 px wide on the phone instead of 44. Since 1.0.30 only in the head of a
 * modal (the addition of component 12), since 1.0.31 everywhere. */
:where(.app-kto) .hero-knop-icoon { flex: none; }

/* ---- 00-shell.css ---- */
/* The shell of a screen of the Hero app: the frame around the components on the laptop and the phone (new in 0.5.0,
 * a proposal to the regie). The house style and the platform layer have its parts (hero-app, hero-kopbalk,
 * hero-zijmenu, p-onderbalk, p-versie) but not how they behave on a phone. Sources: rapport 03 of Interface, hoofdstuk 2
 * (the five fixed things: one sentence on top; one blue button, right in the head on the laptop and at the bottom on
 * the phone; the version pill at the bottom right; on the phone one column, a margin of 12 px, the bottom bar of 72 px
 * and the blue button of 44 px above it); the set-up of the five patterns (0.5.0); the report of pat-a on the patterns
 * lijst and detail (open points 1 to 5 and 10); spec 15 (the pill at the end of the page, not floating). Every pattern
 * in patronen/ takes its frame from here and has no shell rules of its own. The skip link (hero-overslaan), the hidden
 * attribute and the 12 px of the shell are in 00-basis.css; the page that does not scroll under an open drawer or modal
 * is in 12-modal-drawer.css (component 12). Only tokens; the two sizes of the frame are tokens since 0.5.0
 * (--hero-onderbalk-hoogte, --hero-logo-hoogte).
 *
 * Classes: hero-schermtitel (the title with its counter in the top bar on the phone); hero-terug inside the top bar
 * (the way back on the phone, "< Dossiers", in the place of the menu button and the title; the house-style hero-terug
 * in the content steps aside there; with the hidden attribute, as in a work tray without an opened item, menu and title
 * stay); hero-zoekknop (opens the search field over the top bar on the phone); hero-kopbalk-acties (the help; away on
 * the phone; the account is in the foot of the side menu, hero-zijmenu-voet of the platform layer, with
 * hero-zijmenu-voet-tekst for its two lines); hero-knopplek (the place of the one blue button: on the laptop where the
 * pattern puts it, right in the head of a list or a detail, in the opened item of a work tray, under the fields of a
 * form; on the phone the shell makes it a fixed bar of one row above the bottom bar, the blue button on the right and a
 * quiet one on its left, also when the buttons are in a group of their own); hero-voet (the end of the page with the
 * version pill); hero-pagina (the page in hero-inhoud; 1.0.3: on the root of an app that owns its page without hero-app
 * or p-portaal, also the frame of that page; 1.0.5: with data-schil, which a remote sets in the HeroApp shell, the
 * frame follows the scroll area of that shell; 1.0.7: with data-kopbalk, for an app with a top bar of its own above
 * the frame, the frame fills the window under that bar). The search state is an attribute of the top bar:
 * data-zoek="open". A screen hides its hero-knopplek (or an ancestor of it) with the hidden attribute when it has no
 * blue button, so that nothing fixed waits at the bottom; what a pattern adds to the bar (a line under the buttons) it
 * sets in --hero-knopplek-extra on hero-app. The menu as a drawer (under 900 px) traps the focus; that behaviour is in
 * patronen/shell.js, which the patterns share (menu, search, "/", Escape, the version pill and the toast in its live
 * region). */

/* ---------- derived sizes ---------- */
:where(.app-kto) .hero-app {
  /* What a pattern adds to the bar with the blue button, such as the line "Concept bewaard" of a form (24 px); set it
   * on hero-app */
  --hero-knopplek-extra: 0px;
  /* The bar with the blue button on the phone: 44 + 2 × 12 + 1 = 69 px (the button, 12 px above and under it, its top
   * line), plus what the pattern adds. The 12 px above and under is the spacing token, not the edge distance
   * --hero-rand-afstand (1.0.19, kan 4 of the pre-review of the pill): an app that sets --hero-pagina-padding to 0
   * without a unit made this calc invalid, and with it --hero-vast-onder, the room under the content and the place of
   * the pill. The edge distance stays on the left and the right of the bar (1.0.8). */
  --hero-knopbalk-hoogte: calc(var(--h-tikdoel) + 2 * var(--hero-ruimte-12) + 1px + var(--hero-knopplek-extra));
  /* What is fixed at the bottom of the screen: nothing on the laptop; on the phone the bottom bar, plus the bar with
   * the blue button while the screen has one (the media query below) */
  --hero-vast-onder: 0px;
  /* The room of the version pill at the end of the page. Laptop 48: the pill stands 14 px from the bottom and is 28 px
   * high (platform layer, section 8), 6 px air above it. Phone 52 (below): 4 px above what is fixed, a target of 44 px
   * (aanvulling 15), 4 px air above it. */
  --hero-pil-ruimte: var(--hero-ruimte-48);
  /* The toast stands above what is fixed at the bottom and above the pill, never over them; 11-toast.css adds the page
   * margin */
  --hero-toast-onder: calc(var(--hero-vast-onder) + var(--hero-pil-ruimte));
}

/* ---------- laptop and phone ---------- */
/* The logo in the top bar is 34 px (regels/vijf-regels.md, rule 1; the platform layer sets 38 px). :where keeps the
 * weight of the platform rule, so that a more specific one (the phone mock-up of the platform, 30 px) still wins. */
:where(.app-kto) :where(.hero-kopbalk) .hero-logo img { height: var(--hero-logo-hoogte); }

/* The icon in the menu (1.0.49, (bo) of 1.0.47, decided on ticket 34724; componenten/LEESMIJ.md, De shell): one size
 * per app in the side menu, the drawer (the same side menu under 900 px) and the rail (hero-app-rail), so that the
 * three look alike. 16 px is the standard, the base size of hero-icoon; an app that wants 20 px sets
 * --hero-menu-icoon: 20px on hero-app, and no other value. The rule outweighs a size class on the icon (hero-icoon-18),
 * so the size is the one of the app and not of each place. */
:where(.app-kto) .hero-menu-item .hero-icoon { width: var(--hero-menu-icoon, 16px); height: var(--hero-menu-icoon, 16px); }

/* The parts of the top bar on the phone stay away on the laptop */
:where(.app-kto) .hero-schermtitel, :where(.app-kto) .hero-zoekknop, :where(.app-kto) .hero-kopbalk .hero-terug { display: none; }

/* The foot of the side menu: the two lines of the account next to the avatar take the room that is left and are cut
 * off with an ellipsis (hero-afkappen) instead of pushing the settings button out */
:where(.app-kto) .hero-zijmenu-voet-tekst { flex: 1 1 auto; min-width: 0; }

/* The end of the page: a row over the full width. The pill in it is placed by the platform layer 16 px from the right
 * and 14 px from the bottom of hero-app: at the end of the page, not floating (spec 15). It is a button. */
:where(.app-kto) .hero-voet { grid-column: 1 / -1; }
:where(.app-kto) .p-versie { cursor: pointer; }

/* The content ends above the pill and above what is fixed at the bottom; a screen has no padding-bottom of its own.
 * Since 1.0.58 ((fe), spec 11, Maten) also above the column of the toasts while it shows one: patronen/shell.js sets
 * --hero-toast-ruimte on the root (the column, its edge distance and 12 px, made in px by the script; 0px without a
 * toast), and main takes it on top of the room for the fixed parts; the scroll container (the page in the shell, or
 * main when only main scrolls) gets a scroll-padding-bottom of --hero-toast-schuif (the distance from the top of the
 * column to the bottom of the screen plus 12 px, because the page scrolls under the fixed parts). Without the script
 * the variables are not there and nothing changes; :where() keeps the weight at 0, so that a scroll-padding of the
 * app wins. */
:where(.app-kto) .hero-inhoud { padding-bottom: calc(var(--hero-vast-onder) + var(--hero-pil-ruimte) + var(--hero-toast-ruimte, 0px)); }
:where(.app-kto), :where(.app-kto) :where(.hero-inhoud) { scroll-padding-bottom: var(--hero-toast-schuif, 0px); }
/* An app in which only main scrolls puts the pill in p-versie-plek as the last child of main (1.0.47, K5 of the
 * ticket 34724; 15-versiepil.css and spec 15): the place takes the room of the pill, so main keeps only the room
 * of what is fixed at the bottom, and the pill stands at the end of main, under its content */
:where(.app-kto) .hero-inhoud:has(> .p-versie-plek) { padding-bottom: calc(var(--hero-vast-onder) + var(--hero-toast-ruimte, 0px)); }
/* On a short page the place stands at the bottom of main (1.0.50, finding 3 on ticket 34724; spec 15,
 * Plek in main): main becomes a column and the place takes the room that is left above it, so an open panel never
 * reaches above the top of main, where up to 1.0.49 main cut it off, the more the shorter the page: 134, 144 and 124
 * px at 195, 390 and 1440 on a page of a title and two lines, 210, 180 and 160 px on a page of a title and one line in a
 * wrapper. The children of such a main do not shrink, so that on a long page the place keeps its height; and a child
 * other than the place takes the full width, so that a wrapper with a max-width and margin auto keeps its width instead
 * of becoming as narrow as its content (the system sets box-sizing: border-box on every element, componenten.css).
 * Both with the weight 0 of :where(), so that every rule of an app wins. */
:where(.app-kto) .hero-inhoud:has(> .p-versie-plek) { display: flex; flex-direction: column; }
:where(.app-kto) .hero-inhoud > .p-versie-plek { margin-top: auto; }
:where(.app-kto) :where(.hero-inhoud:has(> .p-versie-plek) > *) { flex-shrink: 0; }
:where(.app-kto) :where(.hero-inhoud:has(> .p-versie-plek) > :not(.p-versie-plek)) { width: 100%; }

/* The toast above the pill: since 1.0.19 11-toast.css places the place and the column on every size at
 * --hero-toast-onder, with the edge distance as a margin under them; the shell sets only its sum above (1.0.19: its
 * own rule with the sum in a calc fell away, because a 0 without a unit made it invalid) */

/* The bottom bar is for the phone. Like the top bar it blurs what scrolls under it: at 97 % white the rows behind it
 * stayed readable. Its text is 12 px (00-basis.css); the focus ring stays inside the bar. A screen below a place of
 * the bar (a detail under Dossiers) marks that place with aria-current="true". */
:where(.app-kto) .p-onderbalk {
  display: none;
  height: var(--hero-onderbalk-hoogte);
  backdrop-filter: blur(var(--hero-ruimte-8));
}
:where(.app-kto) .p-onderbalk a:focus-visible { outline-offset: calc(-2 * var(--h-focus-breedte)); }
/* In the high contrast mode (1.0.49, (ca) and index 180 of ticket 34724) the ring keeps its place inside the link: T8 of
 * 00-basis.css sets the offset of every focus to that of the ring of the system with !important, so this rule repeats
 * the offset of the bar with !important, and its heavier selector wins */
@media (forced-colors: active) {
  :where(.app-kto) .p-onderbalk a:focus-visible { outline-offset: calc(-2 * var(--h-focus-breedte)) !important; }
}
:where(.app-kto) .p-onderbalk a[aria-current="true"] { color: var(--h-menu-actief-tekst); font-weight: var(--hero-gewicht-label); }

/* ---------- a page outside the shells ----------
 * hero-pagina is the page in hero-inhoud of hero-app (componenten.css: a column with a gap of 16 px and the page
 * padding). An app that owns its page without hero-app or p-portaal sets hero-pagina on its root (1.0.3, ticket
 * 8284); outside the shells it is then also the frame, like p-portaal: the canvas, at least the height of the
 * screen, the place of the version pill (the platform layer places the pill in the nearest frame with a position,
 * which componenten.css gives hero-app and p-portaal) and room at the bottom for the pill, 48 + 8 = 56 px. Inside a
 * shell hero-pagina stays as it was, hence the :not(): without it every page of the work place (hero-pagina in
 * hero-inhoud) would be 100vh high with 56 px at the bottom. The pill and its panel follow 15-versiepil.css, as in
 * the two shells. */
:where(.app-kto) .hero-pagina:not(:is(.hero-app, .p-portaal) *) {
  position: relative;
  min-height: 100vh;
  background: var(--h-canvas);
  padding-bottom: calc(var(--hero-ruimte-48) + var(--hero-ruimte-8));
}
/* An app with a top bar of its own above the frame and outside it sets data-kopbalk on its hero-pagina (1.0.7, ticket
 * 12679 point 3: an app set four properties back by hand on the column under its top bar). The frame is then the
 * column under that bar: at least the window minus the bar (--hero-kopbalk-hoogte, 56 px; an app with another bar, such
 * as the portal with 64 px, sets the token on its own root), 100vh first and 100dvh where the browser knows it, so that
 * bar and frame fill the window together and a short page does not scroll; the padding at the top and the sides is
 * that of hero-pagina in the shell (componenten.css, --hero-pagina-padding), and there is no gap: the frame starts
 * right under the bar and puts no room of its own between its children (hero-pagina has 16 px in the shell). Position,
 * canvas and the 56 px at the bottom for the pill stay those of the frame rule above, so an app sets neither the gap nor
 * the height back. An app whose screens carry their own padding (ticket 12679) sets padding-top and
 * padding-inline to 0 on its frame and leaves --hero-pagina-padding as it is; the panel of the pill, the toast, the bar
 * with the blue button and the skip link keep their distance to the edge through --hero-rand-afstand (1.0.8, ticket
 * 14155). This rule does not use that token: the frame keeps the padding of hero-pagina.
 * :where() keeps the weight at 0,2,0, as heavy as the rule above, so that this rule wins by its place after it. */
:where(.app-kto) .hero-pagina[data-kopbalk]:not(:where(.hero-app, .p-portaal) *) {
  gap: 0;
  padding-top: var(--hero-pagina-padding);
  padding-inline: var(--hero-pagina-padding);
  min-height: calc(100vh - var(--hero-kopbalk-hoogte));
}
/* 100dvh only where the browser knows it (1.0.68, the report on ticket 34724): the declaration holds
 * var(), so a browser without dvh (Chrome and Edge 105 to 107) would keep it when it parses and drop it when it
 * computes, and the frame would lose its minimum height, with the 100vh above it and all. */
@supports (height: 100dvh) {
  :where(.app-kto) .hero-pagina[data-kopbalk]:not(:where(.hero-app, .p-portaal) *) { min-height: calc(100dvh - var(--hero-kopbalk-hoogte)); }
}
/* A remote in the HeroApp shell sets data-schil on its hero-pagina as soon as the shell is there (1.0.5); the app reads
 * the flag of the shell for it (an app reads window.__SHELL_CONTEXT__). The frame then follows the height of the scroll
 * area of the shell (a percentage min-height against a definite height) and never that of the window, so that a short
 * page gets no scroll bar and the pill stands at the bottom of the area. When the scroll area has no definite height,
 * the min-height behaves as auto and the pill stands at the end of the content, never too high. The rest of the frame
 * rule above (position, canvas, 56 px at the bottom) still holds as long as the shell does not draw the pill itself.
 * data-schil is the name that app already uses (UI-toets 8578), so it changes nothing. The selector
 * weighs as much as the two rules above (0,2,0) and wins by its place after them, also over data-kopbalk: in the shell
 * the frame follows the scroll area, never the window; the gap of 0 and the padding of the data-kopbalk rule stay. */
:where(.app-kto) .hero-pagina[data-schil] { min-height: 100%; }

/* ---------- phone ---------- */
@media (width < 600px) {
  :where(.app-kto) .hero-app { --hero-vast-onder: var(--hero-onderbalk-hoogte); --hero-pil-ruimte: calc(var(--h-tikdoel) + var(--hero-ruimte-8)); }
  :where(.app-kto) .hero-app:has(.hero-knopplek:not([hidden], [hidden] *)) { --hero-vast-onder: calc(var(--hero-onderbalk-hoogte) + var(--hero-knopbalk-hoogte)); }

  /* The top bar: the menu or the way back, the title of the screen with its counter, the search button. The logo, the
   * field and the actions step aside. */
  :where(.app-kto) .hero-kopbalk:has(.hero-schermtitel, .hero-terug:not([hidden])) .hero-logo, :where(.app-kto) .hero-kopbalk .hero-kopbalk-acties { display: none; }
  :where(.app-kto) .hero-schermtitel {
    display: flex;
    align-items: center;
    gap: var(--hero-ruimte-8);
    min-width: 0;
    margin: 0;
    font-size: var(--hero-tekst-md);
    line-height: var(--h-regel-lees);
    font-weight: var(--hero-gewicht-label);
    color: var(--p-inkt);
  }
  :where(.app-kto) .hero-kopbalk .hero-terug {
    display: inline-flex;
    gap: var(--hero-ruimte-4);
    min-height: var(--h-tikdoel);
    margin-left: calc(-1 * var(--hero-ruimte-8));
    padding: 0 var(--hero-ruimte-8);
    border-radius: var(--hero-radius);
    color: var(--h-link);
    font-weight: var(--hero-gewicht-label);
  }
  :where(.app-kto) .hero-kopbalk .hero-terug:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }
  /* A screen below another one shows the way back instead of the menu and the title; a hidden way back (a work tray
   * without an opened item) leaves them */
  :where(.app-kto) .hero-kopbalk:has(.hero-terug:not([hidden])) :is(.hero-menuknop, .hero-schermtitel) { display: none; }
  /* the way back in the content steps aside while the top bar shows it */
  :where(.app-kto) .hero-app:has(.hero-kopbalk .hero-terug:not([hidden])) .hero-inhoud .hero-terug { display: none; }

  /* Search: the button opens the field over the top bar, in the place of the title; the button is then "Sluit het
   * zoeken", and Escape closes it with the focus back on the button (component 17, open point for the regie). What the
   * field covers leaves the tab order. */
  :where(.app-kto) .hero-zoekknop { display: inline-flex; margin-left: auto; }
  :where(.app-kto) .hero-kopbalk:has(.hero-zoekknop) .hero-zoekvak { display: none; }
  :where(.app-kto) .hero-kopbalk[data-zoek="open"] .hero-zoekvak {
    display: block;
    position: absolute;
    top: calc((var(--hero-kopbalk-hoogte) - var(--h-tikdoel)) / 2);
    /* at the padding of the top bar on the phone (12 px, componenten.css) and 8 px left of the search button. Up to
     * 1.0.18 this was the page padding, 12 px on the phone as well; but an app that sets --hero-pagina-padding to 0
     * without a unit made the calc of the right edge invalid, and the top bar keeps its own 12 px (1.0.19, kan 4) */
    left: var(--hero-ruimte-12);
    right: calc(var(--hero-ruimte-12) + var(--h-tikdoel) + var(--hero-ruimte-8));
    width: auto;
  }
  :where(.app-kto) .hero-kopbalk[data-zoek="open"] :is(.hero-menuknop, .hero-schermtitel, .hero-terug) { visibility: hidden; }

  :where(.app-kto) .p-onderbalk { display: grid; }
  /* the side menu opens as a drawer: every place in it a tap target of 44 px */
  :where(.app-kto) .hero-zijmenu .hero-menu-item { min-height: var(--h-tikdoel); }

  /* The one blue button: a bar of one row above the bottom bar over the full width, the button 44 px high (a pattern
   * that adds a line sets --hero-knopplek-extra and its own wrap). A quiet button shares the bar, each half: the blue
   * one on the right, the quiet one on its left, as in the foot of a drawer; the same for buttons in a group of their
   * own in the bar (the foot of a form). The order in the markup, and so the Tab order, stays that of the pattern. */
  :where(.app-kto) .hero-knopplek {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--hero-ruimte-8);
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--hero-onderbalk-hoogte);
    z-index: var(--hero-z-kopbalk);
    padding: var(--hero-ruimte-12) var(--hero-rand-afstand);
    background: var(--h-kopbalk-bg);
    backdrop-filter: blur(var(--hero-ruimte-8));
    border-top: 1px solid var(--h-rand);
  }
  :where(.app-kto) .hero-knopplek .hero-knop { flex: 1 1 0; }
  :where(.app-kto) .hero-knopplek .hero-knop-primair { order: 1; }

  /* The pill at the end of the page, 4 px above what is fixed (with its transparent border of 8 px that is 12 px to the
   * eye, the page margin), and its panel above it. The open panel outweighs the phone rule of 15-versiepil.css, which
   * comes after this file. */
  :where(.app-kto) .hero-app .p-versie { bottom: calc(var(--hero-vast-onder) + var(--hero-ruimte-4)); }
  /* in p-versie-plek (1.0.47) the place already ends above what is fixed: the pill 4 px above its bottom */
  :where(.app-kto) .hero-app .p-versie-plek > .p-versie { bottom: var(--hero-ruimte-4); }
  /* Its height follows the same room as in 15-versiepil.css (1.0.6, ticket 8797 point 1): the window minus what is
   * fixed at the bottom with the room of the pill (the bottom of the panel), the top bar and 8 px air under it. This
   * rule is for the panel as a direct child of the work place (hero-app, as in the patterns); in p-versie-plek,
   * p-versie-strook and hero-versiepil-plek the rules of 15-versiepil.css hold (1.0.71, (gm)) */
  :where(.app-kto) .hero-app > .p-versie-paneel:not([hidden]) {
    bottom: calc(var(--hero-vast-onder) + var(--hero-pil-ruimte));
    max-height: calc(100vh - var(--hero-vast-onder) - var(--hero-pil-ruimte) - var(--hero-ruimte-64) - var(--hero-ruimte-8));
  }
  /* 100dvh only where the browser knows it (1.0.68): with var() a browser without dvh would drop it when it computes */
  @supports (height: 100dvh) {
    :where(.app-kto) .hero-app > .p-versie-paneel:not([hidden]) { max-height: calc(100dvh - var(--hero-vast-onder) - var(--hero-pil-ruimte) - var(--hero-ruimte-64) - var(--hero-ruimte-8)); }
  }
}
/* The bottom bar on a narrow window (1.0.47, K9 on ticket 34724): a cell is the window minus 16 px divided
 * by four, and four labels of 12 px touch from about 270 px on. Below 300 px the bar shows only the icons: the label
 * in its own span.p-onderbalk-label goes away and the link carries the name as aria-label. A link whose label is a
 * bare text node keeps it, so an app that does not change its markup sees nothing change. The place you are then has
 * the form of the place in the side menu: the surface --h-menu-actief-bg and an orange stripe at the top, 2 px as the
 * active tab stripe (spec 08), with the icon in the colour of the place. From 300 px on nothing changes. Below 300 px
 * is (width < 300px) since 1.0.55; until 1.0.54 (width <= 299px). */
@media (width < 300px) {
  :where(.app-kto) .p-onderbalk .p-onderbalk-label { display: none; }
  :where(.app-kto) .p-onderbalk a:is([aria-current="page"], [aria-current="true"]) {
    background: var(--h-menu-actief-bg);
    border-radius: var(--hero-radius);
  }
  :where(.app-kto) .p-onderbalk a:is([aria-current="page"], [aria-current="true"])::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--hero-ruimte-12);
    right: var(--hero-ruimte-12);
    height: 2px;
    background: var(--hero-orange);
  }
}
/* The place you are in the high contrast mode (1.0.50, (bv) of 1.0.47, decided on ticket 34724;
 * regels/toegankelijkheid.md, Hoge-contrastmodus): the mode draws the stripe and the surface of the place in Canvas,
 * the same as the page, so the place in the side menu, the drawer and the rail, in the bottom bar below 300 px and in
 * the portal nav could not be told from the others (1:1); only the weight was left. The stripe takes the system colour
 * Highlight, which the mode keeps: 11.31:1 light and 8.73:1 dark against the place without the stripe. */
@media (forced-colors: active) {
  :where(.app-kto) .hero-menu-item[aria-current="page"]::before, :where(.app-kto) .hero-menu-item.is-actief::before { background: Highlight; }
  :where(.app-kto) .p-portaal-nav a[aria-current="page"]::after { background: Highlight; }
}
@media (forced-colors: active) and (width < 300px) {
  :where(.app-kto) .p-onderbalk a:is([aria-current="page"], [aria-current="true"])::before { background: Highlight; }
}
/* The way back in the top bar keeps its link colour under the mouse, also in a narrow window: the hover of the house
 * style would make it ink. Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (width < 600px) and (hover: hover) {
  :where(.app-kto) .hero-kopbalk .hero-terug:hover { color: var(--h-link); }
}

/* ---- 01-knop.css ---- */
/* Component 1, Knop. New in 1.0.37 compared with the house style: the icon button in a row (K192 of the post-test 965
 * on ticket 13547), such as the pencil by the name of a line in a reference or list row.
 * - hero-knop hero-knop-icoon hero-knop-inregel: 24 x 24 px at every width, the phone included, with the icon of 16 px;
 *   the spacing comes from the line (the line at least 24 px high, 8 px between two buttons; WCAG 2.5.8, where 24 px
 *   is the lower bound and no token). Three classes, so that the rule weighs as much as the tap target of an icon
 *   button on the phone (44 px, 00-huisstijl-correcties.css), which comes earlier in the additions and so gives way;
 * - hero-knop-verschijnt: invisible at rest (opacity 0; never display none or visibility hidden, so that the button
 *   stays in the tab order and in the accessibility tree), visible as soon as its line (a tr, li, dt or dd, or an
 *   element with hero-regel) is under the mouse or holds the focus, and always visible on a screen without a mouse
 *   (hover: none). Only the opacity is added to the transitions of the button, in --h-overgang (150 ms); with reduced
 *   motion nothing moves (componenten.css). The hover stands in @media (hover: hover), as every :hover of the system.
 * Only tokens. */
:where(.app-kto) .hero-knop.hero-knop-icoon.hero-knop-inregel { width: 24px; height: 24px; min-height: 0; padding: 0; }
:where(.app-kto) .hero-knop-verschijnt {
  opacity: 0;
  transition: background-color var(--h-overgang), border-color var(--h-overgang), color var(--h-overgang), opacity var(--h-overgang);
}
:where(.app-kto) :is(tr, li, dt, dd, .hero-regel):focus-within .hero-knop-verschijnt, :where(.app-kto) .hero-knop-verschijnt:focus-visible { opacity: 1; }
@media (hover: hover) {
  :where(.app-kto) :is(tr, li, dt, dd, .hero-regel):hover .hero-knop-verschijnt { opacity: 1; }
}
@media (hover: none) {
  :where(.app-kto) .hero-knop-verschijnt { opacity: 1; }
}
/* A narrow window (1.0.47, K9 on ticket 34724, proposal b): below 360 px, the step for wrapping
 * (regels/toegankelijkheid.md), a button outside a table is at most as wide as its box and its label wraps, so that a
 * long label in a card of 160 px stays inside the card at 320 px (WCAG 1.4.10) and at 195 px. Its height is then a
 * minimum (min-height stays 40 or 44 px). From 360 px on the label stays on one line, and in a table always. */
@media (width < 360px) {
  :where(.app-kto) .hero-knop:not(table *) { max-width: 100%; white-space: normal; }
}

/* ---- 02-chip.css ---- */
/* Component 2, chip. On the phone a filter chip keeps its height of 28 px but gets a tap target of 44 px through an
 * invisible, enlarged hit area (regels/toegankelijkheid.md: 44 px on the phone; spec 2), and a row of filter chips
 * stays on one line that scrolls sideways (spec 2). Only tokens. The status pill (hero-status) is not a control.
 * In a filter bar (hero-filterbalk) a filter chip is as high as the small field and the small button beside it
 * (1.0.16, answer 3 of Interface on ticket 20165): 32 px on the laptop (--hero-knop-hoogte-klein, the height of
 * hero-invoer-klein and hero-knop-klein) and 44 px on the phone (--h-tikdoel, the height of every field and button
 * there), visible and not only as a hit area. A loose filter chip keeps its 28 px. */
:where(.app-kto) .hero-filterbalk .hero-chip { min-height: var(--hero-knop-hoogte-klein); }
@media (width < 600px) {
  :where(.app-kto) .hero-chip { position: relative; }
  :where(.app-kto) .hero-chip::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--h-tikdoel); transform: translateY(-50%); }
  /* The scrolling row clips in both directions, so it gets 8 px of room above and below (taken back by the margin)
   * and the enlarged hit areas stay inside it; and 4 px left and right, also taken back by the margin, with a
   * scroll-padding of 4 px, so that the focus ring of the first and the last chip (2 px with 1 px room, spec 5) is not
   * clipped and a chip that Tab scrolls into view keeps its ring (1.0.44, K51 of ticket 34724) */
  :where(.app-kto) .hero-rij:has(> .hero-chip) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 8px; margin-block: -8px; padding-inline: 4px; margin-inline: -4px; scroll-padding-inline: 4px; }
  /* The row of a fixed set (1.0.51, xca and K89 on ticket 34724; spec 2, Keuze uit een vaste reeks): its
   * chips break over lines instead of scrolling, because Chromium does not scroll a chip that is partly in view into
   * view when the arrow keys choose it (at 195 px WhatsApp stayed 61.4 of 102.1 px in view, its ring on 3 sides), and
   * scroll-margin and scroll-padding do not change that. The key is the hidden input as the child of the chip, as in
   * the other rules of the fixed set; a filter chip is a button and has no input. The room of 8 px above and below
   * stays. The room of 4 px left and right with its negative margin goes since 1.0.52 (notitie 269 on
   * ticket 34724): the row no longer clips, so the ring needs no room there, and with that margin the box of the row
   * stood 4 px outside the content of a card. A row of filter chips keeps scrolling. */
  :where(.app-kto) .hero-rij:has(> .hero-chip > input) { flex-wrap: wrap; overflow-x: visible; padding-inline: 0; margin-inline: 0; }
  :where(.app-kto) .hero-filterbalk .hero-chip { min-height: var(--h-tikdoel); }
}
/* A narrow window (1.0.47, K9 on ticket 34724, proposal b): below 360 px a status pill outside a table is
 * at most as wide as its box and its text wraps, as the button (01-knop.css) and the status in a list line below
 * 240 px (09-lijstregel.css). From 360 px on it stays on one line, and in a table always. */
@media (width < 360px) {
  :where(.app-kto) .hero-status:not(table *) { max-width: 100%; white-space: normal; }
}

/* The choice from a fixed set (1.0.49, K52 on ticket 34724; spec 2, Keuze uit een vaste reeks): a choice
 * of two to five where one is always chosen, such as Kanaal kiezen with E-mail and WhatsApp, is a radio group and not a
 * row of toggle buttons. Each chip is a label.hero-chip around a visually hidden input type=radio (hero-sr), in an
 * element with role="radiogroup" and a name (or a fieldset with a legend); the browser gives the roles, one tab stop and
 * the arrow keys, without a script. The chosen chip takes the look of a chosen filter chip, without the cross, and the
 * chip with the radio that has the focus of the keyboard takes the ring of the system. The label is the positioned box
 * of its hidden radio. In the high contrast mode the chosen chip takes Highlight with HighlightText and the focus the
 * outline of T8 (00-basis.css) on the chip, because the radio itself is hidden. */
:where(.app-kto) label.hero-chip { position: relative; cursor: pointer; }
:where(.app-kto) .hero-chip:has(> input:checked) { background: var(--h-info-bg); border-color: var(--hero-blue); color: var(--h-info-tekst); }
:where(.app-kto) .hero-chip:has(> input:focus-visible) { box-shadow: var(--h-focus-ring); }
/* The chosen chip in the high contrast mode (1.0.51, xbw on ticket 34724; spec 2, Staten): with the
 * forced colours Chromium draws a plate in Canvas behind the text of the chip, over the Highlight of its surface, so
 * the text in HighlightText stood white on white (1:1) and the transparent outline of the focus took HighlightText
 * too. forced-color-adjust: none on the chosen chip keeps Highlight with HighlightText as they are (the text 11.31:1
 * light and 8.73:1 dark), and its outline with the focus is CanvasText, because none also keeps the transparent
 * colour of T8 (the ring 21:1 against the page). A chip that is not chosen and a filter chip keep the forced colours. */
@media (forced-colors: active) {
  :where(.app-kto) .hero-chip:has(> input:checked) { border-color: Highlight; background: Highlight; color: HighlightText; }
  :where(.app-kto) .hero-chip:has(> input:focus-visible) { outline: var(--h-focus-breedte) solid transparent; outline-offset: var(--h-focus-afstand); }
  :where(.app-kto) .hero-chip:has(> input:checked) { forced-color-adjust: none; }
  :where(.app-kto) .hero-chip:has(> input:checked:focus-visible) { outline-color: CanvasText; }
}

/* ---- 03-kaart.css ---- */
/* Component 3, Kaart. New in 1.0.20 compared with the house style (huisstijl/tokens.css, the card title):
 * - the title of a card is 14 px at the weight of a label (600, --hero-gewicht-label), as spec 03 says since 1.0 and
 *   as the comment of that token names it ("card heading"); the house style drew it at the heading weight (800,
 *   --hero-gewicht-kop), the one place where the spec and the css disagreed (UI-toetsen 20686 and 27166).
 *   The title of a page, the heading of a modal, h3, .hero-h3 and the title of an empty state keep 800: those are
 *   headings (spec 10, 12 and 13); the card title is the label above the content of a card.
 * Only tokens. */
:where(.app-kto) .hero-kaart-titel { font-weight: var(--hero-gewicht-label); }

/* The head of a card with a group of buttons in a row (component 1, In een regel; 1.0.36, K183 on ticket
 * 13547; 1.0.37, K1 to K3 of the pre-review of 1.0.36 and K2 of the pre-review of 1.0.37). On the laptop (from 600 px)
 * the whole group falls on the right under the title when it does not fit beside it, and stays on one line of 24 px
 * there: the head of the reference page is then 69 px (8 above, the title 20, 8 between, the group 24, 8 below and
 * the border of 1 px); a group that broke inside itself beside the title made it 72 px. On the phone (under 600 px)
 * the group of the head (hero-kaart-acties) always starts under the title, also when it would fit beside it, and
 * breaks there in rows of 24 px: four buttons in a row of three and a row of one in a card of 308 px, which is
 * calmer than rows beside a title of three lines. An app measures the height of its own head (an app did so for
 * Looptijd). */
:where(.app-kto) .hero-kaart-kop { flex-wrap: wrap; }
@media (width >= 600px) {
  :where(.app-kto) .hero-kaart-kop > .hero-knopgroep { flex-wrap: nowrap; }
}
@media (width < 600px) {
  :where(.app-kto) .hero-kaart-kop > .hero-knopgroep.hero-kaart-acties { flex-basis: 100%; justify-content: flex-end; }
}

/* ---- 04-tabel.css ---- */
/* Component 4, Tabel. New in 1.0 compared with the house style (huisstijl/tokens.css section 8 and platform.css):
 * - every body row is 56 px high on the laptop (rapport 03, 1.3 row 4: "rij 56 px"); the house style only has padding;
 * - the second line under the name (.hero-sub) is 12 px instead of the 11 px of the house style (--h-tekst-min;
 *   regels/toegankelijkheid.md, rapport 07 B-212);
 * - the name is the link (.hero-tabel-naam, rapport 03 row 4 "de naam is de link"; rapport 07 "rij via een echte link"):
 *   ink, 600, underlined on hover, the focus ring of 1.0; the sort button in a column heading gets the same ring; both
 *   have the corner of a button, 8 px (--hero-radius; 4 px is only for a checkbox, regels/vijf-regels.md);
 * - a chosen row (.is-gekozen, aria-current) shows the 3 px stripe on its first cell, also where a browser does not
 *   paint a shadow on a table row; on the phone the stacked row carries the stripe itself;
 * - on the phone (the stacked table of the house style, 600 px and below) the name link covers the whole card, so
 *   the card is one tap target of at least 44 px (rapport 03, chapter 3; --h-tikdoel) and opens the record;
 * - a skeleton in a number column sits on the right, like the numbers.
 * Only tokens. */

:where(.app-kto) .hero-tabel tbody td { height: var(--h-lijstregel-min); }
:where(.app-kto) .hero-tabel .hero-sub { font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }
:where(.app-kto) .hero-tabel td.hero-num > .hero-skelet { margin-left: auto; }

:where(.app-kto) .hero-tabel-naam {
  color: var(--h-tekst);
  font-weight: var(--hero-gewicht-label);
  text-decoration: none;
  border-radius: var(--hero-radius);
}
/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) .hero-tabel-naam:hover { text-decoration: underline; }
}
:where(.app-kto) .hero-tabel-naam:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }
:where(.app-kto) .hero-tabel-sorteer { border-radius: var(--hero-radius); }
:where(.app-kto) .hero-tabel-sorteer:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }

:where(.app-kto) .hero-tabel tbody tr.is-gekozen > td:first-child { box-shadow: inset 3px 0 0 var(--h-selectie-streep); }

/* below 600 px, the one boundary of the phone (1.0.5), as the stacked table of the house style in componenten.css */
@media (width < 600px) {
  :where(.app-kto) .hero-tabel-stapel tbody td { height: auto; }
  :where(.app-kto) .hero-tabel-stapel tbody tr { position: relative; min-height: var(--h-tikdoel); }
  :where(.app-kto) .hero-tabel-stapel .hero-tabel-naam::after { content: ""; position: absolute; inset: 0; }
  :where(.app-kto) .hero-tabel-stapel tbody tr.is-gekozen { box-shadow: inset 3px 0 0 var(--h-selectie-streep); }
  :where(.app-kto) .hero-tabel-stapel tbody tr.is-gekozen > td:first-child { box-shadow: none; }
}

/* The stripe of a chosen row in the high contrast mode (1.0.58, (fg); 00-basis.css): the border of 3 px in Highlight on
 * the first cell, where the stripe is, and not on the row; on the phone the stacked row carries it itself */
@media (forced-colors: active) {
  :where(.app-kto) .hero-tabel tbody tr.is-gekozen { border-left: 0; }
  :where(.app-kto) .hero-tabel tbody tr.is-gekozen > td:first-child { border-left: 3px solid Highlight; }
}
@media (forced-colors: active) and (width < 600px) {
  :where(.app-kto) .hero-tabel-stapel tbody tr.is-gekozen { border-left: 3px solid Highlight; }
  :where(.app-kto) .hero-tabel-stapel tbody tr.is-gekozen > td:first-child { border-left: 0; }
}

/* ---- 05-formulierveld.css ---- */
/* Component 5, Formulierveld. New in 1.0 compared with the house style (huisstijl/tokens.css section 6):
 * - read only (rapport 03, 1.3 row 5, state "alleen-lezen"): the house style has no look for readonly, so the field
 *   looked editable. Now: the quiet surface of a field you cannot change (--h-vlak-2), no shadow, no hover, the text
 *   stays in ink (you can read and copy it, unlike disabled, which is greyed out); the focus look stays;
 * - every field (.hero-invoer: input, textarea, select; 40 px, the small one 32 px) is 44 px on the phone, like every
 *   button since 0.4.0 (regels/toegankelijkheid.md; decision of Interface at the build of the patterns, 12 October 2026)
 *   (uitwerking 5050, W-26; rapport 10: "zoekveld 366 x 44, keuzelijsten 44");
 * - a field with an error that has the focus keeps its red border and gets the focus ring: the house style gives the
 *   error a soft red ring that hid the focus (decision 19 of Interface at the shell of 0.5.0, found by pat-b in the
 *   pattern formulier).
 * Only tokens. */

:where(.app-kto) .hero-invoer[readonly] {
  background: var(--h-vlak-2);
  border-color: var(--h-rand);
  box-shadow: none;
  color: var(--h-tekst);
  cursor: default;
}
/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) .hero-invoer[readonly]:hover { border-color: var(--h-rand); }
}
:where(.app-kto) .hero-invoer[readonly]:focus { border-color: var(--h-focus); box-shadow: 0 0 0 2px var(--h-focus-zacht); }
:where(.app-kto) .hero-invoer[aria-invalid="true"]:focus, :where(.app-kto) .hero-invoer.is-fout:focus { border-color: var(--h-fout-stip); box-shadow: var(--h-focus-ring); }

/* The small field (1.0.58, (ei); spec 5, Maten): the house style gives hero-invoer-klein text of 12 px with a line of
 * 16 px (componenten.css, --hero-tekst-xs), under the 14 px of a field and under the 16 px at which a phone does not
 * zoom in on a field. Now 14 px (--hero-tekst-sm) with a line of 20 px, the pair of 14 px text of the system, and below
 * 600 px 16 px (--hero-tekst-md), so that a phone does not zoom in; 32 px high on the laptop stays. componenten.css
 * stays as generated. The rule for the portal in 00-basis.css (every field 16 px, also on the laptop) stays. */
:where(.app-kto) .hero-invoer-klein { font-size: var(--hero-tekst-sm); line-height: 20px; }

/* The filter bar (1.0.58, (ej); spec 5 and 6): the house style centres its parts (componenten.css, align-items:
 * center), so that a choice list under a visible label stood 11 px lower than one without a label, while spec 5 and 6
 * ask for a label. Now the fields and the buttons end on one line at the bottom; a field without a visible label has
 * an aria-label. */
:where(.app-kto) .hero-filterbalk { align-items: end; }

@media (width < 600px) {
  :where(.app-kto) .hero-invoer { min-height: var(--h-tikdoel); }
  :where(.app-kto) .hero-invoer-klein { font-size: var(--hero-tekst-md); }
  /* The filter bar on the phone (1.0.58, (ek); spec 6): the house style gives only the search field the full width
   * (componenten.css, .hero-filterbalk > .hero-zoekveld), so two choice lists stood side by side or half on a row.
   * Now every field and choice list takes the full width, each on a row of its own, and the buttons stand together
   * on one row under them, as the buttons in the footer of a card on the phone (componenten.css); the markup puts the
   * buttons after the fields, the order of reading and of Tab. Every button is as wide as its text (K7 of the reading:
   * with flex 1 1 auto a button next to chips filled the rest of their row). */
  :where(.app-kto) .hero-filterbalk > :is(.hero-invoer, .hero-zoekveld, .hero-veld) { flex: 1 1 100%; width: 100%; }
  :where(.app-kto) .hero-filterbalk > .hero-knop { flex: 0 0 auto; }
}
/* The small field with a coarse pointer (1.0.58, K6 of the reading; spec 5, Maten): a phone held sideways is wider
 * than 600 px (844 or 932) and would get 14 px, at which a phone zooms in on the focus; with a coarse pointer the
 * small field keeps 16 px on every width. */
@media (pointer: coarse) {
  :where(.app-kto) .hero-invoer-klein { font-size: var(--hero-tekst-md); }
}

/* The icon of an error at its first line (1.0.19, UI-toets 24819): the house style centres the icon on the
 * whole error (align-items: center), so an error of three lines had its icon at the middle line. Now the icon stands
 * in the middle of the first line: the line height of the error minus the icon, halved (1lh is the line height, which
 * the icon inherits): 1 px for the icon of 14 px in a line of 16 px, 5 px in a line of 24 px, as in the panel of the
 * pill in the portal. One line of text keeps the place it had. A browser without lh keeps the 1 px of the work place. */
:where(.app-kto) .hero-fout { align-items: flex-start; }
:where(.app-kto) .hero-fout > .hero-icoon { margin-top: 0; margin-top: calc((1lh - 16px) / 2); }
:where(.app-kto) .hero-fout > .hero-icoon-14 { margin-top: 1px; margin-top: calc((1lh - 14px) / 2); }

/* ---- 06-keuzelijst.css ---- */
/* Component 6, Keuzelijst. New in 1.0 compared with the house style (huisstijl/tokens.css section 6 has select.hero-invoer
 * only, no own list): the parts of an own choice list for what a native select cannot do (search, groups, more than one
 * choice), from rapport 03, 1.3 row 6 (listbox, option, combobox, group with aria-labelledby; UI-toets 4703).
 * - .hero-keuzelijst-knop: the closed field as a button (role="combobox") that looks like .hero-invoer, chevron right;
 * - .hero-keuzelijst: the list (role="listbox"), white with border, shadow l (the token's own role: "menu, keuzelijst")
 *   and the corner of a field; in a screen it floats right below the field, on this page it stands in the flow;
 * - .hero-optie: one choice (role="option"), with the measures of the menu item of the house style (36 px, 6 px 10 px,
 *   corner 8, hover --h-menu-hover); 44 px on the phone (--h-tikdoel). Chosen: 600 with a check. Pointed at by the arrow
 *   keys (aria-activedescendant, class .is-focus): a 2 px ring in Hero Blauw inside the option, because the hover grey
 *   alone is not visible enough as focus (rapport 03, chapter 3);
 * - .hero-optiegroep and .hero-optiegroep-kop: a group (role="group") with its heading, 12 px 500 muted like the group
 *   heading of the side menu (platform.css, .hero-zijmenu-groep), never 11 px (UI-toets 4703).
 * Only tokens. Every size is a token: a spacing on the grid is --hero-ruimte-*, the three measures of the menu item
 * below are component tokens. A line is 1 px, the line of every border in the house style; there is no token for the
 * width of a line. */

/* Component tokens: the measures of the menu item of the house style (componenten.css, hero-menu-item), which a choice
 * takes over (spec 6) and which the house style writes as literals: at least 36 px high (a height, not a spacing of the
 * grid), 6 px above and below the text and 10 px left and right of it and between its parts (both off the grid of
 * 4 px). The 10 px are also the inset of the heading of a group, like the group heading of the side menu
 * (hero-zijmenu-groep). The search field of component 17 takes the same three (17-zoekveld.css). */
:where(.app-kto) {
  --hero-optie-hoogte: 36px;
  --hero-optie-ruimte-v: 6px;
  --hero-optie-ruimte-h: 10px;
}

:where(.app-kto) .hero-keuzelijst-knop {
  display: flex;
  align-items: center;
  gap: var(--hero-ruimte-8);
  text-align: left;
  cursor: pointer;
}
:where(.app-kto) .hero-keuzelijst-knop > .hero-icoon { margin-left: auto; color: var(--h-tekst-3); }

:where(.app-kto) .hero-keuzelijst {
  margin: 0;
  padding: var(--hero-ruimte-4);
  list-style: none;
  background: var(--h-vlak);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius);
  box-shadow: var(--hero-schaduw-l);
}
:where(.app-kto) .hero-optiegroep { margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .hero-optiegroep + .hero-optiegroep { margin-top: var(--hero-ruimte-4); padding-top: var(--hero-ruimte-4); border-top: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .hero-optiegroep-kop {
  padding: var(--hero-ruimte-8) var(--hero-optie-ruimte-h) var(--hero-ruimte-4);
  font-size: var(--h-tekst-meta);
  line-height: var(--h-regel-meta);
  font-weight: var(--hero-gewicht-medium);
  color: var(--h-tekst-3);
}

:where(.app-kto) .hero-optie {
  display: flex;
  align-items: center;
  gap: var(--hero-optie-ruimte-h);
  min-height: var(--hero-optie-hoogte);
  padding: var(--hero-optie-ruimte-v) var(--hero-optie-ruimte-h);
  border-radius: var(--hero-radius);
  color: var(--h-tekst);
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
  cursor: pointer;
}
/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) .hero-optie:hover { background: var(--h-menu-hover); }
}
:where(.app-kto) .hero-optie.is-focus { background: var(--h-menu-hover); box-shadow: inset 0 0 0 var(--h-focus-breedte) var(--h-focus); }
:where(.app-kto) .hero-optie[aria-selected="true"] { font-weight: var(--hero-gewicht-label); }
:where(.app-kto) .hero-optie > .hero-icoon { margin-left: auto; }

@media (width < 600px) {
  :where(.app-kto) .hero-optie { min-height: var(--h-tikdoel); }
}

/* ---- 07-schakelaar.css ---- */
/* Component 7, Schakelaar, vinkje en rondje. New in 1.0 compared with the house style (huisstijl/tokens.css section 6:
 * switch 36 x 20 with a 16 px knob, check box and radio 18 px, no hover, no own focus ring):
 * - switch 44 x 24 with a 20 px knob on an explicit position: left 2 px, on 22 px (translate 20 px), so the knob is
 *   never centred by the element and never ends up outside the track (rapport 03, 1.3 row 7; rapport 10 W-01,
 *   measured with scripts/meet-schakelaar.mjs; ticket 4741);
 * - check box and radio 20 px (row 7: "vinkje 20 px radius 4; rondje 20 px");
 * - the focus ring of the buttons on all three, not the browser ring (row 7; rapport 10 W-38; --h-focus-ring);
 * - contrast: the track of a switch that is off and the edge of an empty check box or radio were grey light
 *   (--hero-grijs-light, 1.81:1 on white, rapport 07 A-77 and B-018); a control needs 3:1 (WCAG 1.4.11,
 *   rapport 03 chapter 3). Now --h-tekst-3 (5.1:1 on white, 4.8:1 on the canvas); proposal to the regie;
 * - hover: darker, also with the mouse on the text (the label); a disabled control and its text are muted;
 * - on the phone the whole line is a tap target of 44 px (--h-tikdoel; rapport 07 A-77, ontwerpkader 8), and since 1.0.11
 *   the switch itself too: it keeps its visible size and gets an invisible tap target of 44 by 44 px around the middle
 *   of its track (ticket 16265 K8: a switch outside a label, named with aria-labelledby, or smaller, like 36 x 20);
 *   since 1.0.13 the check box and the radio outside a label as well, so that they reach the tap target too; in a label
 *   the label is the tap target;
 * - since 1.0.17 (Werkblad 1.0, rapport 35 3.1 and ticket 23737): the switch in the top bar or the row of a module, for a
 *   way of working (hero-keuze-kop): the name before the switch and the stand after it, the box of the first time under
 *   it (hero-keuze-uitleg) and the row at the top of the menu on the phone (is-menu). The same track, knob, focus ring
 *   and tap target as every switch; only the order, the word of the stand and the box are new.
 * Only tokens. */

:where(.app-kto) .hero-schakelaar { width: 44px; height: 24px; background: var(--h-tekst-3); }
:where(.app-kto) .hero-schakelaar::after { top: 2px; left: 2px; width: 20px; height: 20px; transform: translateX(0); }
:where(.app-kto) .hero-schakelaar:checked { background: var(--h-actie); }
:where(.app-kto) .hero-schakelaar:checked::after { transform: translateX(20px); }
:where(.app-kto) .hero-schakelaar:disabled { background: var(--hero-grijs-thin); }

:where(.app-kto) .hero-vink, :where(.app-kto) .hero-radio { width: 20px; height: 20px; border-color: var(--h-tekst-3); }

/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) .hero-schakelaar:not(:disabled):hover, :where(.app-kto) .hero-keuze:hover > .hero-schakelaar:not(:disabled) { background: var(--h-tekst-2); }
  :where(.app-kto) .hero-schakelaar:checked:not(:disabled):hover, :where(.app-kto) .hero-keuze:hover > .hero-schakelaar:checked:not(:disabled) { background: var(--h-actie-hover); }
  :where(.app-kto) .hero-vink:not(:disabled):hover, :where(.app-kto) .hero-radio:not(:disabled):hover, :where(.app-kto) .hero-keuze:hover > .hero-vink:not(:disabled), :where(.app-kto) .hero-keuze:hover > .hero-radio:not(:disabled) { border-color: var(--h-link); }
  :where(.app-kto) .hero-vink:checked:not(:disabled):hover, :where(.app-kto) .hero-radio:checked:not(:disabled):hover, :where(.app-kto) .hero-keuze:hover > .hero-vink:checked:not(:disabled), :where(.app-kto) .hero-keuze:hover > .hero-radio:checked:not(:disabled) {
    background-color: var(--h-actie-hover);
    border-color: var(--h-actie-hover);
  }
}

:where(.app-kto) .hero-schakelaar:focus-visible, :where(.app-kto) .hero-vink:focus-visible, :where(.app-kto) .hero-radio:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }

/* The switch in the high contrast mode (1.0.49, index 180 and 182 of ticket 34724; regels/toegankelijkheid.md, the row
 * Hoge-contrastmodus): the mode sets the track and the knob, both only a background, to Canvas and the shadow to none,
 * so off and on looked the same (1:1). Now the track has a border of 1 px in ButtonText and the knob is ButtonText;
 * on, the track is Highlight and the knob HighlightText, as a chosen item in the mode. The knob moves 1 px in, so that it
 * keeps its 2 px from the outer edge inside the border (border-box). Only system colours: the mode chooses them. A
 * disabled switch takes GrayText. Outside the mode nothing changes. */
@media (forced-colors: active) {
  :where(.app-kto) .hero-schakelaar { border: 1px solid ButtonText; background: Canvas; }
  :where(.app-kto) .hero-schakelaar::after { top: 1px; left: 1px; background: ButtonText; }
  :where(.app-kto) .hero-schakelaar:checked { border-color: Highlight; background: Highlight; }
  :where(.app-kto) .hero-schakelaar:checked::after { background: HighlightText; }
  :where(.app-kto) .hero-schakelaar:disabled { border-color: GrayText; }
  :where(.app-kto) .hero-schakelaar:disabled::after { background: GrayText; }
}

:where(.app-kto) .hero-keuze:has(> :disabled) { color: var(--h-tekst-3); cursor: not-allowed; }
/* A group of radios that is off as a whole (1.0.38, spec 7, Uitgeschakeld; K3 of the read-through): the group label
 * follows the state of the group and is muted like the labels of its radios, with the same :has() technique. */
:where(.app-kto) :is([role="radiogroup"], fieldset):has(.hero-radio:disabled):not(:has(.hero-radio:not(:disabled)))
  > :is(.hero-label, legend) { color: var(--h-tekst-3); }

@media (width < 600px) {
  :where(.app-kto) .hero-keuze { min-height: var(--h-tikdoel); }
  /* the tap target of the switch (1.0.11), and since 1.0.13 of the check box and the radio: a ::before without colour in
   * the middle of the control, as the chip (component 2) and the dot of the step list (component 21) have it; the track
   * and the knob (::after) of the switch keep their place, and the check mark and the dot of the other two are their
   * background. The switch is positioned in componenten.css; the check box and the radio get position: relative here,
   * which moves nothing. */
  :where(.app-kto) .hero-vink, :where(.app-kto) .hero-radio { position: relative; }
  :where(.app-kto) .hero-schakelaar::before, :where(.app-kto) .hero-vink::before, :where(.app-kto) .hero-radio::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--h-tikdoel);
    height: var(--h-tikdoel);
    transform: translate(-50%, -50%);
  }
  /* in a label the label is the tap target (the line of 44 px above), so a check box or a radio there gets none of its
   * own: around a box of 20 px it would stick out 12 px, and with choices side by side less than 12 px apart it would
   * take the tap on the end of the text of the choice before it (N1 of the pre-review of 1.0.13). The switch keeps it:
   * at 44 x 24 its tap target sticks out only above and below. */
  :where(.app-kto) label .hero-vink::before, :where(.app-kto) label .hero-radio::before { content: none; }
}

/* The switch in the top bar or the row of a module (1.0.17, spec 07, In de kop): "Werkblad", the switch, "uit". A row
 * of 40 px like the buttons beside it (44 px on the phone, the rule of hero-keuze above), the name 14 px 600 in ink,
 * the stand 14 px 500 in --h-tekst-2 and at least 24 px wide, so that the switch does not move between "aan" and
 * "uit". The stand follows the switch through :checked, without a script; both words are aria-hidden, because the
 * switch itself says aan or uit to a screen reader. */
:where(.app-kto) .hero-keuze-kop {
  min-height: 40px;
  padding: 0 var(--hero-ruimte-8);
  border-radius: var(--hero-radius);
  color: var(--h-tekst);
  font-weight: var(--hero-gewicht-label);
}
:where(.app-kto) .hero-keuze-stand { min-width: 24px; color: var(--h-tekst-2); font-weight: var(--hero-gewicht-medium); }
:where(.app-kto) .hero-schakelaar:checked ~ .hero-keuze-stand .hero-keuze-stand-uit, :where(.app-kto) .hero-schakelaar:not(:checked) ~ .hero-keuze-stand .hero-keuze-stand-aan { display: none; }
@media (hover: hover) {
  :where(.app-kto) .hero-keuze-kop:hover { background: var(--h-menu-hover); }
}
/* In the menu on the phone: the first row, over the width of the menu, the name on the left and the switch with its
 * stand on the right */
:where(.app-kto) .hero-keuze-kop.is-menu { display: flex; width: 100%; }
:where(.app-kto) .hero-keuze-kop.is-menu > .hero-schakelaar { margin-left: auto; }
/* On the phone 44 px, like every hero-keuze there (the rule above in the block under 600 px, which this file's later
 * min-height of 40 px would otherwise overrule) */
@media (width < 600px) {
  :where(.app-kto) .hero-keuze-kop { min-height: var(--h-tikdoel); }
}

/* The box of the first time (1.0.17): a dialog that is not modal, 8 px under the switch, inside the element that holds
 * the switch (hero-keuze-plek, position: relative). 360 px wide and never wider than the window minus the distance to
 * its edges, 12 px on either side: the edge distance of the phone, where the maximum holds (on the laptop the window is
 * far wider than 360 px), as a spacing token and not --hero-rand-afstand, which an app that sets --hero-pagina-padding
 * to 0 without a unit turned into an invalid calc (1.0.19, kan 4 of the pre-review of the pill); the corner, edge and
 * shadow of a menu (component 6); a small point at the top towards the switch. */
:where(.app-kto) .hero-keuze-plek { position: relative; display: inline-flex; }
:where(.app-kto) .hero-keuze-uitleg {
  position: absolute;
  top: calc(100% + var(--hero-ruimte-8));
  left: 0;
  z-index: var(--hero-z-menu);
  width: 360px;
  max-width: calc(100vw - 2 * var(--hero-ruimte-12));
  padding: var(--hero-ruimte-12) var(--hero-ruimte-16) var(--hero-ruimte-16);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-l);
  background: var(--h-vlak);
  box-shadow: var(--hero-schaduw-l);
  color: var(--h-tekst-2);
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
}
:where(.app-kto) .hero-keuze-uitleg::before {
  content: "";
  position: absolute;
  top: -7px;
  left: var(--hero-ruimte-24);
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--h-rand);
  border-left: 1px solid var(--h-rand);
  background: var(--h-vlak);
  transform: rotate(45deg);
}
:where(.app-kto) .hero-keuze-uitleg-kop { margin: 0 0 var(--hero-ruimte-4); color: var(--h-tekst); font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-keuze-uitleg-tekst { margin: 0 0 var(--hero-ruimte-12); }
:where(.app-kto) .hero-keuze-uitleg[hidden] { display: none; }
/* On the phone the switch is the first row of the menu: its place takes the width of the menu, and the box the width of
 * its place, so that it never sticks out of the menu or the window */
@media (width < 600px) {
  :where(.app-kto) .hero-keuze-plek { display: flex; width: 100%; }
  :where(.app-kto) .hero-keuze-uitleg { right: 0; width: auto; }
}

/* A choice on a narrow window (1.0.49, yyn, index 183, 184 and 186 of ticket 34724; spec 7, Smal): the
 * line is at most as wide as its box, and its text may shrink (min-width 0 on a text in its own element) and breaks a
 * word that does not fit (overflow-wrap: break-word); below 360 px, the step for wrapping, at a hyphen where the
 * language allows it (hyphens: auto, with lang on html; a melding has none, 10-leeg-laden-fout.css). A bare text without
 * an element cannot shrink below its longest word, apart from those hyphens; an app puts the text in a span. The word of the stand keeps its least width of 24 px, so that the
 * switch does not move between aan and uit. Where everything fits, nothing changes. */
:where(.app-kto) .hero-keuze { max-width: 100%; overflow-wrap: break-word; }
@media (width < 360px) { :where(.app-kto) .hero-keuze { hyphens: auto; } }
:where(.app-kto) .hero-keuze > :not(input, .hero-keuze-stand) { min-width: 0; }

/* ---- 08-tabs.css ---- */
/* Component 8, Tabs en segmenten. New in 1.0 compared with the house style (huisstijl/tokens.css section 7):
 * - a tab is 44 px high on the phone and stays 38 px on the laptop (rapport 03, 1.3 row 8; uitwerking 5050, W-26);
 *   a segment is 44 px on the phone too (rapport 03 chapter 3: every tap target 44 px, --h-tikdoel);
 * - the focus ring of 1.0 on a tab and a segment (2 px Hero Blauw, 1 px white gap; rapport 10 W-38). On a tab it is
 *   drawn inside the tab: below 600 px the row of tabs scrolls sideways (house style) and would clip a ring outside.
 *   The chosen segment keeps its shadow m under the ring;
 * - the counter in a tab or a segment is 12 px instead of the 11 px of the house style (--h-tekst-min;
 *   regels/toegankelijkheid.md), like every counter: the rule is in 00-basis.css, with the line height of the pill;
 * - the panel of a tab gets the same ring when it takes the focus (tabindex="0"), with the corner of a card (12 px,
 *   --hero-radius-l): a panel is a surface of content, often with cards in it; 4 px is only for a checkbox;
 * - 1.0.7 (ticket 12679, point 5): a segment bar keeps one row. The house style lets it wrap
 *   (flex-wrap: wrap), so that four periods of one word took two rows at 375 px. Now the bar never wraps and a segment
 *   keeps its word on one line (white-space: nowrap, as a tab). A bar that does not fit in its frame scrolls sideways
 *   inside it, at any width: never wider than its frame, and as a flex child it may shrink, so that in a flex row,
 *   such as the head of the dashboard pattern, it scrolls instead of widening the page; the padding of the bar at its
 *   end lets the last segment come fully into view, and below 600 px every segment is a target of 44 px. Only the
 *   scroll bar differs: none below 600 px (touch), thin from 600 px, so that a mouse user sees that there is more. The
 *   row of tabs, which scrolls below 600 px (componenten.css), gets the same scroll bar and scroll padding. A bar with
 *   more than five segments, or with a label that does not fit as one word at 375 px, is a keuzelijst (component 6;
 *   spec 08): that rule is the design choice, the scrolling only the safety net;
 * - 1.0.20 (UI-toets 27166; spec 08, Een rij tabs die schuift): below 600 px the edge of a row of tabs
 *   where more tabs are fades over 32 px, with 32 px of space at the end of the row and a scroll padding of 32 px, so
 *   that the last tab and a tab brought into view stand outside the fade (the block at the end of this file); since
 *   1.0.33 (ticket 31485) the space at the end is there only while the row scrolls.
 * Only tokens. */

:where(.app-kto) .hero-tab:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 var(--h-focus-breedte) var(--h-focus), inset 0 0 0 calc(var(--h-focus-breedte) + var(--h-focus-afstand)) var(--h-vlak);
}
:where(.app-kto) .hero-segment:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }
:where(.app-kto) .hero-segment[aria-selected="true"]:focus-visible, :where(.app-kto) .hero-segment.is-actief:focus-visible { box-shadow: var(--hero-schaduw-m), var(--h-focus-ring); }
:where(.app-kto) [role="tabpanel"]:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); border-radius: var(--hero-radius-l); }
/* A segment bar keeps one row (1.0.7): no wrap, and a segment keeps its word on one line. A bar that does not fit
 * scrolls sideways inside its frame, at any width: at most as wide as its frame, and as a flex child it may shrink
 * (min-width: 0, flex: 0 1 auto) instead of widening the row it stands in. The scroll padding is the padding of the
 * bar, so that a segment that the focus or scrollIntoView brings into view keeps its ring (3 px, --h-focus-ring) inside
 * the bar. A thin scroll bar from 600 px shows a mouse user that there is more; below 600 px there is none (touch). */
:where(.app-kto) .hero-segmenten {
  flex: 0 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-padding-inline: var(--hero-ruimte-4);
}
:where(.app-kto) .hero-segment { white-space: nowrap; }
/* The element that holds the bar may shrink as well: as a flex child its minimum would be the full width of the bar,
 * so a bar in a flex row, such as the choices in the head of the dashboard pattern, could not shrink and the page
 * grew wider (57 px at 900 px). min-width: 0 only matters for a flex or grid child; :where() gives the rule no weight,
 * so any rule of an app wins */
:where(.app-kto) :where(:has(> .hero-segmenten)) { min-width: 0; }
/* The row of tabs scrolls below 600 px (componenten.css): the same scroll bar and scroll padding as a segment bar
 * (1.0.7); above 600 px it wraps and does not scroll, so there the thin scroll bar changes nothing */
:where(.app-kto) .hero-tabs { scrollbar-width: thin; scroll-padding-inline: var(--hero-ruimte-4); }

@media (width < 600px) {
  :where(.app-kto) .hero-tab, :where(.app-kto) .hero-segment { min-height: var(--h-tikdoel); }
  /* no visible scroll bar on a touch screen; the bar and the row still scroll */
  :where(.app-kto) .hero-segmenten, :where(.app-kto) .hero-tabs { scrollbar-width: none; }
}

/* The chosen tab in the high contrast mode (1.0.50, (bv) of 1.0.47, decided on ticket 34724; spec 08, Staten): the mode
 * draws the border under every tab, also the transparent one of a tab that is not chosen, in the text colour, so the
 * orange stripe of the chosen tab could not be told from the others (1:1, and 1.86:1 with only the stripe in
 * Highlight). The border of a tab that is not chosen takes Canvas and that of the chosen tab Highlight: 11.31:1 light
 * and 8.73:1 dark against a tab that is not chosen. The ring of T8 stays on the tab.
 * The line under the row (1.0.51, (df) of 1.0.50): the tab stood 1 px over the border of the row (margin-bottom -1px),
 * so the border in Canvas under a tab that is not chosen painted the line away (817 of 982 columns at 1440). In the
 * mode the tab stands above the line (margin-bottom 0; the row is 1 px higher), so the line under the row is whole,
 * with the border of the tab, Canvas or Highlight, directly above it. */
@media (forced-colors: active) {
  :where(.app-kto) .hero-tab { border-bottom-color: Canvas; }
  :where(.app-kto) .hero-tab[aria-selected="true"], :where(.app-kto) .hero-tab.is-actief { border-bottom-color: Highlight; }
  :where(.app-kto) .hero-tab { margin-bottom: 0; }
}

/* The edge where there is more (1.0.20; UI-toets 27166; spec 08, Een rij tabs die schuift). Below 600 px
 * the row of tabs scrolls (componenten.css), and the edge where more tabs are fades over 32 px (--hero-ruimte-32), so
 * that a reader sees that the row goes on. A mask with two lengths does it, the left fade and the right fade, both 0
 * when the row fits: a mask reads only the alpha of its gradient, so its opaque stop is currentColor and no colour
 * token is involved. In a browser with scroll-driven animations (Chromium, Safari 26, Firefox) the two lengths follow
 * the scroll position of the row itself (animation-timeline: scroll(self inline)): at the start only the right edge
 * fades, in between both, at the end only the left; a row that fits has no scroll range, so its timeline is inactive
 * and nothing fades. Without that timeline (an older browser) the row looks as in 1.0.19, without fade. A row that
 * scrolls keeps 32 px of space at its end, so that the last tab stands outside the fade when the row is scrolled to
 * the end, and its scroll padding is 32 px, so that a tab that the focus or scrollIntoView brings into view stands
 * outside the fade too. Since 1.0.33 (ticket 31485, answer a) the space at the end comes from the same
 * timeline (--hero-tabs-eindruimte, 32 px at every stop): a row that fits has no scroll range, so its timeline is
 * inactive and the property keeps its initial 0 px; up to 1.0.32 such a row got the 32 px as well, grew 32 px wider
 * than its frame, scrolled and faded on the right while there was nothing more. The space is added only to a row that
 * already scrolls, so it never makes a row scroll; without the timeline there is no space at the end, as in 1.0.19.
 * With prefers-reduced-motion componenten.css switches every animation off (*, animation: none !important), and then
 * a row that scrolls would lose its space at the end as well. The detection moves nothing, so it stays: with reduced
 * motion the row gets a second timeline animation, hero-tabs-eindruimte, that sets only --hero-tabs-eindruimte (32 px
 * at both stops, no fade), with !important and the weight of a class, so that it wins from the rule of componenten.css
 * (T2b of 1.0.33). There a row that scrolls keeps its 32 px at the end and a row that fits gets 0 px, as with motion;
 * only the fade stays off. The shorthand animation resets animation-timeline too, so the rule sets both. Since 1.0.35
 * a print of toets/afdrukken.mjs shows the space: up to 1.0.34 the screenshot option animations: 'disabled' of
 * Playwright cancelled an animation whose endTime is no finite number, and that of a scroll-driven animation is 100%
 * (measured in 1.0.33); the script now holds the animations itself and leaves one on a scroll timeline as it is.
 * The scroll padding stays 32 px: it does not change the scroll range and does nothing in a row that fits. The line
 * under the row fades with it at both ends. A segment bar does not fade: its grey surface shows its edges, and a label
 * that does not fit is a keuzelijst (above). npm run proef-tabs measures it. */
@property --hero-tabs-vervaging-links { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --hero-tabs-vervaging-rechts { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --hero-tabs-eindruimte { syntax: '<length>'; inherits: false; initial-value: 0px; }
@keyframes hero-tabs-vervaging {
  0% { --hero-tabs-vervaging-links: 0px; --hero-tabs-vervaging-rechts: var(--hero-ruimte-32); --hero-tabs-eindruimte: var(--hero-ruimte-32); }
  4%, 96% { --hero-tabs-vervaging-links: var(--hero-ruimte-32); --hero-tabs-vervaging-rechts: var(--hero-ruimte-32); --hero-tabs-eindruimte: var(--hero-ruimte-32); }
  100% { --hero-tabs-vervaging-links: var(--hero-ruimte-32); --hero-tabs-vervaging-rechts: 0px; --hero-tabs-eindruimte: var(--hero-ruimte-32); }
}
@keyframes hero-tabs-eindruimte {
  0%, 100% { --hero-tabs-eindruimte: var(--hero-ruimte-32); }
}
@media (width < 600px) {
  :where(.app-kto) .hero-tabs {
    padding-inline-end: var(--hero-tabs-eindruimte);
    scroll-padding-inline: var(--hero-ruimte-32);
    -webkit-mask-image: linear-gradient(to right, transparent, currentColor var(--hero-tabs-vervaging-links), currentColor calc(100% - var(--hero-tabs-vervaging-rechts)), transparent);
            mask-image: linear-gradient(to right, transparent, currentColor var(--hero-tabs-vervaging-links), currentColor calc(100% - var(--hero-tabs-vervaging-rechts)), transparent);
  }
  @supports (animation-timeline: scroll()) {
    :where(.app-kto) .hero-tabs { animation: hero-tabs-vervaging linear both; animation-timeline: scroll(self inline); }
    @media (prefers-reduced-motion: reduce) {
      :where(.app-kto) .hero-tabs { animation: hero-tabs-eindruimte linear both !important; animation-timeline: scroll(self inline) !important; }
    }
  }
}

/* ---- 09-lijstregel.css ---- */
/* Component 9, Lijstregel. New in 1.0 compared with the platform layer (platform.css section 4, .p-actie-rij is a
 * grid row of a work list with its own buttons, not a link, without hover, focus, chosen or unread):
 * - .hero-lijst: a plain list inside a card (no bullets); its first and last line follow the corners of the card, so
 *   the list clips nothing (since 1.0.40 without overflow: hidden, which cut off what stood out at zoom 200 per cent);
 * - .hero-lijstregel on .p-actie-rij: the whole line is one link (one tab stop, Enter opens; rapport 03, 1.3 row 9;
 *   rapport 10 W-27: never a button row with focusable children), at least 56 px (--h-lijstregel-min);
 * - hover: the row grey of the table (--h-rij-hover); focus: the ring of 1.0 drawn inside the line, so the card does
 *   not clip it (2 px Hero Blauw, 1 px white gap; rapport 03 chapter 3);
 * - chosen (.is-gekozen with aria-current, from 00-basis.css): the 3 px stripe, also together with the focus ring;
 * - unread (.is-ongelezen): the title in 800 with an orange dot of 6 px (the dot of a status), the word for a screen
 *   reader in .hero-sr (rapport 03 row 9: "ongelezen (800, stip)"; meaning never by colour alone);
 * - .hero-lijstregel-tijd: the time or "vanzelf" on the right, 12 px muted, always in the last column, also when the
 *   line has no status; the first and last line follow the corner of the card, so the ring does too;
 * - below 600 px the line becomes a card of at least 72 px (--h-lijstregel-telefoon): the title on its own line, at
 *   most two lines, below it who and the step, then the status with the time on the right; never two truncated
 *   columns side by side (rapport 03 row 9; rapport 10 W-04 and W-06; rapport 07 table 4);
 * - the portal size (1.0.6): is-portaal on the line, as is-gekozen and is-ongelezen are: the title 16 px 600 and the
 *   second line and the time 14 px, the dot 6 px; the work tray keeps 14 and 12 px (spec 09, Wanneer).
 * Only tokens. */

:where(.app-kto) .hero-lijst { margin: 0; padding: 0; list-style: none; border-radius: inherit; }

:where(.app-kto) .hero-lijstregel {
  min-height: var(--h-lijstregel-min);
  color: inherit;
  text-decoration: none;
}
/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) .hero-lijstregel:hover { background: var(--h-rij-hover); }
}
:where(.app-kto) .hero-lijstregel:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 var(--h-focus-breedte) var(--h-focus), inset 0 0 0 calc(var(--h-focus-breedte) + var(--h-focus-afstand)) var(--h-vlak);
}
:where(.app-kto) .hero-lijstregel.is-gekozen:focus-visible {
  box-shadow: inset 3px 0 0 var(--h-selectie-streep), inset 0 0 0 var(--h-focus-breedte) var(--h-focus), inset 0 0 0 calc(var(--h-focus-breedte) + var(--h-focus-afstand)) var(--h-vlak);
}
:where(.app-kto) .hero-lijstregel-tekst { min-width: 0; }
:where(.app-kto) .hero-lijstregel > .hero-lijstregel-tijd, :where(.app-kto) .hero-lijstregel > .hero-status:last-child { grid-column: -2; justify-self: end; }
/* The first and the last line take the corner of the card (--hero-radius-l), the corner that the clip of the list drew
 * up to 1.0.39; since 1.0.40 the list clips nothing, so the line draws it itself (hover and focus ring as before) */
:where(.app-kto) .hero-lijst > li:first-child > .hero-lijstregel { border-top-left-radius: var(--hero-radius-l); border-top-right-radius: var(--hero-radius-l); }
:where(.app-kto) .hero-lijst > li:last-child > .hero-lijstregel { border-bottom-left-radius: var(--hero-radius-l); border-bottom-right-radius: var(--hero-radius-l); }
:where(.app-kto) .hero-lijstregel.is-ongelezen .p-actie-titel { font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-lijstregel-stip {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--hero-orange);
  vertical-align: middle;
}
:where(.app-kto) .hero-lijstregel-tijd {
  font-size: var(--h-tekst-meta);
  line-height: var(--h-regel-meta);
  color: var(--h-tekst-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
/* The portal size (1.0.6): a visitor of the portal comes now and then and reads calmly, so the line is larger there:
 * the title in the reading size (16/24 px), the second line and the time in the body size (14/20 px). The weight of
 * the title (600, unread 800), the dot of 6 px and the minimum heights stay; on the phone too. */
:where(.app-kto) .hero-lijstregel.is-portaal .p-actie-titel { font-size: var(--h-tekst-lees); line-height: var(--h-regel-lees); }
:where(.app-kto) .hero-lijstregel.is-portaal :is(.p-actie-context, .hero-lijstregel-tijd) { font-size: var(--h-tekst-basis); line-height: var(--h-regel-basis); }

@media (width < 600px) {
  :where(.app-kto) .hero-lijstregel {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    grid-template-areas: "icoon tekst tekst" "icoon status tijd";
    align-items: start;
    row-gap: var(--hero-ruimte-8);
    min-height: var(--h-lijstregel-telefoon);
  }
  :where(.app-kto) .hero-lijstregel > .p-actie-icoon { grid-area: icoon; }
  :where(.app-kto) .hero-lijstregel > .hero-lijstregel-tekst { grid-area: tekst; }
  :where(.app-kto) .hero-lijstregel > .hero-status, :where(.app-kto) .hero-lijstregel > .hero-status:last-child { grid-area: status; justify-self: start; }
  :where(.app-kto) .hero-lijstregel > .hero-lijstregel-tijd { grid-area: tijd; align-self: center; }
  :where(.app-kto) .hero-lijstregel .p-actie-titel {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

/* Zoom 200 per cent on a phone (1.0.40, K9 of the reading on ticket 34724; spec 09, Smal): below 240 px,
 * where 390 at 200 per cent is 195 px, the line has two columns, with the status and the time each on a line of its
 * own under the text, the time may wrap, a long word in the title or the second line breaks, and the title is shown
 * whole instead of on two lines, so that nothing sticks out of the line and the list cuts nothing off. From 240 px on
 * nothing changes. Below 240 px is (width < 240px) since 1.0.55; until 1.0.54 (width <= 239px). */
@media (width < 240px) {
  :where(.app-kto) .hero-lijstregel {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-areas: "icoon tekst" "icoon status" "icoon tijd";
  }
  :where(.app-kto) .hero-lijstregel:not(:has(> .hero-status)) { grid-template-areas: "icoon tekst" "icoon tijd"; }
  :where(.app-kto) .hero-lijstregel:not(:has(> .hero-lijstregel-tijd)) { grid-template-areas: "icoon tekst" "icoon status"; }
  :where(.app-kto) .hero-lijstregel:not(:has(> .hero-status)):not(:has(> .hero-lijstregel-tijd)) { grid-template-areas: "icoon tekst"; }
  :where(.app-kto) .hero-lijstregel > .hero-lijstregel-tijd { justify-self: start; white-space: normal; text-align: left; }
  :where(.app-kto) .hero-lijstregel > .hero-status { max-width: 100%; white-space: normal; }
  :where(.app-kto) .hero-lijstregel :is(.p-actie-titel, .p-actie-context) { overflow-wrap: anywhere; hyphens: auto; }
  :where(.app-kto) .hero-lijstregel .p-actie-titel { display: block; -webkit-line-clamp: none; overflow: visible; }
}

/* ---- 10-leeg-laden-fout.css ---- */
/* Component 10, leeg, laden en fout. New in 1.0.6 compared with the house style (componenten.css section 13: .hero-leeg
 * has a padding of 32 px, a dashed border of 1 px in --h-rand-sterk and corner 12, everything centred):
 * - an empty list (K9 of the UI-toets of S2 of the portal, ticket 9084): the empty state is the only item of the root
 *   of component 9 (ul.hero-lijst in its card), in the place of the rows and never as a page of its own. The card
 *   around the list frames it already, so the dashed border goes and the padding is 24 px; the icon box keeps 40 px,
 *   and the title, the sentence and the one button keep their sizes. Only inside .hero-lijst;
 * - in the portal (p-portaal reads at 16 px, 00-basis.css) the sentence inherited 16 px with the line height of 20 px
 *   of the body and was larger than its title of 14 px (open punt 3 of the sketch por-01 of Interface): there the
 *   title is 16/24 and the sentence 14/20 (K9). The work place (hero-app) keeps 14 px for both.
 * The skeleton of the loading state lives in 00-basis.css. Only tokens. */
:where(.app-kto) .hero-lijst .hero-leeg { padding: var(--hero-ruimte-24); border: 0; }
/* Zoom 200 per cent on a phone (1.0.40, T2; spec 10, Maten): below 240 px (390 at 200 per cent is 195 px) the empty
 * state keeps 16 px of padding instead of 32 or 24, and a long word breaks, so that its sentence does not stick out of
 * the card */
@media (width < 240px) {
  :where(.app-kto) .hero-leeg, :where(.app-kto) .hero-lijst .hero-leeg { padding: var(--hero-ruimte-16); }
  :where(.app-kto) .hero-leeg p { overflow-wrap: anywhere; hyphens: auto; }
}

:where(.app-kto) .p-portaal .hero-leeg-titel { font-size: var(--h-tekst-lees); line-height: var(--h-regel-lees); }
:where(.app-kto) .p-portaal .hero-leeg p:not(.hero-leeg-titel) { font-size: var(--h-tekst-basis); line-height: var(--h-regel-basis); }

/* A refusal (weigering, 1.0.16; K278 of the UI-toets 22088, the line variant of the DeniedNotice of that app as the
 * reference, measured in 23314): one line in ink under the control or its hint, with a lock before it; no surface, no
 * border, no red, because a refusal is no error and repeating does not help. A long sentence goes on under the text,
 * not under the lock. Only tokens. */
:where(.app-kto) .hero-weigering { display: flex; align-items: flex-start; gap: 6px; font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); color: var(--h-tekst); }
:where(.app-kto) .hero-weigering > .hero-icoon { flex: none; width: 14px; height: 14px; margin-top: 1px; color: var(--h-tekst-2); }

/* A melding on a narrow window (1.0.49, yyn, index 183, 184 and 186 of ticket 34724; spec 10, Smal): a flex
 * item has the width of its longest word as its least width, so at 195 px the title of a melding stuck out past its
 * box (15 px on component 4). The text beside the icon may shrink (min-width 0), and a word that does not fit breaks
 * (overflow-wrap: break-word, never anywhere: a word breaks only when it does not fit). No hyphens: auto here: in a
 * melding it also broke words at the end of a line that fit on the next one (measured at 195 px: contactpersoon and
 * telefoonnummer, 100.8 and 110.3 px in a text of 111 and 141 px), and an app counts every word over two lines
 * (ticket 34724, note 205). Where everything fits, nothing changes.
 * The button Sluiten (hero-melding-sluit) is no part of the text: it has flex: none in the house style (1.0.49, the
 * promise on ticket 34724, note 205 and 208), so it never shrinks below its word, and the rule above
 * leaves it out. Below 360 px a melding with Sluiten as a word wraps: the text takes the row beside the icon (100 per
 * cent minus the icon of 18 px and the gap of 12 px; without an icon the same basis, and it grows to the full row), so
 * that Sluiten has no room left there and goes to a row of its own below, at the right (margin-left: auto). The cross
 * of the uitlegvak (hero-knop-icoon, component 16) stays beside the first line. From 360 px on nothing changes.
 * A button as a direct child of the melding (1.0.51, xbx on ticket 34724; spec 10, Fout, vak) is no part
 * of the text either: the rule leaves out every hero-knop and button, so such a button keeps the least width of its
 * word, and below 360 px it breaks its text on words (01-knop.css). Before, its text ran 9.7 to 39.2 px past its edge
 * at 195, 240 and 390 px in a melding with a long title. A link stays in the rule: a long link or address must break.
 * Buttons belong in hero-melding-acties, where the rule only touches the wrapper.
 * Below 360 px such a melding wraps as with Sluiten (1.0.51, M1 of the review of pull request 57): with the button
 * beside it at its least width, the title shrank to 13.7 px at 195 px (one letter a line), and to 0 px beside
 * Synchroniseren. Now the text takes the row beside the icon and the button goes to a row of its own below, at the
 * right; measured at 195 px the title is 103 px wide and the button stays inside the melding. From 360 px on nothing
 * changes. */
:where(.app-kto) .hero-melding > :not(.hero-icoon, .hero-melding-sluit, .hero-knop, button) { min-width: 0; overflow-wrap: break-word; }
@media (width < 360px) {
  :where(.app-kto) .hero-melding:has(> .hero-melding-sluit:not(.hero-knop-icoon)) { flex-wrap: wrap; }
  :where(.app-kto) .hero-melding:has(> .hero-melding-sluit:not(.hero-knop-icoon)) > :not(.hero-icoon, .hero-melding-sluit) { flex: 1 1 calc(100% - 30px); }
  :where(.app-kto) .hero-melding:has(> .hero-knop:not(.hero-melding-sluit), > button:not(.hero-melding-sluit)) { flex-wrap: wrap; }
  :where(.app-kto) .hero-melding:has(> .hero-knop:not(.hero-melding-sluit), > button:not(.hero-melding-sluit)) > :not(.hero-icoon, .hero-knop, button) { flex: 1 1 calc(100% - 30px); }
  :where(.app-kto) .hero-melding > .hero-knop:not(.hero-melding-sluit), :where(.app-kto) .hero-melding > button:not(.hero-melding-sluit) { margin-left: auto; }
}

/* ---- 11-toast.css ---- */
/* Component 11, toast. New compared with the house style (huisstijl/tokens.css section 10, hero-toast*), from rapport 03
 * of Interface (ontwerpsysteem 0.2), 1.3 row 11, and UI-toets 4704 (WCAG 2.2.1):
 * - the colours from the roles of the toast (--h-toast-*, new in 1.0) instead of the literals of the house style;
 * - the action in white 800 ("Maak ongedaan" wit 800; the house style has light blue 600) with the height of a small
 *   button, an own surface on hover and the focus ring on a dark surface (--h-focus-ring-donker); the house style
 *   action has no target and no ring;
 * - a close button (hero-toast-sluit): a toast with an action stays until it is closed;
 * - two lines (hero-toast-lang, and on the phone always): the action on its own line on the right, the close button
 *   top right;
 * - the place: bottom right on the laptop, and on the phone over the full width, at every size above everything that is
 *   fixed at the bottom of the screen and above the version pill (--hero-toast-onder, since 1.0.19 on the laptop too),
 *   and while the status line of the pill shows, above that line (1.0.19);
 *   the house style centres hero-toast-plaats and does not fix it. On the reference page
 *   .cx-inline keeps it in its row.
 * The hover surface of action and close button is the role --h-toast-hover (1.0.0): in the light theme the hover of
 * the dark button (hero-knop-donker, sterk grijs) on the same graphite; in the dark theme a grey lighter than the
 * toast, where sterk grijs was almost the toast itself (1.1:1). */

/* The colours of the house-style classes from the roles; the values stay the same */
:where(.app-kto) .hero-toast { color: var(--h-toast-tekst); }
:where(.app-kto) .hero-toast > .hero-icoon { color: var(--h-toast-goed); }
:where(.app-kto) .hero-toast-fout > .hero-icoon { color: var(--h-toast-fout); }
:where(.app-kto) .hero-toast-info > .hero-icoon { color: var(--h-toast-info); }
/* The high contrast mode (1.0.58, (ff); regels/toegankelijkheid.md, Hoge-contrastmodus): the toast is a graphite
 * surface with a shadow; the mode makes the surface Canvas and the shadow none, so the toast lost its edge (measured in
 * 1.0.57 at 1440: 9 of 9). An outline of 1 px in CanvasText at -1 px gives it back, the form of U2 of 1.0.57. */
@media (forced-colors: active) {
  :where(.app-kto) .hero-toast { outline: 1px solid CanvasText; outline-offset: -1px; }
}

:where(.app-kto) .hero-toast-tekst { flex: 1 1 0; min-width: 0; }
:where(.app-kto) .hero-toast-actie {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: var(--hero-knop-hoogte-klein);
  padding: 0 var(--hero-ruimte-8);
  border-radius: var(--hero-radius);
  color: var(--h-toast-tekst);
  font-weight: var(--hero-gewicht-knop);
  transition: background-color var(--h-overgang);
}
:where(.app-kto) .hero-toast-sluit {
  display: inline-grid;
  place-items: center;
  flex: none;
  order: 2;
  width: var(--hero-knop-hoogte-klein);
  height: var(--hero-knop-hoogte-klein);
  padding: 0;
  border: 0;
  border-radius: var(--hero-radius);
  background: transparent;
  color: var(--h-toast-tekst);
  transition: background-color var(--h-overgang);
}
/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) .hero-toast-actie:hover, :where(.app-kto) .hero-toast-sluit:hover { background: var(--h-toast-hover); }
}
/* The blue ring reaches 1.4:1 on graphite: a white ring with the graphite in between (--h-focus-ring-donker) */
:where(.app-kto) .hero-toast-actie:focus-visible, :where(.app-kto) .hero-toast-sluit:focus-visible { outline: 0; box-shadow: var(--h-focus-ring-donker); }

/* Two lines: the text and the close button on the first line, a line break, the action on the right of the second */
:where(.app-kto) .hero-toast-lang { flex-wrap: wrap; align-items: flex-start; row-gap: 0; }
:where(.app-kto) .hero-toast-lang::after { content: ""; order: 3; flex-basis: 100%; }
:where(.app-kto) .hero-toast-lang > .hero-icoon { margin-top: 1px; }
:where(.app-kto) .hero-toast-lang > .hero-toast-actie { order: 4; margin-left: auto; margin-top: var(--hero-ruimte-4); }
/* The close button of 32 px centred on the first line of text (20 px): 6 px out at the top, into the padding, and its
 * full height below, so that the action starts 4 px under the close button as well as 4 px under the text. With one
 * line of text the close button reached 2 px into the action (voorreview 0.4.0, K2); with more lines the text is taller
 * and nothing changes. */
:where(.app-kto) .hero-toast-lang > .hero-toast-sluit { margin-top: -6px; margin-bottom: 0; }

/* What is fixed at the bottom of the screen (1.0.19, K1 of the UI-toets 24819): by default the version
 * pill at the bottom right (spec 15), its place plus 8 px: 50 px on the laptop (14 + 28 + 8) and 58 px on the phone,
 * where its target is 44 px (14 + 8 + 28 + 8), as an app set it; --hero-pil-afstand of 15-versiepil.css follows the
 * boundary of the phone. The shell (00-shell.css) sets its own sum on hero-app, and an app sets its own on its frame
 * when more is fixed there. Up to 1.0.18 the toast stood 20 px from the bottom on the laptop outside the shell, over
 * the pill, and the phone took a bottom bar of 72 px. The edge distance --hero-rand-afstand stands as a margin under
 * the place and the column, not as a term in a calc with --hero-toast-onder: an app that sets --hero-pagina-padding to
 * 0 without a unit on its anchor gets --hero-rand-afstand 0, and calc(50px + 0) is not valid, so that the toast lost
 * its bottom and stood at the top of the window (proef-randafstand, case 2). A margin of 0 is valid, and the margin
 * catches no click. */
:where(.app-kto) { --hero-toast-onder: calc(var(--hero-pil-afstand) + var(--hero-ruimte-8)); }

/* The place of the toast in a screen, above what is fixed at the bottom, at the edge distance --hero-rand-afstand
 * (1.0.8) */
:where(.app-kto) .hero-toast-plaats {
  position: fixed;
  right: var(--hero-rand-afstand);
  bottom: var(--hero-toast-onder);
  margin-bottom: var(--hero-rand-afstand);
  z-index: var(--hero-z-laag);
  justify-content: flex-end;
}

@media (width < 600px) {
  /* Over the full width, above everything that is fixed at the bottom of the screen: the toast never covers a fixed
   * button, a fixed bar or the pill. The app sets the height of what is fixed there in --hero-toast-onder (the bottom
   * bar plus, say, a fixed blue button above it, and the pill; 0px on a screen without a pill where nothing is fixed);
   * the default is the pill (above, 58 px on the phone). */
  :where(.app-kto) .hero-toast-plaats { left: var(--hero-rand-afstand); }
  :where(.app-kto) .hero-toast-plaats > .hero-toast { max-width: none; }
  :where(.app-kto) .hero-toast-actie { min-height: var(--h-tikdoel); }
  :where(.app-kto) .hero-toast-sluit { width: var(--h-tikdoel); height: var(--h-tikdoel); }
  /* On the phone the action never fits beside the text: always the two lines */
  :where(.app-kto) .hero-toast { flex-wrap: wrap; align-items: flex-start; row-gap: 0; }
  :where(.app-kto) .hero-toast::after { content: ""; order: 3; flex-basis: 100%; }
  :where(.app-kto) .hero-toast > .hero-icoon { margin-top: 1px; }
  /* 16 px under the first line: the tap target of the action (44 px) and that of the close button (44 px, up to
   * the top edge) no longer overlap (verslag besluiten 0.4.0, bevinding 1) */
  :where(.app-kto) .hero-toast > .hero-toast-actie { order: 4; margin-left: auto; margin-top: var(--hero-ruimte-16); }
  /* The target of 44 px: up to the top edge of the toast (its padding of 10 px), the rest below, so that the first
   * line keeps its 20 px and the cross stays level with it */
  :where(.app-kto) .hero-toast > .hero-toast-sluit { margin-top: -10px; margin-bottom: -14px; }
  /* To the eye the close button is the one of the laptop, 32 x 32 in the middle of its target of 44: the hover surface
   * and the focus ring are drawn on ::before. The ring (4 px around 32 px) then stays inside the target, 2 px under the
   * top edge of the toast with the graphite around it; around the target of 44 it stuck out 4 px above the toast
   * (voorreview 0.4.0, K1). The target itself stays 44 x 44 (rapport 03 hoofdstuk 3), like the version pill does it. */
  :where(.app-kto) .hero-toast-sluit { position: relative; isolation: isolate; }
  :where(.app-kto) .hero-toast-sluit::before {
    content: "";
    position: absolute;
    inset: calc((var(--h-tikdoel) - var(--hero-knop-hoogte-klein)) / 2);
    z-index: -1;
    border-radius: var(--hero-radius);
    transition: background-color var(--h-overgang);
  }
  :where(.app-kto) .hero-toast-sluit:focus-visible { box-shadow: none; }
  :where(.app-kto) .hero-toast-sluit:focus-visible::before { box-shadow: var(--h-focus-ring-donker); }
}
/* The hover surface of the close button on the phone, on ::before as above. Only with a mouse: a touch screen would
 * keep the hover after a tap (1.0.6, ticket 10461) */
@media (width < 600px) and (hover: hover) {
  :where(.app-kto) .hero-toast-sluit:hover { background: transparent; }
  :where(.app-kto) .hero-toast-sluit:hover::before { background: var(--h-toast-hover); }
}

/* The column of the two places (1.0.16, K268 of the UI-toets 21806 and K61 of 20828; the decision of
 * Interface on open punt 2 of 20828): one column, bottom right on the laptop and over the full width on the phone,
 * with the place for goed and info (role="status") above the place for a fout (role="alert"). Each place holds at most
 * three toasts, the newest at the bottom, and neither empties the other, so that a fout does not take away a toast
 * with "Maak ongedaan". An empty place takes no room; the live regions stay in the tree (no display: none). Never
 * wider than the window minus the edge distance of the laptop on both sides, with the spacing token of that distance
 * (20 px) and not --hero-rand-afstand: an app that sets --hero-pagina-padding to 0 without a unit made
 * calc(100vw - 2 * 0) invalid, and so the maximum (1.0.19, kan 4 of the pre-review of the pill, like S5 and S9). A
 * toast is at most 448 px, so on the laptop the maximum never holds it back; on the phone left and right give the
 * width. */
:where(.app-kto) .hero-toast-kolom {
  position: fixed;
  right: var(--hero-rand-afstand);
  bottom: var(--hero-toast-onder);
  margin-bottom: var(--hero-rand-afstand);
  z-index: var(--hero-z-laag);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: calc(100vw - 2 * var(--hero-ruimte-20));
}
:where(.app-kto) .hero-toast-kolom > .hero-toast-plaats { position: static; margin-bottom: 0; flex-direction: column; align-items: flex-end; }
:where(.app-kto) .hero-toast-kolom .hero-toast + .hero-toast, :where(.app-kto) .hero-toast-kolom > .hero-toast-plaats:not(:empty) ~ .hero-toast-plaats > .hero-toast:first-child { margin-top: var(--hero-ruimte-8); }
@media (width < 600px) {
  :where(.app-kto) .hero-toast-kolom { left: var(--hero-rand-afstand); max-width: none; align-items: stretch; }
  :where(.app-kto) .hero-toast-kolom > .hero-toast-plaats { align-items: stretch; }
}

/* The status line of the pill (p-versie-status, 15-versiepil.css, 1.0.19): while it shows (Dank after Annuleer during
 * Bezig, for five seconds) it stands from 8 px above the place of the pill, which is where --hero-toast-onder starts,
 * and it is one line of meta text high with its padding and border (16 + 2 × 4 + 2 = 26 px). The edge distance under a
 * toast (20 px, 12 on the phone) is less than that, so a toast covered the top of the line: 6 px on the laptop, 14 on
 * the phone, the whole line with an edge distance of 0 (kan 1 of the pre-review of the pill, 1.0.19). While the line
 * shows, the place and the column stand 8 px above it instead: a margin of its height plus 8 px, with spacing tokens
 * only, so that it stays valid at any edge distance. In the frame of the pill (hero-app, p-portaal, hero-pagina),
 * whose child the line is, with the column in that frame or after it; the line in the strip of a narrow frame
 * (p-versie-strook) does not move the toast. */
:where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina):has(> .p-versie-status:not(:empty)) :is(.hero-toast-kolom, .hero-toast-plaats:not(.hero-toast-kolom > *)), :where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina):has(> .p-versie-status:not(:empty)) ~ :is(.hero-toast-kolom, .hero-toast-plaats) {
  margin-bottom: calc(var(--h-regel-meta) + 2 * var(--hero-ruimte-4) + 2px + var(--hero-ruimte-8));
}

/* ---- 12-modal-drawer.css ---- */
/* Component 12, modal and drawer. New compared with the house style (huisstijl/tokens.css section 13, hero-laag,
 * hero-modal, hero-drawer), from rapport 03 of Interface (ontwerpsysteem 0.2), 1.3 row 12:
 * - modal and drawer 480 px wide (the house style: 576 px);
 * - an error in the footer sits above the buttons over the full width (row 12 "fout in de voet"; rapport 10 W-40: the
 *   error is in view the moment it appears);
 * - on the phone the modal is a bottom sheet over the full width that touches the bottom edge (the house style aligns it
 *   to the bottom but keeps 12 px around it), with buttons of 44 px (rapport 03 hoofdstuk 2: the blue button 44 px);
 * - an embedded layer (hero-laag-inline, for reference pages only) clips its sheet to its own rounded corners, and an
 *   embedded drawer fills its layer: the height: 100% of the house style does not resolve inside a min-height. */
:where(.app-kto) .hero-modal, :where(.app-kto) .hero-drawer { max-width: 480px; }
:where(.app-kto) .hero-modal-voet > .hero-melding { flex: 1 1 100%; }
:where(.app-kto) .hero-laag-inline { overflow: hidden; }
:where(.app-kto) .hero-drawer-laag.hero-laag-inline > .hero-drawer { height: auto; }

/* While a modal or drawer is open, the page under it does not scroll: the page is not reachable (rapport 03, 1.3 row
 * 12). Moved from the shell of the patterns in 0.5.0; an embedded layer of a reference page does not count. */
:where(.app-kto):has(:is(.hero-laag, .hero-drawer-laag):not([hidden]):not(.hero-laag-inline)) { overflow: hidden; }

/* A modal is never taller than the screen (1.0.31, K71 of ticket 13547). The house style gives .hero-modal no height
 * limit and overflow: hidden, its layer does not scroll and the page under it does not either, so a modal taller than
 * the screen put its head with the question and the close button out of view (on the phone of 844 px a modal of
 * 1026 px with its head 182 px above the screen). Now the head and the footer stay and the body scrolls. The 48 px is
 * twice the padding of 24 px of .hero-laag; the line with 100vh is the fallback for a browser without dvh. An embedded
 * layer (reference pages only) bounds the modal to its own height, so that the state hoog shows the behaviour. A
 * drawer already scrolls as a whole (height: 100% and overflow-y: auto in the house style) and does not change: the
 * rules for the head, the body and the footer hold only for those directly in a modal, also when an app makes its
 * drawer a flex column with a hero-modal-body in it, as the pattern detail does. */
:where(.app-kto) .hero-modal { display: flex; flex-direction: column; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
:where(.app-kto) .hero-modal > .hero-modal-kop, :where(.app-kto) .hero-modal > .hero-modal-voet { flex: none; }
:where(.app-kto) .hero-modal > .hero-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
:where(.app-kto) .hero-laag-inline .hero-modal { max-height: 100%; }
/* A body that scrolls without a control in it gets tabindex="0" in the markup, so that the keyboard can scroll it, also
 * in a browser that gives a scroll area no focus of its own (WCAG 2.1.1; axe scrollable-region-focusable; spec 12,
 * Toetsenbord). Its focus ring lies inside its edge, because the modal clips what lies outside it. Since 1.0.58 ((eq),
 * K580 of ticket 13547; spec 12, Toetsenbord) the ring is an outline of 2 px in the focus colour with an offset of
 * -2 px: the inset shadow of 1.0.31 to 1.0.57 is painted with the background of the body, under its content, so a card
 * with a background of its own, an iframe or an example that scrolled over the edge covered the ring; an outline is
 * painted after the content of the body. */
:where(.app-kto) .hero-modal-body:focus-visible { outline: var(--h-focus-breedte) solid var(--h-focus); outline-offset: calc(-1 * var(--h-focus-breedte)); }

/* The high contrast mode (1.0.58, (ff); regels/toegankelijkheid.md, Hoge-contrastmodus): a modal and a drawer show their
 * edge with a shadow, which the mode sets to none, on a surface that becomes Canvas, so in the mode they had no edge
 * (measured in 1.0.57 at 1440: the modal 8 of 9 figures, the drawer 2 of 2). An outline of 1 px in CanvasText at -1 px
 * gives it back, the form of U2 of 1.0.57. A focus on the modal itself keeps the outline of T8 (00-basis.css). */
@media (forced-colors: active) {
  :where(.app-kto) .hero-modal, :where(.app-kto) .hero-drawer { outline: 1px solid CanvasText; outline-offset: -1px; }
}

/* The close button stays on the first line of the head when the question wraps (1.0.35, Bekend (a) of 1.0.30): the
 * head aligns its parts at the top, and the h2 (26 px line height) gets half the difference with the close button
 * above it, so that one line is centred on the button exactly as before: 3 px next to the button of 32 px on the
 * laptop (--hero-knop-hoogte-klein), 9 px next to the tap target of 44 px on the phone (--h-tikdoel, 00-basis.css).
 * A head of one line keeps its height (61 px on the laptop, 73 px on the phone, with its border) and nothing moves. A
 * status in a drawer head (20 px high, measured in the build of 1.0.35) gets the same treatment: 6 and 12 px. */
:where(.app-kto) .hero-modal-kop { align-items: flex-start; }
:where(.app-kto) .hero-modal-kop > h2 { margin-top: calc((var(--hero-knop-hoogte-klein) - 26px) / 2); }
:where(.app-kto) .hero-modal-kop > .hero-status { margin-top: calc((var(--hero-knop-hoogte-klein) - 20px) / 2); }
@media (width < 600px) {
  :where(.app-kto) .hero-modal-kop > h2 { margin-top: calc((var(--h-tikdoel) - 26px) / 2); }
  :where(.app-kto) .hero-modal-kop > .hero-status { margin-top: calc((var(--h-tikdoel) - 20px) / 2); }
}

/* A drawer scrolls as a whole; since 1.0.35 its head and its footer stay in view while it scrolls (Bekend (c) of
 * 1.0.31): sticky inside the drawer, which is the scroll container, on the surface of the drawer so that the rows pass
 * under them (--h-vlak; hero-kaart-voet has no background of its own in componenten.css, so the footer gets it here).
 * An app that makes its drawer a flex column with a scrolling hero-modal-body (the pattern detail) keeps them
 * already; sticky does no harm there. */
:where(.app-kto) .hero-drawer > .hero-modal-kop { position: sticky; top: 0; z-index: 1; background: var(--h-vlak); }
:where(.app-kto) .hero-drawer > .hero-kaart-voet { position: sticky; bottom: 0; z-index: 1; background: var(--h-vlak); }
/* An embedded drawer (reference pages only) grows with its content (height: auto above) and does not scroll, so its
 * head and footer need no surface of their own; without one the rounded corner of the embedded layer is drawn once,
 * as up to 1.0.34 (with the surface the corner was drawn twice and came out paler). A reference page that gives an
 * embedded drawer a fixed height, so that it scrolls, gives the surface back (componenten/index.css, cx-laag-lang). */
:where(.app-kto) .hero-drawer-laag.hero-laag-inline > .hero-drawer > :is(.hero-modal-kop, .hero-kaart-voet) { background: none; }

/* A confirmation in the footer of a modal (1.0.35, Bekend (e) of 1.0.32; K160 of ticket 13547): it takes the place of
 * the blue button, fills the footer over the full width and is a group with a name for the accessibility tree (spec
 * 12, Wat de toets meet). A white panel with the border of a field on the surface of the footer. */
:where(.app-kto) .hero-bevestiging { flex: 1 1 100%; display: flex; flex-direction: column; gap: var(--hero-ruimte-8); padding: var(--hero-ruimte-12) var(--hero-ruimte-16); border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); background: var(--h-vlak); }
:where(.app-kto) .hero-bevestiging-kop { margin: 0; font-size: var(--hero-tekst-sm); line-height: 20px; font-weight: 600; color: var(--h-tekst); }
:where(.app-kto) .hero-bevestiging-zin { margin: 0; font-size: var(--hero-tekst-sm); line-height: 20px; color: var(--h-tekst-2); }
:where(.app-kto) .hero-bevestiging-knoppen { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--hero-ruimte-8); }
@media (width < 600px) { :where(.app-kto) .hero-bevestiging-knoppen > .hero-knop { flex: 1 1 auto; } }

/* Same breakpoint as the phone rules of the house style for the modal: below 600 px, (width < 600px), the one
 * boundary of the phone since 1.0.5 (--h-breek-telefoon) */
@media (width < 600px) {
  :where(.app-kto) .hero-laag { padding: var(--hero-ruimte-12) 0 0; }
  :where(.app-kto) .hero-modal { max-width: none; }
  /* the layer keeps 12 px above the bottom sheet (its padding here), so the sheet is at most the screen minus 12 px */
  :where(.app-kto) .hero-modal { max-height: calc(100vh - var(--hero-ruimte-12)); }
  /* 100dvh only where the browser knows it (1.0.68, ticket 34724): with var() a browser without dvh would drop the
   * declaration when it computes, and the sheet would have no maximum height, with the 100vh before it and all; the
   * rule of 48 px above has no var(), so a browser without dvh drops its 100dvh when it parses and keeps the 100vh */
  @supports (height: 100dvh) {
    :where(.app-kto) .hero-modal { max-height: calc(100dvh - var(--hero-ruimte-12)); }
  }
}

/* A window embedded as a card in the flow of a screen (1.0.38, spec 12, Ingebed in een scherm; ticket 13547): the
 * window of a dossier piece in a werkblad, an example in a tab. No layer around it, so no dimming and no focus trap:
 * it is a region, not a dialog. It keeps the head, the body and the footer of the modal (the head with 14 and 20 px
 * padding), without the shadow and the height limit of a modal, with the border and the corner of a card (component
 * 3: 1 px --h-rand and --hero-radius-l, 12 px; a modal keeps 16), over the full width of its place. On the phone it
 * stays a card, not a bottom sheet: the corner all round, and no position: fixed (a modal has none of its own; its
 * layer is fixed). Two classes weigh more than every rule for .hero-modal in componenten.css and above, also those
 * for the phone, whatever their order. */
:where(.app-kto) .hero-modal.hero-modal-ingebed { width: 100%; max-width: none; max-height: none; border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); box-shadow: none; }

/* A number or a file name in the title of a window (1.0.38, spec 12, the row Kop; K2 of the read-through) moves
 * to the next line as a whole, and breaks inside the name only when it is wider than the head itself. */
:where(.app-kto) .hero-heel { display: inline-block; max-width: 100%; overflow-wrap: anywhere; hyphens: none; }

/* ---- 13-dagstart.css ---- */
/* Component 13, dagstart-zin. New compared with the house style (huisstijl/platform.css section 3, p-dagstart), from
 * rapport 03 of Interface (ontwerpsysteem 0.2), 1.3 row 13:
 * - on the phone the sentence is 24/32 (the role --h-tekst-groot; the house style sets 30/38 at every width and 24/30
 *   only inside the phone shell .p-telefoon);
 * - loading: a skeleton of one line inside the h1, at about the height of the letters (0.9em, as in the dashboard
 *   sketch 0.2 of Interface), so the h1 keeps its place and its line height;
 * - one button under the sentence (1.0.6, spec 13, Eén knop onder de zin): the one blue main button of the screen, the
 *   last child of p-dagstart, 12 px under the second line (or under the sentence when there is none) and aligned left
 *   with the sentence. A block of its own width, so no line box adds room above or below it; its height stays that of
 *   component 1 (40 px, 44 px on the phone). */
:where(.app-kto) .p-telefoon .p-dagstart-zin { line-height: var(--h-regel-groot); }
:where(.app-kto) .p-dagstart-zin > .hero-skelet { display: inline-block; height: 0.9em; vertical-align: middle; }
:where(.app-kto) .p-dagstart > .hero-knop { display: flex; width: -moz-fit-content; width: fit-content; margin-top: var(--hero-ruimte-12); }

@media (width < 600px) {
  :where(.app-kto) .p-dagstart-zin { font-size: var(--h-tekst-groot); line-height: var(--h-regel-groot); }
}

/* ---- 14-voorstelvlak.css ---- */
/* Component 14, voorstelvlak. New compared with the house style (huisstijl/platform.css section 5, p-voorstel), from
 * rapport 03 of Interface (ontwerpsysteem 0.2), 1.3 row 14; regels/verboden.md; open punt 12 of rapport 03 with
 * answer 5a of the regie (ticket 5281):
 * - the trede in full colour: the house style dims .p-trede with opacity 0.85, which leaves 4,1:1 at 12 px (under AA);
 * - the buttons sit in the block, 12 px under the reason (row 14: one blue button "Keur goed", one quiet "Pas aan");
 *   who did it (p-door) sits 8 px under the reason;
 * - .p-namens small at 12 px instead of 11: row 14 lists p-namens and nothing is under 12 px (rapport 03 hoofdstuk 3).
 *   In the house style p-namens is the switch "Je werkt namens" of the portal; the voorstelvlak itself does not use it. */
:where(.app-kto) .p-voorstel > .hero-knopgroep { margin-top: var(--hero-ruimte-12); }
:where(.app-kto) .p-voorstel > .p-door { margin-top: var(--hero-ruimte-8); }
:where(.app-kto) .p-namens small { font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }

/* ---- 15-versiepil.css ---- */
/* Component 15, versiepil. New compared with the house style (huisstijl/platform.css section 8, p-versie), from rapport
 * 03 of Interface (ontwerpsysteem 0.2), 1.3 row 15, with masterplan 9.4, dashboardstandaard 0.3 section 4 and the
 * dashboard sketch 0.2 of Interface:
 * - the pill is a button that opens a panel: a stronger rand while its panel is open;
 * - on the phone the pill stays 28 px to the eye and gets a target of 44 px: the button is a transparent box with a
 *   transparent border of 8 px, the visible pill is its ::before with the border, surface and shadow s of the house
 *   style; the focus ring lies 1 px around the visible pill (rapport 03 hoofdstuk 3). The button needs a position (the
 *   house style places it absolute; inside a page row it is relative);
 * - the panel (p-versie-paneel) did not exist: a card (hero-kaart with kop, body and voet) of 340 px with the shadow of
 *   a menu, the full width on the phone; in a screen it opens above the pill, on the right. Its place derives from the
 *   pill of the house style (right 16 px, bottom 14 px, 28 px high). On the phone its buttons are 44 px, as in the
 *   footer of a modal (rapport 03 hoofdstuk 2: the blue button 44 px; its one blue button counts as its own screen).
 * 1.0.3 (tickets 8231 and 8284): the frame hero-pagina next to hero-app and p-portaal, for an app that owns its page
 * without a shell; the pill on a wall (is-muur); the kind of a report as a fieldset; the states of Meld iets.
 * 1.0.5: one boundary of the phone, below 600 px (--h-breek-telefoon), here as everywhere (since 1.0.52 the range
 * (width < 600px), ticket 41826), and the
 * same boundary as a container query for a pill in a narrow frame (the strip p-versie-strook, at the end); the layer
 * of the open panel as a token of its own (--hero-z-pil-paneel).
 * 1.0.6 (ticket 8797, point 1): the open panel is at most as high as the window allows and scrolls inside, so that on
 * a low window, such as a phone held sideways, its head with the focus stays in view.
 * 1.0.19 (ticket 24696): the words "melden staat uit" in the pill without a session (p-versie-uit)
 * and the status line after the pill (p-versie-status), for Dank when the panel was closed during Bezig.
 * 1.0.20 (K3 of UI-toets 26985): the comma before those words belongs to the number (<b>v3.2,</b>) and
 * the words begin with a word, so that the name of the pill reads "v3.2, melden staat uit" and not "v3.2 , melden staat
 * uit": between two boxes of a flex button the browser puts a space in the name (spec 15, Markup).
 * Every size is a token: a spacing on the grid is --hero-ruimte-*, the other sizes and the two layers are the
 * component tokens below. A line is 1 px, the line of every border in the house style; there is no token for the
 * width of a line. */

/* Component tokens:
 * - --hero-pil-afstand: the place of the pill, from the bottom of the frame (hero-app, p-portaal or hero-pagina) to the
 *   top of the visible pill. The platform layer puts the pill 14 px above the bottom and makes it 28 px high
 *   (componenten.css, p-versie); those classes are generated from the regie and stay as they are, so the two literals
 *   live here, in this block only: 14 + 28 = 42 px on the laptop; on the phone the target of 44 px has a transparent
 *   border of 8 px under the visible pill: 14 + 8 + 28 = 50 px (--hero-pil-afstand-telefoon, also for the container
 *   query at the end). The panel opens 8 px above it. 14 is off the grid of 4 px;
 * - --hero-z-pil: the layer of the pill in the platform layer (z-index 20, componenten.css): above the content, under
 *   the top bar (--hero-z-kopbalk, 30);
 * - --hero-z-pil-paneel (1.0.5): the layer of the open panel, and of the strip that holds pill and panel. By default
 *   the layer of the pill; an app that has a floating button of its own in the same corner, such as a chat button,
 *   sets it to the menu layer on its frame (--hero-z-pil-paneel: var(--hero-z-menu), 40), so that the panel opens
 *   above that button and under a modal (--hero-z-laag, 50). The pill keeps its layer and stays reachable: the
 *   floating button never lies over it (spec 15, De laag van het paneel);
 * - --hero-versie-paneel-breedte: the panel is a card of 340 px (rapport 03, 1.3 row 15; the dashboard sketch 0.2 of
 *   Interface): a width, not a spacing of the grid. */
:where(.app-kto) {
  --hero-pil-afstand: calc(14px + 28px);
  --hero-pil-afstand-telefoon: calc(14px + var(--hero-ruimte-8) + 28px);
  --hero-z-pil: 20;
  --hero-z-pil-paneel: var(--hero-z-pil);
  --hero-versie-paneel-breedte: 340px;
}
@media (width < 600px) {
  :where(.app-kto) { --hero-pil-afstand: var(--hero-pil-afstand-telefoon); }
}

:where(.app-kto) .p-versie[aria-expanded="true"] { border-color: var(--h-rand-sterk); color: var(--h-tekst-2); }
/* The place of the pill in the flow (1.0.47, K5 on ticket 34724; spec 15, Anatomie and Maten): an app in
 * which only main scrolls (a frame as high as the window) puts the pill, its status line and its panel in
 * div.p-versie-plek as the last child of main. The place is a surface in the flow with a position and the room of the
 * pill (--hero-pil-ruimte of the shell, 48 px on the laptop and 52 on the phone; 48 outside the shell): the pill stands
 * in it 16 px from the right and 14 px from the bottom (the platform layer), so at the end of main, and never over a
 * button or a field when the page loads. The panel and the status line open above the pill, as in a frame. The place in
 * hero-app or p-portaal (componenten.css) stays for an app whose page scrolls. The app template has the same form
 * with hero-versiepil-plek (spec 15); since 1.0.53 (ticket 42364, choice a) every rule of the place in
 * this file names .hero-versiepil-plek beside .p-versie-plek in the same selector list (the place, the panel, the
 * status line, the layer and the drawer, also on the phone), so the weight of each rule stays as it was and the
 * template can drop its own rules after a measurement. */
:where(.app-kto) .p-versie-plek, :where(.app-kto) .hero-versiepil-plek { position: relative; height: var(--hero-pil-ruimte, var(--hero-ruimte-48)); }
/* The pill on a wall (1.0.3, ticket 8284): a span with is-muur, not a button and without a panel, because nobody types
 * on a wall; 32 px high, text 16/20 px, room 0 16 px, a dot of 8 px. The wall tokens of the dashboard where they fit,
 * the normal tokens for the rest, and for a page without the dashboard tokens. Since 1.0.39 (K278) the dot stands 11 px
 * behind the number: a gap of 8 and a margin of 3, the 6 and 2 of the laptop times 4/3, rounded. */
:where(.app-kto) .p-versie.is-muur {
  height: var(--d-muur-versiepil-hoogte, var(--hero-ruimte-32));
  padding: 0 var(--hero-ruimte-16);
  font-size: var(--d-muur-versiepil-tekst, var(--hero-tekst-md));
  line-height: var(--h-regel-basis);
  gap: var(--hero-ruimte-8);
  cursor: default;
}
:where(.app-kto) .p-versie.is-muur.is-nieuw::after { width: var(--hero-ruimte-8); height: var(--hero-ruimte-8); margin-left: 3px; }
/* The height of the open panel (1.0.6): the window minus the room under the panel (the pill distance plus 8 px: 50 px
 * on the laptop, 58 on the phone), 64 px for the top bar (56 px in the work place, 64 in the portal) and 8 px air
 * under it. What does not fit scrolls inside the panel: the panel stays above the pill and its head under the top
 * bar. 100vh first; 100dvh where the browser knows it, the window without the bars of a phone browser. In the shell
 * on the phone the room under the panel is what is fixed at the bottom (00-shell.css). Since 1.0.50 (finding 1 of
 * the reading on ticket 34724) the height also subtracts what is fixed at the bottom (--hero-vast-onder) wherever the
 * panel stands: 0 outside hero-app and on the laptop, so only a panel in p-versie-plek in hero-app on the phone gets
 * lower; without it that panel was as high as the window minus the room above the pill, and main cut off its top
 * behind the top bar (56 px at 195 x 422). */
:where(.app-kto) .p-versie-paneel {
  width: var(--hero-versie-paneel-breedte);
  max-width: 100%;
  max-height: calc(100vh - var(--hero-vast-onder, 0px) - var(--hero-pil-afstand) - var(--hero-ruimte-8) - var(--hero-ruimte-64) - var(--hero-ruimte-8));
  overflow-y: auto;
  box-shadow: var(--hero-schaduw-l);
}
/* 100dvh only where the browser knows it (1.0.68, the report on ticket 34724): the declaration holds
 * var(), so a browser without dvh (Chrome and Edge 105 to 107) would drop it when it computes, and the panel would
 * have no maximum height, with the 100vh above it and all. */
@supports (height: 100dvh) {
  :where(.app-kto) .p-versie-paneel { max-height: calc(100dvh - var(--hero-vast-onder, 0px) - var(--hero-pil-afstand) - var(--hero-ruimte-8) - var(--hero-ruimte-64) - var(--hero-ruimte-8)); }
}
/* The list of what is new keeps its bullets: the preflight of Tailwind takes them away from every list, so the system
 * sets them itself (1.0.3) */
:where(.app-kto) .p-versie-nieuw { margin: 0; padding-left: var(--hero-ruimte-20); list-style: disc; }
:where(.app-kto) .p-versie-nieuw > li + li { margin-top: var(--hero-ruimte-4); }
:where(.app-kto) .p-versie-nieuw + .hero-hint { margin-top: var(--hero-ruimte-12); }
/* The link to all that is new (1.0.12, ticket 18978, optional): under the three lines of news an app may link to its
 * own overview of the version, "Alles wat nieuw is in versie 3.2": a plain link of the base (--h-link, underlined) in a
 * paragraph of its own, 8 px under the list and 12 px above the line with since when. On the phone the link is a tap
 * target of 44 px high (below and in the container query at the end). */
:where(.app-kto) .p-versie-nieuw + .p-versie-alles { margin-top: var(--hero-ruimte-8); }
:where(.app-kto) .p-versie-alles + .hero-hint { margin-top: var(--hero-ruimte-12); }
/* Meld iets (1.0.3): between two fields, and between the field and the error of the state Fout above the foot, the
 * room between two fields */
:where(.app-kto) .p-versie-paneel .hero-kaart-body > :is(.hero-veld, .hero-fout) + :is(.hero-veld, .hero-fout) { margin-top: var(--hero-ruimte-12); }
/* The kind of a report (1.0.3, ticket 8284), only when the channel of the app asks for one: a fieldset with a legend
 * and two radio buttons above the text box, without border, margin or padding; the legend floats, so that it is not
 * drawn in the border but stands above the choices like a label, with the gap of hero-veld */
:where(.app-kto) .p-versie-paneel fieldset.hero-veld { min-width: 0; margin: 0; padding: 0; border: 0; }
:where(.app-kto) .p-versie-paneel fieldset.hero-veld > legend { float: left; padding: 0; }
/* The portal reads at 16 px (spec 15, Maten): in the panel of the pill in p-portaal the label (also the legend of the
 * kind) and the error are 16 px as well, because they carry the action and the signal, and the hint under the text box
 * is 14 px, a step under them (1.0.8, ticket 14101 W4). Only the hint of the field (in hero-veld): the line under the
 * list of Wat is er nieuw (since when, the version before) keeps the 12 px of the hint (1.0.9, K2 of the reader of
 * 1.0.8). In the work place all three stay 12 px. Only the panel: a field elsewhere in the portal keeps the sizes of
 * component 5. */
:where(.app-kto) .p-portaal .p-versie-paneel :is(.hero-label, .hero-fout) { font-size: var(--h-tekst-lees); line-height: var(--h-regel-lees); }
:where(.app-kto) .p-portaal .p-versie-paneel .hero-veld .hero-hint { font-size: var(--h-tekst-basis); line-height: var(--h-regel-basis); }
/* The panel in a screen, in its frame: hero-pagina counts as a frame only outside the shells, as in 00-shell.css
 * (1.0.3). :where() keeps the weight of this selector at 0,2,0: with :is() it would be 0,3,0, as heavy as the phone
 * rule .hero-app > .p-versie-paneel:not([hidden]) of 00-shell.css, which stands earlier in aanvulling.css, and the
 * panel would then open over the bottom bar of the work place on the phone */
:where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina:not(:where(.hero-app, .p-portaal) *), .p-versie-plek, .hero-versiepil-plek) > .p-versie-paneel {
  position: absolute;
  right: var(--hero-ruimte-16);
  bottom: calc(var(--hero-pil-afstand) + var(--hero-ruimte-8));
  z-index: var(--hero-z-pil-paneel);
}
/* The drawer with its layer (1.0.49, (bm) of 1.0.47, decided on ticket 34724; spec 15, Anatomie, Maten and
 * Toetsenbord): an app that draws the panel as a drawer over the full height puts is-lade on the panel and
 * div.p-versie-laag right before it, in the same place as the pill (the frame, p-versie-plek or the strip). The layer
 * covers the whole page with the dusk of a window (--h-laag of spec 12) in the layer of a window (--hero-z-laag: above
 * the top bar and the menu, as the drawer of spec 12); it stands in the DOM before the panel, so under it, and above the
 * pill. The drawer stands on the right over the full height, as wide as the panel (--hero-versie-paneel-breedte),
 * without the height limit and the corners of the panel, because it touches the edge; what does not fit scrolls in the
 * drawer. Only a drawer with a layer may be modal (aria-modal), and a click on the layer does what Escape does. The
 * values are those of the app template (hero-versiepil-plek, templates/versiepil), which can drop its own rule. */
:where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina:not(:where(.hero-app, .p-portaal) *), .p-versie-plek, .hero-versiepil-plek, .p-versie-strook) > .p-versie-laag {
  position: fixed;
  inset: 0;
  z-index: var(--hero-z-laag);
  background: var(--h-laag);
}
:where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina:not(:where(.hero-app, .p-portaal) *), .p-versie-plek, .hero-versiepil-plek, .p-versie-strook) > .p-versie-paneel.is-lade {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--hero-z-laag);
  width: var(--hero-versie-paneel-breedte);
  max-height: none;
  overflow-y: auto;
  border-radius: 0;
}
/* The words of the pill when reporting is off without a session (1.0.19, ticket 24696; spec 15, Teksten): "melden
 * staat uit" right after the number and its comma (<b>v3.2,</b>, since 1.0.20), in the type and colour of the pill. The
 * platform layer spaces the parts of the pill with a gap of 6 px, for the dot; between the number and the words a gap
 * the width of a space (4 px, the smallest spacing token) draws "v3.2, melden staat uit". Without a session there is
 * no dot. */
:where(.app-kto) .p-versie:has(> .p-versie-uit) { gap: var(--hero-ruimte-4); }
:where(.app-kto) .p-versie-uit { white-space: nowrap; }
/* The status line of the pill (1.0.19, ticket 24696; spec 15, Annuleer tijdens Bezig): a p with role="status" right
 * after the pill, empty from the drawing of the pill on, so that a screen reader reads it as soon as its text comes.
 * When Dank arrives while the panel is closed it holds the heading of Dank in one line, for five seconds or until
 * the pill opens: where the panel opens, 8 px above the pill and on its right edge, white with a border and shadow s
 * like the pill, in the layer of the pill. Empty it takes no room and shows nothing. On the reference page it stands
 * in its row, under the pill. It is at most as wide as its frame minus its distance to the right edge on both sides,
 * with spacing tokens and not --hero-rand-afstand: an app that sets that 0 without a unit would make the calc
 * invalid (as with the toast, 11-toast.css). */
:where(.app-kto) .p-versie-status {
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - 2 * var(--hero-ruimte-16));
  margin: 0;
  overflow: hidden;
  font-size: var(--h-tekst-meta);
  line-height: var(--h-regel-meta);
  color: var(--h-tekst-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}
:where(.app-kto) .p-versie-status:not(:empty) {
  padding: var(--hero-ruimte-4) var(--hero-ruimte-12);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-pil);
  background: var(--h-vlak);
  box-shadow: var(--hero-schaduw-s);
}
:where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina:not(:where(.hero-app, .p-portaal) *), .p-versie-plek, .hero-versiepil-plek) > .p-versie-status, :where(.app-kto) .p-versie-strook > .p-versie-status {
  position: absolute;
  right: var(--hero-ruimte-16);
  bottom: calc(var(--hero-pil-afstand) + var(--hero-ruimte-8));
  z-index: var(--hero-z-pil);
}

/* The phone: below 600 px, the one boundary of --h-breek-telefoon (since 1.0.52 a range, (width < 600px) below it
 * and (width >= 600px) from it, so that a width of 599.5 px has one layout as well; ticket 41826) */
@media (width < 600px) {
  :where(.app-kto) .p-versie {
    isolation: isolate;
    height: var(--h-tikdoel);
    border: var(--hero-ruimte-8) solid transparent;
    background: transparent;
    box-shadow: none;
  }
  :where(.app-kto) .p-versie::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border: 1px solid var(--h-rand); border-radius: var(--hero-radius-pil); background: var(--h-vlak); box-shadow: var(--hero-schaduw-s);
  }
  :where(.app-kto) .p-versie[aria-expanded="true"] { border-color: transparent; }
  :where(.app-kto) .p-versie[aria-expanded="true"]::before { border-color: var(--h-rand-sterk); }
  /* the ring 1 px around the visible pill: 1 px out of the transparent border of 8 px */
  :where(.app-kto) .p-versie:focus-visible { outline-offset: calc(var(--h-focus-afstand) - var(--hero-ruimte-8)); }
  /* in the high contrast mode (1.0.49, (ca) and index 180 of ticket 34724) the ring stays 1 px around the visible pill:
   * T8 of 00-basis.css sets the offset of every focus with !important, so this rule repeats the offset of the phone
   * with !important (the same in the container query at the end). The mode draws the transparent border of 8 px of
   * the target in an opaque system colour, a dark ring around the visible pill on which the ring of the focus would
   * vanish (measured 2.12:1); in the mode that border takes Canvas, the colour of the page */
  @media (forced-colors: active) {
    :where(.app-kto) .p-versie:focus-visible { outline-offset: calc(var(--h-focus-afstand) - var(--hero-ruimte-8)) !important; }
    :where(.app-kto) .p-versie:not(.is-muur), :where(.app-kto) .p-versie[aria-expanded="true"]:not(.is-muur) { border-color: Canvas; }
  }
  :where(.app-kto) .p-versie-paneel { width: 100%; }
  /* the full width at the edge distance (--hero-rand-afstand since 1.0.8, so a frame with padding 0 does not put the
   * panel against the edge); the bottom follows --hero-pil-afstand of the phone: 50 + 8 = 58 px, the top of the target */
  :where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina:not(:where(.hero-app, .p-portaal) *), .p-versie-plek, .hero-versiepil-plek) > .p-versie-paneel {
    left: var(--hero-rand-afstand);
    right: var(--hero-rand-afstand);
    width: auto;
  }
  /* the drawer (1.0.49) over the full width, without the edge distance of the panel, as in the app template */
  :where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina:not(:where(.hero-app, .p-portaal) *), .p-versie-plek, .hero-versiepil-plek, .p-versie-strook) > .p-versie-paneel.is-lade {
    left: 0;
    right: 0;
    width: auto;
  }
  /* the pill on a wall keeps its look at any width: no target of 44 px, nobody taps it */
  :where(.app-kto) .p-versie.is-muur { border: 1px solid var(--h-rand); background: var(--h-vlak); box-shadow: var(--hero-schaduw-s); }
  :where(.app-kto) .p-versie.is-muur::before { content: none; }
  /* the link to all that is new (1.0.12): a tap target of 44 px high, whose own room of 12 px above and under its text
   * takes the place of the margins */
  :where(.app-kto) .p-versie-alles > a { display: inline-flex; align-items: center; min-height: var(--h-tikdoel); }
  :where(.app-kto) .p-versie-nieuw + .p-versie-alles, :where(.app-kto) .p-versie-alles + .hero-hint { margin-top: 0; }
  /* the status line (1.0.19) on the right edge of the visible pill, inside its transparent border of 8 px, and in
   * the shell above what is fixed at the bottom, as the panel there (00-shell.css) */
  :where(.app-kto) :is(.hero-app, .p-portaal, .hero-pagina:not(:where(.hero-app, .p-portaal) *), .p-versie-plek, .hero-versiepil-plek) > .p-versie-status { right: calc(var(--hero-ruimte-16) + var(--hero-ruimte-8)); max-width: calc(100% - 2 * (var(--hero-ruimte-16) + var(--hero-ruimte-8))); }
  :where(.app-kto) .hero-app > .p-versie-status { bottom: calc(var(--hero-vast-onder) + var(--hero-pil-ruimte)); }
}

/* The same boundary as a container query (1.0.5), for a pill in a narrow frame on a wide screen, such as a remote in
 * the content area of the HeroApp shell next to its side menu, or a side pane: the media query sees the window, not
 * the frame. The frame then holds the pill and its panel in the strip p-versie-strook, its last child: a line of
 * height 0 at the bottom of the frame and as wide as the frame, which places the pill and the panel as the frame
 * itself does (the pill 16 px from the right and 14 px from the bottom) and is the query container. Below 600 px of
 * frame the rules inside are the phone rules of this file and of the panel (the target of 44 px, the panel over the
 * full width with 12 px on either side, its buttons of 44 px and its content at 12 px), whatever the width of the
 * window; on a phone the media query and the container query say the same. The frame itself is no container: a
 * container holds every fixed element inside it, such as a modal of the app; the strip holds only the pill and its
 * panel, which it places anyway. Without the strip the pill follows the media query alone. */
:where(.app-kto) .p-versie-strook {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  z-index: var(--hero-z-pil-paneel);
  container: hero-versie / inline-size;
}
:where(.app-kto) .p-versie-strook > .p-versie-paneel {
  position: absolute;
  right: var(--hero-ruimte-16);
  bottom: calc(var(--hero-pil-afstand) + var(--hero-ruimte-8));
}
@container hero-versie (width < 600px) {
  :where(.app-kto) .p-versie {
    isolation: isolate;
    height: var(--h-tikdoel);
    border: var(--hero-ruimte-8) solid transparent;
    background: transparent;
    box-shadow: none;
  }
  :where(.app-kto) .p-versie::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border: 1px solid var(--h-rand); border-radius: var(--hero-radius-pil); background: var(--h-vlak); box-shadow: var(--hero-schaduw-s);
  }
  :where(.app-kto) .p-versie[aria-expanded="true"] { border-color: transparent; }
  :where(.app-kto) .p-versie[aria-expanded="true"]::before { border-color: var(--h-rand-sterk); }
  :where(.app-kto) .p-versie:focus-visible { outline-offset: calc(var(--h-focus-afstand) - var(--hero-ruimte-8)); }
  @media (forced-colors: active) {
    :where(.app-kto) .p-versie:focus-visible { outline-offset: calc(var(--h-focus-afstand) - var(--hero-ruimte-8)) !important; }
    :where(.app-kto) .p-versie:not(.is-muur), :where(.app-kto) .p-versie[aria-expanded="true"]:not(.is-muur) { border-color: Canvas; }
  }
  /* the panel: --hero-pil-afstand of the phone (50 px), the full width with the page margin of the phone */
  :where(.app-kto) .p-versie-strook > .p-versie-paneel {
    --hero-pil-afstand: var(--hero-pil-afstand-telefoon);
    left: var(--hero-ruimte-12);
    right: var(--hero-ruimte-12);
    width: auto;
  }
  :where(.app-kto) .p-versie-strook > .p-versie-paneel.is-lade { left: 0; right: 0; width: auto; }
  /* the phone rules of the card and the buttons (componenten.css, 00-basis.css), in the panel */
  :where(.app-kto) .p-versie-paneel .hero-kaart-body { padding: var(--hero-ruimte-12); }
  :where(.app-kto) .p-versie-paneel .hero-kaart-voet > .hero-knop { flex: 1 1 auto; min-height: var(--h-tikdoel); }
  :where(.app-kto) .p-versie-paneel .hero-invoer { min-height: var(--h-tikdoel); }
  :where(.app-kto) .p-versie-alles > a { display: inline-flex; align-items: center; min-height: var(--h-tikdoel); }
  :where(.app-kto) .p-versie-nieuw + .p-versie-alles, :where(.app-kto) .p-versie-alles + .hero-hint { margin-top: 0; }
  /* the status line (1.0.19): above the target of the phone, on the right edge of the visible pill */
  :where(.app-kto) .p-versie-strook > .p-versie-status { --hero-pil-afstand: var(--hero-pil-afstand-telefoon); right: calc(var(--hero-ruimte-16) + var(--hero-ruimte-8)); max-width: calc(100% - 2 * (var(--hero-ruimte-16) + var(--hero-ruimte-8))); }
}

/* The status line with Fout and Onzeker (since 1.0.52, ticket 41809, choice b): their sentence does not fit one line on
 * a phone, so between 360 and 600 px (window, or the strip as container) it may break over two lines instead of ending
 * in an ellipsis. Below 360 px (zoom 200 percent) it keeps one line with an ellipsis, as Dank in one line (spec 15):
 * the sentence of Onzeker would take four lines there. Dank in Dutch and English fits one line from 360 px; in German
 * and French it may take two lines up to about 390 px, which spec 15 allows (row Statusregel). */
@media (width >= 360px) and (width < 600px) {
  :where(.app-kto) .p-versie-status { white-space: normal; }
}
@container hero-versie (width >= 360px) and (width < 600px) {
  :where(.app-kto) .p-versie-strook > .p-versie-status { white-space: normal; }
}
/* The state of the status line (since 1.0.53, K5 of the reading of 1.0.52; spec 15, row Statusregel): an app may put
 * data-staat with dank, fout or onzeker on p.p-versie-status. With fout or onzeker the line may break below 360 px as
 * well, so that the message is not cut off at zoom 200 percent. Since 1.0.54 ((ed), K6 of the reading of 1.0.53) dank
 * may break below 360 px too: the number of the report must stay in view, because a person names it when calling or
 * mailing later, and in German and French one line with an ellipsis cut it off below 360 px. Dank then takes at most
 * two lines (measured on 320 and 359 px in four languages); the number has no break opportunity of its own, so it
 * stays whole on one line. Without the attribute nothing changes against 1.0.52, so an app that sets nothing keeps
 * its line. */
@media (width < 360px) {
  :where(.app-kto) .p-versie-status:is([data-staat="dank"], [data-staat="fout"], [data-staat="onzeker"]) { white-space: normal; }
}
@container hero-versie (width < 360px) {
  :where(.app-kto) .p-versie-strook > .p-versie-status:is([data-staat="dank"], [data-staat="fout"], [data-staat="onzeker"]) { white-space: normal; }
}

/* ---- 16-uitlegvak.css ---- */
/* Component 16, uitlegvak (the beginners mode, platformbrede eisen 4). New compared with the house style, where p-uitleg
 * is only a text style (14 px, gedempt) and p-stipje only the dot in the bottom bar (huisstijl/platform.css sections 9
 * and 10); from rapport 03 of Interface (ontwerpsysteem 0.2), 1.3 row 16:
 * - the box: a hero-melding in a quiet tone (the light surface, the normal rand, the icon gedempt) with p-uitleg as its
 *   one paragraph and a close button on the right;
 * - the next step: the label "Jouw volgende stap" with an orange dot of 8 px (p-stipje) and an orange ring of 2 px with
 *   3 px space around the button (is-volgende-stap), as in mockup plt-02 of the regie and the mailbox sketch of
 *   Interface (kader 0.1, ticket 4617). Orange, not ink: ink is no line colour (ticket 5036); not blue: blue is the focus
 *   ring, which comes outside the orange ring with 1 px space. Dot 6 to 8 px and stripe 2 to 3 px: rapport 03, "Oranje
 *   alleen stip of streep". */
:where(.app-kto) .p-uitlegvak { --t-rand: var(--h-rand); --t-licht: var(--h-vlak-2); --t-tekst: var(--h-tekst); --t-stip: var(--h-tekst-3); }
:where(.app-kto) .p-uitlegvak > .p-uitleg { flex: 1 1 auto; min-width: 0; }
/* The close button keeps its square target and is centred on the first line of text (20 px): out by half the
 * difference (32 px laptop, 44 px phone) */
:where(.app-kto) .p-uitlegvak > .hero-melding-sluit { flex: none; margin: -6px -6px -6px auto; }
:where(.app-kto) .p-volgende-stap {
  display: inline-flex;
  align-items: center;
  gap: var(--hero-ruimte-8);
  font-size: var(--h-tekst-meta);
  line-height: var(--h-regel-meta);
  font-weight: var(--hero-gewicht-label);
  color: var(--h-tekst);
}
:where(.app-kto) .p-volgende-stap > .p-stipje { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--hero-orange); }
/* The ring takes 5 px beside the button; the same margin keeps the gap of 8 px to the label visible */
:where(.app-kto) .is-volgende-stap { margin-inline: 5px; box-shadow: 0 0 0 3px var(--h-vlak), 0 0 0 5px var(--hero-orange); }
:where(.app-kto) .is-volgende-stap:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--h-vlak), 0 0 0 5px var(--hero-orange), 0 0 0 6px var(--h-vlak), 0 0 0 8px var(--h-focus);
}

@media (width < 600px) {
  /* The target of 44 px: 2 px from the top edge and 6 px from the right edge, so that its focus ring stays inside */
  :where(.app-kto) .p-uitlegvak > .hero-melding-sluit { margin: -10px -8px -14px auto; }
}

/* ---- 17-zoekveld.css ---- */
/* Component 17, search and question field (rapport 03 of Interface, 1.3 row 17; ticket 4617). New in 1.0, a proposal
 * to the regie. The house style has hero-zoek (a button in the top bar that opens a search elsewhere) and
 * hero-zoekveld (an input with a magnifier for a filter bar), but no field with the shortcut hint inside, no panel
 * with grouped results and no place for the answer to a question. The panel follows the combobox pattern of row 6:
 * input role="combobox", panel role="listbox", groups role="group" named by aria-labelledby. Only tokens. Every size is
 * a token: a spacing on the grid is --hero-ruimte-*, a result and a group take the component tokens of a choice of
 * component 6 (--hero-optie-*, 06-keuzelijst.css), and the four sizes below are component tokens of their own. A line
 * is 1 px, the line of every border in the house style; there is no token for the width of a line. */

/* Component tokens:
 * - the field is 320 px wide in the top bar (rapport 03, 1.3 row 17): a width, not a spacing of the grid;
 * - the hint "/" stands 10 px inside the right edge of the field, as the magnifier of the house style stands 10 px
 *   inside its left edge (componenten.css, hero-zoekveld); off the grid of 4 px;
 * - the icon of a result is the hero-icoon of 16 px (componenten.css): its column and its place on the first line of
 *   20 px follow from it;
 * - the source stands 6 px under the answer, as the reason under a proposal of the platform layer
 *   (componenten.css, p-voorstel-reden); off the grid of 4 px. */
:where(.app-kto) {
  --hero-zoekvak-breedte: 320px;
  --hero-zoek-inzet: 10px;
  --hero-zoek-icoon: 16px;
  --hero-zoek-bron-ruimte: 6px;
}

/* The field and its panel: 320 px in the top bar (row 17), never wider than its container */
:where(.app-kto) .hero-zoekvak { position: relative; width: var(--hero-zoekvak-breedte); max-width: 100%; }
:where(.app-kto) .hero-kopbalk .hero-zoekvak { flex: 0 1 var(--hero-zoekvak-breedte); min-width: 0; }
:where(.app-kto) .hero-zoekvak .hero-zoekveld { min-width: 0; }

/* The shortcut hint "/" inside the field on the right; hero-kbd is 12 px everywhere (aanvulling/00-basis.css). */
:where(.app-kto) .hero-zoekveld > .hero-kbd {
  position: absolute; right: var(--hero-zoek-inzet); top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
:where(.app-kto) .hero-zoekveld > .hero-kbd + .hero-invoer { padding-right: var(--hero-ruimte-40); }

/* The panel under the field: grouped results, the answer of an AI colleague, or "Niets gevonden". Panel, groups and
 * the active result follow the choice list of component 6 (06-keuzelijst.css; decision of Interface at the merge of
 * 0.4.0): border, corner 8, shadow l (menu, choice list) and 4 px padding. In a screen it floats 4 px under the field
 * over the content; the reference page reserves its height. */
:where(.app-kto) .hero-zoek-paneel {
  position: absolute; top: calc(100% + var(--hero-ruimte-4)); left: 0; right: 0; z-index: var(--hero-z-menu);
  padding: var(--hero-ruimte-4);
  background: var(--h-vlak); border: 1px solid var(--h-rand); border-radius: var(--hero-radius);
  box-shadow: var(--hero-schaduw-l);
}

/* Results: a listbox with groups like .hero-optiegroep of component 6 (a soft line between two groups, the heading
 * 12 px 500 muted); a group heading is role="presentation" and names its group */
:where(.app-kto) .hero-zoek-lijst { margin: 0; padding: 0; }
:where(.app-kto) .hero-zoek-groep { list-style: none; margin: 0; padding: 0; }
:where(.app-kto) .hero-zoek-groep + .hero-zoek-groep { margin-top: var(--hero-ruimte-4); padding-top: var(--hero-ruimte-4); border-top: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .hero-zoek-groepkop {
  padding: var(--hero-ruimte-8) var(--hero-optie-ruimte-h) var(--hero-ruimte-4);
  font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); font-weight: var(--hero-gewicht-medium); color: var(--h-tekst-3);
}
/* A result has the measures of a choice of component 6 (at least 36 px, 6 and 10 px padding, 10 px gap, corner 8;
 * 44 px on the phone), with an icon and two lines */
:where(.app-kto) .hero-zoek-optie {
  display: grid; grid-template-columns: var(--hero-zoek-icoon) minmax(0, 1fr); -moz-column-gap: var(--hero-optie-ruimte-h); column-gap: var(--hero-optie-ruimte-h); align-items: start;
  min-height: var(--hero-optie-hoogte); padding: var(--hero-optie-ruimte-v) var(--hero-optie-ruimte-h); border-radius: var(--hero-radius); cursor: pointer;
}
/* The icon in the middle of the first line: (20 - 16) / 2 = 2 px under its top */
:where(.app-kto) .hero-zoek-optie > .hero-icoon { grid-row: 1 / span 2; margin-top: calc((var(--h-regel-basis) - var(--hero-zoek-icoon)) / 2); color: var(--h-tekst-3); }
:where(.app-kto) .hero-zoek-titel { font-size: var(--h-tekst-basis); line-height: var(--h-regel-basis); color: var(--h-tekst); }
:where(.app-kto) .hero-zoek-meta { font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); color: var(--h-tekst-3); }
/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) .hero-zoek-optie:hover { background: var(--h-menu-hover); }
}
/* The active result (aria-activedescendant on the input, aria-selected here) looks like the pointed choice of
 * component 6 (.hero-optie.is-focus): the hover grey with a ring of 2 px in Hero Blauw inside the result */
:where(.app-kto) .hero-zoek-optie[aria-selected="true"] { background: var(--h-menu-hover); box-shadow: inset 0 0 0 var(--h-focus-breedte) var(--h-focus); }

/* The answer: p-voorstel of the platform layer (purple, AI colleague in the heading), with the source under it */
:where(.app-kto) .hero-zoek-bron { margin-top: var(--hero-zoek-bron-ruimte); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); color: var(--h-tekst-2); }

/* Nothing found: the sentence and one button that asks it as a question; the sentence 10 px in, like a group heading */
:where(.app-kto) .hero-zoek-niets {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hero-ruimte-8);
  padding: var(--hero-ruimte-4) var(--hero-optie-ruimte-h); color: var(--h-tekst-2);
}

@media (width < 600px) {
  :where(.app-kto) .hero-zoek-optie { min-height: var(--h-tikdoel); }
}

/* ---- 18-microfoon.css ---- */
/* Component 18, microphone in a text field (rapport 03 of Interface, 1.3 row 18; ticket 4617). New in 1.0, a proposal
 * to the regie. tokens/hero-iconen-aanvulling.css has the field, the button and the listening state; this file adds
 * the two states it does not have (verwerkt, geen toestemming) and the 44px touch area on the phone. Only tokens. */

/* Verwerkt (processing): aria-busy="true", a turning loader instead of the microphone, no second click, as the busy
 * button of component 1 (the keyframes hero-draai live in 00-basis.css) */
:where(.app-kto) .hero-knop-spraak[aria-busy="true"] { cursor: progress; }
:where(.app-kto) .hero-knop-spraak[aria-busy="true"] .hero-icoon-loader-circle { animation: hero-draai 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { :where(.app-kto) .hero-knop-spraak[aria-busy="true"] .hero-icoon-loader-circle { animation: none; } }

/* Geen toestemming (no permission): aria-disabled="true" keeps the button reachable, so its description (the
 * explanation under the field) is read; dimmed like a disabled field, no hover surface */
:where(.app-kto) .hero-knop-spraak[aria-disabled="true"] { background: transparent; color: var(--hero-grijs-regular); cursor: not-allowed; }
/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) .hero-knop-spraak[aria-disabled="true"]:hover { background: transparent; color: var(--hero-grijs-regular); cursor: not-allowed; }
}

/* Touch area of 44px on the phone around the button of 36px (row 18: "raakvlak 44") */
@media (width < 600px) {
  :where(.app-kto) .hero-knop-spraak::before { content: ""; position: absolute; inset: calc((var(--h-tikdoel) - 36px) / -2); }
}

/* ---- 19-tegel.css ---- */
/* Component 19, the tile (KpiTegel), new in 1.0, a proposal to the regie. The house style has hero-kpi (icon, value
 * and label: a small counter on a list page), not the tile of the dashboard standard: the label top left, the status
 * with dot and word top right, the big number with the visual of that figure to its right (meter, donut, columns or
 * time bar), the sub line and the comparison line; on the phone a flat band under the number. Taken over from db-tegel
 * in the dashboard sketch of Interface (schetsen/dashboard in hero-interface) as hero-tegel-*.
 * Sources: rapport 03 of Interface, 1.3 row 19; dashboardstandaard/4-componenten.md (Teller, Meter, Donut, Kolommen,
 * Tijdbalk, Platte band, Staat per blok, Cijfers in Exo) and 3-indeling-en-maten.md; ticket 4617.
 * Sizes and colours come from tokens/hero-dashboard-tokens.css (--d-*). Its roles switch with the screen width, so the
 * tile follows: wall from 1600px, laptop 900 to 1599px, phone below 900px. Only tokens. A work screen (data-muur="nee"
 * on html, a board registered with muur: false) keeps the laptop from 1600px too, also in the wall rules below.
 *
 * Distances inside the tile: on the grid of 4 px through --hero-ruimte-*, and the three that are off the grid as
 * component tokens with their reason (below). Sizes that are no distance stay as they are: the lines and strokes of 1,
 * 2 and 4 px, the dashes of the norm line, the line heights of the unit under the number (16 px) and of the figure on
 * the wall (84 px), and the visually hidden text of 1 px. */

/* Component tokens (ontwerpsysteem 1.0.0; the values of the dashboard sketch 0.2 of Interface, unchanged):
 * - --hero-tegel-kier: the half step between the parts of a tile (label, row, band, sub line); with it the row stands
 *   4 px under the label and a skeleton 8 px under the row. 0 or 4 px would move the parts of every tile, and 4 px
 *   would make the tiles taller (measured: 190 to 198 px on the laptop, 104 to 106 px on the phone);
 * - --hero-tegel-stip-ruimte: between the dot and the word of the status, as in the status pill of the house style
 *   (componenten.css, hero-status: 6 px) and the status of the dashboard pattern;
 * - --hero-tegel-getal-boven: on the laptop the number (48/56) stands 6 px under the top of its row, so that its
 *   baseline falls on the foot of the visual (50 of 64 px: the base of the meter, the feet of the columns); the wall
 *   needs 0 for the same (80 of 96 px). */
:where(.app-kto) {
  --hero-tegel-kier: 2px;
  --hero-tegel-stip-ruimte: 6px;
  --hero-tegel-getal-boven: 6px;
}

/* The tile: white, border 1px, radius 12, shadow s; never a coloured surface */
:where(.app-kto) .hero-tegel {
  position: relative; display: flex; flex-direction: column; gap: var(--hero-tegel-kier); min-width: 0; min-height: var(--d-tegel-hoogte);
  padding: var(--d-tegel-padding);
  background: var(--d-tegel-vlak); border: 1px solid var(--d-tegel-rand); border-radius: var(--d-tegel-radius); box-shadow: var(--d-tegel-schaduw);
  color: var(--d-tekst-kleur); font-size: var(--d-tekst); line-height: var(--d-tekst-regel);
}

/* Label top left, status top right. The label is never clipped: when both do not fit, the status moves below it, and a
 * long status word wraps on its own line instead of running out of the tile */
:where(.app-kto) .hero-tegel-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--hero-tegel-kier) var(--hero-ruimte-8); }
:where(.app-kto) .hero-tegel-label {
  flex: 1 0 auto; max-width: 100%; margin: 0;
  font-size: var(--d-label); line-height: var(--d-label-regel); font-weight: var(--hero-gewicht-label); color: var(--d-label-kleur);
}
:where(.app-kto) .hero-tegel-status {
  display: inline-flex; align-items: flex-start; gap: var(--hero-tegel-stip-ruimte); max-width: 100%;
  font-size: var(--d-tekst); line-height: var(--d-tekst-regel); font-weight: var(--hero-gewicht-label); color: var(--h-tekst-2);
}
:where(.app-kto) .hero-tegel-stip {
  flex: none; width: var(--d-stip); height: var(--d-stip); margin-top: calc((var(--d-tekst-regel) - var(--d-stip)) / 2);
  border-radius: 50%; background: var(--h-neutraal-stip);
}
:where(.app-kto) .hero-tegel-status.is-goed .hero-tegel-stip { background: var(--h-goed-stip); }
:where(.app-kto) .hero-tegel-status.is-let-op { color: var(--h-waarschuwing-tekst); }
:where(.app-kto) .hero-tegel-status.is-let-op .hero-tegel-stip { background: var(--h-waarschuwing-stip); }
:where(.app-kto) .hero-tegel-status.is-actie { color: var(--h-fout-tekst); }
:where(.app-kto) .hero-tegel-status.is-actie .hero-tegel-stip { background: var(--h-fout-stip); }
/* Stil, volgt and te weinig: an open dot; the word says which */
:where(.app-kto) .hero-tegel-status.is-stil .hero-tegel-stip, :where(.app-kto) .hero-tegel-status.is-volgt .hero-tegel-stip, :where(.app-kto) .hero-tegel-status.is-te-weinig .hero-tegel-stip { background: transparent; box-shadow: inset 0 0 0 2px var(--h-neutraal-stip); }

/* The number left and its visual right, in a row as high as the visual, so the visual never makes the tile taller */
:where(.app-kto) .hero-tegel-rij { display: flex; align-items: flex-start; gap: var(--hero-ruimte-4); margin-top: var(--hero-tegel-kier); min-height: var(--d-visual-hoogte); }
/* The number with its unit does not fit beside the visual, even with the unit under it: the visual makes way, the number
 * always wins (the dashboard measures it after the fonts are in) */
:where(.app-kto) .hero-tegel-rij.is-zonder-visual > .hero-tegel-visual { display: none; }
:where(.app-kto) .hero-tegel-getal {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--hero-ruimte-8); min-width: 0; margin: var(--hero-tegel-getal-boven) 0 0;
  font-size: var(--d-cijfer); line-height: var(--d-cijfer-regel); font-weight: var(--hero-gewicht-kop); letter-spacing: -0.02em; color: var(--d-cijfer-kleur);
}
/* Fixed box (standard 0.2, decision 04-4): Exo has no figures of equal width, so a figure with a unit stands in a box as
 * wide as its usual value (--vak, in ch: 2.4 for "9,0" and "1,6"); the unit behind it stands still */
:where(.app-kto) .hero-tegel-vak { display: inline-block; min-width: calc(var(--vak, 0) * 1ch); }
:where(.app-kto) .hero-tegel-eenheid { font-size: var(--d-label); line-height: var(--d-label-regel); font-weight: var(--hero-gewicht-label); letter-spacing: 0; color: var(--h-tekst-2); }
/* The unit small under the number: on wall and laptop when it does not fit beside the number in its box (Responstijd on
 * the wall), on the phone for every unit longer than two characters ("werkuren", "werkdagen"); the row grows with it */
:where(.app-kto) .hero-tegel-getal.is-eenheid-onder { flex-direction: column; align-items: flex-start; gap: 0; }
:where(.app-kto) .hero-tegel-getal.is-eenheid-onder .hero-tegel-vak { line-height: var(--d-cijfer); } /* as high as the figure itself: 48 on the laptop, 40 on the phone */
:where(.app-kto) .hero-tegel-getal.is-eenheid-onder .hero-tegel-eenheid { font-size: var(--d-klein); line-height: 16px; }
/* A word in the place of the number (Volgt) */
:where(.app-kto) .hero-tegel-getal.is-woord {
  align-items: center; min-height: var(--d-cijfer-regel);
  font-size: var(--d-label); line-height: var(--d-label-regel); font-weight: var(--hero-gewicht-label); letter-spacing: 0;
}

/* The visual: meter, donut, columns or time bar, drawn as an inline svg in the box of the size (laptop 120 x 64,
 * wall 170 x 96); colour only through the classes below, labels small and grey */
:where(.app-kto) .hero-tegel-visual { position: relative; flex: none; width: var(--d-visual-breedte); height: var(--d-visual-hoogte); margin-left: auto; }
:where(.app-kto) .hero-tegel-visual > svg { display: block; width: 100%; height: 100%; overflow: visible; }
:where(.app-kto) .hero-tegel-visual text { font-family: var(--hero-font); font-size: var(--d-klein); fill: var(--h-tekst-3); }
:where(.app-kto) .hero-tegel-noot { position: absolute; right: 0; bottom: 0; margin: 0; white-space: nowrap; font-size: var(--d-klein); line-height: 1; color: var(--h-tekst-2); }
/* A note that needs two lines ("Nog geen 5 werkdagen gemeten" under columns): the width of the visual, right aligned */
:where(.app-kto) .hero-tegel-noot.is-smal { left: 0; white-space: normal; text-align: right; line-height: var(--d-klein-regel); }
/* The flat band of the phone: the same bands lying down, 120 x 6, the marker in ink; hidden from screen readers */
:where(.app-kto) .hero-tegel-band { display: none; width: var(--d-visual-breedte); height: var(--d-visual-hoogte); margin-top: var(--hero-ruimte-4); overflow: visible; }

:where(.app-kto) .hero-tegel-sub { margin: auto 0 0; color: var(--d-subregel-kleur); }
:where(.app-kto) .hero-tegel-vergelijk { margin: 0; color: var(--d-vergelijk-kleur); }

/* Parts of a visual: bands in full status colour with 2px white between, the marker in ink with white beside it */
:where(.app-kto) .hero-tegel-goed { fill: var(--d-band-goed); }
:where(.app-kto) .hero-tegel-let-op { fill: var(--d-band-let-op); }
:where(.app-kto) .hero-tegel-actie { fill: var(--d-band-actie); }
:where(.app-kto) .hero-tegel-leeg { fill: var(--d-band-leeg); }
:where(.app-kto) .hero-tegel-wit { fill: var(--h-vlak); }
:where(.app-kto) .hero-tegel-wit-lijn { stroke: var(--h-vlak); }
:where(.app-kto) .hero-tegel-mark { stroke: var(--d-markering); }
:where(.app-kto) .hero-tegel-mark-vlak, :where(.app-kto) .hero-tegel-vlag { fill: var(--d-markering); }
:where(.app-kto) .hero-tegel-p90 { stroke: var(--h-tekst-2); }
:where(.app-kto) .hero-tegel-p90-vlak { fill: var(--h-tekst-2); }
:where(.app-kto) .hero-tegel-eerder { fill: var(--d-staaf); }
:where(.app-kto) .hero-tegel-nu { fill: var(--d-staaf-nu); }
:where(.app-kto) .hero-tegel-gewoonlijk { stroke: var(--d-lijn-norm); stroke-width: 2px; stroke-dasharray: 4 3; }
:where(.app-kto) .hero-tegel-ring { fill: none; }
:where(.app-kto) .hero-tegel-mens { stroke: var(--d-donut-mens); }
:where(.app-kto) .hero-tegel-app { stroke: var(--d-donut-app); }
/* A donut with nothing processed yet: one grey ring (the ring is a stroke, so leeg colours the stroke here) */
:where(.app-kto) .hero-tegel-ring.hero-tegel-leeg { fill: none; stroke: var(--d-band-leeg); }
/* A column grows from its own foot: the transform-origin (50% 100%) is taken from the box of the column itself */
:where(.app-kto) .hero-tegel-kolom { transform-box: fill-box; }
/* On the wall today's value stands small above its column, with a white edge where it crosses a column or the line */
:where(.app-kto) .hero-tegel-visual .hero-tegel-waarde { font-weight: var(--hero-gewicht-label); fill: var(--d-cijfer-kleur); paint-order: stroke; stroke: var(--h-vlak); stroke-width: 4px; stroke-linejoin: round; }
/* Movement only for a new value (standard 4, at most 300 ms): a marker turns, a column grows; none with reduced motion,
 * where --h-overgang is 0s */
:where(.app-kto) .hero-tegel-beweeg { transition: transform var(--h-overgang) ease-out; }

/* Stil: dashed border, the last value grey, never a zero; the bands keep their colour, the value (marker, today's
 * column, flags, the parts of the donut) turns grey */
:where(.app-kto) .hero-tegel.is-stil { border-style: dashed; border-color: var(--d-stil-rand); }
:where(.app-kto) .hero-tegel.is-stil .hero-tegel-getal, :where(.app-kto) .hero-tegel.is-volgt .hero-tegel-getal, :where(.app-kto) .hero-tegel.is-te-weinig .hero-tegel-getal { color: var(--d-stil-kleur); }
:where(.app-kto) .hero-tegel.is-stil .hero-tegel-mark { stroke: var(--d-stil-kleur); }
:where(.app-kto) .hero-tegel.is-stil .hero-tegel-mark-vlak, :where(.app-kto) .hero-tegel.is-stil .hero-tegel-vlag, :where(.app-kto) .hero-tegel.is-stil .hero-tegel-nu, :where(.app-kto) .hero-tegel.is-stil .hero-tegel-waarde { fill: var(--d-stil-kleur); }
:where(.app-kto) .hero-tegel.is-stil .hero-tegel-p90 { stroke: var(--d-staaf); }
:where(.app-kto) .hero-tegel.is-stil .hero-tegel-p90-vlak { fill: var(--d-staaf); }
:where(.app-kto) .hero-tegel.is-stil .hero-tegel-mens { stroke: var(--d-stil-kleur); }
:where(.app-kto) .hero-tegel.is-stil .hero-tegel-app { stroke: var(--d-staaf); }

/* Laden: a skeleton where the number and the visual will be, without motion (standard, Staat per blok) */
:where(.app-kto) .hero-tegel .hero-skelet { background: var(--d-skelet); animation: none; }
:where(.app-kto) .hero-tegel-skelet-getal { width: 45%; height: var(--d-cijfer-regel); margin-top: var(--hero-tegel-kier); }
:where(.app-kto) .hero-tegel-rij > .hero-tegel-skelet-getal { width: 40%; margin-top: var(--hero-tegel-getal-boven); }
:where(.app-kto) .hero-tegel-skelet-visual { flex: none; width: var(--d-visual-breedte); height: var(--d-visual-hoogte); margin-left: auto; border-radius: var(--hero-radius); }
/* 8 px under the row, with the half step of the tile: 2 + 6 */
:where(.app-kto) .hero-tegel-skelet-regel { width: 70%; height: var(--d-tekst-regel); margin-top: calc(var(--hero-ruimte-8) - var(--hero-tegel-kier)); }
:where(.app-kto) .hero-tegel-skelet-band { display: none; width: var(--d-visual-breedte); height: var(--d-visual-hoogte); margin-top: var(--hero-ruimte-4); border-radius: var(--hero-radius-pil); }

/* A tile that leads somewhere is one link with one name: the border darkens on hover, the ring goes round the tile */
:where(.app-kto) a.hero-tegel { text-decoration: none; transition: border-color var(--h-overgang); }
/* Only with a mouse: a touch screen would keep the hover after a tap (1.0.6, ticket 10461) */
@media (hover: hover) {
  :where(.app-kto) a.hero-tegel:hover { border-color: var(--h-rand-sterk); }
}
:where(.app-kto) a.hero-tegel:focus-visible { outline: 0; box-shadow: var(--d-tegel-schaduw), var(--h-focus-ring); }

/* The tile of a governance board (is-bestuurlijk, 1.0.25; dashboardstandaard §3, Maten voor een bestuurlijk bord): six
 * in a row on a board of a working group or the management, without the eight key figures of §1 and without a visual.
 * Label, status (dot and word, only when the figure has a threshold), the number, the comparison line and the passport
 * line (hero-tegel-paspoort: a short definition and the owner on one line); the sizes are the roles --d-bestuur-* and
 * --d-klein. The height follows the content; the comparison line and the passport stand at the foot of the tile, so
 * that they line up in a row of six. On the phone the tile of §3, with the comparison line and the passport line for
 * the screen reader only (below). */
:where(.app-kto) .hero-tegel.is-bestuurlijk { min-height: 0; }
:where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-label { font-size: var(--d-bestuur-label); line-height: var(--d-bestuur-label-regel); }
:where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-status { font-size: var(--d-bestuur-tekst); line-height: var(--d-bestuur-tekst-regel); }
:where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-stip { margin-top: calc((var(--d-bestuur-tekst-regel) - var(--d-stip)) / 2); }
:where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-rij { min-height: 0; }
:where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-getal { margin-top: 0; font-size: var(--d-bestuur-cijfer); line-height: var(--d-bestuur-cijfer-regel); }
:where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-eenheid { font-size: var(--d-bestuur-label); line-height: var(--d-bestuur-label-regel); }
:where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-vergelijk { margin-top: auto; font-size: var(--d-bestuur-tekst); line-height: var(--d-bestuur-tekst-regel); }
:where(.app-kto) .hero-tegel-paspoort { margin: 0; font-size: var(--d-klein); line-height: var(--d-klein-regel); color: var(--d-klein-kleur); }

/* The goal line of a governance board (hero-doelregel; 1.0.37, dashboardstandaard 0.6, ticket 31126): one line of text
 * in the head of the board, on the right above "Stand van hh:mm", in the roles --d-tekst and --d-tekst-regel (14/20 on
 * the laptop, 20/28 on the wall) and the colour --h-tekst-2; on the phone 14/20, under the name of the board (K3 of the
 * pre-review of 1.0.37): "7 van 9 cijfers op doel", without a surface and without a button. Before it a dot of 8 px:
 * the dot of the status good (is-goed) when every figure with a goal is on it, of the status let op (is-let-op) when
 * one is not; always with the words, never red and never a percentage. The board places the line (dashboardstandaard
 * §3 and §4); this rule draws it, and the state Bestuurlijk, met een doel shows it above its tile. */
:where(.app-kto) .hero-doelregel {
  display: flex; align-items: flex-start; gap: var(--hero-tegel-stip-ruimte); margin: 0;
  font-size: var(--d-tekst); line-height: var(--d-tekst-regel); color: var(--h-tekst-2);
}
:where(.app-kto) .hero-doelregel .hero-tegel-stip { width: 8px; height: 8px; margin-top: calc((var(--d-tekst-regel) - 8px) / 2); }
:where(.app-kto) .hero-doelregel.is-goed .hero-tegel-stip { background: var(--h-goed-stip); }
:where(.app-kto) .hero-doelregel.is-let-op .hero-tegel-stip { background: var(--h-waarschuwing-stip); }

/* Wall: no scroll, no hover; more air between number and visual (sketch). Not on a work screen: with data-muur="nee"
 * on html the tile keeps its laptop rules from 1600px, as the roles of hero-dashboard-tokens.css do (ticket 6919);
 * :where() adds nothing to the specificity, so each rule weighs what it weighed before */
@media (width >= 1600px) {
  :where(.app-kto:not([data-muur="nee"])) .hero-tegel-rij { gap: var(--hero-ruimte-16); }
  :where(.app-kto:not([data-muur="nee"])) .hero-tegel-getal { margin-top: 0; }
  :where(.app-kto:not([data-muur="nee"])) .hero-tegel-getal.is-eenheid-onder .hero-tegel-vak { line-height: 84px; }
  :where(.app-kto:not([data-muur="nee"])) .hero-tegel-sub { padding-top: var(--hero-tegel-kier); }
}

/* Phone: label, status and number, the flat band under the number; no visual and no comparison line. The sub line is
 * there for the screen reader, except when the tile is stale or has too little to measure: then it shows why. The
 * phone is below 900 px (--d-breek-telefoon), (width < 900px), as in tokens/hero-dashboard-tokens.css; until 1.0.54
 * (width <= 899px), which on 899.25 to 899.75 px gave the laptop tile beside the phone values of the tokens. */
@media (width < 900px) {
  :where(.app-kto) .hero-tegel { gap: 0; }
  :where(.app-kto) .hero-tegel-kop { -moz-column-gap: var(--hero-ruimte-4); column-gap: var(--hero-ruimte-4); row-gap: 0; }
  :where(.app-kto) .hero-tegel-status.is-neutraal { display: none; }
  :where(.app-kto) .hero-tegel-rij { display: block; min-height: 0; margin-top: 0; }
  :where(.app-kto) .hero-tegel-getal { margin-top: var(--hero-tegel-kier); }
  :where(.app-kto) .hero-tegel-visual, :where(.app-kto) .hero-tegel-vergelijk, :where(.app-kto) .hero-tegel-skelet-visual, :where(.app-kto) .hero-tegel-skelet-regel { display: none; }
  :where(.app-kto) .hero-tegel-band, :where(.app-kto) .hero-tegel-skelet-band { display: block; }
  :where(.app-kto) .hero-tegel-rij > .hero-tegel-skelet-getal { width: 45%; margin-top: var(--hero-tegel-kier); }
  :where(.app-kto) .hero-tegel-sub { padding-top: var(--hero-tegel-kier); }
  :where(.app-kto) .hero-tegel:not(.is-stil, .is-te-weinig) .hero-tegel-sub, :where(.app-kto) .hero-tegel-sub-tekst { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  /* The governance tile: the tile of §3 with its minimum height; comparison and passport for the screen reader */
  :where(.app-kto) .hero-tegel.is-bestuurlijk { min-height: var(--d-tegel-hoogte); }
  :where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-vergelijk, :where(.app-kto) .hero-tegel.is-bestuurlijk .hero-tegel-paspoort { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* A tile on a narrow window (1.0.49, yyn, index 183 and 186 of ticket 34724; spec 19, Smal): the visual,
 * the band and their skeletons have the fixed width --d-visual-breedte (the band of the phone 120 px), and at 195 px the
 * skeleton band stuck out 82.5 px past the tile. They are at most as wide as their box; where they fit, nothing
 * changes. */
:where(.app-kto) .hero-tegel-visual, :where(.app-kto) .hero-tegel-band, :where(.app-kto) .hero-tegel-skelet-visual, :where(.app-kto) .hero-tegel-skelet-band { max-width: 100%; }
/* The row of tiles below 360 px (1.0.50, (cm) of 1.0.49; spec 19, Smal): a row of hero-raster keeps two columns on the
 * phone, and at 195 px (390 at 200 per cent) a tile was 50.5 px wide, so the fixed box of a figure with a unit stuck out
 * 24.3 px and the unit "werkuren" 33.5 px. Below 360 px a row of tiles takes one column, the smallest change that keeps
 * every box and unit inside its tile without breaking a word; from 360 px on nothing changes. */
@media (width < 360px) {
  :where(.app-kto) .hero-raster:has(> .hero-tegel) { --kolommen: 1; }
}

/* ---- 21-stappenlijn.css ---- */
/* Component 21, Stappenlijn: the process of a task, case or file as one line of dots, above the content and under
 * the head of the screen. New in 1.0.10 (ticket 17340; the wish of the owner of 23 October 2026 on the proceskaart
 * of an app, the same line above the process view per ticket in another app, ticket 17017). One glance says where we
 * are, what is done, what comes, and how each step is done: the icon in the dot is the mode (the digital colleague
 * does it, sets it ready for you, does it after your yes; you or the team do it; a third party; another app). It is
 * an addition to the timeline with the details (the block "Zo rond ik dit af", the case page), never a replacement.
 * The five rules: the dot of the current step is a ring in --h-link (Hero Blauw, the place where you are) and never
 * filled, so that the one filled blue button of the screen stays the only one (regel 2, proef-blauw); ink is never a
 * surface or a line (regel 3): a done step is a ring in --h-rand-sterk with its check in ink (an icon is text), and
 * the line is --h-rand-sterk to and after a done step and --h-rand before the steps to come; orange only as the one
 * dot of attention on a step that waits on you or your team (regel 4); the error colour only with its word in the
 * meta line (regel 5). Only tokens. */

/* The frame of the line: as wide as its parent, also as a flex item (a box with container-type: inline-size and no
 * width shrinks to 0 px there; in a flex row the app gives it flex: 1 1 100%). It holds the sizes of the component,
 * among them the fixed width of the sheet with the choices. */
:where(.app-kto) .hero-stappen {
  --hero-stap-bol: 32px;
  --hero-stap-icoon: 16px;
  --hero-stap-lijn: 2px;
  --hero-stap-min: 80px;
  --hero-stap-keuzes-breedte: 280px;
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  container-type: inline-size;
}
/* The line: the steps side by side, each as wide as the other. Up to eight steps the laptop keeps the names and the
 * row never scrolls: eight steps at their minimum fit in a frame of 600 px (8 x 64 px) and of 900 px (8 x 80 px).
 * On the phone and from nine steps the compact form below; when its row does not fit it scrolls sideways inside its
 * frame, and only then the app gives the list tabindex="0", so that the keyboard can scroll it (axe
 * scrollable-region-focusable). The sheet with the choices is not inside the list (a scrolling list would clip it)
 * but after it, in hero-stappen. */
:where(.app-kto) .hero-stappenlijn {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  max-width: 100%;
}
:where(.app-kto) .hero-stappenlijn:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }
:where(.app-kto) .hero-stap {
  position: relative;
  flex: 1 1 0;
  box-sizing: border-box;
  min-width: var(--hero-stap-min);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0 var(--hero-ruimte-4);
  text-align: center;
}
/* The connecting line, drawn on each step from the dot before it to its own dot: one element per segment, so that
 * no seam shows where two steps meet. --h-rand-sterk to and after a done step, and after a skipped or lapsed step
 * (the line runs on); --h-rand before the steps to come. Never ink (regel 3). The line is decoration (1.81:1 and
 * 1.28:1 on --h-vlak, under the 3:1 of a border that carries a state, WCAG 1.4.11): the check in ink, the icon, the
 * name, the meta and the words for the screen reader carry the state (spec 21, Staten). */
:where(.app-kto) .hero-stap::before {
  content: "";
  position: absolute;
  top: calc(var(--hero-stap-bol) / 2 - var(--hero-stap-lijn) / 2);
  right: calc(50% + var(--hero-stap-bol) / 2);
  left: calc(-50% + var(--hero-stap-bol) / 2);
  height: var(--hero-stap-lijn);
  background: var(--h-rand);
}
:where(.app-kto) .hero-stap:first-child::before { display: none; }
:where(.app-kto) .hero-stap[data-stand="gedaan"]::before, :where(.app-kto) .hero-stap[data-stand="gedaan"] + .hero-stap::before, :where(.app-kto) .hero-stap[data-stand="overgeslagen"] + .hero-stap::before, :where(.app-kto) .hero-stap[data-stand="vervallen"] + .hero-stap::before { background: var(--h-rand-sterk); }

/* The dot: a ring of 2 px in --h-rand-sterk on --h-vlak with the icon of the mode inside, in --h-tekst-2; a span when
 * the dot does nothing, a button or a link when it does (see below). The grey ring is decoration, like the line; only
 * the ring of the current step carries a state, in --h-link (10.85:1 on --h-vlak in the light theme, 6.83:1 in the
 * dark one). */
:where(.app-kto) .hero-stap-bol {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--hero-stap-bol);
  height: var(--hero-stap-bol);
  margin: 0;
  padding: 0;
  border: 2px solid var(--h-rand-sterk);
  border-radius: 50%;
  background: var(--h-vlak);
  color: var(--h-tekst-2);
  font: inherit;
  text-decoration: none;
  transition: border-color var(--h-overgang), color var(--h-overgang);
}
:where(.app-kto) .hero-stap-bol .hero-icoon { width: var(--hero-stap-icoon); height: var(--hero-stap-icoon); }
/* In a React app with lucide-react the icon is an svg without a class, 24 px by default: it takes the size of the
 * icon of the dot (16 px, 14 px in the smaller sizes), and its stroke follows the colour of the dot (currentColor) */
:where(.app-kto) .hero-stap-bol > svg { width: var(--hero-stap-icoon); height: var(--hero-stap-icoon); }
/* done: the ring stays --h-rand-sterk on --h-vlak; the check in ink, as text (ink is never a surface, regel 3) */
:where(.app-kto) .hero-stap[data-stand="gedaan"] .hero-stap-bol { color: var(--h-tekst); }
/* the current step, the place where you are: the ring, the icon and the name in --h-link; never filled. --h-link and
 * not --h-actie: in the dark theme --h-actie is a fill only (2.3:1 on --h-vlak, under the 3:1 of a ring) and --h-link
 * is the light blue that reads there (6.8:1); in the light theme both are Hero Blauw */
:where(.app-kto) .hero-stap[aria-current="step"] .hero-stap-bol { border-color: var(--h-link); color: var(--h-link); }
:where(.app-kto) .hero-stap[aria-current="step"] .hero-stap-naam { color: var(--h-link); }
/* waits on you or your team: the one orange dot of attention, top right on the ring, with the word in the meta line */
:where(.app-kto) .hero-stap[data-stand="wacht"][data-bij="jou"] .hero-stap-bol::after, :where(.app-kto) .hero-stap[data-stand="wacht"][data-bij="team"] .hero-stap-bol::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hero-orange);
  box-shadow: 0 0 0 2px var(--h-vlak);
}
/* failed: the error colour on the ring and the icon, and the word in the meta line */
:where(.app-kto) .hero-stap[data-stand="mislukt"] .hero-stap-bol { border-color: var(--h-fout-stip); color: var(--h-fout-tekst); }
:where(.app-kto) .hero-stap[data-stand="mislukt"] .hero-stap-meta { color: var(--h-fout-tekst); }
/* skipped or lapsed: a dashed ring, muted, the name struck through */
:where(.app-kto) .hero-stap[data-stand="overgeslagen"] .hero-stap-bol, :where(.app-kto) .hero-stap[data-stand="vervallen"] .hero-stap-bol { border-style: dashed; color: var(--h-tekst-3); }
:where(.app-kto) .hero-stap[data-stand="overgeslagen"] .hero-stap-naam, :where(.app-kto) .hero-stap[data-stand="vervallen"] .hero-stap-naam { color: var(--h-tekst-3); text-decoration: line-through; }
/* fixed (data-vast="true"): the lock (hero-icoon-lock of the house style) takes the place of the icon of the mode, and
 * the dot opens no sheet; it needs no rule of its own */

/* A dot that does something: a button (it opens the sheet with the choices for a step to come, jumps to the choices
 * of the current step, or shows the explanation of a step under the line) or a link (to the task of a colleague).
 * A square tap target of 44 by 44 px around the ring (--h-tikdoel), the focus ring of 1.0 around the ring, and no
 * grey flash of a phone browser on a tap (1.0.12, K4 of ticket 17726 and K3 of ticket 19392): the dot shows its own
 * hover, focus and open. */
:where(.app-kto) :is(a, button).hero-stap-bol { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:where(.app-kto) :is(a, button).hero-stap-bol::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--h-tikdoel);
  height: var(--h-tikdoel);
  transform: translate(-50%, -50%);
  border-radius: 0;
}
:where(.app-kto) :is(a, button).hero-stap-bol:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }
/* hover only with a mouse (point 8 of adoptie/toets.md): the ring and the icon in --h-link, as a chip or a secondary
 * button of the house style; the current step, already in --h-link, takes the darker --h-link-hover; a failed step
 * keeps its error colour, so that red keeps its word. Each rule outweighs the rules of the states above. */
@media (hover: hover) {
  :where(.app-kto) .hero-stap :is(a, button).hero-stap-bol:hover { border-color: var(--h-link); color: var(--h-link); }
  :where(.app-kto) .hero-stap[aria-current="step"] :is(a, button).hero-stap-bol:hover { border-color: var(--h-link-hover); color: var(--h-link-hover); }
  :where(.app-kto) .hero-stap[data-stand="mislukt"] :is(a, button).hero-stap-bol:hover { border-color: var(--h-fout-stip); color: var(--h-fout-tekst); }
}
/* open (the sheet or the explanation of this dot is shown: aria-expanded="true"): the same ring as the focus, after
 * the rules of the states and with more weight than each of them; the ring of the dot keeps its own colour */
:where(.app-kto) .hero-stap :is(a, button).hero-stap-bol[aria-expanded="true"] { box-shadow: var(--h-focus-ring); }
/* open and with the focus at once (an explanation stays open while its dot keeps the focus; on the reference page the
 * open sheet stands still): a second ring outside the ring of open, so that the focus still shows as a change of its
 * own (WCAG 2.4.7; point 8 of the toets counts a ring that is already there at rest as no focus ring) */
:where(.app-kto) .hero-stap :is(a, button).hero-stap-bol[aria-expanded="true"]:focus-visible {
  outline: var(--h-focus-breedte) solid var(--h-focus);
  outline-offset: calc(2 * var(--h-focus-afstand) + var(--h-focus-breedte));
}

/* The text under the dot: the name in two lines at most, the meta line (who, since when) under it. A word breaks only
 * when it does not fit on its own (overflow-wrap), never with a hyphen of the browser (hyphens: manual: only where the
 * text has a soft hyphen). */
:where(.app-kto) .hero-stap-tekst { display: block; margin-top: var(--hero-ruimte-8); min-width: 0; max-width: 100%; }
:where(.app-kto) .hero-stap-naam {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: var(--h-tekst-basis);
  line-height: 18px;
  font-weight: var(--hero-gewicht-label);
  color: var(--h-tekst);
  overflow-wrap: break-word;
  hyphens: manual;
}
:where(.app-kto) .hero-stap-meta { display: block; margin-top: 2px; font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); color: var(--h-tekst-3); overflow-wrap: break-word; hyphens: manual; }
/* The line of the compact form (hidden otherwise): "Stap 4 van 7", the name and the meta of the current step, or
 * "Klaar" with the count when every step is done, under the row; aria-hidden, because the list already says it all. */
:where(.app-kto) .hero-stappen-nu { display: none; margin: var(--hero-ruimte-8) 0 0; font-size: var(--h-tekst-basis); line-height: var(--h-regel-basis); color: var(--h-tekst-3); }
:where(.app-kto) .hero-stappen-nu-naam { font-weight: var(--hero-gewicht-label); color: var(--h-link); }
/* The explanation of a step without choices (done, skipped, lapsed, failed, fixed): one line of text under the list,
 * shown by its dot (a button with aria-expanded and aria-controls); and the status line, always there and empty until
 * the app says in it what a choice in the sheet did (role="status"). */
:where(.app-kto) .hero-stap-uitleg, :where(.app-kto) .hero-stappen-status { margin: var(--hero-ruimte-8) 0 0; font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); color: var(--h-tekst-2); }
:where(.app-kto) .hero-stappen-status:empty { margin: 0; }

/* The sheet with the choices for a step (role="dialog", not modal, named by its heading): after the list in
 * hero-stappen, under the dot on the laptop, a sheet above what is fixed at the bottom on the phone. A fixed width
 * (--hero-stap-keuzes-breedte); the app sets --hero-stap-keuzes-links to the middle of the dot, measured in
 * hero-stappen, and the clamp keeps the sheet inside hero-stappen, also at the first and the last step; the app
 * closes it when the row scrolls. The look is that of the choice list of component 6 (06-keuzelijst.css): the corner
 * of a field, shadow l, a row of --hero-optie-hoogte with --hero-optie-ruimte-*, hover --h-menu-hover. */
:where(.app-kto) .hero-stap-keuzes {
  position: absolute;
  z-index: 3;
  top: calc(var(--hero-stap-bol) + var(--hero-ruimte-8));
  left: clamp(calc(var(--hero-stap-keuzes-breedte) / 2), var(--hero-stap-keuzes-links, 50%), calc(100% - var(--hero-stap-keuzes-breedte) / 2));
  transform: translateX(-50%);
  box-sizing: border-box;
  width: var(--hero-stap-keuzes-breedte);
  padding: var(--hero-ruimte-4);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius);
  background: var(--h-vlak);
  box-shadow: var(--hero-schaduw-l);
  text-align: left;
}
:where(.app-kto) .hero-stap-keuzes[hidden] { display: none; }
:where(.app-kto) .hero-stap-keuzes-kop { margin: 0; padding: var(--hero-ruimte-8) var(--hero-optie-ruimte-h) var(--hero-ruimte-4); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); font-weight: var(--hero-gewicht-label); color: var(--h-tekst-3); }
:where(.app-kto) .hero-stap-keuzes fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
:where(.app-kto) .hero-stap-keuzes legend { padding: var(--hero-ruimte-4) var(--hero-optie-ruimte-h); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); font-weight: var(--hero-gewicht-label); color: var(--h-tekst); }
/* a choice: a row of the choice list with the radio of component 7 (hero-keuze, hero-radio), the icon and the words,
 * or a button (button.hero-stap-keuze) for a choice of one click. The choice has its own reset (1.0.12, B1 of the
 * UI-toets on ticket 19392): no look of the browser, no border, no surface and the type of the sheet, so that a
 * button is a row like a label, also in an app that does not load the base of componenten.css (which gives every
 * button the type of its parent). font: inherit stands before the size and the line of the row, which it would reset. */
:where(.app-kto) .hero-stap-keuze {
  display: flex;
  align-items: center;
  gap: var(--hero-optie-ruimte-h);
  box-sizing: border-box;
  width: 100%;
  min-height: var(--hero-optie-hoogte);
  margin: 0;
  padding: var(--hero-optie-ruimte-v) var(--hero-optie-ruimte-h);
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  border: 0;
  border-radius: var(--hero-radius);
  background: transparent;
  color: var(--h-tekst);
  font: inherit;
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
  text-align: left;
  cursor: pointer;
}
:where(.app-kto) .hero-stap-keuze .hero-icoon { flex: none; color: var(--h-tekst-2); }
@media (hover: hover) { :where(.app-kto) .hero-stap-keuze:hover { background: var(--h-menu-hover); } }
:where(.app-kto) .hero-stap-keuzes-knoppen { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8); padding: var(--hero-ruimte-8) var(--hero-optie-ruimte-h) var(--hero-optie-ruimte-v); }

/* The sizes follow the width of the frame of the line (a container query on hero-stappen), not the window: a line in
 * a narrow column takes the smaller dots and the compact form as well. (A container query reaches the descendants of
 * the container, not the container itself: the sizes are set on the list and the sheet.) Under 900 px, (width < 900px),
 * the dots shrink a little and the names take 12 px; until 1.0.54 (width <= 899px), which on a frame of 899.25 to
 * 899.75 px kept the laptop sizes. */
@container (width < 900px) {
  :where(.app-kto) .hero-stappenlijn, :where(.app-kto) .hero-stap-keuzes { --hero-stap-bol: 28px; --hero-stap-icoon: 14px; --hero-stap-min: 64px; }
  :where(.app-kto) .hero-stap-naam { font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }
}
/* The compact form, on the phone (a frame under 600 px) and from nine steps at any width: the row of dots of 28 px
 * (14 px icon) without the names, each step at least 44 px wide (the tap target), scrolling sideways inside its frame
 * when it does not fit, without a scroll bar. The name and the meta stay in the list for the screen reader, hidden
 * like hero-sr (display: none would leave the list empty), and the current step stands as a line under the row
 * (hero-stappen-nu). A template (data-vorm="sjabloon") never takes it: on the phone it is a column (further below).
 * The list has 8 px of padding on every side (1.0.11, ticket 17552 e): above and below with a margin of -8 px, so that
 * the row keeps its place; on either side without a margin, so that the dots stand 8 px further in and the tap target
 * of 44 px, which reaches 8 px beyond the ring of 28 px, of the first and the last dot lies inside the padding box of
 * the list, also at the two ends of a row that scrolls. The list never reaches beyond its frame: a frame against the
 * edge of the window never makes the page scroll sideways. A row that scrolls goes as far as its steps of 44 px and
 * the two paddings need, and scroll-padding-inline brings a dot that scrolls into view 16 px from the edge of the
 * frame. Each step keeps the rule of the base (flex: 1 1 0 with min-width: var(--hero-stap-min), which is 44 px here):
 * the steps share the width and never go below 44 px, so the row scrolls when they do not fit. A rule of its own on
 * the step (flex: 1 0 var(--hero-stap-min); padding: 0) changed no box in 1872 measured frames of 2 to 14 steps from
 * 180 to 1440 px, only the computed padding of a step whose text is hidden, and is gone since 1.0.13 (K3 of the
 * pre-review of 1.0.12). The two blocks below carry the same declarations, the first for the phone and the second for
 * nine steps or more: change them together. */
@container (width < 600px) {
  :where(.app-kto) .hero-stappen:not([data-vorm="sjabloon"]) > .hero-stappenlijn {
    --hero-stap-bol: 28px;
    --hero-stap-icoon: 14px;
    --hero-stap-min: 44px;
    padding: var(--hero-ruimte-8);
    margin: calc(-1 * var(--hero-ruimte-8)) 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-padding-inline: var(--hero-ruimte-16);
  }
  :where(.app-kto) .hero-stappen:not([data-vorm="sjabloon"]) > .hero-stappenlijn .hero-stap-tekst { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  :where(.app-kto) .hero-stappen:not([data-vorm="sjabloon"]) > .hero-stappenlijn ~ .hero-stappen-nu { display: block; }
  /* the sheet sits under a dot of 28 px, 8 px below it (the block under 900 px above sets this as well; this rule
   * keeps the compact form whole on its own, like the rule of the block for nine steps below) */
  :where(.app-kto) .hero-stappen:not([data-vorm="sjabloon"]) > .hero-stappenlijn ~ .hero-stap-keuzes { --hero-stap-bol: 28px; }
}
:where(.app-kto) .hero-stappen:not([data-vorm="sjabloon"]) > .hero-stappenlijn:has(> .hero-stap:nth-child(9)) {
  --hero-stap-bol: 28px;
  --hero-stap-icoon: 14px;
  --hero-stap-min: 44px;
  padding: var(--hero-ruimte-8);
  margin: calc(-1 * var(--hero-ruimte-8)) 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-padding-inline: var(--hero-ruimte-16);
}
:where(.app-kto) .hero-stappen:not([data-vorm="sjabloon"]) > .hero-stappenlijn:has(> .hero-stap:nth-child(9)) .hero-stap-tekst { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
:where(.app-kto) .hero-stappen:not([data-vorm="sjabloon"]) > .hero-stappenlijn:has(> .hero-stap:nth-child(9)) ~ .hero-stappen-nu { display: block; }
/* the sheet sits under a dot of 28 px in the compact form, 8 px below it (in a frame under 600 px the block of the
 * phone above sets that too) */
:where(.app-kto) .hero-stappen:not([data-vorm="sjabloon"]) > .hero-stappenlijn:has(> .hero-stap:nth-child(9)) ~ .hero-stap-keuzes { --hero-stap-bol: 28px; }
/* A template on the phone: a column with 8 px between the rows, each step a row with the dot on the left and the name
 * and the meta on the right, left aligned and visible, without the connecting line. A template has no current step
 * and no line under the row. */
@container (width < 600px) {
  :where(.app-kto) .hero-stappen[data-vorm="sjabloon"] > .hero-stappenlijn { flex-direction: column; align-items: stretch; gap: var(--hero-ruimte-8); }
  :where(.app-kto) .hero-stappen[data-vorm="sjabloon"] > .hero-stappenlijn > .hero-stap { flex: none; flex-direction: row; align-items: center; gap: var(--hero-ruimte-8); padding: 0; text-align: left; }
  :where(.app-kto) .hero-stappen[data-vorm="sjabloon"] > .hero-stappenlijn > .hero-stap::before { display: none; }
  :where(.app-kto) .hero-stappen[data-vorm="sjabloon"] .hero-stap-tekst { margin-top: 0; }
}
/* On a phone the sheet stands above what is fixed at the bottom (the window, not the frame, decides this) */
@media (width < 600px) {
  :where(.app-kto) .hero-stap-keuzes {
    position: fixed;
    top: auto;
    left: var(--hero-ruimte-16);
    right: var(--hero-ruimte-16);
    bottom: calc(var(--hero-vast-onder, 0px) + var(--hero-ruimte-8));
    transform: none;
    width: auto;
  }
  :where(.app-kto) .hero-stap-keuze { min-height: var(--h-tikdoel); }
}

/* ---- 22-tabbladenbalk.css ---- */
/* Component 22, Tabbladenbalk (new in 1.0.17; rapport 35 of Interface, Werkblad 1.0, 3.2 and the appendix, ticket
 * 23737; the sketch werkblad-1.0 of hero-interface). The tab bar of the Werkblad: under the top bar, over the width of
 * the module left of the Werkers column. The first tab is fixed (the list of the module) and has no cross; behind it at
 * most eight open tabs, each with an icon for its kind, a label of kind and core (at most 22 characters), the dot of a
 * worker when there is one and a cross that closes the tab.
 * - 40 px high on the laptop, 44 px on the phone (--h-tikdoel); 14 px 600, the same weight for every tab, so that a tab
 *   does not change its width when it opens; the label of a tab that is not open in --h-tekst-2 (7.83:1 on --h-vlak);
 * - the open tab: Hero Blue (--h-link) with the orange stripe of 2 px under it, like the active tab of component 8;
 * - the focus ring of 1.0 inside the tab, like a tab of component 8, because the bar scrolls and would clip a ring
 *   outside it;
 * - the dot (8 px) in the role tokens of 1.0.17: --h-stip-bezig (purple and pulsing; it stands still with reduced
 *   motion), --h-stip-wacht (orange) and --h-stip-klaar (green), each with the dot of its tone as the fallback for an
 *   app with an older copy of the tokens. A dot is never alone: the word is in the aria-label of the tab and the title
 *   of its label (spec 22);
 * - the cross: 24 x 24 px, in the tab and hidden for assistive technology; the keyboard closes with Delete. Since
 *   1.0.23 (ticket 13547) on the phone too, with a tap area of 44 x 44 px (--h-tikdoel) from the end of the dot or the
 *   label to the edge of the tab, over its whole height;
 * - a bar that does not fit scrolls sideways without a scroll bar; on the phone, and with data-krap="true" (the app
 *   sets it when the bar does not fit on the laptop), a tab that is not open shows only the core of its label, and the
 *   kind stays in its name (aria-label) and in the title of its label. The app keeps the open tab in view with
 *   scrollLeft (spec 22);
 * - since 1.0.34 the fixed first tab sticks to the left edge while the bar scrolls, and on the phone it shows only its
 *   icon, in 44 x 44 px, while it is not open (K111 and K168 of ticket 13547).
 * Only tokens. */

:where(.app-kto) .hero-tabbladen {
  display: flex;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
  padding: 0 var(--hero-ruimte-8);
  background: var(--h-vlak);
  box-shadow: inset 0 -1px 0 var(--h-rand);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-padding-inline: var(--hero-ruimte-8);
}

:where(.app-kto) .hero-tabblad {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: var(--hero-ruimte-8);
  height: 40px;
  margin: 0;
  padding: 0 var(--hero-ruimte-4) 0 var(--hero-ruimte-12);
  border: 0;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--h-tekst-2);
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
  font-weight: var(--hero-gewicht-label);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--h-overgang), color var(--h-overgang);
}
/* The fixed first tab and a tab without a cross keep the padding of 12 px on the right as well */
:where(.app-kto) .hero-tabblad[data-vast="true"], :where(.app-kto) .hero-tabblad:not(:has(.hero-tabblad-sluit)) { padding-right: var(--hero-ruimte-12); }
:where(.app-kto) .hero-tabblad[data-vast="true"] { margin-right: var(--hero-ruimte-4); }
/* 1.0.34: the fixed first tab sticks to the left edge while the bar scrolls (K168 of ticket 13547): the list of the
 * module is always one tap away. An opaque surface with the line of the bar in it (the bottom line of the bar is an
 * inset shadow that this tab would cover); the open fixed tab covers that line with its orange stripe, as everywhere.
 * The line is placed in the border box (border-box), so that it lies on the line of the bar: in the padding box, the
 * default, it stood 2 px higher, above the bottom border of the tab and its orange stripe */
:where(.app-kto) .hero-tabblad[data-vast="true"] {
  position: sticky;
  left: 0;
  z-index: 1;
  background: linear-gradient(var(--h-rand), var(--h-rand)) left bottom / 100% 1px no-repeat border-box, var(--h-vlak);
}
/* The line after the fixed tab moves with it: on the fixed tab itself instead of on the tab after it, at its right
 * edge, where the line stood until 1.0.33; the margin of 4 px follows it */
:where(.app-kto) .hero-tabblad[data-vast="true"]::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--h-rand);
}
:where(.app-kto) .hero-tabblad[data-vast="true"] + .hero-tabblad::before { content: none; }
/* The padding of the bar left of the fixed tab (4 px on the phone, 8 px on the laptop): an opaque strip with the line
 * of the bar, so that the open things that scroll under the fixed tab do not show in it; over the borders of the tab
 * (2 px) the full height of the bar, and the part outside the bar is clipped by it */
:where(.app-kto) .hero-tabblad[data-vast="true"]::before {
  content: "";
  position: absolute;
  right: 100%;
  top: -2px;
  bottom: -2px;
  width: var(--hero-ruimte-8);
  background: linear-gradient(var(--h-rand), var(--h-rand)) left bottom / 100% 1px no-repeat, var(--h-vlak);
}
:where(.app-kto) .hero-tabblad[aria-selected="true"] { color: var(--h-link); border-bottom-color: var(--hero-orange); }
/* The chosen tab in the high contrast mode (1.0.50, (bv) of 1.0.47; spec 22, Staten): as the tabs of component 8, the
 * border under a tab that is not chosen in Canvas and under the chosen tab in Highlight; the mode drew both in the text
 * colour (1:1).
 * The line under the bar (1.0.51, (df) of 1.0.50): the bar draws its line with an inset box-shadow, which the mode sets
 * to none, so in the mode the line was gone (100 of 982 columns at 1440, only under the chosen tab and an edge). In
 * the mode the bar gets a border of 1 px in CanvasText instead (the bar 1 px higher), whole under every tab. */
@media (forced-colors: active) {
  :where(.app-kto) .hero-tabblad { border-bottom-color: Canvas; }
  :where(.app-kto) .hero-tabblad[aria-selected="true"] { border-bottom-color: Highlight; }
  :where(.app-kto) .hero-tabbladen { border-bottom: 1px solid CanvasText; }
}

/* A thin line between two tabs; the stronger one after the fixed first tab (the list, then the open things) is on
 * the fixed tab itself since 1.0.34, its ::after above, so that it sticks with it (until 1.0.33 it was the ::before
 * of the tab after it, at left: calc(-1 * var(--hero-ruimte-4))) */
:where(.app-kto) .hero-tabblad + .hero-tabblad::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--p-lijn-zacht);
}

:where(.app-kto) .hero-tabblad:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 var(--h-focus-breedte) var(--h-focus), inset 0 0 0 calc(var(--h-focus-breedte) + var(--h-focus-afstand)) var(--h-vlak);
}

:where(.app-kto) .hero-tabblad-label { display: inline-block; }
/* 1.0.37 (K196 of the post-test 960, ticket 29769): a label longer than the rule of spec 22 (at most 22 characters) is
 * shortened by the css with an ellipsis, and the whole text stays in the DOM, so that the name of the tab (aria-label
 * and the title of its label) equals the text of the tab (WCAG 2.5.3, label-content-name-mismatch); an app never cuts
 * the text itself. 22ch is the width of 22 digits in the letter of a tab (200 px): a label of 22 characters fits.
 * overflow: clip with a margin of 1 px keeps the anti-aliasing of the first and the last letter, which reaches less
 * than a pixel past the box (with hidden, one pixel of the print rust-acht at 1440 changed); hidden comes first for a
 * browser without clip */
:where(.app-kto) .hero-tabblad-label { max-width: 22ch; overflow: hidden; overflow: clip; overflow-clip-margin: 1px; text-overflow: ellipsis; white-space: nowrap; }

/* The dot of a worker: 8 px, one of the three stands; the word is in the aria-label of the tab and the title of its label */
:where(.app-kto) .hero-tabblad-stip { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; }
:where(.app-kto) .hero-tabblad-stip[data-stand="bezig"] { background: var(--h-stip-bezig, var(--h-ai-stip)); }
:where(.app-kto) .hero-tabblad-stip[data-stand="wacht"] { background: var(--h-stip-wacht, var(--h-waarschuwing-stip)); }
:where(.app-kto) .hero-tabblad-stip[data-stand="klaar"] { background: var(--h-stip-klaar, var(--h-goed-stip)); }
/* Busy pulses: a ring of the same colour that grows and fades; with reduced motion the dot stands still */
:where(.app-kto) .hero-tabblad-stip[data-stand="bezig"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--h-stip-bezig, var(--h-ai-stip));
  animation: hero-tabblad-puls 1.6s ease-out infinite;
}
@keyframes hero-tabblad-puls {
  from { transform: scale(1); opacity: 0.55; }
  to { transform: scale(2.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.app-kto) .hero-tabblad-stip[data-stand="bezig"]::after { animation: none; opacity: 0; }
}

/* The cross: in the tab, hidden for assistive technology (the keyboard closes with Delete); a tap area on the phone */
:where(.app-kto) .hero-tabblad-sluit {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--hero-radius-m);
  color: var(--h-tekst-3);
}

/* Only with a mouse: a touch screen would keep the hover after a tap (as everywhere since 1.0.6) */
@media (hover: hover) {
  :where(.app-kto) .hero-tabblad:not([aria-selected="true"]):hover { background: var(--h-menu-hover); color: var(--h-tekst); }
  /* 1.0.34: the fixed tab keeps the line of the bar in its surface under the mouse too */
  :where(.app-kto) .hero-tabblad[data-vast="true"]:not([aria-selected="true"]):hover { background: linear-gradient(var(--h-rand), var(--h-rand)) left bottom / 100% 1px no-repeat border-box, var(--h-menu-hover); }
  :where(.app-kto) .hero-tabblad-sluit:hover { background: var(--h-neutraal-bg); color: var(--h-tekst); }
}

/* Tight (data-krap="true", set by the app when the bar does not fit) and on the phone: a tab that is not open shows
 * only the core of its label; the kind stays in its name and in the title of its label. Hidden like hero-sr */
:where(.app-kto) .hero-tabbladen[data-krap="true"] .hero-tabblad:not([aria-selected="true"]) .hero-tabblad-soort {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (width < 600px) {
  :where(.app-kto) .hero-tabbladen { padding: 0 var(--hero-ruimte-4); scroll-padding-inline: var(--hero-ruimte-4); }
  :where(.app-kto) .hero-tabblad { height: var(--h-tikdoel); padding: 0 var(--hero-ruimte-12); }
  /* The cross on the phone too (1.0.23, ticket 13547): 24 x 24 px in the tab of 44 px, with a tap area of 44 x 44 px
   * (--h-tikdoel): a ::before without colour from the end of the dot or the label (the gap of 8 px before the cross) to
   * the edge of the tab (its padding of 12 px on the phone), over the whole height of the tab. A tap there closes the
   * tab (the click lands on the cross); a tap on the icon, the label or the dot opens it */
  :where(.app-kto) .hero-tabblad-sluit { position: relative; }
  :where(.app-kto) .hero-tabblad-sluit::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--hero-ruimte-8));
    right: calc(-1 * var(--hero-ruimte-12));
    height: var(--h-tikdoel);
    transform: translateY(-50%);
  }
  :where(.app-kto) .hero-tabblad:not([aria-selected="true"]) .hero-tabblad-soort {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  /* 1.0.34: the fixed first tab that is not open shows only its icon, in a square of --h-tikdoel: its label has
   * only a core (the name of the module), so the rule "only the core on the phone" goes one step further here.
   * The name (aria-label) and the title of the label stay the whole label (K111 on
   * ticket 13547) */
  :where(.app-kto) .hero-tabblad[data-vast="true"]:not([aria-selected="true"]) { width: var(--h-tikdoel); padding: 0; justify-content: center; }
  :where(.app-kto) .hero-tabblad[data-vast="true"]:not([aria-selected="true"]) .hero-tabblad-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* ---- 23-kolom-werkers.css ---- */
/* Component 23, Kolom Werkers (new in 1.0.18; rapport 35 of Interface, Werkblad 1.0, 3.3 and the appendix, pakket 2b,
 * ticket 23737; the sketch werkblad-1.0 and the mock-up street of hero-interface). The column on the right of the
 * Werkblad with what the workers do for you: four groups in a fixed order, each only when it is not empty: Wacht op jou
 * (the orange dot), Bezig (purple, pulsing), Klaar (green) and Zelf doen (the neutral dot). A line says what it is, for
 * which tab (a link that opens the tab), since when, and what you can do.
 * Three forms, chosen by the width of the window, or fixed with data-vorm (the reference page, or a module that knows
 * it has less room):
 * - the column (from 1280 px, data-vorm="kolom"): 288 px wide and always in view, the head with the count on top;
 * - the strip (600 to 1279 px, data-vorm="strook"): 56 px wide with the three numbers; its button opens the panel of
 *   288 px over the content, to the left of the strip;
 * - the phone (below 600 px, data-vorm="telefoon"): a strip of 44 px over the width above the content (the title, the
 *   three numbers, an arrow); open, the groups stand under it in the flow, and a tap on a line closes it.
 * The strip and the phone show or hide the panel through aria-expanded on their button, without a class of their own.
 * The buttons in the column are secondary (Oké, Bekijk under a line) or quiet (Nee, and Bekijk or Gedaan on the right
 * of a line), never the filled blue button, which stays in the tab. The dot is decoration (aria-hidden); its word is the
 * heading of its group, and in the strip the word next to each number (spec 23). Zelf doen takes the neutral dot, not
 * ink: ink is no surface or accent colour (regels/vijf-regels.md, rule 3). The dots take the role tokens of 1.0.17,
 * each with the dot of its tone as the fallback, like the tab bar (component 22).
 * Only tokens. */

/* Component tokens: the width of the column and of the strip (rapport 35, the appendix: the measures for the builder) */
:where(.app-kto) {
  --hero-werkers-breedte: 288px;
  --hero-werkers-strook: 56px;
}

/* ---------- The column (from 1280 px) ---------- */
:where(.app-kto) .hero-werkers {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  width: var(--hero-werkers-breedte);
  /* never wider than the box it stands in (1.0.50, (bp) of 1.0.47): on a window narrower than 288 px plus the room
   * around it the column shrinks with it, so the page does not grow wider than the window (313 px at 300 and 240) */
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  background: var(--h-vlak);
  border-left: 1px solid var(--h-rand);
  color: var(--h-tekst);
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
}
/* The button of the strip and the phone; the column has none */
:where(.app-kto) .hero-werkers-knop {
  display: none;
  margin: 0;
  border: 0;
  background: var(--h-vlak);
  color: var(--h-tekst);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* The ring inside the button, like a tab of component 22: the strip and the phone strip touch the edges of the module */
:where(.app-kto) .hero-werkers-knop:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 var(--h-focus-breedte) var(--h-focus), inset 0 0 0 calc(var(--h-focus-breedte) + var(--h-focus-afstand)) var(--h-vlak);
}
@media (hover: hover) {
  :where(.app-kto) .hero-werkers-knop:hover { background: var(--h-menu-hover); }
}
:where(.app-kto) .hero-werkers-knop-titel { font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .hero-werkers-getallen { display: flex; align-items: center; gap: var(--hero-ruimte-12); color: var(--h-tekst-2); }
:where(.app-kto) .hero-werkers-getal { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
:where(.app-kto) .hero-werkers-getal > .hero-werkerstip { position: relative; }
:where(.app-kto) .hero-werkers-pijl { color: var(--h-tekst-2); transition: transform var(--h-overgang); }

:where(.app-kto) .hero-werkers-paneel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  background: var(--h-vlak);
}
:where(.app-kto) .hero-werkers-kop { padding: var(--hero-ruimte-16) var(--hero-ruimte-16) var(--hero-ruimte-12); border-bottom: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .hero-werkers-titel { margin: 0; font-size: var(--h-tekst-lees); line-height: var(--h-regel-lees); font-weight: var(--hero-gewicht-kop); color: var(--h-tekst); }
:where(.app-kto) .hero-werkers-telling { margin: 2px 0 0; color: var(--h-tekst-2); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }

/* ---------- The groups and their lines ---------- */
:where(.app-kto) .hero-werkers-groep { margin: 0; padding: var(--hero-ruimte-12) var(--hero-ruimte-16) var(--hero-ruimte-4); border-bottom: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .hero-werkers-groep:last-child { border-bottom: 0; }
:where(.app-kto) .hero-werkers-groepkop {
  display: flex;
  align-items: center;
  gap: var(--hero-ruimte-8);
  margin: 0 0 var(--hero-ruimte-4);
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
  font-weight: var(--hero-gewicht-kop);
  color: var(--h-tekst);
}
:where(.app-kto) .hero-werkregels { margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .hero-werkregel { padding: var(--hero-ruimte-8) 0 var(--hero-ruimte-12); border-top: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .hero-werkregel:first-child { padding-top: var(--hero-ruimte-4); border-top: 0; }
/* A line with one quiet button (Bekijk, Gedaan) puts it on the right, so that the column stays short; a line with
 * Oké and Nee, or with a secondary Bekijk, has its buttons in a row under the text (hero-werkregel-acties) */
:where(.app-kto) .hero-werkregel:has(> .hero-knop) { display: grid; grid-template-columns: minmax(0, 1fr) auto; -moz-column-gap: var(--hero-ruimte-8); column-gap: var(--hero-ruimte-8); align-items: start; }
:where(.app-kto) .hero-werkregel-wat { margin: 0; font-weight: var(--hero-gewicht-label); color: var(--h-tekst); }
:where(.app-kto) .hero-werkregel-meta { margin: 2px 0 0; color: var(--h-tekst-3); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }
:where(.app-kto) .hero-werkregel-tab { color: var(--h-link); font-weight: var(--hero-gewicht-label); text-decoration: underline; text-underline-offset: 2px; }
:where(.app-kto) .hero-werkregel-tab:focus-visible { outline: 0; border-radius: var(--hero-radius-s); box-shadow: var(--h-focus-ring); }
:where(.app-kto) .hero-werkregel-acties { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); margin-top: var(--hero-ruimte-8); }
/* Nee asks for one line why (the field of spec 25, hero-nee-reden): it stands under the buttons, over the width */
:where(.app-kto) .hero-werkregel-acties > .hero-nee-reden { flex: 1 1 100%; }

/* Empty: no group, the empty state of component 10 in the panel */
:where(.app-kto) .hero-werkers-paneel > .hero-leeg { margin: var(--hero-ruimte-16); padding: var(--hero-ruimte-24) var(--hero-ruimte-16); border: 0; }

/* ---------- The dot of a worker (also in the worker strip, component 25) ---------- */
:where(.app-kto) .hero-werkerstip { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--h-neutraal-stip); }
:where(.app-kto) .hero-werkerstip[data-stand="bezig"] { background: var(--h-stip-bezig, var(--h-ai-stip)); }
:where(.app-kto) .hero-werkerstip[data-stand="wacht"] { background: var(--h-stip-wacht, var(--h-waarschuwing-stip)); }
:where(.app-kto) .hero-werkerstip[data-stand="klaar"] { background: var(--h-stip-klaar, var(--h-goed-stip)); }
:where(.app-kto) .hero-werkerstip[data-stand="zelf"] { background: var(--h-neutraal-stip); }
/* Busy pulses: a ring of the same colour that grows and fades, like the dot of a tab (spec 22); with reduced motion it
 * stands still */
:where(.app-kto) .hero-werkerstip[data-stand="bezig"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--h-stip-bezig, var(--h-ai-stip));
  animation: hero-werker-puls 1.6s ease-out infinite;
}
@keyframes hero-werker-puls {
  from { transform: scale(1); opacity: 0.55; }
  to { transform: scale(2.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.app-kto) .hero-werkerstip[data-stand="bezig"]::after { animation: none; opacity: 0; }
}

/* ---------- The strip: from 600 px to below 1280 px, or data-vorm="strook" ----------
 * The window range is (600px <= width < 1280px) since 1.0.55; until 1.0.54 (width >= 600px) and (width <= 1279px),
 * which on 1279.25 to 1279.75 px gave the column instead of the strip.
 * 56 px wide, the button over its height: the worker icon, then each number with its dot under each other; the title
 * and the words are for the screen reader (hidden like hero-sr). Open, the panel of 288 px lies over the content to the
 * left of the strip, as high as the strip, with the shadow of a menu. The same rules twice: once for the attribute and
 * once for the width of the window. The button is the whole strip (1.0.37, K199 of the post-test 960, ticket 29769):
 * it grows to the height of the strip (flex 1 0 auto in the column of the strip; align-self would only stretch its
 * width), with its content at the top, so that the whole strip opens the panel and no clickable box without a role
 * is needed around it. */
:where(.app-kto) .hero-werkers[data-vorm="strook"] { width: var(--hero-werkers-strook); }
:where(.app-kto) .hero-werkers[data-vorm="strook"] > .hero-werkers-knop { display: flex; flex: 1 0 auto; flex-direction: column; align-items: center; gap: var(--hero-ruimte-12); width: 100%; padding: var(--hero-ruimte-12) 0; }
:where(.app-kto) .hero-werkers[data-vorm="strook"] .hero-werkers-getallen { flex-direction: column; gap: var(--hero-ruimte-8); color: var(--h-tekst); font-weight: var(--hero-gewicht-label); }
:where(.app-kto) .hero-werkers[data-vorm="strook"] :is(.hero-werkers-knop-titel, .hero-werkers-woord, .hero-werkers-pijl) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(.app-kto) .hero-werkers[data-vorm="strook"] > .hero-werkers-paneel { position: absolute; top: 0; right: 100%; bottom: 0; z-index: var(--hero-z-menu); width: var(--hero-werkers-breedte); border-left: 1px solid var(--h-rand); box-shadow: var(--hero-schaduw-l); }
:where(.app-kto) .hero-werkers[data-vorm="strook"] > .hero-werkers-knop[aria-expanded="false"] + .hero-werkers-paneel { display: none; }
@media (600px <= width < 1280px) {
  :where(.app-kto) .hero-werkers:not([data-vorm]) { width: var(--hero-werkers-strook); }
  :where(.app-kto) .hero-werkers:not([data-vorm]) > .hero-werkers-knop { display: flex; flex: 1 0 auto; flex-direction: column; align-items: center; gap: var(--hero-ruimte-12); width: 100%; padding: var(--hero-ruimte-12) 0; }
  :where(.app-kto) .hero-werkers:not([data-vorm]) .hero-werkers-getallen { flex-direction: column; gap: var(--hero-ruimte-8); color: var(--h-tekst); font-weight: var(--hero-gewicht-label); }
  :where(.app-kto) .hero-werkers:not([data-vorm]) :is(.hero-werkers-knop-titel, .hero-werkers-woord, .hero-werkers-pijl) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  :where(.app-kto) .hero-werkers:not([data-vorm]) > .hero-werkers-paneel { position: absolute; top: 0; right: 100%; bottom: 0; z-index: var(--hero-z-menu); width: var(--hero-werkers-breedte); border-left: 1px solid var(--h-rand); box-shadow: var(--hero-schaduw-l); }
  :where(.app-kto) .hero-werkers:not([data-vorm]) > .hero-werkers-knop[aria-expanded="false"] + .hero-werkers-paneel { display: none; }
}

/* ---------- The phone: below 600 px, or data-vorm="telefoon" ----------
 * A strip of 44 px over the width above the content: the worker icon, the title, the three numbers with their dot and
 * word, an arrow on the right. Open, the groups stand under it in the flow (the head is the button itself), and the
 * arrow turns. The same rules twice, as above. */
:where(.app-kto) .hero-werkers[data-vorm="telefoon"] { width: 100%; border-left: 0; border-bottom: 1px solid var(--h-rand); }
:where(.app-kto) .hero-werkers[data-vorm="telefoon"] > .hero-werkers-knop { display: flex; align-items: center; gap: var(--hero-ruimte-8); width: 100%; min-height: var(--h-tikdoel); padding: 0 var(--hero-ruimte-16); }
/* The three numbers stand on one line, each with the whole word that follows its count ("1 wacht", "2 wachten"); for
 * that room the title Werkers is only for the screen reader here (the region keeps its name) */
:where(.app-kto) .hero-werkers[data-vorm="telefoon"] .hero-werkers-getallen { flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; }
:where(.app-kto) .hero-werkers[data-vorm="telefoon"] .hero-werkers-knop-titel { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(.app-kto) .hero-werkers[data-vorm="telefoon"] > .hero-werkers-knop[aria-expanded="true"] .hero-werkers-pijl { transform: rotate(180deg); }
:where(.app-kto) .hero-werkers[data-vorm="telefoon"] > .hero-werkers-paneel { overflow: visible; border-top: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .hero-werkers[data-vorm="telefoon"] .hero-werkers-kop { display: none; }
:where(.app-kto) .hero-werkers[data-vorm="telefoon"] > .hero-werkers-knop[aria-expanded="false"] + .hero-werkers-paneel { display: none; }
@media (width < 600px) {
  :where(.app-kto) .hero-werkers:not([data-vorm]) { width: 100%; border-left: 0; border-bottom: 1px solid var(--h-rand); }
  :where(.app-kto) .hero-werkers:not([data-vorm]) > .hero-werkers-knop { display: flex; align-items: center; gap: var(--hero-ruimte-8); width: 100%; min-height: var(--h-tikdoel); padding: 0 var(--hero-ruimte-16); }
  :where(.app-kto) .hero-werkers:not([data-vorm]) .hero-werkers-getallen { flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; }
  :where(.app-kto) .hero-werkers:not([data-vorm]) .hero-werkers-knop-titel { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  :where(.app-kto) .hero-werkers:not([data-vorm]) > .hero-werkers-knop[aria-expanded="true"] .hero-werkers-pijl { transform: rotate(180deg); }
  :where(.app-kto) .hero-werkers:not([data-vorm]) > .hero-werkers-paneel { overflow: visible; border-top: 1px solid var(--p-lijn-zacht); }
  :where(.app-kto) .hero-werkers:not([data-vorm]) .hero-werkers-kop { display: none; }
  :where(.app-kto) .hero-werkers:not([data-vorm]) > .hero-werkers-knop[aria-expanded="false"] + .hero-werkers-paneel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.app-kto) .hero-werkers-pijl { transition: none; }
}

/* ---- 24-chatbalk.css ---- */
/* Component 24, Chatbalk (new in 1.0.18; rapport 35 of Interface, Werkblad 1.0, 3.4 and the appendix, pakket 2b,
 * ticket 23737; regels/chat-meetlat.md, the ten points; the sketch werkblad-1.0 and the mock-up street of
 * hero-interface). One bar at the bottom of the module, over the width left of the Werkers column: the label with the
 * tab where you are, the field, the microphone (component 18), a button for a file and one for a photo, the send
 * button and the button that shows the conversation. A command starts a worker and the bar answers in one line; a
 * question gets an answer of at most three lines with its source as a link; "Dat weet ik niet" when the Hero systems do
 * not have it; an answer without a fact that points on to where it goes on (is-vervolg, 1.0.44). The markup is a
 * contract with toets/chat.mjs (spec 24, Markup).
 * - the bar (hero-chat-balk) is 56 px high with one line in the field; buttons 40 px, 44 px on the phone;
 * - the answer of the worker on the light purple surface (--h-ai-licht) with the worker icon, the text of a person in
 *   ink on white with a border; an error on the light red of component 10;
 * - folded, the conversation shows only the last turn above the bar; open (the button with aria-expanded="true") it is
 *   the history per tab, at most 320 px high and scrolling, 50 % of the window on the phone. The state follows
 *   aria-expanded of the button, without a class of its own;
 * - on the phone the bar is a dock in two rows, fixed at the bottom of the window over its width; the page gives it room
 *   with hero-chat-ruimte (padding-bottom: the height of the folded dock plus the safe area of the device), so that
 *   nothing you need stays under it; the conversation opens above the two rows inside the dock; the label is for the
 *   screen reader there (the open tab is in the tab bar at the top), and the placeholder stays on one line: the field
 *   carries the short fixed text there (1.0.44, spec 24, Teksten), as a placeholder gets no ellipsis;
 * - the placeholder is the only visible label of the field and therefore takes --h-tekst-3 (5.14:1), not the 3.3:1 of
 *   --h-tekst-placeholder; in the dark theme --h-tekst-2 (6.88:1), as --h-tekst-3 is 3.65:1 on the dark field.
 * Only tokens. */

/* Component tokens: the height of the folded bar (rapport 35, the appendix) and the room the dock takes at the bottom
 * of the phone (0 on the laptop) */
:where(.app-kto) {
  --hero-chat-hoogte: 56px;
  --hero-chat-dok: 0px;
}

:where(.app-kto) .hero-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--h-vlak);
  border-top: 1px solid var(--h-rand);
  color: var(--h-tekst);
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
}

/* ---------- The bar ---------- */
:where(.app-kto) .hero-chat-balk {
  display: flex;
  align-items: center;
  gap: var(--hero-ruimte-8);
  min-height: var(--hero-chat-hoogte);
  padding: var(--hero-ruimte-8) var(--hero-ruimte-12) var(--hero-ruimte-8) var(--hero-ruimte-16);
}
/* The label with the place: the tab where you are, with its icon, as a pill like the chip of the sketch */
:where(.app-kto) .hero-chat-plek {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  max-width: 200px;
  height: 32px;
  padding: 0 var(--hero-ruimte-12);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-pil);
  background: var(--h-vlak-2);
  color: var(--h-tekst-2);
  font-size: var(--h-tekst-meta);
  line-height: var(--h-regel-meta);
  font-weight: var(--hero-gewicht-label);
  white-space: nowrap;
}
:where(.app-kto) .hero-chat-plek-tekst { overflow: hidden; text-overflow: ellipsis; }
/* The field: chips of files in front of the text, the shortcut hint "/" on the right; the ring of a field (component
 * 5) around the whole field when the text area has the focus */
:where(.app-kto) .hero-chat-invoer {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px var(--hero-ruimte-8);
  min-width: 0;
  min-height: var(--hero-knop-hoogte);
  padding: 0 var(--hero-ruimte-8) 0 var(--hero-ruimte-12);
  border: 1px solid var(--h-rand-sterk);
  border-radius: var(--hero-radius);
  background: var(--h-invoer-bg);
}
:where(.app-kto) .hero-chat-invoer:focus-within { border-color: var(--h-focus); box-shadow: 0 0 0 2px var(--h-focus-zacht); }
:where(.app-kto) .hero-chat-invoer:has(.hero-chat-chip) { padding-top: 6px; padding-bottom: 6px; }
:where(.app-kto) .hero-chat-veld {
  flex: 1 1 160px;
  min-width: 0;
  height: auto;
  min-height: 20px;
  max-height: 120px;
  margin: 9px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--h-tekst);
  font: inherit;
  line-height: var(--h-regel-basis);
  resize: none;
  field-sizing: content;
}
:where(.app-kto) .hero-chat-invoer:has(.hero-chat-chip) .hero-chat-veld { margin: 3px 0; }
:where(.app-kto) .hero-chat-veld:focus, :where(.app-kto) .hero-chat-veld:focus-visible { outline: 0; box-shadow: none; }
:where(.app-kto) .hero-chat-veld::-moz-placeholder { color: var(--h-tekst-3); opacity: 1; }
:where(.app-kto) .hero-chat-veld::placeholder { color: var(--h-tekst-3); opacity: 1; }
/* In the dark theme --h-tekst-3 on the field is 3.65:1; there the placeholder takes --h-tekst-2 (6.88:1) */
[data-hero-app-theme="dark"] :where(.app-kto) .hero-chat-veld::-moz-placeholder { color: var(--h-tekst-2); }
[data-hero-app-theme="dark"] :where(.app-kto) .hero-chat-veld::placeholder { color: var(--h-tekst-2); }
/* An empty field keeps its placeholder on one line, with an ellipsis where it does not fit (the phone) */
:where(.app-kto) .hero-chat-veld:-moz-placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:where(.app-kto) .hero-chat-veld:placeholder-shown { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:where(.app-kto) .hero-chat-veld::-moz-placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:where(.app-kto) .hero-chat-veld::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:where(.app-kto) .hero-chat-invoer > .hero-kbd { flex: none; }
/* The chip of a file in the field until you send: the name and a cross that removes it */
:where(.app-kto) .hero-chat-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 28px;
  padding: 0 2px 0 var(--hero-ruimte-8);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-pil);
  background: var(--h-vlak-2);
  color: var(--h-tekst);
  font-size: var(--h-tekst-meta);
  line-height: var(--h-regel-meta);
  font-weight: var(--hero-gewicht-label);
}
:where(.app-kto) .hero-chat-chip > .hero-icoon { color: var(--h-tekst-2); }
:where(.app-kto) .hero-chat-chip-naam { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where(.app-kto) .hero-chat-chip-weg {
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--hero-radius-pil);
  background: transparent;
  color: var(--h-tekst-2);
  cursor: pointer;
}
:where(.app-kto) .hero-chat-chip-weg:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }
@media (hover: hover) {
  :where(.app-kto) .hero-chat-chip-weg:hover { background: var(--h-neutraal-bg); color: var(--h-tekst); }
}

/* The buttons of the bar: quiet icon buttons of 40 px (component 1); the microphone is the button of component 18
 * (hero-knop-spraak) as a button of the bar instead of in a field, with its states (luistert with the orange dot,
 * verwerkt, geen toestemming) */
:where(.app-kto) .hero-chat-balk > .hero-knop { flex: none; }
:where(.app-kto) .hero-chat .hero-microfoon {
  position: relative;
  top: auto;
  right: auto;
  flex: none;
  width: var(--hero-knop-hoogte);
  height: var(--hero-knop-hoogte);
  transform: none;
  color: var(--h-tekst-2);
}
:where(.app-kto) .hero-chat .hero-microfoon[aria-pressed="true"] { color: var(--h-tekst); }
:where(.app-kto) .hero-chat-uitklap .hero-icoon { transition: transform var(--h-overgang); }
:where(.app-kto) .hero-chat-uitklap[aria-expanded="true"] .hero-icoon { transform: rotate(180deg); }
/* No history yet: no button to show it, on the laptop and on the phone; it comes with the first turn */
:where(.app-kto) .hero-chat:not(:has(.hero-chat-beurt)) .hero-chat-uitklap { display: none; }
/* The line under the field */
:where(.app-kto) .hero-chat-regel { margin: calc(-1 * var(--hero-ruimte-4)) 0 0; padding: 0 var(--hero-ruimte-16) var(--hero-ruimte-8); color: var(--h-tekst-2); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }

/* ---------- The conversation ---------- */
:where(.app-kto) .hero-chat-gesprek { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); padding: var(--hero-ruimte-12) var(--hero-ruimte-16) 0; }
:where(.app-kto) .hero-chat-gesprek:not(:has(.hero-chat-beurt)) { display: none; }
:where(.app-kto) .hero-chat-beurt { display: flex; flex-direction: column; gap: 6px; }
/* Folded: only the last turn, without its place line (the label of the bar says the place) */
:where(.app-kto) .hero-chat:has(.hero-chat-uitklap[aria-expanded="false"]) .hero-chat-beurt:not(:last-child), :where(.app-kto) .hero-chat:has(.hero-chat-uitklap[aria-expanded="false"]) .hero-chat-plekregel { display: none; }
/* Open: the history per tab, at most 320 px high, scrolling; the place line above each turn */
:where(.app-kto) .hero-chat:has(.hero-chat-uitklap[aria-expanded="true"]) .hero-chat-gesprek { max-height: 320px; overflow-y: auto; padding-bottom: var(--hero-ruimte-12); border-bottom: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .hero-chat-plekregel { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--h-tekst-3); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); font-weight: var(--hero-gewicht-label); }
/* An answer: a person on the right in ink on white, the worker on the left on the light purple surface */
:where(.app-kto) .hero-chat-antwoord, :where(.app-kto) .hero-chat-werker { max-width: 85%; margin: 0; padding: var(--hero-ruimte-8) var(--hero-ruimte-12); border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); }
:where(.app-kto) .hero-chat-antwoord.is-mens { align-self: flex-end; background: var(--h-vlak); color: var(--h-tekst); }
:where(.app-kto) .hero-chat-antwoord.is-werker, :where(.app-kto) .hero-chat-werker {
  display: flex;
  align-self: flex-start;
  align-items: flex-start;
  gap: var(--hero-ruimte-8);
  border-color: var(--h-ai-rand);
  background: var(--h-ai-licht);
  color: var(--h-tekst);
}
:where(.app-kto) .hero-chat-antwoord.is-werker > .hero-icoon, :where(.app-kto) .hero-chat-werker > .hero-icoon { margin-top: 2px; color: var(--h-ai-tekst); }
:where(.app-kto) .hero-chat-antwoord.is-fout {
  display: flex;
  align-self: flex-start;
  align-items: flex-start;
  gap: var(--hero-ruimte-8);
  border-color: var(--h-fout-rand);
  background: var(--h-fout-licht);
  color: var(--h-tekst);
}
:where(.app-kto) .hero-chat-antwoord.is-fout > .hero-icoon { margin-top: 2px; color: var(--h-fout-tekst); }
:where(.app-kto) .hero-chat-tekst { flex: 1 1 auto; min-width: 0; }
:where(.app-kto) .hero-chat-tekst > p { margin: 0; }
/* The source line under an answer with a fact: a link to the place in the Hero systems */
:where(.app-kto) .hero-chat-bron { display: inline-block; margin-top: 2px; color: var(--h-link); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); text-decoration: underline; text-underline-offset: 2px; }
:where(.app-kto) .hero-chat-bron:focus-visible { outline: 0; border-radius: var(--hero-radius-s); box-shadow: var(--h-focus-ring); }
/* An answer without a fact that points on (is-vervolg, 1.0.44, ticket 37662): the worker cannot settle or
 * arrange it here and says where it goes on. The line under the text, 12 px and as far under it as the source line:
 * the sentence in the colour of the answer, the link in --h-link and underlined, with the arrow (arrow-right, 14 px)
 * right behind its last word; the link does not break, so the arrow never stands on a line of its own. No source line,
 * as there is no fact */
:where(.app-kto) .hero-chat-tekst > .hero-chat-vervolg { margin: 2px 0 0; color: inherit; font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }
:where(.app-kto) .hero-chat-vervolg a { color: var(--h-link); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
:where(.app-kto) .hero-chat-vervolg a > .hero-icoon { margin-left: 2px; vertical-align: -2px; }
:where(.app-kto) .hero-chat-vervolg a:focus-visible { outline: 0; border-radius: var(--hero-radius-s); box-shadow: var(--h-focus-ring); }
:where(.app-kto) .hero-chat-antwoord .hero-knop, :where(.app-kto) .hero-chat-werker .hero-knop { flex: none; }
/* Read aloud: a small quiet icon button in every answer of the worker and in the line of the worker (component 18, the
 * speaker) */
:where(.app-kto) .hero-chat-leesvoor { margin: -4px -6px -4px 0; }

/* ---------- The phone: the dock ----------
 * Fixed at the bottom of the window over its width, in two rows of 44 px: the field with the microphone and send on
 * top, so that the field keeps its room; under it a file, a photo, the line about the button and the button that shows
 * the conversation. The bar (hero-chat-balk) gives its children to the grid of the dock (display: contents). The label is
 * for the screen reader: the open tab is in the tab bar at the top (rapport 35, 4.4). The room it takes at the bottom
 * (--hero-chat-dok): 6 + 44 + 4 + 44 + 6 px and its top line of 1 px, plus the safe area of the device. */
@media (width < 600px) {
  :where(.app-kto) { --hero-chat-dok: calc(2 * var(--h-tikdoel) + 17px + env(safe-area-inset-bottom, 0px)); }
  :where(.app-kto) .hero-chat {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--hero-z-kopbalk);
    display: grid;
    grid-template-columns: var(--h-tikdoel) var(--h-tikdoel) minmax(0, 1fr) var(--h-tikdoel) var(--h-tikdoel);
    grid-template-areas: "gesprek gesprek gesprek gesprek gesprek" "veld veld veld mic verstuur" "bestand foto regel regel uitklap";
    align-items: end;
    gap: var(--hero-ruimte-4);
    padding: 6px var(--hero-ruimte-8) calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: var(--hero-schaduw-l);
  }
  :where(.app-kto) .hero-chat-balk { display: contents; }
  :where(.app-kto) .hero-chat-plek { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  :where(.app-kto) .hero-chat-gesprek { grid-area: gesprek; padding: var(--hero-ruimte-8) var(--hero-ruimte-4) var(--hero-ruimte-4); }
  :where(.app-kto) .hero-chat-invoer { grid-area: veld; min-height: var(--h-tikdoel); }
  :where(.app-kto) .hero-chat-veld { margin: 11px 0; font-size: var(--hero-tekst-md); }
  :where(.app-kto) .hero-chat-invoer > .hero-kbd { display: none; }
  /* The microphone stands out in the dock (rapport 35, 4.4; the mock-up street): round, on the second surface with a
   * strong border, its icon 24 px */
  :where(.app-kto) .hero-chat .hero-microfoon { grid-area: mic; width: var(--h-tikdoel); height: var(--h-tikdoel); border: 1px solid var(--h-rand-sterk); border-radius: 50%; background: var(--h-vlak-2); color: var(--h-tekst); }
  :where(.app-kto) .hero-chat .hero-microfoon > .hero-icoon { width: 24px; height: 24px; }
  :where(.app-kto) .hero-chat .hero-microfoon::before { content: none; }
  :where(.app-kto) .hero-chat-verstuur { grid-area: verstuur; }
  :where(.app-kto) .hero-chat-bestand { grid-area: bestand; }
  :where(.app-kto) .hero-chat-foto { grid-area: foto; }
  :where(.app-kto) .hero-chat-uitklap { grid-area: uitklap; }
  :where(.app-kto) .hero-chat-balk > .hero-knop-icoon, :where(.app-kto) .hero-chat-uitklap { width: var(--h-tikdoel); min-width: var(--h-tikdoel); height: var(--h-tikdoel); padding: 0; }
  :where(.app-kto) .hero-chat-uitklap-tekst { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  /* The line about the button between the photo and the button of the conversation, at most two lines */
  :where(.app-kto) .hero-chat-regel { grid-area: regel; align-self: center; margin: 0; padding: 0 var(--hero-ruimte-4); }
  :where(.app-kto) .hero-chat-bestand, :where(.app-kto) .hero-chat-foto, :where(.app-kto) .hero-chat-uitklap { align-self: center; }
  /* Folded the dock is the two rows; the conversation opens above them inside the dock, at most half the window. Folded,
   * the grid has no row for the conversation, so that no gap of an empty row makes the dock higher than its room */
  :where(.app-kto) .hero-chat:has(.hero-chat-uitklap[aria-expanded="false"]) .hero-chat-gesprek { display: none; }
  :where(.app-kto) .hero-chat:has(.hero-chat-uitklap[aria-expanded="false"]), :where(.app-kto) .hero-chat:not(:has(.hero-chat-beurt)) { grid-template-areas: "veld veld veld mic verstuur" "bestand foto regel regel uitklap"; }
  :where(.app-kto) .hero-chat:has(.hero-chat-uitklap[aria-expanded="true"]) .hero-chat-gesprek { max-height: 50vh; }
  :where(.app-kto) .hero-chat-chip-weg::before { content: ""; position: absolute; top: 50%; left: 50%; width: var(--h-tikdoel); height: var(--h-tikdoel); transform: translate(-50%, -50%); }
  /* The page under the dock: its last line can scroll above the dock */
  :where(.app-kto) .hero-chat-ruimte { padding-bottom: var(--hero-chat-dok); }
}
@media (prefers-reduced-motion: reduce) {
  :where(.app-kto) .hero-chat-uitklap .hero-icoon { transition: none; }
}

/* ---- 25-werkerstrook.css ---- */
/* Component 25, Werkerstrook (new in 1.0.18; rapport 35 of Interface, Werkblad 1.0, 3.5 and 4.1 to 4.4, pakket 2b,
 * ticket 23737; the sketch werkblad-1.0 and the mock-up street of hero-interface). One strip at the top of the content
 * of a tab while a worker is busy for that tab or waits for you, right under the head of the tab and above the rest of
 * the page, which does not change: one line with the stand (the dot with its word) and one sentence, the three facts
 * that matter, the document folded (the answer, the contract; a button with aria-expanded opens it), and with Wacht op
 * jou the one filled blue button of the screen ("Oké, verstuur") with Nee next to it. Nee always asks one line why: a
 * field that appears (hero-nee-reden, also used by a line of the Werkers column, component 23). Bezig has no button:
 * the worker reports back.
 * - the surface of the worker: light purple (--h-ai-licht) with its border and a purple stripe of 4 px on the left
 *   (--h-ai-stip): purple is only for what a digital colleague did or proposes (regels/vijf-regels.md, rule 5);
 * - the word of the stand in the text colour of its tone: Wacht op jou --h-waarschuwing-tekst (6.45:1 on --h-ai-licht),
 *   Bezig --h-ai-tekst (5.47:1), Klaar --h-goed-tekst; the dot (hero-werkerstip, 23-kolom-werkers.css) is decoration;
 * - the facts as small blocks on white, the name in --h-tekst-2; the hint next to the buttons in --h-tekst-2;
 * - on the phone the blue button takes the row (44 px), the hint goes under it, and the first line of the document
 *   goes under its name.
 * Only tokens. */

:where(.app-kto) .hero-werkerstrook {
  display: flex;
  flex-direction: column;
  gap: var(--hero-ruimte-12);
  padding: var(--hero-ruimte-12) var(--hero-ruimte-16);
  border: 1px solid var(--h-ai-rand);
  border-left: 4px solid var(--h-ai-stip);
  border-radius: var(--hero-radius-l);
  background: var(--h-ai-licht);
  color: var(--h-tekst);
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
}
:where(.app-kto) .hero-werkerstrook-kop { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--hero-ruimte-4) var(--hero-ruimte-12); margin: 0; }
:where(.app-kto) .hero-werkerstrook-stand { display: inline-flex; align-items: center; gap: var(--hero-ruimte-8); font-weight: var(--hero-gewicht-kop); white-space: nowrap; }
:where(.app-kto) .hero-werkerstrook-stand > .hero-werkerstip { align-self: center; }
:where(.app-kto) .hero-werkerstrook[data-stand="wacht"] .hero-werkerstrook-stand { color: var(--h-waarschuwing-tekst); }
:where(.app-kto) .hero-werkerstrook[data-stand="bezig"] .hero-werkerstrook-stand { color: var(--h-ai-tekst); }
:where(.app-kto) .hero-werkerstrook[data-stand="klaar"] .hero-werkerstrook-stand { color: var(--h-goed-tekst); }
:where(.app-kto) .hero-werkerstrook-zin { font-weight: var(--hero-gewicht-label); }

/* The three facts that matter */
:where(.app-kto) .hero-werkerstrook-feiten { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8); margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .hero-werkerstrook-feiten > li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: var(--hero-ruimte-4) 10px;
  border: 1px solid var(--h-ai-rand);
  border-radius: var(--hero-radius);
  background: var(--h-vlak);
  font-size: var(--h-tekst-meta);
  line-height: var(--h-regel-meta);
}
:where(.app-kto) .hero-werkerstrook-feitnaam { color: var(--h-tekst-2); font-weight: var(--hero-gewicht-nadruk); }

/* The document, folded: its name, its first line and the button that opens it */
:where(.app-kto) .hero-werkerstrook-stuk { border: 1px solid var(--h-ai-rand); border-radius: var(--hero-radius); background: var(--h-vlak); }
:where(.app-kto) .hero-werkerstrook-stukkop { display: flex; align-items: center; gap: var(--hero-ruimte-12); min-height: 48px; padding: var(--hero-ruimte-4) var(--hero-ruimte-4) var(--hero-ruimte-4) var(--hero-ruimte-12); }
:where(.app-kto) .hero-werkerstrook-stuknaam { flex: none; margin: 0; font-weight: var(--hero-gewicht-nadruk); white-space: nowrap; }
:where(.app-kto) .hero-werkerstrook-eerste { flex: 1 1 auto; min-width: 0; margin: 0; overflow: hidden; color: var(--h-tekst-2); text-overflow: ellipsis; white-space: nowrap; }
:where(.app-kto) .hero-werkerstrook-uitklap { flex: none; }
:where(.app-kto) .hero-werkerstrook-uitklap .hero-icoon { transition: transform var(--h-overgang); }
:where(.app-kto) .hero-werkerstrook-uitklap[aria-expanded="true"] .hero-icoon { transform: rotate(180deg); }
:where(.app-kto) .hero-werkerstrook-stuktekst { display: grid; gap: var(--hero-ruimte-8); padding: var(--hero-ruimte-8) var(--hero-ruimte-12) var(--hero-ruimte-12); border-top: 1px solid var(--p-lijn-zacht); }
:where(.app-kto) .hero-werkerstrook-stuktekst > p { margin: 0; }

/* The choice: the one blue button, Nee, the hint; Nee opens the field with the reason under them */
:where(.app-kto) .hero-werkerstrook-keuze { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); }
:where(.app-kto) .hero-werkerstrook-hint { margin: 0 0 0 var(--hero-ruimte-8); color: var(--h-tekst-2); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }
:where(.app-kto) .hero-nee-reden { display: grid; flex: 1 1 100%; gap: var(--hero-ruimte-4); }
:where(.app-kto) .hero-nee-rij { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); }
:where(.app-kto) .hero-nee-rij > .hero-invoer { flex: 1 1 200px; min-width: 0; }

/* The phone: below 600 px, or data-vorm="telefoon" (the reference page shows the phone form at every width); the same
 * rules twice, once for the attribute and once for the width of the window */
:where(.app-kto) .hero-werkerstrook[data-vorm="telefoon"] { padding: var(--hero-ruimte-12); }
:where(.app-kto) .hero-werkerstrook[data-vorm="telefoon"] .hero-werkerstrook-keuze > .hero-knop-primair { flex: 1 1 auto; }
:where(.app-kto) .hero-werkerstrook[data-vorm="telefoon"] .hero-werkerstrook-hint { flex-basis: 100%; margin-left: 0; }
/* The name of the document grows from 0, 8 px from the button, and a name too long for one line breaks in balance, so
 * that Toon alles and the wider Toon minder stay beside it on the right */
:where(.app-kto) .hero-werkerstrook[data-vorm="telefoon"] .hero-werkerstrook-stukkop { flex-wrap: wrap; gap: 0 var(--hero-ruimte-8); }
:where(.app-kto) .hero-werkerstrook[data-vorm="telefoon"] .hero-werkerstrook-stuknaam { flex: 1 1 0; min-width: 0; white-space: normal; text-wrap: balance; }
:where(.app-kto) .hero-werkerstrook[data-vorm="telefoon"] .hero-werkerstrook-eerste { order: 3; flex-basis: 100%; padding-bottom: var(--hero-ruimte-8); white-space: normal; }
:where(.app-kto) .hero-werkerstrook[data-vorm="telefoon"] .hero-werkerstrook-uitklap { margin-left: auto; }
@media (width < 600px) {
  :where(.app-kto) .hero-werkerstrook { padding: var(--hero-ruimte-12); }
  :where(.app-kto) .hero-werkerstrook-keuze > .hero-knop-primair { flex: 1 1 auto; }
  :where(.app-kto) .hero-werkerstrook-hint { flex-basis: 100%; margin-left: 0; }
  :where(.app-kto) .hero-werkerstrook-stukkop { flex-wrap: wrap; gap: 0 var(--hero-ruimte-8); }
  :where(.app-kto) .hero-werkerstrook-stuknaam { flex: 1 1 0; min-width: 0; white-space: normal; text-wrap: balance; }
  :where(.app-kto) .hero-werkerstrook-eerste { order: 3; flex-basis: 100%; padding-bottom: var(--hero-ruimte-8); white-space: normal; }
  :where(.app-kto) .hero-werkerstrook-uitklap { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.app-kto) .hero-werkerstrook-uitklap .hero-icoon { transition: none; }
}

/* ---- 26-taakblad.css ---- */
/* Component 26, Taakblad (new in 1.0.59; rapport 34 of Interface, chapter 5, part 1 and 5, choice a of the regie on
 * ticket 10784; rapport 28, 4, 4.1 and 4.4, and the sketch ontwerpserie-r10 of hero-interface). One task on a
 * podium, as the whole content of a tab, right under the head of the tab: an opening line, the counter, the sentence
 * as heading, at most three facts, the proposal of the AI colleague (component 14, without buttons of its own), the
 * choice (the one filled blue button, Later and at most two quiet choices) and the foot line (the deadline, what
 * waiting costs, from whom and from which app). After a choice the sheet shows one line with what happened, Maak
 * ongedaan and the button to the next task.
 * - what 25 and 26 share is taken over literally: the name of a fact is hero-werkerstrook-feitnaam (a fact is
 *   <li><span class="hero-werkerstrook-feitnaam">name</span> value</li>, as in 25), and the reason of Stuur terug is
 *   hero-nee-reden with hero-nee-rij (25-werkerstrook.css), opened by a button with hero-nee (componenten/index.js);
 * - Later opens a small menu in the form of the list of component 6 (hero-keuzelijst, its options hero-optie);
 * - at most 720 px wide on a laptop, aligned left with the head of the tab (no centred podium);
 * - below 600 px the blue button takes the row with Later beside it, and the other choices are text links under
 *   "Of kies iets anders" (rapport 28, 4.4); below 360 px the sentence is 18 px.
 * - data-tempo on the root is room for the tempo of the shell (rapport 34 part 3): no rule here reads it.
 * Only tokens. */

:where(.app-kto) .hero-taakblad {
  display: flex;
  flex-direction: column;
  gap: var(--hero-ruimte-16);
  max-width: 720px;
  min-width: 0;
  margin: 0;
  padding: var(--hero-ruimte-24);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-l);
  background: var(--h-vlak);
  color: var(--h-tekst);
  font-size: var(--h-tekst-basis);
  line-height: var(--h-regel-basis);
  overflow-wrap: break-word;
}

/* The opening line and the counter on one row, the counter on the right; on the phone the row stays above the
 * sentence, with the counter on the right */
:where(.app-kto) .hero-taakblad-kop { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--hero-ruimte-4) var(--hero-ruimte-16); }
:where(.app-kto) .hero-taakblad-aanloop { flex: 1 1 16em; min-width: 0; margin: 0; color: var(--h-tekst-2); }
:where(.app-kto) .hero-taakblad-teller { flex: none; margin: 0 0 0 auto; color: var(--h-tekst-2); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); white-space: nowrap; }

/* The sentence: the h2 of the tab, in ink, never cut off */
:where(.app-kto) .hero-taakblad-zin { margin: 0; color: var(--h-tekst); font-size: var(--h-tekst-groot); line-height: var(--h-regel-groot); font-weight: var(--hero-gewicht-kop); text-wrap: pretty; }

/* At most three facts: side by side on a laptop, under each other below 600 px */
:where(.app-kto) .hero-taakblad-feiten { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--hero-ruimte-8); margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .hero-taakblad-feit {
  display: flex;
  flex-direction: column;
  gap: var(--hero-ruimte-4);
  min-width: 0;
  padding: var(--hero-ruimte-8) var(--hero-ruimte-12);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius);
  color: var(--h-tekst);
  font-size: var(--h-tekst-lees);
  line-height: var(--h-regel-lees);
  font-weight: var(--hero-gewicht-label);
}
:where(.app-kto) .hero-taakblad-feit > .hero-werkerstrook-feitnaam { font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }

/* The proposal (component 14) without its own buttons */
:where(.app-kto) .hero-taakblad > .p-voorstel { margin: 0; }

/* The choice: the blue button, Later with its menu, then the other choices; the reason opens under them */
:where(.app-kto) .hero-taakblad-keuze { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); }
:where(.app-kto) .hero-taakblad-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .hero-taakblad-later-plek { position: relative; display: flex; min-width: 0; }
:where(.app-kto) .hero-taakblad-later .hero-icoon { transition: transform var(--h-overgang); }
:where(.app-kto) .hero-taakblad-later[aria-expanded="true"] .hero-icoon { transform: rotate(180deg); }
:where(.app-kto) .hero-taakblad-menu { position: absolute; top: 100%; left: 0; z-index: var(--hero-z-menu); width: -moz-max-content; width: max-content; min-width: 100%; max-width: min(280px, 80vw); margin-top: var(--hero-ruimte-4); }
:where(.app-kto) .hero-taakblad-menu > li { list-style: none; }
:where(.app-kto) .hero-taakblad-menu .hero-optie { flex-wrap: wrap; width: 100%; border: 0; background: none; font: inherit; text-align: left; }
:where(.app-kto) .hero-taakblad-menu .hero-optie:focus-visible { outline: 0; background: var(--h-menu-hover); box-shadow: inset 0 0 0 var(--h-focus-breedte) var(--h-focus); }
:where(.app-kto) .hero-taakblad-menu-tijd { margin-left: auto; color: var(--h-tekst-2); font-weight: var(--hero-gewicht-tekst); white-space: nowrap; }
:where(.app-kto) .hero-taakblad-anders { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .hero-taakblad-anders-kop { margin: 0; color: var(--h-tekst-2); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }
:where(.app-kto) .hero-taakblad-keuze > .hero-nee-reden { flex: 1 1 100%; }

/* The foot line: the deadline and what waiting costs, and from whom and from which app */
:where(.app-kto) .hero-taakblad-voet { margin: 0; color: var(--h-tekst-2); font-size: var(--h-tekst-meta); line-height: var(--h-regel-meta); }

/* Besloten: one line with what happened, Maak ongedaan and the button to the next task */
:where(.app-kto) .hero-taakblad-besloten { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-12) var(--hero-ruimte-8); }
:where(.app-kto) .hero-taakblad-gebeurd { display: flex; flex: 1 1 100%; align-items: flex-start; gap: var(--hero-ruimte-8); margin: 0; color: var(--h-tekst); font-size: var(--h-tekst-lees); line-height: var(--h-regel-lees); font-weight: var(--hero-gewicht-label); }
:where(.app-kto) .hero-taakblad-gebeurd > .hero-icoon { flex: none; margin-top: var(--hero-ruimte-4); color: var(--h-goed-tekst); }
/* The line and its text may shrink below their longest word, so that at 195 px a long word breaks inside the sheet */
:where(.app-kto) .hero-taakblad-gebeurd, :where(.app-kto) .hero-taakblad-gebeurd > span { min-width: 0; }
:where(.app-kto) .hero-taakblad-gebeurd:focus-visible { outline: 0; border-radius: var(--hero-radius-s); box-shadow: var(--h-focus-ring); }

/* Leeg and fout: component 10 inside the sheet, without a second frame around it; an error over the choice (a decision
 * that did not arrive) stands between the proposal and the choice */
:where(.app-kto) .hero-taakblad > .hero-leeg { border: 0; }

/* Laden: the skeleton of the sheet as component 10 draws it (the opening line, the sentence, three facts, the button) */
:where(.app-kto) .hero-taakblad-skelet { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); }
:where(.app-kto) .hero-taakblad-skelet-zin { width: 80%; height: var(--h-regel-groot); }
:where(.app-kto) .hero-taakblad-skelet-feiten { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--hero-ruimte-8); }
:where(.app-kto) .hero-taakblad-skelet-knop { width: 160px; max-width: 100%; height: var(--hero-knop-hoogte); }

/* From 600 px the heading of the other choices is for the screen reader only (hidden as hero-sr) */
@media (width >= 600px) {
  :where(.app-kto) .hero-taakblad-anders-kop { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (width < 600px) {
  :where(.app-kto) .hero-taakblad { padding: var(--hero-ruimte-16); }
  :where(.app-kto) .hero-taakblad-zin { font-size: var(--h-tekst-kop); line-height: var(--h-regel-kop); }
  :where(.app-kto) .hero-taakblad-feiten { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
  :where(.app-kto) .hero-taakblad-knoppen { position: relative; flex: 1 1 100%; }
  :where(.app-kto) .hero-taakblad-primair { flex: 1 1 auto; }
  /* the menu opens over the width of the row of buttons, so that it stays inside the sheet wherever Later stands */
  :where(.app-kto) .hero-taakblad-later-plek { position: static; }
  :where(.app-kto) .hero-taakblad-menu { right: 0; width: auto; min-width: 0; max-width: none; }
  :where(.app-kto) .hero-taakblad-anders { flex: 1 1 100%; flex-direction: column; align-items: flex-start; gap: 0; }
  /* the other choices as text links: underlined ink, 44 px high; blue is the one button (spec 25 and 23) */
  :where(.app-kto) .hero-taakblad-anders > .hero-knop { justify-content: flex-start; min-height: var(--h-tikdoel); padding: 0; background: none; color: var(--h-tekst); font-weight: var(--hero-gewicht-label); text-align: left; text-decoration: underline; text-underline-offset: 3px; white-space: normal; }
  :where(.app-kto) .hero-taakblad-besloten > .hero-knop-primair { flex: 1 1 auto; }
  :where(.app-kto) .hero-taakblad-skelet-zin { height: var(--h-regel-kop); }
  :where(.app-kto) .hero-taakblad-skelet-feiten { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
  :where(.app-kto) .hero-taakblad-skelet-knop { width: 100%; height: var(--h-tikdoel); }
}
@media (width < 360px) {
  :where(.app-kto) .hero-taakblad { padding: var(--hero-ruimte-12); }
  :where(.app-kto) .hero-taakblad-zin { font-size: var(--hero-tekst-lg); line-height: var(--h-regel-lees); }
  :where(.app-kto) .hero-taakblad-feiten { gap: var(--hero-ruimte-12); }
  /* At 195 px "maandag 08:30" is wider than the menu: the time may wrap there */
  :where(.app-kto) .hero-taakblad-menu-tijd { min-width: 0; white-space: normal; }
  /* At 195 px a long word in the text of the sheet (the opening line, the sentence, a fact, the proposal, the line of
   * besloten, the foot line; not a button) breaks with a hyphen (the page carries lang), and a fact value is 14 px with
   * 8 px on the sides, so that a number and a date stay whole inside the fact (K7 of the reading of 1.0.59) */
  :where(.app-kto) .hero-taakblad-aanloop, :where(.app-kto) .hero-taakblad-zin, :where(.app-kto) .hero-taakblad-feit, :where(.app-kto) .hero-taakblad > .p-voorstel, :where(.app-kto) .hero-taakblad-gebeurd, :where(.app-kto) .hero-taakblad-voet { hyphens: auto; }
  :where(.app-kto) .hero-taakblad-feit { padding-inline: var(--hero-ruimte-8); font-size: var(--h-tekst-basis); line-height: var(--h-regel-basis); }
}
@media (prefers-reduced-motion: reduce) {
  :where(.app-kto) .hero-taakblad-later .hero-icoon { transition: none; }
}
/*
 * HERO DESIGN SYSTEM 1.0 · hero-iconen-aanvulling.css · the rules of design system 0.2 (hero-interface), unchanged
 * Interface (Claude), design agent of Hero · ticket 5281; first version 0.1 of Friday 9 October 2026 (ticket 4617)
 *
 * Two icons that the house style (huisstijl/tokens.css, section 15) does not have yet, built exactly like its icons:
 * an SVG mask of 24 x 24, no fill, stroke 2, round caps and joins, the colour follows the text colour.
 * Load this file after tokens/hero-tokens.css and componenten/componenten.css: the base class .hero-icoon (size,
 * mask) comes from componenten.css. In a React app with lucide-react these are the icons `Mic` and `Volume2`;
 * then this file is not needed.
 *
 *   <i class="hero-icoon hero-icoon-microfoon"></i>   speak into a text field (platform-wide requirement 7)
 *   <i class="hero-icoon hero-icoon-voorlezen"></i>   read a screen, file or answer aloud (speaker)
 *
 * Language: the comments are in English since 1.0.0 (code and comments in English, texts for people in Dutch); the
 * Dutch comment of 0.2 is in the git history.
 */
:where(.app-kto) .hero-icoon-microfoon{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'/%3E%3Cline x1='12' x2='12' y1='19' y2='22'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-voorlezen{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cpath d='M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14'/%3E%3C/svg%3E")}

/*
 * Microphone in a text field (component 18 in the report). A proposal, not yet in the house style:
 *   <div class="hero-veld-spraak">
 *     <input class="hero-invoer" id="x" aria-describedby="x-spraak">
 *     <button class="hero-knop-spraak" type="button" aria-pressed="false" aria-label="Spreek in">
 *       <i class="hero-icoon hero-icoon-microfoon"></i></button>
 *     <p class="hero-sr" id="x-spraak" aria-live="polite"></p>   listening: "Luistert, tik om te stoppen"
 *   </div>
 * On (aria-pressed="true" or .is-aan): an orange dot top right, the one dot of the screen. No pulse with
 * prefers-reduced-motion. Fields for a bank account number or a citizen service number get no microphone.
 */
:where(.app-kto) .hero-veld-spraak { position: relative; }
:where(.app-kto) .hero-veld-spraak > .hero-invoer { padding-right: 44px; }
:where(.app-kto) .hero-knop-spraak {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: var(--hero-radius); background: transparent; color: var(--h-tekst-3); cursor: pointer;
  transition: background-color var(--h-overgang, 0.15s), color var(--h-overgang, 0.15s);
}
/* hover only with a mouse (1.0.6): a touch screen keeps no hover style after a tap */
@media (hover: hover) {
  :where(.app-kto) .hero-knop-spraak:hover { background: var(--h-neutraal-bg); color: var(--h-tekst); }
}
:where(.app-kto) .hero-knop-spraak:focus-visible { outline: 0; box-shadow: var(--h-focus-ring, 0 0 0 1px #fff, 0 0 0 3px var(--h-focus)); }
:where(.app-kto) .hero-knop-spraak[aria-pressed="true"], :where(.app-kto) .hero-knop-spraak.is-aan { color: var(--p-inkt, var(--h-tekst)); }
:where(.app-kto) .hero-knop-spraak[aria-pressed="true"]::after, :where(.app-kto) .hero-knop-spraak.is-aan::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--hero-orange); box-shadow: 0 0 0 2px var(--h-vlak);
  animation: hero-spraak-puls 1.2s ease-in-out infinite;
}
@keyframes hero-spraak-puls { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { :where(.app-kto) .hero-knop-spraak::after { animation: none !important; } }
/* The high contrast mode (1.0.54, ticket 32706, note 507; spec 18, Staten): the mode sets the
 * background of the dot to Canvas and drops its box-shadow, so the dot disappears and on and off look the same. In the
 * mode the dot keeps its own colours, Highlight with a ring in Canvas, and the button that listens gets an outline in
 * Highlight inside its edge (the button has border 0, and an outline stays in the mode), so that the state is visible
 * without the dot as well. The button that does not listen does not change. With the focus the rule of T8 in
 * componenten/aanvulling.css (:focus-visible with !important) draws the ring of the system outside the button, and
 * the dot stays. System colours only, no literal colour. */
@media (forced-colors: active) {
  :where(.app-kto) .hero-knop-spraak[aria-pressed="true"]::after, :where(.app-kto) .hero-knop-spraak.is-aan::after { forced-color-adjust: none; background: Highlight; box-shadow: 0 0 0 2px Canvas; }
  :where(.app-kto) .hero-knop-spraak[aria-pressed="true"], :where(.app-kto) .hero-knop-spraak.is-aan { outline: 2px solid Highlight; outline-offset: -2px; }
}

/*
 * Three icons for the mode in the dot of the stappenlijn (component 21, 1.0.10, ticket 17340), built like the two
 * above: the Lucide icons `ClipboardCheck` (the digital colleague sets the step ready and you check it), `Hand` (you
 * or the team do the step yourselves) and `AppWindow` (another app does the step). The house style already has
 * `bot` (the digital colleague does it), `user-check` (after your yes), `building-2` (a third party), `check`,
 * `minus`, `triangle-alert` and `history`. In a React app with lucide-react these are the icons of the same names.
 */
:where(.app-kto) .hero-icoon-clipboard-check{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-hand{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2'/%3E%3Cpath d='M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8'/%3E%3Cpath d='M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-app-window{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M10 4v4'/%3E%3Cpath d='M2 8h20'/%3E%3Cpath d='M6 4v4'/%3E%3C/svg%3E")}

/*
 * One icon for the tab bar of the Werkblad (component 22, 1.0.17, rapport 35 and ticket 23737), built like the ones
 * above: the Lucide icon `SquareCheck`, the kind taak (a task). The house style already has the other kinds: `inbox`
 * (until 1.0.34 the list Postvak; since 1.0.35 Postvak carries mail, like the menu of the app; inbox stays in the set
 * for an app that needs it), `mail`, `briefcase` (a placement), `receipt` (an invoice), `clock` (a timesheet),
 * `list-checks` (the list Keuren), `building-2`, `user`, `file-text` and `folder-open`, and `x` for the cross. In a
 * React app with lucide-react this is the icon `SquareCheck`.
 */
:where(.app-kto) .hero-icoon-square-check{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}

/*
 * One icon for the chat bar of the Werkblad (component 24, 1.0.18, rapport 35 3.4 and regels/chat-meetlat.md point 3),
 * built like the ones above: the Lucide icon `Camera`, the button that takes a photo (on the phone the camera is a
 * source). The house style already has the other icons of the bar: `paperclip` (a file), `send` (send), `chevron-up`
 * and `chevron-down` (show and hide the conversation), `bot` (the worker), `x` (remove a chip), and this file has
 * `microfoon` and `voorlezen`. In a React app with lucide-react this is the icon `Camera`.
 */
:where(.app-kto) .hero-icoon-camera{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E")}

/*
 * One icon for the eye button of a password field (1.0.57, (ex) of ticket 34724), built like the ones
 * above and like hero-icoon-eye of the house style: the Lucide icon `EyeOff`, the second eye of a button that shows
 * or hides a password, with `eye` (componenten/componenten.css) as the first; the name of the button says what a press
 * does. The path is that of lucide-static 0.350.0, whose eye.svg is the path of hero-icoon-eye. In a React app with
 * lucide-react this is the icon `EyeOff`.
 */
:where(.app-kto) .hero-icoon-eye-off{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.88 9.88a3 3 0 1 0 4.24 4.24'/%3E%3Cpath d='M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68'/%3E%3Cpath d='M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61'/%3E%3Cline x1='2' x2='22' y1='2' y2='22'/%3E%3C/svg%3E")}

/*
 * Twenty-five icons for an app that takes every icon from this set (1.0.83, ticket 52999 and K6 of ticket 34724),
 * built like the ones above and like hero-icoon-eye-off: an SVG mask of 24 x 24, no fill, stroke 2, round caps and
 * joins, the colour follows the text colour. The paths are those of lucide-static 1.65.0 (ISC License, lucide.dev),
 * published on Friday 30 October 2026, more than two weeks before this version, with all 25 names. In a React app
 * with lucide-react these are the icons of the same names: `Armchair`,
 * `CalendarClock`, `CircleStop`, `Contact`, `FlaskConical`, `Forward`, `Hourglass`, `Image`, `List`, `ListX`,
 * `LockOpen`, `LogIn`, `MailX`, `RotateCcw`, `Save`, `ShieldUser`, `ShieldX`, `SquareParking`, `Trophy`, `Undo2`,
 * `Unlink`, `UserMinus`, `UserPlus`, `UserX` and `Wrench`. The other icons of the house style and of this file do
 * not change.
 */
:where(.app-kto) .hero-icoon-armchair{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3'/%3E%3Cpath d='M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z'/%3E%3Cpath d='M5 18v2'/%3E%3Cpath d='M19 18v2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-calendar-clock{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 14v2.2l1.6 1'/%3E%3Cpath d='M16 2v3'/%3E%3Cpath d='M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338'/%3E%3Cpath d='M3 9h5.859'/%3E%3Cpath d='M8 2v3'/%3E%3Ccircle cx='16' cy='16' r='6'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-circle-stop{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Crect x='9' y='9' width='6' height='6' rx='1'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-contact{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 2v2'/%3E%3Cpath d='M7 21v-2a2 2 0 012-2h6a2 2 0 012 2v2'/%3E%3Cpath d='M8 2v2'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-flask-conical{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2'/%3E%3Cpath d='M6.453 15h11.094'/%3E%3Cpath d='M8.5 2h7'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-forward{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 17 5-5-5-5'/%3E%3Cpath d='M4 18v-2a4 4 0 0 1 4-4h12'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-hourglass{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22h14'/%3E%3Cpath d='M5 2h14'/%3E%3Cpath d='M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22'/%3E%3Cpath d='M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-image{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-list{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 19h.01'/%3E%3Cpath d='M8 5h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 19h13'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-list-x{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 5H3'/%3E%3Cpath d='M11 12H3'/%3E%3Cpath d='M16 19H3'/%3E%3Cpath d='m15.5 9.5 5 5'/%3E%3Cpath d='m20.5 9.5-5 5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-lock-open{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 9.9-1'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-log-in{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 17 5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-mail-x{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12.532V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8.792'/%3E%3Cpath d='m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7'/%3E%3Cpath d='m16.5 16.5 5 5'/%3E%3Cpath d='m21.5 16.5-5 5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-rotate-ccw{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-save{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3Cpath d='M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7'/%3E%3Cpath d='M7 3v4a1 1 0 0 0 1 1h7'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-shield-user{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='M6.376 18.91a6 6 0 0 1 11.249.003'/%3E%3Ccircle cx='12' cy='11' r='4'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-shield-x{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m14.5 9.5-5 5'/%3E%3Cpath d='m9.5 9.5 5 5'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-square-parking{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12h4a2 2 0 0 0 0-4H9.5a.5.5 0 0 0-.5.5V16'/%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-trophy{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2'/%3E%3Cpath d='M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2'/%3E%3Cpath d='M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z'/%3E%3Cpath d='M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-undo-2{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-unlink{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71'/%3E%3Cpath d='m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71'/%3E%3Cline x1='8' x2='8' y1='2' y2='5'/%3E%3Cline x1='2' x2='5' y1='8' y2='8'/%3E%3Cline x1='16' x2='16' y1='19' y2='22'/%3E%3Cline x1='19' x2='22' y1='16' y2='16'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-user-minus{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='22' x2='16' y1='11' y2='11'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-user-plus{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' x2='19' y1='8' y2='14'/%3E%3Cline x1='22' x2='16' y1='11' y2='11'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-user-x{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='17' x2='22' y1='8' y2='13'/%3E%3Cline x1='22' x2='17' y1='8' y2='13'/%3E%3C/svg%3E")}
:where(.app-kto) .hero-icoon-wrench{--hero-icoon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z'/%3E%3C/svg%3E")}
/* De plek van de versiepil (component 15 van het Hero-ontwerpsysteem) in een app uit de kickstart: aan het eind van
 * de pagina, niet zwevend (spec 15 en componenten/LEESMIJ.md). Pil, statusregel en paneel staan in de omhulling
 * .hero-versiepil-plek, een eigen vlak, want een remote-app in de shell heeft de omhulling .hero-app of .p-portaal niet.
 * Sinds ontwerpsysteem 1.0.53 (keuze a van Interface op ticket 42364) noemt elke regel van de plek in aanvulling.css van
 * de bundel ook .hero-versiepil-plek, met hetzelfde gewicht als de eigen regels die hier tot ticket 43358 stonden: het
 * paneel (16 px van rechts en 8 px boven de pil, in de laag van het paneel, --hero-z-pil-paneel, standaard die van de
 * pil; op de telefoon op --hero-rand-afstand), de statusregel (waar het paneel opent; op de telefoon op de rechterrand
 * van de zichtbare pil), de laag en de lade (de prop lade). Die eigen regels zijn sinds ticket 43358 weg, na een meting
 * op 390, 599,5 en 1440 px (punt 2 van ticket 41620). Sinds ticket 44724 is ook de eigen regel voor de statusregel op de
 * telefoon weg: die liet haar ook onder 360 px over meer regels breken (keuze b van Interface op ticket 41809), en dat
 * doet de bundel nu, want de pil zet data-staat (dank, fout of onzeker) op de statusregel (K8 van de lezing van pull
 * request 213, de keuze van Interface op ticket 44725; spec 15 van 1.0.53 en 1.0.54, rij Statusregel). Hier staat alleen
 * wat de bundel anders zegt. Geen letterlijke maat of kleur: alles is een token. */
/* De hoogte van de plek: --hero-pil-afstand plus 16 px, 58 px op de laptop en 66 op de telefoon. De bundel geeft de plek
 * de ruimte van de pil uit de schil (--hero-pil-ruimte, 48 px buiten de schil); de kickstart houdt haar eigen hoogte,
 * zodat pil en paneel in een app op dezelfde plek blijven. */
:where(.app-kto) .hero-versiepil-plek {
  position: relative;
  height: calc(var(--hero-pil-afstand) + var(--hero-ruimte-16));
}
/* Het tabblad Klanten (hoofdstuk 7.7): klant toevoegen, de lijst van klanten, en per klant de onderdelen, de contacten en
   het inlezen van een lijst. Alleen wat het ontwerpsysteem niet zelf zegt, op zijn tokens. De regels voor een smal vlak
   vragen de container .kto-omgeving (omgeving.css), niet het venster: het ontwerpsysteem zet de gestapelde tabel en de
   velden in één kolom alleen bij een smal venster, dus deze app doet dat zelf voor een smal vlak in de shell. */
:where(.app-kto) .kto-klanten { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); max-width: 1120px; margin: 0 auto; min-width: 0; }
:where(.app-kto) .kto-klanten-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-kop { margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-lg); font-weight: var(--hero-gewicht-kop); line-height: 1.3; overflow-wrap: anywhere; }
:where(.app-kto) .kto-uitleg { margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); line-height: 1.5; }
:where(.app-kto) .kto-gedempt { color: var(--h-tekst-3); }
:where(.app-kto) .kto-optioneel { margin-left: var(--hero-ruimte-4); color: var(--h-tekst-3); font-weight: 400; }
:where(.app-kto) .kto-klanten-melding { max-width: 720px; }
:where(.app-kto) .kto-klanten-melding p { overflow-wrap: anywhere; }
:where(.app-kto) .kto-bevestig { max-width: 720px; }
:where(.app-kto) .hero-leeg.kto-leeg-klein { margin: 0; max-width: none; }
:where(.app-kto) .kto-leeg-regel { margin: 0; padding: var(--hero-ruimte-12) var(--hero-ruimte-16); border: 1px dashed var(--h-rand); border-radius: var(--hero-radius-l); color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); }

/* Klant of project toevoegen: twee wegen naast elkaar, op een smal vlak onder elkaar. */
:where(.app-kto) .kto-toevoegen { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-toevoegen-kop { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); }
/* Sinds K7-1 even breed: weg 1 toont een account met zijn boom en twee lijsten, en heeft de ruimte nodig. Onder 900
   pixels staan de wegen onder elkaar, zodat weg 1 niet smaller wordt dan de lijsten nodig hebben. */
:where(.app-kto) .kto-wegen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hero-ruimte-16); align-items: start; }
@container (width < 900px) {
  :where(.app-kto) .kto-wegen { grid-template-columns: minmax(0, 1fr); }
}
:where(.app-kto) .kto-weg { min-width: 0; }
:where(.app-kto) .kto-weg-voet { margin: var(--hero-ruimte-12) 0 0; }

/* Weg 1: de klantgegevens van Hero (versie K7-1). Lopende tekst in tekst-2 (kto-uitleg), ook op vlak-2 (de actieve
   treffer): tekst-3 haalt daar in donker geen 4,5. De lijsten van personen schuiven in een eigen vlak, zodat 200
   personen de pagina niet laten groeien; een lange naam breekt af in plaats van de pagina breder te maken. */
:where(.app-kto) .kto-crm { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-crm-zoek { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); min-width: 0; }
:where(.app-kto) .kto-crm-zoek > .hero-zoekveld { flex: none; min-width: 0; }
:where(.app-kto) .kto-crm-status { min-height: 1.5em; }
:where(.app-kto) .kto-crm-treffers { margin: 0; padding: var(--hero-ruimte-4); list-style: none; max-height: 320px; overflow-y: auto; border: 1px solid var(--h-rand); border-radius: var(--hero-radius-m); background: var(--h-vlak); }
:where(.app-kto) .kto-crm-treffer { display: flex; flex-direction: column; gap: 2px; padding: var(--hero-ruimte-8); border-radius: var(--hero-radius-s); cursor: pointer; overflow-wrap: anywhere; }
:where(.app-kto) .kto-crm-treffer.is-actief { background: var(--h-vlak-2); box-shadow: inset 3px 0 0 var(--h-focus); }
@media (hover: hover) {
  :where(.app-kto) .kto-crm-treffer:hover { background: var(--h-vlak-2); }
}
:where(.app-kto) .kto-crm-treffer-naam { font-size: var(--hero-tekst-sm); font-weight: 600; }
:where(.app-kto) .kto-crm-account { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); min-width: 0; padding-top: var(--hero-ruimte-12); border-top: 1px solid var(--h-rand); }
:where(.app-kto) .kto-crm-account-kop { display: flex; flex-direction: column; gap: 2px; }
:where(.app-kto) .kto-crm-naam { margin: 0; font-size: var(--hero-tekst-md); font-weight: 600; overflow-wrap: anywhere; }
:where(.app-kto) .kto-crm-aantallen { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-crm-deel { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); min-width: 0; }
:where(.app-kto) .kto-crm-titel { margin: 0; font-size: var(--hero-tekst-sm); font-weight: 600; }
:where(.app-kto) .kto-crm-boom, :where(.app-kto) .kto-crm-boom ul { margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .kto-crm-boom ul { margin-left: var(--hero-ruimte-8); padding-left: var(--hero-ruimte-12); border-left: 1px solid var(--h-rand); }
:where(.app-kto) .kto-crm-knoop { display: flex; flex-direction: column; padding: var(--hero-ruimte-4) 0; font-size: var(--hero-tekst-sm); overflow-wrap: anywhere; }
:where(.app-kto) .kto-crm-knoop .kto-uitleg { font-size: var(--hero-tekst-xs); }
:where(.app-kto) .kto-crm-lijst { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--h-rand); border-radius: var(--hero-radius-m); }
:where(.app-kto) .kto-crm-lijst:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; }
:where(.app-kto) .kto-crm-lijst ul { margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .kto-crm-persoon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--hero-ruimte-8); padding: var(--hero-ruimte-8) var(--hero-ruimte-12); border-bottom: 1px solid var(--h-rand); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-crm-persoon:last-child { border-bottom: 0; }
:where(.app-kto) .kto-crm-persoon-naam { font-weight: 600; overflow-wrap: anywhere; }
:where(.app-kto) .kto-crm-persoon > .kto-uitleg { grid-column: 1; font-size: var(--hero-tekst-xs); overflow-wrap: anywhere; }
:where(.app-kto) .kto-crm-mail { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: var(--hero-ruimte-4); color: var(--h-tekst-2); font-size: var(--hero-tekst-xs); white-space: nowrap; }
:where(.app-kto) .kto-crm-mail .hero-icoon { width: 14px; height: 14px; }

/* Het scherm Indeling uit de klantgegevens (versie K7-5a): de knop naast Klant toevoegen, de invoer (startaccounts, het
   vinkje en de woorden) en het voorstel als boom per hoofdaccount. Een lijst in een lijst met een lijn links, zoals de
   boom van weg 1; lopende tekst in tekst-2 (kto-uitleg), ook op vlak-2. */
:where(.app-kto) .kto-klanten-acties { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-indeling { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-indeling-kop { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-indeling-kop > .kto-toevoegen-kop { flex: 1 1 320px; min-width: 0; }
:where(.app-kto) .kto-indeling-invoer { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); min-width: 0; max-width: 720px; }
:where(.app-kto) .kto-indeling-starts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--hero-ruimte-4); }
:where(.app-kto) .kto-indeling-start { display: flex; align-items: center; justify-content: space-between; gap: var(--hero-ruimte-8); padding: 2px 2px 2px var(--hero-ruimte-12); border: 1px solid var(--h-rand); border-radius: var(--hero-radius-m); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-indeling-start-naam { min-width: 0; overflow-wrap: anywhere; }
:where(.app-kto) .kto-indeling-start > .hero-knop { flex: none; }
:where(.app-kto) .kto-indeling-vol:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; }
:where(.app-kto) .kto-indeling-acties { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-indeling-voorstel { min-width: 0; }
:where(.app-kto) .kto-indeling-voorstel-kop { flex-wrap: wrap; justify-content: space-between; }
:where(.app-kto) .kto-indeling-body { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); min-width: 0; }
:where(.app-kto) .kto-indeling-aantallen { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-indeling-aantallen > li { padding: var(--hero-ruimte-4) var(--hero-ruimte-12); border-radius: var(--hero-radius-m); background: var(--h-vlak-2); color: var(--h-tekst); font-size: var(--hero-tekst-sm); font-weight: 600; }
:where(.app-kto) .kto-indeling-lijst { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-indeling-hoofd { min-width: 0; padding: var(--hero-ruimte-12); border: 1px solid var(--h-rand); border-radius: var(--hero-radius-m); }
:where(.app-kto) .kto-indeling-boom { margin: var(--hero-ruimte-8) 0 0 var(--hero-ruimte-8); padding: 0 0 0 var(--hero-ruimte-12); list-style: none; border-left: 1px solid var(--h-rand); }
:where(.app-kto) .kto-indeling-knoop { min-width: 0; padding: var(--hero-ruimte-4) 0; }
:where(.app-kto) .kto-indeling-regel { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
:where(.app-kto) .kto-indeling-regel > .kto-uitleg { font-size: var(--hero-tekst-xs); overflow-wrap: anywhere; }
:where(.app-kto) .kto-indeling-naam { margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-sm); font-weight: 600; overflow-wrap: anywhere; }
:where(.app-kto) .kto-indeling-naam.is-kop { font-size: var(--hero-tekst-md); }
:where(.app-kto) .kto-indeling-twijfel { gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-indeling-twijfel > .kto-indeling-knoop { padding: var(--hero-ruimte-8) var(--hero-ruimte-12); border: 1px dashed var(--h-rand); border-radius: var(--hero-radius-m); }
:where(.app-kto) .kto-indeling-telling > summary { width: -moz-fit-content; width: fit-content; cursor: pointer; color: var(--h-tekst); font-size: var(--hero-tekst-sm); font-weight: 600; }
:where(.app-kto) .kto-indeling-telling > summary:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; border-radius: var(--hero-radius-s); }
:where(.app-kto) .kto-indeling-telling[open] > summary { margin-bottom: var(--hero-ruimte-8); }
:where(.app-kto) .kto-indeling-tellingen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--hero-ruimte-16); margin-top: var(--hero-ruimte-8); }
:where(.app-kto) .kto-indeling-tabel { width: 100%; }

/* Formulieren: de velden van het ontwerpsysteem, met de knoppen eronder. */
:where(.app-kto) .kto-formulier { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); min-width: 0; }
:where(.app-kto) .kto-formulier-kaart { min-width: 0; }
:where(.app-kto) .kto-velden { min-width: 0; }
:where(.app-kto) .kto-velden .hero-veld { min-width: 0; }
:where(.app-kto) .kto-velden textarea.hero-invoer { min-height: 72px; resize: vertical; }
:where(.app-kto) .kto-vast-veld { display: inline-flex; align-items: center; gap: var(--hero-ruimte-8); min-height: 36px; margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-vast-veld .hero-icoon { width: 14px; height: 14px; color: var(--h-tekst-3); }

/* Tabellen: de tabel van het ontwerpsysteem in een kaart; een mailadres breekt waar het moet. */
:where(.app-kto) .kto-tabel-kaart { min-width: 0; }
:where(.app-kto) .kto-cel-naam { min-width: 0; }
:where(.app-kto) .kto-cel-naam .hero-sub { display: block; }
:where(.app-kto) .kto-cel-mail { overflow-wrap: anywhere; word-break: break-word; }
:where(.app-kto) .kto-cel-acties { text-align: right; white-space: nowrap; }
:where(.app-kto) .kto-cel-acties .hero-knopgroep { justify-content: flex-end; flex-wrap: wrap; }
:where(.app-kto) .kto-leeg-cel { color: var(--h-tekst-3); }
:where(.app-kto) .kto-rij-zonder td { color: var(--h-tekst-2); font-style: italic; }
:where(.app-kto) .kto-rij-groep td { border-top: 2px solid var(--h-rand-sterk); background: var(--h-vlak-2); }
/* Op vlak-2 haalt tekst-3 in donker geen 4,5 (3,65); tekst-2 wel. */
:where(.app-kto) .kto-rij-groep td.kto-gedempt { color: var(--h-tekst-2); }
/* De laatste meting (versie 0.7.9, K6): het cijfer met de maand, de doelgroep klein eronder, in tekst-2 (haalt 4,5 op
   vlak en vlak-2, licht en donker). */
:where(.app-kto) .kto-laatste { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
:where(.app-kto) .kto-laatste-cijfer { color: var(--h-tekst); }
:where(.app-kto) .kto-laatste-doelgroep { color: var(--h-tekst-2); font-size: var(--hero-tekst-xs); line-height: 1.3; }
:where(.app-kto) .hero-tabel tbody tr.is-uitgesloten td { color: var(--h-tekst-3); }
:where(.app-kto) .hero-tabel tbody tr.is-uitgesloten .hero-vet { text-decoration: line-through; text-decoration-color: var(--h-tekst-3); }
:where(.app-kto) .kto-tabel-voet { margin: 0; padding: var(--hero-ruimte-8) var(--hero-ruimte-16); border-top: 1px solid var(--h-rand); color: var(--h-tekst-2); font-size: var(--hero-tekst-xs); }

/* Een knop die eruitziet als een link (de naam van een klant of onderdeel opent die klant of zijn contacten). */
:where(.app-kto) .kto-linkknop {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--h-link);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}
:where(.app-kto) .kto-linkknop:hover { color: var(--h-link-hover); text-decoration: underline; }
:where(.app-kto) .kto-linkknop:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); border-radius: var(--hero-radius-s); }

/* Een naam in de rij zelf wijzigen, en een onderdeel toevoegen onder de tabel. */
:where(.app-kto) .kto-inline { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); min-width: 0; }
:where(.app-kto) .kto-inline-rij { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .kto-inline-rij .hero-invoer { flex: 1 1 200px; min-width: 0; width: auto; }
:where(.app-kto) .kto-inline-fout { margin: 0; }
:where(.app-kto) .kto-onderdeel-nieuw { max-width: 560px; }

/* De onderdelen en de contacten van een klant. */
:where(.app-kto) .kto-onderdelen, :where(.app-kto) .kto-contacten { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-sectie-acties { margin-left: auto; flex-wrap: wrap; }
/* De opvolging van een klant (versie 0.7.2): de drempels en het mailadres, of het formulier om ze te wijzigen. */
:where(.app-kto) .kto-opvolging { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-opvolging-waarden { max-width: 720px; margin: 0; }
:where(.app-kto) .kto-opvolging-formulier { max-width: 720px; }
:where(.app-kto) .kto-opvolging-veld { min-width: 0; }
:where(.app-kto) .kto-opvolging-formulier .hero-velden { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:where(.app-kto) .kto-contacten .hero-sectiekop { flex-wrap: wrap; }
:where(.app-kto) .kto-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-filter-onderdeel { display: inline-flex; align-items: center; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .kto-filter-onderdeel .hero-label { margin: 0; white-space: nowrap; }
:where(.app-kto) .kto-filter-onderdeel .hero-invoer { width: auto; min-width: 0; max-width: 240px; }
:where(.app-kto) .kto-aantal { margin-left: auto; font-size: var(--hero-tekst-xs); }
:where(.app-kto) .kto-anker { scroll-margin-top: var(--hero-ruimte-16); }

/* Eén klant: terug, de kaart met naam en gegevens, dan onderdelen en contacten. */
:where(.app-kto) .kto-klant { display: flex; flex-direction: column; gap: var(--hero-ruimte-20); min-width: 0; }
:where(.app-kto) .kto-terug { align-self: flex-start; }
:where(.app-kto) .kto-klant-kaart { min-width: 0; }
:where(.app-kto) .kto-klant-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-klant-titelblok { display: flex; align-items: center; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-klant-titel { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); min-width: 0; }
:where(.app-kto) .kto-klant-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-4) var(--hero-ruimte-12); margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-klant-acties { flex-wrap: wrap; }
:where(.app-kto) .kto-klant-wijzig { border-top: 1px solid var(--h-rand); }
:where(.app-kto) .kto-jij { margin-left: var(--hero-ruimte-8); }

/* Lijst inlezen: de keuzes, het bestand, de herkende kolommen, de telling en de rijen met hun meldingen. */
:where(.app-kto) .kto-lijst { min-width: 0; }
:where(.app-kto) .hero-invoer.kto-bestand { padding: 6px; height: auto; min-height: 40px; }
:where(.app-kto) .kto-kolommen { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-kolommen .hero-label { margin: 0; }
:where(.app-kto) .kto-kolommen-lijst { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8); margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .kto-kolommen-lijst li {
  padding: 2px var(--hero-ruimte-8);
  border: 1px solid var(--h-rand);
  border-radius: 999px;
  font-size: var(--hero-tekst-xs);
  overflow-wrap: anywhere;
}
:where(.app-kto) .kto-kolommen-lijst li.is-gebruikt { border-color: var(--h-goed-rand); background: var(--h-goed-licht); color: var(--h-goed-tekst); }
:where(.app-kto) .kto-kolommen-lijst li.is-niet { color: var(--h-tekst-3); text-decoration: line-through; }
:where(.app-kto) .kto-telling { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8) var(--hero-ruimte-16); margin: 0; padding: 0; list-style: none; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-telling-goed { color: var(--h-goed-tekst); font-weight: 600; }
:where(.app-kto) .kto-telling-fout { color: var(--h-fout-tekst); font-weight: 600; }
:where(.app-kto) .kto-telling-let-op { color: var(--h-waarschuwing-tekst); font-weight: 600; }
:where(.app-kto) .kto-meldingen { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; font-size: var(--hero-tekst-xs); }
:where(.app-kto) .kto-meldingen .is-fout { color: var(--h-fout-tekst); }
:where(.app-kto) .kto-meldingen .is-let-op { color: var(--h-waarschuwing-tekst); }

/* Smal vlak (de telefoon, of een smal vlak in de shell). */
@container (width < 600px) {
  :where(.app-kto) .hero-velden.kto-velden { grid-template-columns: minmax(0, 1fr); }
  :where(.app-kto) .kto-klanten-acties { width: 100%; }
  :where(.app-kto) .kto-klanten-acties > .hero-knop { flex: 1 1 100%; justify-content: center; }
  :where(.app-kto) .kto-indeling-kop > .hero-knop { width: 100%; justify-content: center; }
  :where(.app-kto) .kto-indeling-acties > .hero-knop { flex: 1 1 100%; justify-content: center; }
  :where(.app-kto) .kto-sectie-acties { width: 100%; margin-left: 0; }
  :where(.app-kto) .kto-sectie-acties .hero-knop { flex: 1 1 auto; justify-content: center; }
  :where(.app-kto) .kto-filters { align-items: stretch; }
  :where(.app-kto) .kto-filters .hero-segmenten { width: 100%; }
  :where(.app-kto) .kto-filters .hero-segment { flex: 1 1 0; }
  :where(.app-kto) .kto-filter-onderdeel { width: 100%; }
  :where(.app-kto) .kto-filter-onderdeel .hero-invoer { flex: 1 1 auto; max-width: none; }
  :where(.app-kto) .kto-aantal { margin-left: 0; }
  :where(.app-kto) .kto-klant-acties { width: 100%; }

  /* De gestapelde tabel van het ontwerpsysteem (componenten.css en aanvulling.css onder 600 px), hier voor de container. */
  :where(.app-kto) .kto-tabel-stapel thead { display: none; }
  :where(.app-kto) .kto-tabel-stapel, :where(.app-kto) .kto-tabel-stapel tbody, :where(.app-kto) .kto-tabel-stapel tr, :where(.app-kto) .kto-tabel-stapel td { display: block; width: 100%; }
  :where(.app-kto) .kto-tabel-stapel tr { padding: 10px 12px; border-bottom: 1px solid var(--h-rand); box-sizing: border-box; }
  :where(.app-kto) .kto-tabel-stapel tbody tr:last-child { border-bottom: 0; }
  :where(.app-kto) .kto-tabel-stapel td { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: auto; padding: 4px 0; border: 0; text-align: right; box-sizing: border-box; }
  /* De rijhoogte van 56 px uit aanvulling.css (.hero-tabel tbody td) geldt voor een tabelregel, niet voor elke gestapelde cel. */
  :where(.app-kto) .hero-tabel.kto-tabel-stapel tbody td { height: auto; }
  :where(.app-kto) .kto-tabel-stapel td::before { content: attr(data-label); flex: none; max-width: 45%; font-size: 12px; color: var(--h-tekst-3); text-align: left; }
  :where(.app-kto) .kto-tabel-stapel td:not([data-label])::before { display: none; }
  :where(.app-kto) .kto-tabel-stapel td:not([data-label]) { text-align: left; justify-content: flex-start; }
  :where(.app-kto) .kto-tabel-stapel td > * { min-width: 0; }
  :where(.app-kto) .kto-tabel-stapel .kto-cel-naam { display: block; }
  :where(.app-kto) .kto-tabel-stapel .kto-cel-acties { justify-content: flex-start; white-space: normal; padding-top: var(--hero-ruimte-8); }
  :where(.app-kto) .kto-tabel-stapel .kto-cel-acties .hero-knopgroep { justify-content: flex-start; }
  :where(.app-kto) .kto-tabel-stapel .kto-leeg-cel { display: none; }
  :where(.app-kto) .kto-tabel-stapel .kto-rij-groep td { border-top: 0; background: transparent; }
  :where(.app-kto) .kto-tabel-stapel tr.kto-rij-groep { border-top: 2px solid var(--h-rand-sterk); background: var(--h-vlak-2); }
  :where(.app-kto) .kto-tabel-stapel .kto-rij-groep td::before { color: var(--h-tekst-2); }
  :where(.app-kto) .kto-tabel-stapel .kto-meldingen { text-align: right; }
  :where(.app-kto) .kto-tabel-stapel .kto-laatste { align-items: flex-end; }
  :where(.app-kto) .kto-tabel-stapel tbody tr:hover td { background: transparent; }
}
/* De metingen van een klant (hoofdstuk 7.2, versie 0.5 en 0.6: K8 tot K11): de lijst, een meting met haar instellingen,
   de klaarlijst met de samenvatting vóór het versturen en de ontvangers met hun verzendstand. Alleen wat het ontwerpsysteem en klanten.css niet zelf zeggen, op de tokens. De
   regels voor een smal vlak vragen de container .kto-omgeving (omgeving.css), niet het venster. */

/* Met een open meting krijgt het tabblad de breedte van Klanten: de tabel van de ontvangers heeft meer kolommen. */
:where(.app-kto) .kto-meting:has(.kto-meting-detail) { max-width: 1120px; }

:where(.app-kto) .kto-metingen, :where(.app-kto) .kto-meting-detail, :where(.app-kto) .kto-ontvangers { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); min-width: 0; }
:where(.app-kto) .kto-meting-detail { gap: var(--hero-ruimte-20); }
:where(.app-kto) .kto-metingen .hero-sectiekop, :where(.app-kto) .kto-ontvangers .hero-sectiekop { flex-wrap: wrap; }
/* Zonder knoppen (na het versturen) is de kop het laatste kind; het ontwerpsysteem zet dat achter de lijn. Hij blijft vooraan. */
:where(.app-kto) .kto-ontvangers > .hero-sectiekop > h3:first-child { order: 0; }

/* De kop van een meting: naam, status en gegevens, met de acties ernaast. */
:where(.app-kto) .kto-meting-kaart { min-width: 0; }
:where(.app-kto) .kto-meting-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hero-ruimte-12); }

/* De instellingen: een fieldset zonder eigen rand, want de kaart is de rand. */
:where(.app-kto) .kto-instellingen { min-width: 0; margin: 0; border: 0; }
:where(.app-kto) .kto-instellingen:disabled .hero-invoer { cursor: not-allowed; }
:where(.app-kto) .kto-keuzes { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); min-width: 0; margin: 0; padding: 0; border: 0; }
:where(.app-kto) .kto-keuzes .hero-label { margin-bottom: var(--hero-ruimte-4); padding: 0; }

/* De herinneringen: een chip per dag met een kruisje, en een veld met knop voor een nieuwe dag. */
:where(.app-kto) .kto-dagen { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); margin: 0 0 var(--hero-ruimte-8); padding: 0; list-style: none; }
:where(.app-kto) .hero-chip.kto-dag { gap: var(--hero-ruimte-4); padding-right: var(--hero-ruimte-4); cursor: default; }
:where(.app-kto) .kto-dag-weg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--h-tekst-2);
  cursor: pointer;
}
:where(.app-kto) .kto-dag-weg:hover { background: var(--h-vlak-2); color: var(--h-tekst); }
:where(.app-kto) .kto-dag-weg:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }
:where(.app-kto) .kto-dag-weg .hero-icoon { width: 14px; height: 14px; }
:where(.app-kto) .kto-dag-nieuw .hero-invoer { flex: 0 1 120px; }

/* Klaar om in te plannen: wat nog ontbreekt, of dat alles klaar is. */
:where(.app-kto) .kto-klaarlijst { min-width: 0; }
:where(.app-kto) .kto-klaarlijst[data-kan="true"] { border-color: var(--h-goed-rand); }
:where(.app-kto) .kto-klaar-regel { display: flex; align-items: center; gap: var(--hero-ruimte-8); margin: 0; color: var(--h-goed-tekst); font-size: var(--hero-tekst-sm); font-weight: 600; }
:where(.app-kto) .kto-klaar-regel .hero-icoon { flex: none; width: 18px; height: 18px; }
:where(.app-kto) .kto-punten { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .kto-punten li { display: flex; align-items: flex-start; gap: var(--hero-ruimte-8); color: var(--h-tekst); font-size: var(--hero-tekst-sm); line-height: 1.45; overflow-wrap: anywhere; }
:where(.app-kto) .kto-punten .hero-icoon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--h-fout-tekst); }

/* De samenvatting vóór het versturen (M5): per punt de naam en de waarde, op een smal vlak onder elkaar. */
:where(.app-kto) .kto-samenvatting { max-width: 720px; }
:where(.app-kto) .kto-samenvatting-lijst { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--hero-ruimte-8) var(--hero-ruimte-16); margin: var(--hero-ruimte-8) 0 var(--hero-ruimte-12); }
:where(.app-kto) .kto-samenvatting-lijst > div { display: contents; }
:where(.app-kto) .kto-samenvatting-lijst dt { color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-samenvatting-lijst dd { display: flex; flex-direction: column; gap: 2px; margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-sm); font-weight: 600; overflow-wrap: anywhere; }
:where(.app-kto) .kto-samenvatting-lijst dd .hero-sub { font-weight: 400; }

/* De stand van een uitnodiging na het versturen: de status met een toelichting eronder. */
:where(.app-kto) .kto-verzendstand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }

/* De ontvangers: de telling boven de tabel, een rij met een blokkade gemarkeerd. */
:where(.app-kto) .kto-ontvangers-telling { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .hero-tabel tbody tr.is-geblokkeerd td:first-child { box-shadow: inset 3px 0 0 var(--h-waarschuwing-tekst); }
:where(.app-kto) .kto-uit-contacten { min-width: 0; }
/* De keuze Account of onderdeel boven de voorstellen (versie 0.7.8): zo breed als een naam, in een smal vlak de hele breedte. */
:where(.app-kto) .kto-uit-contacten-keuze .hero-invoer { width: auto; max-width: 320px; min-width: 0; }
:where(.app-kto) .kto-cel-vink { width: 44px; }
/* Alles kiezen in de kolomkop van Uit contacten: in een brede tabel alleen de vink (de naam staat in aria-label), in een
   smalle container een balk boven de kaartjes met de vink en de tekst, want daar verdwijnt de kolomkop (versie 0.7.8). */
:where(.app-kto) .kto-alles-kiezen { display: inline-flex; align-items: center; gap: var(--hero-ruimte-8); cursor: pointer; }
:where(.app-kto) .kto-alles-kiezen-tekst { display: none; }
:where(.app-kto) .kto-kenmerken { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); min-width: 0; margin: 0; padding: var(--hero-ruimte-12) 0 0; border: 0; border-top: 1px solid var(--h-rand); }
:where(.app-kto) .kto-kenmerken > .hero-label { padding: 0; }

@container (width < 600px) {
  :where(.app-kto) .kto-meting-kop .kto-klant-acties { width: 100%; }
  :where(.app-kto) .kto-samenvatting-lijst { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  :where(.app-kto) .kto-samenvatting-lijst dd { margin-bottom: var(--hero-ruimte-8); }
  :where(.app-kto) .kto-tabel-stapel .kto-verzendstand { align-items: flex-end; text-align: right; }
  :where(.app-kto) .kto-dag-nieuw .hero-invoer { flex: 1 1 auto; }
  :where(.app-kto) .kto-uit-contacten-keuze .hero-invoer { width: 100%; max-width: none; }
  :where(.app-kto) .kto-tabel-stapel .kto-cel-vink { width: 100%; justify-content: flex-start; }
  :where(.app-kto) .kto-uit-contacten .kto-tabel-stapel thead { display: block; width: 100%; }
  :where(.app-kto) .kto-uit-contacten .kto-tabel-stapel thead tr { padding: 0; border-bottom: 0; }
  :where(.app-kto) .kto-uit-contacten .kto-tabel-stapel thead th { display: none; }
  :where(.app-kto) .kto-uit-contacten .kto-tabel-stapel thead th.kto-cel-vink { display: block; width: 100%; box-sizing: border-box; }
  :where(.app-kto) .kto-uit-contacten .kto-alles-kiezen { display: flex; min-height: 32px; }
  :where(.app-kto) .kto-uit-contacten .kto-alles-kiezen-tekst { display: inline; }
  :where(.app-kto) .kto-tabel-stapel tr.is-geblokkeerd { box-shadow: inset 3px 0 0 var(--h-waarschuwing-tekst); }
  :where(.app-kto) .hero-tabel.kto-tabel-stapel tbody tr.is-geblokkeerd td:first-child { box-shadow: none; }
}
/* Het tabblad Mail opmaken (hoofdstuk 7.3, versie 0.5: K9): de keuze van de meting, de drie soorten, de velden met de
   invoegvelden naast een voorbeeld dat meebeweegt. Alleen wat het ontwerpsysteem en klanten.css niet zelf zeggen, op de
   tokens. De regels voor een smal vlak vragen de container .kto-omgeving (omgeving.css), niet het venster. */
:where(.app-kto) .kto-mail { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); max-width: 1440px; margin: 0 auto; min-width: 0; }
:where(.app-kto) .kto-mail-balk { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8) var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-mail-balk .hero-label { margin: 0; }
:where(.app-kto) .hero-invoer.kto-mail-meting { flex: 0 1 480px; width: auto; min-width: 0; }

:where(.app-kto) .kto-mail-werk { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); min-width: 0; }
:where(.app-kto) .kto-mail-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-mail-soorten { align-self: flex-start; }
:where(.app-kto) .kto-gewijzigd-stip { display: inline-block; width: 8px; height: 8px; margin-left: var(--hero-ruimte-4); border-radius: 50%; background: var(--hero-orange); }

/* Editor en voorbeeld naast elkaar; het voorbeeld is zo breed als het venster van een mailprogramma (680 px). */
:where(.app-kto) .kto-mail-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px); gap: var(--hero-ruimte-16); align-items: start; }
:where(.app-kto) .kto-mail-editor, :where(.app-kto) .kto-mail-voorbeeld { min-width: 0; }
:where(.app-kto) .kto-mail-velden { grid-template-columns: minmax(0, 1fr); }
:where(.app-kto) .kto-mail-velden textarea.hero-invoer { min-height: 220px; }
:where(.app-kto) .kto-mail-acties { flex-wrap: wrap; }
:where(.app-kto) .kto-niet-opgeslagen { margin: 0; font-size: var(--hero-tekst-xs); }

/* De invoegvelden: een chip per veld, die het veld invoegt waar de cursor staat. */
:where(.app-kto) .kto-invoegvelden, :where(.app-kto) .kto-omlijsting { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .kto-invoegvelden .hero-label, :where(.app-kto) .kto-omlijsting .hero-label { margin: 0; }
:where(.app-kto) .kto-chips { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8); margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .kto-chips .hero-chip { font-size: var(--hero-tekst-xs); }
:where(.app-kto) .kto-omlijsting { padding: var(--hero-ruimte-12); border: 1px dashed var(--h-rand); border-radius: var(--hero-radius-l); background: var(--h-vlak-2); }
:where(.app-kto) .kto-omlijsting-tekst { margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
:where(.app-kto) .kto-omlijsting-voet { font-size: var(--hero-tekst-xs); color: var(--h-tekst-3); }
:where(.app-kto) .kto-meldingen-lijst { margin: var(--hero-ruimte-4) 0 0; padding-left: var(--hero-ruimte-16); }
:where(.app-kto) .kto-meldingen-lijst li { overflow-wrap: anywhere; }

/* Het voorbeeld: de keuzes, van wie en het onderwerp, en het vlak met de mail. */
:where(.app-kto) .kto-voorbeeld-keuzes { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8) var(--hero-ruimte-12); }
:where(.app-kto) .kto-voorbeeld-kop { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); margin: 0; padding: var(--hero-ruimte-8) var(--hero-ruimte-12); border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-voorbeeld-kop div { display: flex; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .kto-voorbeeld-kop dt { flex: none; width: 80px; color: var(--h-tekst-3); }
:where(.app-kto) .kto-voorbeeld-kop dd { margin: 0; min-width: 0; color: var(--h-tekst); font-weight: 600; overflow-wrap: anywhere; }
:where(.app-kto) .kto-voorbeeld-vlak { position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); background: var(--h-vlak-2); }
:where(.app-kto) .kto-voorbeeld-frame { display: block; max-width: none; border: 0; background: transparent; }
:where(.app-kto) .kto-uitleg .hero-icoon { width: 14px; height: 14px; margin-right: var(--hero-ruimte-4); vertical-align: -2px; }

/* Een vlak smaller dan editor en voorbeeld samen: onder elkaar, het voorbeeld onder de editor. */
@container (width < 1100px) {
  :where(.app-kto) .kto-mail-raster { grid-template-columns: minmax(0, 1fr); }
}

@container (width < 600px) {
  :where(.app-kto) .hero-invoer.kto-mail-meting { flex: 1 1 100%; }
  :where(.app-kto) .kto-mail-soorten { align-self: stretch; }
  :where(.app-kto) .kto-mail-soorten .hero-segment { flex: 1 1 0; justify-content: center; }
  :where(.app-kto) .kto-voorbeeld-keuzes .hero-segmenten { flex: 1 1 100%; }
  :where(.app-kto) .kto-voorbeeld-keuzes .hero-segment { flex: 1 1 0; justify-content: center; }
  :where(.app-kto) .kto-mail-acties .hero-knop { flex: 1 1 auto; justify-content: center; }
  :where(.app-kto) .kto-mail-kop > .hero-knop { width: 100%; justify-content: center; }
}
/* Het invulscherm (src/invullen/Invulscherm.tsx), op de tokens van het ontwerpsysteem. Het scherm is zelf de container:
   het past zich aan het vlak aan waarin het staat (het voorbeeld in een paneel, of straks een eigen pagina), niet aan
   het venster. Elk antwoord is een tikdoel van minstens --h-tikdoel (44 pixels). */
/* Met container-type telt de inhoud niet mee voor de breedte: daarom een expliciete breedte (in een flexkolom met auto
   marges zou het scherm anders nul breed worden). */
:where(.app-kto) .kto-invul {
  container-type: inline-size;
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-l);
  background: var(--h-vlak);
  overflow: hidden;
}

:where(.app-kto) .kto-invul-kop {
  display: flex;
  flex-direction: column;
  gap: var(--hero-ruimte-4);
  padding: var(--hero-ruimte-16) var(--hero-ruimte-24);
  background: var(--hero-blue);
  color: var(--hero-wit);
}
:where(.app-kto) .kto-invul-merk {
  display: inline-flex;
  align-items: center;
  gap: var(--hero-ruimte-8);
  font-size: var(--hero-tekst-sm);
  font-weight: var(--hero-gewicht-kop);
  letter-spacing: 0.02em;
}
/* De oranje stip van het merk. */
:where(.app-kto) .kto-invul-merk::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--hero-orange); }
:where(.app-kto) .kto-invul-titel { margin: 0; font-size: var(--hero-tekst-lg); line-height: 1.3; font-weight: var(--hero-gewicht-kop); color: var(--hero-wit); }

:where(.app-kto) .kto-invul-vlak { display: flex; flex-direction: column; gap: var(--hero-ruimte-20); padding: var(--hero-ruimte-24); }

:where(.app-kto) .kto-invul-voortgang { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-invul-teller {
  margin: 0;
  font-size: var(--hero-tekst-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--h-tekst-2);
}

/* Een vraag; een fieldset zonder de rand en ruimte van de browser. */
:where(.app-kto) .kto-invul-vraag { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); min-width: 0; margin: 0; padding: 0; border: 0; }
:where(.app-kto) .kto-invul-legend { padding: 0; }
:where(.app-kto) .kto-invul-vraagtekst {
  margin: 0;
  font-size: var(--hero-tekst-lg);
  line-height: 1.35;
  font-weight: var(--hero-gewicht-kop);
  color: var(--h-tekst);
}
:where(.app-kto) .kto-invul-vraagtekst:focus { outline: 0; }
:where(.app-kto) .kto-invul-vraagtekst:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); border-radius: var(--hero-radius-s); }
:where(.app-kto) .kto-invul-optioneel {
  display: inline-block;
  margin-left: var(--hero-ruimte-8);
  font-size: var(--hero-tekst-xs);
  font-weight: 500;
  color: var(--h-tekst-3);
  vertical-align: middle;
}
:where(.app-kto) .kto-invul-toelichting { margin: 0; font-style: italic; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); line-height: 1.5; }

/* Benoemde antwoorden en keuzes: een rij per antwoord, over de hele breedte. */
:where(.app-kto) .kto-invul-opties { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-invul-optie {
  display: flex;
  align-items: center;
  gap: var(--hero-ruimte-12);
  min-height: var(--h-tikdoel);
  padding: var(--hero-ruimte-8) var(--hero-ruimte-16);
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-m);
  background: var(--h-vlak);
  font-size: var(--hero-tekst-md);
  cursor: pointer;
}
:where(.app-kto) .kto-invul-optie .hero-radio { width: 20px; height: 20px; }
:where(.app-kto) .kto-invul-optie:has(:checked) { border-color: var(--h-actie); background: var(--h-info-licht); }
:where(.app-kto) .kto-invul-optie:has(:focus-visible) { box-shadow: var(--h-focus-ring); }
:where(.app-kto) .kto-invul-optie .hero-radio:focus-visible { outline: 0; }
/* De antwoorden staan in de gegevens in kleine letters ("zeer tevreden"); op het scherm met een hoofdletter. */
:where(.app-kto) .kto-invul-optietekst { display: inline-block; }
:where(.app-kto) .kto-invul-optie .kto-invul-optietekst::first-letter { text-transform: uppercase; }

/* Cijfers (rapportcijfer, aanbeveling): tegels in een raster, op twee rijen bij meer dan zes. */
:where(.app-kto) .kto-invul-cijfers { display: grid; grid-template-columns: repeat(var(--kolommen, 5), minmax(var(--h-tikdoel), 1fr)); gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-invul-cijfer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--h-rand);
  border-radius: var(--hero-radius-m);
  background: var(--h-vlak);
  font-size: var(--hero-tekst-md);
  font-weight: 600;
  color: var(--h-tekst);
  cursor: pointer;
}
/* Het keuzerondje zelf is onzichtbaar maar blijft het element dat de focus krijgt en de pijltjestoetsen volgt. */
:where(.app-kto) .kto-invul-cijfer-invoer { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
:where(.app-kto) .kto-invul-cijfer:has(:checked) { border-color: var(--h-actie); background: var(--h-actie); color: var(--h-actie-tekst); }
:where(.app-kto) .kto-invul-cijfer:has(:focus-visible) { box-shadow: var(--h-focus-ring); }
@media (hover: hover) {
  :where(.app-kto) .kto-invul-optie:hover, :where(.app-kto) .kto-invul-cijfer:hover { border-color: var(--h-rand-sterk); }
}

:where(.app-kto) .kto-invul-open { width: 100%; min-height: 112px; resize: vertical; font-size: var(--hero-tekst-md); }

:where(.app-kto) .kto-invul-fout { margin: 0; color: var(--h-fout-tekst); font-size: var(--hero-tekst-sm); font-weight: 600; }

/* De vervolgvraag staat direct onder de vraag, met een streep ervoor. */
:where(.app-kto) .kto-invul-vervolg:empty { display: none; }
:where(.app-kto) .kto-invul-vervolg > .kto-invul-vraag { padding-left: var(--hero-ruimte-16); border-left: 3px solid var(--hero-orange); }
:where(.app-kto) .kto-invul-vervolg .kto-invul-vraagtekst { font-size: var(--hero-tekst-md); }

:where(.app-kto) .kto-invul-knoppen { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-12); justify-content: space-between; }
:where(.app-kto) .kto-invul-volgende { margin-left: auto; }

/* De uitleg boven de eerste vraag (zoals die van een anonieme meting, I6). */
:where(.app-kto) .kto-invul-uitleg {
  padding: var(--hero-ruimte-12) var(--hero-ruimte-16);
  border-left: 3px solid var(--h-actie);
  border-radius: var(--hero-radius-s);
  background: var(--h-info-licht);
  color: var(--h-tekst);
  font-size: var(--hero-tekst-sm);
  line-height: 1.5;
}
:where(.app-kto) .kto-invul-uitleg p { margin: 0; }

/* Het slot van de invulpagina: V7 en Versturen; en de meldingen (gesloten, afgerond, ongeldig, bedankt). */
:where(.app-kto) .kto-invul-slot { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); }
:where(.app-kto) .kto-invul-slottekst, :where(.app-kto) .kto-invul-melding p { margin: 0; font-size: var(--hero-tekst-md); line-height: 1.5; color: var(--h-tekst); }
:where(.app-kto) .kto-invul-v7-vraag { display: block; font-size: var(--hero-tekst-md); line-height: 1.4; font-weight: 600; color: var(--h-tekst); }
:where(.app-kto) .kto-invul-melding .kto-invul-vraagtekst:focus { outline: 0; }
:where(.app-kto) .kto-invul-contact { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); padding-top: var(--hero-ruimte-12); border-top: 1px solid var(--h-rand); }
:where(.app-kto) .kto-invul-contact a { color: var(--h-link); font-weight: 600; overflow-wrap: anywhere; }
:where(.app-kto) .kto-invul-contactnaam { font-weight: 600; }
:where(.app-kto) .kto-invul-knoppen > .hero-knop[aria-disabled="true"] { opacity: 0.7; cursor: progress; }

:where(.app-kto) .kto-invul-einde:focus { outline: 0; }
:where(.app-kto) .kto-invul-einde:focus-visible { box-shadow: var(--h-focus-ring); border-radius: var(--hero-radius-m); }

/* Smal (een telefoon of een smal vlak): minder ruimte rond de vragen, de knoppen over de hele breedte. */
@container (width < 480px) {
  :where(.app-kto) .kto-invul-kop { padding: var(--hero-ruimte-12) var(--hero-ruimte-16); }
  :where(.app-kto) .kto-invul-titel { font-size: var(--hero-tekst-md); }
  :where(.app-kto) .kto-invul-vlak { gap: var(--hero-ruimte-16); padding: var(--hero-ruimte-16); }
  :where(.app-kto) .kto-invul-vraagtekst { font-size: var(--hero-tekst-md); }
  :where(.app-kto) .kto-invul-cijfers { gap: var(--hero-ruimte-4); }
  :where(.app-kto) .kto-invul-knoppen > .hero-knop { flex: 1 1 0; justify-content: center; }
}
/* Het tabblad Meting opzetten en het deel Vragenlijst, op de tokens van het ontwerpsysteem. De regels voor een smal vlak
   vragen de container .kto-omgeving (omgeving.css), niet het venster. */
:where(.app-kto) .kto-meting { display: flex; flex-direction: column; gap: var(--hero-ruimte-24); max-width: 960px; margin: 0 auto; }

:where(.app-kto) .kto-vragenlijst { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); }
:where(.app-kto) .kto-vragenlijst-intro { margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); line-height: 1.5; }

:where(.app-kto) .kto-vragenlijst-balk { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-doelgroepen .hero-segment { min-height: 36px; }
:where(.app-kto) .kto-vragenlijst-versie { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); margin: 0; }
:where(.app-kto) .kto-vragenlijst-aantal { color: var(--h-tekst-3); font-size: var(--hero-tekst-xs); }
:where(.app-kto) .kto-voorbeeld-knop { margin-left: auto; }
/* Het ontwerpsysteem geeft de lichte primaire knop geen grijs als hij uit staat (de secundaire wel): zonder vragenlijst
   (geen database, een fout) zag de knop eruit alsof hij werkt. Dezelfde kleuren als .hero-knop-secundair:disabled; de
   drie klassen wegen zwaarder dan de regel van het donkere thema van de huisstijl, de tokens volgen het thema zelf. */
:where(.app-kto) .kto-voorbeeld-knop.hero-knop.hero-knop-primair-licht:disabled {
  border-color: var(--h-rand);
  background: var(--h-vlak);
  color: var(--hero-grijs-regular);
}

:where(.app-kto) .kto-vragenlijst-fout { max-width: 640px; }

/* De vragen: een kaart met een regel per vraag; het nummer in een vaste kolom. */
:where(.app-kto) .kto-vragen { margin: 0; padding: 0; list-style: none; border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); background: var(--h-vlak); }
:where(.app-kto) .kto-vraag + .kto-vraag { border-top: 1px solid var(--h-rand); }
:where(.app-kto) .kto-vraag { padding: var(--hero-ruimte-12) var(--hero-ruimte-16); }
:where(.app-kto) .kto-vervolgen { margin: var(--hero-ruimte-8) 0 0; padding: 0 0 0 40px; list-style: none; }

:where(.app-kto) .kto-vraag-regel { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--hero-ruimte-12); align-items: start; }
:where(.app-kto) .kto-vraag-regel.is-vervolg { padding: var(--hero-ruimte-8) var(--hero-ruimte-12); border-left: 3px solid var(--hero-orange); border-radius: var(--hero-radius-s); background: var(--h-vlak-2); }
:where(.app-kto) .kto-vraag-nummer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--h-info-licht);
  color: var(--h-info-tekst);
  font-size: var(--hero-tekst-xs);
  font-weight: 700;
}
:where(.app-kto) .kto-vraag-regel.is-vervolg .kto-vraag-nummer { background: transparent; color: var(--hero-orange); }
:where(.app-kto) .kto-vraag-inhoud { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); min-width: 0; }
:where(.app-kto) .kto-vraag-voorwaarde { margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-xs); font-weight: 600; }
:where(.app-kto) .kto-vraag-tekst { margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-sm); line-height: 1.45; font-weight: 600; }
:where(.app-kto) .kto-vraag-toelichting { margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); line-height: 1.45; font-style: italic; }
:where(.app-kto) .kto-vraag-kenmerken {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hero-ruimte-4) var(--hero-ruimte-12);
  margin: var(--hero-ruimte-4) 0 0;
  padding: 0;
  list-style: none;
  color: var(--h-tekst-2);
  font-size: var(--hero-tekst-xs);
}
:where(.app-kto) .kto-vraag-verplicht { color: var(--h-tekst); font-weight: 600; }
:where(.app-kto) .kto-vraag-kern { display: inline-flex; align-items: center; gap: var(--hero-ruimte-4); color: var(--h-info-tekst); font-weight: 600; }
:where(.app-kto) .kto-vraag-kern .hero-icoon { width: 14px; height: 14px; }

/* De vragenlijst van een klant (K4): een klantvraag krijgt een oranje streep, zodat zij te onderscheiden is van een
   kernvraag op slot; onder haar kenmerken staan Wijzigen en Weghalen of het formulier. */
:where(.app-kto) .kto-vraag-regel.is-klantvraag { position: relative; }
:where(.app-kto) .kto-vraag-regel.is-klantvraag .kto-vraag-nummer { background: var(--h-waarschuwing-licht); color: var(--h-waarschuwing-tekst); }
:where(.app-kto) .kto-vraag-klant { display: inline-flex; align-items: center; gap: var(--hero-ruimte-4); color: var(--h-waarschuwing-tekst); font-weight: 600; }
:where(.app-kto) .kto-vraag-klant .hero-icoon { width: 14px; height: 14px; }
:where(.app-kto) .kto-vraag-keuzes { margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-xs); overflow-wrap: anywhere; }
:where(.app-kto) .kto-klantvraag-acties { margin-top: var(--hero-ruimte-8); flex-wrap: wrap; }
:where(.app-kto) .kto-vraag-inhoud > .kto-formulier-kaart, :where(.app-kto) .kto-vraag-inhoud > .kto-bevestig { margin-top: var(--hero-ruimte-8); }
:where(.app-kto) .kto-klantvraag-nieuw { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-12); }
:where(.app-kto) .kto-klantvraag-nieuw .hero-hint { margin: 0; }
:where(.app-kto) .kto-klantvraag-uitleg { display: flex; align-items: flex-start; gap: var(--hero-ruimte-8); margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-xs); line-height: 1.5; }
:where(.app-kto) .kto-klantvraag-uitleg .hero-icoon { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--h-info-tekst); }
:where(.app-kto) .kto-versies { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-versies-kop { margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-sm); font-weight: 600; }
:where(.app-kto) .kto-versies-lijst { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); background: var(--h-vlak); }
:where(.app-kto) .kto-versies-lijst li { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-4) var(--hero-ruimte-16); padding: var(--hero-ruimte-8) var(--hero-ruimte-16); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-versies-lijst li + li { border-top: 1px solid var(--h-rand); }

/* Het voorbeeld voor de ontvanger: de melding erboven en het invulscherm. */
:where(.app-kto) .kto-voorbeeld { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); }
:where(.app-kto) .kto-voorbeeld-melding { max-width: 680px; width: 100%; margin: 0 auto; box-sizing: border-box; }
:where(.app-kto) .kto-voorbeeld-titel { margin: 0; font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-voorbeeld-titel:focus { outline: 0; }
:where(.app-kto) .kto-voorbeeld-titel:focus-visible { box-shadow: var(--h-focus-ring); border-radius: var(--hero-radius-s); }
:where(.app-kto) .kto-voorbeeld-einde { display: flex; flex-direction: column; align-items: flex-start; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-voorbeeld-einde > .hero-icoon { width: 28px; height: 28px; color: var(--h-goed-tekst); }
:where(.app-kto) .kto-voorbeeld-einde-titel { margin: 0; font-size: var(--hero-tekst-lg); font-weight: var(--hero-gewicht-kop); color: var(--h-tekst); }
:where(.app-kto) .kto-voorbeeld-einde p { margin: 0; color: var(--h-tekst-2); }

@container (width < 600px) {
  :where(.app-kto) .kto-voorbeeld-knop { margin-left: 0; width: 100%; justify-content: center; }
  :where(.app-kto) .kto-vraag { padding: var(--hero-ruimte-12); }
  :where(.app-kto) .kto-vervolgen { padding-left: 0; }
  :where(.app-kto) .kto-klantvraag-nieuw > .hero-knop { width: 100%; justify-content: center; }
}
/* De panelen Overzicht (versie 0.7.0) en Reacties (versie 0.7.1): alleen wat het ontwerpsysteem niet zelf zegt, op
   zijn tokens, zodat licht en donker vanzelf meegaan. De smalle vorm volgt de container van de omgeving
   (.kto-omgeving), niet het venster. */
:where(.app-kto) .kto-overzicht, :where(.app-kto) .kto-meting-overzicht { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); min-width: 0; }

:where(.app-kto) .kto-overzicht-kop { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-overzicht-kopdeel { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); min-width: 0; flex: 1 1 320px; }
:where(.app-kto) .kto-overzicht-titelrij { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .kto-overzicht-titel { margin: 0; font-size: var(--hero-tekst-lg); line-height: 1.3; font-weight: var(--hero-gewicht-kop); color: var(--h-tekst); overflow-wrap: anywhere; }
:where(.app-kto) .kto-overzicht-sub { margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); line-height: 1.5; overflow-wrap: anywhere; }

/* De gedeelde keuze: de doelgroep en de meting, rechts naast de titel. */
:where(.app-kto) .kto-resultaat-keuze { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-resultaat-meting { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); min-width: 0; }
:where(.app-kto) .kto-resultaat-meting .hero-invoer { width: auto; max-width: 320px; min-width: 0; }

/* De tegels: het label is een echte kop, zonder de marge van een kop. */
:where(.app-kto) .kto-tegel { align-items: flex-start; }
:where(.app-kto) .kto-tegel .hero-kpi-tekst { display: flex; flex-direction: column; gap: 2px; }
:where(.app-kto) .kto-tegel-label { margin: 0; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
:where(.app-kto) .kto-tegel-waarderij { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-tegel-waarde { font-size: var(--hero-tekst-2xl, var(--hero-tekst-xl)); line-height: 1.2; color: var(--h-tekst); }
:where(.app-kto) .kto-tegel-leeg { display: block; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); line-height: 1.4; }
:where(.app-kto) .kto-tegel-vorige { display: block; color: var(--h-tekst-2); font-size: var(--hero-tekst-meta); line-height: 14px; }
/* De regel onder de respons ("75% ingevuld") in de kleur van de tekst ernaast: de accentkleur van .hero-kpi-hint haalt
   op de tegel het contrast van 4,5 niet (4,33, gemeten in de browser, licht en donker). */
:where(.app-kto) .kto-tegel .hero-kpi-hint { color: var(--h-tekst-2); }
/* De tegel Opvolgen als knop (versie 0.7.2): het getal is een echte knop, en zijn ::after maakt van de hele tegel het
   klikvlak. De focusring staat om de tegel; bij hover krijgt de tegel de rand van een klikbare tegel (button.hero-kpi). */
:where(.app-kto) .kto-tegel-klikbaar { position: relative; transition: border-color 0.15s; }
:where(.app-kto) .kto-tegel-knop {
  display: inline-flex; align-items: center; gap: var(--hero-ruimte-4); padding: 0; border: 0; background: transparent;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
:where(.app-kto) .kto-tegel-knop::after { content: ""; position: absolute; inset: 0; border-radius: var(--hero-radius-l); }
:where(.app-kto) .kto-tegel-knop:focus-visible { outline: none; }
:where(.app-kto) .kto-tegel-knop:focus-visible::after { outline: 2px solid var(--h-focus); outline-offset: 2px; }
:where(.app-kto) .kto-tegel-pijl { color: var(--h-tekst-3); }
@media (hover: hover) {
  :where(.app-kto) .kto-tegel-klikbaar:has(.kto-tegel-knop:hover) { border-color: var(--hero-blue-light); }
}
:where(.app-kto) .kto-cijfer-goed { color: var(--h-goed-tekst); }
:where(.app-kto) .kto-cijfer-matig { color: var(--h-waarschuwing-tekst); }
:where(.app-kto) .kto-cijfer-laag { color: var(--h-fout-tekst); }

:where(.app-kto) .kto-buiten-groep, :where(.app-kto) .kto-ondergrens { max-width: 720px; margin: 0; }
:where(.app-kto) .kto-buiten-groep { display: flex; align-items: flex-start; gap: var(--hero-ruimte-8); }

/* De score per onderdeel: naam, balk met getal, en onder de 4,0 een melding als tekst. */
:where(.app-kto) .kto-onderdelen { min-width: 0; }
:where(.app-kto) .kto-onderdelen-lijst { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .kto-onderdeel { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); align-items: center; gap: var(--hero-ruimte-12); min-width: 0; }
:where(.app-kto) .kto-onderdeel-naam { color: var(--h-tekst); font-size: var(--hero-tekst-sm); line-height: 1.4; overflow-wrap: anywhere; }
/* Elke balk even lang, met of zonder "onder de 4,0": die tekst staat in een eigen kolom van vaste breedte, zodat de
   balken van alle onderdelen langs dezelfde maat lopen. In de smalle vorm staat de tekst onder de balk. */
:where(.app-kto) .kto-onderdeel-score { display: grid; grid-template-columns: minmax(0, 1fr) 8rem; align-items: center; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .kto-onderdeel-balk { min-width: 0; }
:where(.app-kto) .kto-onderdeel-onder { justify-self: start; }
:where(.app-kto) .kto-onderdeel-getal { min-width: 2.5em; text-align: right; color: var(--h-tekst); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-onderdeel-leeg { color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); }

:where(.app-kto) .kto-overzicht-verouderd { display: flex; align-items: center; gap: var(--hero-ruimte-8); margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); }

/* Alleen voor een schermlezer: het live gebied dat een gewijzigd cijfer rustig meldt. */
:where(.app-kto) .kto-verborgen { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Zichtbare focus op de keuze, ook waar het ontwerpsysteem alleen :focus kleurt. */
:where(.app-kto) .kto-resultaat-keuze .hero-segment:focus-visible, :where(.app-kto) .kto-resultaat-keuze .hero-invoer:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; }

/* Onder de tegels (versie 0.7.1): de score per onderdeel en Net binnen naast elkaar, in de smalle vorm onder elkaar. */
:where(.app-kto) .kto-overzicht-onder { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--hero-ruimte-16); min-width: 0; }
:where(.app-kto) .kto-overzicht-onder.kto-met-net-binnen { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }

/* Net binnen: per reactie een knop met cijfer, functie en Binnen. */
:where(.app-kto) .kto-net-binnen { min-width: 0; }
:where(.app-kto) .kto-net-binnen-lijst { display: flex; flex-direction: column; gap: var(--hero-ruimte-4); margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .kto-net-binnen-knop {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--hero-ruimte-8);
  width: 100%; padding: var(--hero-ruimte-8); border: 0; border-radius: var(--hero-radius); background: transparent;
  color: var(--h-tekst); font: inherit; font-size: var(--hero-tekst-sm); line-height: 1.4; text-align: left; cursor: pointer;
}
:where(.app-kto) .kto-net-binnen-knop:disabled { cursor: default; }
@media (hover: hover) {
  :where(.app-kto) .kto-net-binnen-knop:not(:disabled):hover { background: var(--h-rij-hover); }
}
:where(.app-kto) .kto-net-binnen-knop:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 1px; }
:where(.app-kto) .kto-net-binnen-functie { min-width: 0; overflow-wrap: anywhere; }
:where(.app-kto) .kto-net-binnen-moment { color: var(--h-tekst-2); font-size: var(--hero-tekst-meta); white-space: nowrap; }
:where(.app-kto) .kto-net-binnen-groep { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-net-binnen-aantal { margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-lg); line-height: 1.3; font-weight: var(--hero-gewicht-kop); }

/* Een cijfer met de kleur van zijn band (hoofdstuk 7.5); het getal staat er altijd in. */
:where(.app-kto) .kto-score { justify-content: center; min-width: 2.25rem; font-variant-numeric: tabular-nums; font-weight: 600; }
/* In de lijst ligt de pil van een score op een dichte ondergrond (de kaart), met haar eigen kleur erboven. Anders schijnt
   de tint van een geopende of aangewezen rij door de doorschijnende pil, en haalt het getal in donker het contrast niet
   (3,99 bij een 5 op een geopende rij, gemeten in de browser; versie 0.7.2). */
:where(.app-kto) .kto-reacties-tabel .kto-score { background: linear-gradient(var(--t-bg), var(--t-bg)), var(--h-vlak); }
:where(.app-kto) .kto-rustig { color: var(--h-tekst-2); }

/* Per account of onderdeel (versie 0.7.8): een tabel in een kaart, zonder eigen rand; in een smal vlak valt elke rij uiteen
   in regels met het label van haar kolom (kto-tabel-stapel in klanten.css). De pagina schuift nooit opzij: wat breder is
   dan het vak, schuift binnen het vak. */
:where(.app-kto) .kto-per-onderdeel { min-width: 0; }
:where(.app-kto) .kto-per-onderdeel-uitleg { padding: var(--hero-ruimte-12) var(--hero-ruimte-16) 0; }
:where(.app-kto) .kto-per-onderdeel-vak { min-width: 0; overflow-x: auto; padding-top: var(--hero-ruimte-8); }
:where(.app-kto) .kto-per-onderdeel-tabel td { font-size: var(--hero-tekst-sm); line-height: 1.4; }
:where(.app-kto) .kto-per-onderdeel-tabel .kto-cel-naam { overflow-wrap: anywhere; }
/* Een cijfer is geen aantal: daarom niet hero-num (die klasse draagt alleen aantal(), B3), wel dezelfde uitlijning. */
:where(.app-kto) .kto-per-onderdeel-tabel .kto-per-onderdeel-getal { text-align: right; font-variant-numeric: tabular-nums; }
:where(.app-kto) .kto-per-onderdeel-waarde { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--hero-ruimte-4) var(--hero-ruimte-8); }
:where(.app-kto) .kto-per-onderdeel-tabel td:nth-child(2) .kto-per-onderdeel-waarde { justify-content: flex-start; }
:where(.app-kto) .kto-per-onderdeel-cijfer { font-weight: 600; font-variant-numeric: tabular-nums; }
:where(.app-kto) .kto-per-onderdeel-weg { margin-left: var(--hero-ruimte-4); }
:where(.app-kto) .kto-streep { color: var(--h-tekst-3); }

/* Het paneel Reacties. */
:where(.app-kto) .kto-reacties { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); min-width: 0; }
:where(.app-kto) .kto-reacties .kto-overzicht-titel:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; }
:where(.app-kto) .kto-reacties-meldingen { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-reacties-meldingen:empty { display: none; }
:where(.app-kto) .kto-reacties-groep { display: flex; align-items: flex-start; gap: var(--hero-ruimte-8); margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); line-height: 1.5; }
:where(.app-kto) .kto-reacties-groep .hero-icoon { flex: none; margin-top: 3px; }
:where(.app-kto) .kto-reacties-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hero-ruimte-8) var(--hero-ruimte-16); }
:where(.app-kto) .kto-reacties-chips { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8); }
:where(.app-kto) .kto-reacties-chips .hero-chip { cursor: pointer; font-family: inherit; }
:where(.app-kto) .kto-reacties-chips .hero-chip:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; }
:where(.app-kto) .kto-reacties-aantal { margin: 0; color: var(--h-tekst-2); font-size: var(--hero-tekst-sm); }
/* De filters op score en op status naast elkaar, in de smalle vorm onder elkaar (versie 0.7.2). */
:where(.app-kto) .kto-reacties-filtergroepen { display: flex; flex-wrap: wrap; gap: var(--hero-ruimte-8) var(--hero-ruimte-16); min-width: 0; }
/* De zin "N reacties vragen opvolging" boven de lijst. */
:where(.app-kto) .kto-reacties-opvolgzin { display: flex; align-items: flex-start; gap: var(--hero-ruimte-8); margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-sm); line-height: 1.5; }
:where(.app-kto) .kto-reacties-opvolgzin .hero-icoon { flex: none; margin-top: 3px; color: var(--h-info-tekst); }

/* De tabel: in een smalle container schuift zij binnen haar kaart, de pagina zelf niet. */
:where(.app-kto) .kto-reacties-tabel { min-width: 34rem; }
:where(.app-kto) .kto-reacties-tabel.kto-met-opvolging { min-width: 40rem; }
:where(.app-kto) .kto-reacties-tabel .kto-kolom-opvolging { white-space: nowrap; }
:where(.app-kto) .kto-reacties-tabel td { font-size: var(--hero-tekst-sm); line-height: 1.4; }
:where(.app-kto) .kto-reacties-tabel tbody tr.is-open td { background: var(--h-info-bg); }
:where(.app-kto) .kto-reacties-binnen { white-space: nowrap; }
:where(.app-kto) .kto-rij-knop {
  display: inline-flex; align-items: center; gap: var(--hero-ruimte-4); min-height: 28px; padding: 2px var(--hero-ruimte-4);
  margin: -2px calc(-1 * var(--hero-ruimte-4)); border: 0; border-radius: var(--hero-radius-s); background: transparent;
  color: var(--h-tekst); font: inherit; cursor: pointer;
}
:where(.app-kto) .kto-rij-knop .hero-icoon { color: var(--h-tekst-3); }
:where(.app-kto) .kto-rij-knop:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 1px; }
:where(.app-kto) .kto-reacties-tabel .hero-tabel-sorteer:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; }

/* De geopende reactie: links de antwoorden, rechts de opvolging (versie 0.7.2). Zonder opvolging is die plek leeg en
   verborgen, en nemen de antwoorden de hele breedte. */
:where(.app-kto) .kto-reactie-open { min-width: 0; }
:where(.app-kto) .kto-reactie-open-kop { flex-wrap: wrap; }
:where(.app-kto) .kto-reactie-kop { margin: 0; flex: 1 1 16rem; min-width: 0; overflow-wrap: anywhere; }
:where(.app-kto) .kto-reactie-kop:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 2px; border-radius: var(--hero-radius-s); }
:where(.app-kto) .kto-reactie-open-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--hero-ruimte-16); min-width: 0; }
:where(.app-kto) .kto-reactie-antwoorden { display: flex; flex-direction: column; gap: var(--hero-ruimte-16); min-width: 0; }
:where(.app-kto) .kto-reactie-deel { display: flex; flex-direction: column; gap: var(--hero-ruimte-8); min-width: 0; }
:where(.app-kto) .kto-reactie-deelkop { margin: 0; color: var(--h-tekst); font-size: var(--hero-tekst-sm); line-height: 20px; font-weight: var(--hero-gewicht-kop); }
:where(.app-kto) .kto-reactie-scores dd, :where(.app-kto) .kto-reactie-wie dd { overflow-wrap: anywhere; }
:where(.app-kto) .kto-reactie-onderdeel { display: block; color: var(--h-tekst); font-size: var(--hero-tekst-sm); }
:where(.app-kto) .kto-reactie-waarde { font-variant-numeric: tabular-nums; font-weight: 600; }
:where(.app-kto) .kto-reactie-citaten { display: flex; flex-direction: column; gap: var(--hero-ruimte-12); margin: 0; padding: 0; list-style: none; }
:where(.app-kto) .kto-reactie-vraag { margin: 0 0 var(--hero-ruimte-4); color: var(--h-tekst-2); font-size: var(--hero-tekst-meta); line-height: 1.4; }
:where(.app-kto) .kto-reactie-citaat { margin: 0; padding: var(--hero-ruimte-4) var(--hero-ruimte-12); border-left: 3px solid var(--h-rand); color: var(--h-tekst); font-size: var(--hero-tekst-sm); line-height: 1.5; }
:where(.app-kto) .kto-reactie-citaat p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
:where(.app-kto) .kto-reactie-opvolging { min-width: 0; }
:where(.app-kto) .kto-reactie-opvolging:empty { display: none; }
:where(.app-kto) .kto-reactie-open-body:has(> .kto-reactie-opvolging:empty) { grid-template-columns: minmax(0, 1fr); }
/* Het opvolgdeel: alleen lezend, in een eigen vlak naast de antwoorden. */
:where(.app-kto) .kto-opvolgdeel { padding: var(--hero-ruimte-12); border: 1px solid var(--h-rand); border-radius: var(--hero-radius-l); background: var(--h-tabelkop); }
:where(.app-kto) .kto-opvolgdeel .kto-reactie-deelkop { display: flex; align-items: center; gap: var(--hero-ruimte-4); }
:where(.app-kto) .kto-opvolgdeel .kto-reactie-deelkop .hero-icoon { color: var(--h-info-tekst); }
:where(.app-kto) .kto-opvolgdeel-lijst > div { padding-left: 0; padding-right: 0; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
:where(.app-kto) .kto-opvolgdeel-lijst dd { overflow-wrap: anywhere; }
/* Op --h-tabelkop haalt --h-tekst-3 in donker het contrast niet (3,87); de namen nemen --h-tekst-2. */
:where(.app-kto) .kto-opvolgdeel-lijst dt { color: var(--h-tekst-2); }

@container (width < 900px) {
  :where(.app-kto) .hero-kpi-rij.kto-tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(.app-kto) .kto-overzicht-onder.kto-met-net-binnen { grid-template-columns: minmax(0, 1fr); }
  :where(.app-kto) .kto-reactie-open-body { grid-template-columns: minmax(0, 1fr); }
}

@container (width < 600px) {
  :where(.app-kto) .kto-per-onderdeel-tabel td:nth-child(2) .kto-per-onderdeel-waarde { justify-content: flex-end; }
  :where(.app-kto) .kto-resultaat-keuze { width: 100%; }
  :where(.app-kto) .kto-resultaat-meting { flex: 1 1 100%; }
  :where(.app-kto) .kto-resultaat-meting .hero-invoer { max-width: none; width: 100%; }
  :where(.app-kto) .kto-onderdeel { grid-template-columns: minmax(0, 1fr); gap: var(--hero-ruimte-4); }
  :where(.app-kto) .kto-onderdeel-score { grid-template-columns: minmax(0, 1fr); gap: var(--hero-ruimte-4); }
  :where(.app-kto) .kto-reacties-filters { flex-direction: column; align-items: flex-start; }
  :where(.app-kto) .kto-reacties-filtergroepen { flex-direction: column; }

  /* De reactielijst als kaartjes (B4, versie 0.7.2): zes kolommen passen niet in 358 pixels, en schuiven zou juist
     Cijfer, Aanbeveling en Opvolging uit beeld zetten. Elke rij wordt een kaartje uit dezelfde tabel, in drie regels:
     het moment met de status van de opvolging, de doelgroep met de functie, en de twee scores met hun label. De kop
     blijft als balk met de sorteerknoppen. */
  :where(.app-kto) .kto-reacties-tabel, :where(.app-kto) .kto-reacties-tabel.kto-met-opvolging { display: block; min-width: 0; }
  :where(.app-kto) .kto-reacties-tabel thead, :where(.app-kto) .kto-reacties-tabel tbody { display: block; }
  :where(.app-kto) .kto-reacties-tabel thead tr {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--hero-ruimte-4) var(--hero-ruimte-16);
    padding: 8px 12px; background: var(--h-tabelkop); border-bottom: 1px solid var(--h-rand);
  }
  :where(.app-kto) .kto-reacties-tabel thead th { display: block; padding: 0; border: 0; background: none; }
  :where(.app-kto) .kto-reacties-tabel thead th.kto-kolom-doelgroep, :where(.app-kto) .kto-reacties-tabel thead th.kto-kolom-functie { display: none; }
  :where(.app-kto) .kto-reacties-tabel tbody tr {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--hero-ruimte-4) var(--hero-ruimte-12);
    padding: 10px 12px; border-bottom: 1px solid var(--h-rand);
  }
  :where(.app-kto) .kto-reacties-tabel tbody tr:last-child { border-bottom: 0; }
  :where(.app-kto) .kto-reacties-tabel tbody td { display: block; min-width: 0; padding: 0; border: 0; background: transparent; }
  :where(.app-kto) .kto-reacties-tabel tbody tr:hover td, :where(.app-kto) .kto-reacties-tabel tbody tr.is-open td { background: transparent; }
  :where(.app-kto) .kto-reacties-tabel tbody tr.is-open { background: var(--h-info-bg); }
  @media (hover: hover) {
    :where(.app-kto) .kto-reacties-tabel tbody tr:not(.is-open):hover { background: var(--h-rij-hover); }
  }
  :where(.app-kto) .kto-reacties-tabel td.kto-kolom-binnen { grid-row: 1; grid-column: 1 / 3; }
  :where(.app-kto) .kto-reacties-tabel td.kto-kolom-opvolging { grid-row: 1; grid-column: 3; justify-self: end; }
  :where(.app-kto) .kto-reacties-tabel td.kto-kolom-doelgroep { grid-row: 2; grid-column: 1; color: var(--h-tekst-2); }
  :where(.app-kto) .kto-reacties-tabel td.kto-kolom-functie { grid-row: 2; grid-column: 2 / 4; overflow-wrap: anywhere; }
  :where(.app-kto) .kto-reacties-tabel td.kto-als-doelgroep { display: none; }
  :where(.app-kto) .kto-reacties-tabel td.kto-kolom-cijfer { grid-row: 3; grid-column: 1; }
  :where(.app-kto) .kto-reacties-tabel td.kto-kolom-aanbeveling { grid-row: 3; grid-column: 2 / 4; }
  :where(.app-kto) .kto-reacties-tabel td.hero-num { text-align: left; }
  :where(.app-kto) .kto-reacties-tabel td.kto-leeg-cel { grid-column: 1 / -1; }
  :where(.app-kto) .kto-reacties-tabel td[data-label] { display: flex; align-items: center; gap: var(--hero-ruimte-8); }
  :where(.app-kto) .kto-reacties-tabel td[data-label]::before {
    content: attr(data-label); color: var(--h-tekst-2); font-size: var(--hero-tekst-meta); line-height: 14px;
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  /* Zonder moment (anoniem) staat in de knop zichtbaar wat de rij is, anders bleef alleen het pijltje over. */
  :where(.app-kto) .kto-reacties-tabel .kto-rij-knop-tekst {
    position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal;
  }
}

@container (width < 340px) {
  :where(.app-kto) .hero-kpi-rij.kto-tegels { grid-template-columns: minmax(0, 1fr); }
}
/* De omgeving van KTO: alleen wat het ontwerpsysteem niet zelf zegt, op zijn tokens. Na componenten.css geladen
   (App.tsx komt na de stijlbladen van design-tokens), zodat deze regels bij gelijke zwaarte winnen. */
/* De omgeving is zelf de container van de regel voor een smal vlak hieronder: zo geldt zij in de shell en zelfstandig
   (main.tsx heeft de omhulling @container van remote-entry.tsx niet), en meet zij het vlak van de app, niet het venster. */
:where(.app-kto) .kto-omgeving { display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }

/* De balk staat in het vlak van de app, niet in het raster van .hero-app. */
:where(.app-kto) .hero-kopbalk.kto-balk { position: relative; top: auto; justify-content: space-between; }
:where(.app-kto) .hero-apptitel.kto-apptitel { padding-left: 0; border-left: 0; }

:where(.app-kto) .kto-klantkiezer { display: flex; align-items: center; gap: var(--hero-ruimte-8); min-width: 0; margin-left: auto; }
:where(.app-kto) .kto-klant-label { color: var(--hero-wit); font-size: var(--hero-tekst-xs); font-weight: 600; white-space: nowrap; }
/* De kiezer krimpt in de rij van de balk (min-width 0), zodat hij nooit over de rand van het vlak steekt. */
:where(.app-kto) .hero-invoer.kto-klant-select { flex: 0 1 220px; width: auto; min-width: 0; }
:where(.app-kto) .kto-balk-toevoegen { flex: none; }

:where(.app-kto) .kto-tabs-rij { padding: 0 var(--hero-pagina-padding); background: var(--h-vlak); }
:where(.app-kto) .hero-tabs.kto-tabs { border-bottom-color: transparent; }
:where(.app-kto) .kto-tabs-rij { border-bottom: 1px solid var(--h-rand); }

:where(.app-kto) .kto-paneel, :where(.app-kto) .kto-melding-plek { padding: var(--hero-pagina-padding); }
:where(.app-kto) .kto-paneel:focus-visible { outline: 0; box-shadow: var(--h-focus-ring); }
:where(.app-kto) .hero-leeg.kto-leeg { max-width: 560px; margin: var(--hero-ruimte-16) auto 0; background: var(--h-vlak); }
:where(.app-kto) .kto-laden { color: var(--h-tekst-2); }

/* Smal vlak (de telefoon, of een smal vlak in de shell): de ondertitel en het label wijken, de tabs schuiven. */
@container (width < 600px) {
  :where(.app-kto) .hero-apptitel.kto-apptitel span { display: none; }
  :where(.app-kto) .kto-klant-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  :where(.app-kto) .hero-invoer.kto-klant-select { flex-basis: 170px; }
  /* Alleen het plusteken; de naam van de knop blijft voor een schermlezer. */
  :where(.app-kto) .kto-balk-toevoegen-tekst { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  :where(.app-kto) .kto-balk-toevoegen { width: var(--h-tikdoel); padding-left: 0; padding-right: 0; justify-content: center; }
  :where(.app-kto) .hero-tabs.kto-tabs { flex-wrap: nowrap; overflow-x: auto; }
  :where(.app-kto) .hero-leeg.kto-leeg { padding: var(--hero-ruimte-16); }
}
