/* =====================================================================
   Zelftest bestuurdersaansprakelijkheid: stylesheet voor de WordPress-paginatemplate
   Alles werkt enkel binnen #talo-zelftest, zodat thema en zelftest elkaar niet beïnvloeden.
   Lettertypes: roboto-slab en montserrat komen uit de Adobe Fonts-kit die de site al laadt;
   IBM Plex Mono staat in ./fonts/.
   ===================================================================== */

/* 0. Sectie rond de zelftest: gebroken wit vlak met de schuine rand van de site.
      Bewust zonder transform op de sectie zelf, anders werkt de melding (position: fixed) niet. */
.talo-zelftest-section { position: relative; isolation: isolate; padding: 40px 0 90px; margin: 10px 0 60px; }
.talo-zelftest-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #F9F7F3; transform: skewY(-2deg);
}

/* 0b. Binnen de bestaande paginaopbouw (.skewBackRight > .ten.columns) */
/* Vlak achter de test, zodat de wit/gebroken-wit-overgang van .skewBackRight niet door de kaarten loopt */
@media only screen and (min-width: 768px) {
  .columns > #talo-zelftest { background: #F9F7F3; }
}
/* Op smalle schermen is de kolom zelf al smal (280 à 400px): geen extra zijmarge */
@media only screen and (max-width: 767px) {
  .columns > #talo-zelftest .wrap { padding-inline: 0; }
}
/* De melding (toast) wordt door een klein script naar <body> verplaatst, omdat position: fixed
   niet werkt binnen de schuine (transform) sectie. Daarom hier de opmaak buiten #talo-zelftest. */
.talo-zelftest-toast .toast {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 16px); z-index: 10000;
  background: #0E2990; color: #FFFFFF; padding: 10px 18px; border-radius: 0;
  font-family: "montserrat", "Lucida Grande", Verdana, sans-serif; font-size: 0.9rem; font-weight: 600; line-height: 1.55;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  width: max-content; max-width: calc(100% - 32px); text-align: center;
}
.talo-zelftest-toast .toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .talo-zelftest-toast .toast { transition: none; } }

/* 1. Neutraliseer themastijlen op gewone elementen (talo2018, child theme en Customizer) */
#talo-zelftest h1, #talo-zelftest h2, #talo-zelftest h3,
#talo-zelftest h4, #talo-zelftest h5, #talo-zelftest h6 {
  padding: 0; text-transform: none; color: inherit; letter-spacing: normal;
  line-height: inherit; font-weight: bold; text-shadow: none; border: 0; background: none;
}
#talo-zelftest h3 { font-size: 1.17em; }
#talo-zelftest h4 { font-size: 1em; }
#talo-zelftest p { margin: 1em 0; font-size: inherit; line-height: inherit; color: inherit; }
#talo-zelftest ul, #talo-zelftest ol { margin: 1em 0; padding-left: 40px; list-style: disc outside; }
#talo-zelftest li { margin: 0; padding: 0; background: none; font-size: inherit; line-height: inherit; }
#talo-zelftest strong, #talo-zelftest b { color: inherit; }
#talo-zelftest i { font-size: inherit; padding: 0; color: inherit; }
#talo-zelftest small { font-size: smaller; }
#talo-zelftest label { display: inline; font-size: inherit; font-weight: inherit; }
#talo-zelftest blockquote { margin: 0; padding: 0; border: 0; font-style: normal; font-size: inherit; line-height: inherit; color: inherit; }
#talo-zelftest blockquote p { font-size: inherit; line-height: inherit; color: inherit; font-style: normal; }
#talo-zelftest code { background: none; border: 0; margin: 0; padding: 0; font: inherit; color: inherit; }
#talo-zelftest table { margin: 0; }
#talo-zelftest thead, #talo-zelftest tbody, #talo-zelftest tr { vertical-align: middle; }
#talo-zelftest th, #talo-zelftest td { border: 0; background: none; }
#talo-zelftest input, #talo-zelftest textarea {
  height: auto; margin: 0; border-radius: 0; box-shadow: none; transition: none; line-height: normal;
}
#talo-zelftest input:focus, #talo-zelftest textarea:focus { box-shadow: none; }
#talo-zelftest img { max-width: 100%; }
#talo-zelftest a { text-shadow: none; }

/* Knoppen: het thema zet padding, lettergrootte en kleur met !important, plus een blauw verloop */
#talo-zelftest button {
  padding: 1px 6px !important; font-size: inherit !important; color: inherit !important;
  margin: 0; background: none; text-shadow: none; border-radius: 0; white-space: normal;
  line-height: normal; font-weight: inherit; text-align: center; box-shadow: none; vertical-align: baseline; position: static;
}

