/* Aanvullingen op de Teamkey-opbouw (teamkey.css is een kopie van de kern, merk.css de huisstijl van OrganizedFlex). */
body { font-feature-settings: normal; font-size: 15px; }
h1 { font-weight: 600; letter-spacing: -0.025em; }
.zij { border-right-color: #12290F; color: #B9CDB4; }
.zij .logo { display: block; padding: 6px 10px 2px; }
.zij .logo img { display: block; width: 172px; height: auto; }
.zij .toolnaam { padding: 0 10px; font-size: 12.5px; color: #9DB897; }
.nav a { color: #C3D6BE; font-size: 14px; padding: 9px 10px; } .nav .groep { color: #8FAE88; }
.zij .voet button { color: #9DB897; }
.knop:hover { background: #224A26; }
.knop.lime { background: var(--olijf); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.12); }
.knop.lime:hover { background: #2F6220; color: #fff; }
.knop.groot { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.kaart.zwart .knop.lime { background: var(--lime); color: var(--zwart); }
.kaart.zwart .knop.lime:hover { background: #A5DB92; color: var(--zwart); }
.kaart.lime, .melding { border-color: #CFE6C6; }
.kaart.zwart .hulp, .kaart.zwart .lede { color: #C3D6BE; }
.kaart.zwart .oog { color: var(--lime); }
.kaart.zwart h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.kaart.zwart .balk { background: rgba(255,255,255,.14); } .kaart.zwart .balk > div { background: var(--lime); }
.balk > div { background: var(--olijf); }
.toegang .logo img { width: 200px; display: block; }
.norm { font-size: 12.5px; color: var(--inkt-4); }
pre.proces { white-space: pre-wrap; font: inherit; margin: 0; color: var(--inkt-2); }
textarea.invoer.groot { min-height: 360px; font-size: 13.5px; }
code.link { font-size: 12.5px; background: var(--zacht); padding: 3px 8px; border-radius: 6px; word-break: break-all; }
td.smal, th.smal { white-space: nowrap; width: 1%; }
input[type="radio"] { accent-color: var(--zwart); width: 18px; height: 18px; flex: none; }

/* stip voor de status van een proces */
.stip { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; font-weight: 700;
        background: var(--zacht); color: var(--inkt-4); box-shadow: inset 0 0 0 1px rgba(16,16,12,.06); }
.stip.ok { background: var(--goed); color: #fff; box-shadow: none; }
.stip.minor { background: var(--let-zacht); color: var(--let); }
.stip.major { background: var(--fout); color: #fff; box-shadow: none; }
.stip.actie { background: var(--lime); color: var(--zwart); box-shadow: none; }
.regel.nvt { opacity: .55; }
.themakop { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.themakop h2 { font-size: 18px; } .themakop .hulp { flex: 1 1 260px; }
.held { display: grid; grid-template-columns: 1fr minmax(200px, 280px); gap: 28px; align-items: center; }
.held .zijkant { display: flex; flex-direction: column; gap: 8px; }
.held .getal { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
@media (max-width: 760px) { .held { grid-template-columns: 1fr; } }

/* een vraag per scherm */
.smalpagina { min-height: 100vh; display: flex; flex-direction: column; background: var(--grond); }
.smalpagina .boven { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 40px); }
.smalpagina .boven img { width: 170px; display: block; }
.smalpagina .midden { width: 100%; max-width: 760px; margin: 0 auto; padding: 12px 16px 64px; display: flex; flex-direction: column; gap: 20px; }
.voortgang { display: flex; flex-direction: column; gap: 8px; }
.voortgang .balk { height: 8px; margin: 0; }
.stelling { font-size: clamp(21px, 2.6vw, 27px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; text-wrap: balance; }
.vraagzin { font-size: 17px; color: var(--inkt-3); }
.keuzes { display: flex; flex-direction: column; gap: 10px; }
label.keuze { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--rand-sterk); border-radius: 12px;
              cursor: pointer; background: #fff; font-size: 16.5px; font-weight: 500; transition: border-color .12s, background .12s; }
label.keuze:hover { border-color: var(--olijf); }
label.keuze:has(input:checked) { border-color: var(--olijf); background: var(--lime-licht); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 40%, transparent); }
.drie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.drie button { min-height: 84px; font-size: 19px; border-radius: 14px; }
@media (max-width: 560px) { .drie { grid-template-columns: 1fr; } }
.onder { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.waarom summary { font-size: 14px; }
.lijst td { vertical-align: middle; } .lijst th.smal, .lijst td.smal { text-align: center; }

/* gesprek met vervolgvragen */
.draad { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; border-top: 1px solid var(--zacht); }
.draad:first-child { border-top: 0; padding-top: 4px; }
.bel { max-width: 640px; padding: 12px 16px; border-radius: 14px; font-size: 15px; }
.bel.wij { background: var(--zwart); color: #fff; border-bottom-left-radius: 4px; align-self: flex-start; }
.bel.u { background: var(--zacht); color: var(--inkt-2); border-bottom-right-radius: 4px; align-self: flex-end; }
.bel small { display: block; font-size: 12px; opacity: .7; margin-bottom: 2px; }
.context { font-size: 13.5px; color: var(--inkt-3); border-left: 3px solid var(--rand-sterk); padding-left: 12px; }
.bevinding { border: 1px solid var(--rand); border-left: 4px solid var(--let); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.bevinding.major { border-left-color: var(--fout); }
.stappenrij { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; counter-reset: s; }
.stappenrij > div { counter-increment: s; background: var(--vlak); border: 1px solid var(--rand); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.stappenrij > div::before { content: counter(s); width: 30px; height: 30px; border-radius: 8px; background: var(--zwart); color: var(--lime); display: grid; place-items: center; font-weight: 700; }
@media print { .zij, .niet-print { display: none !important; } .inhoud { padding: 0; } }
.taalkeuze { display: inline-flex; gap: 2px; background: var(--zacht); border-radius: 8px; padding: 2px; }
.taalkeuze a { padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--inkt-3); text-decoration: none; }
.taalkeuze a[aria-current="true"] { background: #fff; color: var(--inkt); box-shadow: 0 1px 2px rgba(16,16,12,.12); }
.zij .taalkeuze { background: rgba(255,255,255,.08); margin-top: 8px; align-self: flex-start; }
.zij .taalkeuze a { color: #B9CDB4; } .zij .taalkeuze a[aria-current="true"] { background: var(--lime); color: var(--zwart); box-shadow: none; }
label.keuze input[type="checkbox"] { width: 18px; height: 18px; flex: none; }

/* het vastgestelde proces als lijst van stappen */
.processtappen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.processtappen li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--zacht); }
.processtappen li:first-child { border-top: 0; padding-top: 2px; }
.processtappen .nr { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--goed-zacht); color: var(--goed); }
.processtappen .nr.open { background: var(--let-zacht); color: var(--let); }
.processtappen b { display: block; font-weight: 600; }
.processtappen span { display: block; font-size: 13.5px; color: var(--inkt-3); margin-top: 2px; }
.groot-ok { display: flex; gap: 18px; align-items: center; }
.groot-ok .stip { width: 52px; height: 52px; font-size: 26px; border-radius: 14px; }

/* klikbare regels, navigatie met stand, documenten */
a.regel.klik { text-decoration: none; color: inherit; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 10px; transition: background .12s; }
a.regel.klik:hover { background: var(--lime-licht); color: inherit; }
a.regel.klik:hover .knop.rand { border-color: var(--olijf); }
.nav a .stand { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #8FAE88; font-variant-numeric: tabular-nums; }
.nav a .stand.klaar { color: var(--lime); }
.nav .groep { padding-top: 16px; }
summary .stand { font-size: 12px; font-weight: 600; color: var(--inkt-4); margin-left: 6px; } summary .stand.klaar { color: var(--goed); }
.docregel { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.docregel .tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; } .docregel .tekst b { font-weight: 600; overflow-wrap: anywhere; }
.docicoon { flex: none; width: 38px; height: 30px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: var(--zacht); color: var(--inkt-3); }
.bewijsrij { padding: 14px 0; border-top: 1px solid var(--zacht); display: flex; flex-direction: column; gap: 8px; }
.bewijsrij .tekst { display: flex; flex-direction: column; } .bewijsrij .tekst b { font-weight: 600; }
.uploadrij { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.uploadrij input[type=file] { flex: 1 1 240px; padding: 8px 10px; min-height: 40px; font-size: 13.5px; }
.uploadrij input[type=date] { width: 150px; display: inline-block; min-height: 36px; }
.uploadvak { border: 1.5px dashed var(--rand-sterk); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.docgroep { padding: 10px 0; border-top: 1px solid var(--zacht); } .docgroep:first-of-type { border-top: 0; }
@media (max-width: 560px) { table.lijst { table-layout: fixed; } table.lijst th:first-child { width: 46%; } table.lijst th, table.lijst td { padding: 8px 4px; font-size: 13px; } }
.kop > .knoppen, .kop > .schakel { flex: 0 0 auto; flex-direction: row; gap: 8px; align-items: center; }
.kop > .schakel { gap: 2px; }

/* beheer: taak, gesprekken, voorstellen en oordeel */
.navgroep summary { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #C3D6BE; font-size: 14px; cursor: pointer; list-style: none; }
.navgroep summary::-webkit-details-marker { display: none; }
.navgroep summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.navgroep[open] summary::before { transform: rotate(45deg); }
.navgroep summary:hover { background: rgba(255,255,255,.05); color: #fff; }
.navgroep summary .stand { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #8FAE88; }
.navgroep a { padding-left: 26px !important; font-size: 13.5px !important; }
.zij a.logo { display: block; padding: 6px 10px 2px; }
a.tegel.klik { text-decoration: none; color: inherit; transition: border-color .12s, box-shadow .12s; } a.tegel.klik:hover { border-color: var(--olijf); box-shadow: var(--schaduw-hoog); }
.taak h2 { font-size: 22px; font-weight: 600; } .kaart.lime.taak .oog { color: var(--olijf); }
.stappenbalk { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: st; }
.stappenbalk li { counter-increment: st; }
.stappenbalk a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 99px; background: rgba(255,255,255,.08); color: #C3D6BE; text-decoration: none; font-size: 13.5px; font-weight: 500; }
.stappenbalk a::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 700; }
.stappenbalk li.nu a { background: var(--lime); color: var(--zwart); } .stappenbalk li.nu a::before { background: var(--zwart); color: var(--lime); }
.gesprek { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--rand); border-radius: 12px; }
.gesprek.antwoord { border-color: var(--olijf); background: var(--lime-licht); } .gesprek.klaar { opacity: .7; }
.gesprekkop { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.gesprekactie { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-top: 4px; }
.gesprekactie details { flex: 1 1 320px; } .gesprekactie details[open] { display: flex; flex-direction: column; gap: 8px; }
.gesprekactie details textarea { margin: 8px 0; }
.voorstellen { display: flex; flex-direction: column; gap: 10px; }
.voorstel-rij { display: grid; grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; padding: 14px; border: 1px solid var(--rand); border-radius: 12px; cursor: pointer; align-items: start; }
.voorstel-rij:has(input:checked) { border-color: var(--olijf); background: var(--lime-licht); }
.voorstel-rij:not(:has(input:checked)) .rechts { opacity: .45; }
.voorstel-rij .links { display: flex; flex-direction: column; gap: 4px; } .voorstel-rij b { font-weight: 600; }
.voorstel-rij textarea { min-height: 92px; }
@media (max-width: 760px) { .voorstel-rij { grid-template-columns: 22px 1fr; } .voorstel-rij .rechts { grid-column: 2; } }
.eiskaart { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--rand); border-left: 4px solid var(--goed); border-radius: 12px; }
.eiskaart.minor, .eiskaart.aandacht { border-left-color: var(--let); } .eiskaart.major { border-left-color: var(--fout); } .eiskaart.nvt { border-left-color: var(--rand-sterk); }
.eiskaart > b { font-weight: 600; font-size: 15px; }
.eiskop { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.antwoordregel { font-size: 14px; padding: 6px 10px; background: var(--zacht); border-radius: 8px; } .antwoordregel.afw { background: var(--let-zacht); }
.oordeelrij { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.segkeuze { display: inline-flex; background: var(--zacht); border-radius: 10px; padding: 3px; gap: 2px; }
.segkeuze label { cursor: pointer; } .segkeuze input { position: absolute; opacity: 0; pointer-events: none; }
.segkeuze span { display: block; padding: 7px 14px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--inkt-3); }
.segkeuze input:checked + span { background: #fff; box-shadow: 0 1px 2px rgba(16,16,12,.14); color: var(--inkt); }
.segkeuze .voldoet input:checked + span { background: var(--goed); color: #fff; }
.segkeuze .minor input:checked + span, .segkeuze .aandacht input:checked + span { background: var(--let); color: #fff; }
.segkeuze .major input:checked + span { background: var(--fout); color: #fff; }
.segkeuze input:focus-visible + span { outline: 2px solid var(--olijf); outline-offset: 2px; }
textarea.watdoen { min-height: 44px; }
.eiskaart:has(.voldoet input:checked) textarea.watdoen, .eiskaart:has(.nvt input:checked) textarea.watdoen { display: none; }

/* live bijwerken */
.livestip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #8FAE88; margin-top: 6px; }
.livestip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(140,201,119,.25); }
.livestip.knipper::before { animation: liveknipper .5s ease-in-out 3; }
@keyframes liveknipper { 50% { transform: scale(1.8); } }
.livemelding { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; gap: 12px; align-items: center; background: var(--zwart); color: #fff; padding: 12px 14px 12px 18px; border-radius: 12px; box-shadow: var(--schaduw-hoog); font-size: 14px; }
.livemelding[hidden] { display: none; }
@media print { .livemelding, .livestip { display: none !important; } }

/* procesbeschrijving */
.procedure { display: flex; flex-direction: column; gap: 14px; }
.procedurekop { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.procedurekop > div { background: var(--lime-licht); border: 1px solid #CFE6C6; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.procedurekop .lab { font-size: 12px; font-weight: 600; color: var(--olijf); }
.procedurekop small { font-size: 12px; color: var(--inkt-4); }
.processtappen .openpunt { color: var(--let) !important; font-weight: 600; }
.procedurevoet { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px solid var(--zacht); font-size: 14px; }
/* werknemers */
.keuzes.rij { flex-direction: row; flex-wrap: wrap; margin: 10px 0; }
.keuzes.rij label.keuze { padding: 10px 16px; flex: 0 1 auto; }
.checkform { margin-top: 8px; }
.docgroep summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; }
.docgroep summary .stip { width: 28px; height: 28px; font-size: 14px; }
.stip.wacht { background: var(--lime-licht); color: var(--olijf); }
.checkform .knoppen { margin-top: 12px; }
/* proefinspectie en keten */
.keuze-inline { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; cursor: pointer; }
.keten { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 16px; align-items: start; }
.keten + .keten { border-top: 1px solid var(--rand); padding-top: 16px; margin-top: 16px; }
.keten .schakel { border-left: 3px solid var(--rand); padding-left: 12px; margin-bottom: 12px; }
.keten .schakel.ok { border-color: var(--goed); } .keten .schakel.minor { border-color: var(--let); }
.keten .schakel.major { border-color: var(--fout); } .keten .schakel.actie { border-color: var(--lime); }
@media (max-width: 700px) { .keten { grid-template-columns: 1fr; } }
.onder.boven { margin: 0 0 -4px; }
.advies { white-space: pre-line; background: var(--wit, #fff); border: 1px solid var(--rand); border-radius: 10px; padding: 12px 14px; margin: 8px 0; font-size: 14.5px; line-height: 1.5; }
.bericht { width: 100%; min-height: 190px; font-size: 14px; }
.toegang .qr { background: #fff; padding: 12px; border-radius: 8px; width: max-content; margin: 8px 0; }
.toegang code { word-break: break-all; }
