/* SEO-UX5 — narrow dark-mode readability repairs.
   Activation result cards and Growth neutral reading/entry surfaces only.
   No changes to scoring, axes, charts, app routing, print or lightmode. */
@media screen {
  html[data-reguspace-theme="dark"] body main#activation-main #results .result-block,
  html[data-reguspace-theme="dark"] body main#activation-main #results :is(.summary-box,.pattern-detail,.visual-card,.closing-card,.physical-score-card,.narrative-box,.reflection-box,.development-box,.future-box,.ptab) {
    background:#344452!important;background-image:none!important;
    color:#edf4f8!important;border-color:#718696!important;
  }
  html[data-reguspace-theme="dark"] body main#activation-main #results .ptab.active {
    background:#526c7c!important;border-color:#a4bed0!important;
  }
  html[data-reguspace-theme="dark"] body main#activation-main #results :is(h2,h3,.visual-title,.rank-name,.rank-score,.impact-score,.small-label,.big-label,.question,.physical-copy,.physical-fit-line,.analysis,.cv,.ct,.ck,.note,.caution-box,.brand,.t1,.t2) {
    color:#edf4f8!important;
  }
  html[data-reguspace-theme="dark"] body main#activation-main #results :is(.summary-box,.pattern-detail,.physical-score-card,.narrative-box,.reflection-box,.development-box,.future-box,.closing-card,.visual-card) :is(p,strong,small,span,li,em,b) {
    color:#edf4f8!important;
  }
  html[data-reguspace-theme="dark"] body main#activation-main #results .bar {
    background:#253846!important;
  }
  /* The mini-map remains a deliberately light data figure with dark ink.
     Its position/axis annotations sit outside that figure on dark cards. */
  html[data-reguspace-theme="dark"] body main#activation-main #results .mini-map :is(.quad,.quad strong) {
    color:#2e4559!important;
  }
  html[data-reguspace-theme="dark"] body main#activation-main #results :is(.axis-top,.axis-bottom,.axis-left,.axis-right) {
    color:#bce9ff!important;
  }

  html[data-reguspace-theme="dark"] body #depthRecoveryScreen :is(.growth-insights-section,.growth-step,.growth-rest-note,.growth-source-details,.growth-source-row,.growth-empty-reflections,.growth-goal-week,.depth-routebar) {
    background:#344452!important;background-image:none!important;
    color:#edf4f8!important;border-color:#718696!important;
  }
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen :is(.growth-step,.growth-rest-note,.growth-source-details,.growth-source-row,.growth-goal-week,.depth-routebar) :is(h2,h3,h4,h5,p,label,span,strong,b,small,li) {
    color:#edf4f8!important;
  }
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen :is(.growth-step-kicker,.growth-input-label,.growth-week-note,.growth-source-details>summary,.growth-source-row strong,.depth-routebar b,.growth-source-row p,.depth-chapter-head span) {
    color:#c3eaff!important;
  }
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen :is(.growth-step textarea,.growth-goal-week textarea,.growth-action-card input) {
    background:#526879!important;color:#f4f8fb!important;
    border-color:#95adbc!important;
  }
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen :is(.growth-step textarea,.growth-goal-week textarea,.growth-action-card input)::placeholder {
    color:#dce8ef!important;opacity:1!important;
  }
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen :is(.growth-source-details>summary,.growth-reflection-sources a,.depth-iceberg-link) {
    color:#c3eaff!important;
  }
  /* Retain distinct meanings of the four choice panels with subdued dark tints. */
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .growth-action-card.growth-more {background:#344b40!important;}
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .growth-action-card.growth-less {background:#4e4535!important;}
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .growth-action-card.growth-stop {background:#513f45!important;}
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .growth-action-card.growth-start {background:#344b5b!important;}
  html[data-reguspace-theme="dark"] body #depthRecoveryScreen .growth-action-card :is(h4,p,label,strong) {
    color:#edf4f8!important;
  }
}