/* 2. Stijlen van de zelftest, gescoped (gegenereerd uit index.html) */

@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
#talo-zelftest { margin: 0; padding: 0; }

/* Layout: één strakke kolom als een juridisch dossier; elke sectie opent met een harde lijn en een label.
   Accent = TALO-blauw; rood/oranje/groen enkel voor risico; de ladder gebruikt een eigen intensiteitsschaal.
   De juristenbril toont wetteksten als wit papier met zwarte letters, ook in donkere modus: zwart op wit. */
#talo-zelftest {
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --ink: #121D25;
  --muted: #586874;
  --line: #CDD8E0;
  --line-strong: #8FA3B1;
  --accent: #0E71B4;
  --accent-ink: #FFFFFF;
  --accent-2: #2EAADC;
  --accent-soft: #E6F2F9;
  --chip: #EDF1F4;
  --ok: #1F7A53;   --ok-soft: #E4F3EB;
  --warn: #A66C05; --warn-soft: #FAF0DB;
  --risk: #B13525; --risk-soft: #FAE5E1;
  --t0: #5B6C79; --t1: #0E71B4; --t2: #A66C05; --t3: #B13525; --t4: #121D25;
  --focus: #2EAADC;
  --font-display: "roboto-slab", Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "montserrat", "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", Verdana, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-paper: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --radius: 3px;
}

#talo-zelftest * { box-sizing: border-box; }
#talo-zelftest { background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
#talo-zelftest .wrap { max-width: 780px; margin: 0 auto; padding-inline: 20px; padding-block: 0 48px; display: grid; gap: 48px; }
#talo-zelftest a { color: var(--accent); }
#talo-zelftest :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
#talo-zelftest h1, #talo-zelftest h2, #talo-zelftest h3, #talo-zelftest h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
#talo-zelftest [hidden] { display: none !important; }
html:not(.law) #talo-zelftest .lw { display: none !important; }
html.law #talo-zelftest .nolaw { display: none !important; }

/* kop */
#talo-zelftest .topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 18px 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line-strong); }
#talo-zelftest .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
#talo-zelftest .brand .tile { background: #FFFFFF; border-radius: 2px; padding: 3px 5px; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
#talo-zelftest .brand img { height: 40px; width: auto; display: block; }
#talo-zelftest .brand .name { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 1rem; line-height: 1.1; }
#talo-zelftest .brand .name small { display: block; font-family: var(--font-body); font-stretch: 100%; font-weight: 600; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }
#talo-zelftest .top-right { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
#talo-zelftest .meta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }

/* juristenbril */
#talo-zelftest .bril { font: inherit; font-size: 0.84rem !important; font-weight: 650; display: inline-flex; align-items: center; gap: 9px; padding: 5px 7px 5px 11px !important; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink) !important; cursor: pointer; white-space: nowrap; }
#talo-zelftest .bril:hover { border-color: var(--ink); }
#talo-zelftest .bril svg { width: 30px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#talo-zelftest .bril .sw { width: 30px; height: 18px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .2s ease; }
#talo-zelftest .bril .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .2s ease; }
#talo-zelftest .bril[aria-pressed="true"] { border-color: var(--ink); }
#talo-zelftest .bril[aria-pressed="true"] .sw { background: var(--ink); }
#talo-zelftest .bril[aria-pressed="true"] .sw::after { transform: translateX(12px); }
#talo-zelftest .bril .st::after { content: "uit"; }
#talo-zelftest .bril[aria-pressed="true"] .st::after { content: "op"; }
#talo-zelftest .bril .st { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; color: var(--muted); min-width: 2ch; }

/* hero */
#talo-zelftest .hero { display: grid; gap: 16px; }
#talo-zelftest .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
#talo-zelftest h1 { font-stretch: 108%; font-weight: 780; font-size: clamp(2rem, 6vw, 3.05rem); line-height: 1.02; letter-spacing: -0.02em; }
#talo-zelftest h1 .soft { color: var(--accent); display: block; }
#talo-zelftest .lead { font-size: 1.1rem; max-width: 62ch; margin: 0; }
#talo-zelftest .lead strong { font-weight: 650; }
#talo-zelftest .cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
#talo-zelftest .facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.86rem; }
#talo-zelftest .facts li { display: flex; align-items: center; gap: 8px; }
#talo-zelftest .facts li::before { content: ""; width: 6px; height: 6px; background: var(--accent-2); }

