/* UX12AJ TEST: targeted new changes only; existing shared styles stay untouched. */
@media screen{
  /* PREP-01: muted dark library switch; surrounding report text and print unchanged. */
  html[data-reguspace-theme="dark"] #analysisReportScreen .reguprep-report-switch{background:#303c49!important;border-color:#556475!important;}
  html[data-reguspace-theme="dark"] #analysisReportScreen .reguprep-report-switch button{color:#e3edf4!important;background:transparent!important;}
  html[data-reguspace-theme="dark"] #analysisReportScreen .reguprep-report-switch button.is-active{background:#50667a!important;color:#fff!important;}
  html[data-reguspace-theme="dark"] #analysisReportScreen .reguprep-report-switch button:focus-visible{outline:2px solid #b6e2fc!important;outline-offset:2px;}
  /* K-02: bounded SVG clouds; complete readable inventory below the overview visualization. */
  .qualities-module #mobileProfileWords[hidden]{display:none!important;}
  .qualities-module #mobileProfileWords:not([hidden]){display:grid!important;gap:8px;margin:10px 0 0;grid-template-columns:repeat(3,minmax(0,1fr));}
  .qualities-module .q-all-qualities-cluster{min-width:0;padding:10px 11px;border:1px solid #d8e3ea;border-radius:12px;background:#f8fbfd;color:#36566a;}
  .qualities-module .q-all-qualities-cluster>strong{display:block;margin-bottom:7px;font-size:13px;}
  .qualities-module .q-all-qualities-list{display:flex;gap:5px;flex-wrap:wrap;min-width:0;}
  .qualities-module .q-all-qualities-list .q-profile-word{min-width:0;max-width:100%;padding:4px 6px;border-radius:8px;background:white;border:1px solid #d8e3ea;color:#355467;font-size:12px;line-height:1.35;overflow-wrap:anywhere;white-space:normal;}
  .qualities-module .q-personal-cloud .q-profile-word{white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.2;min-width:0;}
  .qualities-module .q-personal-cloud .q-cloud-extra-count{font-size:12px;font-weight:800;color:#355467;}
  @media(max-width:920px){.qualities-module #mobileProfileWords:not([hidden]){grid-template-columns:1fr;}}
}
/* New qualities summary has its own dark-mode palette; no existing dark rule changed. */
@media screen{
  html[data-reguspace-theme="dark"] .qualities-module .q-all-qualities-cluster{background:#2b3946;border-color:#53697a;color:#e1e9ee;}
  html[data-reguspace-theme="dark"] .qualities-module .q-all-qualities-list .q-profile-word{background:#354655;color:#eff6fa;border-color:#5c7180;}
}
