/* NS Vouwwijzer (I262) — donkere app-venster toolband + bronnentabel op post 4748 */
body.postid-4748 .ns-i262 {
  scroll-margin-top: 120px;
  --vw-ink: #18324a;
  --vw-ink-dark: #0f2234;
  --vw-muted: #465b6d;
  --vw-line: #d8e1e8;
  --vw-soft: #f1f4f7;
  --vw-blue: #146db0;
  --vw-blue-dark: #0e5287;
  --vw-paper: #ffffff;
}

body.postid-4748 .ns-i262-cijfers {
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--vw-line);
  display: grid;
  gap: 16px;
}
body.postid-4748 .ns-i262-cijfer {
  display: block;
}
body.postid-4748 .ns-i262-cijfer strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--vw-ink);
  letter-spacing: -0.02em;
}
body.postid-4748 .ns-i262-cijfer span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--vw-muted);
}

/* Donkere toolband volgens toolpagina-standaard.md */
body.postid-4748 .ns-i262-band {
  margin-block: 8px 0;
  padding: clamp(24px, 3.6vw, 44px) clamp(16px, 3vw, 36px);
  background: #13283c;
  color: #f4f7fa;
  border-radius: 14px;
  scroll-margin-top: 110px;
}
body.postid-4748 .ns-i262-band-head {
  max-width: 740px;
  margin-bottom: 24px;
}
body.postid-4748 .ns-i262-band-kicker {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9dc8eb !important;
}
body.postid-4748 .ns-i262-band h2 {
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: clamp(23px, 2.4vw, 32px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}
body.postid-4748 .ns-i262-band-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #d7e4ef !important;
}

/* App-venster */
body.postid-4748 .ns-vw-app {
  background: #0d1d2d;
  border: 1px solid #25435f;
  border-radius: 14px;
  overflow: hidden;
  font-family: "Poppins", Arial, sans-serif;
}
body.postid-4748 .ns-vw-app * {
  box-sizing: border-box;
}
body.postid-4748 .ns-vw-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #091522;
  border-bottom: 1px solid #203950;
}
body.postid-4748 .ns-vw-dots {
  display: inline-flex;
  gap: 6px;
}
body.postid-4748 .ns-vw-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3d5d7a;
}
body.postid-4748 .ns-vw-bar-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #b7cde0;
}

body.postid-4748 .ns-vw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  padding: clamp(18px, 2.6vw, 28px);
  align-items: start;
}

/* Formulier op donkere ondergrond */
body.postid-4748 .ns-vw-form {
  display: grid;
  gap: 18px;
  margin: 0;
}
body.postid-4748 .ns-vw-group {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}
body.postid-4748 .ns-vw-group legend {
  padding: 0 !important;
  margin: 0 0 8px !important;
  border: 0 !important;
  width: auto !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #f4f7fa !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.postid-4748 .ns-vw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.postid-4748 .ns-vw-chips label {
  position: relative;
  margin: 0 !important;
  cursor: pointer;
  display: inline-block;
  text-transform: none !important;
  font-weight: 500 !important;
}
body.postid-4748 .ns-vw-chips input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
body.postid-4748 .ns-vw-chips span {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 8px;
  background: #173047;
  border: 1px solid #2b4e6d;
  color: #e6eff6;
  font-size: 13.5px;
  line-height: 1.35;
  transition: background-color 150ms cubic-bezier(.22, 1, .36, 1), border-color 150ms cubic-bezier(.22, 1, .36, 1), color 150ms cubic-bezier(.22, 1, .36, 1);
}
body.postid-4748 .ns-vw-chips label:hover span {
  background: #1f3f5d;
  border-color: #4f86b5;
}
body.postid-4748 .ns-vw-chips input:checked + span {
  background: #ffffff;
  border-color: #ffffff;
  color: #0d1d2d;
  font-weight: 600;
}
body.postid-4748 .ns-vw-chips input:focus-visible + span {
  outline: 3px solid #7ec0f5;
  outline-offset: 2px;
}

