/* Permanent dark-material and B-accent layer for the Nexin site.
   The light palette remains owned by the existing site stylesheets. */
@media (forced-colors: none) {
  :root[data-nexin-theme="dark"] {
    --nx-material-page: #1d1e20 !important;
    --nx-material-card: #25272a !important;
    --nx-material-group: #2a2c2f !important;
    --nx-material-recess: #202225 !important;
    --nx-material-line: #484b51 !important;
    --nx-material-ink: #f2f3f5 !important;
    --nx-material-muted: #bfc3ca !important;
    --nx-material-accent: var(--nx-light-blue-7895ff,#7895ff) !important;
    --nx-material-back: var(--nx-material-card) !important;
    --nx-material-edge: #151617 !important;
    --nx-material-edge-light: #b2b5bb !important;
    --nx-material-shadow-card: 4px 6px 18px -3px #00000059, -3px -3px 10px #ffffff08, inset 1px 1px 1px #ffffff20 !important;
    --nx-material-shadow-small: 2px 3px 8px -2px #0000004d, -2px -2px 6px #ffffff06, inset 1px 1px 1px #ffffff14 !important;
    --nx-material-shadow-inset: inset 2px 2px 5px #0000004d, inset -1px -1px 3px #ffffff08 !important;
    --dm-edge-light: #e3e4e652 !important;
    --dm-edge-side: #d5d7da30 !important;
    --dm-edge-shade: #0a0b0d3d !important;
    --neu-mid-dark: #101113b3 !important;
    --neu-mid-light: #ffffff0e !important;
    scrollbar-color: #64686f var(--nx-material-page);
  }

  :root:is([data-nexin-theme="dark"], [data-theme="dark"]) {
    --nx-material-accent: var(--nx-light-blue-7895ff,#7895ff) !important;
    --nx-blue-rgb: 120, 149, 255 !important;
    --nx-unified-blue: var(--nx-material-accent) !important;
    --nx-blue: var(--nx-material-accent) !important;
    --neu-blue: var(--nx-material-accent) !important;
    --rf-blue: var(--nx-material-accent) !important;
    --all-blue: var(--nx-material-accent) !important;
    --dm-blue: var(--nx-material-accent) !important;
    --blue: var(--nx-material-accent) !important;
    --accent: var(--nx-material-accent) !important;
    accent-color: var(--nx-material-accent);
  }

  :root[data-nexin-theme="dark"][data-neu-context="paper"],
  :root[data-nexin-theme="dark"][data-neu-context="verkenner"] {
    --nx-material-page: var(--nx-material-card) !important;
  }

  :root[data-theme="dark"] {
    --paper: #1d1e20;
    --panel: #25272a;
    --ink: #f2f3f5;
    --muted: #bfc3ca;
    --line: #484b51;
    --accent: var(--nx-light-blue-7895ff,#7895ff);
    --stage: #151617;
    --shadow: 4px 6px 18px -3px #00000059, -3px -3px 10px #ffffff08;
  }

  :root[data-nexin-theme="dark"] .nexin-contact {
    --blue: var(--nx-material-accent) !important;
    --blue-deep: var(--nx-material-accent) !important;
    --ring: 0 0 0 2px rgba(var(--nx-blue-rgb), .22) !important;
  }

  :root[data-nexin-theme="dark"] body .nx-nav a[aria-current] {
    color: var(--nx-material-accent) !important;
  }

  :root[data-soft-ui="codex"][data-neu-world="full"][data-neu-refinement="balanced"][data-nexin-theme="dark"] .nx-rule[data-nx-section-label-rule]::before {
    background: var(--nx-material-accent) !important;
  }

  :root[data-nexin-theme="dark"] .nx-faq .nx-rule {
    background: var(--nx-material-accent) !important;
  }

  :root[data-soft-ui="codex"][data-neu-world="full"][data-neu-refinement="balanced"][data-nexin-theme="dark"][data-rim="claudex-1"] .rim-target[data-kansenvinder-glow] > .rim-light .rim-core {
    stroke: var(--nx-material-accent) !important;
  }

  :root[data-soft-ui="codex"][data-neu-world="full"][data-neu-refinement="balanced"][data-nexin-theme="dark"][data-rim="claudex-1"] .rim-target[data-kansenvinder-glow] > .rim-light .rim-halo {
    stroke: color-mix(in srgb, var(--nx-material-accent) 55%, #1d1e20) !important;
  }

  /* Keep dashboard series semantic and preserve the native 2px segment gap. */
  :root[data-soft-ui="codex"][data-neu-world="full"][data-neu-refinement="balanced"][data-nexin-theme="dark"] body [data-nexin-semantic-chart="dashboard"] [data-part="new-order"] {
    background-color: #96bdff !important;
  }

  :root[data-soft-ui="codex"][data-neu-world="full"][data-neu-refinement="balanced"][data-nexin-theme="dark"] body [data-nexin-semantic-chart="dashboard"] [data-hour] {
    background-color: #6f88ff !important;
  }
}

/* Outcome, contact and default FAQ row styling from the accepted proposal. */
.nx-region-line {
  margin: 16px 0 0;
  color: var(--nx-material-muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
}
.nx-service-outcome {
  margin: 22px 0 26px;
  padding: 20px 22px;
  border: 1px solid var(--nx-material-line);
  border-radius: 16px;
  background: var(--nx-material-recess);
  color: var(--nx-material-ink);
  box-shadow: var(--nx-material-shadow-inset);
}
.nx-service-outcome strong {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 750;
  color: var(--nx-material-accent);
}
html .nx-service-outcome p {
  max-width: 65ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--nx-material-ink);
}
html .nx-service-outcome .nx-outcome-scope {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--nx-material-muted);
}
.nx-contact-region {
  max-width: 54ch;
  margin: 8px 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--nx-material-muted);
}
.nx-contact-person {
  display: block;
  margin-top: 8px;
  color: var(--nx-material-ink);
  font-weight: 650;
}

.nx-faq {
  padding-bottom: 84px;
  scroll-margin-top: 88px;
}
.nx-faq .nx-rule {
  height: 2px;
  background: var(--nx-material-accent);
}
.nx-faq-layout {
  display: grid;
  gap: 30px;
  padding-top: 42px;
}
.nx-faq-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.035em;
  color: var(--nx-material-ink);
  text-wrap: balance;
}
.nx-faq-intro > p {
  max-width: 54ch;
  margin: 0;
  color: var(--nx-material-muted);
  font-size: 16px;
  line-height: 1.7;
}
.nx-faq-list {
  width: 100%;
  max-width: 900px;
}
.nx-faq-item {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--nx-material-line);
}
.nx-faq-item:first-child {
  border-top: 1px solid var(--nx-material-line);
}
.nx-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  color: var(--nx-material-ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.55;
  scroll-margin-block: 100px;
}
.nx-faq-item summary::-webkit-details-marker {
  display: none;
}
.nx-faq-item summary > span {
  max-width: 58ch;
  text-wrap: pretty;
}
.nx-faq-item summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: var(--nx-material-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
}
.nx-faq-item[open] summary svg {
  transform: rotate(45deg);
}
.nx-faq-item summary:hover {
  color: var(--nx-material-accent);
}
.nx-faq-item summary:focus-visible,
.nx-faq a:focus-visible {
  outline: 2px solid var(--nx-material-accent);
  outline-offset: 5px;
  border-radius: 6px;
}
.nx-faq-answer {
  max-width: 78ch;
  padding: 0 42px 24px 4px;
}
.nx-faq-answer p {
  margin: 0;
  color: var(--nx-material-muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}
.nx-faq-policy-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--nx-material-accent);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.7;
  text-underline-offset: 4px;
}
.nx-example-swipe-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0 18px;
  color: var(--nx-material-muted);
  font-size: 14px;
  line-height: 1.6;
}
.nx-example-swipe-hint svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

