/* ============================================================
   The tool ("de invuller") — upload, verificatie, preview
   ============================================================ */

.tool {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg); overflow-y: auto;
  animation: toolIn .32s var(--ease);
}
@keyframes toolIn { from { transform: translateY(8px); } to { transform: none; } }

.tool-bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.tool-bar-inner { display: flex; align-items: center; gap: 20px; height: 64px; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.tool-back { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--muted); padding: 8px 11px; border-radius: 8px; cursor: pointer; background: none; border: none; transition: all .15s; }
.tool-back:hover { background: var(--navy-50); color: var(--navy); }
.tool-back svg { width: 17px; height: 17px; }

/* Stepper */
.stepper { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.stepper .st { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 9px; }
.stepper .st .bub { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13.5px; font-weight: 700; background: var(--line); color: var(--muted); flex: none; transition: all .25s; }
.stepper .st .lbl { font-size: 14.5px; font-weight: 600; color: var(--faint); transition: color .25s; }
.stepper .st.active .bub { background: var(--navy); color: #fff; }
.stepper .st.active .lbl { color: var(--navy-900); }
.stepper .st.done .bub { background: var(--accent); color: #fff; }
.stepper .st.done .lbl { color: var(--ink-soft); }
.stepper .sep { width: 26px; height: 2px; background: var(--line); border-radius: 2px; }
.stepper .sep.done { background: var(--accent); }
@media (max-width: 720px) { .stepper .st .lbl { display: none; } .stepper .sep { width: 16px; } }

.tool-body { max-width: 1280px; margin: 0 auto; padding: 40px 28px 80px; }
.tool-head { max-width: 720px; margin-bottom: 30px; }
.tool-head h1 { font-size: clamp(26px, 3vw, 33px); }
.tool-head p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; }
.step-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 12px; }

/* ---- Step 1: upload ---- */
.upload-wrap { max-width: 720px; }
.dropzone {
  border: 2px dashed var(--navy-100); border-radius: 16px; background: #fff;
  padding: 54px 30px; text-align: center; transition: all .2s var(--ease); cursor: pointer;
}
.dropzone:hover, .dropzone.drag { border-color: var(--navy-400); background: var(--navy-50); }
.dropzone .ico { width: 60px; height: 60px; border-radius: 16px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; margin: 0 auto 20px; }
.dropzone .ico svg { width: 30px; height: 30px; }
.dropzone h3 { font-size: 20px; }
.dropzone p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.dropzone .formats { margin-top: 18px; font-size: 13px; color: var(--faint); }

.file-chip { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); margin-top: 18px; }
.file-chip .fico { width: 42px; height: 42px; border-radius: 10px; background: var(--flag-bg); color: var(--flag-text); display: grid; place-items: center; flex: none; font-weight: 700; font-size: 12px; }
.file-chip .fico.pdf { background: #fdeceb; color: #b3261e; }
.file-chip .meta { flex: 1; min-width: 0; }
.file-chip .meta .nm { font-weight: 600; font-size: 15px; color: var(--navy-900); }
.file-chip .meta .sz { font-size: 13px; color: var(--muted); }
.file-chip .x { background: none; border: none; color: var(--faint); cursor: pointer; padding: 6px; border-radius: 6px; }
.file-chip .x:hover { background: var(--navy-50); color: var(--ink); }

.privacy-note { display: flex; gap: 12px; padding: 16px 18px; background: var(--accent-50); border: 1px solid var(--accent-100); border-radius: 12px; margin-top: 20px; }
.privacy-note svg { width: 20px; height: 20px; color: var(--accent-700); flex: none; margin-top: 1px; }
.privacy-note p { font-size: 14.5px; color: var(--ink-soft); }
.privacy-note strong { color: var(--green-700); }

/* processing */
.processing { max-width: 560px; margin: 40px auto; text-align: center; padding: 40px; }
.proc-ring { width: 56px; height: 56px; margin: 0 auto 22px; border: 4px solid var(--navy-100); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.proc-steps { display: grid; gap: 12px; margin-top: 26px; text-align: left; }
.proc-line { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); transition: color .3s; }
.proc-line.active { color: var(--navy-900); font-weight: 600; }
.proc-line.ok { color: var(--ink-soft); }
.proc-line .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; transition: all .3s; }
.proc-line.ok .tick { background: var(--accent); border-color: var(--accent); color: #fff; }
.proc-line .tick svg { width: 13px; height: 13px; }

/* ---- Step 2: verificatie — two columns ---- */
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 980px) { .verify-grid { grid-template-columns: 1fr; } }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.panel-head h3 { font-size: 17px; }
.panel-head .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

