/* FormulaZoom invulhulp (5-11-2026): zie assets/fz-invulhulp.js */
html.fz-invulhulp input[type=number]:not([readonly]):not(header *):not(aside *):not(.fz-feedback-modal *),
html.fz-invulhulp select:not([class*="-out"]):not(header *):not(aside *):not(.fz-feedback-modal *){background:#fffbe6!important;border:2px solid #e8c34a!important;color:#3a2e00;font-weight:700}
html.fz-invulhulp input[type=number]:not([readonly]):focus,html.fz-invulhulp select:focus{outline:3px solid #f2b632;outline-offset:1px}
html.fz-invulhulp input[type=number][readonly]:not(header *):not(aside *){background:#eef5ff!important;border:1px solid #b9d5fa!important;color:#0d4fa7}
html.fz-invulhulp input[placeholder*="ptioneel"]:placeholder-shown,html.fz-invulhulp input[placeholder*="aat leeg"]:placeholder-shown{border-style:dashed!important}
html.fz-invulhulp .fz-material-button{background:#fffbe6!important;border:2px solid #e8c34a!important;font-weight:700;color:#3a2e00}
.fz-legenda{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:#33475e;margin:0 0 14px;padding:10px 12px;background:#fff;border:1px solid #d9e1ec;border-radius:10px}
.fz-legenda span{display:inline-flex;align-items:center;gap:7px}.fz-legenda i{display:inline-block;width:22px;height:16px;border-radius:4px}
.fz-legenda .in{background:#fffbe6;border:2px solid #e8c34a}.fz-legenda .uit{background:#eef5ff;border:1px solid #b9d5fa}
/* Zijbalk: alleen de in te vullen velden */
html.fz-invulhulp :is(.fz-status-sidebar,aside.sidebar,aside.fz-sidebar) :is(.fz-step,.step){display:none!important}
.fz-fields-kop{font-size:12px;font-weight:800;color:#61717d;text-transform:uppercase;letter-spacing:.04em;margin:2px 5px 8px}
.fz-field-item{display:grid;grid-template-columns:1fr 24px;gap:6px;align-items:center;padding:7px 8px;border-radius:9px;margin-bottom:5px;color:#17375d;background:#fff;border:1px solid #e3e9f0;cursor:pointer;transition:background .12s;font-size:14px;line-height:1.25}
.fz-field-item:hover{background:#e8f1ff}.fz-field-item:focus-visible{outline:3px solid #f2b632;outline-offset:1px}
.fz-field-check{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #b8c4d2;background:#fff;color:#fff;font-weight:900;font-size:.8rem}
.fz-field-item.ok{background:#eef8f1;border-color:#bfe3c9}.fz-field-item.ok .fz-field-check{background:#55b96e;border-color:#55b96e}
.fz-field-item small{display:block;font-size:11px;color:#61717d;font-weight:400}
.fz-field-item.keuze small{color:#18743f;font-weight:700;font-size:12px}
/* Gekozen situatie / doorsnede: groene omlijning + vinkje */
html.fz-invulhulp :is(.shape-card,.fz-section-card,.case,.fz-situation,.type-choice){position:relative}
html.fz-invulhulp :is(.shape-card,.fz-section-card,.case,.fz-situation,.type-choice).active{border:3px solid #55b96e!important;box-shadow:0 0 0 3px rgba(85,185,110,.18)!important;background-color:#f4fbf6!important}
html.fz-invulhulp :is(.shape-card,.fz-section-card,.case,.fz-situation,.type-choice).active::after{content:'✓';position:absolute;top:8px;right:8px;width:24px;height:24px;border-radius:50%;background:#55b96e;color:#fff;font-weight:900;font-size:14px;display:flex;align-items:center;justify-content:center;z-index:2}
html.fz-invulhulp :is(.fz-situation,.fz-section-card).active .check{display:none!important}
.fz-flits{animation:fzFlits 1.2s ease}@keyframes fzFlits{0%,60%{box-shadow:0 0 0 5px rgba(242,182,50,.55)}100%{box-shadow:none}}
/* Zijbalk blijft staan: pagina mag geen eigen scrollvak zijn (overflow:auto op html/body brak position:sticky) */
html.fz-invulhulp:root,html.fz-invulhulp:root body{overflow:visible!important;overflow-x:clip!important;height:auto!important}
html.fz-invulhulp :is(.fz-status-sidebar,aside.sidebar,aside.fz-sidebar){position:sticky!important;top:var(--fz-kop,76px)!important;align-self:start!important;min-height:0!important;max-height:calc(100vh - var(--fz-kop,76px) - 8px);overflow-y:auto;overscroll-behavior:contain}
/* 8-11 (Patrick, iPhone): op mobiel was het vinkjesblok een eigen scrollvak (max-height + overscroll contain) -> vegen bleef in het blok hangen.
   Nu op smal scherm gewoon onderdeel van de pagina. */
@media(max-width:900px){html.fz-invulhulp :is(.fz-status-sidebar,aside.sidebar,aside.fz-sidebar){position:static!important;max-height:none!important;overflow:visible!important;overscroll-behavior:auto!important}}
/* 8-11 (mobiele rondgang): de paginakolom werd zo breed als de breedste regel in het vinkjesblok (tot 670px) -> inhoud rechts buiten beeld.
   Kolom begrensd op de schermbreedte; zijbalk in één kolom. */
@media(max-width:900px){html.fz-invulhulp :is(.fz-page-shell,div.page){grid-template-columns:minmax(0,1fr)!important}html.fz-invulhulp :is(.fz-status-sidebar,aside.sidebar,aside.fz-sidebar){min-width:0!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important}html.fz-invulhulp :is(.fz-status-sidebar,aside.sidebar,aside.fz-sidebar)>*{min-width:0!important;grid-column:1/-1!important}html.fz-invulhulp :is(.fz-field-item,.fz-fields-kop) *{white-space:normal!important;overflow-wrap:anywhere}html.fz-invulhulp :is(main.main,main.fz-main,.fz-page-shell>main){min-width:0!important}}
/* Gekozen regel in een tabel (profiel, materiaal, keuzetabel): geel; knoppen "Kies" weg (klik op de regel) */
html.fz-invulhulp tbody tr:is(.selected,.active)>td{background:#fff4c2!important;color:#3a2e00!important;font-weight:700}
html.fz-invulhulp tbody tr:is(.selected,.active)>td:first-child{box-shadow:inset 4px 0 0 #e8c34a}
html.fz-invulhulp tbody tr:is([data-profile],[data-preset-row],.mat-row):hover>td{background:#fffbe6}
/* Kiesbare regels: overal knop "Kies", gekozen = "✓ Gekozen"; hele regel klikbaar */
html.fz-invulhulp tr.fz-kiesregel{cursor:pointer}
html.fz-invulhulp .fz-kies{display:inline-flex;align-items:center;justify-content:center;min-width:78px;box-sizing:border-box;border:2px solid #1675ed!important;background:#fff!important;color:#0d4fa7!important;border-radius:8px;padding:5px 10px;font-weight:800;font-size:13px;line-height:1.2;cursor:pointer;white-space:nowrap}
html.fz-invulhulp tr.fz-kiesregel:hover .fz-kies:not(.fz-gekozen){background:#e8f1ff!important}
html.fz-invulhulp .fz-kies.fz-gekozen{border-color:#55b96e!important;background:#eef8f1!important;color:#18743f!important}
html.fz-invulhulp td.fz-kies-cel,html.fz-invulhulp th.fz-kies-th{text-align:right;white-space:nowrap}
html.fz-invulhulp select[class*="-out"]{background:#eef5ff!important;border:1px solid #b9d5fa!important;color:#0d4fa7}
/* Waarschuwing bij ongebruikelijke waarde en aangepaste tabelkeuze */
html.fz-invulhulp input.fz-let-op{border-color:#e07b00!important;background:#fff1dc!important}
.fz-waarschuwing{margin:6px 0 8px;padding:7px 10px;border-left:3px solid #e07b00;background:#fff4e5;color:#7a3e00;border-radius:5px;font-size:13px;font-weight:700}
.fz-field-item.letop{background:#fff4e5;border-color:#f3c48a}.fz-field-item.letop .fz-field-check{background:#e07b00;border-color:#e07b00;color:#fff}
.fz-field-item.letop small{color:#7a3e00}
html.fz-invulhulp .fz-kies.fz-aangepast{border-color:#e07b00!important;background:#fff4e5!important;color:#7a3e00!important}
html.fz-invulhulp tbody tr.fz-regel-aangepast:is(.selected,.active)>td{background:#fff4e5!important}
html.fz-invulhulp tbody tr.fz-regel-aangepast:is(.selected,.active)>td:first-child{box-shadow:inset 4px 0 0 #e07b00}
/* 8-11 (mobiele rondgang): brede tabellen (fz-table) zijwaarts schuifbaar op de telefoon in plaats van afgesneden. */
@media(max-width:900px){html.fz-invulhulp table.fz-table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}

/* 9-11-2026: hint onder een veld dat ook uit een keuzetabel komt */
.fz-tabel-hint{display:block;margin-top:5px;font-size:12.5px;line-height:1.35;color:#5a6776}
.fz-tabel-hint::before{content:'✎ ';color:#b8860b}

/* T-bolletje: waarde kiezen uit een tabel (wens Patrick 15-11) */
.fz-t{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-left:6px;padding:0;border:1.5px solid #0b5cab;border-radius:50%;
  background:#fff;color:#0b5cab;font:800 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;vertical-align:middle;cursor:pointer}
.fz-t::before{content:'T'}.fz-t:hover{background:#0b5cab;color:#fff}.fz-t:focus-visible{outline:2px solid #1675ed;outline-offset:2px}
table.fz-t-flits{animation:fzTFlits 1.8s ease-out}
@keyframes fzTFlits{0%,30%{box-shadow:0 0 0 4px #1675ed}100%{box-shadow:0 0 0 0 rgba(22,117,237,0)}}
