/* kozijnoff.css — Kozijn-configurator (prototype v6 → app-tokens)
   Layout, dichtheid en interactie volgen het prototype exact; alle
   kleuren lopen via casa360-tokens.css zodat het scherm meekleurt met
   de tenant-huisstijl. De SVG-tekening zelf gebruikt RAL-waarden en
   glasweergave: dat zijn productkleuren (data), geen UI-kleuren.
   Vol-scherm werkscherm: uitgezonderd van de module-wortel-marge. */

.kozf { font-size: 14px; line-height: 1.5; }
.kozf .kicker { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--c-amber); }
.koz-h1 { font-size: 19px; font-weight: 800; margin: 4px 0 14px; }
.koz-uitleg { font-size: 12.5px; color: var(--c-ink-3); margin: -6px 0 14px; }
.koz-smal { max-width: 640px; margin: 26px auto; padding: 0 20px; }
.koz-breed { max-width: 1180px; margin: 16px auto; padding: 0 20px; }
.koz-lijstwortel { max-width: 1240px; margin: 0 auto; padding: 26px 32px 72px; }
.koz-kaart { padding: 20px; }
.koz-kaart h2 { font-size: 14px; font-weight: 800; margin: 0 0 12px; }

/* ---- lijst ---- */
.koz-zoekbalk { display: flex; gap: 8px; align-items: center; margin: 12px 0 10px; }
.koz-zoekbalk input { flex: 1; max-width: 420px; height: 32px; font: 400 .78rem var(--font-ui); color: var(--c-ink);
  padding: 0 12px; border-radius: var(--radius); background: #fff; border: var(--lijndikte) solid var(--c-lijn-2); }
.koz-rij { display: grid; grid-template-columns: 130px 1.5fr 70px 100px 120px 130px; gap: 10px; align-items: center;
  padding: 11px 16px; border-bottom: var(--lijndikte) solid var(--c-lijn); cursor: pointer; }
.koz-rij:last-child { border-bottom: 0; }
.koz-rij:hover { background: var(--c-creme); }
.koz-rij--kop { cursor: default; font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-3); background: var(--c-paneel-2); }
.koz-rij--kop:hover { background: var(--c-paneel-2); }
.koz-rij__klant strong { display: block; font-size: .78rem; }
.koz-rij__klant span { font-size: .64rem; color: var(--c-ink-3); }
.koz-rij__nr, .koz-rij__versie { font-size: .68rem; }