@media (max-width: 700px) {
  html[data-ui-polish][data-consult-card] #service-inline-details.nx-service-inline .cr-detail-close {
    position: relative;
    top: auto;
  }
  .nx-faq {
    padding-bottom: 56px;
  }
  .nx-faq-layout {
    gap: 26px;
    padding-top: 30px;
  }
  .nx-faq-item summary {
    gap: 18px;
    min-height: 80px;
    padding-block: 22px;
    font-size: 16px;
  }
  .nx-faq-answer {
    padding: 0 24px 24px 4px;
  }
  .nx-faq-answer p {
    font-size: 15px;
    line-height: 1.8;
  }
  .nx-service-outcome {
    margin-block: 20px;
    padding: 18px;
  }
  .nx-contact-region {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nx-faq-item summary svg {
    transition: none;
  }
}
@media (forced-colors: active) {
  .nx-service-outcome,
  .nx-faq-list {
    box-shadow: none;
  }
  .nx-faq-item summary svg {
    stroke: ButtonText;
  }
}

/* Accepted responsive pair; text may wrap only below 360px. */
@media (max-width: 600px) {
  :root[data-nexin-enhanced] #inhoud .nx-hero .nx-actions {
    width: fit-content;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
  }
  :root[data-nexin-enhanced] #inhoud .nx-hero .nx-actions .nx-btn {
    flex: 0 1 auto;
    flex-basis: auto;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding-inline: 8px !important;
    gap: 6px;
  }
  :root[data-nexin-enhanced] #inhoud .nx-hero .nx-actions .nx-btn-verkenner > svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }
}
@media (max-width: 359px) {
  :root[data-nexin-enhanced] #inhoud .nx-hero .nx-actions .nx-btn {
    white-space: normal;
    text-align: center;
    gap: 4px;
  }
  :root[data-nexin-enhanced] #inhoud .nx-hero .nx-actions .nx-btn-verkenner > svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
}