#talo-zelftest .btn { font: inherit; font-weight: 650; font-size: 0.95rem !important; border-radius: var(--radius); padding: 10px 16px !important; cursor: pointer; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
#talo-zelftest .btn:hover { filter: brightness(1.07); }
#talo-zelftest .btn.ghost { background: transparent; color: var(--accent) !important; }
#talo-zelftest .btn.small { padding: 7px 12px !important; font-size: 0.86rem !important; }
#talo-zelftest .linkbtn { font: inherit; font-size: 0.92rem !important; background: none; border: 0; color: var(--accent) !important; cursor: pointer; padding: 6px 0 !important; font-weight: 600; }
#talo-zelftest .linkbtn[disabled] { color: var(--muted) !important; opacity: 0.45; cursor: default; }

/* secties */
#talo-zelftest .sec { border-top: 1px solid var(--line-strong); padding-top: 18px; display: grid; gap: 16px; }
#talo-zelftest .sec-head { display: grid; gap: 6px; }
#talo-zelftest h2 { font-stretch: 106%; font-weight: 740; font-size: clamp(1.4rem, 3.4vw, 1.8rem); line-height: 1.12; letter-spacing: -0.01em; }
#talo-zelftest .sec-head p { margin: 0; color: var(--muted); max-width: 64ch; }
#talo-zelftest .sub { font-size: 1.15rem; font-stretch: 104%; font-weight: 740; }

/* voortgang */
#talo-zelftest .progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
#talo-zelftest .seg { display: grid; gap: 5px; min-width: 0; }
#talo-zelftest .seg .bar { height: 3px; background: var(--line); overflow: hidden; }
#talo-zelftest .seg .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s ease; }
#talo-zelftest .seg .lbl { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#talo-zelftest .seg.active .lbl { color: var(--ink); font-weight: 650; }

/* vraagkaart */
#talo-zelftest .qcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; }
#talo-zelftest .qtop { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
#talo-zelftest .qblock { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
#talo-zelftest .qcount { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
#talo-zelftest .qtext { font-family: var(--font-display); font-stretch: 104%; font-weight: 700; font-size: clamp(1.18rem, 3.1vw, 1.45rem); line-height: 1.22; margin: 0; text-wrap: balance; }
#talo-zelftest .qhelp { margin: -6px 0 0; color: var(--muted); font-size: 0.93rem; }
#talo-zelftest .options { display: grid; gap: 8px; }
#talo-zelftest .opt { font: inherit; text-align: left; width: 100%; padding: 12px 14px 12px 44px !important; position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink) !important; cursor: pointer; line-height: 1.4; }
#talo-zelftest .opt::before { content: ""; position: absolute; left: 15px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 1px; border: 1.5px solid var(--line-strong); background: var(--surface); }
#talo-zelftest .opt:hover { border-color: var(--accent); }
#talo-zelftest .opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
#talo-zelftest .opt[aria-pressed="true"]::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); }
#talo-zelftest .amount { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
#talo-zelftest .amount label { font-weight: 650; font-size: 0.92rem; }
#talo-zelftest .amt-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
#talo-zelftest .amt-field { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); min-width: 0; flex: 1 1 200px; max-width: 280px; }
#talo-zelftest .amt-field span { padding: 0 10px; color: var(--muted); font-family: var(--font-mono); }
#talo-zelftest .amt-field input { font: inherit; font-family: var(--font-mono); font-variant-numeric: tabular-nums; border: 0; background: transparent; color: var(--ink); padding: 9px 10px 9px 0; width: 100%; min-width: 0; }
#talo-zelftest .amt-field input:focus { outline: none; }
#talo-zelftest .amt-field:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
#talo-zelftest .amount small { color: var(--muted); }
#talo-zelftest .qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
#talo-zelftest .note { border: 1px solid var(--line); background: var(--accent-soft); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 10px; }
#talo-zelftest .note p { margin: 0; }

/* resultaat */
#talo-zelftest .placeholder { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 20px; color: var(--muted); }
#talo-zelftest .result { display: grid; gap: 18px; }
#talo-zelftest .verdict { border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); }
#talo-zelftest .verdict .zone { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
#talo-zelftest .verdict h3 { font-stretch: 106%; font-weight: 780; font-size: clamp(1.5rem, 4vw, 1.95rem); line-height: 1.08; }
#talo-zelftest .verdict p { margin: 0; max-width: 62ch; }
#talo-zelftest .v-ok .zone, #talo-zelftest .v-ok h3 { color: var(--ok); }
#talo-zelftest .v-warn .zone, #talo-zelftest .v-warn h3 { color: var(--warn); }
#talo-zelftest .v-risk .zone, #talo-zelftest .v-risk h3 { color: var(--risk); }
#talo-zelftest .meter { display: grid; gap: 5px; margin-top: 4px; }
#talo-zelftest .meter .track { position: relative; display: grid; grid-template-columns: 4fr 4fr 5fr; gap: 2px; height: 8px; }
#talo-zelftest .meter .track span:nth-child(1) { background: var(--ok); }
#talo-zelftest .meter .track span:nth-child(2) { background: var(--warn); }
#talo-zelftest .meter .track span:nth-child(3) { background: var(--risk); }
#talo-zelftest .meter .pin { position: absolute; top: -6px; width: 3px; height: 20px; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); transform: translateX(-1.5px); transition: left .4s ease; }
#talo-zelftest .meter .scale { display: grid; grid-template-columns: 4fr 4fr 5fr; gap: 2px; font-size: 0.72rem; color: var(--muted); }

