/* ReguSpace SEO-UX8 — gerichte, uitsluitend donkere schermweergave.
   Bestaande inhoud, grafiekwaarden, opslag, print en lichte modus niet wijzigen. */
@media screen {
  /* Groei: lichte betekenisgekleurde behandelkaarten vragen donkere tekst. */
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .strategy-card:is(.blue,.green,.orange,.red,.purple) :is(h3,h4,p,small,span,strong,li),
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .strategy-card:is(.blue,.green,.orange,.red,.purple) {color:#243747!important;opacity:1!important}
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .strategy-card:is(.blue,.green,.orange,.red,.purple) .tag {color:#263d4c!important}
  /* Geen dikke, witte buitenlijst rondom bronnen, alleen in Groei. */
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .section:has(> .sources-disclosure){background:transparent!important;border-color:transparent!important;box-shadow:none!important}
  /* Relationeel dashboard: beschrijvingen bij de bronverwijzingen. */
  html[data-reguspace-theme="dark"] body .rv-module .rv-sources :is(summary,ul,li,p,small,.rv-small){color:#ecf5fa!important;opacity:1!important}
  html[data-reguspace-theme="dark"] body .rv-module .rv-sources a{color:#c8efff!important;text-decoration-color:#c8efff!important}
  html[data-reguspace-theme="dark"] body .rv-module .rv-gauge-svg line[stroke="#29485d"]{stroke:#f6f3e9!important;stroke-width:4.3px!important}
  /* Qualities: uitslag, verdieping en toelichting op donkere vlakken. */
  html[data-reguspace-theme="dark"] body .qualities-module :is(.q-overview-copy,.q-self-head,.q-overview-combined,.q-quality-mirror-details,.q-total-view,.q-overview-hero) :is(.q-kicker,.q-h2,.q-copy,.q-small,.q-norm-note,h2,h3),
  html[data-reguspace-theme="dark"] body .qualities-module :is(.q-mirror-intro,.q-action-helper){color:#eef5fa!important;opacity:1!important}
  html[data-reguspace-theme="dark"] body .qualities-module #overviewShell .q-shell-self-mirror .q-self-own {color:#fff!important;text-shadow:0 1px 2px #182b37}
  /* Alleen het vergrote SVG-wolkvlak: kleuren getemperd, labels op eigen vlakken behouden. */
  html[data-reguspace-theme="dark"] body .qualities-module #overviewShell .q-shell-svg {background:#354657!important;border-radius:18px}
  html[data-reguspace-theme="dark"] body .qualities-module #overviewShell .q-shell-svg > ellipse:first-of-type {fill:#3a4c5d!important;stroke:#91adbe!important}
}


/* SEO-UX9 — aanvullende donkere leesbaarheid Kwaliteitenprofiel; lightmode ongemoeid. */
@media screen {
  html[data-reguspace-theme="dark"] body .qualities-module :is(.q-reflection-result,.q-overview-combined,.q-actions-card,.q-deepen-card,.q-cluster-launch-wrap,.q-outcome,.q-rank-panel .q-card,.q-outcome-panel .q-card) :is(.q-result-label,.q-focus-label strong,.q-focus-label span,.q-bar-labels,.q-route-note,.q-develop-extra-toggle,.q-final-selection,.q-mirror-intro,.q-deepen-summary strong,.q-choice-question,.q-outcome-label strong,.q-outcome-label span,.q-cluster-tab-copy strong,.q-cluster-tab-copy small){color:#eef5fa!important;opacity:1!important}
  html[data-reguspace-theme="dark"] body .qualities-module .q-deepen-summary:after{color:#eef5fa!important;opacity:1!important}
  html[data-reguspace-theme="dark"] body .qualities-module .q-final-selection{background:#435564!important;border-color:#91a8b6!important}
  html[data-reguspace-theme="dark"] body .qualities-module .q-develop-extra-toggle{font-weight:800;text-decoration:none}
}

/* SEO-UX9 — PREP darkmode: popover weer bij slotje en advieskoppen consequent leesbaar. */
@media screen {
  :host([data-c121r10-dark]) .strategy-option :is(b,small),
  :host([data-c121r10-dark]) .strategy-option .prep-card-excerpt,
  :host([data-c121r10-dark]) .prep-fixed-advice :is(strong,p),
  :host([data-c121r10-dark]) .prep-selection-notice,
  :host([data-c121r10-dark]) .prep-scroll-location,
  :host([data-c121r10-dark]) .strategy-scroll-group :is(h3,p),
  :host([data-c121r10-dark]) .strategy-option.selected :is(b,small),
  :host([data-c121r10-dark]) #dialogTitle,
  :host([data-c121r10-dark]) #dialogDetail {color:#f6eeff!important;opacity:1!important}
  :host([data-c121r10-dark]) .prep-privacy-note[open] .prep-privacy-pop{position:absolute!important;left:auto!important;right:0!important;top:auto!important;bottom:calc(100% + 8px)!important;transform:none!important;width:min(320px,calc(100vw - 32px))!important;max-height:min(55dvh,360px)!important;overflow-y:auto!important;box-sizing:border-box!important;z-index:550!important}
}

@media screen and (max-width:1100px) {
  :host([data-c121r10-dark]) .prep-privacy-note[open] .prep-privacy-pop{position:fixed!important;left:50%!important;right:auto!important;top:clamp(55px,17dvh,110px)!important;bottom:auto!important;transform:translateX(-50%)!important;width:min(340px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;max-height:min(65dvh,410px)!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:500!important}
}


/* SEO-UX10: alleen Kwaliteitenprofiel, 3 invalshoeken in darkmode.
   Geen globale tekstkleuren: zachte kaarten houden donkere tekst; donkere vakken lichte tekst. */
@media screen {
  html[data-reguspace-theme="dark"] body .qualities-module #deepenCard .q-quality-switch button,
  html[data-reguspace-theme="dark"] body .qualities-module #deepenCard .q-mobile-lenses button {background:#465969!important;color:#f5f9fc!important;border-color:#93a9b9!important;opacity:1!important}
  html[data-reguspace-theme="dark"] body .qualities-module #deepenCard .q-quality-switch button.active,
  html[data-reguspace-theme="dark"] body .qualities-module #deepenCard .q-mobile-lenses button.active {background:#536b7b!important;color:#fff!important;border-color:#c5dce9!important}
  html[data-reguspace-theme="dark"] body .qualities-module #deepenCard .q-insight,
  html[data-reguspace-theme="dark"] body .qualities-module #deepenCard .q-insight.empty {background:#445868!important;border-color:#99adbc!important;color:#f4f9fc!important;opacity:1!important}
  html[data-reguspace-theme="dark"] body .qualities-module #deepenCard .q-triangle-node,
  html[data-reguspace-theme="dark"] body .qualities-module #deepenCard .q-triangle-core {background:#f8fbfd!important;color:#294357!important;border-color:#bdcfdb!important;opacity:1!important}
}

/* SEO-UX11: direction is a semantic inline title marker only. */
@media screen {
   #regulationStrategiesSection .regu-ux11-arrow,
  #qmRecommendations .regu-ux11-arrow,
  #allRegulationPanel .regu-ux11-arrow{
    display:inline-block;flex:none;position:static;color:inherit;font-size:.86em;font-weight:800;
    opacity:.86;vertical-align:baseline;white-space:nowrap;
  }
  #regulationStrategiesSection h4:has(>.regu-ux11-arrow),
  #qmRecommendations h3:has(>.regu-ux11-arrow),
  #allRegulationPanel h4:has(>.regu-ux11-arrow){display:flex!important;align-items:baseline;gap:4px;min-width:0}
  #regulationStrategiesSection .regu-ux11-title-text,
  #qmRecommendations .regu-ux11-title-text,
  #allRegulationPanel .regu-ux11-title-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