body.postid-4748 .ns-vw-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
html body.postid-4748 .ns-vw-app button.ns-vw-preset {
  margin: 0 !important;
  padding: 7px 12px !important;
  min-height: 0 !important;
  border-radius: 8px !important;
  border: 1px solid #2b4e6d !important;
  background: #173047 !important;
  color: #e6eff6 !important;
  font: 500 13px/1.3 "Poppins", Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
html body.postid-4748 .ns-vw-app button.ns-vw-preset.is-active,
html body.postid-4748 .ns-vw-app button.ns-vw-preset:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0d1d2d !important;
  font-weight: 600 !important;
}
html body.postid-4748 .ns-vw-app button.ns-vw-preset:focus-visible {
  outline: 3px solid #7ec0f5 !important;
  outline-offset: 2px;
}

body.postid-4748 .ns-vw-maten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body.postid-4748 .ns-vw-maten label {
  display: grid;
  gap: 5px;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #d7e4ef !important;
  text-transform: none !important;
}
body.postid-4748 .ns-vw-maten input[type="number"] {
  width: 100% !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  border: 1px solid #355b7d !important;
  background: #ffffff !important;
  color: #18324a !important;
  font: 600 15px/1.2 "Poppins", Arial, sans-serif !important;
  box-shadow: none !important;
}
body.postid-4748 .ns-vw-maten input[type="number"]:focus-visible {
  outline: 3px solid #7ec0f5 !important;
  outline-offset: 1px;
}