#talo-zelftest .list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#talo-zelftest .list > h3 { font-size: 0.98rem; font-stretch: 104%; font-weight: 720; padding: 14px 18px; border-bottom: 1px solid var(--line); }
#talo-zelftest .item { padding: 14px 18px; display: grid; gap: 7px; border-top: 1px solid var(--line); }
#talo-zelftest .list > h3 + .item { border-top: 0; }
#talo-zelftest .item .row { display: grid; gap: 6px; justify-items: start; }
#talo-zelftest .item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
#talo-zelftest .item p { margin: 0; }
#talo-zelftest .item .act b { font-weight: 650; }
#talo-zelftest .item .refs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
#talo-zelftest .pill { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 2px; padding: 1px 6px; white-space: nowrap; }
#talo-zelftest .p-risk { color: var(--risk); background: var(--risk-soft); }
#talo-zelftest .p-warn { color: var(--warn); background: var(--warn-soft); }
#talo-zelftest .p-info { color: var(--accent); background: var(--accent-soft); }
#talo-zelftest .p-ok { color: var(--ok); background: var(--ok-soft); }
#talo-zelftest .p-mute { color: var(--muted); background: var(--chip); }
#talo-zelftest .chip { font-family: var(--font-mono); font-size: 0.72rem; background: var(--chip); color: var(--muted); border-radius: 2px; padding: 2px 7px; display: inline-block; width: fit-content; }
#talo-zelftest .kind { font-size: 0.8rem; font-weight: 650; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
#talo-zelftest .empty { padding: 14px 18px; color: var(--muted); margin: 0; }
#talo-zelftest .tolink { margin: 0; font-size: 0.92rem; color: var(--muted); }
#talo-zelftest .mylad .grp { display: grid; gap: 6px; }
#talo-zelftest .mylad .grp b { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
#talo-zelftest .mylad .links { display: flex; flex-wrap: wrap; gap: 6px 14px; }

#talo-zelftest .contact { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
#talo-zelftest .contact p { margin: 0; }
#talo-zelftest .copyline { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
#talo-zelftest .copyline code { font-family: var(--font-mono); font-size: 0.95rem; user-select: all; }
#talo-zelftest .result-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
#talo-zelftest .result-actions .msg { font-size: 0.86rem; color: var(--muted); }
#talo-zelftest textarea.fallback { width: 100%; min-height: 180px; font-family: var(--font-mono); font-size: 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: var(--surface); color: var(--ink); }

/* schema: bediening */
#talo-zelftest .schema-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
#talo-zelftest .modes { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
#talo-zelftest .mode { font: inherit; font-size: 0.88rem !important; font-weight: 650; padding: 8px 14px !important; border: 0; background: var(--surface); color: var(--ink) !important; cursor: pointer; }
#talo-zelftest .mode + .mode { border-left: 1px solid var(--line-strong); }
#talo-zelftest .mode[aria-pressed="true"] { background: var(--ink); color: var(--bg) !important; }
#talo-zelftest .mode:disabled { color: var(--muted) !important; cursor: not-allowed; }
#talo-zelftest .mode-note { margin: 0; font-size: 0.9rem; color: var(--muted); }
#talo-zelftest .mode-note b { color: var(--ink); }
#talo-zelftest .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.78rem; color: var(--muted); }
#talo-zelftest .legend span { display: inline-flex; align-items: center; gap: 7px; }
#talo-zelftest .lg { width: 16px; height: 11px; border: 1px solid var(--line-strong); display: inline-block; border-radius: 1px; }
#talo-zelftest .lg.hit { border: 1.5px solid var(--ink); background: var(--surface); box-shadow: inset 3px 0 0 var(--ink); }
#talo-zelftest .lg.know { border: 1px dashed var(--accent); }
#talo-zelftest .lg.na { background: linear-gradient(to top right, transparent 44%, var(--muted) 44% 56%, transparent 56%); }
#talo-zelftest .lg.quiet { opacity: 0.4; }

