.route-performance .performance-global-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.route-performance .performance-global-kpis>div{display:grid;gap:7px;padding:18px 20px;border:1px solid #dce4f5;border-radius:18px;background:#f7faff}
.route-performance .performance-global-kpis span,.performance-person-kpis span,.home-performance-kpis span{font-size:12px;color:#71829f}
.route-performance .performance-global-kpis strong{font-size:28px;font-variant-numeric:tabular-nums;color:#273651}
.route-performance .performance-global-kpis small{font-size:12px;line-height:1.7;color:#71829f}
.route-performance .performance-person-kpis,.home-performance-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:13px 0}
.performance-person-kpis>div,.home-performance-kpis>div{display:grid;align-content:start;gap:5px;min-width:0}
.performance-person-kpis strong,.home-performance-kpis strong{font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#263650}
.performance-person-kpis small,.home-performance-kpis small{font-size:11px;color:#7887a1;line-height:1.6}
.route-performance .performance-pay{border:1px solid #dce5f7;border-radius:16px;padding:15px;margin-top:16px;background:linear-gradient(120deg,#f5f8ff,#fbfbff)}
.route-performance .performance-pay-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.route-performance .performance-pay-heading h3{margin:0;font-size:15px}
.route-performance .performance-pay-heading>strong{font-size:21px;font-variant-numeric:tabular-nums;color:#4161bd}
.route-performance .performance-pay-commission{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding-bottom:12px;border-bottom:1px solid #e2e8f5}
.route-performance .performance-pay-kpis>div{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(65px,auto);align-items:center;gap:8px;font-size:12px;padding:10px 0;border-bottom:1px solid #e6eaf5}
.route-performance .performance-pay-kpis strong{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.route-performance .performance-pay-note{font-size:11px;color:#71809a;line-height:1.7;margin:12px 0 0}
.route-performance .performance-person .performance-daily>summary{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;line-height:1.8}
.route-performance .performance-daily>summary>span{font-size:11px;color:#77869c}
.route-performance .performance-daily-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow:auto;margin:10px 0}
.route-performance .performance-daily-list>div{display:grid;gap:5px;padding:10px;border:1px solid #e2e7f4;border-radius:12px;background:#f8faff;font-size:12px}
.route-performance .performance-daily-list strong{font-variant-numeric:tabular-nums;font-size:15px}
.route-performance .performance-daily-list small{font-size:11px;color:#71809a}
.home-performance .panel-header{gap:8px;align-items:flex-start}
.home-performance .panel-header>div{min-width:0}
.home-performance .panel-header .text-button{font-size:12px;white-space:nowrap}
.home-performance .panel-body{padding-top:0}
.home-performance .performance-progress{margin:10px 0 12px;font-size:12px}
.home-performance .performance-progress progress{height:7px;margin:8px 0}
.home-performance .performance-progress .small-text{font-size:11px;gap:8px;flex-wrap:wrap}
@media(max-width:640px){.route-performance .performance-global-kpis{grid-template-columns:minmax(0,1fr)}.route-performance .performance-person-kpis{gap:8px}.performance-person-kpis strong,.home-performance-kpis strong{font-size:18px}.route-performance .performance-pay-kpis>div{grid-template-columns:minmax(0,1fr) auto}.route-performance .performance-pay-kpis>div>strong{grid-column:2}.route-performance .performance-pay-kpis .badge{font-size:10px}.route-performance .performance-daily-list{grid-template-columns:minmax(0,1fr)}}

/* Keep the original workbench style, with a denser performance workspace. */
.main.route-performance {padding:20px 24px 32px}
.route-performance .page-heading {gap:12px;margin-bottom:16px}
.route-performance .page-heading-main {gap:12px}
.route-performance .page-heading-main .page-title-icon {width:40px;height:40px;padding:10px;margin-top:5px;border-radius:14px}
.route-performance .page-heading h1 {font-size:26px;line-height:1.3}
.route-performance .eyebrow {font-size:10px;margin-bottom:4px}
.route-performance .page-description {font-size:12px;line-height:1.6;margin-top:5px}
.route-performance .page-actions {gap:8px}
.route-performance .page-actions .btn {padding:8px 12px;font-size:12px;min-height:36px}
.route-performance #performance-filter {padding:10px 14px;gap:8px 12px;margin-bottom:14px;border-radius:16px}
.route-performance #performance-filter label {display:inline-flex;align-items:center;gap:8px;font-size:12px;margin:0}
.route-performance #performance-filter input,.route-performance #performance-filter select {min-height:34px;padding:7px 10px;font-size:12px;border-radius:10px}
.route-performance #performance-filter input[type=month] {width:142px}
.route-performance #performance-filter select[name=week] {width:168px}
.route-performance #performance-filter select[name=sort] {width:184px}
.route-performance>.notice {padding:11px 14px;margin-bottom:12px;font-size:12px;line-height:1.6;border-radius:14px}
.route-performance>.small-text {font-size:11px;line-height:1.6;margin-bottom:6px}
.route-performance>.stats-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.route-performance>.stats-grid .stat-card {padding:14px 16px;min-height:0;border-radius:16px}
.route-performance>.stats-grid .stat-top {font-size:12px;line-height:1.5;gap:8px}
.route-performance>.stats-grid .stat-top .icon {width:16px;height:16px;padding:5px}
.route-performance>.stats-grid .stat-value {font-size:28px;line-height:1.25;margin:8px 0 6px;letter-spacing:-.6px;white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}
.route-performance>.stats-grid .stat-foot {font-size:11px;line-height:1.6}
.route-performance .performance-global-kpis {gap:12px;margin:0 0 14px}
.route-performance .performance-global-kpis>div {grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 14px;padding:12px 16px;border-radius:14px}
.route-performance .performance-global-kpis>div>span {grid-column:1;font-size:12px}
.route-performance .performance-global-kpis>div>strong {grid-column:2;grid-row:1/3;font-size:24px;line-height:1.3;white-space:nowrap}
.route-performance .performance-global-kpis>div>small {grid-column:1;font-size:11px;line-height:1.6}
.route-performance .performance-people-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;margin:14px 0;align-items:start}
.route-performance .performance-people-grid .panel-header {padding:14px 16px 8px;gap:8px}
.route-performance .performance-people-grid .panel-header h2 {font-size:16px;line-height:1.5}
.route-performance .performance-people-grid .panel-header .small-text {font-size:11px;line-height:1.6}
.route-performance .performance-people-grid .performance-body {padding:0 16px 14px}
.route-performance .performance-person-kpis {grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr) minmax(0,1fr);gap:10px;padding:10px 0}
.route-performance .performance-person-kpis span {font-size:11px}
.route-performance .performance-person-kpis strong {font-size:16px;line-height:1.3;white-space:nowrap;overflow-wrap:normal}
.route-performance .performance-people-grid .performance-dual {gap:8px;margin:10px 0}
.route-performance .performance-people-grid .performance-progress {padding:10px 12px;border-radius:12px;font-size:12px}
.route-performance .performance-progress progress {height:6px;margin:8px 0}
.route-performance .performance-progress .small-text {font-size:11px;line-height:1.5}
.route-performance .performance-pay {padding:12px;margin-top:12px;border-radius:12px}
.route-performance .performance-pay-heading {margin-bottom:8px}
.route-performance .performance-pay-heading h3 {font-size:13px}
.route-performance .performance-pay-heading>strong {font-size:18px}
.route-performance .performance-pay-commission {padding-bottom:8px;font-size:12px}
.route-performance .performance-pay-kpis>div {padding:7px 0;font-size:11px}
.route-performance .performance-pay-note {font-size:10px;line-height:1.6;margin-top:8px}
.route-performance .performance-person summary {font-size:12px;line-height:1.6}
.route-performance .performance-person .performance-fold {padding-top:10px}
@media(max-width:1399px) and (min-width:1101px) {
 .route-performance>.stats-grid .stat-value {font-size:24px}
 .route-performance>.stats-grid .stat-card {padding:12px 14px}
}
@media(max-width:1100px) {
 .route-performance>.stats-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px) {
 .main.route-performance {padding:18px 14px 28px}
 .route-performance .page-heading h1 {font-size:24px}
 .route-performance .page-actions {width:100%;justify-content:flex-start;margin-left:0}
 .route-performance .performance-global-kpis {grid-template-columns:minmax(0,1fr)}
 .route-performance .performance-global-kpis>div>strong {font-size:22px}
}
@media(max-width:520px) {
 .route-performance>.stats-grid {grid-template-columns:minmax(0,1fr);gap:8px}
 .route-performance>.stats-grid .stat-card {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 14px}
 .route-performance>.stats-grid .stat-top {grid-column:1}
 .route-performance>.stats-grid .stat-top .icon {display:none}
 .route-performance>.stats-grid .stat-value {grid-column:2;grid-row:1/3;align-self:center;margin:0;font-size:24px}
 .route-performance>.stats-grid .stat-foot {grid-column:1}
 .route-performance #performance-filter {padding:10px}
 .route-performance #performance-filter label {flex:1 1 100%}
 .route-performance #performance-filter select {max-width:100%;flex:1 1 130px;width:auto}
}
