/* Portal theme overrides use the same scope; chart tokens stay consistent in both modes. */
/* Scoped chart surfaces; matches the portal rather than using a third-party theme. */
.pc-workspace{--pc-blue:#0782c1;--pc-green:#128566;--pc-purple:#7961c7;--pc-amber:#b57913;--pc-cyan:#178f9a;--pc-slate:#7b8594;--pc-bg:#fff;--pc-text:#192d3b;--pc-muted:#586676;--pc-line:#e2e7eb;--pc-track:#edf1f4;color:var(--pc-text);margin:22px 0;min-width:0;font:inherit}
html[data-dp-theme=dark] .pc-workspace{--pc-blue:#52b8ef;--pc-green:#4fd2a3;--pc-purple:#b09aed;--pc-amber:#efbe5d;--pc-cyan:#61cad1;--pc-slate:#929cab;--pc-bg:#181a1b;--pc-text:#edf0f3;--pc-muted:#b4bec7;--pc-line:#2c3033;--pc-track:#252a2e}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace *{box-sizing:border-box}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-heading h3{margin:0!important;font-size:17px!important;font-weight:650!important;color:var(--pc-text)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-updated{margin:0!important;font-size:12px!important;color:var(--pc-muted)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace.pc-stale .pc-updated{color:var(--pc-amber)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-chart-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;min-width:0}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-card{position:relative;min-width:0;padding:18px!important;border:1px solid var(--pc-line)!important;background:var(--pc-bg)!important;color:var(--pc-text)!important;border-radius:14px;box-shadow:0 2px 5px #00000004;align-self:start}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-trend{grid-column:span 8}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-mix{grid-column:span 4}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-agents{grid-column:1/-1}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-status{grid-column:span 5}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-queue{grid-column:span 7}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-card h4{margin:0!important;padding:0!important;font-size:14px!important;line-height:1.4;font-weight:650;color:var(--pc-text)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace :is(.pc-description,.pc-note){color:var(--pc-muted)!important;font-size:12px!important;line-height:1.5;margin:5px 0 12px!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-note:empty{display:none}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-note{margin:12px 0 0!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-select-label{display:block!important;margin:0!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) #performanceDashboardCharts select{width:auto!important;max-width:100%!important;min-height:34px!important;height:auto!important;padding:5px 9px!important;margin:0!important;font:inherit;font-size:12px!important;color:var(--pc-text)!important;background:var(--pc-bg)!important;border:1px solid var(--pc-line)!important;border-radius:7px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-plot{min-width:0;position:relative}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-line{display:block;width:100%!important;height:auto!important;min-height:190px;max-height:270px;overflow:visible}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-ring{display:block;width:100%!important;max-width:245px!important;height:210px!important;margin:0 auto;overflow:visible}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-ring-track{stroke:var(--pc-track)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-gridline{stroke:var(--pc-line)!important;stroke-width:1;stroke-dasharray:3 4}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-axis{fill:var(--pc-muted)!important;stroke:none!important;font-size:11px;font-family:inherit}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-ring-total{fill:var(--pc-text)!important;stroke:none!important;font-size:30px;font-weight:650;font-family:inherit}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-legend{list-style:none!important;margin:8px 0 0!important;padding:0!important;display:flex;flex-wrap:wrap;gap:8px 16px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-legend li{display:flex;align-items:center;gap:6px;color:var(--pc-muted)!important;font-size:12px!important;line-height:1.4}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-legend strong{color:var(--pc-text)!important;font-size:12px!important;font-variant-numeric:tabular-nums}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-swatch{width:9px;height:9px;border-radius:3px;background:var(--pc-series);flex:0 0 9px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-bars{max-height:312px;overflow-y:auto;padding:2px 2px 2px 0;scrollbar-width:thin}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-bar-row{display:grid;grid-template-columns:minmax(95px,190px) minmax(40px,1fr) 85px;align-items:center;gap:12px;min-height:37px;font-size:13px;border-radius:4px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-bar-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--pc-text)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-bar-track{height:10px;display:flex;align-items:stretch;background:var(--pc-track);border-radius:6px;overflow:hidden}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-bar-piece{height:100%;display:block;flex:0 0 auto}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-bar-number{text-align:right;font-size:12px!important;color:var(--pc-text)!important;font-variant-numeric:tabular-nums}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-empty{display:flex;align-items:center;justify-content:center;text-align:center;min-height:180px;border:1px dashed var(--pc-line);border-radius:10px;padding:24px!important;color:var(--pc-muted)!important;margin:0!important;font-size:13px!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-data{margin:14px 0 0;border-top:1px solid var(--pc-line);padding-top:10px;max-width:100%;overflow-x:auto}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-data summary{cursor:pointer;font-size:12px!important;color:var(--pc-muted)!important;display:list-item!important;min-height:24px;list-style:disclosure-closed inside!important;background:transparent!important;padding:0!important;white-space:normal}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-data[open] summary{list-style-type:disclosure-open!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-data table{border-collapse:collapse;width:100%;margin:10px 0;font-size:12px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-data :is(th,td){padding:7px 9px!important;border-bottom:1px solid var(--pc-line)!important;color:var(--pc-text)!important;text-align:right;white-space:nowrap;background:var(--pc-bg)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace .pc-data :is(th,td):first-child{text-align:left}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-data caption{text-align:left;color:var(--pc-muted);font-size:12px;padding:6px 0}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) :is(#performanceDashboardCharts,#performanceFloorCharts) .pc-download{min-height:34px!important;padding:6px 10px!important;width:auto!important;border:1px solid var(--pc-line)!important;background:var(--pc-bg)!important;color:var(--pc-text)!important;font-size:12px!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-tooltip{position:absolute;left:12px;right:12px;bottom:12px;border-radius:8px;background:var(--pc-text);color:var(--pc-bg);padding:8px 10px;box-shadow:0 2px 10px #0002;font-size:12px;line-height:1.5;pointer-events:none;z-index:3}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace [hidden]{display:none!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace :focus-visible{outline:2px solid var(--pc-blue);outline-offset:3px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1080px){html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-trend{grid-column:1/-1}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-mix{grid-column:span 5}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-agents{grid-column:span 7}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-bar-row{grid-template-columns:minmax(75px,115px) minmax(30px,1fr) 80px;gap:8px}}
@media(max-width:680px){html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-chart-grid{grid-template-columns:minmax(0,1fr);gap:12px}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-chart-grid>.pc-card{grid-column:1/-1!important;padding:14px!important}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-line{min-height:150px}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-heading{gap:5px}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-card-head{gap:10px}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-workspace{margin:18px 0}html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-bar-row{grid-template-columns:minmax(80px,110px) minmax(40px,1fr) 80px}}

@media(max-width:680px){html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) #performanceDashboardCharts select{min-height:40px!important;font-size:14px!important}}

/* Dedicated performance page v4.43.3. */
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) #performanceOverview{min-width:0}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-overview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-overview-heading>div{min-width:0;flex:1 1 240px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-overview-heading h2{margin:0 0 8px!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-overview-heading p{margin:0!important;line-height:1.5}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) #performanceOverviewRefresh{flex:0 0 auto;min-height:40px;min-width:88px}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) #performanceOverviewRefresh:disabled{cursor:wait;opacity:.65}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) #performanceFloorCharts{border-top:1px solid var(--pc-line);padding-top:22px}
.pc-overview{--pc-surface:#f5f6f7;--pc-page-text:#192d3b;--pc-page-muted:#586676}
html[data-dp-theme=dark] .pc-overview{--pc-surface:#121415;--pc-page-text:#edf0f3;--pc-page-muted:#b4bec7}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) #performanceOverview{background:var(--pc-surface)!important;color:var(--pc-page-text)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-overview-heading h2{color:var(--pc-page-text)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) .pc-overview-heading p{color:var(--pc-page-muted)!important}
html[data-dp-theme][data-dp-theme] body:not(#dp-legacy-theme):not(#dp-legacy-type) #performanceOverviewRefresh{width:auto!important}