html body.postid-4748 .ns-vw-app button.ns-vw-reset {
  margin: 2px 0 0 !important;
  padding: 8px 14px !important;
  min-height: 0 !important;
  border-radius: 8px !important;
  border: 1px solid #487399 !important;
  background: transparent !important;
  color: #e6eff6 !important;
  font: 500 13px/1.3 "Poppins", Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
html body.postid-4748 .ns-vw-app button.ns-vw-reset:hover {
  background: #173047 !important;
  color: #ffffff !important;
}
html body.postid-4748 .ns-vw-app button.ns-vw-reset:focus-visible {
  outline: 3px solid #7ec0f5 !important;
  outline-offset: 2px;
}

/* Uitkomstpaneel (licht oppervlak met hoog contrast) */
body.postid-4748 .ns-vw-panel {
  background: #ffffff;
  color: #18324a;
  border-radius: 8px;
  padding: clamp(16px, 2.2vw, 24px);
}
body.postid-4748 .ns-vw-result {
  transition: opacity 150ms cubic-bezier(.22, 1, .36, 1), transform 150ms cubic-bezier(.22, 1, .36, 1);
}
body.postid-4748 .ns-vw-result.is-updating {
  opacity: 0.65;
  transform: translateY(3px);
}
body.postid-4748 .ns-vw-fout {
  padding: 14px 16px;
  border-radius: 8px;
  background: #fdeceb;
  border-left: 4px solid #a9281c;
  color: #7c1c13 !important;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
}
body.postid-4748 .ns-vw-pil {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
}
body.postid-4748 .ns-vw-pil.is-ok { background: #d9efe3; color: #125030; }
body.postid-4748 .ns-vw-pil.is-herstel { background: #dce9f5; color: #12436c; }
body.postid-4748 .ns-vw-pil.is-blijvend { background: #fbe8c2; color: #674300; }
body.postid-4748 .ns-vw-pil.is-stop { background: #f8d4cf; color: #7f1c11; }

body.postid-4748 .ns-vw-kop {
  margin: 0 0 8px !important;
  font-size: 19px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #18324a !important;
}
body.postid-4748 .ns-vw-verf {
  margin: 0 0 14px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #253d52 !important;
}
body.postid-4748 .ns-vw-diagram {
  margin: 0 0 14px !important;
}
body.postid-4748 .ns-vw-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #d8e1e8;
}
body.postid-4748 .ns-vw-diagram figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #465b6d !important;
}

body.postid-4748 .ns-vw-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0 0 14px !important;
  padding: 12px 0;
  border-top: 1px solid #d8e1e8;
  border-bottom: 1px solid #d8e1e8;
}
body.postid-4748 .ns-vw-metrics div { min-width: 0; }
body.postid-4748 .ns-vw-metrics dt {
  margin: 0 0 2px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #465b6d !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.postid-4748 .ns-vw-metrics dd {
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #18324a !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.postid-4748 .ns-i262 a {
  color: #0e5287;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.postid-4748 .ns-i262 a:hover {
  color: #18324a;
}

body.postid-4748 .ns-vw-stappen {
  margin: 0 0 8px !important;
  padding-left: 1.25rem !important;
}
body.postid-4748 .ns-vw-stappen li {
  margin: 0 0 7px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #253d52 !important;
}
body.postid-4748 .ns-vw-stappen li::before { content: none !important; }

body.postid-4748 .ns-vw-extra {
  margin: 10px 0 0 !important;
  padding-top: 10px;
  border-top: 1px solid #d8e1e8;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: #18324a !important;
}
body.postid-4748 .ns-vw-extra a {
  color: #0e5287 !important;
  text-decoration: underline !important;
  font-weight: 600;
}

body.postid-4748 .ns-vw-noot,
body.postid-4748 .ns-vw-noscript {
  margin: 0 !important;
  padding: 12px clamp(18px, 2.6vw, 28px) 16px;
  border-top: 1px solid #203950;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: #bdd1e3 !important;
}

/* Bronnentabel in sectie 3 */
body.postid-4748 .ns-i262-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #18324a;
}
body.postid-4748 .ns-i262-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: 12.5px;
  color: #465b6d;
  padding-top: 8px;
}
body.postid-4748 .ns-i262-table th,
body.postid-4748 .ns-i262-table td {
  padding: 11px 10px;
  border: 0;
  border-bottom: 1px solid #d8e1e8;
  vertical-align: top;
  text-align: left;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.postid-4748 .ns-i262-table thead th {
  background: #f1f4f7;
  font-weight: 700;
  color: #18324a;
}
body.postid-4748 .ns-i262-table tbody th {
  width: 26%;
  font-weight: 600;
  color: #18324a;
}
body.postid-4748 .ns-i262-signalen {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}
body.postid-4748 .ns-i262-signalen li {
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #344c60;
}

@media (max-width: 860px) {
  body.postid-4748 .ns-vw-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  body.postid-4748 .ns-i262-band {
    padding: 20px 14px;
    border-radius: 8px;
  }
  body.postid-4748 .ns-vw-grid {
    padding: 14px;
  }
  body.postid-4748 .ns-vw-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  html body.ns-style-repaired.postid-4748 .entry-content table.ns-i262-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
  }
  html body.ns-style-repaired.postid-4748 .entry-content table.ns-i262-table thead {
    display: none !important;
  }
  html body.ns-style-repaired.postid-4748 .entry-content table.ns-i262-table :is(tbody, tr, th, td) {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  html body.ns-style-repaired.postid-4748 .entry-content table.ns-i262-table tr {
    padding: 10px 0 !important;
    border-bottom: 1px solid #d8e1e8 !important;
  }
  html body.ns-style-repaired.postid-4748 .entry-content table.ns-i262-table th {
    padding: 4px 0 !important;
    border: 0 !important;
    font-size: 14.5px !important;
    background: transparent !important;
  }
  html body.ns-style-repaired.postid-4748 .entry-content table.ns-i262-table td {
    padding: 4px 0 !important;
    border: 0 !important;
    font-size: 14px !important;
  }
  html body.ns-style-repaired.postid-4748 .entry-content table.ns-i262-table td[data-label]::before {
    display: block !important;
    content: attr(data-label) !important;
    font-size: 12px;
    font-weight: 700;
    color: #465b6d;
    margin-bottom: 2px;
  }
  html body.ns-style-repaired.postid-4748 .entry-content table.ns-i262-table caption {
    display: block !important;
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.postid-4748 .ns-vw-chips span,
  body.postid-4748 .ns-vw-result {
    transition: none !important;
    transform: none !important;
  }
}