/* Intro metadata: one quiet audience/region line with a decorative location icon. */
.nx-hero-meta{margin-top:16px;max-width:100%}
.nx-hero-copy .nx-hero-meta .nx-region-line{display:flex;align-items:flex-start;gap:7px;min-width:0;margin:0;color:var(--nx-material-muted);font-size:14px;font-weight:400;line-height:1.5}
.nx-region-line svg{width:14px;height:14px;flex:none;margin-top:3px;opacity:.8}
.nx-region-line span{min-width:0;text-wrap:balance}

/* Accepted audience emphasis belongs to the native hero heading. */
#hero-title .nx-hero-audience-accent{color:var(--nx-material-accent,var(--nx-light-blue-0030fd,#0030fd))!important}

/* White wordmark retains the selected dark-mode blue in its N accent. */
:root[data-nexin-theme="dark"] .nx-header .nx-brand img{content:url("/assets/nexin-20261022-motion/shared/brand/nexin-woordmerk-licht.svg");filter:none!important}

/* In-flow company footer. */
.nx-site-footer{margin-top:32px;border-top:1px solid var(--nx-material-line);background:var(--nx-material-recess);color:var(--nx-material-ink);font-family:Manrope,Arial,sans-serif;}
.nx-site-footer-inner{max-width:1256px;margin-inline:auto;padding:56px 48px max(20px,env(safe-area-inset-bottom));}
.nx-footer-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr);gap:56px;padding-bottom:36px;}
.nx-footer-logo{display:inline-flex;align-items:center;min-height:44px;padding-block:2px;}
.nx-footer-logo img{display:block;width:112px;height:auto;}
.nx-footer-brand p{margin:18px 0 0;max-width:31ch;color:var(--nx-material-muted);font-size:14px;line-height:1.8;}
.nx-footer-brand .nx-footer-region{margin-top:12px;font-size:13px;}
.nx-site-footer h2{margin:0 0 12px;color:var(--nx-material-ink);font-size:14px;font-weight:700;line-height:1.6;letter-spacing:0;text-transform:none;}
.nx-site-footer ul{list-style:none;padding:0;margin:0;}
.nx-site-footer a{color:var(--nx-material-ink);text-decoration:none;text-underline-offset:4px;}
.nx-footer-nav a,.nx-footer-contact>a{display:flex;align-items:center;width:fit-content;min-height:44px;font-size:14px;line-height:1.5;}
.nx-site-footer a:hover{color:var(--nx-material-accent);text-decoration:underline;}
.nx-site-footer a:focus-visible{outline:2px solid var(--nx-material-accent);outline-offset:4px;border-radius:3px;}
.nx-footer-contact>p{margin:0 0 7px;color:var(--nx-material-muted);font-size:13px;line-height:1.7;}
.nx-footer-contact>.nx-footer-contact-link{gap:8px;margin-top:8px;color:var(--nx-material-accent);}
/* Footer contact methods reuse the contact strip's icon family. */
.nx-footer-contact>.nx-footer-contact-method{gap:10px;max-width:100%;}
.nx-footer-contact-method svg{display:block;width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.nx-footer-contact-method span{min-width:0;overflow-wrap:anywhere;}
/* The shared contact-button skin resets all margins; retain this local gap. */
.nx-site-footer .nx-footer-contact>.nx-footer-contact-link{margin-top:24px!important;}
.nx-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;padding-top:20px;border-top:1px solid var(--nx-material-line);color:var(--nx-material-muted);font-size:12px;line-height:1.7;}
.nx-footer-bottom>p{margin:0;white-space:nowrap;}
.nx-footer-business{display:flex;flex-wrap:wrap;gap:4px 22px;}
.nx-site-footer .nx-footer-top{display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap;color:var(--nx-material-muted);}
.nx-footer-top svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
:root[data-nexin-theme="dark"] .nx-footer-logo img{content:url("/assets/nexin-20261022-motion/shared/brand/nexin-woordmerk-licht.svg");filter:none!important;}
.nx-contact-strip[data-footer-hidden]{visibility:hidden!important;pointer-events:none!important;}
@media(max-width:900px){.nx-footer-main{gap:32px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.1fr)}.nx-site-footer-inner{padding-inline:clamp(16px,4.2vw,48px)}.nx-footer-bottom{flex-wrap:wrap}.nx-footer-business{order:3;flex-basis:100%;}}
@media(max-width:600px){.nx-site-footer{margin-top:16px}.nx-site-footer-inner{padding-top:36px}.nx-footer-main{grid-template-columns:minmax(0,1fr);gap:30px;padding-bottom:28px}.nx-footer-brand p{margin-top:12px}.nx-footer-brand .nx-footer-region{margin-top:6px}.nx-footer-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.nx-footer-nav a{max-width:100%;font-size:13px}.nx-footer-bottom{gap:12px 16px;padding-top:12px}.nx-footer-business{display:grid;gap:4px;}.nx-site-footer h2{margin-bottom:8px}}
@media(forced-colors:active){.nx-site-footer{border-color:CanvasText}.nx-footer-bottom{border-color:CanvasText}}