/* schema: ladder */
#talo-zelftest .ladder { display: grid; gap: 6px; }
#talo-zelftest .ladder-legend { display: flex; justify-content: space-between; gap: 12px; font-size: 0.74rem; color: var(--muted); font-family: var(--font-mono); }
#talo-zelftest .rung { 
	
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 10px 18px; align-items: start; transition: opacity .2s ease; }
#talo-zelftest .rung-head { display: grid; gap: 4px; }
#talo-zelftest .lvl { display: flex; gap: 3px; }
#talo-zelftest .lvl i { width: 10px; height: 10px; border: 1px solid var(--tc); }
#talo-zelftest .lvl i.on { background: var(--tc); }
#talo-zelftest .rung-head h3 { font-size: 1.02rem; font-stretch: 104%; font-weight: 740; color: var(--tc); }
#talo-zelftest .rung-head p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
#talo-zelftest .rung-items { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
#talo-zelftest .gchip { font: inherit; font-size: 0.86rem !important; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--bg); color: var(--ink) !important; padding: 5px 9px !important; cursor: pointer; text-align: left; transition: opacity .2s ease; }
#talo-zelftest .gchip:hover { border-color: var(--tc); color: var(--tc) !important; }
#talo-zelftest .gchip .art { display: block; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 400; color: var(--muted); margin-top: 1px; }
#talo-zelftest .ladder.mine .rung.dim { opacity: 0.75; }
#talo-zelftest .gchip.hit { border: 1.5px solid var(--tc); background: var(--surface); background: color-mix(in srgb, var(--tc) 16%, var(--surface)); box-shadow: inset 4px 0 0 var(--tc); font-weight: 700; padding-left: 13px !important; }
#talo-zelftest .gchip.know { border: 1px dashed var(--accent); }
#talo-zelftest .gchip.na { color: var(--muted) !important; text-decoration: line-through; text-decoration-thickness: 1.5px; }
#talo-zelftest .gchip.na .art { text-decoration: none; }
#talo-zelftest .gchip.quiet { opacity: 0.45; }
#talo-zelftest .gchip.quiet:hover { opacity: 1; }

/* schema: vergelijking */
#talo-zelftest .tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#talo-zelftest table.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.9rem; }
#talo-zelftest .cmp th, #talo-zelftest .cmp td { text-align: left; vertical-align: top; padding: 11px 14px; border-top: 1px solid var(--line); }
#talo-zelftest .cmp thead th { border-top: 0; font-family: var(--font-display); font-stretch: 104%; font-size: 0.95rem; }
#talo-zelftest .cmp thead th:nth-child(2) { color: var(--t2); }
#talo-zelftest .cmp thead th:nth-child(3) { color: var(--t3); }
#talo-zelftest .cmp tbody th { font-weight: 650; color: var(--muted); width: 22%; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
#talo-zelftest .cmp .lawrow td { font-family: var(--font-mono); font-size: 0.8rem; }

/* uit de rechtszaal */
#talo-zelftest .zaak { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); background: var(--surface); padding: 20px 22px; display: grid; gap: 14px; scroll-margin-top: 16px; }
#talo-zelftest .zaak .lbl { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
#talo-zelftest .zaak h3 { font-size: clamp(1.25rem, 3.4vw, 1.55rem); font-stretch: 106%; font-weight: 760; line-height: 1.15; }
#talo-zelftest .zaak p { margin: 0; max-width: 64ch; }
#talo-zelftest .nums { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; font-family: var(--font-display); font-stretch: 106%; }
#talo-zelftest .nums .from { font-size: clamp(1.35rem, 4vw, 1.9rem); font-weight: 760; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
#talo-zelftest .nums .arrow { font-family: var(--font-mono); color: var(--muted); }
#talo-zelftest .nums .to { font-size: clamp(1.8rem, 5.4vw, 2.6rem); font-weight: 800; color: var(--accent); }
#talo-zelftest .nums small { font-family: var(--font-body); font-size: 0.82rem; color: var(--muted); font-weight: 500; flex-basis: 100%; }
#talo-zelftest .steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#talo-zelftest .step { border-top: 3px solid var(--line-strong); padding-top: 10px; display: grid; gap: 5px; align-content: start; }
#talo-zelftest .step .qn { font-size: 0.74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
#talo-zelftest .step .an { font-family: var(--font-display); font-stretch: 104%; font-weight: 760; font-size: 1.12rem; line-height: 1.2; }
#talo-zelftest .step p { font-size: 0.92rem; }
#talo-zelftest .step.s-ok { border-top-color: var(--ok); } #talo-zelftest .step.s-ok .an { color: var(--ok); }
#talo-zelftest .step.s-warn { border-top-color: var(--warn); } #talo-zelftest .step.s-warn .an { color: var(--warn); }
#talo-zelftest .step.s-acc { border-top-color: var(--accent); } #talo-zelftest .step.s-acc .an { color: var(--accent); }
#talo-zelftest .lessons { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
#talo-zelftest .lessons li { padding-left: 16px; position: relative; font-size: 0.95rem; }
#talo-zelftest .lessons li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--accent-2); }
#talo-zelftest .zaak .foot { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 0.84rem; color: var(--muted); }