.fields-panel { position: sticky; top: 84px; }
.field-group { padding: 8px 14px 14px; }
.field-group .gh { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-400); padding: 14px 8px 8px; }

.field-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 4px 10px; align-items: center;
  padding: 12px 12px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: all .15s var(--ease);
}
.field-row:hover { background: var(--navy-50); }
.field-row.sel { background: var(--amber-bg); border-color: var(--amber-line); }
.field-row.missing.sel { background: var(--flag-bg); border-color: var(--flag-line); }
.field-row .flabel { font-size: 13px; color: var(--muted); font-weight: 500; grid-column: 1; }
.field-row .fval { grid-column: 1; font-size: 15.5px; font-weight: 600; color: var(--navy-900); }
.field-row.missing .fval { color: var(--flag-text); font-style: italic; font-weight: 600; }
/* Bewerk-knop: eigen kolom (niet meer onder de status-badge), altijd zichtbaar
   en als duidelijke tikknop — ook op mobiel waar geen hover bestaat. */
.field-row .fedit {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--navy-600);
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 7px 11px; cursor: pointer; transition: all .12s var(--ease);
}
.field-row .fedit:hover { background: var(--navy-50); border-color: var(--navy-400); color: var(--navy-900); }
.field-row .fedit svg { width: 15px; height: 15px; }
.field-row.missing .fedit { color: var(--flag-text); border-color: var(--flag-line); background: #fff; }
.field-row.missing .fedit:hover { background: var(--flag-bg); }
.field-row .fstatus { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
@media (max-width: 560px) { .field-row .fedit-txt { display: none; } }
.field-input { font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--navy-900); border: 1px solid var(--navy-400); border-radius: 7px; padding: 7px 10px; width: 100%; background: #fff; }

/* Optionele / zelf-in-te-vullen velden: geen fout, dus zachtere weergave dan de
   rode "Ontbreekt". De waarde-placeholder in muted grijs i.p.v. flag-rood. */
.field-row.soft .fval { color: var(--faint); font-style: italic; font-weight: 500; }
.field-row .fhint { grid-column: 1; }

/* "Nog aan te vullen"-overzicht boven de veldenlijst */
.miss-summary { margin: 4px 14px 6px; padding: 14px 16px; border-radius: 12px;
  background: var(--flag-bg); border: 1px solid var(--flag-line); }
.miss-summary.ok { background: #eaf6ef; border-color: #b6dcc4; color: #1f6b43;
  display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; }
.miss-summary.ok .miss-ico { display: inline-flex; }
.miss-summary.ok svg { width: 17px; height: 17px; }
.miss-title { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700;
  color: var(--flag-text); letter-spacing: .01em; }
.miss-title svg { width: 16px; height: 16px; }
.miss-sub { font-size: 12.5px; color: var(--muted); margin: 12px 0 4px; font-weight: 500; }
.miss-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.miss-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--navy-900);
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 12px; cursor: pointer; transition: all .12s var(--ease); }
.miss-item:hover { border-color: var(--navy-400); background: var(--navy-50); }
.miss-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.miss-dot.flag { background: var(--flag-line); }
.miss-dot.navy { background: var(--navy-400); }
.miss-label { flex: 1; }
.miss-cta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px;
  font-weight: 600; color: var(--navy); white-space: nowrap; }
.miss-cta svg { width: 14px; height: 14px; }