/* Leave the last line of the footer clear of the fixed contact bar. */
body:has(> .nx-site-footer){padding-bottom:var(--nx-contact-height,56px)!important}


/* Compact open tool inside the existing Contact grid. */
.nx-inline-explorer-section{scroll-margin-block-start:0;padding-block:24px 56px;}
.nx-inline-explorer-inner{max-width:680px;margin-inline:auto;}
.nx-inline-explorer-inner>h2{margin:0;color:var(--nx-material-ink);font-size:24px;font-weight:750;line-height:1.3;letter-spacing:-.025em;}
.nx-inline-explorer-intro{margin:10px 0 20px;color:var(--nx-material-muted);font-size:14px;line-height:1.7;}
.nx-inline-explorer-card{min-width:0;border:1px solid var(--nx-material-line);border-radius:20px;background:var(--nx-material-card);box-shadow:var(--nx-material-shadow-card);overflow:hidden;scroll-margin-block-start:16px;--nx-hero-verkenner-height:210px;}
@media(max-width:600px){.nx-inline-explorer-section{padding-block:12px 40px}.nx-inline-explorer-inner>h2{font-size:22px}.nx-inline-explorer-card{border-radius:18px;--nx-hero-verkenner-height:min(240px,calc(100svh - 260px));}}

/* The existing contact grid owns the desktop/right and mobile/below placement. */
.nx-contact-verkenner{display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;}
.nx-contact-verkenner .nx-inline-explorer-section{width:100%;padding:0;}
.nx-contact-verkenner .nx-inline-explorer-section>.nx-wrap{width:100%;max-width:none;margin:0;padding:0;}
.nx-contact-verkenner .nx-inline-explorer-inner{max-width:none;margin:0;}
.nx-contact-verkenner .nx-inline-explorer-inner>h2{font-size:22px;}
.nx-contact-verkenner .nx-inline-explorer-intro{font-size:13px;line-height:1.7;margin-bottom:18px;}
@media(min-width:801px){#contact.ct:has(.nx-contact-verkenner){grid-template-columns:minmax(0,1fr) minmax(320px,38%)!important;}}
@media(max-width:800px){.nx-contact-verkenner .nx-inline-explorer-inner>h2{font-size:20px;}}

.nx-contact-verkenner .nx-inline-explorer-card{--nx-hero-verkenner-height:584px;}
@media(max-width:800px){.nx-contact-verkenner .nx-inline-explorer-card{--nx-hero-verkenner-height:min(584px,calc(100svh - 260px));}}

/* Never draw rectangular focus outlines on mouse/touch clicks; reserve focus rings for keyboard navigation. */
:root[data-nx-input-modality="pointer"] :is(button,a,summary,[role="button"],[tabindex]):is(:focus,:focus-visible),
:root[data-nx-input-modality="pointer"] .cr-card:has(.cr-card-link:focus-visible),
:root[data-nx-input-modality="pointer"] .chosen-wide.info-badges .card-link:focus-visible::after,
.card-info-panel:is(:focus,:focus-visible) {
  outline: none !important;
}