/* schema: kaarten */
#talo-zelftest .gcards { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#talo-zelftest .gcard { border-top: 1px solid var(--line); scroll-margin-top: 16px; }
#talo-zelftest .gcard:first-child { border-top: 0; }
#talo-zelftest .gcard summary { list-style: none; cursor: pointer; padding: 13px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; }
#talo-zelftest .gcard summary::-webkit-details-marker { display: none; }
#talo-zelftest .gcard .gt { display: grid; gap: 4px; justify-items: start; }
#talo-zelftest .gcard .gt .tag { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tc); }
#talo-zelftest .gcard .gt b { font-weight: 700; }
#talo-zelftest .gcard .gt span.pl { color: var(--muted); font-size: 0.92rem; }
#talo-zelftest .gcard .tog { font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent); white-space: nowrap; padding-top: 2px; }
#talo-zelftest .gcard[open] .tog::after { content: "sluiten"; }
#talo-zelftest .gcard:not([open]) .tog::after { content: "open"; }
#talo-zelftest .gcard[open] { background: var(--bg); }
#talo-zelftest .gcards.mine .gcard.quiet > summary { opacity: 0.55; }
#talo-zelftest .gcards.mine .gcard.hit > summary { box-shadow: inset 3px 0 0 var(--tc); }
#talo-zelftest .gbody { padding: 0 18px 16px; display: grid; gap: 12px; }
#talo-zelftest .gbody dl { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 6px 16px; margin: 0; }
#talo-zelftest .gbody dt { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
#talo-zelftest .gbody dd { margin: 0; }
#talo-zelftest .gbody p { margin: 0; }
#talo-zelftest .why { border: 1px solid var(--line); border-left: 3px solid var(--tc); background: var(--surface); padding: 10px 12px; display: grid; gap: 6px; font-size: 0.92rem; }
#talo-zelftest .why b { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
#talo-zelftest .why.know { border-left-color: var(--accent); }
#talo-zelftest .why.na { border-left-color: var(--muted); }
#talo-zelftest .why ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
#talo-zelftest .sh { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
#talo-zelftest .cases { display: grid; gap: 8px; }
#talo-zelftest .cases ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
#talo-zelftest .case { display: grid; gap: 5px; padding-left: 12px; border-left: 2px solid var(--line-strong); justify-items: start; }
#talo-zelftest .case.own { border-left-color: var(--accent); }
#talo-zelftest .case p { margin: 0; font-size: 0.93rem; }
#talo-zelftest .case .ref { font-size: 0.78rem; color: var(--muted); display: grid; gap: 2px; }
#talo-zelftest .more-hint { margin: 0; font-size: 0.84rem; color: var(--muted); }
#talo-zelftest .more-hint button { font: inherit; font-weight: 650; color: var(--accent) !important; background: none; border: 0; padding: 0 !important; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
#talo-zelftest .chk { color: var(--warn); font-weight: 600; }
#talo-zelftest .lawbox { display: grid; gap: 10px; }
#talo-zelftest .paper { margin: 0; background: #FFFFFF; color: #141414; border: 1px solid #D3D8DC; border-radius: 2px; padding: 14px 16px 12px; display: grid; gap: 8px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
#talo-zelftest .paper figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.74rem; color: #444444; border-bottom: 1px solid #141414; padding-bottom: 6px; }
#talo-zelftest .paper figcaption b { font-weight: 500; color: #141414; }
#talo-zelftest .paper blockquote, #talo-zelftest .paper .txt { margin: 0; font-family: var(--font-paper); font-size: 1rem; line-height: 1.55; color: #141414; }
#talo-zelftest .paper blockquote p { margin: 0 0 0.45em; }
#talo-zelftest .paper blockquote p:last-child { margin-bottom: 0; }
#talo-zelftest .paper .src { margin: 0; font-family: var(--font-body); font-size: 0.76rem; color: #5A5A5A; }
#talo-zelftest .paper .chk { color: #8A5300; }
#talo-zelftest .on { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.01em; overflow-wrap: anywhere; }
#talo-zelftest .on a { color: inherit; text-underline-offset: 2px; }
#talo-zelftest .paper .on { margin: 0; color: #36556B; font-family: var(--font-mono); font-size: 0.7rem; }
#talo-zelftest .boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#talo-zelftest .box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 18px; display: grid; gap: 8px; align-content: start; scroll-margin-top: 16px; }
#talo-zelftest .box h3 { font-size: 1rem; font-stretch: 104%; font-weight: 740; }
#talo-zelftest .box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
#talo-zelftest .box li { padding-left: 16px; position: relative; font-size: 0.93rem; }
#talo-zelftest .box li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--accent-2); }
#talo-zelftest .box.lit { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
#talo-zelftest .law-note { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* spiekbrief */
#talo-zelftest .sp { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 18px 24px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; }
#talo-zelftest .sp img { width: 100%; height: auto; display: block; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(18, 29, 37, .14); background: #FFFFFF; }
#talo-zelftest .sp-txt { display: grid; gap: 12px; align-content: start; }
#talo-zelftest .sp-txt p { margin: 0; }
#talo-zelftest .sp-txt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
#talo-zelftest .sp-txt li { padding-left: 16px; position: relative; font-size: 0.93rem; }
#talo-zelftest .sp-txt li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--accent-2); }
#talo-zelftest .sp-msg { font-size: 0.86rem; color: var(--muted); min-height: 1.2em; }