/* ---- statuschips ---- */
.koz-statuschip { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; border-radius: 5px; padding: 2px 8px; white-space: nowrap; }
.koz-st-concept { background: var(--let-t); color: var(--let); }   /* Zand §4: geel is memo, geen status */
.koz-st-verzonden { background: var(--c-sage-t); color: var(--c-groen-d); }
.koz-st-akkoord { background: var(--c-groen-t); color: var(--c-groen-d); }
.koz-st-inmeter { background: var(--c-terra-t); color: var(--c-terra-d); }
.koz-st-definitief { background: var(--c-ink); color: var(--c-creme); }
.koz-statuschip.ok { background: var(--c-groen-t); color: var(--c-groen-d); }
.koz-statuschip.fout { background: var(--c-rood-t); color: var(--c-rood); }
.koz-statuschip.leeg { background: var(--c-lijn); color: var(--c-ink-3); }
.koz-statuschip.nieuw { background: var(--c-terra); color: #fff; }

/* ---- chrome: kop + voet ---- */
.kozf--doc { display: flex; flex-direction: column; min-height: calc(100vh - 0px); }
.koz-kop { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: var(--lijndikte) solid var(--c-lijn-2);
  background: var(--c-paneel-2); position: sticky; top: 0; z-index: 20; flex-wrap: wrap; }
.koz-kop__id { font-weight: 700; font-size: 12px; }
.koz-rolwissel { display: flex; gap: 3px; background: var(--c-paneel); border: var(--lijndikte) solid var(--c-lijn); border-radius: 9px; padding: 2px; }
.koz-rolwissel button { border: none; background: none; padding: 5px 11px; border-radius: 7px; font-size: 11.5px; font-weight: 700; color: var(--c-ink-3); cursor: pointer; }
.koz-rolwissel button.aan { background: var(--c-ink); color: var(--c-creme); }
.koz-stepper { display: flex; gap: 4px; flex: 1; justify-content: center; flex-wrap: wrap; }
.koz-stap { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 9px; font-size: 12px; font-weight: 700; color: var(--c-ink-3); border: none; background: none; cursor: pointer; }
.koz-stap .nr { width: 19px; height: 19px; border-radius: 50%; background: var(--c-lijn-2); color: var(--c-ink); font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.koz-stap.actief { background: var(--c-ink); color: var(--c-creme); }
.koz-stap.actief .nr { background: var(--c-terra); color: #fff; }
.koz-stap.klaar .nr { background: var(--c-groen); color: #fff; }
.koz-beheerknop { border: var(--lijndikte) solid var(--c-lijn-2); background: none; border-radius: 9px; padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--c-ink-3); cursor: pointer; }
.koz-bewaarstand { font-size: 10px; color: var(--c-ink-3); min-width: 64px; text-align: right; }
.koz-voet { position: sticky; bottom: 0; background: var(--c-paneel-2); border-top: var(--lijndikte) solid var(--c-lijn-2);
  display: flex; align-items: center; gap: 12px; padding: 12px 20px; z-index: 20; margin-top: auto; }
.koz-voet__info { flex: 1; font-size: 12.5px; color: var(--c-ink-3); }
.koz-knop { border: none; border-radius: var(--radius); padding: 11px 22px; font-weight: 800; font-size: 13.5px; cursor: pointer; font-family: var(--font-ui); }
.koz-knop.primair { background: var(--c-ink); color: var(--c-creme); }
.koz-knop.groen { background: var(--c-groen); color: #fff; }
.koz-knop.terra { background: var(--c-terra); color: #fff; }
.koz-knop.stil { background: none; border: var(--lijndikte) solid var(--c-lijn-2); color: var(--c-ink-2); }
.koz-knop.klein { padding: 8px 14px; font-size: 12px; }
.koz-knop.breedvol { width: 100%; margin-bottom: 6px; }
.koz-knop:disabled { opacity: .4; cursor: default; }

/* ---- velden ---- */
.koz-veld { margin-bottom: 10px; }
.koz-veld label { display: block; font-size: 11px; font-weight: 700; color: var(--c-ink-3); margin-bottom: 3px; }
.koz-veld input, .koz-veld select, .koz-veld textarea { width: 100%; border: var(--lijndikte) solid var(--c-lijn-2);
  border-radius: 8px; padding: 8px 10px; background: #fff; font-family: var(--font-ui); font-size: 13px; color: var(--c-ink); }
.koz-rij2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.koz-rij3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.koz-kleurkeuze { display: flex; gap: 6px; flex-wrap: wrap; }
.koz-zwatch { display: flex; align-items: center; gap: 7px; border: 1.5px solid var(--c-lijn-2); border-radius: 9px;
  padding: 6px 10px; background: var(--c-creme); font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--font-ui); color: var(--c-ink); }
.koz-zwatch .bol { width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--c-lijn-2); }
.koz-zwatch.aan { border-color: var(--c-ink); background: #fff; }

/* ---- stap 2: werkscherm ---- */
.koz-k2wrap { max-width: 1620px; margin: 0 auto; padding: 12px 20px; }
.koz-positiebalk { display: flex; gap: 6px; align-items: center; overflow-x: auto; padding: 4px 2px 10px; }
.koz-postab { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--c-lijn-2); background: var(--c-creme);
  border-radius: 10px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.koz-postab.actief { border-color: var(--c-ink); background: #fff; }
.koz-postab .merk { font-size: 10.5px; font-weight: 700; background: var(--c-ink); color: var(--c-creme); border-radius: 5px; padding: 1px 6px; }
.koz-postab .pom { font-size: 12px; font-weight: 700; }
.koz-postab .pmaat { font-size: 10px; color: var(--c-ink-3); }
.koz-postab .del { border: none; background: none; color: var(--c-rood); font-size: 14px; padding: 0; cursor: pointer; }
.koz-postab.plus { border-style: dashed; color: var(--c-groen-d); font-weight: 800; font-size: 12.5px; background: none; cursor: pointer; font-family: var(--font-ui); }
.koz-k2grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 250px; gap: 14px; }
@media (max-width: 1100px) { .koz-k2grid { grid-template-columns: 1fr; } }
.koz-paneel { background: #fff; border: var(--lijndikte) solid var(--c-lijn); border-radius: var(--radius); padding: 14px; overflow: auto; max-height: calc(100vh - 218px); box-shadow: var(--schaduw-tegel); }
.koz-k2sectie { margin-bottom: 14px; }
.koz-k2kop { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.koz-k2kop .snr { width: 20px; height: 20px; border-radius: 50%; background: var(--c-ink); color: var(--c-creme); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.koz-k2kop b { font-size: 13px; }
.koz-k2kop .hint { font-size: 10.5px; color: var(--c-ink-3); margin-left: auto; }
.koz-segment { display: flex; gap: 4px; flex-wrap: wrap; }
.koz-segment button { border: var(--lijndikte) solid var(--c-lijn-2); background: var(--c-creme); border-radius: 8px; padding: 6px 10px; font-size: 11.5px; font-weight: 700; color: var(--c-ink-2); cursor: pointer; font-family: var(--font-ui); }
.koz-segment button.aan { background: var(--c-ink); color: var(--c-creme); border-color: var(--c-ink); }
.koz-vakeditor { background: var(--c-creme); border: 1.5px solid var(--c-terra); border-radius: 10px; padding: 10px; margin-top: 8px; }
.koz-vakeditor .vkop { font-size: 12px; font-weight: 800; margin-bottom: 6px; }
.koz-vakeditor .vsub { font-weight: 400; font-size: 10px; color: var(--c-ink-3); }
.koz-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.koz-chip { border: var(--lijndikte) solid var(--c-lijn-2); background: none; border-radius: 7px; padding: 4px 9px; font-size: 11px; font-weight: 700; color: var(--c-ink-3); cursor: pointer; font-family: var(--font-ui); }
.koz-chip.aan { background: var(--c-ink); color: var(--c-creme); border-color: var(--c-ink); }
.koz-chip.rooster.aan { background: var(--c-groen); border-color: var(--c-groen); color: #fff; }
.koz-chip:disabled { opacity: .35; cursor: default; }
.koz-tekenvlak { background: #fff; border: var(--lijndikte) solid var(--c-lijn); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; min-height: 460px; box-shadow: var(--schaduw-tegel); }
.koz-tekenkop { display: flex; align-items: baseline; gap: 10px; padding: 0 4px 8px; flex-wrap: wrap; }
.koz-tekenkop h1 { font-size: 15px; font-weight: 800; margin: 0; }
.koz-tekenkop .sub { font-size: 11.5px; color: var(--c-ink-3); }
.koz-tekenkop .tip { margin-left: auto; font-size: 10px; color: var(--c-terra-d); }
.kozf svg text { font-family: var(--font-mono); }
.koz-svgwrap { flex: 1; display: flex; align-items: center; justify-content: center; }
.koz-presets { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 10px; border-top: var(--lijndikte) solid var(--c-lijn); align-items: center; }
.koz-presets button { border: var(--lijndikte) solid var(--c-lijn-2); background: var(--c-creme); border-radius: 8px; padding: 6px 11px; font-size: 11.5px; font-weight: 700; color: var(--c-ink-2); cursor: pointer; font-family: var(--font-ui); }
.koz-presets button:hover { border-color: var(--c-ink); color: var(--c-ink); }
.koz-prijskolom { background: #fff; border: var(--lijndikte) solid var(--c-lijn); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; max-height: calc(100vh - 218px); overflow: auto; box-shadow: var(--schaduw-tegel); }
.koz-tabelinfo { font-size: 11px; color: var(--c-ink-2); margin: 6px 0 2px; }
.koz-buiten { color: var(--c-rood); }
.koz-grootprijs { font-family: var(--font-mono); font-size: 26px; font-weight: 700; margin: 2px 0 0; }
.koz-prijsregel { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; border-bottom: 1px dotted var(--c-lijn-2); }
.koz-prijsregel .l { color: var(--c-ink-2); }
.koz-prijsregel.tot { border-bottom: none; border-top: 2px solid var(--c-ink); margin-top: 6px; padding-top: 8px; font-weight: 800; }
.koz-prijsregel.doorgestreept .r { text-decoration: line-through; color: var(--c-ink-3); font-weight: 400; }
.koz-handbadge { font-size: 9px; font-weight: 700; background: var(--c-terra); color: #fff; border-radius: 5px; padding: 1px 5px; }
.koz-tabelbadge { font-size: 9px; font-weight: 700; background: var(--c-ink); color: var(--c-creme); border-radius: 5px; padding: 1px 5px; }
.koz-margegoed { color: var(--c-groen-d); font-weight: 800; }
.koz-margefout { color: var(--c-rood); font-weight: 800; }
.koz-waarschuw { background: var(--c-rood-t); border: var(--lijndikte) solid var(--c-terra); border-radius: 9px; padding: 8px 10px; margin-top: 8px; font-size: 12px; color: var(--c-rood); font-weight: 700; }
.koz-memoblok { background: var(--c-memo); border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 9px; padding: 8px 10px; font-size: 12px; }
.koz-sectie { border-top: var(--lijndikte) solid var(--c-lijn); padding-top: 10px; margin-top: 12px; }
.koz-plusbalk { width: 100%; max-width: 420px; border: 1px dashed var(--c-lijn-2); border-radius: 9px; background: none; padding: 8px; font-size: 12.5px; font-weight: 700; color: var(--c-groen-d); cursor: pointer; font-family: var(--font-ui); margin-top: 6px; }
.koz-plusbalk:hover { border-color: var(--c-groen); }

/* ---- stap 3: producten — compacte regels (verzoek Michiel 29-07) ---- */
.koz-prodlijst { max-width: 760px; }
.koz-prodrij { display: grid; grid-template-columns: 1fr 120px 90px 66px; gap: 10px; align-items: center;
  padding: 7px 14px; border-bottom: var(--lijndikte) solid var(--c-lijn); }
.koz-prodrij:last-child { border-bottom: 0; }
.koz-prodrij .nm { font-size: 12.5px; font-weight: 600; }
/* niet ".pr" — provisie.css claimt die klasse als module-wortel */
.koz-prodrij .stukprijs { font-size: 10.5px; color: var(--c-ink-3); text-align: right; white-space: nowrap; }
.koz-prodrij .tot { font-size: 11px; font-weight: 700; text-align: right; }
.koz-prodrij input { width: 100%; border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 7px; padding: 5px 6px; background: #fff; text-align: right; font-family: var(--font-mono); font-size: 12px; }
.koz-prodrij.gekozen { background: var(--c-groen-t); }
.koz-prodrij.gekozen .nm { font-weight: 800; }
/* label alleen voor de schermlezer — geen grid-item */
.koz-verborgenlabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.koz-verborgenlabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- stap 4: controle ---- */
.koz-controle { display: grid; grid-template-columns: 1fr 330px; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .koz-controle { grid-template-columns: 1fr; } }
.koz-tabelwrap { overflow-x: auto; }
.koz-margetabel, .koz-difftabel { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.koz-margetabel th, .koz-difftabel th { font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-amber); text-align: left; padding: 6px; border-bottom: var(--lijndikte) solid var(--c-lijn-2); }
.koz-margetabel td, .koz-difftabel td { padding: 6px; border-bottom: var(--lijndikte) solid var(--c-lijn); }
.koz-margetabel td.num, .koz-margetabel th.num, .koz-difftabel td.num, .koz-difftabel th.num { text-align: right; }
.koz-margetabel input { width: 78px; border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 6px; padding: 4px 5px; background: #fff; text-align: right; font-family: var(--font-mono); font-size: 11px; }
.koz-margetot td, .koz-difftot td { font-weight: 800; }
.koz-difftabel tr.gewijzigd td { background: var(--c-amber-t); }
.koz-difftabel tr.nieuw td { background: var(--c-terra-t); }
.koz-delta { font-weight: 700; }
.koz-delta.plus { color: var(--c-terra-d); }
.koz-delta.min { color: var(--c-groen-d); }
.koz-inmeetcontrole { margin-bottom: 16px; }
.koz-inmeetcontrole.is-afwijkend { border-color: var(--c-terra); }
.koz-inmeetcontrole.is-conform { border-color: var(--c-groen); }
.koz-inmeetacties { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.koz-intern { background: #fff; border: var(--lijndikte) solid var(--c-lijn); border-radius: var(--radius); padding: 12px 14px; margin-top: 12px; }
.koz-intern summary { font-weight: 800; font-size: 12.5px; cursor: pointer; color: var(--c-ink-2); }
.koz-versierij { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 0; border-bottom: 1px dotted var(--c-lijn-2); }
.koz-versierij .vnr { font-weight: 700; background: var(--c-lijn); border-radius: 5px; padding: 1px 6px; font-size: 10.5px; }
.koz-versierij .vtijd { color: var(--c-ink-3); font-size: 11px; flex: 1; }
.koz-versierij .vtot { font-size: 11px; }
.koz-versierij button { border: none; background: none; color: var(--c-groen-d); font-size: 11px; font-weight: 700; cursor: pointer; font-family: var(--font-ui); }
.koz-procesregel { font-size: 12.5px; color: var(--c-ink-2); margin-bottom: 12px; }
.koz-proceskn .koz-memoblok { margin-bottom: 6px; }

/* ---- offertevel ---- */
.koz-offertevel { background: #fff; border: var(--lijndikte) solid var(--c-lijn-2); border-radius: var(--radius); padding: 40px 48px; box-shadow: var(--schaduw-tegel); }
.koz-ofkop { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--c-ink); padding-bottom: 16px; margin-bottom: 20px; gap: 12px; }
.koz-ofmerk { font-size: 21px; font-weight: 800; margin: 0; }
.koz-ofklant { font-size: 12px; color: var(--c-ink-3); margin-top: 4px; }
.koz-ofmeta { text-align: right; font-size: 11px; color: var(--c-ink-2); line-height: 1.7; }
.koz-ofblok { margin-bottom: 24px; }
.koz-ofblok h3 { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.koz-ofkozijn { display: grid; grid-template-columns: 210px 1fr; gap: 16px; border: var(--lijndikte) solid var(--c-lijn); border-radius: var(--radius); padding: 13px; margin-bottom: 11px; background: var(--c-creme); }
@media (max-width: 700px) { .koz-ofkozijn { grid-template-columns: 1fr; } }
.koz-ofkozijn .specs { font-size: 12px; }
.koz-ofkozijn .specs table { width: 100%; border-collapse: collapse; }
.koz-ofkozijn .specs td { padding: 2px 0; vertical-align: top; }
.koz-ofkozijn .specs td:first-child { color: var(--c-ink-3); width: 110px; }
.koz-ofspecrij { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.koz-merkchip { background: var(--c-ink); color: var(--c-creme); border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 700; }
.koz-ofprijs { margin-left: auto; font-weight: 700; }
.koz-oftotaal { margin-left: auto; width: 320px; max-width: 100%; }
.koz-ofvoet { border-top: var(--lijndikte) solid var(--c-lijn-2); margin-top: 24px; padding-top: 12px; font-size: 10.5px; color: var(--c-ink-3); line-height: 1.7; }
.koz-tek { background: #fff; border: var(--lijndikte) solid var(--c-lijn); border-radius: 9px; padding: 8px; display: flex; align-items: center; justify-content: center; }

/* ---- inmeting ---- */
.koz-imnr { font-size: 13px; color: var(--c-ink-3); }
.koz-inmeetkop { background: #fff; border: var(--lijndikte) solid var(--c-lijn); border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 16px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; box-shadow: var(--schaduw-tegel); }
.koz-inmeetkop .klant { font-weight: 800; font-size: 15px; }
.koz-inmeetkop .adres { color: var(--c-ink-3); font-size: 12.5px; }
.koz-imref { font-size: 12px; color: var(--c-ink-3); }
.koz-inmeetpos { background: #fff; border: var(--lijndikte) solid var(--c-lijn); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; display: grid; grid-template-columns: 230px 1fr; gap: 16px; box-shadow: var(--schaduw-tegel); }
@media (max-width: 800px) { .koz-inmeetpos { grid-template-columns: 1fr; } }
.koz-inmeetpos.klaar { border-color: var(--c-groen); }
.koz-inmeetpos.vervallen { border-color: var(--c-rood); opacity: .75; }
.koz-imkoprij { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.koz-indicatie { font-size: 11px; color: var(--c-ink-3); }
.koz-imvakken { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.koz-vak { background: var(--c-creme); border: var(--lijndikte) solid var(--c-lijn); border-radius: 9px; padding: 8px; }
.koz-vak .kop { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.koz-vak .kop b { font-size: 12px; }
.koz-vak select { width: 100%; border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 7px; padding: 5px 7px; background: #fff; margin-bottom: 5px; font-family: var(--font-ui); font-size: 12px; }

/* ---- beheer ---- */
.koz-beheer { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .koz-beheer { grid-template-columns: 1fr; } }
.koz-brij { display: grid; grid-template-columns: 1fr 110px; gap: 8px; align-items: center; margin-bottom: 7px; font-size: 12.5px; }
.koz-brij span { color: var(--c-ink-2); }
.koz-brij input { border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 7px; padding: 6px 8px; background: #fff; text-align: right; font-family: var(--font-mono); }
.koz-catrij { display: grid; grid-template-columns: 1fr 64px 80px 26px; gap: 6px; margin-bottom: 6px; }
.koz-catrij input, .koz-catrij select { border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 7px; padding: 5px 7px; background: #fff; font-size: 12px; font-family: var(--font-ui); }
.koz-catrij input.num { text-align: right; font-family: var(--font-mono); }
.koz-catrij .x { border: none; background: none; color: var(--c-rood); font-size: 15px; cursor: pointer; }
.koz-matrixkies { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.koz-matrixwrap { max-height: 420px; overflow: auto; border: var(--lijndikte) solid var(--c-lijn); border-radius: 9px; }
.koz-matrix { border-collapse: collapse; font-size: 10.5px; }
.koz-matrix th { position: sticky; top: 0; background: var(--c-paneel-2); padding: 4px 6px; font-weight: 700; color: var(--c-ink-2); text-align: right; z-index: 1; }
.koz-matrix th:first-child { left: 0; z-index: 2; }
.koz-matrix td { padding: 1px; }
.koz-matrix input { width: 58px; border: var(--lijndikte) solid var(--c-lijn); border-radius: 5px; padding: 3px 4px; background: #fff; text-align: right; font-family: var(--font-mono); font-size: 10.5px; }
.koz-hsacties { display: flex; gap: 8px; margin-top: 12px; }

/* ---- toegankelijkheid + beweging ---- */
.kozf button:focus-visible, .kozf input:focus-visible, .kozf select:focus-visible, .kozf textarea:focus-visible {
  outline: var(--focus-ring, 3px solid var(--c-groen)); outline-offset: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .koz-postab, .koz-chip, .koz-stap, .koz-knop, .koz-zwatch { transition: background .16s ease, border-color .16s ease, color .16s ease; }
}

/* ---- print: alleen het offertevel ---- */
@media print {
  .koz-actief .nav, .koz-actief .koz-kop, .koz-actief .koz-voet, .koz-actief .koz-intern,
  .koz-actief .kozf .kicker:first-child, .koz-actief .koz-h1, .koz-actief .koz-inmeetcontrole,
  .koz-actief .koz-controle > div:last-child, .koz-actief #toast { display: none !important; }
  .koz-actief .content { padding: 0 !important; }
  .koz-actief .koz-controle { grid-template-columns: 1fr; }
  .koz-actief .koz-offertevel { border: none; box-shadow: none; padding: 0; }
  .koz-actief .koz-breed { margin: 0; padding: 0; max-width: none; }
}

/* ---- prijsbeheer v2: bulkbalk + compacte cataloguslijst ---- */
.koz-bulkbalk { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 10px 12px;
  border: 1px dashed var(--c-lijn-2); border-radius: 9px; flex-wrap: wrap; }
.koz-bulkbalk input { width: 110px; border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 7px;
  padding: 6px 8px; background: #fff; text-align: right; font-family: var(--font-mono); }
.koz-bulkbalk span { font-size: 12px; color: var(--c-ink-2); }
.koz-catwrap { max-height: 300px; overflow: auto; }

/* ---- fase 3: maat-slepen, vak-toolbar, preset-start, inmeet/fabriek ---- */
.koz-svgwrap { position: relative; }
.koz-vaktool { position: absolute; display: flex; gap: 4px; align-items: center; background: #fff;
  border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 9px; padding: 4px 6px; box-shadow: var(--schaduw-tegel); z-index: 5; }
.koz-vaktool select { font: 600 11px var(--font-ui); border: var(--lijndikte) solid var(--c-lijn-2); border-radius: 7px; padding: 4px 6px; background: #fff; color: var(--c-ink); max-width: 120px; }
.koz-presethint { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; background: var(--c-groen-t);
  border: var(--lijndikte) solid var(--c-groen); border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; font-size: 12px; color: var(--c-groen-d); }
.koz-presethint button { border: var(--lijndikte) solid var(--c-lijn-2); background: #fff; border-radius: 8px;
  padding: 5px 10px; font: 700 11.5px var(--font-ui); color: var(--c-ink-2); cursor: pointer; }
.koz-presethint button:hover { border-color: var(--c-groen); color: var(--c-groen-d); }
.koz-presethint__x { margin-left: auto; border: none !important; background: none !important; color: var(--c-ink-3) !important; }
.koz-imrij { grid-template-columns: 130px 1.4fr 80px 1fr 130px 130px; }
.koz-imbalk { display: block; height: 7px; border-radius: 99px; background: var(--c-paneel); overflow: hidden; }
.koz-imbalk b { display: block; height: 100%; background: var(--c-groen); border-radius: 99px; }
.koz-forij { display: grid; grid-template-columns: 130px 1.4fr 1fr 150px; gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: var(--lijndikte) solid var(--c-lijn); font-size: .76rem; }
.koz-forij:last-child { border-bottom: 0; }
.koz-forij2 { grid-template-columns: 110px 1.3fr 1fr 90px 130px 170px; cursor: default; }
.koz-forij2:hover { background: #fff; }
.koz-foacties { display: flex; gap: 6px; justify-content: flex-end; }

/* ═══ IM7 · de fabrieksorder in de lijst ════════════════════════════
   Het formaat achter de fabrieksnaam (PDF of EOS), en de teller onder de
   leverweek. Rood pas over de norm: daaronder is het een gewone stand
   van zaken, daarboven staat de levertijd op losse schroeven. */
.koz-fofmt { font-style: normal; font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .06em; color: var(--c-ink-3); margin-left: 6px; }
.koz-folever { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.koz-fotel { font-style: normal; font-size: .64rem; line-height: 1.4; color: var(--c-ink-3); }
.koz-fotel.is-stop { color: var(--c-rood); font-weight: 700; }
