/* SEO-UX6 — scope: only Drijfveren result surfaces, first-question scroll,
   and Kwaliteitenprofiel outcome contrast in dark mode. No light/print changes. */
@media screen {
  /* Fixed top toolbar must not cover question 7 / 13 when changing pages. */
  #drivesScreen #questionGrid > .question:first-child {
    scroll-margin-top: 88px;
  }
  html[data-reguspace-theme="dark"] body #drivesScreen :is(.radar-card,.slider-card,.top3) {
    background:#405462!important;
    border-color:#8197a6!important;
    color:#edf4f8!important;
  }
  html[data-reguspace-theme="dark"] body #drivesScreen :is(.radar-title,.slider-head strong,.top3 strong) {
    color:#f4f8fc!important;
  }
  html[data-reguspace-theme="dark"] body #drivesScreen :is(.slider-head small,.slider-scale,.top3 .note,.top3 span,.top3) {
    color:#dcecf5!important;
  }
  html[data-reguspace-theme="dark"] body #drivesScreen .radar-axis-label {
    fill:#d9edf7!important;
  }
  html[data-reguspace-theme="dark"] body #drivesScreen .drive-mini-icon {
    background:#526879!important;
    color:#e9f5ff!important;
  }
  html[data-reguspace-theme="dark"] body #drivesScreen .slider-warning.is-visible {
    background:#564a39!important;
    border-color:#bea67a!important;
    color:#fff4db!important;
  }
  /* Preserve separate colored traces and original slider functionality. */

  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module #outcomeContent :is(.q-outcome-label strong,.q-choice-question,.q-choice-question span) {
    color:#edf4f8!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module #outcomeContent :is(.q-outcome-label span,.q-full-order summary,.q-full-order p) {
    color:#c9e4f4!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module #outcomeContent :is(.q-underused,.q-full-order) {
    border-color:#8197a6!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module #outcomeContent .q-underused {
    background:#405462!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module #outcomeContent .q-underused :is(.q-copy,.q-small) {
    color:#dcecf5!important;
  }
}

/* Additional UX6: mobile qualities-cloud composition. The SVG labels and the
   corresponding dot clouds move together; the three cluster paths do not move.
   Results, scoring, tokens, and desktop cloud layout are unchanged. */
@media screen and (max-width:680px) {
  .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg .cluster-label,
  .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg .cluster-count,
  .qualities-module #heroShell .q-shell-svg > circle,
  .qualities-module #overviewShell .q-shell-svg > circle.q-mobile-profile-dot {
    transform:translateY(14px);
  }
}

/* Both cloud screens: restrained dark SVG background, never a large white
   ellipse. Original SVG geometry and cluster meaning colors stay the same. */
@media screen {
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg #shellGrad stop:first-child {
    stop-color:#3d5262!important;
    stop-opacity:1!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg #shellGrad stop:last-child {
    stop-color:#334755!important;
    stop-opacity:1!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg > ellipse {
    stroke:#7892a3!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg > path:nth-of-type(1) {fill:#425d58!important;}
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg > path:nth-of-type(2) {fill:#4e526b!important;}
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg > path:nth-of-type(3) {fill:#5c504a!important;}
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg :is(.shell-title,.cluster-label,.cluster-count) {
    fill:#f3f8fc!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-self-label {
    color:#263d50!important;
  }
}

@media screen and (max-width:680px) {
  .qualities-module #heroShell .q-shell-svg .cluster-label {
    font-size:20px!important;
    font-weight:850!important;
  }
  .qualities-module #heroShell .q-shell-svg .cluster-count {
    font-size:14px!important;
    font-weight:750!important;
  }
}
@media screen {
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module :is(#heroShell,#overviewShell) .q-shell-svg > rect {
    fill:#506979!important;
    stroke:#91a8b7!important;
  }
  html[data-reguspace-theme="dark"][data-rs-standalone="qualities"] body .qualities-module #overviewShell .q-shell-self-label {
    color:#f3f8fc!important;
  }
}

@media screen and (max-width:680px) {
  .qualities-module #overviewShell .q-shell-self-mirror {
    display:flex!important;
    height:100%!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
}