/* mythes */
#talo-zelftest .myths { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#talo-zelftest .myths details { border-top: 1px solid var(--line); }
#talo-zelftest .myths details:first-child { border-top: 0; }
#talo-zelftest .myths summary { list-style: none; cursor: pointer; padding: 14px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
#talo-zelftest .myths summary::-webkit-details-marker { display: none; }
#talo-zelftest .myths summary .q { font-weight: 600; }
#talo-zelftest .myths summary .tog { font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent); }
#talo-zelftest .myths details[open] summary .tog::after { content: "sluiten"; }
#talo-zelftest .myths details:not([open]) summary .tog::after { content: "feit"; }
#talo-zelftest .myths .fact { padding: 0 18px 16px 18px; display: grid; gap: 8px; }
#talo-zelftest .myths .fact p { margin: 0; }

/* uitleg + colofon */
#talo-zelftest .how { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#talo-zelftest .how summary { cursor: pointer; padding: 14px 18px; font-weight: 650; }
#talo-zelftest .how .body { padding: 0 18px 16px; display: grid; gap: 10px; }
#talo-zelftest .how .body p { margin: 0; }
#talo-zelftest footer { display: grid; gap: 8px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line-strong); padding-top: 18px; }
#talo-zelftest footer p { margin: 0; max-width: 72ch; }
#talo-zelftest footer strong { color: var(--ink); }
#talo-zelftest footer ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
#talo-zelftest .toast { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 16px); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; max-width: calc(100% - 32px); text-align: center; z-index: 10; }
#talo-zelftest .toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 620px) {
  #talo-zelftest .rung { grid-template-columns: minmax(0, 1fr); margin-left: calc(var(--step) * 8px); }
  #talo-zelftest .boxes { grid-template-columns: minmax(0, 1fr); }
  #talo-zelftest .gbody dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  #talo-zelftest .gbody dd { margin-bottom: 8px; }
  #talo-zelftest .steps3 { grid-template-columns: minmax(0, 1fr); }
  #talo-zelftest .sp { grid-template-columns: minmax(0, 1fr); }
  #talo-zelftest .sp img { max-width: 240px; }
}
@media (max-width: 520px) {
  #talo-zelftest .qcard { padding: 16px; }
  #talo-zelftest .seg .lbl { font-size: 0.66rem; }
  #talo-zelftest .verdict, #talo-zelftest .contact, #talo-zelftest .zaak { padding: 16px; }
  #talo-zelftest .list > h3, #talo-zelftest .item, #talo-zelftest .myths summary, #talo-zelftest .gcard summary { padding-inline: 14px; }
  #talo-zelftest .myths .fact, #talo-zelftest .gbody { padding-inline: 14px; }
  #talo-zelftest .meta { display: none; }
}
@media (prefers-reduced-motion: reduce) { #talo-zelftest * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== TALO-huisstijl (taloadvocaten.be) =====
   Enkel opmaak: kleuren, lettertypes, hoeken en gewichten worden hier overschreven.
   Inhoud, structuur en script blijven onaangeroerd. Verwijder dit blok om terug te keren naar de originele opmaak.
   Merk: Roboto Slab (titels, licht) + Montserrat (tekst), TALO-blauw #24A9E1, navy #0E2990,
   tekst #313131, warm gebroken wit #F9F7F3, rechte hoeken. */
#talo-zelftest {
  --brand: #24A9E1;
  --navy: #0E2990;
  --bg: #F9F7F3;
  --surface: #FFFFFF;
  --ink: #313131;
  --muted: #666666;
  --line: #E7E2D9;
  --line-strong: #BEB7AB;
  --accent: #0E2990;
  --accent-ink: #FFFFFF;
  --accent-2: #24A9E1;
  --accent-soft: #EAF6FC;
  --chip: #F1EEE8;
  --t1: #0E2990; --t4: #313131;
  --focus: #24A9E1;
  --font-display: "roboto-slab", Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "montserrat", "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", Verdana, sans-serif;
  --radius: 0px;
}