/* Source document panel */
.doc-panel-body { padding: 8px 8px 14px; }
.doc-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 16px; margin: 0; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.doc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-sw { width: 22px; height: 13px; border-radius: 3px; flex: none; }
.lg-sw.amber { background: var(--amber-bg); border: 1px solid var(--amber-line); }
.lg-sw.redact { background: repeating-linear-gradient(90deg, var(--redact) 0 6px, #d6dae2 6px 11px); }

.srcdoc { padding: 22px 24px; font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.srcdoc .dh { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin: 0 0 4px; }
.srcdoc .dtitle { font-size: 16px; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.srcdoc .dmeta { font-size: 13px; color: var(--muted); margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.srcdoc p { margin: 0 0 13px; }
.srcdoc h5 { font-size: 13.5px; font-weight: 700; color: var(--navy-800); margin: 18px 0 7px; }

.hl {
  background: var(--amber-bg); box-shadow: 0 0 0 1px var(--amber-line);
  border-radius: 4px; padding: 1px 3px; cursor: pointer; transition: all .15s;
}
.hl:hover { box-shadow: 0 0 0 2px var(--amber-line); }
.hl.active { background: #fce9b0; box-shadow: 0 0 0 2px var(--amber-line); }
.redact {
  display: inline; background: repeating-linear-gradient(90deg, var(--redact) 0 7px, #d6dae2 7px 13px);
  color: transparent; border-radius: 3px; padding: 1px 4px; user-select: none;
  position: relative;
}
.redact-tag { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--line); padding: 1px 7px; border-radius: 5px; margin-left: 5px; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }

/* Opbouwschema table */
.schema-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.schema-table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 2px solid var(--line); }
.schema-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
.schema-table tr:last-child td { border-bottom: none; }
.schema-table .date { font-weight: 600; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.schema-table .hours { font-variant-numeric: tabular-nums; font-weight: 600; }
.schema-table .pct-cell { width: 130px; }
.pct-bar { display: flex; align-items: center; gap: 9px; }
.pct-track { flex: 1; height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; }
.pct-fill { height: 100%; background: var(--accent); border-radius: 4px; }
.pct-num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent-700); font-size: 13.5px; width: 38px; text-align: right; }
.schema-table tr:last-child .pct-fill { background: var(--navy); }
.schema-table tr:last-child .pct-num { color: var(--navy); }

/* Verify footer / control gate */
.verify-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 26px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.control-check { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; max-width: 540px; }
.control-check .box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--navy-400); display: grid; place-items: center; flex: none; margin-top: 1px; transition: all .15s; background: #fff; }
.control-check .box svg { width: 15px; height: 15px; color: #fff; opacity: 0; transition: opacity .15s; }
.control-check.on .box { background: var(--accent); border-color: var(--accent); }
.control-check.on .box svg { opacity: 1; }
.control-check .ct { font-size: 14.5px; color: var(--ink-soft); }
.control-check .ct strong { color: var(--navy-900); display: block; font-size: 15px; margin-bottom: 2px; }

.gate-banner { display: flex; gap: 11px; align-items: center; padding: 13px 18px; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: 11px; margin-bottom: 22px; font-size: 14.5px; color: var(--navy-800); }
.gate-banner svg { width: 19px; height: 19px; color: var(--navy); flex: none; }
.summary-chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Step 3: preview ---- */
.preview-tabs { display: flex; gap: 6px; padding: 6px; background: var(--bg-tint); border-radius: 12px; margin-bottom: 26px; max-width: 720px; }
.preview-tabs button { flex: 1; padding: 12px 14px; border: none; background: none; border-radius: 9px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: all .15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.preview-tabs button .tnum { width: 20px; height: 20px; border-radius: 50%; background: var(--navy-100); color: var(--navy); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.preview-tabs button.active { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.preview-tabs button.active .tnum { background: var(--navy); color: #fff; }
@media (max-width: 680px) { .preview-tabs button span.txt { display: none; } }

.doc-preview { max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.doc-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 26px; border-bottom: 1px solid var(--line-soft); background: var(--navy-50); }
.doc-preview-head .t { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--navy-900); font-size: 15px; }
.doc-preview-head .t svg { width: 18px; height: 18px; color: var(--navy); }
.doc-sheet { padding: 40px 44px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.doc-sheet h2 { font-size: 22px; color: var(--navy-900); }
.doc-sheet .wvp { font-size: 13px; color: var(--muted); margin-top: 4px; }
.doc-sheet h3 { font-size: 16px; color: var(--navy-800); margin: 26px 0 10px; padding-bottom: 7px; border-bottom: 1px solid var(--line-soft); }
.doc-sheet p { margin: 0 0 12px; }
.kv { display: grid; grid-template-columns: 220px 1fr; gap: 6px 16px; margin: 8px 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; font-weight: 600; color: var(--navy-900); font-size: 14.5px; }
.kv dd.flag { color: var(--flag-text); font-style: italic; }
@media (max-width: 600px) { .doc-sheet { padding: 28px 22px; } .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }

.msg-sheet { white-space: normal; }
.msg-sheet .greeting { margin-bottom: 14px; }
.msg-sheet .sign { margin-top: 22px; }
.msg-sheet .bullets-intro { margin-bottom: 6px; }
.msg-sheet .msg-bullets { margin: 0 0 12px; padding-left: 22px; }
.msg-sheet .msg-bullets li { margin-bottom: 6px; line-height: 1.6; }

/* Zwangerschap / WAZO-invoer (stap 2) */
.wazo-inputs { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.wazo-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.wazo-field em { font-weight: 400; color: var(--muted); font-style: normal; }
.wazo-field input[type="date"] {
  font: inherit; font-weight: 500; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; color: var(--ink); min-width: 200px;
}
.wazo-field input[type="date"]:focus { outline: none; border-color: var(--navy-400, #5b76a6); box-shadow: 0 0 0 3px var(--navy-50); }
.wazo-meerling { flex-basis: 100%; margin-top: 2px; }
.wazo-hint { flex-basis: 100%; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.wazo-hint svg { flex-shrink: 0; }

/* Beheer (admin) */
.admin-wrap { max-width: 1100px; }
.btn-sm { padding: 6px 10px; font-size: 13px; }
.admin-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 22px; }
.admin-stat { flex: 1 1 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.admin-stat .n { display: block; font-size: 24px; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; }
.admin-stat .l { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.admin-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.admin-search { flex: 1; font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; }
.admin-search:focus { outline: none; border-color: var(--navy-400, #5b76a6); box-shadow: 0 0 0 3px var(--navy-50); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.admin-table td.email { font-weight: 600; color: var(--navy-900); }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-adjust { display: flex; gap: 6px; align-items: center; }
.admin-adjust input[type="number"] { width: 64px; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; }
.admin-adjust input[type="text"] { width: 150px; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; }
.admin-tx-row td { background: var(--navy-50); }
.admin-tx { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.admin-tx th { text-align: left; font-size: 11px; text-transform: uppercase; color: var(--muted); padding: 6px 8px; }
.admin-tx td { padding: 6px 8px; border-bottom: 1px solid var(--line-soft); }
.admin-tx td.muted { color: var(--muted); }
.admin-tx .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Actiecode inwisselen (account) */
.redeem-row { display: flex; gap: 8px; align-items: center; }
.redeem-input { flex: 1; font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; text-transform: uppercase; letter-spacing: .04em; }
.redeem-input:focus { outline: none; border-color: var(--navy-400, #5b76a6); box-shadow: 0 0 0 3px var(--navy-50); }
.redeem-ok { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; background: var(--accent-50, #e1f1ea); border: 1px solid var(--accent-100, #cfe8dd); border-radius: 9px; color: var(--accent-700, #157f5b); font-weight: 600; font-size: 14px; }
.redeem-ok svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Systeemstatus */
.sys-card .sys-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 18px; font-size: 14px; color: var(--ink-soft); }
.sys-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.sys-dot.on { background: var(--accent-700, #157f5b); }
.sys-dot.off { background: #d9776b; }
.sys-muted { color: var(--muted); }

/* Actiecodes (admin) */
.promo-create { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.promo-create input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.promo-create input[type="number"] { width: 110px; }
.promo-create input[type="date"] { width: 150px; }
.pill-ok { font-size: 12px; font-weight: 700; color: var(--accent-700, #157f5b); background: var(--accent-50, #e1f1ea); padding: 2px 8px; border-radius: 999px; }
.pill-off { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--navy-50); padding: 2px 8px; border-radius: 999px; }
.pill-block { font-size: 11px; font-weight: 700; color: #fff; background: #d9776b; padding: 2px 8px; border-radius: 999px; margin-left: 8px; }
.btn-danger { background: #d9776b; color: #fff; border: 1px solid #d9776b; }
.btn-danger:hover { background: #c9695d; border-color: #c9695d; }
.promo-reds { margin: 0; padding-left: 18px; font-size: 13px; }
.promo-reds li { margin-bottom: 3px; }
.promo-reds .muted { color: var(--muted); }

/* download bar */
.download-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 26px; padding: 22px 26px; background: var(--navy); border-radius: 16px; color: #fff; }
.download-bar .dl-info { display: flex; align-items: center; gap: 14px; }
.download-bar .dl-info .ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.download-bar .dl-info .ico svg { width: 22px; height: 22px; }
.download-bar .dl-info h4 { color: #fff; font-size: 16px; }
.download-bar .dl-info p { color: rgba(255,255,255,.72); font-size: 13.5px; margin-top: 2px; }
.download-bar .btn-accent { background: var(--accent); }
.download-bar .btn-accent:hover { background: var(--green-700); }

.review-confirm { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.85); }
.review-confirm svg { width: 15px; height: 15px; color: #6ee7b7; }

/* success toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(0); z-index: 300; display: flex; align-items: center; gap: 13px; padding: 15px 22px; background: var(--navy-900); color: #fff; border-radius: 13px; box-shadow: var(--shadow-lg); animation: toastIn .35s var(--ease); }
.toast .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.toast .ico svg { width: 17px; height: 17px; }
.toast .tt { font-weight: 600; font-size: 15px; }
.toast .ts { font-size: 13px; color: rgba(255,255,255,.7); }
.toast.toast-err { background: #7a1f1f; }
.toast.toast-err .ico { background: #b3261e; }
@keyframes toastIn { from { transform: translateX(-50%) translateY(16px); } to { transform: translateX(-50%) translateY(0); } }

.tool-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---- Upload: foutmelding, voorbeeldlink, demo-melding ---- */
.upload-error { margin-top: 14px; padding: 12px 16px; background: var(--flag-bg); border: 1px solid var(--flag-line); border-radius: 10px; color: var(--flag-text); font-size: 14.5px; font-weight: 500; }
.example-link { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.example-link button { background: none; border: none; padding: 0; color: var(--navy); font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: underline; font-family: inherit; }
.example-link button:hover { color: var(--navy-800); }
.field-row.computed { cursor: default; }
.field-row.computed:hover { background: transparent; }
.field-row.computed .fval { color: var(--navy); }
.confirm-medical { margin-top: 18px; }
.termijnen-table td { font-size: 13.5px; vertical-align: top; }
.termijnen-table th:first-child, .termijnen-table td:first-child { width: 130px; }
.termijnen-table th:nth-child(2), .termijnen-table td:nth-child(2) { width: 26%; }
.func-omschrijving { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.func-omschrijving label { font-size: 15px; color: var(--navy-900); }
.func-omschrijving .optioneel { color: var(--faint); font-weight: 500; }
.func-hint { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.func-omschrijving .paste-area { margin-top: 10px; }
.paste-area { width: 100%; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 14.5px; line-height: 1.6; color: var(--ink); resize: vertical; background: #fff; }
.paste-area:focus { outline: 3px solid var(--navy-400); outline-offset: 1px; border-color: var(--navy-400); }
.demo-note code, .upload-error code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.demo-note { display: flex; gap: 12px; padding: 16px 18px; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: 12px; margin-top: 18px; }
.demo-note svg { width: 20px; height: 20px; color: var(--navy); flex: none; margin-top: 1px; }
.demo-note p { font-size: 14.5px; color: var(--ink-soft); }
.demo-note strong { color: var(--navy-900); }

/* ---- Twee downloadknoppen ---- */
.dl-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .dl-buttons { width: 100%; flex-direction: column; } .dl-buttons .btn { width: 100%; } }

/* Inklapbare secties (native <details>) — houdt de hoofdschermen rustig */
.tool-details { border: 1px solid var(--line); border-radius: 12px; margin-top: 14px; background: #fff; overflow: hidden; }
.tool-details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; font-weight: 600; font-size: 14.5px; color: var(--navy-900); }
.tool-details > summary::-webkit-details-marker { display: none; }
.tool-details > summary::marker { content: ""; }
.tool-details > summary:hover { background: var(--navy-50); }
.tool-details .det-chev { color: var(--navy-400); display: inline-flex; transition: transform .18s var(--ease); flex: none; }
.tool-details .det-chev svg { width: 18px; height: 18px; }
.tool-details[open] > summary { border-bottom: 1px solid var(--line-soft); }
.tool-details[open] > summary .det-chev { transform: rotate(180deg); }
.tool-details .det-body { padding: 14px 16px 16px; }
.tool-details .det-body .func-omschrijving:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.tool-details .det-body .preview-tabs { margin-bottom: 18px; }

/* Download-hero (stap 3): één duidelijke primaire actie */
.dl-hero { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-top: 8px; background: linear-gradient(180deg, var(--navy-50), #fff); }
.dl-hero-top { display: flex; gap: 14px; align-items: flex-start; }
.dl-hero-top .ico { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); color: var(--navy); flex: none; }
.dl-hero-top .ico svg { width: 22px; height: 22px; }
.dl-hero-top h3 { font-size: 19px; color: var(--navy-900); margin: 2px 0 4px; }
.dl-hero-top p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }
.dl-hero .btn-xl { margin-top: 18px; width: 100%; }
.dl-lock { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.dl-lock svg { width: 15px; height: 15px; }
.btn-xl { font-size: 17px; padding: 16px 26px; border-radius: 13px; }

/* ---- UWV-formulier (schermweergave 1-op-1) ---- */
.uwvform { padding: 34px 38px; }
.uwv-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.uwv-title h2 { font-size: 24px; color: var(--navy-900); }
.uwv-logo { font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: .04em; border: 2px solid var(--navy); border-radius: 6px; padding: 2px 9px; }
.uwv-bar { display: flex; align-items: center; gap: 11px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 6px; margin: 22px 0 10px; }
.uwv-nr { display: inline-grid; place-items: center; min-width: 24px; height: 24px; background: rgba(255,255,255,.18); border-radius: 5px; font-size: 13.5px; }
.uwv-help { font-size: 13px; color: var(--muted); font-style: italic; margin: 8px 0 8px; }
.uwv-row { display: grid; grid-template-columns: 240px 1fr; gap: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; margin-bottom: 7px; }
.uwv-row .uwv-label { background: #fff; padding: 9px 13px; font-size: 13.5px; color: var(--ink-soft); border-right: 1px solid var(--line); }
.uwv-row .uwv-val { background: var(--navy-50); padding: 9px 13px; font-size: 14.5px; font-weight: 600; color: var(--navy-900); min-height: 38px; }
.uwv-row .uwv-val.empty { background: repeating-linear-gradient(135deg, #f4f6fa 0 8px, #eef2f8 8px 16px); }
@media (max-width: 560px) { .uwv-row { grid-template-columns: 1fr; } .uwv-row .uwv-label { border-right: none; border-bottom: 1px solid var(--line); } }
.uwv-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); padding: 5px 0; }
.uwv-box { width: 18px; height: 18px; border: 1.5px solid var(--navy-400); border-radius: 4px; display: grid; place-items: center; flex: none; background: #fff; }
.uwv-box svg { width: 13px; height: 13px; color: #fff; }
.uwv-box.on { background: var(--accent); border-color: var(--accent); }
.uwv-cat { font-weight: 700; color: var(--navy); font-size: 14px; margin: 16px 0 7px; }
.uwv-act { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 8px; }
.uwv-act th { text-align: left; background: var(--navy-50); color: var(--navy); font-size: 12px; font-weight: 700; padding: 7px 11px; border: 1px solid var(--line); }
.uwv-act td { padding: 8px 11px; border: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.uwv-act td.empty { background: repeating-linear-gradient(135deg, #f7f9fc 0 8px, #eef2f8 8px 16px); min-width: 60px; }
.uwv-act th:nth-child(2), .uwv-act td:nth-child(2) { width: 22%; }
.uwv-act th:nth-child(3), .uwv-act td:nth-child(3) { width: 22%; }
.uwv-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.uwv-sign > div { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: grid; gap: 14px; }
.uwv-sign strong { color: var(--navy-900); font-size: 14.5px; }
.uwv-sign span { color: var(--muted); font-size: 13px; }
.uwv-foot { text-align: right; color: var(--faint); font-size: 12px; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
@media (max-width: 560px) { .uwvform { padding: 22px 18px; } .uwv-sign { grid-template-columns: 1fr; } }

/* ---- Aanvullende adviezen ---- */
.advice-list { display: grid; gap: 16px; margin-top: 8px; }
.advice-card { border: 1px solid var(--line); border-left: 4px solid var(--navy-400); border-radius: 12px; padding: 16px 18px; background: #fff; }
.advice-card.lvl-deadline { border-left-color: var(--navy); background: var(--navy-50); }
.advice-card.lvl-risk { border-left-color: var(--flag-line); background: var(--flag-bg); }
.advice-card.lvl-attention { border-left-color: var(--amber-line); background: var(--amber-bg); }
.advice-card.lvl-flag { border-left-color: var(--faint); background: var(--bg); }
.advice-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.advice-head h4 { font-size: 15.5px; color: var(--navy-900); }
.advice-tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; flex: none; }
.advice-tag.tag-deadline { background: var(--navy); color: #fff; }
.advice-tag.tag-risk { background: var(--flag-text); color: #fff; }
.advice-tag.tag-attention { background: var(--amber-line); color: #5a3d00; }
.advice-tag.tag-flag { background: var(--line); color: var(--ink-soft); }
.advice-card p { font-size: 14.5px; color: var(--ink-soft); }
.advice-card .deadline-table { margin-top: 12px; background: rgba(255,255,255,.6); border-radius: 8px; }
.advice-card .deadline-table td { font-size: 13.5px; }

/* ---- Stap 2: eenvoudig formulier (label + invoervak) ---- */
.velden-panel { padding: 6px 22px 20px; }
.velden-open { margin: 14px 0 4px; padding: 11px 14px; border-radius: 10px; font-size: 14px;
  background: var(--flag-bg); border: 1px solid var(--flag-line); color: var(--flag-text); }
.velden-open button { font: inherit; font-weight: 600; color: inherit; background: none; border: 0; padding: 0;
  text-decoration: underline; cursor: pointer; }
.velden-open.ok { display: flex; align-items: center; gap: 8px; background: #eaf6ef; border-color: #b6dcc4; color: #1f6b43; }
.velden-open.ok svg { width: 16px; height: 16px; }
.velden-groep { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.velden-groep legend { font-size: 16px; font-weight: 700; color: var(--navy-900); padding: 0; margin-bottom: 4px; }
.velden-sub { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.velden-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 8px; }
.veld { min-width: 0; }
.veld.breed { grid-column: 1 / -1; }
.veld label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft, var(--muted)); margin-bottom: 5px; }
.veld-opt { font-weight: 400; color: var(--faint); }
.veld-input { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--navy-900);
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; resize: vertical; }
.veld-input:focus { outline: none; border-color: var(--navy-400); box-shadow: 0 0 0 3px rgba(31,56,100,.12); }
.veld-input.leeg { border-color: var(--flag-line); background: var(--flag-bg); }
.veld-input::placeholder { color: var(--faint); }
.veld-hint { font-size: 12px; color: var(--faint); margin-top: 4px; }
.veld-bron { font-size: 12.5px; color: var(--muted); margin-top: 5px; font-style: italic; }
.velden-berekend { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 20px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.velden-berekend strong { color: var(--navy-900); }
@media (max-width: 640px) { .velden-grid { grid-template-columns: 1fr; } .velden-panel { padding: 4px 14px 16px; } }
