/* Dashboard colour system: dark section headings, light data surfaces. */
#qualityPulseDashboard{--cat-dash-ink:#243752;--cat-dash-muted:#60708a;--cat-dash-line:#dce2ee;--cat-dash-gradient:linear-gradient(108deg,#833775,#513477 46%,#193b78);color:var(--cat-dash-ink)}
#qualityPulseDashboard :is(.pulse-hero,.pulse-title-bar,.pulse-card-head,.v50-card-head,.v142-team>h3,.v78-kpi-card-head,.v95-sixmonth-title){background:var(--cat-dash-gradient)!important;color:#fff!important;border-color:#6f568544!important;box-shadow:0 4px 12px #2d285515!important}
#qualityPulseDashboard :is(.pulse-hero h2,.pulse-eyebrow,.pulse-title-bar strong,.pulse-card-head strong,.v78-kpi-name-link){color:#fff!important;-webkit-text-fill-color:#fff!important}
#qualityPulseDashboard :is(.pulse-hero p,.pulse-title-bar small,.pulse-card-head span,.v78-kpi-card-head>span){color:#eee7f6!important;-webkit-text-fill-color:#eee7f6!important}
#qualityPulseDashboard .pulse-title-bar::before{background:#e7aed1!important}
#qualityPulseDashboard .v59-context-card{background:#ffffffee!important;border:1px solid #ffffff85!important;border-left:3px solid #c59ad7!important;box-shadow:none!important;border-radius:10px!important}
#qualityPulseDashboard .v59-context-card :is(strong,small,em){color:#344360!important;-webkit-text-fill-color:#344360!important}
#qualityPulseDashboard .v59-context-card small{color:#6b5682!important}
#qualityPulseDashboard :is(.pulse-matrix-card,.v49-table-card,.pulse-analysis-card,.v78-kpi-compare-card,.v142-team){background:#fff!important;border-color:var(--cat-dash-line)!important;box-shadow:0 4px 16px #26375008!important}
#qualityPulseDashboard :is(.v78-kpi-links,.qa-po-scope-note,.pulse-guide,.v142-guide){background:#f5f6fb!important;color:#52627a!important;border-color:var(--cat-dash-line)!important}
#qualityPulseDashboard .v78-kpi-source.qa{background:linear-gradient(115deg,#edf4fc,#e6eef9)!important;color:#274d72!important;border-right:3px solid #6a93b7!important}
#qualityPulseDashboard .v78-kpi-source.sbi{background:linear-gradient(115deg,#f4edf9,#eee6f5)!important;color:#684184!important;border-right:3px solid #ad83c3!important}
#qualityPulseDashboard .v78-kpi-source :is(span,small){color:inherit!important;-webkit-text-fill-color:currentColor!important}
#qualityPulseDashboard .v78-kpi-target{background:#f8f5fc!important;color:#53627d!important}
#qualityPulseDashboard .v78-kpi-target strong{color:#6c428f!important}
#qualityPulseDashboard .v79-type-cell{background:#fff!important;border-color:var(--cat-dash-line)!important}
#qualityPulseDashboard .v79-type-cell :is(span,small){color:#62738c!important}
#qualityPulseDashboard .v79-type-cell.v79-empty strong{color:#758197!important}
#qualityPulseDashboard table thead th{background:#edf0f8!important;color:#304866!important;-webkit-text-fill-color:#304866!important;border-color:#d5deeb!important}
#qualityPulseDashboard table thead tr:nth-child(2) th{background:#f4f5fa!important}
#qualityPulseDashboard table thead :is(th.current-week,th.v51-current-col){background:#57407e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-bottom:3px solid #d8abd1!important}
#qualityPulseDashboard table thead th.current-week small{color:#f2e9fa!important}
#qualityPulseDashboard table tfoot :is(th,td),#qualityPulseDashboard .v142-total :is(th,td){background:#eae6f4!important;color:#354468!important;-webkit-text-fill-color:#354468!important;border-color:#d8cfe6!important}
#qualityPulseDashboard table :is(td,th){border-color:#dce3ee}
#qualityPulseDashboard .v142-team tbody tr:nth-child(even){background:#f8f9fc!important}
#qualityPulseDashboard .v142-team tbody th{background:#f5f6fb!important;color:#354767!important}
#qualityPulseDashboard :is(.pulse-filters,.pulse-filter-panel){background:#f7f5fb!important;border-color:#ded7eb!important}
#qualityPulseDashboard :is(details>summary){background:linear-gradient(100deg,#f4edf9,#edf1fa)!important;color:#3d4267!important;border-color:#dcd6e9!important}
#qualityPulseDashboard :is(details>summary small,details>summary span){color:inherit!important}
#qualityPulseDashboard #dashboardWeeklyKra.wk-shell>.wk-header{background:var(--cat-dash-gradient)!important}
#qualityPulseDashboard #dashboardWeeklyKra .wk-top{background:#f3edf8;color:#4c3d6c}
#qualityPulseDashboard #dashboardWeeklyKra .wk-table thead th{background:#edf0f8!important;color:#304866!important;-webkit-text-fill-color:#304866!important}
#qualityPulseDashboard #dashboardWeeklyKra .wk-table thead th small{color:#5d6d83!important}
#qualityPulseDashboard :is(button,a):focus-visible{outline:2px solid #9361b4;outline-offset:3px}
@media print{#qualityPulseDashboard :is(.pulse-hero,.pulse-title-bar,.pulse-card-head,.v50-card-head,.v142-team>h3,.v78-kpi-card-head,.v95-sixmonth-title){background:#eef0f6!important;color:#20344f!important;box-shadow:none!important}#qualityPulseDashboard :is(.pulse-hero h2,.pulse-eyebrow,.pulse-title-bar strong,.pulse-title-bar small,.pulse-card-head strong,.pulse-card-head span,.v78-kpi-name-link,.v78-kpi-card-head>span,.pulse-hero p){color:#20344f!important;-webkit-text-fill-color:#20344f!important}}

#qualityPulseDashboard .v95-sixmonth-title :is(span,strong,small){color:#fff!important;-webkit-text-fill-color:#fff!important}
@media print{#qualityPulseDashboard .v95-sixmonth-title :is(span,strong,small){color:#20344f!important;-webkit-text-fill-color:#20344f!important}}

/* Restrained management dashboard: readable headers and quiet data surfaces. */
#qualityPulseDashboard{--cat-dash-gradient:linear-gradient(110deg,#243b64,#344476 68%,#51436f);background:#f4f6fa;color:#23354d}
#qualityPulseDashboard :is(.pulse-title-bar,.pulse-card-head,.v50-card-head,.v142-team>h3,.v78-kpi-card-head,.v95-sixmonth-title){box-shadow:none!important;border-radius:8px 8px 0 0!important}
#qualityPulseDashboard :is(.pulse-title-bar,.pulse-card-head,.v50-card-head,.v142-team>h3,.v78-kpi-card-head,.v95-sixmonth-title) :is(a,button,span,strong,small,h2,h3){color:#fff!important;-webkit-text-fill-color:#fff!important}
#qualityPulseDashboard table thead th,
#qualityPulseDashboard #dashboardWeeklyKra .wk-table thead th{background:#243b5b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#526580!important;font-weight:700;line-height:1.4}
#qualityPulseDashboard table thead tr:nth-child(2) th{background:#e9eef6!important;color:#263e5d!important;-webkit-text-fill-color:#263e5d!important;border-color:#ccd6e4!important}
#qualityPulseDashboard table thead th :is(a,button,span,strong,small){color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
#qualityPulseDashboard table thead :is(th.current-week,th.v51-current-col){background:#235b76!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-bottom:3px solid #b69a64!important}
#qualityPulseDashboard table thead th.current-week small{color:#fff!important;-webkit-text-fill-color:#fff!important}
#qualityPulseDashboard #dashboardWeeklyKra .wk-table thead th small{color:#fff!important;-webkit-text-fill-color:#fff!important}
#qualityPulseDashboard :is(.pulse-matrix,.v95-sixmonth-compare table) tbody tr>:first-child{background:#edf2f8!important;color:#273f5e!important;-webkit-text-fill-color:#273f5e!important;font-weight:700;border-color:#d3dce8!important}
#qualityPulseDashboard :is(.pulse-matrix,.v95-sixmonth-compare table) tbody tr>:first-child :is(a,button,span,strong,small){color:inherit!important;-webkit-text-fill-color:currentColor!important}
#qualityPulseDashboard table tfoot :is(th,td),#qualityPulseDashboard .v142-total :is(th,td){background:#e8eef5!important;color:#263e5b!important;-webkit-text-fill-color:#263e5b!important;border-color:#ccd7e4!important}
#qualityPulseDashboard :is(.pulse-guide,.v142-guide,.v78-kpi-links,.qa-po-scope-note){color:#44556d!important;-webkit-text-fill-color:#44556d!important;line-height:1.5}
#qualityPulseDashboard :is(input,select){background:#fff;color:#243751;border-color:#cbd5e2}
@media print{#qualityPulseDashboard table thead th,#qualityPulseDashboard table thead tr:nth-child(2) th,#qualityPulseDashboard #dashboardWeeklyKra .wk-table thead th{background:#e8edf4!important;color:#20344f!important;-webkit-text-fill-color:#20344f!important}}

/* Resolve legacy view-level table rules as a matched foreground/background pair. */
html body #view-dashboard #qualityPulseDashboard table thead th{
 background:#243b5b!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;border-color:#526580!important;
}
html body #view-dashboard #qualityPulseDashboard table thead tr:nth-child(2) th{
 background:#e9eef6!important;color:#263e5d!important;-webkit-text-fill-color:#263e5d!important;border-color:#ccd6e4!important;
}
html body #view-dashboard #qualityPulseDashboard table thead th :is(a,button,span,strong,small){color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
html body #view-dashboard #qualityPulseDashboard table thead th.v95-sub-qa{
 background:#12678e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#8a79a0!important;
}
html body #view-dashboard #qualityPulseDashboard table thead th.v95-sub-sbi{
 background:#665184!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#4a8cab!important;
}
html body #view-dashboard #qualityPulseDashboard table thead :is(th.current-week,th.v51-current-col,th.v95-week-group.current){background:#235b76!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-bottom:3px solid #b69a64!important}
html body #view-dashboard #qualityPulseDashboard .v135-target-review thead th{background:#243b5b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:12px!important;line-height:1.5!important}
@media print{html body #view-dashboard #qualityPulseDashboard table thead th,html body #view-dashboard #qualityPulseDashboard .v135-target-review thead th{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Total rows: override legacy white text and inherited text-fill together. */
html body #view-dashboard #qualityPulseDashboard table tfoot :is(th,td),
html body #view-dashboard #qualityPulseDashboard table :is(.v51-total-row,.v142-total,.total-row,.grand-total,.v95-total-row)>:is(th,td){
 background:#e4edf7!important;background-image:none!important;color:#173651!important;-webkit-text-fill-color:#173651!important;opacity:1!important;font-weight:800!important;border-color:#bccddd!important;border-top:2px solid #6c88a6!important;
}
html body #view-dashboard #qualityPulseDashboard table tfoot :is(th,td) *,
html body #view-dashboard #qualityPulseDashboard table :is(.v51-total-row,.v142-total,.total-row,.grand-total,.v95-total-row)>:is(th,td) *{
 color:#173651!important;-webkit-text-fill-color:#173651!important;opacity:1!important;
}

/* Paired organisation cells override the second-header-row palette. */
html body #view-dashboard #qualityPulseDashboard table thead tr:nth-child(2) th.v95-sub-qa{background:#12678e!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#528eaa!important}
html body #view-dashboard #qualityPulseDashboard table thead tr:nth-child(2) th.v95-sub-sbi{background:#665184!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#9685ae!important}