/* basis */
#talo-zelftest { font-size: 0.9375rem; line-height: 1.65; }
#talo-zelftest a { color: var(--accent); text-decoration-color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
#talo-zelftest a:hover { color: var(--brand); }
#talo-zelftest h1, #talo-zelftest h2, #talo-zelftest h3, #talo-zelftest h4 { letter-spacing: 0; }

/* kop: wit zoals de site, met de blauwe lijn als accent */
#talo-zelftest .topbar { border-bottom: 1px solid var(--line); }
#talo-zelftest .brand .tile { border-radius: 0; box-shadow: none; }
#talo-zelftest .brand .name { font-weight: 300; font-size: 1.15rem; letter-spacing: 0.01em; }
#talo-zelftest .brand .name small { font-family: var(--font-body); font-weight: 600; color: var(--brand); letter-spacing: 0.08em; }
#talo-zelftest .meta { font-family: var(--font-body); font-size: 0.78rem; }
#talo-zelftest .bril { font-weight: 600; border-radius: 0; }

/* labels: zoals de tussentitels op de site (slab, kapitalen, TALO-blauw) */
#talo-zelftest .label, #talo-zelftest .qblock, #talo-zelftest .zaak .lbl {
  font-family: var(--font-display); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.03em; color: var(--brand);
}

/* titels: licht en groot, zoals 'Advocatenkantoor voor ondernemers…' */
#talo-zelftest h1 { font-weight: 200; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.16; letter-spacing: -0.01em; }
#talo-zelftest h1 .soft { color: var(--brand); }
#talo-zelftest h2 { font-weight: 300; font-size: clamp(1.55rem, 3.8vw, 2.1rem); line-height: 1.2; }
#talo-zelftest .sub { font-weight: 400; }
#talo-zelftest .qtext { font-weight: 400; line-height: 1.3; }
#talo-zelftest .verdict h3 { font-weight: 400; line-height: 1.18; }
#talo-zelftest .list > h3, #talo-zelftest .box h3, #talo-zelftest .rung-head h3 { font-weight: 500; }
#talo-zelftest .zaak h3 { font-weight: 400; line-height: 1.22; }
#talo-zelftest .cmp thead th { font-weight: 500; }
#talo-zelftest .step .an { font-weight: 500; }
#talo-zelftest .nums .from { font-weight: 300; }
#talo-zelftest .nums .to { font-weight: 400; color: var(--brand); }
#talo-zelftest .item h4 { font-weight: 600; }
#talo-zelftest .lead { font-size: 1.05rem; }
#talo-zelftest .lead strong, #talo-zelftest .item .act b { font-weight: 600; }

/* knoppen: recht, navy, Montserrat */
#talo-zelftest .btn { font-weight: 600; letter-spacing: 0.01em; }
#talo-zelftest .btn.ghost:hover { border-color: var(--brand); }
#talo-zelftest .linkbtn, #talo-zelftest .kind { font-weight: 600; }
#talo-zelftest .kind { border-bottom-color: var(--brand); }

/* voortgang en keuzes */
#talo-zelftest .seg .bar i { background: var(--brand); }
#talo-zelftest .seg.active .lbl { color: var(--accent); font-weight: 600; }
#talo-zelftest .opt:hover { border-color: var(--brand); }
#talo-zelftest .opt::before { border-radius: 0; }
#talo-zelftest .facts li::before { background: var(--brand); }

/* blokken: zoals de dienstblokken op de site */
#talo-zelftest .zaak { border-top-color: var(--brand); }
#talo-zelftest .box.lit { border-color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }
#talo-zelftest .case.own { border-left-color: var(--brand); }
#talo-zelftest .why.know { border-left-color: var(--brand); }
#talo-zelftest .pill, #talo-zelftest .chip, #talo-zelftest .gchip, #talo-zelftest .lg, #talo-zelftest .paper { border-radius: 0; }
#talo-zelftest .mode[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink) !important; }
#talo-zelftest .myths summary .q, #talo-zelftest .how summary { font-weight: 600; }
#talo-zelftest .toast { border-radius: 0; background: var(--accent); color: var(--accent-ink); }

/* colofon: blauwe lijn zoals de footerband van de site */
#talo-zelftest footer { border-top: 3px solid var(--brand); }
