/* THRS Executive Dashboard — Reference Match V2 | 2026-10-17
   Premium navy/gold dark-mode interpretation of approved visual mockup.
   Pure CSS: original React tree, navigation, data, permissions, chart data, and actions unchanged.
   Decorative pseudo-elements are pointer-events:none. Reduced-motion and responsive supported.
*/
:is(html[data-theme="dark"],html.dark,body.dark-mode) {
  --thrs-ref-gold: #f0cd7f;
  --thrs-ref-ink: #f4f8ff;
  --thrs-ref-secondary: #c3d3e6;
  --thrs-ref-line: rgba(195,218,246,.19);
  --thrs-ref-gold-line: rgba(229,185,93,.35);
  --thrs-ref-sheet: #0c2742;
  --thrs-ref-panel: #102d4d;
  --thrs-ref-elev: 0 16px 42px rgba(0,6,19,.29),inset 0 1px 0 rgba(246,250,255,.055);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 {
  --v6-ink: #f4f8ff;
  --v6-muted: #bccde2;
  --v7-ink: #f4f8ff;
  --v7-muted: #c2d1e4;
  --v6-gold: #e7bb6e;
  --v7-gold: #e7bb6e;
  --v7-gold-hi: #f2d48c;
  --v6-gold-hi: #f2d48c;
  --v7-line: var(--thrs-ref-line);
  color:var(--thrs-ref-ink);
  background:
    radial-gradient(ellipse at 79% 1%, rgba(201,147,54,.12),transparent 34%),
    radial-gradient(ellipse at 5% 47%,rgba(28,87,142,.13),transparent 33%),
    linear-gradient(180deg,#071729 0%,#061629 48%,#051426 100%) !important;
}
/* Header + navigation: brand glow, gold selected page, bottom etched wave. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-header {
  background:linear-gradient(96deg,rgba(6,22,43,.98),rgba(12,29,52,.97))!important;
  border-bottom-color:rgba(229,181,89,.26)!important;
  box-shadow:0 6px 30px rgba(0,7,22,.31),inset 0 -1px 0 rgba(247,212,143,.07)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-sidebar {
  background:radial-gradient(ellipse at 12% 77%,rgba(27,87,149,.14),transparent 38%),linear-gradient(180deg,#091d37,#07172d 65%,#05142a)!important;
  border-color:rgba(200,165,96,.28)!important;
  box-shadow:15px 0 35px rgba(1,10,25,.18)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-sidebar::after {
  content:"";position:absolute;inset-inline:0;bottom:2%;height:39%;
  background:repeating-radial-gradient(ellipse 180px 130px at 4% 92%,transparent 0 18px,rgba(232,181,87,.22) 19px 19.6px,transparent 20px 28px);
  opacity:.33;mask-image:linear-gradient(180deg,transparent,black 60%,black);pointer-events:none;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-sidebar :is(.thrs-sidebar-scroll-area,.thrs-sidebar-footer) { position:relative;z-index:1; }
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-sidebar-link { color:#dbe7f4!important; }
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-sidebar-section-label { color:#b7cce5!important; }
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-sidebar-link.sidebar-active-link {
  color:#fff4d9!important;
  background:linear-gradient(95deg,rgba(215,169,77,.23),rgba(47,90,139,.20))!important;
  border:1px solid rgba(244,199,104,.72)!important;
  box-shadow:0 0 0 1px rgba(240,196,104,.1),inset 0 1px 0 rgba(255,239,201,.2),0 0 21px rgba(233,181,80,.19)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-sidebar-link:hover:not(.sidebar-active-link) {
  background:rgba(72,125,175,.18)!important;border-color:rgba(194,217,238,.16)!important;
}
/* Hero: glass + abstract skyline, drawn with gradients; no externally loaded images. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__page-header {
  position:relative;isolation:isolate;
  background:linear-gradient(100deg,rgba(13,42,72,.72),rgba(10,31,56,.28) 66%,rgba(17,48,78,.40));
  border:1px solid rgba(206,173,104,.14);border-radius:18px;
  box-shadow:inset 0 1px 0 rgba(255,250,223,.075),0 15px 38px rgba(0,7,20,.1);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__page-header::before {
  content:"";position:absolute;inset-block:0;inset-inline-end:1%;width:35%;
  background:
    linear-gradient(146deg,transparent 47%,rgba(243,194,102,.38) 47.3%,transparent 48%),
    repeating-linear-gradient(90deg,transparent 0 29px,rgba(170,201,237,.10) 30px 31px,transparent 32px 53px),
    repeating-linear-gradient(0deg,transparent 0 27px,rgba(179,207,237,.08) 28px 29px,transparent 30px 58px),
    radial-gradient(ellipse at 64% 33%,rgba(226,175,89,.14),transparent 61%);
  mask-image:linear-gradient(90deg,transparent 0%,black 36%,black 100%);
  opacity:.76;pointer-events:none;border-radius:inherit;z-index:0;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__page-header > * {position:relative;z-index:1}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__page-heading h1 {
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(32px,3.05vw,51px);
  letter-spacing:-.027em;line-height:1.12;text-shadow:0 6px 29px rgba(0,14,34,.35);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__date {
  color:#f3ce83!important;letter-spacing:.13em;text-transform:uppercase;font-weight:850;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__page-heading > p:last-child {color:#bcd0e6!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__customize {
  border-color:rgba(243,203,123,.50)!important;
  color:#f8e3b3!important;background:linear-gradient(115deg,rgba(26,62,102,.94),rgba(10,35,63,.97))!important;
  box-shadow:0 5px 17px rgba(0,7,21,.26),inset 0 1px 0 rgba(247,237,206,.1)!important;
}
/* Top controls and absence alert — richer active gold and danger red. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-1-datebar {
  background:linear-gradient(95deg,#112c4b,#0c2440)!important;
  border:1px solid rgba(153,196,234,.25)!important;
  box-shadow:inset 0 1px 0 rgba(232,245,255,.07),0 10px 28px rgba(0,8,24,.16)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-1-datebar :is(button,label) {
  border-color:rgba(146,188,229,.23);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-1-presets button.is-active {
  color:#241c12!important;background:linear-gradient(180deg,#f9e0a1,#deb467)!important;
  border-color:#f6d78e!important;box-shadow:0 3px 12px rgba(234,184,80,.25);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-1-no-data {
  background:linear-gradient(100deg,rgba(101,28,51,.64),rgba(56,28,51,.67),rgba(33,37,62,.85))!important;
  border:1px solid rgba(241,96,105,.53)!important;
  box-shadow:inset 0 1px 0 rgba(255,219,219,.08),0 10px 30px rgba(38,0,23,.12)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-1-no-data span {color:#ff9b9c!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-1-no-data strong {color:#fff7f7!important;}
/* Briefing actions; selected pill is distinctly champagne gold. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-briefing {
  border-color:rgba(192,216,240,.14);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-briefing-copy > span {color:#f0cf87!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-briefing-copy > small {color:#c4d4e6!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-focus-nav {
  background:rgba(26,50,76,.94)!important;border:1px solid rgba(163,197,229,.18)!important;
  box-shadow:inset 0 1px 0 rgba(244,251,255,.055);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-focus-nav button.is-active {
  color:#241f19!important;background:linear-gradient(180deg,#f7dfa8,#dfb66d)!important;
  box-shadow:0 0 17px rgba(240,189,93,.25);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-command-button {
  color:#f4f8ff!important;background:linear-gradient(130deg,#18466d,#0c2848)!important;
  border:1px solid rgba(115,170,229,.58)!important;
  box-shadow:0 6px 18px rgba(0,13,31,.19)!important;
}
/* Command center: electric sapphire, luminous gold lower edge and differentiated attention. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-command-deck {
  border-radius:17px!important;
  border:1px solid rgba(229,184,95,.53)!important;
  background:linear-gradient(115deg,#0a3158,#081e3c)!important;
  box-shadow:0 0 0 1px rgba(219,174,87,.13),0 0 25px rgba(229,180,88,.12),0 24px 47px rgba(0,7,25,.26)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-command-main {
  background:
    radial-gradient(ellipse at 85% 10%,rgba(109,75,168,.20),transparent 51%),
    radial-gradient(ellipse at 0% 0%,rgba(4,117,209,.25),transparent 38%),
    linear-gradient(115deg,#0b3764 0%,#082d56 60%,#091f40 100%)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v3-eyebrow {
  color:#f4dcaa!important;background:rgba(26,109,171,.36)!important;
  border:1px solid rgba(128,207,255,.3);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v3-attention {
  background:radial-gradient(ellipse at 100% 0%,rgba(227,170,101,.16),transparent 44%),linear-gradient(135deg,#102b4c,#061a34)!important;
  border-inline-start:1px solid rgba(232,190,103,.21)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v3-attention > a {
  color:#f2f7ff!important;background:linear-gradient(115deg,#184771,#103355)!important;
  border:1px solid rgba(140,188,228,.34);
}
/* Reference concept shows FIVE independently framed KPI tiles. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-deck {
  grid-template-columns:minmax(220px,1.14fr) minmax(0,3.86fr)!important;
  gap:10px!important;border:0!important;background:transparent!important;
  box-shadow:none!important;overflow:visible!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-critical-signal {
  background:linear-gradient(130deg,rgba(93,28,49,.89),rgba(36,30,58,.91))!important;
  border:1px solid rgba(238,93,114,.48)!important;
  border-radius:15px!important;
  box-shadow:var(--thrs-ref-elev)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-critical-value strong {color:#ff8796!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-critical-topline small {color:#ffaab4!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-rail { gap:10px!important; }
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card {
  background:linear-gradient(148deg,#102e50,#081d39)!important;
  border:1px solid rgba(131,176,219,.28)!important;
  border-radius:15px!important;
  box-shadow:0 10px 26px rgba(0,8,23,.22),inset 0 1px 0 rgba(241,250,255,.04)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card + .thrs-main-dashboard__stat-card {
  border-inline-start:1px solid rgba(131,176,219,.28)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__stat-card--present {
  background:linear-gradient(145deg,#0b3541,#0a2440)!important;border-color:rgba(65,184,159,.38)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__stat-card--late {
  background:linear-gradient(145deg,#302e43,#0d233f)!important;border-color:rgba(215,172,73,.39)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__stat-card--hires {
  background:linear-gradient(145deg,#262a54,#10213f)!important;border-color:rgba(159,135,233,.39)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__stat-card--turnover {
  background:linear-gradient(145deg,#103552,#0e2140)!important;border-color:rgba(98,167,236,.39)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card .thrs-main-dashboard__stat-title,
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card .thrs-main-dashboard__stat-subtitle {color:#c7d7e9!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card .thrs-main-dashboard__stat-value strong {color:#fbfdff!important;}
/* Analytics frame: double layer and refined navy graph interior. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-intelligence {
  background:linear-gradient(136deg,#0c2a4a,#0b2140)!important;
  border:1px solid rgba(233,183,89,.48)!important;border-radius:18px!important;
  box-shadow:0 0 17px rgba(235,185,90,.065),var(--thrs-ref-elev)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-section-intro {
  border-bottom:1px solid rgba(166,200,233,.20)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-intelligence-canvas > .thrs-main-dashboard__panel {
  background:linear-gradient(145deg,rgba(11,38,68,.67),rgba(8,28,54,.52))!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-section-intro h2 {color:#fbfdff!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v7-range-switch button.is-active {
  color:#ffe4aa!important;border:1px solid rgba(232,192,106,.62)!important;
  background:rgba(209,168,86,.13)!important;box-shadow:0 0 12px rgba(222,184,105,.14);
}
/* Decision queue: raised summary tiles + inset actions + gold engraved detail. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-decision-console {
  position:relative;isolation:isolate;
  background:radial-gradient(ellipse at 94% 5%,rgba(205,166,84,.18),transparent 38%),linear-gradient(132deg,#0e3053,#092344 68%,#081e3b)!important;
  border:1px solid rgba(229,184,95,.51)!important;border-radius:18px!important;
  box-shadow:var(--thrs-ref-elev),inset 0 1px 0 rgba(245,222,156,.13)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-decision-console::before {
  content:"";position:absolute;top:0;inset-inline-end:0;width:32%;height:30%;
  background:repeating-radial-gradient(ellipse 190px 70px at 100% 0%,transparent 0 8px,rgba(247,193,92,.24) 8.5px 9px,transparent 10px 17px);
  mask-image:linear-gradient(90deg,transparent,black);pointer-events:none;opacity:.72;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-decision-summary > div {
  background:linear-gradient(135deg,rgba(23,59,98,.72),rgba(11,34,66,.58));
  border:1px solid rgba(147,189,230,.22);border-radius:9px;
  box-shadow:inset 0 1px 0 rgba(238,248,255,.055);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-decision-summary > div + div {
  border-inline-start:1px solid rgba(147,189,230,.22);
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-decision-summary small {color:#c9d8e9!important;}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-decision-console :is(
  .thrs-main-dashboard__approval-item,.thrs-main-dashboard__quick-action
) {
  background:linear-gradient(135deg,rgba(32,76,121,.69),rgba(19,50,87,.69))!important;
  border:1px solid rgba(162,205,244,.21)!important;
  box-shadow:inset 0 1px 0 rgba(253,255,255,.055)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-decision-console :is(
  .thrs-main-dashboard__approval-item,.thrs-main-dashboard__quick-action
):hover {border-color:rgba(230,190,105,.55)!important;box-shadow:0 5px 14px rgba(2,11,25,.24)!important;}
/* Business Pulse: layered panels and royal-blue empty-state cards. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-business-pulse {
  position:relative;isolation:isolate;
  background:linear-gradient(141deg,#0b2948,#081f3b)!important;
  border:1px solid rgba(229,184,95,.54)!important;border-radius:18px!important;
  box-shadow:var(--thrs-ref-elev)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-business-grid > .thrs-main-dashboard__integration-widget {
  background:linear-gradient(145deg,rgba(16,50,87,.55),rgba(10,32,63,.62))!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-business-grid .thrs-integration-widget__badge {
  color:#ffe2a0!important;background:rgba(213,166,67,.14)!important;
  border-color:rgba(229,184,95,.46)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard .thrs-integration-widget__unavailable {
  color:#f4f8ff!important;
  background:linear-gradient(140deg,#193b61,#102d50)!important;
  border:1px solid rgba(131,177,221,.25)!important;border-radius:13px!important;
  box-shadow:inset 0 1px 0 rgba(238,246,255,.045)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard .thrs-integration-widget__unavailable button {
  color:#f5faff!important;background:linear-gradient(155deg,#206eaf,#175488)!important;
  border:1px solid rgba(151,211,255,.39)!important;
  box-shadow:0 7px 15px rgba(1,17,38,.24)!important;
}
/* Focus visible and microinteraction; no hover-only semantics. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard :is(
  button,a,input,select,[role="button"],[role="tab"]
):focus-visible {outline:2px solid #f5d58d!important;outline-offset:3px;}
@media (hover:hover) and (pointer:fine) {
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard :is(
    .thrs-main-dashboard__v6-command-deck,.thrs-main-dashboard__v6-intelligence,
    .thrs-main-dashboard__v6-business-pulse,.thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card
  ):hover {box-shadow:0 16px 48px rgba(0,8,24,.28),0 0 21px rgba(230,178,88,.12)!important;}
}
@media (max-width:1080px) {
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-deck {grid-template-columns:1fr!important;}
}
@media (max-width:760px) {
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__page-header::before {opacity:.25;}
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-rail {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:520px) {
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard__v6-signal-rail {grid-template-columns:1fr!important;}
}
@media (prefers-reduced-motion:reduce) {
  :is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard :is(
    .thrs-main-dashboard__v6-command-deck,.thrs-main-dashboard__v6-intelligence,.thrs-main-dashboard__v6-business-pulse,
    .thrs-main-dashboard__v6-decision-console,.thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card
  ) {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 :is(button,a,input,select):focus-visible {outline:2px solid Highlight!important;}
}


/* V2 cascade precision: independent KPI visual cards against legacy !important rules. */
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-signal-deck {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-critical-signal {
  background:linear-gradient(130deg,rgba(93,28,49,.89),rgba(36,30,58,.91))!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card--present {
  background:linear-gradient(145deg,#0b3541,#0a2440)!important;
  border-color:rgba(65,184,159,.38)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card--late {
  background:linear-gradient(145deg,#302e43,#0d233f)!important;
  border-color:rgba(215,172,73,.39)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card--hires {
  background:linear-gradient(145deg,#262a54,#10213f)!important;
  border-color:rgba(159,135,233,.39)!important;
}
:is(html[data-theme="dark"],html.dark,body.dark-mode) .thrs-shell .thrs-main-dashboard--v7 .thrs-main-dashboard__v6-signal-rail .thrs-main-dashboard__stat-card--turnover {
  background:linear-gradient(145deg,#103552,#0e2140)!important;
  border-color:rgba(98,167,236,.39)!important;
}
