/* Salvéos-huisstijl, overgenomen van salveos.nl: Inter, antraciet, rood, witte kaarten. */
:root {
  --ink: #222222;
  --tekst: #424242;
  --grijs: #5E5E5E;
  --lijn: #EAEAEA;
  --vlak: #F5F5F5;
  --vlak2: #F2F2F2;
  --rood: #FF3333;
  --rood-tekst: #C8201E;
  --rood-zacht: #FFECEC;
  --amber: #6E4700;
  --amber-zacht: #FBEFD9;
  --schaduw: 0 0 36px rgba(0, 0, 0, 0.1);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--ink); background: #FFFFFF; font-size: 16px; line-height: 1.5; }
a { color: var(--ink); text-decoration-color: var(--rood); text-underline-offset: 3px; }
a:hover { color: var(--rood-tekst); }
h1, h2, h3, p { margin: 0; }

header.kop { height: 68px; padding: 0 40px; display: flex; align-items: center; gap: 36px; border-bottom: 1px solid var(--lijn); background: #FFF; position: sticky; top: 0; z-index: 5; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo .woord { display: flex; flex-direction: column; line-height: 1; }
.logo .woord b { font-size: 22px; letter-spacing: -0.01em; }
.logo .woord small { font-size: 9px; font-weight: 500; letter-spacing: 0.08em; padding-top: 3px; }
.logo .streep { width: 1px; height: 28px; background: var(--lijn); }
.logo .tool { font-size: 15px; font-weight: 500; color: var(--grijs); }
nav.menu { display: flex; gap: 4px; flex-grow: 1; }
nav.menu a { padding: 12px 16px; border-radius: 16px; text-decoration: none; font-size: 15px; color: var(--tekst); }
nav.menu a.actief { font-weight: 600; color: var(--ink); background: var(--vlak2); }
.wie { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--tekst); }
.avatar { width: 38px; height: 38px; border-radius: 19px; background: var(--ink); color: #FFF; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }

main { max-width: 1280px; margin: 0 auto; padding: 48px 40px 80px; display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 1; }
.blok-deco { position: fixed; right: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 56px; background: var(--rood); z-index: 0; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rood-tekst); }
h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h1.klein { font-size: 40px; }
.sub { font-size: 16px; color: var(--grijs); }
.titel { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.titel > div { display: flex; flex-direction: column; gap: 8px; }
.titel > div.knoppen { flex-direction: row; gap: 12px; }

/* Verborgen blijft verborgen, ook als een klasse display zet (zoals .raster bij de tabs op Filter). */
[hidden] { display: none !important; }
.raster { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.kolom { display: flex; flex-direction: column; gap: 20px; }
.kaart { background: #FFF; border-radius: 24px; box-shadow: var(--schaduw); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.kaart.klein { padding: 24px; gap: 14px; }
.kaart h2 { font-size: 22px; font-weight: 600; }
.kaart h2.zacht { font-size: 20px; color: var(--tekst); }
.kaart h3 { font-size: 17px; font-weight: 600; }
.org { font-size: 15px; color: var(--tekst); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--grijs); }
.meta .nadruk { color: var(--ink); font-weight: 500; }
.kaartkop { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.kaartkop > div { display: flex; flex-direction: column; gap: 6px; }
.tekst { font-size: 16px; line-height: 1.55; }
.opm { font-size: 15px; line-height: 1.5; color: var(--tekst); }
.opm strong { color: var(--ink); font-weight: 600; }

.label { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.l-sterk { background: var(--rood); color: #FFF; }
.l-oprekken { background: var(--rood-zacht); color: #B01818; }
.l-vraag { background: var(--ink); color: #FFF; }
.l-niet, .l-grijs { background: var(--vlak2); color: #4D4D4D; }
.l-amber { background: var(--amber-zacht); color: var(--amber); }
.l-donker { background: var(--ink); color: #FFF; }

.knoppen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 4px; }
.knoppen form { margin: 0; }
.knoppen .weg { display: flex; align-items: center; }
.knop { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 16px; border: none; background: var(--rood); color: #FFF; font: inherit; font-size: 19px; font-weight: 700; text-decoration: none; cursor: pointer; }
.knop:hover { background: #E52B2B; color: #FFF; }
.knop.twee { background: #FFF; border: 1px solid #D6D6D6; color: var(--ink); font-size: 15px; font-weight: 400; }
.knop.twee:hover { border-color: var(--ink); }
.knop.stil { background: transparent; color: var(--grijs); font-size: 15px; font-weight: 400; padding: 10px 8px; }
.knop.stil:hover { color: var(--ink); }
.knop:disabled { opacity: 0.5; cursor: default; }

.vraagvak { padding: 16px 18px; border-radius: 16px; background: var(--vlak); display: flex; flex-direction: column; gap: 12px; }
.vraagvak form { display: flex; gap: 10px; margin: 0; }
input[type=text], input[type=number], select { min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid #D6D6D6; font: inherit; font-size: 15px; color: var(--ink); background: #FFF; }
input[type=text] { flex-grow: 1; }
.waarschuwing { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--amber); }

ul.lijst { margin: 0; padding: 0; list-style: none; }
ul.lijst li { padding: 12px 0; border-top: 1px solid var(--vlak2); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
ul.lijst li .t { display: flex; flex-direction: column; gap: 2px; }
ul.lijst li .t span:first-child { font-size: 15px; font-weight: 500; }
ul.lijst li .t span + span { font-size: 13px; color: var(--grijs); }
ul.lijst form { margin: 0; }
.mini { min-height: 40px; padding: 8px 12px; border-radius: 12px; border: 1px solid #D6D6D6; background: #FFF; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.mini:hover { border-color: var(--ink); }

.donker { background: var(--ink); color: #FFF; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.donker a { color: #FFF; font-weight: 600; }
.cijfers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cijfers div { display: flex; flex-direction: column; gap: 2px; }
.cijfers b { font-size: 32px; color: var(--rood); }
.cijfers span { font-size: 13px; color: #D0D0D0; }

.voortgang { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--vlak); font-size: 15px; }
.voortgang .balk { flex-grow: 1; height: 8px; border-radius: 4px; background: #E2E2E2; overflow: hidden; }
.voortgang .balk i { display: block; height: 100%; background: var(--rood); }
.fout { padding: 16px 20px; border-radius: 16px; background: var(--rood-zacht); color: #8E1414; font-size: 15px; }
.leeg { padding: 40px; text-align: center; color: var(--grijs); display: flex; flex-direction: column; gap: 16px; align-items: center; }

table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th { text-align: left; padding: 14px 12px 12px 0; border-bottom: 1px solid var(--lijn); font-size: 13px; font-weight: 600; color: #4D4D4D; }
td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--vlak2); vertical-align: top; }
tr:last-child td { border-bottom: none; }
td .klein { font-size: 13px; color: var(--grijs); display: block; }
tr.tussenkop td { background: var(--vlak2); padding: 14px 12px; }
td form { margin: 0; display: flex; gap: 8px; }

dl.feiten { margin: 0; display: grid; grid-template-columns: 130px minmax(0, 1fr); row-gap: 10px; column-gap: 12px; font-size: 14px; line-height: 1.45; }
dl.feiten dt { color: var(--grijs); }
dl.feiten dd { margin: 0; }
.velden { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.velden label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #4D4D4D; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: #FFF; border-radius: 20px; box-shadow: var(--schaduw); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 34px; }
.stat span { font-size: 14px; color: #4D4D4D; }
.samenvatting { white-space: pre-line; font-size: 15px; line-height: 1.55; color: var(--tekst); }
details summary { cursor: pointer; font-size: 14px; color: var(--grijs); }
.knop { white-space: nowrap; }
@media (max-width: 960px) {
  header.kop { padding: 0 16px; gap: 16px; overflow-x: auto; }
  .logo .streep, .logo .tool, .wie span:first-child { display: none; }
  main { padding: 32px 16px 64px; }
  .raster, .stats, .velden { grid-template-columns: minmax(0, 1fr); }
  .titel { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 32px; }
  .blok-deco { display: none; }
}

.chat { display: flex; flex-direction: column; gap: 12px; }
.bericht { max-width: 80%; padding: 12px 16px; border-radius: 16px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; white-space: pre-line; }
.bericht small { font-size: 12px; color: var(--grijs); }
.van-jou { align-self: flex-end; background: var(--rood-zacht); border-bottom-right-radius: 4px; }
.van-claude { align-self: flex-start; background: var(--vlak); border-bottom-left-radius: 4px; }
.chatinvoer { display: flex; gap: 12px; align-items: flex-end; margin: 0; }
textarea { flex-grow: 1; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid #D6D6D6; font: inherit; font-size: 15px; color: var(--ink); resize: vertical; }
input[type=file] { font: inherit; font-size: 14px; }

.deelkop { margin: 8px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rood-tekst); }
.blok { display: flex; flex-direction: column; gap: 8px; }
.blok label { font-size: 15px; font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.blok .nr { flex-shrink: 0; width: 24px; height: 24px; border-radius: 12px; background: var(--vlak2); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.blok textarea { width: 100%; line-height: 1.55; }
.plak { position: sticky; top: 88px; }
.rek { align-self: stretch; }
.chatinvoer.staand { flex-direction: column; align-items: stretch; }
.chatinvoer.staand .knop { align-self: flex-end; }

.intro { display: flex; flex-direction: column; gap: 12px; }
.intro h2 { font-size: 24px; font-weight: 700; }
ul.punten { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
ul.punten li::marker { color: var(--rood); }
.startrij { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.startrij > form:first-child { display: flex; align-items: center; }
.upload { flex-grow: 1; padding: 16px 18px; border-radius: 16px; background: var(--vlak); display: flex; flex-direction: column; gap: 10px; margin: 0; font-size: 14px; color: var(--tekst); }
#gesprek .chat .bericht { max-width: 70%; }
#gesprek textarea { width: 100%; }
.groep { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.groepkop { margin: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.stip { width: 10px; height: 10px; border-radius: 5px; }
.stip-hoog { background: var(--rood); }
.stip-midden { background: #E0A43A; }
.stip-laag { background: #B0B0B0; }
.klein-label { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--vlak2); color: #4D4D4D; font-size: 12px; white-space: nowrap; }
ul.tijdlijn { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
ul.tijdlijn li { display: flex; flex-direction: column; gap: 1px; padding: 10px 0 10px 16px; border-left: 2px solid var(--lijn); position: relative; font-size: 14px; }
ul.tijdlijn li::before { content: ""; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; border-radius: 5px; background: var(--rood); }
ul.tijdlijn .klein, ul.punten .klein { font-size: 13px; color: var(--grijs); }
nav.menu a, .wie span { white-space: nowrap; }
.rijknoppen { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rijknoppen form { margin: 0; }
.mini.stil { border-color: transparent; background: transparent; color: var(--grijs); }
.mini.stil:hover { color: var(--ink); border-color: #D6D6D6; }

body.los { display: flex; min-height: 100vh; align-items: center; }
main.smal { max-width: 460px; width: 100%; }
main.smal .logo { margin-bottom: 8px; }
.formulier { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.formulier label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #4D4D4D; }
input[type=password] { min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid #D6D6D6; font: inherit; font-size: 15px; }
.wie .uit { font-size: 13px; color: var(--grijs); text-decoration: none; }
.wie .uit:hover { color: var(--ink); }
.stappen { display: flex; flex-direction: column; gap: 14px; }
.stap { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--vlak2); }
.stap .nr { width: 32px; height: 32px; border-radius: 16px; background: var(--vlak2); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.stap.klaar .nr { background: var(--ink); color: #FFF; }
.stap > div { display: flex; flex-direction: column; gap: 8px; }
.waarschuwing { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--amber-zacht); color: var(--amber); font-size: 14px; }

/* Aan de slag: iconen in plaats van nummers */
.stap { grid-template-columns: 44px minmax(0, 1fr); }
.stap .icoon { position: relative; width: 44px; height: 44px; border-radius: 14px; background: var(--rood-zacht); color: var(--rood-tekst); display: flex; align-items: center; justify-content: center; }
.stap.klaar .icoon { background: var(--vlak2); color: var(--ink); }
.stap .vink { display: none; position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #FFF; align-items: center; justify-content: center; border: 2px solid #FFF; }
.stap.klaar .vink { display: flex; }
.stap form.formulier, .stap textarea.breed { width: 100%; }
textarea.breed { min-height: 220px; font-size: 15px; line-height: 1.55; }
details.kaart > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; }
details.kaart > summary::-webkit-details-marker { display: none; }

/* Verwijderen */
.knop.gevaar { background: #9E1614; }
.knop.gevaar:hover { background: #7E0F0E; }
.gevaarzone { border: 1px solid #F3C9C9; box-shadow: none; }
details.gevaar-klein[open] { flex-basis: 100%; }
details.gevaar-klein summary { list-style: none; cursor: pointer; }
details.gevaar-klein summary::-webkit-details-marker { display: none; }

/* Leestekst (privacy) */
.leestekst { max-width: 760px; line-height: 1.6; }
.leestekst h1 { font-size: 32px; margin-bottom: 8px; }
.leestekst h2 { font-size: 20px; margin: 18px 0 6px; }
.leestekst p, .leestekst li { font-size: 15px; color: var(--tekst); }
.leestekst ul { padding-left: 20px; }

/* Pagina Filter: rij die wordt beoordeeld, en de toelichting achter het oordeel. */
tr.bezig td { background: var(--amber-zacht); }
.draait::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: draai .8s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .draait::before { animation: none; } }
details.uitleg { position: relative; }
details.uitleg > summary { list-style: none; cursor: pointer; }
details.uitleg > summary::-webkit-details-marker { display: none; }
details.uitleg > summary .label::after { content: " ▾"; font-size: 11px; }
details.uitleg[open] > summary .label::after { content: " ▴"; }
.uitlegvak { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: 320px; padding: 14px 16px;
  background: var(--wit, #FFF); border: 1px solid var(--vlak2); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-size: 14px; line-height: 1.45; color: var(--ink); white-space: normal; }
.uitlegvak p { margin: 0 0 8px; }
.uitlegvak p:last-child { margin-bottom: 0; }

/* De Opdrachtzoeker als poppetje: op de inlogpagina, naast zijn chatberichten en bij zijn meldingen. */
.welkom { display: flex; align-items: center; gap: 18px; margin-bottom: 4px; }
.welkom img { flex-shrink: 0; width: 132px; height: auto; margin: -8px 0 -8px -10px; }
.welkom h1 { margin: 0 0 6px; }
.welkom .opm { margin: 0; }
.van-claude { position: relative; margin-left: 46px; }
.van-claude::before { content: ""; position: absolute; left: -46px; bottom: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--vlak) url(/static/opdrachtzoeker-klein.png) center 3px / 34px auto no-repeat; }
.voortgang.zoeker::before { content: ""; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: #FFF url(/static/opdrachtzoeker-klein.png) center 4px / 40px auto no-repeat; }
@media (max-width: 480px) { .welkom img { width: 96px; } }

/* Gaten met de knop "Hier heb ik wel ervaring mee", en de balk boven een aanvulgesprek. */
ul.gaten { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
ul.gaten li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 0 0; border-top: 1px solid var(--vlak2); font-size: 13px; }
ul.gaten form { margin: 0; }
ul.lijst li.met-gaten { flex-direction: column; align-items: stretch; }
.uitlegvak { max-height: 60vh; overflow-y: auto; }
.over { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; margin-bottom: 16px;
  border-radius: 14px; background: var(--rood-zacht); }
.over > div { display: flex; flex-direction: column; gap: 2px; }
.over .kicker { margin: 0; }
.over form { margin: 0; flex-shrink: 0; }

/* Wizard "Bouw je profiel": stappen links, één vraag per scherm rechts. */
.wizard { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.wz-rail { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.wz-rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.wz-rail li a, .wz-rail .wz-dicht { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: 15px; text-decoration: none; color: var(--tekst); }
.wz-rail .wz-dicht { color: #9A9A9A; }
.wz-rail li a:hover { background: var(--vlak); }
.wz-rail li.nu a { background: var(--vlak2); color: var(--ink); font-weight: 600; }
.wz-nr { flex-shrink: 0; width: 26px; height: 26px; border-radius: 13px; background: var(--vlak2); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.wz-rail li.nu .wz-nr { background: var(--rood); color: #FFF; }
.wz-rail li.klaar .wz-nr { background: var(--ink); color: #FFF; }
.wz-kaart { gap: 20px; }
.wz-kop { display: flex; flex-direction: column; gap: 6px; }
.wz-gelezen { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--vlak); }
.wz-upload { flex-grow: 0; }
.opm.klein { font-size: 13px; color: var(--grijs); }

.wz-tabel { display: flex; flex-direction: column; gap: 8px; }
.wz-rij { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 110px 130px 60px; gap: 8px; align-items: center; }
.wz-rij.kop span { font-size: 13px; font-weight: 600; color: #4D4D4D; }
.wz-rij.twee { grid-template-columns: minmax(0, 1.2fr) 120px minmax(0, 1.4fr) auto; }
.wz-rij.nieuw input { background: var(--vlak); }
.wz-rij input[type=text] { min-width: 0; width: 100%; }
.wz-weg { font-size: 13px; color: var(--grijs); display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.wz-rij.werk { grid-template-columns: minmax(0, 1fr) 100px 110px; padding-bottom: 10px; border-bottom: 1px solid var(--vlak2); }
.wz-rij.werk.kop { border-bottom: none; padding-bottom: 0; }
.wz-rij.werk .wz-functie { font-weight: 600; }
.wz-rij.werk .wz-weg { grid-column: span 2; }
.wz-jaren { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--grijs); }
.wz-jaren input { width: 70px; flex-grow: 0; }

.wz-keuzes { display: flex; flex-direction: column; gap: 10px; }
.wz-keuze { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid #D6D6D6; border-radius: 16px; cursor: pointer; color: var(--ink) !important; font-size: 15px !important; }
.wz-keuze > span { display: flex; flex-direction: column; gap: 6px; }
.wz-keuze input { margin-top: 4px; accent-color: var(--rood); }
.wz-keuze:has(input:checked) { border-color: var(--ink); background: var(--vlak); }

fieldset.wz-chips { border: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
fieldset.wz-chips legend { padding: 0 0 8px; font-size: 15px; }
fieldset.wz-chips input[type=text] { flex-basis: 100%; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: 8px 14px; border-radius: 999px; border: 1px solid #D6D6D6; font-size: 14px; background: #FFF; color: var(--tekst); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFF; }
.chip input:focus-visible + span { outline: 2px solid var(--rood); outline-offset: 2px; }
.chip:hover span { border-color: var(--ink); }

.wz-eisen { display: flex; flex-direction: column; gap: 10px; }
.wz-eis { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 16px; background: var(--vlak); }
.wz-eis.beantwoord { background: #FFF; border: 1px solid var(--lijn); }
.wz-eis-kop { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.wz-eis-kop .stip { flex-shrink: 0; transform: translateY(-1px); }
.wz-antw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wz-antw .chip span { padding: 6px 14px; }
.wz-toel { display: none; flex-basis: 100%; }
.wz-antw:has(input[value=ja]:checked) .wz-toel { display: block; }
.wz-bewaar { display: none; }
.wz-antw:has(input[value=ja]:checked, input[value=nee]:checked) .wz-bewaar { display: inline-flex; }

.wz-extra { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 1px solid var(--vlak2); }
.wz-extra strong .opm { font-weight: 400; font-size: 14px; }
/* Stap 6: drie gelijke vakjes die meegroeien met de tekst, zodat een ingevulde regel niet wegvalt. */
.wz-extra .wz-veld { flex-grow: 1; min-height: 64px; padding: 10px 12px; font-size: 14px; line-height: 1.45; field-sizing: content; }

.wz-lijst { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--vlak2); }
.wz-woorden { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wz-woorden form { margin: 0; display: inline-flex; }
form.woord { align-items: center; gap: 2px; padding: 4px 4px 4px 12px; border-radius: 999px; background: var(--ink); color: #FFF; font-size: 14px; }
.wz-lijst.niet form.woord { background: var(--rood-zacht); color: #8E1414; }
form.woord button { border: none; background: transparent; color: inherit; font-size: 16px; line-height: 1; width: 26px; height: 26px; border-radius: 13px; cursor: pointer; }
form.woord button:hover { background: rgba(255, 255, 255, .2); }
.wz-lijst.niet form.woord button:hover { background: rgba(0, 0, 0, .08); }
form.erbij { gap: 4px; }
form.erbij input[type=text] { min-height: 34px; padding: 4px 12px; width: 140px; flex-grow: 0; border-radius: 999px; font-size: 14px; }
form.erbij .mini { min-height: 34px; border-radius: 999px; }

ol.wz-proef { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
ol.wz-proef li { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--vlak2); }
.wz-proef-kop { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.wz-proef-kop > div:first-child { display: flex; flex-direction: column; gap: 2px; }
ol.wz-proef li.afgekeurd .wz-proef-kop > div:first-child { opacity: .55; }
.mini.aan { background: var(--ink); color: #FFF; border-color: var(--ink); }

@media (max-width: 960px) {
  .wizard { grid-template-columns: minmax(0, 1fr); }
  .wz-rail { position: static; }
  .wz-rail ol { flex-direction: row; overflow-x: auto; }
  .wz-rail li a, .wz-rail .wz-dicht { white-space: nowrap; }
  .wz-rail > .opm { display: none; }
  .wz-rij, .wz-rij.twee, .wz-rij.werk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wz-rij.werk .wz-functie, .wz-rij.werk .wz-org { grid-column: span 2; }
  .wz-proef-kop { flex-direction: column; }
}
.formulier label.wz-weg, .formulier label.wz-jaren, .formulier label.chip, .formulier label.wz-keuze { flex-direction: row; }
.formulier label.wz-weg { align-items: center; }
.wz-keuze-titel { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
details.wz-dicht-blok summary { padding: 6px 0; }
details.wz-dicht-blok[open] summary { margin-bottom: 10px; }
.wz-proef-kop .rijknoppen { flex-wrap: nowrap; flex-shrink: 0; }
.wz-voorstel { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--amber-zacht); }
.wz-voorstel > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.wz-voorstel .rijknoppen { flex-wrap: nowrap; flex-shrink: 0; }

/* Mijn profiel na de wizard: vier vinkjes */
ul.wz-stand { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
ul.wz-stand li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--vlak2); }
ul.wz-stand li > div { display: flex; flex-direction: column; gap: 2px; }
.wz-vink { width: 28px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; background: var(--amber-zacht); color: var(--amber); }
ul.wz-stand li.klaar .wz-vink { background: var(--ink); color: #FFF; }
.zoekknop { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 280px; text-align: right; }
.wie a { white-space: nowrap; }
.leestekst table { margin: 8px 0 12px; }
.leestekst th, .leestekst td { font-size: 14px; }

/* FlexIntens: inklapbare inschrijvingen */
details.inklap { padding: 0; gap: 0; }
details.inklap > summary { padding: 18px 24px; justify-content: space-between; }
details.inklap > summary::after { content: "▾"; color: var(--grijs); }
details.inklap[open] > summary::after { content: "▴"; }
details.inklap[open] > summary { border-bottom: 1px solid #EEE; }
details.inklap > .raster { padding: 24px; }
.kopregel { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.titel-kort { font-size: 18px; color: var(--ink); }
.knoppen.acties { align-items: flex-start; }
details.actie { display: inline-block; }
details.actie > summary { list-style: none; display: inline-block; }
details.actie > summary::-webkit-details-marker { display: none; }
details.actie[open] { flex-basis: 100%; }
details.actie[open] > summary { border-color: var(--ink); }
details.actie > .formulier { margin-top: 12px; }
.mini.knop-rood { background: #FBEAEA; border-color: #EBC3C3; color: #A32323; }
.mini.knop-rood:hover { background: #F6D9D9; border-color: #D99A9A; }
.mini.knop-groen { background: #E8F3EC; border-color: #BFDDCB; color: #1F7141; }
.mini.knop-groen:hover { background: #D7EBDF; border-color: #9CCBB0; }
ul.lijst li .labels { display: flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0; justify-content: flex-end; }
ul.lijst li a.t { color: inherit; text-decoration: none; }
ul.lijst li a.t:hover span:first-child { text-decoration: underline; }

/* Jouw inschrijvingen: een regel per inschrijving in het zwarte blok */
.donker-lijst { display: flex; flex-direction: column; gap: 8px; }
.donker-lijst a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.08); text-decoration: none; font-weight: 400; }
.donker-lijst a:hover { background: rgba(255,255,255,0.16); }
.dl-status { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.dl-titel { font-size: 15px; font-weight: 600; }

.oordeelblok { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--vlak2); }

/* Stap 2: tips en omschrijving per functie */
details.wz-tips { padding: 14px 18px; border-radius: 16px; background: var(--vlak); margin-bottom: 18px; }
details.wz-tips > summary { list-style: none; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; color: var(--ink); }
details.wz-tips > summary::-webkit-details-marker { display: none; }
details.wz-tips > summary::after { content: "▾"; color: var(--grijs); margin-left: auto; }
details.wz-tips[open] > summary::after { content: "▴"; }
details.wz-tips[open] > summary { margin-bottom: 10px; }
details.wz-tips ol { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
details.wz-tips em { font-style: normal; background: #FFF; padding: 1px 6px; border-radius: 6px; }
.wz-rij.werk .wz-tekst { grid-column: 1 / -1; width: 100%; min-height: 72px; font-size: 14px; line-height: 1.5; }

.wz-meer { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }

/* Melding van automatisch bewaren in de wizard. */
.wz-bewaard { position: fixed; right: 20px; bottom: 20px; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 50; }
.wz-bewaard.zichtbaar { opacity: 1; }

/* Laadbalk bij het (opnieuw) beoordelen van één opdracht, zie _laden.html. */
.laden { display: flex; flex-direction: column; gap: 12px; margin: 14px 0; padding: 18px 20px; border-radius: 16px;
  background: linear-gradient(135deg, #FFF 0%, var(--rood-zacht) 100%); border: 1px solid var(--lijn); }
.laden-kop { display: flex; align-items: center; gap: 14px; }
.laden-kop > div { flex-grow: 1; display: flex; flex-direction: column; }
.laden-kop strong { font-size: 15px; }
.laden-stap { font-size: 14px; color: var(--grijs); }
.laden-pct { font-size: 22px; font-weight: 600; color: var(--rood-tekst); font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }
.laden-pop { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--schaduw);
  background: #FFF url(/static/opdrachtzoeker-klein.png) center 4px / 40px auto no-repeat; animation: laden-dobber 1.6s ease-in-out infinite; }
.laden-balk { height: 10px; border-radius: 5px; background: #FFF; overflow: hidden; box-shadow: inset 0 0 0 1px var(--lijn); }
.laden-balk i { display: block; height: 100%; width: 0; border-radius: 5px; transition: width .4s ease-out;
  background: linear-gradient(90deg, var(--rood) 0%, #FF7A59 50%, var(--rood) 100%); background-size: 200% 100%; animation: laden-glans 1.4s linear infinite; }
.laden-voet { font-size: 13px; color: var(--grijs); }
.laden.klaar .laden-balk i { background: #2E9E5B; animation: none; }
.laden.klaar .laden-pct { color: #2E9E5B; }
.voortgang .balk i { background: linear-gradient(90deg, var(--rood) 0%, #FF7A59 50%, var(--rood) 100%); background-size: 200% 100%;
  animation: laden-glans 1.4s linear infinite; transition: width .4s ease-out; }
/* De zoekronde heeft een echte voortgang, dus geen glans die heen en weer lijkt te lopen. */
.laden.zoekronde .laden-balk i { animation: none; background: var(--rood); }
.laden.zoekronde.klaar .laden-balk i { background: #2E9E5B; }
.laden-teller:empty { display: none; }
@keyframes laden-glans { from { background-position: 200% 0; } to { background-position: 0 0; } }
@keyframes laden-dobber { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .laden-pop, .laden-balk i, .voortgang .balk i { animation: none; } }
.nietin { position: relative; }
.nietin summary { list-style: none; }
.nietin summary::-webkit-details-marker { display: none; }
.nietin[open] > form { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 260px; background: #fff; border: 1px solid var(--lijn); border-radius: 12px; padding: 14px; box-shadow: var(--schaduw); }
.titel > div.statusvak { align-items: flex-end; gap: 12px; }
.statusregel { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grijs); }
.statusregel .label { font-size: 15px; padding: 8px 16px; letter-spacing: 0; text-transform: none; }
.knop.keus { font-size: 16px; padding: 10px 18px; }
.knop.keus.ja { background: #1F7141; }
.knop.keus.ja:hover { background: #185C34; }
.knop.keus.nee { background: #FFF; border: 1.5px solid #D99A9A; color: #A32323; }
.knop.keus.nee:hover, .nietin[open] > .knop.keus.nee { background: #FBEAEA; border-color: #A32323; }
@media (max-width: 960px) { .titel > div.statusvak { align-items: flex-start; } }
.statuskaart { display: flex; flex-direction: column; gap: 12px; }
.statuskaart { position: relative; }
.statuskaart .knoppen { flex-wrap: nowrap; gap: 8px; }
.statuskaart .knoppen > * { flex: 1; min-width: 0; }
.statuskaart .knop.keus { width: 100%; justify-content: center; font-size: 14px; padding: 8px; gap: 6px; }
.statuskaart .nietin { position: static; }
.statuskaart .nietin[open] > form { left: 0; right: 0; min-width: 0; }
.statuskaart select { width: 100%; }
.statuskaart .knop.keus svg { flex-shrink: 0; }
.advies { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--amber-zacht); display: flex; flex-direction: column; gap: 8px; }
.advies p { margin: 0; }
.advies form { margin: 0; }
.tweeluik { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 960px) { .tweeluik { grid-template-columns: minmax(0, 1fr); } }
.hoofdrichting { display: flex; flex-direction: column; gap: 6px; max-width: 420px; margin: 0; }
.hoofdrichting label { font-size: 14px; color: #4D4D4D; }
.hoofdrichting .rij { display: flex; gap: 8px; }
.hoofdrichting .rij input { flex: 1; }
form:not(:has(option[value=anders]:checked)) .rol-anders { display: none; }
.rol-kies { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 0; }
.rol-kies > label { display: flex; flex-direction: column; gap: 6px; max-width: 420px; font-size: 14px; color: #4D4D4D; }
.waarom { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; font-size: 13px; color: var(--grijs); }
.waarom p { margin: 0; }
.waarom b { font-weight: 600; color: var(--tekst); }
.w-plus, .w-min { display: flex; flex-wrap: wrap; gap: 2px 14px; position: relative; padding-left: 14px; }
.w-teken { position: absolute; left: 0; top: 0; font-weight: 700; }
.w-plus .w-teken { color: #1F7141; }
.w-min .w-teken { color: var(--rood-tekst); }
.w-gaten { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.w-gaten li span { display: block; }

/* Zachte afwerking naar mobile-magicui.vercel.app, op alle pagina's (<body class="zacht">; het invliegen staat in base.html).
   Niets beweegt in een lus: alleen één keer invliegen en een korte reactie op hover. */
html:has(body.zacht) { scroll-behavior: smooth; }
.zacht [id] { scroll-margin-top: 92px; }
.zacht main { gap: 40px; padding-top: 64px; }
.zacht .titel h1 { font-size: 48px; letter-spacing: -0.03em; }
/* Knoppen als pil, met een korte, soepele reactie. */
.zacht .knop, .zacht .mini { border-radius: 999px; transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.zacht .knop:not(.stil):hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 51, 51, 0.25); }
.zacht .knop.twee:hover, .zacht .mini:not(.stil):hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.zacht .knop:active, .zacht .mini:active { transform: scale(0.98); box-shadow: none; }
.zacht .knop:disabled { transform: none; box-shadow: none; }
/* Invliegen: de titel bij het laden, de kaarten zodra ze in beeld komen. Zonder JavaScript blijft alles gewoon staan. */
.zacht.vlieg .titel h1, .zacht.vlieg .titel .sub, .zacht.vlieg .kaart { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(0.22, 1, 0.36, 1); }
.zacht.vlieg .titel h1 { transform: translateX(-12px); }
.zacht.vlieg .titel .sub { transform: translateX(-20px); transition-delay: .08s; }
.zacht.vlieg .kaart { transform: translateY(18px); }
.zacht.vlieg .in, .zacht.vlieg .titel.in h1, .zacht.vlieg .titel.in .sub { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html:has(body.zacht) { scroll-behavior: auto; }
  .zacht.vlieg .titel h1, .zacht.vlieg .titel .sub, .zacht.vlieg .kaart { opacity: 1; transform: none; transition: none; }
  .zacht .knop, .zacht .mini { transition: none; }
}

/* Mijn profiel: kleine bewegingen naar kinetics.colorion.co. Alleen op <body class="profiel">. Niets loopt door,
   behalve de puntjes zolang de Opdrachtzoeker bezig is. */
.profiel { interpolate-size: allow-keywords; --veer: cubic-bezier(0.34, 1.56, 0.64, 1); --glij: cubic-bezier(0.22, 1, 0.36, 1); }

/* 1. Uitklappers (Accordion Spring): soepel open en dicht, met een pijltje dat meedraait. */
.profiel details > summary { list-style: none; }
.profiel details > summary::-webkit-details-marker { display: none; }
.profiel details > summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 4px 3px 10px; border-right: 2px solid var(--grijs); border-bottom: 2px solid var(--grijs); transform: rotate(45deg); transition: transform .35s var(--glij); }
.profiel details[open] > summary::after { transform: translateY(3px) rotate(-135deg); }
.profiel details.kaart > summary::after { margin-left: auto; }
.profiel details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--glij), content-visibility .4s allow-discrete; }
.profiel details[open]::details-content { block-size: auto; }

/* 2. Pulldowns en velden: pil met eigen pijltje en een zachte focusrand. */
.profiel select { appearance: none; -webkit-appearance: none; border-radius: 999px; padding-right: 40px; cursor: pointer;
  background: #FFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23424242' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.profiel select, .profiel input[type=text], .profiel input[type=number], .profiel textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.profiel select:hover, .profiel input[type=text]:hover, .profiel input[type=number]:hover, .profiel textarea:hover { border-color: #A8A8A8; }
.profiel select:focus-visible, .profiel input[type=text]:focus, .profiel input[type=number]:focus, .profiel textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 51, 51, 0.14); }
/* Browsers die het kunnen (Chrome), krijgen ook een eigen uitklaplijst die zacht openvalt. */
@supports (appearance: base-select) {
  .profiel select, .profiel select::picker(select) { appearance: base-select; }
  .profiel select { background-image: none; padding-right: 16px; display: inline-flex; align-items: center; gap: 10px; }
  .profiel select::picker-icon { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--tekst); border-bottom: 2px solid var(--tekst); transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--glij); }
  .profiel select:open::picker-icon { transform: translateY(2px) rotate(-135deg); }
  .profiel select::picker(select) { margin-top: 6px; padding: 6px; border: 1px solid var(--lijn); border-radius: 16px; background: #FFF; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top; transition: opacity .2s ease, transform .3s var(--glij), overlay .3s allow-discrete, display .3s allow-discrete; }
  .profiel select:open::picker(select) { opacity: 1; transform: none; }
  @starting-style { .profiel select:open::picker(select) { opacity: 0; transform: translateY(-6px) scale(0.98); } }
  .profiel select option { padding: 10px 14px; border-radius: 10px; font-size: 15px; transition: background-color .15s ease; }
  .profiel select option:hover, .profiel select option:focus-visible { background: var(--vlak2); outline: none; }
  .profiel select option:checked { font-weight: 600; }
  .profiel select option::checkmark { content: ""; width: 6px; height: 11px; margin: 0 2px 3px 0; border-right: 2px solid var(--rood); border-bottom: 2px solid var(--rood); transform: rotate(45deg); order: 1; margin-left: auto; }
}

/* Kleine uitlijning: knoppen en labels niet uitrekken over de hele breedte. */
.profiel .velden > button, .profiel .blok > .label { justify-self: start; align-self: flex-start; }
.profiel .velden > button { align-self: end; }

/* 3. Eigen profiel of groeirol (Snap Rail): een schuifknop waarvan het blokje naar je keuze glijdt. */
fieldset.schuif { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
fieldset.schuif legend { padding: 0 0 8px; font-size: 14px; }
.schuif-rail { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 360px); padding: 4px; border-radius: 999px; background: var(--vlak2); }
.schuif-rail::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); transition: transform .45s var(--veer); }
.schuif-rail:has(input[value=groei]:checked)::before { transform: translateX(100%); }
.schuif-rail label { position: relative; z-index: 1; display: flex; justify-content: center; cursor: pointer; }
.schuif-rail input { position: absolute; opacity: 0; pointer-events: none; }
.schuif-rail span { padding: 9px 12px; font-size: 14px; font-weight: 500; color: var(--tekst); transition: color .3s ease; }
.schuif-rail input:checked + span { color: #FFF; }
.schuif-rail label:has(input:focus-visible) span { outline: 2px solid var(--rood); outline-offset: 2px; border-radius: 999px; }
.schuif-uitleg .u-groei, fieldset.schuif:has(input[value=groei]:checked) .u-eigen { display: none; }
fieldset.schuif:has(input[value=groei]:checked) .u-groei { display: inline; }

/* 4. Ja, Nee, Weet ik niet (Choice Chips): de gekozen knop springt kort op. */
.profiel .chip span { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.profiel .chip span.pop { animation: chip-pop .38s var(--veer); }
@keyframes chip-pop { 0% { transform: scale(0.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* 5. Opslaan en versturen (Submit States): na de klik drie puntjes in de knop tot de pagina terug is. */
.profiel .verzend { position: relative; color: transparent !important; pointer-events: none; }
.profiel .verzend::after { content: ""; position: absolute; inset: 0; margin: auto; width: 28px; height: 8px;
  background: radial-gradient(circle closest-side, currentColor 90%, transparent) 0 50% / 8px 8px no-repeat,
              radial-gradient(circle closest-side, currentColor 90%, transparent) 50% 50% / 8px 8px no-repeat,
              radial-gradient(circle closest-side, currentColor 90%, transparent) 100% 50% / 8px 8px no-repeat;
  color: var(--ink); animation: verzend-pulse 1s ease-in-out infinite; }
.profiel .knop:not(.twee):not(.stil).verzend::after { color: #FFF; }
@keyframes verzend-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* 6. Melding "Opgeslagen" (Notification Slide-in): schuift in met het vinkje, en gaat na een paar seconden weer weg. */
.profiel .melding { background: #EEF6F0; color: #1F5134; overflow: hidden; animation: melding-in .55s var(--veer) both; }
.profiel .melding .teken { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #1F7141; color: #FFF; }
.profiel .melding.weg { animation: melding-uit .45s ease forwards; }
@keyframes melding-in { from { opacity: 0; transform: translateY(-14px); } }
@keyframes melding-uit { to { opacity: 0; transform: translateY(-8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -32px; } }

/* 7. Vinkjes (Checkbox Draw): het vinkje tekent zichzelf als de kaart in beeld komt. */
.profiel .teken path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.profiel.vlieg .kaart .teken path, .profiel .melding .teken path { stroke-dashoffset: 24; }
.profiel.vlieg .kaart.in .teken path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease var(--d, .35s); }
.profiel .melding .teken path { animation: teken .5s ease .3s forwards; }
@keyframes teken { to { stroke-dashoffset: 0; } }
ul.wz-stand li:nth-child(2) { --d: .45s; } ul.wz-stand li:nth-child(3) { --d: .55s; } ul.wz-stand li:nth-child(4) { --d: .65s; }
.profiel .wz-vink { transition: transform .3s var(--veer); }
.profiel ul.wz-stand li:hover .wz-vink { transform: scale(1.1); }

/* 8. Cijfers (Odometer Count-up): tellen één keer op als ze in beeld komen. */
.profiel .tel { font-variant-numeric: tabular-nums; }

/* 9. Bezig (Typing Indicator): drie puntjes die om de beurt opveren, alleen zolang hij bezig is. */
.puntjes { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.puntjes i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: puntje 1.2s ease-in-out infinite; }
.puntjes i:nth-child(2) { animation-delay: .15s; } .puntjes i:nth-child(3) { animation-delay: .3s; }
@keyframes puntje { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

/* 10. Zwevend label (Floating Label): de naam staat in het veld en schuift bij typen naar de rand. */
label.zweef { position: relative; display: block !important; max-width: 420px; }
label.zweef input { width: 100%; }
label.zweef > span { position: absolute; left: 14px; top: 22px; transform: translateY(-50%); padding: 0 4px; margin-left: -4px; border-radius: 4px; background: #FFF;
  font-size: 15px; color: var(--grijs); pointer-events: none; transition: top .25s var(--glij), font-size .25s var(--glij), color .2s ease; }
label.zweef input::placeholder { color: transparent; transition: color .2s ease; }
label.zweef input:focus::placeholder { color: #9A9A9A; }
label.zweef input:focus + span, label.zweef input:not(:placeholder-shown) + span { top: 0; font-size: 12px; color: var(--tekst); }
label.zweef input:focus + span { color: var(--ink); }
.velden:has(label.zweef) { padding-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .profiel details::details-content, .schuif-rail::before, label.zweef > span, .profiel select::picker(select) { transition: none; }
  .profiel .chip span.pop, .profiel .melding, .puntjes i, .profiel .verzend::after { animation: none; }
  .profiel .teken path { stroke-dashoffset: 0 !important; animation: none !important; transition: none !important; }
}

/* Filter: zoekveld dat uitschuift (Expanding Search, kinetics.colorion.co). Smal in rust, breed bij hover, focus of als er iets in staat. */
.zoekveld { position: relative; flex-shrink: 0; display: block; }
.zoekveld svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--grijs); pointer-events: none; transition: color .2s ease; }
.zoekveld input { width: 220px; padding-left: 40px; border-radius: 999px; text-overflow: ellipsis;
  transition: width .45s cubic-bezier(0.22, 1, 0.36, 1), border-color .2s ease, box-shadow .2s ease; }
.zoekveld input:hover { width: 340px; border-color: #A8A8A8; }
.zoekveld input:focus, .zoekveld input:not(:placeholder-shown) { width: 340px; outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 51, 51, 0.14); }
.zoekveld:has(input:focus) svg, .zoekveld:has(input:not(:placeholder-shown)) svg { color: var(--ink); }
@media (max-width: 760px) { .kaartkop:has(.zoekveld) { flex-wrap: wrap; } .zoekveld, .zoekveld input, .zoekveld input:hover, .zoekveld input:focus { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .zoekveld input { transition: none; } }
/* Toch schrijven bij niet passend */
details.toch { margin-top: 8px; }
details.toch summary { display: inline-flex; align-items: center; list-style: none; }
details.toch summary::-webkit-details-marker { display: none; }
.toch-form { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
.toch-form textarea { width: 100%; min-height: 64px; font-size: 14px; }

/* Telefoon (review 14-11): het hoofdmenu breekt af op twee regels in plaats van uit beeld te lopen,
   en brede tabellen schuiven binnen hun eigen vak in plaats van de hele pagina. */
@media (max-width: 640px) {
  nav.menu { flex-wrap: wrap; }
  nav.menu a { padding: 8px 12px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Eén formulier voor alle vragen van een kaart (review 14-11). */
form.vraagvak { margin: 0; }
.vraagvak label { display: flex; flex-direction: column; gap: 6px; }
.vraagvak input[type=text] { min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid #D6D6D6; font: inherit; font-size: 15px; }
.vraagvak .knop { align-self: flex-start; }

/* Knop Weg met een reden (review 14-11). */
details.wegkeuze { position: relative; display: inline-block; }
details.wegkeuze > summary { list-style: none; cursor: pointer; }
details.wegkeuze > summary::-webkit-details-marker { display: none; }
.wegvak { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.wegvak form { margin: 0; }

/* Dit klopt niet bij niet passend (review 14-11). */
details.kloptniet > summary { list-style: none; cursor: pointer; display: inline-block; margin-top: 6px; }
details.kloptniet > summary::-webkit-details-marker { display: none; }
.kloptvak { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--vlak); }
