/* THRS Dashboard V6 — Chart Readability & Micro-Details
   Active Dark Mode only; source typography and interaction unchanged.
   Chart.js Canvas labels require a separate verified React rebuild.
   No fabricated chart values, source states or empty-state data. */

/* Command center: explanatory content must be readable beside the large KPIs. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-command-topline :is(small,span) {
  color:#d6e7f7;
  font-size:11.5px;
  line-height:1.48;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-eyebrow {
  color:#f5daa0!important;
  font-size:11.5px!important;
  font-weight:770!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-health {
  color:#ebdfec!important;
  font-size:11px!important;
  font-weight:720;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-primary-kpi small {
  color:#ffe2a2!important;
  font-size:12px!important;
  letter-spacing:.015em;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-primary-kpi div > span {
  color:#e3eefb!important;
  font-size:12px!important;
  line-height:1.45;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-attention-head small {
  color:#f2d28c!important;
  font-size:11px!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-attention > p {
  color:#d0e1f2!important;
  font-size:12px!important;
  line-height:1.65;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-attention > a {
  color:#f7faff!important;
  font-size:12px!important;
  font-weight:740!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v7-briefing-copy > small {
  color:#ccdef2!important;
  font-size:12px!important;
  line-height:1.6;
}

/* Workforce analytics legends outside Canvas and clear chart-zone controls. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-intelligence .thrs-main-dashboard__panel-header h2 {
  color:#f6faff!important;
  font-size:14.25px!important;
  font-weight:780!important;
  line-height:1.42;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-intelligence-facts span {
  color:#d4e4f4!important;
  font-size:11.5px!important;
  line-height:1.45;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v3-workforce-summary small {
  color:#cee0f1!important;
  font-size:11.5px!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__department-name span {
  color:#e6f0fc!important;
  font-size:11.7px!important;
  font-weight:730!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__department-row :is(strong,small) {
  color:#deebf9!important;
  font-size:11.25px!important;
  font-variant-numeric:tabular-nums;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v7-range-switch button {
  color:#d9e8f8!important;
  font-size:11.25px!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v7-range-switch button.is-active {
  color:#ffe5aa!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__chart-wrap canvas {
  filter:brightness(1.12) contrast(1.07) saturate(1.13);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__department-chart canvas {
  filter:brightness(1.11) contrast(1.05) saturate(1.12);
}

/* Decision Queue: controls and secondary action labels, not just section titles. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-decision-heading p {
  color:#cadcf0!important;
  font-size:12px!important;
  line-height:1.55;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v7-decision-tools button {
  color:#edf5ff!important;
  font-size:12px!important;
  font-weight:730!important;
  border-color:rgba(167,208,250,.32)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-decision-summary small {
  color:#d1e1f2!important;
  font-size:10.75px!important;
  letter-spacing:.01em;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__approval-copy strong,
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__quick-copy strong {
  color:#f5f9ff!important;
  font-size:12px!important;
  font-weight:790!important;
  line-height:1.4;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__approval-copy small,
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__quick-copy small {
  color:#d0e0f1!important;
  font-size:11.2px!important;
  line-height:1.5;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__approval-item,
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__quick-action {
  border-color:rgba(157,197,235,.25)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__approval-item:is(:hover,:focus-visible),
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__quick-action:is(:hover,:focus-visible) {
  border-color:rgba(240,196,107,.63)!important;
  background:rgba(65,125,178,.26)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__approval-item:focus-visible,
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__quick-action:focus-visible,
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v7-decision-tools button:focus-visible {
  outline:2px solid #f3d793!important;
  outline-offset:2px;
}
@media(max-width:760px) {
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v7-decision-tools button {
    font-size:11px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 :is(
    .thrs-main-dashboard__approval-item,.thrs-main-dashboard__quick-action,
    .thrs-main-dashboard__v7-decision-tools button
  ) {animation:none!important;transition:none!important;}
}
@media(forced-colors:active) {
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 :is(button,a):focus-visible {outline:2px solid Highlight!important;}
}
