/* ReguSpace UX12AL TEST: only new local refinements. Shared/general dark-mode CSS unchanged. */
@media screen {
  /* Kwaliteiten focus clouds: restore softly overlapping oval visual, keep the clear UX12AK word selection. */
  .qualities-module .q-focus-shell {position:relative;isolation:isolate;border-radius:40% / 16%;padding:20px 17px 16px;}
  .qualities-module .q-focus-shell::before{content:"";position:absolute;inset:7px;border:1px solid color-mix(in srgb,#7793a4 55%,transparent);border-radius:48% / 20%;pointer-events:none;z-index:-1;}
  .qualities-module .q-focus-cloud-grid{gap:0 12px;}
  .qualities-module .q-focus-cloud{border-radius:49% / 41%;min-height:166px;padding:22px 26px;position:relative;}
  .qualities-module .q-focus-cloud:last-child{width:min(72%,100%);min-height:130px;margin-top:-12px;z-index:1;}
  .qualities-module .q-focus-cloud h3{line-height:1.2;}
  .qualities-module .q-focus-cloud-words{gap:6px;}
  .qualities-module .q-focus-cloud .q-profile-word{max-width:100%;overflow-wrap:anywhere;word-break:normal;}
  @media(max-width:680px){
    .qualities-module .q-focus-shell{padding:13px 9px;border-radius:25px;}
    .qualities-module .q-focus-shell::before{border-radius:21px;}
    .qualities-module .q-focus-cloud-grid{gap:8px;}
    .qualities-module .q-focus-cloud,.qualities-module .q-focus-cloud:last-child{width:100%;min-height:113px;margin-top:0;padding:16px 21px;border-radius:42% / 27%;}
  }
  @media(min-width:681px) and (max-width:880px){
    .qualities-module .q-focus-cloud{padding:18px 14px;border-radius:42% / 37%;}
    .qualities-module .q-focus-cloud:last-child{width:min(88%,100%);margin-top:0;}
  }
}
@media screen {
  /* Only the 'Onderbenut' remove mark: same neutral grey as neighboring X controls. */
  html[data-reguspace-theme="dark"] .qualities-module #underusedChips .q-chip-x{color:#a9bac6!important;}
  /* P-02: new, local dark reading surfaces for the on-screen PREP library only, not the print/PDF preview. */
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane > .section{background:#334453!important;color:#eef5f9!important;border-color:#6b8393!important;}
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane > .section > h2,
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-library-intro{color:#f2f7fa!important;opacity:1!important;}
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-plan-card,
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-plan-empty{background:#405565!important;color:#f0f5f9!important;border-color:#778e9f!important;}
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-plan-card :is(h3,p,strong,span),
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-plan-empty :is(p,strong,span){color:#f0f5f9!important;opacity:1!important;}
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-plan-meta{color:#d0dfeb!important;}
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-plan-actions button{background:#324e61!important;border-color:#8aafc4!important;color:#ecf6fd!important;}
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-plan-actions button:is(:hover,:focus-visible){background:#4d687a!important;outline-color:#c5e2f4!important;}
  html[data-reguspace-theme="dark"] body #analysisReportScreen #analysisReportPrepPane .reguprep-plan-actions button.danger{background:#604348!important;border-color:#c89ca1!important;color:#ffe6e7!important;}
}
