﻿:root{--bg:#f4f8f7;--panel:#fff;--ink:#112523;--muted:#70807d;--line:#e3ebe9;--mint:#00d19a;--mint-dark:#00a97d;--mint-soft:#e6fbf5;--violet:#7967ff;--blue:#32a9ff;--amber:#ffc857;--shadow:0 8px 28px rgba(24,66,59,.065);--radius:16px}*{box-sizing:border-box}html{font-size:14px;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",sans-serif;-webkit-font-smoothing:antialiased}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app-shell{display:flex;min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:linear-gradient(180deg,#102a26,#0c211e);color:#c1d2cf;padding:0 16px 18px;display:flex;flex-direction:column;z-index:40}.brand{height:84px;display:flex;align-items:center;padding:0 8px;gap:11px;border-bottom:1px solid rgba(255,255,255,.07)}.brand-mark{width:38px;height:38px;border-radius:11px;background:var(--mint);display:grid;place-items:center;color:#073a2f;box-shadow:0 0 24px rgba(0,209,154,.27)}.brand-mark svg{width:24px;height:24px}.brand strong{display:block;color:#fff;font:700 18px Manrope;letter-spacing:-.5px}.brand strong span{color:var(--mint)}.brand small{display:block;font-size:9px;letter-spacing:1.6px;text-transform:uppercase;color:#73928c}.side-nav{padding-top:21px;flex:1}.nav-label{margin:0 12px 10px;color:#587a74;font-size:9px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}.nav-label-spaced{margin-top:27px}.nav-item{height:46px;display:flex;align-items:center;gap:12px;padding:0 12px;margin:3px 0;color:#9bb4af;text-decoration:none;border-radius:10px;font-weight:500;position:relative;transition:.2s}.nav-item:hover{color:#fff;background:rgba(255,255,255,.055)}.nav-item.active{color:#fff;background:linear-gradient(90deg,rgba(0,209,154,.18),rgba(0,209,154,.06));box-shadow:inset 3px 0 var(--mint)}.nav-item.active .nav-icon{color:var(--mint)}.nav-icon{display:grid;place-items:center;width:22px}.nav-icon svg{width:18px}.nav-item>i{margin-left:auto;width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 9px var(--mint)}.nav-item>b{margin-left:auto;color:#9af1d9;background:rgba(0,209,154,.14);font-size:10px;padding:2px 7px;border-radius:10px}.sidebar-card{display:flex;align-items:center;gap:10px;margin:10px 2px 16px;padding:12px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);border-radius:11px}.pulse-icon{width:30px;height:30px;border-radius:8px;background:rgba(0,209,154,.12);color:var(--mint);display:grid;place-items:center;position:relative}.pulse-icon svg{width:15px}.pulse-icon span{position:absolute;inset:-3px;border:1px solid rgba(0,209,154,.2);border-radius:10px;animation:pulse 2s infinite}.sidebar-card strong{display:block;color:#dbebe8;font-size:11px}.sidebar-card small{display:block;color:#688781;font-size:9px}.sidebar-card>i{width:7px;height:7px;border-radius:50%;background:var(--mint);margin-left:auto}.sidebar-footer{font-size:9px;color:#54726d;display:flex;justify-content:space-between;padding:0 6px}.sidebar-footer a{color:#77948f;text-decoration:none}.workspace{margin-left:246px;width:calc(100% - 246px)}
.topbar{height:70px;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:30}.breadcrumb{display:flex;align-items:center;gap:9px;font-size:12px}.breadcrumb span,.breadcrumb b{color:#9aa8a5;font-weight:500}.breadcrumb strong{font-weight:600}.topbar-actions{display:flex;align-items:center;gap:10px}.global-search{width:220px;height:38px;border:1px solid var(--line);background:#f8faf9;border-radius:9px;display:flex;align-items:center;padding:0 10px;gap:8px}.global-search:focus-within{border-color:var(--mint);box-shadow:0 0 0 3px var(--mint-soft);background:#fff}.global-search svg{width:16px;color:#82918e}.global-search input{min-width:0;border:0;outline:0;background:transparent;font-size:11px;flex:1}.global-search kbd{font:9px "DM Sans";color:#889794;background:#fff;border:1px solid #dde5e3;border-radius:4px;padding:2px 5px}.icon-button{border:0;background:transparent;display:grid;place-items:center;color:#71827e}.notification-button{width:38px;height:38px;border:1px solid var(--line);border-radius:9px;position:relative}.notification-button svg{width:17px}.notification-button i{position:absolute;top:8px;right:8px;width:6px;height:6px;background:#ff6f66;border:1px solid #fff;border-radius:50%}.profile{padding-left:12px;margin-left:4px;border-left:1px solid var(--line);display:flex;align-items:center;gap:9px}.avatar{width:35px;height:35px;border-radius:9px;color:#075342;font-size:11px;font-weight:700;background:linear-gradient(135deg,#9cf5de,#5fd8bc);display:grid;place-items:center}.profile strong,.profile small{display:block}.profile strong{font-size:11px}.profile small{font-size:9px;color:#899794}.profile>svg{width:13px;margin-left:5px}.main-content{max-width:1590px;margin:0 auto;padding:28px 30px 12px}
.notification-wrap{position:relative}.notification-button.has-alert{background:#fff;border-color:#dce9e5;color:#48615b;cursor:pointer;transition:background .18s,border-color .18s}.notification-button.has-alert:hover,.notification-button.has-alert[aria-expanded="true"]{background:#f0fbf7;border-color:#a8e9d6}.notification-count{position:absolute;top:-6px;right:-7px;min-width:18px;height:18px;padding:0 4px;border:2px solid #fff;border-radius:10px;background:#f0785f;color:#fff;font-size:9px;font-weight:700;line-height:14px;text-align:center}.notification-popover{position:absolute;z-index:60;top:calc(100% + 12px);right:-8px;width:min(320px,calc(100vw - 32px));padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 42px rgba(18,48,42,.16);color:var(--ink)}.notification-popover[hidden]{display:none}.notification-popover-kicker{margin-bottom:7px;color:#c15f48;font-size:9px;font-weight:700;letter-spacing:1.2px}.notification-popover>strong{font:700 14px Manrope}.notification-popover p{margin:8px 0 14px;color:#687a76;font-size:12px;line-height:1.55}.notification-popover>a{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid var(--line);color:#008b69;text-decoration:none;font-size:11px;font-weight:700}.notification-popover>a:hover{color:#006d52}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:23px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:700;color:var(--mint-dark);margin-bottom:8px}.eyebrow span{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 8px var(--mint);margin-right:6px}.page-heading h1{font:700 28px Manrope;margin:0;letter-spacing:-1px}.page-heading p{color:var(--muted);font-size:11px;margin:7px 0 0}.heading-actions,.table-actions{display:flex;gap:9px}.btn-secondary-soft,.btn-primary-neon{height:38px;border-radius:9px;padding:0 14px;font-size:11px;font-weight:600;display:flex;align-items:center;gap:7px;transition:.2s}.btn-secondary-soft{background:#fff;border:1px solid var(--line);color:#51635f}.btn-primary-neon{border:1px solid var(--mint);background:var(--mint);color:#073f33;box-shadow:0 5px 15px rgba(0,209,154,.16)}.btn-secondary-soft:hover,.btn-primary-neon:hover{transform:translateY(-1px)}.btn-primary-neon:hover{box-shadow:0 7px 19px rgba(0,209,154,.25)}.btn-primary-neon svg,.btn-secondary-soft svg{width:15px}.refresh-symbol{font-size:16px}.spinning .refresh-symbol{display:inline-block;animation:spin .6s linear}
.filter-bar{min-height:67px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 13px;display:flex;align-items:center;gap:9px;box-shadow:var(--shadow);margin-bottom:16px}.period-filter{height:37px;display:flex;padding:3px;background:#f1f5f4;border-radius:9px}.period-filter button{border:0;background:transparent;border-radius:7px;padding:0 15px;color:#73827f;font-size:10px;font-weight:600}.period-filter button.active{background:#fff;color:#0b9b76;box-shadow:0 2px 7px rgba(24,66,59,.1)}.filter-divider{height:28px;border-left:1px solid var(--line);margin:0 3px}.select-filter{height:40px;min-width:155px;padding:5px 11px;border:1px solid var(--line);border-radius:8px}.select-filter span{display:block;color:#99a5a2;font-size:8px;line-height:10px}.select-filter select{width:100%;border:0;outline:0;color:#344844;background:transparent;font-size:10px;font-weight:600}.more-filter{height:38px;border:1px solid var(--line);background:#fff;border-radius:8px;color:#596b67;font-size:10px;font-weight:600;display:flex;align-items:center;gap:6px;padding:0 10px}.more-filter svg{width:14px}.more-filter i{font-style:normal;color:#08795e;background:var(--mint-soft);border-radius:8px;padding:1px 5px}.reset-filter{border:0;background:transparent;color:#8d9a97;font-size:10px;margin-left:auto}
.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:13px}.kpi-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:17px 18px 14px;box-shadow:var(--shadow);position:relative;overflow:hidden}.primary-kpi{background:linear-gradient(135deg,#0f302b,#163e36);color:#fff;border-color:#183d36}.primary-kpi:after{content:"";position:absolute;width:140px;height:140px;border-radius:50%;background:rgba(0,209,154,.09);right:-50px;top:-62px}.kpi-top,.kpi-main,.kpi-bottom{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.kpi-label{font-size:10px;color:#71827e;font-weight:600}.primary-kpi .kpi-label{color:#9eb8b3}.live-pill{font-size:7px;letter-spacing:1px;color:#6aefce;border:1px solid rgba(0,209,154,.25);background:rgba(0,209,154,.1);padding:4px 7px;border-radius:10px}.live-pill i{display:inline-block;width:5px;height:5px;background:var(--mint);border-radius:50%;margin-right:4px}.metric-icon{width:29px;height:29px;border-radius:8px;display:grid;place-items:center}.metric-icon svg{width:14px}.metric-icon.mint{background:var(--mint-soft);color:var(--mint-dark)}.metric-icon.violet{background:#f0edff;color:var(--violet)}.metric-icon.amber{background:#fff5d9;color:#dc9700}.kpi-main{justify-content:flex-start;gap:11px;margin:9px 0 11px}.kpi-main strong{font:700 27px Manrope;letter-spacing:-1px}.kpi-main strong em{font-style:normal;font-size:14px;margin-left:2px}.trend{display:inline-flex;align-items:center;gap:2px;font-style:normal;font-size:9px;font-weight:700;padding:3px 6px;border-radius:7px}.trend svg{width:10px;height:10px}.trend.up,.positive,.down-positive{color:#00a47b}.negative{color:#ef625a!important}.neutral{color:#87938f!important}.primary-kpi .trend.up{color:#75f0d1;background:rgba(0,209,154,.12)}.kpi-card:not(.primary-kpi) .trend{background:var(--mint-soft)}.kpi-bottom{font-size:9px;color:#91a09d;min-height:18px}.primary-kpi .kpi-bottom{color:#72928c}.mini-bars{width:54px;height:22px;display:flex;align-items:flex-end;gap:3px}.mini-bars i{width:4px;background:rgba(0,209,154,.32);border-radius:2px}.mini-bars i:last-child{background:var(--mint)}.target-track{width:65px;height:4px;background:#edf2f1;border-radius:4px;overflow:hidden}.target-track i{display:block;height:100%;background:var(--mint)}.violet-track i{background:var(--violet)}.status-good{color:#00a47b;background:var(--mint-soft);padding:3px 7px;border-radius:8px;font-weight:600}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr);gap:13px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.trend-panel,.contribution-panel{height:350px;padding:18px}.panel-header{display:flex;align-items:flex-start;justify-content:space-between}.panel-header h2,.section-title h2{font:700 14px Manrope;margin:0;letter-spacing:-.25px}.panel-header p,.section-title p{font-size:9px;color:#8b9996;margin:4px 0 0}.chart-tabs{background:#f2f6f5;border-radius:8px;padding:3px;display:flex}.chart-tabs button{border:0;background:transparent;font-size:9px;color:#84928f;border-radius:6px;padding:5px 10px}.chart-tabs button.active{color:#08795e;background:#fff;box-shadow:0 2px 6px rgba(24,66,59,.08);font-weight:600}.chart-summary{display:flex;align-items:center;gap:7px;margin-top:12px}.chart-summary>strong{font:700 19px Manrope}.chart-summary>span{font-size:9px;color:#9aa6a4}.chart-summary .trend{background:var(--mint-soft)}.chart-legend{display:flex;margin-left:auto;gap:14px;font-size:8px;color:#778783}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend i{width:15px;height:2px}.actual-dot{background:var(--mint)}.previous-dot{border-top:1px dashed #b7c4c1}.line-chart{height:238px;margin-top:5px;position:relative}.line-chart svg{width:100%;height:100%;overflow:visible}.line-chart .grid{stroke:#edf2f1;stroke-width:1}.line-chart .axis-label{fill:#9aa6a4;font:8px "DM Sans"}.line-chart .area{fill:url(#chartGradient);stroke:none}.line-chart .line-main{fill:none;stroke:var(--mint);stroke-width:2.5;filter:drop-shadow(0 4px 4px rgba(0,209,154,.18))}.line-chart .line-prev{fill:none;stroke:#bac5c3;stroke-width:1.5;stroke-dasharray:5 5}.line-chart .point{fill:#fff;stroke:var(--mint);stroke-width:2;cursor:pointer}.chart-tooltip{position:absolute;pointer-events:none;background:#102a26;color:#fff;padding:7px 9px;border-radius:7px;font-size:9px;transform:translate(-50%,-115%)}.chart-tooltip strong{display:block;color:#7af0d3;font-size:11px}.donut-wrap{display:grid;place-items:center;margin:12px auto 10px}.donut-chart{width:143px;height:143px;border-radius:50%;background:conic-gradient(var(--mint) 0 30.8%,var(--violet) 30.8% 56.9%,var(--blue) 56.9% 80.5%,var(--amber) 80.5%);display:grid;place-items:center;position:relative;animation:donutIn 1s ease both}.donut-chart:before{content:"";position:absolute;width:91px;height:91px;border-radius:50%;background:#fff}.donut-chart div{z-index:1;text-align:center}.donut-chart strong,.donut-chart span{display:block}.donut-chart strong{font:700 18px Manrope}.donut-chart span{font-size:8px;color:#94a19f}.donut-legend{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.donut-legend>div{display:grid;grid-template-columns:7px 1fr auto;align-items:center;gap:6px}.donut-legend i{width:6px;height:6px;border-radius:50%;background:var(--c);grid-row:1/3}.donut-legend span{font-size:8px;color:#7e8e8a;white-space:nowrap}.donut-legend strong{font-size:10px;text-align:right}.donut-legend em{grid-column:3;font-style:normal;color:#9aa6a4;font-size:8px}
.section-block{margin-bottom:24px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.section-title a{color:#008c69;text-decoration:none;font-size:9px;font-weight:600}.branch-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.branch-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 15px 13px;box-shadow:var(--shadow);position:relative;overflow:hidden}.branch-card.best:before,.branch-card.attention:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--mint)}.branch-card.attention:before{background:var(--amber)}.branch-head{display:flex;align-items:center;gap:9px}.branch-rank{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;color:#00926d;background:var(--mint-soft);font:700 9px Manrope}.branch-rank.purple{color:var(--violet);background:#f0edff}.branch-rank.blue{color:#168edc;background:#eaf7ff}.branch-rank.amber{color:#c88300;background:#fff5dc}.branch-head strong,.branch-head span{display:block}.branch-head>div:nth-child(2) strong{font-size:10px;white-space:nowrap}.branch-head>div:nth-child(2) span{font-size:8px;color:#96a29f}.branch-head .icon-button{margin-left:auto}.best-pill,.alert-pill{font-size:7px!important;padding:3px 6px;border-radius:7px;margin-left:auto;white-space:nowrap}.best-pill{color:#008865;background:var(--mint-soft)}.alert-pill{color:#bb7900;background:#fff4d7}.branch-numbers{display:grid;grid-template-columns:repeat(3,1fr);margin:16px 0 11px}.branch-numbers div{border-right:1px solid var(--line);padding-left:10px}.branch-numbers div:first-child{padding-left:0}.branch-numbers div:last-child{border:0}.branch-numbers span,.branch-numbers strong{display:block}.branch-numbers span{font-size:7px;color:#9ba6a4}.branch-numbers strong{font:700 13px Manrope}.branch-numbers .positive,.branch-numbers .negative{font:700 9px "DM Sans"}.branch-progress{height:4px;background:#edf2f1;border-radius:5px;overflow:hidden}.branch-progress i{display:block;height:100%;background:var(--mint)}.branch-progress.purple i{background:var(--violet)}.branch-progress.blue i{background:var(--blue)}.branch-progress.amber i{background:var(--amber)}.branch-footer{display:flex;justify-content:space-between;margin-top:6px;font-size:7px;color:#9aa6a3}.branch-footer strong{font-weight:500;color:#73837f}
.service-panel{padding:18px;margin-bottom:13px}.service-header{align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px}.service-total{text-align:right}.service-total span,.service-total strong{display:block}.service-total span{font-size:8px;color:#97a3a0}.service-total strong{font:700 17px Manrope}.service-grid{display:grid;grid-template-columns:repeat(5,1fr);margin-top:5px}.service-item{min-width:0;padding:15px 12px;display:grid;grid-template-columns:33px 1fr auto;align-items:center;gap:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.service-item:nth-child(5n){border-right:0}.service-item:nth-child(n+6){border-bottom:0}.service-symbol{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font:700 8px Manrope}.service-symbol.mint{color:#008d69;background:var(--mint-soft)}.service-symbol.violet{color:var(--violet);background:#f0edff}.service-symbol.blue{color:#168edc;background:#eaf7ff}.service-symbol.coral{color:#e25b54;background:#fff0ef}.service-symbol.amber{color:#ba7900;background:#fff5dc}.service-symbol.rose{color:#d3517c;background:#ffedf3}.service-symbol.cyan{color:#008da4;background:#e6faff}.service-symbol.lime{color:#719a18;background:#f2fadf}.service-symbol.slate{color:#647b86;background:#edf3f5}.service-symbol.pink{color:#a657a5;background:#f9ebf9}.service-item span,.service-item strong,.service-item em{display:block}.service-item span{font-size:8px;color:#63736f;white-space:nowrap}.service-item strong{font:700 14px Manrope}.service-item em{font-style:normal;font-size:7px;color:#a0aaa8}.service-item>b{font-size:7px;align-self:start;white-space:nowrap}
.service-header-actions{display:flex;align-items:center;gap:18px}.service-view-tabs{display:flex;padding:3px;background:#f1f5f4;border-radius:8px}.service-view-tabs button{border:0;background:transparent;color:#81908d;font-size:9px;font-weight:600;padding:6px 10px;border-radius:6px;transition:.2s}.service-view-tabs button.active{background:#fff;color:#078567;box-shadow:0 2px 7px rgba(24,66,59,.09)}.service-view{display:none}.service-view.active{display:block;animation:reveal .3s ease both}.service-branch-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:13px 0}.service-branch-summary span{display:flex;align-items:center;gap:6px;color:#72817e;font-size:8px;padding:8px 10px;background:#f8faf9;border:1px solid #edf2f1;border-radius:8px}.service-branch-summary i{width:7px;height:7px;border-radius:50%}.service-branch-summary strong{margin-left:auto;color:#213834;font:700 11px Manrope}.mint-dot{background:var(--mint)}.violet-dot{background:var(--violet)}.blue-dot{background:var(--blue)}.amber-dot{background:var(--amber)}.service-branch-table{width:100%;border-collapse:collapse;white-space:nowrap}.service-branch-table th{padding:9px 12px;background:#f7faf9;color:#778682;text-transform:uppercase;letter-spacing:.35px;font-size:7px;font-weight:600;text-align:right;border-block:1px solid var(--line)}.service-branch-table th:first-child,.service-branch-table td:first-child{text-align:left}.service-branch-table td{padding:8px 12px;text-align:right;color:#6c7b78;font-size:9px;border-bottom:1px solid #edf2f1}.service-branch-table tbody tr:hover{background:#f9fcfb}.service-branch-table .service-symbol{width:27px;height:27px;border-radius:7px}.branch-service-name{display:flex;align-items:center;gap:8px}.branch-service-name strong{font-size:9px;color:#2b403c}.service-branch-table td>b{font:600 9px "DM Sans";color:#415652}.service-branch-table td>strong{font:700 10px Manrope;color:#16322d}.service-branch-table em{font-style:normal;font-size:8px;font-weight:700}.service-branch-table tfoot td{font-weight:700;background:#f3faf8;color:#24443e;border:0;padding-block:10px}
.branch-service-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding-top:14px}.branch-service-panel{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fbfdfc;position:relative}.branch-service-panel:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--mint)}.branch-service-panel.violet:before{background:var(--violet)}.branch-service-panel.blue:before{background:var(--blue)}.branch-service-panel.amber:before{background:var(--amber)}.branch-service-panel>header{min-height:67px;padding:12px 14px 11px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.branch-service-panel>header>div:first-child{display:grid;grid-template-columns:9px 1fr;align-items:center;column-gap:7px}.branch-status{width:7px;height:7px;border-radius:50%;background:var(--mint);grid-row:1/3;box-shadow:0 0 8px rgba(0,209,154,.4)}.branch-service-panel.violet .branch-status{background:var(--violet)}.branch-service-panel.blue .branch-status{background:var(--blue)}.branch-service-panel.amber .branch-status{background:var(--amber)}.branch-service-panel h3{font:700 12px Manrope;margin:0}.branch-service-panel header small{font-size:7px;color:#95a29f}.branch-service-total{text-align:right}.branch-service-total span,.branch-service-total strong,.branch-service-total em{display:block}.branch-service-total span{font-size:7px;color:#95a29f}.branch-service-total strong{font:700 18px Manrope;line-height:20px}.branch-service-total em{font-size:7px;font-style:normal;color:#879692}.branch-service-list{display:grid;grid-template-columns:repeat(2,1fr);padding:5px 11px}.branch-service-row{min-width:0;display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:7px;padding:8px 6px;border-bottom:1px solid #edf2f1}.branch-service-row:nth-child(odd){border-right:1px solid #edf2f1;padding-right:11px}.branch-service-row:nth-child(even){padding-left:11px}.branch-service-row:nth-last-child(-n+2){border-bottom:0}.branch-service-row .service-symbol{width:27px;height:27px;border-radius:7px}.branch-service-label{min-width:0}.branch-service-label strong,.branch-service-label small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.branch-service-label strong{font-size:8px;color:#435652}.branch-service-label small{font-size:7px;color:#9ba6a4}.branch-service-row>b{font:700 11px Manrope;color:#19332e}.branch-service-row>em{grid-column:3;font-style:normal;font-size:7px;font-weight:700;text-align:right}
.ro-source-panel{padding:18px;margin-bottom:13px}.ro-source-header{align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}.ro-source-legend{display:flex;align-items:center;gap:13px;color:#82908d;font-size:9px}.ro-source-legend span{display:flex;align-items:center;gap:5px}.ro-source-legend i{width:7px;height:7px;border-radius:50%}.ro-workshop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding:14px 0}.ro-workshop-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;position:relative}.ro-workshop-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--mint)}.ro-workshop-card.violet:before{background:var(--violet)}.ro-workshop-card.blue:before{background:var(--blue)}.ro-workshop-card.amber:before{background:var(--amber)}.ro-workshop-card>header{min-height:59px;padding:10px 11px 9px 14px;background:#f9fbfa;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.ro-workshop-card>header>div:first-child{display:grid;grid-template-columns:8px 1fr;column-gap:6px;align-items:center}.ro-branch-dot{width:6px;height:6px;border-radius:50%;background:var(--mint);grid-row:1/3}.ro-workshop-card.violet .ro-branch-dot{background:var(--violet)}.ro-workshop-card.blue .ro-branch-dot{background:var(--blue)}.ro-workshop-card.amber .ro-branch-dot{background:var(--amber)}.ro-workshop-card header strong,.ro-workshop-card header small{display:block}.ro-workshop-card>header>div:first-child strong{font:700 10px Manrope;white-space:nowrap}.ro-workshop-card header small{font-size:8px;color:#96a29f}.ro-workshop-card>header>div:last-child{text-align:right}.ro-workshop-card>header>div:last-child span{display:block;color:#97a39f;font-size:7px}.ro-workshop-card>header>div:last-child strong{font:700 16px Manrope}.ro-source-list{padding:4px 11px}.ro-source-row{display:grid;grid-template-columns:27px minmax(65px,1fr) auto;align-items:center;gap:7px;padding:8px 1px;border-bottom:1px solid #edf2f1}.ro-source-row:last-child{border-bottom:0}.ro-source-icon{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;font:700 7px Manrope}.ro-source-row>div>strong{display:block;font-size:9px;color:#465955;margin-bottom:4px;white-space:nowrap}.ro-source-row>div>span{display:block;height:3px;border-radius:3px;background:#edf2f1;overflow:hidden}.ro-source-row>div>span i{display:block;height:100%;border-radius:3px}.ro-source-row>b{font:700 11px Manrope;color:#203934;text-align:right}.ro-source-row>em{grid-column:3;font-style:normal;color:#8b9996;font-size:8px;text-align:right}.appointment{background:#e6fbf5!important;color:#008e6a}.msow{background:#f0edff!important;color:#6854ed}.rsa{background:#fff2e3!important;color:#cb7810}.walkin{background:#e8f6ff!important;color:#178dd8}.other{background:#edf2f2!important;color:#657a76}.ro-source-row>div>span i.appointment{background:var(--mint)!important}.ro-source-row>div>span i.msow{background:var(--violet)!important}.ro-source-row>div>span i.rsa{background:#ff9f43!important}.ro-source-row>div>span i.walkin{background:var(--blue)!important}.ro-source-row>div>span i.other{background:#8ea19d!important}.ro-source-legend i.appointment{background:var(--mint)!important}.ro-source-legend i.walkin{background:var(--blue)!important}.ro-source-legend i.other{background:#8ea19d!important}.ro-source-footer{min-height:43px;padding:0 12px;border-radius:9px;background:#f3f8f6;display:flex;align-items:center;justify-content:space-between;color:#71817d;font-size:9px}.ro-source-footer>span strong{color:#153b34;margin-left:5px}.ro-source-footer>div{display:flex;gap:15px}.ro-source-footer>div span{white-space:nowrap}.ro-source-footer b{color:#28413c;margin-left:3px}
.hierarchy-filter{padding-right:38px}.hierarchy-filter>i{position:absolute;right:7px;bottom:7px;font-style:normal;font-size:7px;color:#02a77d;background:var(--mint-soft);padding:2px 4px;border-radius:4px}.hierarchy-note{min-height:50px;display:flex;align-items:center;gap:10px;margin:-3px 0 13px;padding:8px 12px;background:linear-gradient(90deg,#eafaf5,#f6fbf9);border:1px solid #d4eee6;border-radius:11px}.hierarchy-note>div{width:29px;height:29px;border-radius:8px;background:#fff;color:#00a67c;display:grid;place-items:center}.hierarchy-note svg{width:15px}.hierarchy-note p{margin:0;flex:1}.hierarchy-note strong,.hierarchy-note span{display:block}.hierarchy-note strong{font-size:10px;color:#225147}.hierarchy-note span{font-size:9px;color:#75918b;margin-top:2px}.hierarchy-note .icon-button{font-size:18px}.revenue-kpis .kpi-main strong span{font:inherit}.revenue-donut{background:conic-gradient(var(--mint) 0 49.4%,var(--violet) 49.4% 76.7%,var(--blue) 76.7% 91.1%,var(--amber) 91.1%)}.revenue-legend>div{grid-template-columns:7px 1fr auto}.revenue-legend span{max-width:92px;overflow:hidden;text-overflow:ellipsis}.revenue-hierarchy-section{padding:17px;background:linear-gradient(135deg,#f8fcfb,#f1f8f6);border:1px solid #dfeae7;border-radius:16px;box-shadow:var(--shadow)}.revenue-hierarchy-section .section-title{align-items:flex-end}.section-kicker{font-size:8px;letter-spacing:1.25px;font-weight:700;color:#00a47b;margin-bottom:5px}.data-level-pill{font-size:9px;color:#087d61;background:#fff;border:1px solid #d7eee7;padding:5px 9px;border-radius:9px}.revenue-branch-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr);gap:12px}.revenue-branch-card,.common-ws-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.revenue-branch-card{overflow:hidden;border-top:3px solid var(--mint)}.revenue-branch-card>header{min-height:70px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.revenue-branch-card>header>div:first-child{display:flex;align-items:center;gap:9px}.revenue-branch-card header strong,.revenue-branch-card header small{display:block}.revenue-branch-card header small{color:#92a09d;font-size:9px;margin-top:2px}.revenue-branch-card>header>div:last-child{text-align:right}.revenue-branch-card>header>div:last-child span,.revenue-branch-card>header>div:last-child em{display:block;font-size:8px;color:#91a09c;font-style:normal}.revenue-branch-card>header>div:last-child strong{font:700 18px Manrope}.sub-workshop-grid{display:grid;grid-template-columns:repeat(2,1fr);padding:6px 12px}.sub-workshop-grid>div{min-width:0;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;padding:12px 8px;border-bottom:1px solid #edf2f1}.sub-workshop-grid>div:nth-child(odd){border-right:1px solid #edf2f1}.sub-workshop-grid>div:nth-last-child(-n+2){border-bottom:0}.ws-code{width:31px;height:31px;border-radius:8px;background:var(--mint-soft);color:#008c68;display:grid;place-items:center;font:700 9px Manrope}.ws-code.bev{background:#e9f7ff;color:#168bd4}.sub-workshop-grid p{margin:0}.sub-workshop-grid p strong,.sub-workshop-grid p small{display:block}.sub-workshop-grid p strong{font-size:10px}.sub-workshop-grid p small{font-size:8px;color:#92a09d}.sub-workshop-grid>div>b{font:700 12px Manrope}.sub-workshop-grid>div>em{grid-column:3;font-style:normal;font-size:8px;font-weight:700}.common-workshop-list{display:grid;gap:8px}.common-ws-card{display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:9px;padding:12px 13px}.common-ws-card>div:nth-child(2) strong,.common-ws-card>div:nth-child(2) span{display:block}.common-ws-card>div:nth-child(2) strong{font-size:10px}.common-ws-card>div:nth-child(2) span{font-size:8px;color:#93a09d}.common-ws-card>div:nth-child(3){text-align:right}.common-ws-card>div:nth-child(3) span,.common-ws-card>div:nth-child(3) strong{display:block}.common-ws-card>div:nth-child(3) span{font-size:7px;color:#96a29f}.common-ws-card>div:nth-child(3) strong{font:700 13px Manrope}.common-ws-card>b{grid-column:3;font-size:8px;text-align:right}.revenue-table-name span,.revenue-table-name strong{display:block}.revenue-table-name span{font-size:8px;color:#97a39f}.revenue-table-name strong{font-size:10px;color:#253d38}.revenue-total{font-size:9px}.revenue-total strong{font:700 13px Manrope;color:#173c34;margin-left:6px}
.vehicle-workshop-section{margin-bottom:24px}.workshop-reporting-total{min-height:42px;margin-top:12px;padding:0 12px;display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:10px;color:#7b8a87;font-size:9px}.workshop-reporting-total span{white-space:nowrap}.workshop-reporting-total b{color:#243e39;margin-left:3px}.workshop-reporting-total>strong{margin-left:auto;color:#007e60;font:700 11px Manrope}
.central-workshop-section{padding:18px;background:linear-gradient(135deg,#f8fcfb,#f0f7f5);border:1px solid #dceae6;border-radius:16px;box-shadow:var(--shadow);margin-bottom:24px}.central-workshop-heading{display:flex;align-items:flex-end;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #dce8e5}.central-workshop-heading h2{font:700 15px Manrope;margin:0}.central-workshop-heading p{font-size:10px;color:#83928e;margin:4px 0 0}.central-heading-metrics{display:flex;align-items:flex-end;gap:18px}.central-target-summary{min-width:160px}.central-target-summary>span,.central-target-summary>small{display:block;font-size:8px;color:#82928e}.central-target-summary>div{height:5px;margin:5px 0 3px;background:#dfe9e6;border-radius:5px;overflow:hidden}.central-target-summary>div i{display:block;height:100%;background:linear-gradient(90deg,var(--mint-dark),var(--mint));border-radius:5px}.central-target-summary>strong{font:700 13px Manrope;color:#087f62;margin-right:5px}.central-target-summary>small{display:inline;color:#78908a}.central-total{text-align:right;padding-left:18px;border-left:1px solid #d8e5e1}.central-total span,.central-total strong,.central-total em{display:block}.central-total span{font-size:9px;color:#82928e}.central-total strong{font:700 25px Manrope;line-height:27px;color:#173c34}.central-total em{font-style:normal;font-size:9px;font-weight:700}.central-workshop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding-top:14px}.central-workshop-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;position:relative}.central-workshop-card:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--mint)}.central-workshop-card.violet:before{background:var(--violet)}.central-workshop-card.blue:before{background:var(--blue)}.central-workshop-card.amber:before{background:var(--amber)}.central-workshop-card>header{min-height:67px;padding:12px 12px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fcfefd}.central-ws-title{display:flex;align-items:center;gap:8px;min-width:0}.central-ws-title>span{width:31px;height:31px;flex:0 0 31px;border-radius:8px;background:var(--mint-soft);color:#008d69;display:grid;place-items:center;font:700 9px Manrope}.central-workshop-card.violet .central-ws-title>span{background:#f0edff;color:var(--violet)}.central-workshop-card.blue .central-ws-title>span{background:#e9f6ff;color:#168edc}.central-workshop-card.amber .central-ws-title>span{background:#fff5dc;color:#c88400}.central-ws-title h3{font:700 11px Manrope;margin:0}.central-ws-title small{display:block;color:#93a19d;font-size:8px;white-space:nowrap}.central-ro{text-align:right}.central-ro span,.central-ro strong,.central-ro em{display:block}.central-ro span{font-size:8px;color:#8d9b97}.central-ro strong{font:700 19px Manrope;line-height:20px}.central-ro em{font-style:normal;font-size:8px;color:#00a47b;font-weight:700}.workshop-achievement{min-height:48px;padding:7px 11px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;background:#fbfdfc;border-bottom:1px solid var(--line)}.workshop-achievement>div:first-child span,.workshop-achievement>div:first-child small{display:block}.workshop-achievement>div:first-child span{font-size:8px;font-weight:700;color:#405651}.workshop-achievement>div:first-child small{font-size:7px;color:#94a29e}.achievement-track{height:5px;background:#e8efed;border-radius:5px;overflow:hidden}.achievement-track i{display:block;height:100%;background:var(--mint);border-radius:5px}.central-workshop-card.violet .achievement-track i{background:var(--violet)}.central-workshop-card.blue .achievement-track i{background:var(--blue)}.central-workshop-card.amber .achievement-track i{background:var(--amber)}.workshop-achievement>strong{font:700 10px Manrope;color:#1d3d36}.central-data-block{padding:10px 11px 7px;border-bottom:1px solid var(--line)}.central-data-block:last-child{border-bottom:0}.central-block-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.central-block-title span{font-size:9px;font-weight:700;color:#405651}.central-block-title b{font-size:7px;color:#899894;font-weight:500;background:#f2f6f5;padding:2px 5px;border-radius:5px}.central-service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.central-service-list>div{height:29px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:5px;padding:0 5px;background:#f8faf9;border:1px solid #edf2f1;border-radius:6px}.central-service-list>div>span{width:18px;height:18px;border-radius:5px;background:#e8f7f3;color:#008b68;display:grid;place-items:center;font:700 6px Manrope}.central-service-list small{font-size:7px;color:#748480;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.central-service-list strong{font:700 9px Manrope}.source-block{padding-bottom:10px}.central-source-list{display:grid;gap:6px}.central-source-list>div{display:grid;grid-template-columns:78px 1fr 20px;align-items:center;gap:5px}.central-source-list span{font-size:8px;color:#667975;white-space:nowrap}.central-source-list i{height:3px;background:#ecf2f0;border-radius:4px;overflow:hidden}.central-source-list i b{display:block;height:100%;background:var(--mint);border-radius:4px}.central-workshop-card.violet .central-source-list i b{background:var(--violet)}.central-workshop-card.blue .central-source-list i b{background:var(--blue)}.central-workshop-card.amber .central-source-list i b{background:var(--amber)}.central-source-list>div>strong{font:700 8px Manrope;text-align:right}.central-reconcile{min-height:43px;margin-top:12px;padding:0 12px;display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:9px;font-size:9px;color:#788a86}.central-reconcile>span{display:flex;align-items:center;gap:5px}.central-reconcile>span i{width:6px;height:6px;background:var(--mint);border-radius:50%;box-shadow:0 0 6px var(--mint)}.central-reconcile>div{display:flex;gap:14px;margin-left:auto}.central-reconcile b{color:#2a443e;margin-left:3px}.central-reconcile>strong{font:700 11px Manrope;color:#007f60;padding-left:12px;border-left:1px solid var(--line)}
.central-card-actions{display:flex;align-items:center;gap:7px}.central-expand{width:27px;height:27px;border:1px solid #dce8e5;background:#fff;color:#66817b;border-radius:7px;font-size:14px;line-height:1;display:grid;place-items:center;transition:.2s}.central-expand:hover{color:#008a68;border-color:#9edcca;background:var(--mint-soft);transform:scale(1.04)}.workshop-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;opacity:0;visibility:hidden;transition:.25s}.workshop-modal.open{opacity:1;visibility:visible}.workshop-modal-backdrop{position:absolute;inset:0;background:rgba(7,27,23,.65);backdrop-filter:blur(6px)}.workshop-modal-dialog{position:relative;width:min(920px,95vw);max-height:90vh;overflow:auto;background:#f7fbfa;border:1px solid rgba(255,255,255,.5);border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.28);transform:translateY(12px) scale(.98);transition:.25s}.workshop-modal.open .workshop-modal-dialog{transform:none}.workshop-modal-dialog>header{position:sticky;top:0;z-index:3;min-height:67px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.modal-kicker{display:block;color:#00a47b;font-size:8px;font-weight:700;letter-spacing:1.2px}.workshop-modal-dialog>header h2{font:700 16px Manrope;margin:3px 0 0}.workshop-modal-close{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#68817b;font-size:22px;line-height:1}.workshop-modal-body{padding:16px}.workshop-modal-body .central-workshop-card{border-radius:13px;box-shadow:0 6px 24px rgba(24,66,59,.08)}.workshop-modal-body .central-workshop-card>header{padding:16px 18px}.workshop-modal-body .central-ws-title>span{width:42px;height:42px;flex-basis:42px;font-size:12px}.workshop-modal-body .central-ws-title h3{font-size:16px}.workshop-modal-body .central-ws-title small{font-size:10px}.workshop-modal-body .central-ro span,.workshop-modal-body .central-ro em{font-size:10px}.workshop-modal-body .central-ro strong{font-size:27px;line-height:29px}.workshop-modal-body .workshop-achievement{grid-template-columns:170px 1fr 55px;padding:12px 18px}.workshop-modal-body .workshop-achievement>div:first-child span{font-size:11px}.workshop-modal-body .workshop-achievement>div:first-child small{font-size:9px}.workshop-modal-body .achievement-track{height:7px}.workshop-modal-body .workshop-achievement>strong{font-size:13px}.workshop-modal-body .central-data-block{padding:15px 18px}.workshop-modal-body .central-block-title span{font-size:12px}.workshop-modal-body .central-block-title b{font-size:9px}.workshop-modal-body .central-service-list{grid-template-columns:repeat(5,1fr);gap:8px}.workshop-modal-body .central-service-list>div{height:44px;grid-template-columns:28px 1fr auto;padding:0 9px}.workshop-modal-body .central-service-list>div>span{width:25px;height:25px;font-size:8px}.workshop-modal-body .central-service-list small{font-size:9px}.workshop-modal-body .central-service-list strong{font-size:12px}.workshop-modal-body .central-source-list{grid-template-columns:repeat(5,1fr);gap:10px}.workshop-modal-body .central-source-list>div{display:grid;grid-template-columns:1fr auto;gap:5px;padding:9px;background:#f8faf9;border:1px solid #edf2f1;border-radius:8px}.workshop-modal-body .central-source-list span{font-size:10px}.workshop-modal-body .central-source-list i{grid-column:1/3;height:5px}.workshop-modal-body .central-source-list>div>strong{font-size:11px;grid-column:2;grid-row:1}.workshop-modal-body .central-expand{display:none}
.table-panel{overflow:hidden}.table-header{padding:17px 18px 14px;border-bottom:1px solid var(--line);align-items:center}.table-actions label{width:170px;height:34px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;padding:0 9px;gap:6px}.table-actions label svg{width:14px;color:#8a9996}.table-actions input{border:0;outline:0;width:100%;font-size:9px}.table-actions .btn-secondary-soft{height:34px}.table-responsive{overflow:auto}.model-table{width:100%;border-collapse:collapse;white-space:nowrap}.model-table th{background:#f7faf9;color:#73827f;font-size:8px;text-transform:uppercase;letter-spacing:.4px;font-weight:600;padding:10px 16px;border-bottom:1px solid var(--line);text-align:right}.model-table th:first-child,.model-table td:first-child{text-align:left}.model-table th button{border:0;background:transparent;color:#9ba6a4}.model-table td{text-align:right;padding:10px 16px;border-bottom:1px solid #edf2f1;font-size:9px;color:#566864}.model-table tbody tr:hover{background:#f9fcfb}.vehicle-name{display:flex;align-items:center;gap:9px}.vehicle-name>span{width:28px;height:28px;border-radius:8px;background:#edf7f4;color:#16876a;font:700 8px Manrope;display:grid;place-items:center}.vehicle-name strong,.vehicle-name small{display:block}.vehicle-name strong{font-size:9px}.vehicle-name small{font-size:7px;color:#99a5a2}.cell-progress{display:flex;align-items:center;justify-content:flex-end;gap:7px}.cell-progress:before{content:"";width:45px;height:3px;border-radius:4px;background:linear-gradient(90deg,var(--mint) 65%,#edf2f1 65%)}.model-table b{font-size:8px}.table-footer{min-height:48px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:8px;color:#85938f}.table-footer div{display:flex;gap:3px}.table-footer button{width:26px;height:26px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#7b8986;font-size:9px}.table-footer button.active{background:var(--mint-soft);border-color:#c6f1e4;color:#008866;font-weight:700}.page-footer{height:57px;display:flex;align-items:center;justify-content:space-between;color:#95a19e;font-size:8px}.page-footer div{display:flex;align-items:center;gap:5px}.page-footer i{width:6px;height:6px;border-radius:50%;background:var(--mint)}
.toast-message{position:fixed;right:24px;bottom:24px;background:#102a26;color:#fff;border-radius:12px;padding:12px 16px;display:flex;align-items:center;gap:10px;box-shadow:0 12px 36px rgba(16,42,38,.26);z-index:60;transform:translateY(90px);opacity:0;transition:.35s}.toast-message.show{transform:none;opacity:1}.toast-message>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--mint);color:#073c31}.toast-message strong,.toast-message small{display:block}.toast-message strong{font-size:10px}.toast-message small{color:#8eaaa5;font-size:8px}.mobile-menu,.sidebar-close{display:none}.reveal{animation:reveal .5s ease both}.kpi-card:nth-child(2){animation-delay:.05s}.kpi-card:nth-child(3){animation-delay:.1s}.kpi-card:nth-child(4){animation-delay:.15s}
/* Slightly larger comfort typography while preserving the compact dashboard density. */
.page-heading p{font-size:12px}.breadcrumb{font-size:13px}.global-search input,.profile strong{font-size:12px}.profile small{font-size:10px}.nav-label{font-size:10px}.sidebar-card strong{font-size:12px}.sidebar-card small,.sidebar-footer{font-size:10px}.btn-secondary-soft,.btn-primary-neon{font-size:12px}.period-filter button,.select-filter select,.more-filter,.reset-filter{font-size:11px}.select-filter span{font-size:9px}.kpi-label{font-size:11px}.kpi-bottom{font-size:10px}.trend{font-size:10px}.panel-header h2,.section-title h2{font-size:15px}.panel-header p,.section-title p{font-size:10px}.chart-tabs button,.chart-summary>span{font-size:10px}.chart-legend,.line-chart .axis-label{font-size:9px}.donut-chart span,.donut-legend span,.donut-legend em{font-size:9px}.donut-legend strong{font-size:11px}.branch-head>div:nth-child(2) strong{font-size:11px}.branch-head>div:nth-child(2) span,.branch-numbers span,.branch-footer{font-size:9px}.branch-numbers .positive,.branch-numbers .negative{font-size:10px}.service-item span{font-size:9px}.service-item em,.service-item>b{font-size:8px}.service-view-tabs button{font-size:10px}.branch-service-panel h3{font-size:13px}.branch-service-panel header small,.branch-service-total span,.branch-service-total em{font-size:8px}.branch-service-label strong{font-size:9px}.branch-service-label small,.branch-service-row>em{font-size:8px}.ro-workshop-card>header>div:first-child strong{font-size:11px}.ro-workshop-card header small,.ro-workshop-card>header>div:last-child span{font-size:9px}.ro-source-row>div>strong{font-size:10px}.ro-source-row>em,.ro-source-footer,.ro-source-legend{font-size:9px}.model-table th{font-size:9px}.model-table td,.vehicle-name strong{font-size:10px}.vehicle-name small,.page-footer{font-size:8px}.table-footer{font-size:9px}.table-actions input{font-size:10px}
@keyframes reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes pulse{50%{transform:scale(1.08);opacity:.35}}@keyframes donutIn{from{transform:scale(.8) rotate(-30deg);opacity:0}to{transform:none;opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1180px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.branch-grid{grid-template-columns:repeat(2,1fr)}.service-grid{grid-template-columns:repeat(2,1fr)}.service-item:nth-child(5n){border-right:1px solid var(--line)}.service-item:nth-child(2n){border-right:0}.service-item:nth-child(n+6){border-bottom:1px solid var(--line)}.service-item:nth-last-child(-n+2){border-bottom:0}.filter-bar{flex-wrap:wrap}.reset-filter{margin-left:0}.select-filter{flex:1}.dashboard-grid{grid-template-columns:1.6fr .8fr}.ro-workshop-grid{grid-template-columns:repeat(2,1fr)}.ro-source-footer{align-items:flex-start;gap:8px;flex-direction:column;padding-block:10px}.ro-source-footer>div{width:100%;justify-content:space-between}.revenue-branch-layout{grid-template-columns:1fr}.common-workshop-list{grid-template-columns:repeat(3,1fr)}.common-ws-card{grid-template-columns:31px 1fr}.common-ws-card>div:nth-child(3),.common-ws-card>b{grid-column:2;text-align:left}.central-workshop-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:none}.sidebar-scrim{position:fixed;inset:0;background:rgba(8,25,22,.45);z-index:35;opacity:0;visibility:hidden;transition:.25s}.sidebar-scrim.open{opacity:1;visibility:visible}.sidebar-close{display:block;margin-left:auto;color:#86a59f;font-size:22px}.workspace{margin-left:0;width:100%}.mobile-menu{display:grid;width:35px;height:35px;border:1px solid var(--line);border-radius:8px}.topbar{padding:0 18px}.topbar-left{display:flex;align-items:center;gap:12px}.global-search,.profile>div:not(.avatar){display:none}.main-content{padding:23px 18px 10px}.dashboard-grid{grid-template-columns:1fr}.trend-panel,.contribution-panel{height:auto;min-height:350px}.donut-legend{max-width:400px;margin:auto}.filter-divider{display:none}}
@media(max-width:590px){.page-heading{align-items:flex-start}.page-heading p{max-width:260px}.heading-actions .btn-secondary-soft{display:none}.heading-actions .btn-primary-neon{font-size:0;padding:0 11px}.heading-actions .btn-primary-neon svg{width:17px}.filter-bar{gap:7px}.period-filter{width:100%}.period-filter button{flex:1}.select-filter{min-width:calc(50% - 4px)}.more-filter{flex:1}.kpi-grid,.branch-grid{grid-template-columns:1fr}.chart-summary .chart-legend{display:none}.line-chart{height:210px}.service-grid{grid-template-columns:1fr}.service-item,.service-item:nth-child(5n),.service-item:nth-child(2n),.service-item:nth-child(n+6){border-right:0;border-bottom:1px solid var(--line)}.service-item:last-child{border-bottom:0}.service-total{display:none}.table-actions label{display:none}.page-footer span:first-child{display:none}.breadcrumb span,.breadcrumb b{display:none}.central-workshop-grid{grid-template-columns:1fr}.central-workshop-heading{align-items:flex-start}.central-heading-metrics{gap:8px}.central-target-summary{min-width:100px}.central-target-summary>small{display:none}.central-total{padding-left:8px}.central-total span,.central-total em{display:none}.central-reconcile{align-items:flex-start;flex-direction:column;padding-block:10px}.central-reconcile>div{display:grid;grid-template-columns:repeat(2,1fr);width:100%;margin-left:0}.central-reconcile>strong{border-left:0;padding-left:0}.workshop-modal{padding:8px}.workshop-modal-dialog{width:100%;max-height:96vh}.workshop-modal-body{padding:9px}.workshop-modal-body .central-service-list,.workshop-modal-body .central-source-list{grid-template-columns:repeat(2,1fr)}.workshop-modal-body .workshop-achievement{grid-template-columns:110px 1fr 45px}.workshop-modal-body .central-data-block{padding-inline:11px}}

/* Live reporting and administration */
.period-filter a{border:0;background:transparent;border-radius:7px;padding:8px 15px;color:#73827f;font-size:11px;font-weight:600;text-decoration:none}.period-filter a.active{background:#fff;color:#0b9b76;box-shadow:0 2px 7px rgba(24,66,59,.1)}.empty-live-state{padding:70px 24px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.empty-live-state .metric-icon{margin:0 auto 15px}.empty-live-state h2{font:700 21px Manrope}.empty-live-state p{color:#71817e;margin:8px auto 22px}.cancelled-badge,.cancelled-inline{color:#c35e3a;background:#fff0e9;border-radius:12px;padding:3px 7px;font-size:9px}.cancelled-inline{white-space:nowrap}.live-contribution-list>div{display:grid;grid-template-columns:1.4fr 1fr 35px 44px;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.live-contribution-list>div>span{font-size:10px;font-weight:600}.live-contribution-list>div>span i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--mint);margin-right:7px}.live-contribution-list>div>span small{display:block;color:#98a4a1;margin-left:14px}.live-contribution-list>div>div{height:5px;background:#edf2f1;border-radius:8px;overflow:hidden}.live-contribution-list>div>div b{display:block;height:100%;background:linear-gradient(90deg,var(--mint),#72e3c5)}.live-contribution-list strong{font-size:11px}.live-contribution-list em{font-size:9px;color:#71817e;font-style:normal}.live-contribution-list .cancelled-inline{grid-column:1/-1;justify-self:end}.target-not-set{margin-top:13px;padding-top:9px;border-top:1px solid var(--line);font-size:9px;color:#a08d6c}.live-metric-grid{display:grid;grid-template-columns:repeat(3,1fr)}.live-metric-grid article{display:grid;grid-template-columns:37px 1fr auto auto;align-items:center;gap:10px;padding:17px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.live-metric-grid article>div strong,.live-metric-grid article>div small{display:block}.live-metric-grid article>div strong{font-size:10px}.live-metric-grid article>div small{font-size:8px;color:#8a9996}.live-metric-grid article>b{font:700 18px Manrope}.live-metric-grid article>em{font-size:9px;font-style:normal}.live-metric-grid .cancelled-inline{grid-column:2/-1;justify-self:start}.service-symbol{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:9px;font-weight:700}.service-symbol.mint{background:var(--mint-soft);color:#078163}.service-symbol.blue{background:#eef4ff;color:#416cbb}.branch-source-breakdown{padding:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border-top:1px solid var(--line)}.branch-source-breakdown article{border:1px solid var(--line);border-radius:11px;padding:13px}.branch-source-breakdown header{display:flex;justify-content:space-between;margin-bottom:10px}.branch-source-breakdown header strong{font-size:11px}.branch-source-breakdown header span{font-size:8px;color:#81908d}.branch-source-breakdown article>div{display:grid;grid-template-columns:1fr 70px 25px;gap:8px;align-items:center;font-size:8px;margin-top:7px}.branch-source-breakdown i{height:4px;background:#eef2f1;border-radius:5px;overflow:hidden}.branch-source-breakdown i b{display:block;height:100%;background:var(--mint)}.logout-button{border:0;background:transparent;color:#71817e;font-size:9px;white-space:nowrap}.logout-button:hover{color:#0b9b76}
.admin-tabs{display:flex;gap:5px;background:#fff;border:1px solid var(--line);padding:6px;border-radius:12px;margin-bottom:16px;overflow-x:auto}.admin-tabs a{padding:10px 15px;border-radius:8px;text-decoration:none;color:#687975;font-size:11px;font-weight:600;white-space:nowrap}.admin-tabs a.active{background:#102a26;color:#fff}.admin-tabs b{margin-left:5px;background:#ff7b62;color:#fff;border-radius:10px;padding:1px 6px}.admin-alert{padding:11px 14px;border-radius:9px;margin-bottom:13px;font-size:11px}.admin-alert.success{background:#e7fbf4;color:#08795e}.admin-alert.error{background:#fff0ec;color:#ad432b}.admin-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;margin-bottom:16px}.admin-form-card,.admin-summary,.admin-list,.admin-table-card{padding:20px}.admin-form-card header h2,.admin-summary h2,.admin-list h2,.admin-table-card header h2{font:700 15px Manrope}.admin-form-card header p,.admin-table-card header p,.admin-summary p{font-size:10px;color:#7d8c89}.admin-form{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.admin-form label,.auth-card label{font-size:9px;color:#687975;font-weight:600}.admin-form input,.admin-form select,.auth-card input,.inline-master-form select,.user-actions input{display:block;width:100%;height:39px;margin-top:5px;border:1px solid var(--line);border-radius:8px;padding:0 10px;font-size:10px;outline:0;background:#fff}.admin-form input:focus,.admin-form select:focus,.auth-card input:focus{border-color:var(--mint);box-shadow:0 0 0 3px var(--mint-soft)}.admin-form button{align-self:end}.file-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:135px;border:1px dashed #9ebbb4;background:#f6fbf9;border-radius:11px;margin:15px 0;text-align:center;cursor:pointer}.file-drop input{max-width:230px;margin-bottom:8px;font-size:10px}.file-drop strong{font-size:11px}.file-drop span{font-size:9px;color:#8a9996}.rule-note{margin-top:15px;padding:12px;background:#f6f8f7;border-radius:9px}.rule-note strong,.rule-note span{display:block;font-size:9px}.rule-note span{color:#788784;margin-top:3px}.admin-summary>div,.admin-list>div{padding:12px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px}.admin-summary>div span,.admin-summary>div small{font-size:10px}.admin-summary>div strong{font:700 19px Manrope;margin-left:auto}.admin-summary>a{display:block;margin-top:14px;color:#078163;font-size:10px}.admin-list>div strong{font-size:10px}.admin-list>div small{margin-left:auto;color:#899894;font-size:9px}.master-code{display:inline-grid;place-items:center;min-width:32px;height:25px;padding:0 6px;border-radius:7px;background:var(--mint-soft);color:#08795e;font-size:9px;font-weight:700}.admin-table{width:100%;border-collapse:collapse}.admin-table th{color:#85938f;text-transform:uppercase;font-size:8px;letter-spacing:.5px;padding:10px;border-bottom:1px solid var(--line)}.admin-table td{padding:11px 10px;border-bottom:1px solid var(--line);font-size:9px}.status-pill{background:#e8faf4;color:#078163;padding:3px 7px;border-radius:10px}.empty-cell{text-align:center;color:#95a19f;padding:25px!important}.inline-master-form{display:flex;gap:6px}.inline-master-form select{height:32px;margin:0}.inline-master-form button,.user-actions button{border:0;background:#102a26;color:#fff;border-radius:7px;padding:0 11px;font-size:9px}.admin-master-grid,.user-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.location-master-card,.user-card{padding:17px}.location-master-card header,.user-card header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.location-master-card header h3,.user-card h3{font:700 12px Manrope;margin:0}.location-master-card header span,.location-master-card header small,.user-card header span{font-size:8px;color:#84938f}.location-master-card header small{margin-left:auto}.branch-checks{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.branch-checks label,.role-check{font-size:9px;border:1px solid var(--line);border-radius:7px;padding:6px 8px}.admin-form fieldset{border:0;padding:0;grid-column:1/-1}.admin-form legend{font-size:9px;color:#687975}.user-card header>b{margin-left:auto;font-size:8px;padding:4px 8px;border-radius:10px}.user-card header>b.active{background:#e5faf3;color:#078163}.user-card header>b.inactive{background:#fff0ec;color:#b54b33}.user-actions{border-top:1px solid var(--line);padding-top:12px;display:flex;gap:8px}.user-actions form{display:flex;gap:5px;flex:1}.user-actions input{height:33px;margin:0}.auth-body{background:#eff6f3}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-brand-panel{background:radial-gradient(circle at 20% 20%,rgba(0,209,154,.22),transparent 38%),linear-gradient(145deg,#102a26,#071a17);color:#fff;padding:9vw;display:flex;flex-direction:column;justify-content:center}.auth-logo{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:var(--mint);color:#073a2f;font:800 17px Manrope;box-shadow:0 0 30px rgba(0,209,154,.3);margin-bottom:27px}.auth-brand-panel h1{font:800 38px Manrope}.auth-brand-panel h1 span{color:var(--mint)}.auth-brand-panel p{max-width:470px;color:#8eaaa5}.auth-brand-panel ul{padding:0;list-style:none;margin-top:25px;color:#b3cbc6;font-size:11px}.auth-brand-panel li{margin:10px 0}.auth-brand-panel li:before{content:'âœ“';color:var(--mint);margin-right:9px}.auth-form-panel{display:grid;place-items:center;padding:25px}.auth-card{width:min(410px,100%);padding:34px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 20px 55px rgba(18,53,46,.1)}.auth-card-heading small{color:#078163;font-size:9px;font-weight:700;letter-spacing:1px}.auth-card-heading h2{font:700 22px Manrope;margin:7px 0}.auth-card-heading p{font-size:10px;color:#7b8a87;margin-bottom:22px}.auth-card label{display:block;margin-top:12px}.auth-check{display:flex!important;align-items:center;gap:7px}.auth-check input{width:auto;height:auto;margin:0}.auth-submit{width:100%;justify-content:center;margin-top:20px}.auth-hint{margin-top:18px;padding:11px;background:#f5f8f7;border-radius:9px}.auth-hint strong,.auth-hint span,.auth-hint small{display:block;font-size:9px}.auth-hint small{color:#879591;margin-top:4px}.validation-summary{color:#b3432b;font-size:9px}.auth-message{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.auth-message p{color:#74837f;margin-bottom:20px}
.danger-link{border:1px solid #f2c5b9;background:#fff7f4;color:#b54b33;border-radius:7px;padding:7px 10px;font-size:9px}.danger-link:hover{background:#fff0ec}.model-branch-filters{display:flex;gap:6px;padding:10px 17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow-x:auto}.model-branch-filters button{border:1px solid var(--line);background:#fff;color:#657672;border-radius:15px;padding:6px 12px;font-size:9px;font-weight:600;white-space:nowrap}.model-branch-filters button.active{background:#102a26;border-color:#102a26;color:#fff}.model-pagination{display:flex;align-items:center;gap:7px}.model-pagination button{border:1px solid var(--line);background:#fff;color:#536662;border-radius:7px;padding:5px 9px;font-size:8px}.model-pagination button:disabled{opacity:.4}.model-pagination span{font-size:8px;color:#778784}
@media(max-width:1000px){.live-metric-grid,.branch-source-breakdown{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.auth-shell{grid-template-columns:1fr}.auth-brand-panel{display:none}}
@media(max-width:650px){.live-metric-grid,.branch-source-breakdown,.admin-master-grid,.user-grid{grid-template-columns:1fr}.admin-form{grid-template-columns:1fr}.admin-form fieldset{grid-column:auto}.admin-tabs{position:sticky;top:70px;z-index:10}.profile form{display:none}}

/* Reporting readability and same-day delivery */
.kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.date-filter{height:40px;min-width:132px;padding:5px 10px;border:1px solid var(--line);border-radius:8px;background:#fff}.date-filter span{display:block;color:#899895;font-size:9px;line-height:10px}.date-filter input{width:100%;border:0;outline:0;background:transparent;color:#344844;font-size:10px;font-weight:600}.profile{border-left:0}.line-chart .axis-label{fill:#526762;font:600 11px "DM Sans";letter-spacing:0}.central-ws-title h3{font-size:13px}.central-ws-title small{font-size:10px}.central-ro span{font-size:10px}.central-ro strong{font-size:22px;line-height:23px}.central-ro em{font-size:9px}.workshop-achievement>div:first-child span{font-size:10px}.workshop-achievement>div:first-child small{font-size:9px}.workshop-achievement>strong{font-size:12px}.central-block-title span{font-size:11px}.central-block-title b{font-size:9px}.central-service-list small{font-size:9px}.central-service-list strong{font-size:11px}.central-source-list span{font-size:10px}.central-source-list>div>strong{font-size:10px}.same-day-delivery-row{min-height:48px;padding:8px 11px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;background:linear-gradient(90deg,#f2fbf8,#fbfefd);border-bottom:1px solid var(--line)}.same-day-delivery-row span,.same-day-delivery-row small{display:block}.same-day-delivery-row span{font-size:10px;font-weight:700;color:#315048}.same-day-delivery-row small{font-size:8px;color:#849691}.same-day-delivery-row>strong{font:700 18px Manrope;color:#123d34}.same-day-delivery-row>b{font-size:10px;color:#008d69;background:var(--mint-soft);padding:4px 7px;border-radius:9px}.vehicle-name small{display:none}
.same-day-inline{grid-column:2/-1;display:flex;align-items:center;gap:7px;justify-self:start;background:#eafaf5;border:1px solid #d3f2e8;border-radius:12px;padding:4px 8px;color:#08795e}.same-day-inline b{font-size:8px}.same-day-inline em{font-size:9px;font-style:normal;font-weight:700}.same-day-table-value{color:#08795e}.same-day-table-percent{display:inline-block;color:#08795e;background:var(--mint-soft);border-radius:10px;padding:4px 7px;font-size:9px;font-weight:700}
@media(max-width:1180px){.kpi-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:590px){.kpi-grid{grid-template-columns:1fr}.date-filter{min-width:calc(50% - 4px);flex:1}}
@media(max-width:900px){.branch-service-panels{grid-template-columns:1fr}}

/* Service Advisor workspace */
.sa-filter-bar{align-items:center}.sa-filter-bar .period-filter a{display:flex;align-items:center;justify-content:center;min-width:62px;padding:0 12px;border-radius:7px;color:#73827f;text-decoration:none;font-size:11px;font-weight:600}.sa-filter-bar .period-filter a.active{background:#fff;color:#078565;box-shadow:0 2px 7px rgba(24,66,59,.1)}
.sa-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:14px}.sa-analysis-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);gap:14px;margin-bottom:14px}.sa-timeline-panel,.sa-contribution-panel,.sa-table-panel,.sa-matrix-panel{padding:19px;margin-bottom:14px;min-width:0}.sa-timeline-panel,.sa-contribution-panel{min-height:355px}.data-level-pill{font-size:10px;font-weight:700;color:#087d60;background:var(--mint-soft);padding:6px 9px;border-radius:8px;white-space:nowrap}.sa-chart-legend{display:flex;gap:18px;justify-content:flex-end;color:#788985;font-size:10px;margin-top:8px}.sa-chart-legend span{display:flex;align-items:center;gap:6px}.sa-chart-legend i,.sa-chart-legend b{width:17px;height:2px;background:var(--mint);display:inline-block}.sa-chart-legend b{height:0;border-top:2px dashed #a6b5b1;background:transparent}.sa-timeline-chart{height:270px;margin-top:5px;overflow:hidden}.sa-timeline-chart svg{width:100%;height:100%;overflow:visible}.sa-chart-grid{stroke:#e8efed;stroke-width:1}.sa-chart-axis{fill:#536762;font:600 11px "DM Sans",sans-serif}.sa-contribution-list{display:grid;gap:16px;margin-top:20px}.sa-contribution-list>div{display:grid;grid-template-columns:minmax(115px,1fr) minmax(80px,1.5fr) 48px;align-items:center;gap:11px}.sa-contribution-list>div>span{font-size:12px;font-weight:700;overflow-wrap:anywhere}.sa-contribution-list small{display:block;color:#82928e;font-size:10px;font-weight:500;margin-top:3px}.sa-contribution-list>div>i{height:8px;background:#edf3f1;border-radius:10px;overflow:hidden}.sa-contribution-list>div>i b{height:100%;display:block;background:linear-gradient(90deg,#00b987,#61e4bd);border-radius:10px}.sa-contribution-list>div>strong{text-align:right;font:700 12px Manrope}.sa-performance-table,.sa-matrix-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.sa-performance-table th,.sa-matrix-table th{padding:12px 11px;background:#f5f9f8;color:#5c716c;font-size:10px;font-weight:700;text-align:left;white-space:nowrap;border-bottom:1px solid var(--line)}.sa-performance-table td,.sa-matrix-table td{padding:12px 11px;border-bottom:1px solid #edf2f1;white-space:nowrap;vertical-align:middle}.sa-performance-table tbody tr:last-child td,.sa-matrix-table tbody tr:last-child td{border-bottom:0}.sa-performance-table tbody tr:hover,.sa-matrix-table tbody tr:hover{background:#f8fcfb}.sa-performance-table td:first-child strong{font-size:12px}.sa-performance-table td small.sa-share{display:block;color:#84948f;font-size:10px;margin-top:3px}.sa-change{display:inline-flex;padding:4px 7px;border-radius:7px;background:#e9faf4;font-size:10px;font-weight:700}.same-day-table-percent{color:#078765;font-weight:700}.sa-matrix-total{font-size:11px;color:#60736e;background:#f2f7f5;border-radius:8px;padding:6px 9px}.sa-matrix-table th:first-child{min-width:180px;position:sticky;left:0;z-index:1}.sa-matrix-table td{text-align:center;min-width:92px}.sa-matrix-table td:last-child{font-weight:700;background:#f9fbfa}.sa-matrix-table tbody th{background:#fff;color:#263c36;text-transform:none;font-size:11px;position:sticky;left:0;z-index:1}.sa-empty,.empty-cell{padding:20px;color:#84948f;font-size:12px;text-align:center}.empty-live-state{padding:32px;background:#fff;border:1px solid var(--line);border-radius:14px;color:#50645f}.empty-live-state h2{font:700 18px Manrope}.empty-live-state p{font-size:13px;color:#788985}
/* Expanded workshop reporting modal */
.workshop-modal-dialog{width:min(1380px,97vw);max-height:96vh}.workshop-modal-dialog>header{min-height:76px;padding:15px 24px}.workshop-modal-dialog>header h2{font-size:20px}.modal-kicker{font-size:10px}.workshop-modal-body{padding:20px 24px 12px}.workshop-modal-body .central-workshop-card{width:100%;border-radius:16px}.workshop-modal-body .central-service-list{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:8px}.workshop-modal-body .central-service-list>div{height:48px;grid-template-columns:32px 1fr auto;padding:0 11px}.workshop-modal-body .central-service-list>div>span{width:28px;height:28px;font-size:10px}.workshop-modal-body .central-service-list small{font-size:12px}.workshop-modal-body .central-service-list strong{font-size:14px}.workshop-modal-body .central-source-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:9px}.workshop-modal-body .central-source-list>div{grid-template-columns:1fr auto;gap:7px;padding:11px}.workshop-modal-body .central-source-list span{font-size:12px}.workshop-modal-body .central-source-list i{height:6px}.workshop-modal-body .central-source-list>div>strong{font-size:13px}.workshop-modal-body .central-data-block{padding:18px 22px}.workshop-modal-body .central-block-title span{font-size:14px}.workshop-modal-body .central-block-title b{font-size:11px}.workshop-modal-insights{padding:8px 24px 24px}.workshop-modal-insights>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:13px 13px 0 0}.workshop-modal-insights>header>div:first-child>span{font-size:10px;color:#008c69;font-weight:700;letter-spacing:1px}.workshop-modal-insights h3{font:700 17px Manrope;margin:4px 0 0}.workshop-modal-quality{display:flex;gap:10px}.workshop-modal-quality article{min-width:130px;padding:9px 12px;background:#f4faf8;border:1px solid #e2f0eb;border-radius:10px}.workshop-modal-quality small,.workshop-modal-quality strong,.workshop-modal-quality em{display:block}.workshop-modal-quality small{color:#70827c;font-size:11px}.workshop-modal-quality strong{font:700 20px Manrope;margin:2px 0}.workshop-modal-quality em{font-style:normal;color:#008c69;font-size:11px}.workshop-modal-insight-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.7fr);gap:12px;padding:12px;background:#f2f7f5;border:1px solid var(--line);border-top:0;border-radius:0 0 13px 13px}.workshop-modal-trend,.workshop-modal-reasons{min-width:0;padding:16px;background:#fff;border:1px solid var(--line);border-radius:11px}.workshop-modal-trend>div:first-child{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.workshop-modal-trend h4,.workshop-modal-reasons h4{font:700 14px Manrope;margin:0}.workshop-modal-trend p{font-size:11px;color:#80918c;margin:0}.workshop-modal-trend>div:first-child strong{margin-left:auto;color:#078565;font-size:13px}.workshop-modal-trend #workshopModalTrendChart{height:240px;margin-top:8px}.workshop-modal-reasons>div{display:grid;gap:8px;margin-top:12px}.workshop-repeat-reason{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;background:#f6faf9;border:1px solid #eaf1ef;border-radius:8px;font-size:12px}.workshop-repeat-reason strong{white-space:nowrap;font-size:12px;color:#344d46}.sa-empty{font-size:12px;color:#758781;margin:0}
@media(max-width:1180px){.sa-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sa-analysis-grid{grid-template-columns:1fr}.sa-timeline-panel,.sa-contribution-panel{min-height:0}}
@media(max-width:760px){.sa-filter-bar .period-filter{width:100%}.sa-filter-bar .period-filter a{flex:1}.sa-kpi-grid{grid-template-columns:1fr}.sa-analysis-grid{grid-template-columns:1fr}.sa-timeline-chart{height:230px}.workshop-modal-insights{padding:8px 10px 14px}.workshop-modal-body{padding:10px}.workshop-modal-dialog>header{padding:12px 15px}.workshop-modal-insights>header{align-items:flex-start;flex-direction:column}.workshop-modal-quality{width:100%}.workshop-modal-quality article{flex:1}.workshop-modal-insight-grid{grid-template-columns:1fr}.workshop-modal-trend #workshopModalTrendChart{height:210px}}
/* Single-advisor drilldown below the overview */
.sa-table-panel,.sa-matrix-panel{display:block}.sa-detail-area{margin:18px 0 28px}.sa-detail-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:22px 0 12px}.sa-detail-heading h2{font:700 20px Manrope;margin:0;letter-spacing:-.4px}.sa-detail-heading p{margin:5px 0 0;font-size:12px;color:#7f908b}.sa-detail-filter{display:flex;align-items:flex-end;gap:12px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);margin-bottom:13px}.sa-search-select{display:grid;grid-template-columns:1fr;gap:5px;min-width:230px}.sa-search-select>span{font-size:10px;font-weight:700;color:#627570}.sa-search-select input,.sa-search-select select{height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 10px;color:#243c36;font:500 12px "DM Sans",sans-serif;outline:none}.sa-search-select input:focus,.sa-search-select select:focus{border-color:#8bdcc4;box-shadow:0 0 0 3px #e8faf4}.sa-search-select select{margin-top:2px}.sa-detail-filter .btn-primary-neon{white-space:nowrap}.sa-detail-prompt{display:flex;align-items:center;gap:12px;padding:17px 20px;background:linear-gradient(110deg,#fff,#f2fbf8);border:1px solid #e1eeea;border-radius:12px}.sa-detail-prompt>span{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#e3f8f1;color:#078565;font:700 12px Manrope}.sa-detail-prompt strong,.sa-detail-prompt small{display:block}.sa-detail-prompt strong{font:700 13px Manrope}.sa-detail-prompt small{margin-top:3px;color:#82928e;font-size:11px}.sa-selected-profile{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;margin:13px 0;background:linear-gradient(115deg,#10382f,#155145);border-radius:13px;color:#fff}.sa-selected-profile>div{display:flex;align-items:center;gap:12px}.sa-profile-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:rgba(0,209,154,.18);color:#83f2d3;font:700 14px Manrope}.sa-selected-profile small{color:#96bdb3;font-size:9px;font-weight:700;letter-spacing:1px}.sa-selected-profile h3{margin:3px 0 0;font:700 18px Manrope}.sa-profile-range{font-size:11px;color:#b4d1c9}.sa-detail-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:13px}.sa-detail-kpis article{display:grid;gap:5px;padding:14px 15px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.sa-detail-kpis small{color:#71827e;font-size:10px;font-weight:600}.sa-detail-kpis strong{font:700 22px Manrope}.sa-detail-kpis span{font-size:10px;color:#82928e}.sa-detail-timeline,.sa-detail-data-panel,.sa-revenue-provision,.sa-repeat-detail{padding:17px;margin-bottom:13px}.sa-detail-timeline .sa-timeline-chart{height:255px}.sa-detail-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.sa-detail-data-panel .panel-header>strong{font:700 13px Manrope;color:#193e35}.sa-detail-list{display:grid;margin-top:12px}.sa-detail-list>div{display:grid;grid-template-columns:34px minmax(0,1fr) auto 54px;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #edf2f1}.sa-detail-list>div:last-child{border-bottom:0}.sa-detail-symbol{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#e5faf3;color:#078565;font:700 9px Manrope}.sa-detail-symbol.model{background:#eef0ff;color:#6558dc}.sa-detail-name{font-size:12px;font-weight:700}.sa-detail-name small{display:block;margin-top:3px;color:#84948f;font-size:10px;font-weight:500}.sa-detail-list>div>strong{font:700 13px Manrope}.sa-detail-list>div>em{font-style:normal;text-align:right;font-size:10px;font-weight:700}.sa-revenue-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:13px}.sa-revenue-cards article{display:grid;gap:7px;min-height:100px;padding:13px;background:#f8faf9;border:1px dashed #d7e5e1;border-radius:10px}.sa-revenue-cards span{font-size:11px;font-weight:700;color:#536761}.sa-revenue-cards strong{font:700 19px Manrope;color:#7f918b}.sa-revenue-cards small{font-size:9px;color:#91a09b}.sa-repeat-reasons{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.sa-repeat-reasons>div{display:grid;grid-template-columns:auto auto;gap:4px 12px;min-width:190px;padding:10px 12px;background:#fff6f2;border:1px solid #f5e7df;border-radius:9px}.sa-repeat-reasons span{font-size:11px;color:#67574f}.sa-repeat-reasons strong{font-size:12px;text-align:right;color:#a85338}.sa-repeat-reasons small{grid-column:1/3;color:#a27a6a;font-size:10px}
@media(max-width:1050px){.sa-detail-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.sa-revenue-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sa-detail-filter{align-items:stretch;flex-direction:column}.sa-search-select{min-width:0}.sa-detail-filter .btn-primary-neon{justify-content:center}.sa-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sa-detail-data-grid{grid-template-columns:1fr}.sa-revenue-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sa-selected-profile{align-items:flex-start;flex-direction:column;gap:10px}.sa-detail-list>div{grid-template-columns:32px minmax(0,1fr) auto}.sa-detail-list>div>em{grid-column:2;grid-row:2;text-align:left}.sa-detail-list>div>strong{grid-column:3;grid-row:1/3}.sa-detail-list>div{row-gap:0}}
/* Keep the original advisor summaries after the new single-advisor drilldown. */
.main-content:has(#saAdvisorDetail){display:flex;flex-direction:column}.main-content:has(#saAdvisorDetail)>.page-heading{order:0}.main-content:has(#saAdvisorDetail)>#saFilters{order:1}.main-content:has(#saAdvisorDetail)>.sa-kpi-grid{order:2}.main-content:has(#saAdvisorDetail)>.sa-analysis-grid{order:3}.main-content:has(#saAdvisorDetail)>#saAdvisorDetail{order:4}.main-content:has(#saAdvisorDetail)>.sa-table-panel{order:5}.main-content:has(#saAdvisorDetail)>.sa-matrix-panel{order:6}.sa-table-panel,.sa-matrix-panel{display:block}
.sa-detail-filter{display:grid;grid-template-columns:minmax(250px,1fr) minmax(250px,1fr) auto;align-items:end;gap:12px}.sa-search-select{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:8px;min-width:0}.sa-search-select>span{font-size:11px}.sa-search-select input{grid-column:2;min-width:0;width:100%;height:42px}.sa-detail-filter .btn-primary-neon{height:42px}.sa-chart-legend [data-series]{cursor:pointer;transition:color .18s,transform .18s}.sa-chart-legend [data-series]:hover{color:#173e34;transform:translateY(-1px)}.sa-chart-legend em{font-style:normal}.sa-timeline-chart [data-series]{transition:opacity .18s,stroke-width .18s}.sa-timeline-chart [data-index]{cursor:crosshair;outline:none}.sa-timeline-chart [data-index]:hover,.sa-timeline-chart [data-index]:focus{r:6;filter:drop-shadow(0 0 4px rgba(0,185,138,.45))}
@media(max-width:900px){.sa-detail-filter{grid-template-columns:1fr 1fr}.sa-detail-filter .btn-primary-neon{grid-column:1/-1;justify-content:center}}
@media(max-width:620px){.sa-detail-filter{grid-template-columns:1fr}.sa-search-select{grid-template-columns:1fr}.sa-search-select input{grid-column:1}.sa-detail-filter .btn-primary-neon{grid-column:1}}
.chart-empty-state{margin:0;padding:42px 18px;text-align:center;color:#71827e;font-size:13px;background:linear-gradient(180deg,#fff,#f8fbfa);border:1px dashed #dce8e5;border-radius:10px}
.workshop-modal-trend #workshopModalTrendChart>svg{display:block;width:100%;height:100%;overflow:visible}
.sa-timeline-chart{position:relative;overflow:visible}.sa-chart-tooltip{position:absolute;z-index:2;display:grid;gap:3px;min-width:150px;transform:translate(-50%,-112%);padding:8px 10px;border-radius:8px;background:#102a26;color:#d5e8e2;box-shadow:0 8px 20px rgba(11,39,33,.18);font-size:10px;pointer-events:none;white-space:nowrap}.sa-chart-tooltip strong{color:#fff;font-size:11px}.sa-chart-tooltip span:first-of-type{color:#71f0ce}
.sa-table-search{height:36px;min-width:190px;display:flex;align-items:center;gap:7px;padding:0 9px;background:#fff;border:1px solid var(--line);border-radius:8px}.sa-table-search svg{width:15px;height:15px;color:#8a9995}.sa-table-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#304842;font:500 11px "DM Sans",sans-serif}.sa-table-search:focus-within{border-color:#8bdcc4;box-shadow:0 0 0 3px #e8faf4}
@media(max-width:900px){.sa-filter-bar{align-items:stretch}.sa-table-panel>.panel-header,.sa-matrix-panel>.panel-header{flex-wrap:wrap}.sa-table-search{min-width:100%}}
@media(max-width:760px){.service-header{align-items:flex-start;gap:12px}.service-header-actions{width:100%;justify-content:space-between;gap:8px}.service-view-tabs button{padding-inline:8px}.service-branch-summary{grid-template-columns:repeat(2,1fr)}.ro-source-legend{display:none}.ro-source-footer>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px 14px}.common-workshop-list{grid-template-columns:1fr}.common-ws-card{grid-template-columns:31px 1fr auto}.common-ws-card>div:nth-child(3),.common-ws-card>b{grid-column:3;text-align:right}.hierarchy-note span{display:none}.workshop-reporting-total{flex-wrap:wrap;gap:7px 14px;padding-block:10px}.workshop-reporting-total>strong{width:100%;margin-left:0}}
@media(max-width:460px){.service-header{flex-direction:column}.service-header-actions{justify-content:flex-start}.service-branch-summary{grid-template-columns:1fr 1fr}.service-branch-summary span{padding-inline:7px}.service-branch-summary strong{font-size:9px}.branch-service-list{grid-template-columns:1fr}.branch-service-row:nth-child(odd),.branch-service-row:nth-child(even){border-right:0;padding-inline:6px}.branch-service-row:nth-last-child(2){border-bottom:1px solid #edf2f1}.branch-service-panel>header{padding-inline:12px}.branch-service-total em{display:none}.ro-workshop-grid{grid-template-columns:1fr}.ro-source-footer>div{grid-template-columns:repeat(2,1fr)}.sub-workshop-grid{grid-template-columns:1fr}.sub-workshop-grid>div:nth-child(odd){border-right:0}.sub-workshop-grid>div:nth-last-child(2){border-bottom:1px solid #edf2f1}.revenue-branch-card>header{align-items:flex-start}.revenue-branch-card>header>div:last-child em{display:none}}
/* Modern service and RO source tiles */
.service-panel,.ro-source-panel{padding:0;overflow:hidden;background:linear-gradient(180deg,#fff 0,#fbfdfc 100%)}.service-panel .panel-header,.ro-source-panel .panel-header{padding:20px 22px 17px;background:rgba(255,255,255,.9)}.live-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;background:#f4f8f7}.live-metric-grid article{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;grid-template-rows:auto auto auto;align-items:center;gap:6px 10px;padding:16px 15px;border:1px solid #e0ebe8!important;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(22,61,52,.055);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.live-metric-grid article:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,#00d19a,#5de0bd)}.source-metric-grid article:before{background:linear-gradient(180deg,#6298ff,#8bb7ff)}.live-metric-grid article:hover{transform:translateY(-2px);border-color:#bde6da!important;box-shadow:0 12px 28px rgba(22,61,52,.09)}.live-metric-grid .service-symbol{width:40px;height:40px;border-radius:11px;font-size:9px;grid-row:1/3}.live-metric-grid article>div strong{font-size:12px;color:#233b35}.live-metric-grid article>div small{margin-top:3px;font-size:9px;color:#879691}.live-metric-grid article>b{font:700 22px Manrope;color:#173630}.live-metric-grid article>em{font-size:9px;justify-self:end}.live-metric-grid .cancelled-inline{grid-column:2;grid-row:2;justify-self:start;padding:3px 7px;background:#fff1eb;border:1px solid #ffe2d8}.live-metric-grid .same-day-inline{grid-column:1/-1;grid-row:3;width:100%;justify-content:space-between;margin-top:7px;padding:8px 10px;border:0;border-radius:9px;background:linear-gradient(90deg,#e9faf4,#f3fcf9);box-shadow:inset 0 0 0 1px #d3f0e7}.live-metric-grid .same-day-inline b{font-size:9px;letter-spacing:.1px}.live-metric-grid .same-day-inline em{margin-left:auto;font-size:11px}.live-metric-grid .same-day-inline:before{content:"SDD";display:grid;place-items:center;width:27px;height:20px;border-radius:6px;background:#fff;color:#00906c;font-size:7px;font-weight:800;box-shadow:0 2px 7px rgba(0,145,108,.1)}
@media(max-width:1050px){.live-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.live-metric-grid{grid-template-columns:1fr;padding:10px}.service-panel .panel-header,.ro-source-panel .panel-header{padding:16px}}
/* Repeat repair and revisit quality tracking */
.separate-category-panel{margin-bottom:13px;padding:0;overflow:hidden;background:linear-gradient(180deg,#fff,#fbfcff)}.separate-category-panel>.panel-header{align-items:center;padding:18px 22px;border-bottom:1px solid var(--line)}.separate-category-panel>.panel-header h2{margin:0;font:700 14px Manrope}.separate-category-panel>.panel-header p{margin:4px 0 0;color:#84928f;font-size:9px}.separate-category-panel>.panel-header .data-level-pill{white-space:nowrap}.separate-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:15px;background:#f4f7f8}.separate-category-card{min-width:0;padding:16px;border:1px solid #e1e9ed;border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(22,61,52,.045)}.separate-category-top{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px}.category-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edf4ff;color:#476dc4;font:800 9px Manrope}.presale-category .category-icon{background:#f3edff;color:#7958c8}.separate-category-top h3{margin:0;font:700 12px Manrope}.separate-category-top small{display:block;margin-top:3px;color:#8b9996;font-size:8px}.separate-category-top>strong{font:700 23px Manrope;color:#203a42}.separate-category-stats{display:flex;justify-content:space-between;gap:8px;margin-top:13px;padding:9px 10px;border-radius:8px;background:#f5f8fa;color:#6d7c80;font-size:8px}.separate-category-stats b{font-weight:600}.separate-category-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.separate-category-types>div{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 9px;border:1px solid #edf1f3;border-radius:8px;background:#fcfdfd}.separate-category-types span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#637377;font-size:8px}.separate-category-types strong{margin-left:auto;font:700 10px Manrope}.separate-category-types small{color:#c35e3a;font-size:7px;white-space:nowrap}
.repeat-repair-panel{margin-bottom:13px;overflow:hidden;background:linear-gradient(145deg,#fff 0%,#fbfdfd 65%,#f3fbf8 100%)}.repeat-repair-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;border-bottom:1px solid var(--line);background:radial-gradient(circle at 96% 10%,rgba(121,103,255,.09),transparent 28%)}.repeat-repair-header h2{margin:4px 0 3px;font:700 19px Manrope;letter-spacing:-.45px}.repeat-repair-header p{margin:0;color:#7e8e8a;font-size:10px}.repeat-summary-cards{display:grid;grid-template-columns:repeat(3,minmax(115px,1fr));gap:9px}.repeat-summary-cards article{min-width:118px;padding:11px 13px;border:1px solid #e2ebe9;border-radius:12px;background:rgba(255,255,255,.85);box-shadow:0 5px 15px rgba(22,61,52,.04)}.repeat-summary-cards span,.repeat-summary-cards small{display:block}.repeat-summary-cards span{font-size:8px;color:#7c8d89;text-transform:uppercase;letter-spacing:.5px;font-weight:700}.repeat-summary-cards strong{display:block;margin:4px 0 1px;font:700 22px Manrope}.repeat-summary-cards small{font-size:8px;color:#92a09d}.repeat-summary-cards .revisit{border-color:#dce4ff;background:linear-gradient(145deg,#fff,#f4f6ff)}.repeat-summary-cards .revisit strong{color:#526ed0}.repeat-summary-cards .repeat{border-color:#ffdcd6;background:linear-gradient(145deg,#fff,#fff5f2)}.repeat-summary-cards .repeat strong{color:#d65e4c}.repeat-repair-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:14px;padding:16px;background:#f5f8f7}.repeat-branch-panel,.repeat-reason-panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.repeat-subhead{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid var(--line)}.repeat-subhead h3{margin:0;font:700 12px Manrope}.repeat-subhead p{margin:3px 0 0;color:#8a9995;font-size:8px}.repeat-subhead>span{padding:4px 8px;border-radius:10px;background:#edf4f2;color:#637672;font-size:8px}.repeat-branch-table{padding:0 10px 9px}.repeat-table-head,.repeat-branch-table>article{display:grid;grid-template-columns:minmax(135px,1.25fr) 70px minmax(125px,1fr) minmax(125px,1fr);align-items:center;gap:12px}.repeat-table-head{padding:9px 10px;color:#879591;font-size:7px;font-weight:700;text-transform:uppercase;letter-spacing:.45px}.repeat-branch-table>article{min-height:58px;padding:8px 10px;border-top:1px solid #edf2f1}.repeat-branch-table>article:hover{background:#fbfdfc}.repeat-branch-name{display:flex;align-items:center;gap:9px}.repeat-branch-name>i{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#e8faf4;color:#078163;font:700 8px Manrope}.repeat-branch-name strong{font-size:10px}.repeat-branch-table>article>b{font:700 13px Manrope}.quality-value{display:grid;grid-template-columns:auto auto;gap:1px 7px;align-items:center}.quality-value strong{font:700 12px Manrope}.quality-value span{justify-self:start;border-radius:8px;padding:2px 5px;font-size:8px;font-weight:700}.quality-value>i{grid-column:1/-1;height:3px;border-radius:4px;background:#edf2f1;overflow:hidden}.quality-value>i em{display:block;height:100%;min-width:2px}.quality-value.revisit span{color:#526ed0;background:#eef1ff}.quality-value.revisit>i em{background:#7187dc}.quality-value.repeat span{color:#c75545;background:#fff0ed}.quality-value.repeat>i em{background:#f0806f}.repeat-reason-list{padding:8px 15px 14px}.repeat-reason-list article{display:grid;grid-template-columns:1fr auto;gap:7px 10px;padding:11px 2px;border-bottom:1px solid #edf2f1}.repeat-reason-list article:last-child{border:0}.repeat-reason-list strong,.repeat-reason-list small{display:block}.repeat-reason-list strong{font-size:9px}.repeat-reason-list small{margin-top:2px;color:#899793;font-size:8px}.repeat-reason-list>b{font:700 13px Manrope;color:#d65e4c}.repeat-reason-list>article>i{grid-column:1/-1;height:4px;border-radius:5px;background:#f2f0ef;overflow:hidden}.repeat-reason-list>article>i em{display:block;height:100%;background:linear-gradient(90deg,#ff8c78,#ffb098)}.repeat-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.repeat-empty:before{content:"âœ“";display:grid;place-items:center;width:38px;height:38px;margin-bottom:10px;border-radius:50%;background:#e8faf4;color:#078163;font-weight:800}.repeat-empty strong{font-size:10px}.repeat-empty span{max-width:210px;margin-top:4px;color:#899793;font-size:8px}
@media(max-width:1050px){.repeat-repair-header{align-items:flex-start;flex-direction:column}.repeat-summary-cards{width:100%}.repeat-repair-body{grid-template-columns:1fr}}
@media(max-width:680px){.separate-category-grid{grid-template-columns:1fr;padding:10px}.separate-category-panel>.panel-header{align-items:flex-start;gap:10px;flex-direction:column}.separate-category-types{grid-template-columns:1fr}.repeat-repair-header{padding:18px}.repeat-summary-cards{grid-template-columns:1fr}.repeat-summary-cards article{display:grid;grid-template-columns:1fr auto;align-items:center}.repeat-summary-cards strong{grid-row:1/3;grid-column:2}.repeat-repair-body{padding:10px}.repeat-table-head{display:none}.repeat-branch-table>article{grid-template-columns:1fr 50px;gap:8px}.repeat-branch-table .quality-value{grid-column:auto}.repeat-branch-name{grid-column:1}.repeat-branch-table>article>b{grid-column:2;grid-row:1;text-align:right}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Dashboard polish: contain contribution rows, show daily target status, and support modal chart hover. */
.contribution-panel{display:flex;flex-direction:column;min-height:350px;overflow:hidden}.contribution-panel>.panel-header{flex:0 0 auto}.contribution-panel .live-contribution-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 6px 0 0;scrollbar-width:thin;scrollbar-color:#c8d9d4 transparent}.contribution-panel .live-contribution-list>div{grid-template-columns:minmax(90px,1.15fr) minmax(48px,.8fr) 32px 38px;gap:7px;padding:9px 0}.daily-target-status{display:flex;align-items:center;gap:5px;margin-top:5px;color:#b66a3d;font-size:8px;font-weight:600;white-space:nowrap}.daily-target-status i{width:7px;height:7px;border-radius:50%;background:#e6a056;box-shadow:0 0 0 3px #fff4e8}.daily-target-status.met{color:#087f62}.daily-target-status.met i{background:#00b98a;box-shadow:0 0 0 3px #e5faf3}.workshop-achievement .daily-target-status{font-size:7px;margin-top:3px}.workshop-modal-trend #workshopModalTrendChart{position:relative;overflow:visible}.workshop-modal-trend #workshopModalTrendChart [data-workshop-point]{cursor:crosshair;pointer-events:all}.workshop-modal-trend #workshopModalTrendChart [data-workshop-point]:hover{filter:drop-shadow(0 0 4px rgba(0,185,138,.6))}

.workshop-chart-tooltip{position:absolute;z-index:6;display:grid;gap:3px;min-width:155px;transform:translate(-50%,-112%);padding:9px 11px;border-radius:9px;background:#102a26;color:#d5e8e2;box-shadow:0 10px 24px rgba(11,39,33,.2);font-size:10px;pointer-events:none;white-space:nowrap}.workshop-chart-tooltip strong{color:#fff;font-size:11px}.workshop-chart-tooltip span:first-of-type{color:#71f0ce}
.target-pace-status{display:flex;align-items:center;gap:5px;margin-top:5px;color:#a45b37;font-size:8px;font-weight:700;white-space:nowrap}.target-pace-status i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#e09059;box-shadow:0 0 0 3px #fff1e8}.target-pace-status.met{color:#087f62}.target-pace-status.met i{background:#00b98a;box-shadow:0 0 0 3px #e5faf3}.workshop-achievement .target-pace-status{font-size:7px;margin-top:3px}.central-target-summary .target-pace-status{font-size:8px}
.target-pace-track{position:relative;overflow:visible!important}.target-pace-track>.target-line{position:absolute;z-index:3;top:-4px;bottom:-4px;width:2px;transform:translateX(-1px);border-radius:2px;background:#173c34;box-shadow:0 0 0 1.5px #fff,0 1px 3px rgba(12,44,35,.3);cursor:help}.central-target-summary .target-pace-track>.target-line{top:-3px;bottom:-3px}
.location-settings-card{padding:19px;margin-bottom:15px;min-width:0}.location-settings-card>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.location-settings-card>header>div{display:flex;align-items:center;gap:11px}.location-settings-card>header h2{margin:0;font:700 15px Manrope;color:#1b3831}.location-settings-card>header p{margin:4px 0 0;color:#81918c;font-size:10px}.settings-step{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#e5faf3;color:#078163;font:800 11px Manrope}.settings-count{padding:6px 9px;border-radius:9px;background:#f1f6f4;color:#60746e;font-size:9px;font-weight:700;white-space:nowrap}.location-settings-form{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap}.settings-choice-grid{display:flex;gap:8px;flex-wrap:wrap}.settings-choice{display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fbfdfc;cursor:pointer}.settings-choice input{accent-color:#00b98a}.settings-choice strong,.settings-choice small{display:block}.settings-choice strong{font-size:10px}.settings-choice small{margin-top:2px;color:#899994;font-size:8px}.location-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}.settings-inline-form{display:grid;grid-template-columns:minmax(125px,.8fr) minmax(150px,1.4fr) auto;gap:8px;align-items:end;margin-bottom:12px;padding:12px;background:#f7faf9;border:1px solid #e8efed;border-radius:10px}.settings-inline-form label,.target-settings-form label{display:block;min-width:0;color:#647873;font-size:9px;font-weight:600}.settings-inline-form select,.target-settings-form select,.target-settings-form input{display:block;width:100%;height:36px;margin-top:5px;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:10px;color:#314b44}.settings-inline-form .btn-primary-neon{height:36px;white-space:nowrap}.settings-empty{padding:15px;margin:12px 0;background:#f8faf9;border:1px dashed #d8e5e1;border-radius:9px;color:#879691;font-size:10px}.target-settings-card>.settings-count{max-width:310px;white-space:normal;text-align:right}.target-settings-form{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:9px;align-items:end;margin-bottom:15px;padding:13px;background:#f7faf9;border:1px solid #e8efed;border-radius:10px}.target-settings-form label small{display:block;color:#98a49f;font-size:8px;font-weight:400}.target-settings-form button{height:36px}.target-settings-form select[name="branchId"]{min-width:120px}.admin-table form{display:inline-flex}.admin-table .danger-link{font-size:9px}.location-settings-card .admin-table th{font-size:8px}.location-settings-card .admin-table td{font-size:9px}.location-settings-card .admin-table td strong{font-size:10px}@media(max-width:1050px){.location-settings-grid{grid-template-columns:1fr}.target-settings-form{grid-template-columns:repeat(3,minmax(130px,1fr))}}@media(max-width:650px){.location-settings-card{padding:13px}.location-settings-card>header{align-items:flex-start}.location-settings-card>header .settings-count{font-size:8px}.settings-inline-form{grid-template-columns:1fr}.target-settings-form{grid-template-columns:1fr 1fr}.location-settings-form{align-items:stretch}.location-settings-form button{width:100%}}
.branch-create-form { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(220px, 1.3fr) auto; align-items: end; gap: 12px; padding: 18px; }
.advisor-create-form { display: grid; grid-template-columns: minmax(220px, 1.3fr) minmax(180px, .8fr) auto; align-items: end; gap: 12px; padding: 0 18px 16px; }
.branch-manage-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 8px 4px; }
.branch-edit-row { display: flex; align-items: end; gap: 12px; flex: 1; }
.branch-edit-row label { display: grid; gap: 6px; min-width: 180px; color: #60756f; font-size: .78rem; }
.branch-edit-row input, .admin-edit-popover input { min-height: 40px; padding: 8px 11px; border: 1px solid #dce8e4; border-radius: 10px; background: #fff; color: #15332e; }
.admin-row-actions { display: flex; align-items: center; gap: 10px; }
.location-maintenance { margin-top: 16px; }
.location-maintenance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.location-maintenance-item { display: grid; gap: 10px; padding: 16px; border: 1px solid #e0ebe7; border-radius: 14px; background: #f8fbfa; }
.location-maintenance-item .admin-form { display: grid; gap: 10px; }
.location-maintenance-item label { display: grid; gap: 5px; color: #60756f; font-size: .78rem; }
.location-maintenance-item input { min-height: 38px; padding: 8px 10px; border: 1px solid #dce8e4; border-radius: 9px; background: white; }
.admin-edit-details { position: relative; }
.admin-edit-details summary { cursor: pointer; color: #087e69; font-size: .82rem; font-weight: 650; }
.admin-edit-popover { position: absolute; z-index: 5; right: 0; top: 26px; display: grid; gap: 8px; width: 240px; padding: 14px; border: 1px solid #dce8e4; border-radius: 12px; background: white; box-shadow: 0 12px 30px #143d321c; }
.admin-edit-popover label { display: grid; gap: 4px; color: #60756f; font-size: .76rem; }
@media (max-width: 680px) { .branch-create-form, .branch-edit-row, .advisor-create-form { display: grid; grid-template-columns: 1fr; } .branch-manage-row { align-items: stretch; flex-direction: column; } }
.section-actions{display:flex;align-items:center;gap:10px}.add-icon-button{width:36px;height:36px;border:0;border-radius:11px;background:var(--mint);color:#073f33;font-size:25px;font-weight:400;line-height:1;box-shadow:0 5px 14px rgba(0,209,154,.18);cursor:pointer;transition:transform .18s,box-shadow .18s}.add-icon-button:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,209,154,.28)}
.mapping-hint{margin:4px 0 13px;padding:10px 12px;border-radius:9px;background:#f5faf8;color:#71827d;font-size:10px}.mapping-hint strong{color:#078163}
.settings-inline-form input,.settings-inline-form select,.location-settings-card .admin-table input,.location-settings-card .admin-table select{width:100%;min-width:105px;height:38px;padding:0 10px;border:1px solid #dce8e4;border-radius:9px;background:#fff;color:#1c3932;font:500 11px "DM Sans",sans-serif;outline:0}.settings-inline-form input:focus,.settings-inline-form select:focus,.location-settings-card .admin-table input:focus,.location-settings-card .admin-table select:focus{border-color:var(--mint);box-shadow:0 0 0 3px var(--mint-soft)}
.location-settings-card .admin-table td{vertical-align:middle}.location-settings-card .admin-table th{white-space:nowrap}.location-settings-card .admin-table .btn-secondary-soft{height:34px;justify-content:center;padding:0 12px;font-size:10px}.admin-row-actions{white-space:nowrap}.admin-row-actions form{margin:0}.location-settings-card .danger-link{padding:7px 10px;border:1px solid #ffd1c7;border-radius:8px;background:#fff9f7;color:#c4513b;cursor:pointer}
.table-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 4px 2px;color:#70807d;font-size:10px}.table-pager:empty{display:none}.table-pager button{height:31px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#38534c;font-size:10px;cursor:pointer}.table-pager button:disabled{opacity:.45;cursor:default}.paged-row[hidden]{display:none}
.admin-modal{width:min(560px,calc(100vw - 32px));max-height:min(88vh,850px);padding:24px;border:1px solid #dce9e5;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 28px 90px #071f1b45;overflow:auto}.admin-modal::backdrop{background:rgba(8,31,27,.55);backdrop-filter:blur(3px)}.modal-dismiss{display:flex;justify-content:flex-end;margin:-8px -8px 4px}.modal-close{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:white;color:#59716a;font-size:20px;cursor:pointer}.modal-heading>span{font-size:9px;letter-spacing:1.3px;font-weight:800;color:#078163}.modal-heading h2{margin:6px 0;font:700 21px Manrope;color:#16352e}.modal-heading p{margin:0 0 20px;color:#80908b;font-size:11px}.modal-form{display:grid;gap:14px}.modal-form label{display:grid;gap:6px;color:#5b716a;font-size:10px;font-weight:650}.modal-form input,.modal-form select{width:100%;height:42px;padding:0 12px;border:1px solid #dce8e4;border-radius:10px;background:#fff;color:#193a32;font:500 12px "DM Sans",sans-serif;outline:none}.modal-form input:focus,.modal-form select:focus{border-color:var(--mint);box-shadow:0 0 0 3px var(--mint-soft)}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:6px}.target-modal-fields{padding:14px;border:1px solid #e2eeea;border-radius:12px;background:#f6faf8}.target-modal-fields h3{display:flex;justify-content:space-between;margin:0 0 12px;font:700 12px Manrope}.target-modal-fields h3 span{color:#84938f;font:500 10px "DM Sans",sans-serif}.target-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.target-modal-grid label{font-size:9px}.location-settings-card .table-responsive{overflow-x:auto}.location-settings-card .admin-table{min-width:600px}
@media(max-width:760px){.location-settings-card>header{align-items:flex-start}.section-actions{gap:6px}.location-settings-card .admin-table{min-width:550px}.admin-modal{padding:18px}.target-modal-grid{grid-template-columns:1fr}.table-pager{justify-content:center}}
.locations-toolbar{display:flex;align-items:center;justify-content:space-between;margin:5px 0 16px;padding:4px 2px}.locations-toolbar h2{margin:0;font:700 19px Manrope;color:#17372f}.locations-toolbar p{margin:5px 0 0;color:#81918c;font-size:11px}.add-location-button{width:42px;height:42px;font-size:28px}.location-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:15px}.location-tile{padding:18px;border:1px solid #e1ebe7;border-radius:16px;transition:transform .18s,box-shadow .18s}.location-tile:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(20,63,53,.09)}.location-tile-top{display:flex;align-items:center;justify-content:space-between}.location-tile-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e4faf3;color:#078163;font:800 15px Manrope}.location-state{padding:5px 9px;border-radius:20px;font-size:9px;font-weight:700}.location-state.active{background:#e7faf3;color:#078163}.location-state.archived{background:#fff2df;color:#9b6411}.location-tile-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:14px}.location-tile-title h3{margin:0;color:#18372f;font:700 16px Manrope}.location-tile-title span{color:#82918d;font-size:10px}.location-tile-dealer{display:flex;justify-content:space-between;margin:7px 0 14px;color:#82918d;font-size:10px}.location-tile-dealer strong{color:#405a53}.location-tile-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 0;border-top:1px solid #e7efec;border-bottom:1px solid #e7efec}.location-tile-stats div{display:grid;gap:3px;text-align:center;border-right:1px solid #e7efec}.location-tile-stats div:last-child{border:0}.location-tile-stats strong{color:#17372f;font:700 16px Manrope}.location-tile-stats span{color:#82918d;font-size:9px}.location-tile-actions{display:flex;align-items:center;gap:8px;padding-top:14px}.location-tile-actions .btn-primary-neon,.location-tile-actions .btn-secondary-soft{height:34px;justify-content:center;padding:0 12px;font-size:10px}.location-tile-actions .btn-primary-neon{flex:1}.location-tile-actions form{margin:0}.location-tile-actions .danger-link{padding:7px 9px;border:1px solid #ffd1c7;border-radius:8px;background:#fff9f7;color:#c4513b;font-size:10px;cursor:pointer}.locations-empty{grid-column:1/-1;padding:26px;text-align:center;color:#82918d;font-size:12px}
.multi-model-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:250px;overflow:auto;padding:9px;border:1px solid #e2ece8;border-radius:12px;background:#f8fbfa}.multi-model-option{display:flex!important;align-items:center;gap:8px;min-height:38px;padding:7px 9px;border:1px solid #e5eeeb;border-radius:9px;background:#fff;cursor:pointer}.multi-model-option[hidden]{display:none!important}.multi-model-option input{width:15px;height:15px;flex:0 0 15px;margin:0;accent-color:#00b98a}.multi-model-option span{flex:1;color:#29453e;font-size:10px}.multi-model-option small{color:#96a39f;font-size:9px}.multi-model-selection{display:flex;align-items:center;justify-content:space-between;color:#73837e;font-size:10px}.selected-model-count{color:#078163}.text-button{padding:0;border:0;background:none;color:#078163;font:600 10px "DM Sans",sans-serif;cursor:pointer}
.location-settings-card .admin-table td .admin-row-actions{display:flex;align-items:center;gap:7px}.location-settings-card .admin-table td .admin-row-actions .btn-secondary-soft{white-space:nowrap}.branch-target-form .target-modal-grid{grid-template-columns:1fr 1fr}
.branch-master-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:12px}.branch-master-card{min-width:0;padding:16px;border:1px solid #e3ece9;border-radius:13px;background:linear-gradient(145deg,#fff,#f9fcfb);box-shadow:0 4px 14px rgba(22,58,49,.035)}.branch-master-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid #e9f0ee}.branch-master-card-head>div:first-child>span,.branch-target-summary>span{display:block;color:#879793;font-size:9px;font-weight:650;letter-spacing:.45px}.branch-master-card-head>div:first-child>strong{display:block;margin-top:4px;font:700 15px Manrope;color:#193a32}.branch-model-count{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #d6f1e8;border-radius:10px;background:#edfaf5;color:#087c60}.branch-model-count strong{font:800 18px Manrope}.branch-model-count span{font-size:9px;font-weight:650}.branch-master-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:13px 0}.branch-master-fields label{display:grid;gap:5px;color:#73847f;font-size:9px;font-weight:650}.branch-master-fields input{width:100%;min-width:0;height:36px;padding:0 10px;border:1px solid #dce8e4;border-radius:8px;background:#fff;color:#1c3932;font:500 11px "DM Sans",sans-serif}.branch-master-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #e9f0ee}.branch-target-summary strong{display:block;margin-top:4px;color:#1d3832;font-size:11px}.branch-master-footer .admin-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.branch-master-footer .admin-row-actions .btn-secondary-soft{height:33px;white-space:nowrap}.branch-master-footer .admin-row-actions form{margin:0}@media(max-width:650px){.branch-master-grid{grid-template-columns:minmax(0,1fr)}.branch-master-footer{align-items:flex-start;flex-direction:column}.branch-master-footer .admin-row-actions{width:100%}.branch-master-fields{gap:8px}}
.mapping-filters{display:grid;grid-template-columns:minmax(160px,1fr) minmax(140px,.65fr);gap:9px;margin:0 0 12px}.mapping-filters label{display:grid;gap:5px;color:#73847f;font-size:9px;font-weight:650}.mapping-filters input,.mapping-filters select{width:100%;height:36px;padding:0 10px;border:1px solid #dce8e4;border-radius:8px;background:#fff;color:#1c3932;font:500 11px "DM Sans",sans-serif;outline:0}.mapping-filters input:focus,.mapping-filters select:focus{border-color:var(--mint);box-shadow:0 0 0 3px var(--mint-soft)}.admin-table tr[hidden]{display:none!important}@media(max-width:650px){.mapping-filters{grid-template-columns:1fr}}
.target-history-card{margin-top:16px}.target-history-card .admin-table{min-width:850px}.target-history-card .admin-table td{white-space:nowrap}.target-lock-status{display:inline-flex;padding:5px 8px;border:1px solid #dfeae6;border-radius:20px;background:#f5f9f7;color:#60756e;font-size:9px;font-weight:650}.branch-target-summary small{display:block;margin-top:4px;color:#8a9894;font-size:9px;white-space:nowrap}
.target-history-filters{display:grid;grid-template-columns:minmax(180px,1fr) repeat(3,minmax(145px,.55fr)) auto;align-items:end;gap:10px;margin:0 0 12px;padding:12px;border:1px solid #e4eeea;border-radius:11px;background:#f7fbf9}.target-history-filters label{display:grid;gap:5px;color:#73847f;font-size:9px;font-weight:650}.target-history-filters input,.target-history-filters select{width:100%;height:36px;padding:0 10px;border:1px solid #dce8e4;border-radius:8px;background:#fff;color:#1c3932;font:500 11px "DM Sans",sans-serif;outline:0}.target-history-filters input:focus,.target-history-filters select:focus{border-color:var(--mint);box-shadow:0 0 0 3px var(--mint-soft)}.target-history-result{padding:0 4px 10px;color:#70807d;font-size:10px;white-space:nowrap}.target-delete-form{margin:0}.target-history-card .admin-table{min-width:950px}.target-history-card .admin-table td:last-child{width:90px}.target-history-card .danger-link{padding:7px 10px;border:1px solid #ffd1c7;border-radius:8px;background:#fff9f7;color:#c4513b;font-size:10px;cursor:pointer}.target-history-card .danger-link:hover{background:#fff0ec}
@media(max-width:850px){.target-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.target-history-result{padding-bottom:8px}}@media(max-width:520px){.target-history-filters{grid-template-columns:1fr}}
.unmapped-open-target{cursor:pointer;transition:transform .18s,box-shadow .18s}.unmapped-open-target:hover,.unmapped-open-target:focus-visible{transform:translateY(-2px);box-shadow:0 10px 28px rgba(194,112,43,.17);outline:2px solid #ffd38b;outline-offset:2px}.unmapped-ro-modal{width:min(1120px,calc(100vw - 32px))}.unmapped-ro-table-wrap{max-height:min(58vh,580px);overflow:auto;border:1px solid var(--line);border-radius:10px}.unmapped-ro-table{min-width:860px;margin:0}.unmapped-ro-table thead{position:sticky;top:0;z-index:1;background:#f4f8f7}.unmapped-ro-table td{vertical-align:middle}.unmapped-status{display:inline-flex;padding:4px 8px;border-radius:20px;background:#fff1eb;color:#bf6344;font-size:9px;font-weight:650}.unmapped-map-form{display:flex;gap:7px;min-width:240px}.unmapped-map-form select{min-width:130px;flex:1;height:34px;padding:0 9px;border:1px solid #dce8e4;border-radius:8px;background:#fff;color:#193a32;font:500 10px "DM Sans",sans-serif}.unmapped-map-form .btn-primary-neon{height:34px;white-space:nowrap;padding:0 10px;font-size:10px}
.unmapped-bulk-toolbar,.unmapped-bulk-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e4eeea;background:#f7fbf9}.unmapped-bulk-toolbar{margin-bottom:10px;border-radius:10px}.unmapped-bulk-toolbar label{display:grid;gap:5px;min-width:min(320px,65%);color:#60736d;font-size:10px;font-weight:650}.unmapped-bulk-toolbar select,.unmapped-model-branch{height:36px;min-width:180px;padding:0 10px;border:1px solid #dce8e4;border-radius:8px;background:#fff;color:#193a32;font:500 11px "DM Sans",sans-serif}.unmapped-bulk-toolbar>span,.unmapped-bulk-actions>span{color:#7f908a;font-size:10px}.unmapped-bulk-actions{margin-top:10px;border-radius:10px}.unmapped-bulk-actions button:disabled{opacity:.5;cursor:not-allowed}.unmapped-models-form .unmapped-ro-table{min-width:740px}@media(max-width:650px){.unmapped-bulk-toolbar,.unmapped-bulk-actions{align-items:stretch;flex-direction:column}.unmapped-bulk-toolbar label{min-width:0}.unmapped-bulk-toolbar select{width:100%}.unmapped-bulk-actions .btn-primary-neon{width:100%;justify-content:center}}
/* Deep navy dashboard palette inspired by the supplied reference. */
body:has(#lineChart),body:has(#saTimelineChart),body:has(#revenueChart){--bg:#171b2e;--panel:#252c45;--ink:#f0f3fa;--muted:#a1abc0;--line:#38425e;--mint:#36d5a8;--mint-dark:#22b990;--mint-soft:#1b4142;--violet:#a377ff;--blue:#4a91ff;--amber:#f2c14e;--shadow:0 10px 28px rgba(3,7,20,.25);background:var(--bg);color:var(--ink)}
body:has(#lineChart) .topbar,body:has(#saTimelineChart) .topbar,body:has(#revenueChart) .topbar{background:rgba(27,32,53,.96);border-color:var(--line);color:var(--ink)}
body:has(#lineChart) .main-content,body:has(#saTimelineChart) .main-content,body:has(#revenueChart) .main-content{color:var(--ink)}
body:has(#lineChart) .panel,body:has(#saTimelineChart) .panel,body:has(#revenueChart) .panel,body:has(#lineChart) .kpi-card:not(.primary-kpi),body:has(#saTimelineChart) .kpi-card:not(.primary-kpi),body:has(#revenueChart) .kpi-card:not(.primary-kpi),body:has(#lineChart) .branch-card,body:has(#lineChart) .central-workshop-card,body:has(#revenueChart) .revenue-branch-card,body:has(#revenueChart) .common-ws-card,body:has(#saTimelineChart) .sa-detail-kpis article{background:#252c45;border-color:#38425e;color:#eef2fb;box-shadow:var(--shadow)}
body:has(#lineChart) .primary-kpi,body:has(#saTimelineChart) .primary-kpi,body:has(#revenueChart) .primary-kpi{background:linear-gradient(135deg,#202741,#2c3655);border-color:#405071;color:#f7f8fc}
body:has(#lineChart) .panel-header p,body:has(#lineChart) .kpi-bottom,body:has(#lineChart) .branch-head span,body:has(#lineChart) .branch-numbers span,body:has(#lineChart) .branch-footer span,body:has(#saTimelineChart) .panel-header p,body:has(#saTimelineChart) .kpi-bottom,body:has(#saTimelineChart) .sa-share,body:has(#saTimelineChart) .sa-kpi-card span,body:has(#revenueChart) .panel-header p,body:has(#revenueChart) .kpi-bottom{color:#a1abc0}
body:has(#lineChart) .branch-numbers strong,body:has(#lineChart) .branch-head strong,body:has(#lineChart) .branch-footer strong,body:has(#lineChart) .panel-header h2,body:has(#saTimelineChart) .panel-header h2,body:has(#saTimelineChart) .sa-table-panel td,body:has(#saTimelineChart) .sa-matrix-table td,body:has(#revenueChart) .panel-header h2{color:#eef2fb}
body:has(#lineChart) .chart-tabs,body:has(#lineChart) .branch-progress,body:has(#lineChart) .target-pace-track,body:has(#lineChart) .central-target-summary>div,body:has(#lineChart) .achievement-track,body:has(#saTimelineChart) .sa-chart-legend,body:has(#revenueChart) .chart-tabs{background:#343d59}
body:has(#lineChart) .chart-tabs button,body:has(#revenueChart) .chart-tabs button{color:#a8b2c6}body:has(#lineChart) .chart-tabs button.active,body:has(#revenueChart) .chart-tabs button.active{background:#46516f;color:#fff}
body:has(#lineChart) .line-chart .grid,body:has(#revenueChart) .line-chart .grid,body:has(#saTimelineChart) .sa-chart-grid{stroke:#3a4562}body:has(#lineChart) .line-chart .axis-label,body:has(#revenueChart) .line-chart .axis-label,body:has(#saTimelineChart) .sa-chart-axis{fill:#aab4c8}
body:has(#lineChart) .line-chart .line-prev,body:has(#revenueChart) .line-chart .line-prev{stroke:#7e8aa6}body:has(#lineChart) .line-chart .point,body:has(#revenueChart) .line-chart .point{fill:#252c45}
body:has(#lineChart) .central-workshop-card>header,body:has(#lineChart) .central-workshop-section,body:has(#lineChart) .central-data-block,body:has(#lineChart) .central-service-list>div,body:has(#lineChart) .central-workshop-section .central-reconcile{background:#202740;border-color:#38425e}
body:has(#lineChart) .central-service-list small,body:has(#lineChart) .central-ws-title small,body:has(#lineChart) .central-data-block .central-block-title span,body:has(#lineChart) .central-source-list span{color:#aeb8cb}
body:has(#lineChart) .central-ws-title h3,body:has(#lineChart) .central-ro strong,body:has(#lineChart) .central-service-list strong,body:has(#lineChart) .central-total strong{color:#f3f5fa}
body:has(#lineChart) .contribution-row,body:has(#lineChart) .branch-contribution-item,body:has(#lineChart) .dashboard-table th,body:has(#lineChart) .dashboard-table td{border-color:#38425e}
body:has(#saTimelineChart) .sa-filter-bar,body:has(#saTimelineChart) .sa-detail-filter,body:has(#saTimelineChart) .sa-table-panel,body:has(#saTimelineChart) .sa-matrix-panel,body:has(#saTimelineChart) .sa-detail-data-panel,body:has(#saTimelineChart) .sa-detail-timeline,body:has(#saTimelineChart) .sa-repeat-detail,body:has(#saTimelineChart) .sa-revenue-provision{background:#252c45;border-color:#38425e;color:#eef2fb}
body:has(#saTimelineChart) .sa-filter-bar input,body:has(#saTimelineChart) .sa-filter-bar select,body:has(#saTimelineChart) .sa-search-select input,body:has(#saTimelineChart) .sa-search-select select,body:has(#saTimelineChart) .sa-table-search input{background:#1d2339;border-color:#3b4664;color:#eef2fb}
body:has(#saTimelineChart) .sa-table-panel thead,body:has(#saTimelineChart) .sa-matrix-table thead,body:has(#saTimelineChart) .sa-matrix-table td:last-child,body:has(#saTimelineChart) .sa-matrix-table tbody th{background:#202740;color:#d6dced}
body:has(#saTimelineChart) .sa-table-panel td,body:has(#saTimelineChart) .sa-matrix-table td,body:has(#saTimelineChart) .sa-table-panel th,body:has(#saTimelineChart) .sa-matrix-table th{border-color:#38425e;color:#e3e8f3}
body:has(#saTimelineChart) .sa-timeline-chart [data-index]{fill:#252c45!important;stroke:var(--mint)!important}
body:has(#revenue-overview) .sidebar{background:#202740;border-color:#36415d;color:#e8edf7}
body:has(#revenue-overview) .panel,body:has(#revenue-overview) .kpi-card:not(.primary-kpi){background:#252c45;border-color:#38425e;color:#eef2fb}
body:has(#revenue-overview) .panel-header h2,body:has(#revenue-overview) .kpi-label{color:#eef2fb}
body:has(#revenue-overview) .panel-header p,body:has(#revenue-overview) .kpi-bottom,body:has(#revenue-overview) .revenue-bar-row>span{color:#b4bfd2}
body:has(#revenue-overview) .revenue-filters{background:#252c45;border-color:#38425e}
body:has(#revenue-overview) .revenue-filters input,body:has(#revenue-overview) .revenue-filters select{background:#1d2339;border-color:#3b4664;color:#eef2fb}
body:has(#revenue-overview) .model-table thead,body:has(#revenue-overview) .model-table th,body:has(#revenue-overview) .model-table td{background:#252c45;border-color:#38425e;color:#e3e8f3}
.revenue-bars{display:grid;gap:16px;padding:18px 4px}.revenue-bar-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(100px,2fr) auto;gap:12px;align-items:center;font-size:12px}.revenue-bar-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.revenue-bar-row>i{height:9px;background:#38425e;border-radius:8px;overflow:hidden}.revenue-bar-row>i>b{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#009f7d,#32dbb1)}.revenue-bar-row>strong{min-width:85px;text-align:right;font:700 12px Manrope;color:#eef2fb}.revenue-list{display:grid;gap:0;padding:0 12px}.revenue-list>div{display:grid;grid-template-columns:1fr auto;gap:7px;padding:12px 3px;border-bottom:1px solid #38425e}.revenue-list>div:last-child{border-bottom:0}.revenue-list span{color:#e3e8f3;font-size:12px;font-weight:600}.revenue-list strong{color:#eef2fb;font:700 13px Manrope}.revenue-list small{grid-column:1/-1;color:#9eabc0;font-size:10px}
body:has(#revenueChart) .revenue-hierarchy-section,body:has(#revenueChart) .revenue-table-panel{background:#202740;border-color:#38425e;color:#edf1f9}
body:has(#revenueChart) .revenue-table th,body:has(#revenueChart) .revenue-table td{background:#252c45;border-color:#38425e;color:#e4e9f3}
body:has(#lineChart) .chart-tooltip,body:has(#revenueChart) .chart-tooltip,body:has(#saTimelineChart) .sa-chart-tooltip,body:has(#lineChart) .workshop-chart-tooltip{background:#11182b;border:1px solid #475372;color:#e4eaf4;box-shadow:0 12px 30px rgba(0,0,0,.4)}
/* Finish the dark theme on the controls, tables, detail overlays and navigation. */
body:has(#lineChart) .sidebar,body:has(#saTimelineChart) .sidebar,body:has(#revenueChart) .sidebar{background:#202740;border-color:#36415d;color:#e8edf7}
body:has(#lineChart) .brand,body:has(#saTimelineChart) .brand,body:has(#revenueChart) .brand{border-color:#394460}
body:has(#lineChart) .nav-label,body:has(#saTimelineChart) .nav-label,body:has(#revenueChart) .nav-label{color:#8290ab}
body:has(#lineChart) .nav-item,body:has(#saTimelineChart) .nav-item,body:has(#revenueChart) .nav-item{color:#c2cbe0}
body:has(#lineChart) .nav-item:hover,body:has(#lineChart) .nav-item.active,body:has(#saTimelineChart) .nav-item:hover,body:has(#saTimelineChart) .nav-item.active,body:has(#revenueChart) .nav-item:hover,body:has(#revenueChart) .nav-item.active{background:#2a3552;color:#f2f5fb}
body:has(#lineChart) .sidebar-card,body:has(#saTimelineChart) .sidebar-card,body:has(#revenueChart) .sidebar-card{background:#252f49;border-color:#3b4968;color:#edf2fa}
body:has(#lineChart) .sidebar-card small,body:has(#saTimelineChart) .sidebar-card small,body:has(#revenueChart) .sidebar-card small,body:has(#lineChart) .sidebar-footer,body:has(#saTimelineChart) .sidebar-footer,body:has(#revenueChart) .sidebar-footer{color:#9eabc2}
body:has(#lineChart) .filter-bar,body:has(#saTimelineChart) .filter-bar,body:has(#revenueChart) .filter-bar{background:#252c45;border-color:#3b4664;color:#edf2fa}
body:has(#lineChart) .period-filter,body:has(#saTimelineChart) .period-filter,body:has(#revenueChart) .period-filter{background:#1c2339}
body:has(#lineChart) .period-filter button,body:has(#saTimelineChart) .period-filter button,body:has(#revenueChart) .period-filter button{color:#aab5ca}
body:has(#lineChart) .period-filter button.active,body:has(#saTimelineChart) .period-filter button.active,body:has(#revenueChart) .period-filter button.active{background:#394562;color:#45dfb3}
body:has(#lineChart) .select-filter,body:has(#saTimelineChart) .select-filter,body:has(#revenueChart) .select-filter{border-color:#46516f;background:#202740}
body:has(#lineChart) .select-filter span,body:has(#saTimelineChart) .select-filter span,body:has(#revenueChart) .select-filter span{color:#a6b1c6}
body:has(#lineChart) .select-filter select,body:has(#saTimelineChart) .select-filter select,body:has(#revenueChart) .select-filter select{color:#f0f3fa}
body:has(#lineChart) .more-filter,body:has(#saTimelineChart) .more-filter,body:has(#revenueChart) .more-filter,body:has(#lineChart) .btn-secondary-soft,body:has(#saTimelineChart) .btn-secondary-soft,body:has(#revenueChart) .btn-secondary-soft{background:#303a57;border-color:#4b5878;color:#edf2fb}
body:has(#lineChart) .reset-filter,body:has(#saTimelineChart) .reset-filter,body:has(#revenueChart) .reset-filter{color:#b1bdd2}
body:has(#lineChart) .page-heading h1,body:has(#saTimelineChart) .page-heading h1,body:has(#revenueChart) .page-heading h1{color:#f4f6fb}
body:has(#lineChart) .page-heading p,body:has(#saTimelineChart) .page-heading p,body:has(#revenueChart) .page-heading p{color:#aab5ca}
body:has(#lineChart) .contribution-panel,body:has(#lineChart) .service-panel,body:has(#lineChart) .repeat-repair-panel,body:has(#lineChart) .separate-category-panel,body:has(#lineChart) .ro-source-panel,body:has(#lineChart) .table-panel,body:has(#lineChart) .service-panel .panel-header,body:has(#lineChart) .ro-source-panel .panel-header,body:has(#lineChart) .repeat-repair-header,body:has(#lineChart) .repeat-branch-panel,body:has(#lineChart) .repeat-reason-panel,body:has(#lineChart) .separate-category-grid,body:has(#lineChart) .separate-category-card,body:has(#lineChart) .live-metric-grid,body:has(#lineChart) .live-metric-grid article,body:has(#lineChart) .branch-service-panel,body:has(#lineChart) .branch-service-panel>header,body:has(#lineChart) .branch-service-row,body:has(#lineChart) .service-branch-summary span,body:has(#lineChart) .revenue-hierarchy-section{background:#252c45!important;border-color:#3a4562!important;color:#e8edf7}
body:has(#lineChart) .repeat-repair-body,body:has(#lineChart) .service-branch-summary,body:has(#lineChart) .separate-category-grid,body:has(#lineChart) .live-metric-grid{background:#1e253c!important}
body:has(#lineChart) .service-item,body:has(#lineChart) .service-branch-table td,body:has(#lineChart) .service-branch-table th,body:has(#lineChart) .repeat-table-head,body:has(#lineChart) .repeat-branch-table>article,body:has(#lineChart) .repeat-reason-list article,body:has(#lineChart) .separate-category-stats,body:has(#lineChart) .separate-category-types>div,body:has(#lineChart) .model-table td,body:has(#lineChart) .model-table th,body:has(#lineChart) .table-footer{background:#252c45!important;border-color:#3a4562!important;color:#dce3f1!important}
body:has(#lineChart) .service-item span,body:has(#lineChart) .service-item em,body:has(#lineChart) .service-branch-table td,body:has(#lineChart) .service-branch-table th,body:has(#lineChart) .branch-service-panel header small,body:has(#lineChart) .branch-service-total span,body:has(#lineChart) .branch-service-total em,body:has(#lineChart) .branch-service-label small,body:has(#lineChart) .repeat-repair-header p,body:has(#lineChart) .repeat-subhead p,body:has(#lineChart) .repeat-reason-list small,body:has(#lineChart) .separate-category-top small,body:has(#lineChart) .separate-category-stats,body:has(#lineChart) .separate-category-types span,body:has(#lineChart) .table-footer{color:#aab5ca!important}
body:has(#lineChart) .service-item strong,body:has(#lineChart) .branch-service-panel h3,body:has(#lineChart) .branch-service-total strong,body:has(#lineChart) .branch-service-row>b,body:has(#lineChart) .repeat-subhead h3,body:has(#lineChart) .repeat-branch-name strong,body:has(#lineChart) .repeat-branch-table>article>b,body:has(#lineChart) .repeat-reason-list strong,body:has(#lineChart) .separate-category-top>strong,body:has(#lineChart) .separate-category-types strong,body:has(#lineChart) .vehicle-name strong{color:#f0f3fa!important}
body:has(#lineChart) .model-branch-filters{background:#202740;border-color:#3a4562}
body:has(#lineChart) .model-branch-filters button{background:#303a57;border-color:#46516f;color:#d3dced}
body:has(#lineChart) .model-branch-filters button.active{background:#00a97d;border-color:#00a97d;color:#062a26}
body:has(#lineChart) .model-table tbody tr:hover,body:has(#lineChart) .repeat-branch-table>article:hover,body:has(#lineChart) .service-branch-table tbody tr:hover{background:#2c3652!important}
body:has(#lineChart) .vehicle-name>span,body:has(#lineChart) .service-symbol,body:has(#lineChart) .category-icon,body:has(#lineChart) .repeat-branch-name>i{filter:brightness(.82) saturate(1.12)}
body:has(#lineChart) .same-day-delivery-row,body:has(#lineChart) .live-metric-grid .same-day-inline,body:has(#lineChart) .service-branch-table tfoot td,body:has(#lineChart) .separate-category-stats{background:#1d3b3c!important;color:#cfeee7!important;border-color:#315d59!important}
body:has(#lineChart) .donut-chart:before{background:#252c45}
body:has(#lineChart) .central-workshop-heading h2,body:has(#lineChart) .central-workshop-heading p,body:has(#lineChart) .central-target-summary>span,body:has(#lineChart) .central-target-summary>small,body:has(#lineChart) .central-total span,body:has(#lineChart) .central-block-title span,body:has(#lineChart) .central-block-title b,body:has(#lineChart) .central-service-list small,body:has(#lineChart) .central-source-list span,body:has(#lineChart) .central-source-list strong{color:#dce4f2!important}
body:has(#lineChart) .workshop-modal-dialog{background:#1c2339!important;border-color:#46516e;color:#edf2fa}
body:has(#lineChart) .workshop-modal-dialog>header,body:has(#lineChart) .workshop-modal-insights>header{background:#202740!important;border-color:#3a4562!important}
body:has(#lineChart) .workshop-modal-dialog>header h2,body:has(#lineChart) .workshop-modal-insights h3,body:has(#lineChart) .workshop-modal-trend h4,body:has(#lineChart) .workshop-modal-reasons h4{color:#f1f4fb!important}
body:has(#lineChart) .workshop-modal-insights,body:has(#lineChart) .workshop-modal-insight-grid,body:has(#lineChart) .workshop-modal-trend,body:has(#lineChart) .workshop-modal-reasons{background:#202740!important;border-color:#3a4562!important;color:#e6ebf5}
body:has(#lineChart) .workshop-modal-trend p,body:has(#lineChart) .workshop-modal-quality small,body:has(#lineChart) .workshop-modal-reasons>div{color:#bdc8da}
body:has(#lineChart) .workshop-modal-reasons>div>div,body:has(#lineChart) .workshop-modal-quality article{background:#252c45!important;border-color:#3c4865!important;color:#edf2fb}
body:has(#lineChart) .workshop-modal-body .same-day-delivery-row{background:#1d3b3c!important;border-color:#315d59!important;color:#e4f2ef}
body:has(#lineChart) .workshop-modal-body .central-service-list>div,body:has(#lineChart) .workshop-modal-body .central-source-list>div{background:#252c45!important;border-color:#3b4664!important}
body:has(#lineChart) .workshop-modal-body .central-source-list span,body:has(#lineChart) .workshop-modal-body .central-source-list>div>strong{color:#e1e8f4!important}
body:has(#saTimelineChart) .sa-detail-prompt,body:has(#saTimelineChart) .sa-selected-profile,body:has(#saTimelineChart) .sa-revenue-cards article,body:has(#saTimelineChart) .sa-repeat-reasons>div{background:#202740;border-color:#3b4664;color:#e8edf7}
body:has(#saTimelineChart) .sa-detail-heading h2,body:has(#saTimelineChart) .sa-detail-heading p,body:has(#saTimelineChart) .sa-detail-kpis small,body:has(#saTimelineChart) .sa-detail-kpis span,body:has(#saTimelineChart) .sa-revenue-cards span,body:has(#saTimelineChart) .sa-revenue-cards small,body:has(#saTimelineChart) .sa-repeat-reasons span{color:#bdc8da}
body:has(#saTimelineChart) .sa-detail-list>div,body:has(#saTimelineChart) .sa-detail-list>div strong,body:has(#saTimelineChart) .sa-detail-name{color:#eaf0f8;border-color:#3b4664}
body:has(#saTimelineChart) .sa-matrix-table td,body:has(#saTimelineChart) .sa-matrix-table tbody th,body:has(#saTimelineChart) .sa-table-panel td,body:has(#saTimelineChart) .sa-table-panel th{color:#dce4f2!important}
body:has(#lineChart) .workshop-modal-body{background:#1c2339!important}
body:has(#lineChart) .workshop-modal-insights>header>div>h3,body:has(#lineChart) .workshop-modal-insights>header>div>span,body:has(#lineChart) .workshop-modal-trend>div>p,body:has(#lineChart) .workshop-modal-trend>div>h4,body:has(#lineChart) .workshop-modal-reasons h4{color:#e8edf7!important}
body:has(#lineChart) .repeat-summary-cards article{background:#252c45!important;border-color:#3b4664!important}
body:has(#lineChart) .repeat-summary-cards span,body:has(#lineChart) .repeat-summary-cards small{color:#aeb9cd!important}
body:has(#lineChart) .repeat-summary-cards strong{color:#f0f3fa!important}
body:has(#lineChart) .repeat-summary-cards .revisit{background:#222a43!important;border-color:#4a5b85!important}
body:has(#lineChart) .repeat-summary-cards .revisit strong{color:#93aaff!important}
body:has(#lineChart) .repeat-summary-cards .repeat{background:#30283c!important;border-color:#64414e!important}
body:has(#lineChart) .repeat-summary-cards .repeat strong{color:#ff9d8a!important}
body:has(#lineChart) .branch-service-name strong,body:has(#lineChart) .service-branch-table td>b,body:has(#lineChart) .service-branch-table td>strong{color:#edf2fa!important}
body:has(#lineChart) .same-day-delivery-row span,body:has(#lineChart) .same-day-delivery-row small,body:has(#lineChart) .live-metric-grid .same-day-inline{color:#cceee5!important}
body:has(#lineChart) .separate-category-top h3,body:has(#lineChart) .separate-category-stats b,body:has(#lineChart) .separate-category-types strong{color:#edf2fa!important}
body:has(#lineChart) .separate-category-types>div{background:#202740!important;border-color:#3a4562!important}
body:has(#lineChart) .table-panel .table-header,body:has(#lineChart) .table-panel .table-footer{background:#202740!important;border-color:#3a4562!important}
body:has(#lineChart) .table-panel .table-actions label{background:#1b2238!important;border-color:#46516f!important}
body:has(#lineChart) .table-panel .table-actions input{background:transparent!important;color:#f0f3fa!important}
body:has(#lineChart) .table-panel .table-actions svg{color:#aeb9cd!important}
body:has(#lineChart) .table-panel .vehicle-name small{color:#aeb9cd!important}
body:has(#lineChart) .live-metric-grid article>div strong,body:has(#lineChart) .live-metric-grid article>b{color:#f0f3fa!important}
body:has(#lineChart) .live-metric-grid article>div small{color:#aeb9cd!important}
body:has(#lineChart) .live-metric-grid .same-day-inline:before{background:#27344f!important;color:#6de7c5!important}
body:has(#lineChart) .branch-service-panel>header{background:#202740!important}
body:has(#lineChart) .branch-service-panel .branch-service-row:nth-child(odd){border-color:#3a4562!important}
body:has(#lineChart) .service-panel .service-item,body:has(#lineChart) .service-panel .service-branch-table th{color:#dfe6f2!important}
body:has(#lineChart) .service-panel .service-branch-summary strong{color:#f0f3fa!important}
body:has(#lineChart) .service-panel .service-branch-summary span{background:#202740!important;border-color:#3a4562!important;color:#dfe6f2!important}
body:has(#lineChart) .workshop-modal-quality article small,body:has(#lineChart) .workshop-modal-quality article em{color:#aeb9cd!important}
body:has(#lineChart) .workshop-modal-reasons #workshopModalReasons>div{background:#252c45!important;border-color:#3b4664!important;color:#e6ebf5!important}
body:has(#lineChart) .workshop-modal-body .central-block-title b{background:#303a57!important;color:#cfdaec!important}
body:has(#lineChart) .workshop-modal-body .central-ws-title small,body:has(#lineChart) .workshop-modal-body .central-ro span,body:has(#lineChart) .workshop-modal-body .central-total span{color:#aeb9cd!important}
body:has(#lineChart) .workshop-repeat-reason strong{padding:5px 7px;border:1px solid #28675d;border-radius:7px;background:#174c46!important;color:#83f0d1!important;font-size:10px!important}
body:has(#lineChart) .workshop-achievement>div:first-child small.target-pace-status,body:has(#lineChart) .central-target-summary>small.target-pace-status{display:flex!important;align-items:center;gap:5px}
body:has(#lineChart) .target-pace-status>i{display:block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#f0a36b;box-shadow:0 0 0 3px #493b3a;margin:0}
body:has(#lineChart) .target-pace-status.met>i{background:#38d6aa;box-shadow:0 0 0 3px #245147}
/* Contrast fixes for remaining workshop and advisor details. */
body:has(#lineChart) .workshop-achievement{background:#202740!important;border-color:#3a4562!important;color:#edf2fa}
body:has(#lineChart) .workshop-achievement>div:first-child span,body:has(#lineChart) .workshop-achievement>strong{color:#edf2fa!important}
body:has(#lineChart) .workshop-achievement>div:first-child small{color:#b6c2d6!important}
body:has(#lineChart) .workshop-achievement .achievement-track{background:#3a4562!important}
body:has(#lineChart) .workshop-achievement .target-line,body:has(#lineChart) .central-target-summary .target-line{background:#f0f4fc!important;box-shadow:0 0 0 1px #27314d,0 0 6px rgba(238,245,255,.35)!important}
body:has(#lineChart) .same-day-delivery-row{background:#1d3b3c!important;border-color:#315d59!important}
body:has(#lineChart) .same-day-delivery-row>div>span{color:#e2f4ef!important}
body:has(#lineChart) .same-day-delivery-row>div>small{color:#a8c9c0!important}
body:has(#lineChart) .same-day-delivery-row>b{background:#14554b!important;color:#7af0d0!important}
body:has(#lineChart) .central-block-title b,body:has(#lineChart) .central-data-block .central-block-title b{background:#303a57!important;color:#dce7f7!important;border:1px solid #465372}
body:has(#lineChart) .central-ro em,body:has(#lineChart) .central-total em{color:#ff857e!important}
body:has(#lineChart) .data-level-pill{background:#26334f!important;border-color:#435170!important;color:#d5e1f5!important}
body:has(#lineChart) .model-table .same-day-table-value,body:has(#lineChart) .model-table .same-day-table-percent{color:#75e9c9!important}
body:has(#lineChart) .model-table .same-day-table-percent{background:#164b45!important;border-color:#23685d!important}
body:has(#lineChart) .central-expand{background:#303a57!important;border-color:#4b5878!important;color:#7de8ca!important}
body:has(#lineChart) .central-expand:hover{background:#1d574e!important;border-color:#3c9a83!important;color:#b5ffe9!important}
body:has(#lineChart) .central-expand svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:has(#lineChart) .workshop-modal-close{display:grid;place-items:center;font-size:0}
body:has(#lineChart) .workshop-modal-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
body:has(#lineChart) .workshop-modal-insight-grid{grid-template-columns:minmax(0,1fr)}
body:has(#lineChart) .workshop-modal-insight-grid [hidden]{display:none!important}
body:has(#lineChart) .workshop-insight-tabs{display:flex;gap:8px;padding:0 18px 12px;border-bottom:1px solid #3a4562}
body:has(#lineChart) .workshop-insight-tabs button{padding:8px 12px;border:1px solid #3c4865;border-radius:8px;background:#252c45;color:#bdc8da;font:600 10px Manrope,sans-serif;cursor:pointer}
body:has(#lineChart) .workshop-insight-tabs button.active{border-color:#35d5a8;background:#164b43;color:#e8fff8}
body:has(#lineChart) .workshop-modal-trend,body:has(#lineChart) .workshop-modal-reasons{min-width:0}
body:has(#lineChart) .workshop-modal-trend #workshopModalTrendChart{height:260px}
body:has(#lineChart) .workshop-service-donut-layout{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(0,1.5fr);align-items:center;gap:16px;padding:8px 0}
body:has(#lineChart) .workshop-modal-body .central-service-list{display:block!important}
body:has(#lineChart) .workshop-modal-body .central-service-list>.workshop-service-donut-layout{display:grid!important;grid-template-columns:minmax(140px,.7fr) minmax(0,1.5fr)!important;grid-template-rows:auto!important;align-items:center;height:auto!important;min-height:180px;padding:8px 0!important;border:0!important;border-radius:0!important;background:transparent!important}
body:has(#lineChart) .workshop-service-donut{width:min(100%,210px);justify-self:center;color:#bdc8da;text-align:center;font-size:10px}
body:has(#lineChart) .workshop-service-donut svg{display:block;width:100%;height:auto!important;aspect-ratio:1;overflow:visible}
body:has(#lineChart) .workshop-service-donut-total{fill:#f1f4fa;font:700 17px Manrope,sans-serif}
body:has(#lineChart) .workshop-service-donut-label{fill:#aab6cc;font:700 6px "DM Sans",sans-serif;letter-spacing:.8px}
body:has(#lineChart) .workshop-service-donut-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body:has(#lineChart) .workshop-service-donut-legend>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:6px;padding:8px;background:#252c45;border:1px solid #3a4562;border-radius:8px;color:#e3eafa;font-size:9px}
body:has(#lineChart) .workshop-service-donut-legend>div>i{width:8px;height:8px;border-radius:50%}
body:has(#lineChart) .workshop-service-donut-legend>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:has(#lineChart) .workshop-service-donut-legend>div>strong{grid-column:2;color:#f5f7fb;font-size:10px}
body:has(#lineChart) .workshop-service-donut-legend>div>small{grid-column:3;grid-row:1/3;color:#aab6cc;font-size:9px}
@media(max-width:760px){body:has(#lineChart) .workshop-insight-tabs{padding-left:10px}body:has(#lineChart) .workshop-modal-insight-grid{grid-template-columns:1fr}body:has(#lineChart) .workshop-service-donut-layout{grid-template-columns:115px minmax(0,1fr);gap:10px}body:has(#lineChart) .workshop-service-donut-legend{grid-template-columns:1fr}body:has(#lineChart) .workshop-service-donut-legend>div{padding:6px}}
body:has(#lineChart) .model-table .negative,body:has(#lineChart) .negative{color:#ff817d!important}
/* Revenue page refresh: responsive filters, live chart and counter-sale tiles. */
body:has(#revenue-overview){--bg:#171b2e;--panel:#252c45;--ink:#f0f3fa;--muted:#a1abc0;--line:#38425e;background:var(--bg);color:var(--ink)}
body:has(#revenue-overview) .topbar{background:rgba(27,32,53,.96);border-color:#38425e;color:#eef2fb}
body:has(#revenue-overview) .main-content{color:#eef2fb}
body:has(#revenue-overview) .page-heading h1{color:#f4f6fb}
body:has(#revenue-overview) .page-heading p{color:#aeb9cd}
body:has(#revenue-overview) .revenue-filters{display:flex;flex-wrap:wrap;min-height:0;align-items:center;gap:9px;background:#252c45;border-color:#38425e;padding:12px}
body:has(#revenue-overview) .revenue-filters .select-filter{flex:1 1 135px;min-width:125px}
body:has(#revenue-overview) .revenue-filters .period-filter{flex:none}
body:has(#revenue-overview) .revenue-filters input,body:has(#revenue-overview) .revenue-filters select{width:100%;min-width:0;background:#1d2339;border-color:#3b4664;color:#eef2fb}
body:has(#revenue-overview) .revenue-filters .period-filter{background:#1d2339}
body:has(#revenue-overview) .revenue-filters .period-filter button{color:#aeb9cd}
body:has(#revenue-overview) .revenue-filters .period-filter button.active{background:#36d5a8;color:#102a26}
body:has(#revenue-overview) .panel,body:has(#revenue-overview) .kpi-card:not(.primary-kpi){background:#252c45;border-color:#38425e;color:#eef2fb;box-shadow:0 10px 28px rgba(3,7,20,.25)}
body:has(#revenue-overview) .primary-kpi{background:linear-gradient(135deg,#202741,#2c3655);border-color:#405071;color:#f7f8fc}
body:has(#revenue-overview) .panel-header h2,body:has(#revenue-overview) .kpi-label{color:#eef2fb}
body:has(#revenue-overview) .panel-header p,body:has(#revenue-overview) .kpi-bottom{color:#aeb9cd}
body:has(#revenue-overview) .model-table th,body:has(#revenue-overview) .model-table td{background:#252c45;border-color:#38425e;color:#e3e8f3}
body:has(#revenue-overview) .model-table thead th{background:#202740;color:#c8d1e2}
body:has(#revenue-overview) .model-table tbody tr:hover{background:#2b3551}
.revenue-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.revenue-kpis .kpi-card{min-width:0}
.revenue-overall-tile .kpi-bottom{align-items:flex-start;gap:8px}
.revenue-overall-tile .kpi-bottom span{max-width:60%}
.revenue-trend-panel{height:auto;min-height:335px;padding:18px;margin-bottom:14px}
.revenue-live-chart{width:100%;height:260px;margin-top:12px;position:relative;overflow:hidden}
.revenue-live-chart svg{display:block;width:100%;height:100%;overflow:visible}
.revenue-grid-line{stroke:#3a4562;stroke-width:1}
.revenue-axis-label{fill:#aab4c8;font:10px "DM Sans",sans-serif}
.revenue-chart-area{fill:url(#revenueLiveGradient)}
.revenue-chart-line{fill:none;stroke:#36d5a8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.revenue-chart-point{fill:#252c45;stroke:#36d5a8;stroke-width:2;vector-effect:non-scaling-stroke}
.revenue-chart-empty{padding:25px;color:#aeb9cd;font-size:12px}
.revenue-counter-section{padding:18px;margin-bottom:14px;overflow:hidden}
.revenue-counter-section>.panel-header{gap:16px;align-items:center;flex-wrap:wrap}
.revenue-counter-totals{display:flex;gap:9px;flex-wrap:wrap;margin-left:auto}
.revenue-counter-totals>span{display:grid;gap:4px;min-width:105px;padding:9px 12px;border:1px solid #3b4664;border-radius:10px;background:#202740}
.revenue-counter-totals small{color:#aeb9cd;font-size:9px}
.revenue-counter-totals strong{color:#f1f4fa;font:700 14px Manrope}
.revenue-counter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:11px;margin-top:15px}
.revenue-counter-card{min-width:0;padding:13px;border:1px solid #3b4664;border-top:2px solid #36d5a8;border-radius:12px;background:#202740}
.revenue-counter-card-head{display:flex;align-items:center;gap:9px;min-width:0}
.revenue-counter-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#1b4142;color:#70e8c9;font:700 10px Manrope}
.revenue-counter-card-head>div{min-width:0}
.revenue-counter-card-head strong,.revenue-counter-card-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.revenue-counter-card-head strong{color:#eef2fb;font:700 12px Manrope}
.revenue-counter-card-head small{margin-top:3px;color:#9daac0;font-size:9px}
.revenue-counter-amount{display:grid;gap:4px;margin:14px 0 10px;padding-bottom:10px;border-bottom:1px solid #38425e}
.revenue-counter-amount small{color:#aeb9cd;font-size:9px}
.revenue-counter-amount strong{color:#f4f6fb;font:700 20px Manrope}
.revenue-counter-card-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#aeb9cd;font-size:9px}
.revenue-counter-card-foot strong{color:#f1f4fa;font-weight:700}
@media(max-width:1180px){.revenue-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.revenue-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-counter-totals{width:100%;margin-left:0}.revenue-counter-totals>span{flex:1}.revenue-live-chart{height:225px}}
@media(max-width:480px){.revenue-kpis{grid-template-columns:1fr}.revenue-filters .period-filter{width:100%;justify-content:space-around}.revenue-counter-grid{grid-template-columns:1fr}.revenue-overall-tile .kpi-bottom span{max-width:none}}
body:has(#saTimelineChart) .date-filter{background:#202740!important;border-color:#46516f!important}
body:has(#saTimelineChart) .date-filter span{color:#aebbd0!important}
body:has(#saTimelineChart) .date-filter input{background:#202740!important;color:#f0f3fa!important;color-scheme:dark;border-color:#46516f!important}
body:has(#saTimelineChart) .sa-filter-bar select{color-scheme:dark}
body:has(#saTimelineChart) .sa-filter-bar .period-filter a{color:#bdc8dc!important;background:transparent}
body:has(#saTimelineChart) .sa-filter-bar .period-filter a.active{background:#00a97d!important;color:#082c28!important;box-shadow:0 2px 8px rgba(0,209,154,.24)}
body:has(#saTimelineChart) .sa-kpi-grid>.kpi-card:nth-child(2){background:linear-gradient(145deg,#26344f,#273c59)!important;border-color:#47658a!important}
body:has(#saTimelineChart) .sa-kpi-grid>.kpi-card:nth-child(3){background:linear-gradient(145deg,#203c43,#254a4d)!important;border-color:#39756d!important}
body:has(#saTimelineChart) .sa-kpi-grid>.kpi-card:nth-child(4){background:linear-gradient(145deg,#312c50,#37345d)!important;border-color:#5d5791!important}
body:has(#saTimelineChart) .sa-kpi-grid>.kpi-card:nth-child(5){background:linear-gradient(145deg,#402c43,#493249)!important;border-color:#744b70!important}
body:has(#saTimelineChart) .sa-kpi-grid>.kpi-card:nth-child(2) .metric-icon{background:#304866!important;color:#9bc6ff!important}
body:has(#saTimelineChart) .sa-kpi-grid>.kpi-card:nth-child(3) .metric-icon{background:#245b55!important;color:#71e4c4!important}
body:has(#saTimelineChart) .sa-kpi-grid>.kpi-card:nth-child(4) .metric-icon{background:#4b4277!important;color:#c7b9ff!important}
body:has(#saTimelineChart) .sa-kpi-grid>.kpi-card:nth-child(5) .metric-icon{background:#674553!important;color:#ffb4a2!important}
body:has(#saTimelineChart) .sa-kpi-grid .kpi-label{color:#d7deec!important}
body:has(#saTimelineChart) .sa-kpi-grid .kpi-main strong{color:#fff!important}
body:has(#saTimelineChart) .sa-kpi-grid .kpi-bottom,body:has(#saTimelineChart) .sa-kpi-grid .kpi-bottom span{color:#bdc8dc!important}
body:has(#saTimelineChart) .sa-kpi-grid .trend{background:rgba(14,20,39,.35)!important;color:#dce7f6!important}
body:has(#saTimelineChart) .sa-kpi-grid .trend.up{color:#7af0d0!important}
body:has(#saTimelineChart) .sa-table-search{background:#202740!important;border-color:#46516f!important}
body:has(#saTimelineChart) .sa-table-search input{background:transparent!important;color:#f2f5fb!important}
body:has(#saTimelineChart) .sa-table-search input::placeholder{color:#aab7cd!important;opacity:1}
body:has(#saTimelineChart) .sa-table-panel thead th,body:has(#saTimelineChart) .sa-matrix-panel thead th{background:#303a57!important;color:#dfe7f5!important;border-color:#465372!important}
body:has(#saTimelineChart) .sa-table-panel tbody tr,body:has(#saTimelineChart) .sa-matrix-panel tbody tr{background:#252c45!important}
body:has(#saTimelineChart) .sa-table-panel tbody tr:hover,body:has(#saTimelineChart) .sa-matrix-panel tbody tr:hover{background:#303a57!important}
body:has(#saTimelineChart) .sa-table-panel tbody tr:hover td,body:has(#saTimelineChart) .sa-table-panel tbody tr:hover th,body:has(#saTimelineChart) .sa-matrix-panel tbody tr:hover td,body:has(#saTimelineChart) .sa-matrix-panel tbody tr:hover th{background:#303a57!important;color:#f1f4fa!important}
body:has(#saTimelineChart) .sa-performance-table td,body:has(#saTimelineChart) .sa-matrix-table td,body:has(#saTimelineChart) .sa-matrix-table tbody th{color:#e5ebf5!important}
body:has(#saTimelineChart) .sa-performance-table td strong,body:has(#saTimelineChart) .sa-performance-table td b,body:has(#saTimelineChart) .sa-matrix-table td strong{color:#f7f8fc!important}
body:has(#saTimelineChart) .sa-performance-table .sa-share{color:#b5c1d5!important}
body:has(#saTimelineChart) .sa-performance-table .same-day-table-percent{background:#174c46!important;color:#73e9c9!important;border:1px solid #28675d}
body:has(#saTimelineChart) .sa-performance-table .sa-change{background:#263752!important;color:#cbd7ec!important}
body:has(#saTimelineChart) .sa-performance-table .sa-change.positive{background:#174c46!important;color:#73e9c9!important}
body:has(#saTimelineChart) .sa-performance-table .sa-change.negative{background:#563641!important;color:#ffaaa2!important}
body:has(#saTimelineChart) .sa-table-panel .empty-cell,body:has(#saTimelineChart) .sa-matrix-panel .empty-cell{background:#252c45!important;color:#c1ccde!important}
body:has(#saTimelineChart) .sa-table-panel tr[hidden],body:has(#saTimelineChart) .sa-matrix-panel tr[hidden]{display:none!important}
body:has(#saTimelineChart) .sa-table-pager{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:12px 16px;color:#b8c4d8;font-size:10px;border-top:1px solid #3b4664}
body:has(#saTimelineChart) .sa-table-pager button{height:30px;padding:0 11px;border:1px solid #465372;border-radius:8px;background:#303a57;color:#e7edf7;font:600 10px "DM Sans",sans-serif;cursor:pointer}
body:has(#saTimelineChart) .sa-table-pager button:hover:not(:disabled){background:#00a97d;border-color:#00a97d;color:#092c27}
body:has(#saTimelineChart) .sa-table-pager button:disabled{opacity:.45;cursor:default}
body:has(#saTimelineChart) .sa-table-pager strong{color:#68e7c4;font-size:10px}
body:has(#lineChart) .table-responsive,body:has(#saTimelineChart) .table-responsive{scrollbar-color:#687796 #202740;scrollbar-width:thin}
body:has(#lineChart) .table-responsive::-webkit-scrollbar,body:has(#saTimelineChart) .table-responsive::-webkit-scrollbar{height:11px;width:11px}
body:has(#lineChart) .table-responsive::-webkit-scrollbar-track,body:has(#saTimelineChart) .table-responsive::-webkit-scrollbar-track{background:#1b2238;border:1px solid #35415e;border-radius:10px}
body:has(#lineChart) .table-responsive::-webkit-scrollbar-thumb,body:has(#saTimelineChart) .table-responsive::-webkit-scrollbar-thumb{background:#687796;border:2px solid #1b2238;border-radius:10px}
body:has(#lineChart) .table-responsive::-webkit-scrollbar-thumb:hover,body:has(#saTimelineChart) .table-responsive::-webkit-scrollbar-thumb:hover{background:#8b9cbd}
/* Match the overview KPI filters, metric chips and quality badges to the navy theme. */
body:has(#lineChart) .filter-bar:not(.sa-filter-bar) .period-filter button{color:#b7c3d8!important}
body:has(#lineChart) .filter-bar:not(.sa-filter-bar) .period-filter button.active{background:#00b98a!important;color:#062b27!important;box-shadow:0 3px 10px rgba(0,209,154,.2)}
body:has(#lineChart) .filter-bar:not(.sa-filter-bar) .date-filter{background:#202740!important;border-color:#46516f!important}
body:has(#lineChart) .filter-bar:not(.sa-filter-bar) .date-filter span{color:#aebbd0!important}
body:has(#lineChart) .filter-bar:not(.sa-filter-bar) .date-filter input{background:#202740!important;color:#f0f3fa!important;color-scheme:dark;border-color:#46516f!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(2){background:linear-gradient(145deg,#26344f,#273c59)!important;border-color:#47658a!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(3){background:linear-gradient(145deg,#312c50,#37345d)!important;border-color:#5d5791!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(4){background:linear-gradient(145deg,#403a2c,#49402d)!important;border-color:#77663f!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(5){background:linear-gradient(145deg,#203c43,#254a4d)!important;border-color:#39756d!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(2) .metric-icon{background:#304866!important;color:#9bc6ff!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(3) .metric-icon{background:#4b4277!important;color:#c7b9ff!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(4) .metric-icon{background:#665431!important;color:#ffda7d!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(5) .metric-icon{background:#245b55!important;color:#71e4c4!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid) .kpi-label{color:#d7deec!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid) .kpi-main strong{color:#fff!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid) .kpi-bottom,body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid) .kpi-bottom span{color:#bdc8dc!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid) .trend{background:rgba(14,20,39,.38)!important;color:#dce7f6!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid) .trend.up{color:#7af0d0!important}
body:has(#lineChart) .cancelled-badge,body:has(#lineChart) .cancelled-inline,body:has(#lineChart) .cancelled-pill,body:has(#lineChart) .branch-card .negative-badge{background:#563641!important;border-color:#744a50!important;color:#ffb2a7!important}
body:has(#lineChart) .repeat-subhead>span,body:has(#lineChart) .repeat-reason-panel .data-level-pill,body:has(#lineChart) .repeat-branch-panel .data-level-pill{background:#303a57!important;border:1px solid #465372!important;color:#dce7f5!important}
body:has(#lineChart) .quality-value.revisit span{background:#303957!important;color:#b7c6ff!important}
body:has(#lineChart) .quality-value.repeat span{background:#563641!important;color:#ffb2a7!important}
body:has(#lineChart) .quality-value>i,body:has(#lineChart) .repeat-reason-list>article>i{background:#3b4663!important}
body:has(#lineChart) .repeat-branch-table>article,body:has(#lineChart) .repeat-subhead,body:has(#lineChart) .repeat-reason-list article{border-color:#3a4562!important}
body:has(#lineChart) .repeat-reason-list article>b{color:#ff9c8c!important}
/* Native select popups use their own option colors; set these explicitly too. */
body:has(#lineChart) select,body:has(#saTimelineChart) select,body:has(#revenueChart) select{color-scheme:dark;background-color:#202740;color:#f0f3fa}
body:has(#lineChart) select option,body:has(#lineChart) select optgroup,body:has(#saTimelineChart) select option,body:has(#saTimelineChart) select optgroup,body:has(#revenueChart) select option,body:has(#revenueChart) select optgroup{background-color:#202740;color:#f0f3fa}
body:has(#lineChart) select option:checked,body:has(#saTimelineChart) select option:checked,body:has(#revenueChart) select option:checked{background-color:#087e68;color:#fff}
body:has(#lineChart) select option:disabled,body:has(#saTimelineChart) select option:disabled,body:has(#revenueChart) select option:disabled{color:#8998b0}
body:has(#lineChart) .model-pagination button{min-width:58px;height:30px;padding:0 11px;border:1px solid #465372;border-radius:8px;background:#303a57!important;color:#e7edf7!important;font:600 10px "DM Sans",sans-serif;transition:background .15s,border-color .15s,color .15s}
body:has(#lineChart) .model-pagination button:hover:not(:disabled){background:#00a97d!important;border-color:#00a97d;color:#082c27!important}
body:has(#lineChart) .model-pagination button:disabled{background:#222a42!important;border-color:#394561;color:#8090aa!important;opacity:1;cursor:default}
body:has(#lineChart) .model-pagination span{min-width:78px;text-align:center;color:#bdc9dc!important;font-size:10px}
body:has(#saTimelineChart) .sa-advisor-detail-link{padding:0;border:0;background:none;color:#e9f1fc;font:700 11px "DM Sans",sans-serif;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}
body:has(#saTimelineChart) .sa-advisor-detail-link:hover,body:has(#saTimelineChart) .sa-advisor-detail-link:focus-visible{color:#68e7c4;text-decoration-color:#68e7c4;outline:none}
body:has(#saTimelineChart) .sa-advisor-modal{position:fixed;inset:0;z-index:1200;display:none;place-items:center;padding:20px}
body:has(#saTimelineChart) .sa-advisor-modal.open{display:grid}
body:has(#saTimelineChart) .sa-advisor-modal-backdrop{position:absolute;inset:0;background:rgba(5,10,22,.78);backdrop-filter:blur(6px)}
body:has(#saTimelineChart) .sa-advisor-modal-dialog{position:relative;display:flex;flex-direction:column;width:min(1180px,96vw);max-height:92vh;overflow:hidden;border:1px solid #465372;border-radius:17px;background:#1d253b;color:#eff3fa;box-shadow:0 24px 80px rgba(0,0,0,.5)}
body:has(#saTimelineChart) .sa-advisor-modal-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 21px;border-bottom:1px solid #394560;background:#222b43}
body:has(#saTimelineChart) .sa-advisor-modal-dialog>header .eyebrow{margin-bottom:5px;color:#38d6ab;font-size:9px}
body:has(#saTimelineChart) .sa-advisor-modal-dialog>header h2{margin:0;color:#f5f7fb;font:700 18px Manrope,sans-serif}
body:has(#saTimelineChart) .sa-advisor-modal-close{width:36px;height:36px;border:1px solid #53617f;border-radius:9px;background:#303a57;color:#f1f4f9;font-size:23px;line-height:1;cursor:pointer}
body:has(#saTimelineChart) .sa-advisor-modal-close:hover{background:#00b98a;border-color:#00b98a;color:#082c27}
body:has(#saTimelineChart) .sa-advisor-modal-body{overflow:auto;padding:18px 20px 20px;scrollbar-color:#687796 #1b2238;scrollbar-width:thin}
body:has(#saTimelineChart) .advisor-modal-content .sa-selected-profile{margin:0 0 13px}
body:has(#saTimelineChart) .advisor-modal-content .sa-detail-kpis{margin-bottom:13px}
body:has(#saTimelineChart) .advisor-modal-content .sa-detail-kpis article,body:has(#saTimelineChart) .advisor-modal-content .sa-detail-timeline,body:has(#saTimelineChart) .advisor-modal-content .sa-detail-data-panel,body:has(#saTimelineChart) .advisor-modal-content .sa-revenue-provision,body:has(#saTimelineChart) .advisor-modal-content .sa-repeat-detail{background:#252c45;border-color:#3d4966;color:#eef2fa}
body:has(#saTimelineChart) .advisor-modal-content .sa-detail-data-panel .panel-header>strong{color:#67e4c2}
body:has(#saTimelineChart) .advisor-modal-content .sa-detail-list>div{border-color:#3a4562}
body:has(#saTimelineChart) .advisor-modal-content .sa-detail-name{color:#edf2fa}
body:has(#saTimelineChart) .advisor-modal-content .sa-detail-name small{color:#aebbd0}
body:has(#saTimelineChart) .advisor-modal-content .sa-revenue-cards article{background:#202740;border-color:#3b4664}
body:has(#saTimelineChart) .advisor-modal-content .sa-revenue-cards span,body:has(#saTimelineChart) .advisor-modal-content .sa-revenue-cards small{color:#bdc8da}
body:has(#saTimelineChart) .advisor-modal-content .sa-revenue-cards strong{color:#71e6c5}
body:has(#saTimelineChart) .advisor-modal-content .sa-repeat-reasons>div{background:#302b3a;border-color:#554556}
body:has(#saTimelineChart) .advisor-modal-content .sa-repeat-reasons span{color:#e4e9f2}
body:has(#saTimelineChart) .advisor-modal-content .sa-repeat-reasons strong{color:#ffad9c}
body:has(#saTimelineChart) .advisor-modal-picker{display:grid;gap:12px;max-width:640px;padding:12px 8px 20px}
body:has(#saTimelineChart) .advisor-modal-picker .eyebrow{color:#3bd9ae;font-size:9px;font-weight:700;letter-spacing:1.3px}
body:has(#saTimelineChart) .advisor-modal-picker h2{margin:0;color:#f2f5fb;font:700 22px Manrope,sans-serif}
body:has(#saTimelineChart) .advisor-modal-picker p{margin:0;color:#bdc8da;font-size:12px}
body:has(#saTimelineChart) .advisor-modal-picker label{display:grid;gap:6px;color:#b8c4d8;font-size:11px}
body:has(#saTimelineChart) .advisor-modal-picker select{height:40px;padding:0 12px;border:1px solid #465372;border-radius:9px;background:#202740;color:#f1f4f9;color-scheme:dark}
body:has(#saTimelineChart) .sa-modal-loading,body:has(#saTimelineChart) .sa-modal-error{padding:20px;color:#d7e0ee}
@media(max-width:760px){body:has(#saTimelineChart) .sa-advisor-modal{padding:8px}body:has(#saTimelineChart) .sa-advisor-modal-dialog{width:100%;max-height:96vh}body:has(#saTimelineChart) .sa-advisor-modal-body{padding:12px}body:has(#saTimelineChart) .advisor-modal-content .sa-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.location-tiles{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.location-tile-actions{flex-wrap:wrap}.multi-model-list{grid-template-columns:1fr}}@media(max-width:520px){.locations-toolbar{align-items:flex-start}.location-tiles{grid-template-columns:1fr}.location-tile-actions{gap:6px}.branch-target-form .target-modal-grid{grid-template-columns:1fr}}

/* Revenue category breakdowns: legible dark tables, location grouped counter cards. */
body:has(#revenue-overview) .revenue-data-panel,body:has(#revenue-overview) .revenue-counter-section{margin:14px 0;padding:16px 18px;background:#222b43;border:1px solid #3a4765;border-radius:15px;color:#edf2fa;overflow:hidden}
body:has(#revenue-overview) .revenue-data-header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}
body:has(#revenue-overview) .revenue-data-header h2,body:has(#revenue-overview) .revenue-counter-section h2{margin:0;color:#f2f5fb;font:700 16px Manrope,sans-serif}
body:has(#revenue-overview) .revenue-data-header p,body:has(#revenue-overview) .revenue-counter-section .panel-header p{margin:4px 0 0;color:#b4c0d4;font-size:11px}
body:has(#revenue-overview) .revenue-search input{width:min(260px,70vw);height:36px;padding:0 11px;border:1px solid #465372;border-radius:9px;background:#1b2339;color:#f3f6fb;font:500 11px "DM Sans",sans-serif;outline:none}
body:has(#revenue-overview) .revenue-search input::placeholder{color:#96a4bc}
body:has(#revenue-overview) .revenue-search input:focus{border-color:#36d5a8;box-shadow:0 0 0 3px rgba(54,213,168,.12)}
body:has(#revenue-overview) .revenue-data-panel .table-responsive{overflow:auto;border:1px solid #3b4764;border-radius:10px}
body:has(#revenue-overview) .revenue-data-table{width:100%;min-width:1000px;border-collapse:collapse;background:#202940;color:#e6edf7;font-size:11px}
body:has(#revenue-overview) .revenue-data-table thead{background:#29344f}
body:has(#revenue-overview) .revenue-data-table th{padding:12px 13px;color:#c7d2e3;font-size:10px;font-weight:700;text-align:left;white-space:nowrap}
body:has(#revenue-overview) .revenue-data-table td{padding:11px 13px;color:#e1e8f3;border-top:1px solid #38445f;white-space:nowrap}
body:has(#revenue-overview) .revenue-data-table tbody th{padding:11px 13px;color:#f0f4fb;border-top:1px solid #38445f;font-size:11px;font-weight:650;text-align:left;white-space:nowrap}
body:has(#revenue-overview) .revenue-data-table tr:hover{background:#2a3550}
body:has(#revenue-overview) .revenue-data-table td strong{color:#73e5c4;font-weight:700}
body:has(#revenue-overview) .revenue-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px 0;color:#aebbd0;font-size:10px}
body:has(#revenue-overview) .revenue-pagination>div{display:flex;gap:7px}
body:has(#revenue-overview) .revenue-pagination button{width:32px;height:30px;border:1px solid #465372;border-radius:8px;background:#303a57;color:#edf2f9;font-size:18px;line-height:1;cursor:pointer}
body:has(#revenue-overview) .revenue-pagination button:hover:not(:disabled){background:#00a97d;border-color:#00a97d;color:#082c27}
body:has(#revenue-overview) .revenue-pagination button:disabled{opacity:.4;cursor:default}
body:has(#revenue-overview) [data-revenue-page-item][hidden]{display:none!important}
body:has(#revenue-overview) .revenue-counter-section>.panel-header{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
body:has(#revenue-overview) .revenue-counter-totals{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}
body:has(#revenue-overview) .revenue-counter-totals>span{display:grid;gap:4px;min-width:100px;padding:9px 11px;border:1px solid #3e4a68;border-radius:10px;background:#1d263d}
body:has(#revenue-overview) .revenue-counter-totals small{color:#b1bfd3;font-size:9px}
body:has(#revenue-overview) .revenue-counter-totals strong{color:#f4f6fb;font:700 14px Manrope,sans-serif}
body:has(#revenue-overview) .revenue-location-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,430px),1fr));gap:13px;margin-top:15px}
body:has(#revenue-overview) .revenue-location-grid{grid-template-columns:minmax(0,1fr)}
body:has(#revenue-overview) .revenue-location-card[hidden],body:has(#revenue-overview) .revenue-location-switcher button[hidden]{display:none!important}
body:has(#revenue-overview) .revenue-location-switcher{display:flex;gap:8px;overflow-x:auto;padding:3px 0 9px;margin:10px 0 4px;scrollbar-width:thin;scrollbar-color:#687796 #1b2238}
body:has(#revenue-overview) .revenue-location-switcher button{flex:0 0 auto;padding:8px 13px;border:1px solid #3d4a68;border-radius:999px;background:#1f2941;color:#c6d2e5;font:600 11px Manrope,sans-serif;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
body:has(#revenue-overview) .revenue-location-switcher button:hover{border-color:#35d5a8;color:#f2f5fb}
body:has(#revenue-overview) .revenue-location-switcher button.active{border-color:#35d5a8;background:#0b856b;color:#fff}
body:has(#revenue-overview) .revenue-location-branch-section{margin:14px 0;padding:18px;background:#222b43;border:1px solid #3a4765;border-radius:15px;color:#edf2fa}
body:has(#revenue-overview) .revenue-location-branch-heading{display:flex;align-items:flex-start;justify-content:space-between;margin:0 0 12px}
body:has(#revenue-overview) .revenue-location-branch-heading h2,body:has(#revenue-overview) .revenue-category-summary h2{margin:0;color:#f2f5fb;font:700 16px Manrope,sans-serif}
body:has(#revenue-overview) .revenue-location-branch-heading p,body:has(#revenue-overview) .revenue-category-summary .panel-header p{margin:4px 0 0;color:#b4c0d4;font-size:11px}
body:has(#revenue-overview) .revenue-parent-location{margin-top:12px;overflow:hidden;border:1px solid #3b4866;border-radius:12px;background:#1f2941}
body:has(#revenue-overview) .revenue-parent-location>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 15px;border-bottom:1px solid #3a4562;background:#252c45}
body:has(#revenue-overview) .revenue-parent-location>header>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}
body:has(#revenue-overview) .revenue-location-mark{display:grid;width:34px;height:34px;place-items:center;flex:0 0 34px;border-radius:9px;background:#164b43;color:#65e6c4;font:700 10px Manrope,sans-serif}
body:has(#revenue-overview) .revenue-parent-location>header>div>div strong,body:has(#revenue-overview) .revenue-parent-location>header>div>div small{display:block}
body:has(#revenue-overview) .revenue-parent-location>header>div>div strong{color:#f2f5fb;font:700 13px Manrope,sans-serif}
body:has(#revenue-overview) .revenue-parent-location>header>div>div small,body:has(#revenue-overview) .revenue-parent-location>header>div:last-child small{margin-top:3px;color:#aebbd0;font-size:9px}
body:has(#revenue-overview) .revenue-parent-location>header>div:last-child{text-align:right}
body:has(#revenue-overview) .revenue-parent-location>header>div:last-child strong{display:block;color:#f4f7fc;font:700 17px Manrope,sans-serif}
body:has(#revenue-overview) .revenue-branch-category-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;font-size:10px}
body:has(#revenue-overview) .revenue-branch-category-table th,body:has(#revenue-overview) .revenue-branch-category-table td{padding:10px 11px;border-bottom:1px solid #35415d;color:#dce4f1;text-align:right;white-space:nowrap}
body:has(#revenue-overview) .revenue-branch-category-table thead th{background:#202740;color:#aebbd0;font-size:9px;font-weight:700}
body:has(#revenue-overview) .revenue-branch-category-table th:first-child,body:has(#revenue-overview) .revenue-branch-category-table td:first-child{text-align:left}
body:has(#revenue-overview) .revenue-branch-category-table tbody th{color:#f1f4fa;font-weight:700}
body:has(#revenue-overview) .revenue-branch-category-table tbody td strong{color:#fff;font-weight:700}
body:has(#revenue-overview) .revenue-branch-category-table tbody tr:hover td,body:has(#revenue-overview) .revenue-branch-category-table tbody tr:hover th{background:#29334d}
body:has(#revenue-overview) .location-contribution-pill{display:inline-block;padding:4px 8px;border:1px solid #287d6c;border-radius:999px;background:#164b43;color:#72e8c8;font-size:9px;font-weight:700}
body:has(#revenue-overview) .revenue-category-summary{margin:14px 0;padding:16px 18px;background:#222b43;border:1px solid #3a4765;border-radius:15px;color:#edf2fa}
body:has(#revenue-overview) .revenue-category-summary .revenue-list>div{border-color:#3a4562}
body:has(#revenue-overview) .revenue-category-summary .revenue-list span{color:#dce4f1}
body:has(#revenue-overview) .revenue-category-summary .revenue-list strong{color:#fff}
body:has(#revenue-overview) .revenue-category-summary .revenue-list small{color:#aebbd0}
body:has(#revenue-overview) .revenue-location-empty{padding:18px;color:#aebbd0;font-size:11px}
body:has(#revenue-overview) .revenue-parent-location .table-responsive{scrollbar-width:thin;scrollbar-color:#66728f #1b2238}
body:has(#revenue-overview) .revenue-parent-location .table-responsive::-webkit-scrollbar{height:9px}
body:has(#revenue-overview) .revenue-parent-location .table-responsive::-webkit-scrollbar-track{background:#1b2238;border-radius:9px}
body:has(#revenue-overview) .revenue-parent-location .table-responsive::-webkit-scrollbar-thumb{background:#66728f;border:2px solid #1b2238;border-radius:9px}
@media(max-width:760px){body:has(#revenue-overview) .revenue-parent-location>header{align-items:flex-start;flex-direction:column}body:has(#revenue-overview) .revenue-parent-location>header>div:last-child{text-align:left}}
body:has(#bodyshop-overview){background:#171c31;color:#e8edf7}
body:has(#bodyshop-overview) .page-heading h1{color:#f4f6fb}
body:has(#bodyshop-overview) .page-heading p{color:#aab5ca}
body:has(#bodyshop-overview) .bodyshop-filters{margin-bottom:16px;background:#222b43;border-color:#3a4765;box-shadow:none}
body:has(#bodyshop-overview) .bodyshop-filters .period-filter{background:#1c243b}
body:has(#bodyshop-overview) .bodyshop-filters .period-filter button{color:#aab6cc}
body:has(#bodyshop-overview) .bodyshop-filters .period-filter button.active{background:#35d5a8;color:#12352e}
body:has(#bodyshop-overview) .bodyshop-filters .date-filter,body:has(#bodyshop-overview) .bodyshop-filters .select-filter{border-color:#3d4a68;background:#1e263e;color:#dce4f1}
body:has(#bodyshop-overview) .bodyshop-filters .date-filter span,body:has(#bodyshop-overview) .bodyshop-filters .select-filter span{color:#aab6cc}
body:has(#bodyshop-overview) .bodyshop-filters input,body:has(#bodyshop-overview) .bodyshop-filters select{color:#f1f4fa;background:transparent}
body:has(#bodyshop-overview) .bodyshop-filters select option{background:#202740;color:#f1f4fa}
body:has(#bodyshop-overview) .bodyshop-filters .reset-filter{color:#bdc8da}
body:has(#bodyshop-overview) .bodyshop-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}
body:has(#bodyshop-overview) .bodyshop-kpis .kpi-card{min-width:0;background:#252c45;border-color:#3a4562;color:#f1f4fa;box-shadow:none}
body:has(#bodyshop-overview) .bodyshop-kpis .primary-kpi{background:linear-gradient(140deg,#203d4b,#263650);border-color:#398778}
body:has(#bodyshop-overview) .bodyshop-kpis .kpi-label{color:#c5d0e2;font-size:10px}
body:has(#bodyshop-overview) .bodyshop-kpis .kpi-main strong{color:#fff;font-size:clamp(18px,1.5vw,25px);letter-spacing:-.3px;white-space:nowrap}
body:has(#bodyshop-overview) .bodyshop-kpis .kpi-bottom,body:has(#bodyshop-overview) .bodyshop-kpis .kpi-bottom span{color:#b4c0d4;font-size:9px}
body:has(#bodyshop-overview) .bodyshop-kpis .metric-icon{background:#164b43;color:#65e6c4}
body:has(#bodyshop-overview) .bodyshop-kpis .metric-icon.violet{background:#3e345d;color:#c2a8ff}
body:has(#bodyshop-overview) .bodyshop-kpis .metric-icon.amber{background:#514326;color:#ffd477}
body:has(#bodyshop-overview) .bodyshop-analysis-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);gap:13px;margin-bottom:14px}
body:has(#bodyshop-overview) .bodyshop-chart-panel,body:has(#bodyshop-overview) .revenue-data-panel,body:has(#bodyshop-overview) .bodyshop-location-section{min-width:0;background:#222b43;border:1px solid #3a4765;border-radius:15px;color:#e8edf7;box-shadow:none}
body:has(#bodyshop-overview) .bodyshop-chart-panel{min-height:315px;padding:17px 18px}
body:has(#bodyshop-overview) .bodyshop-chart-panel .panel-header{align-items:flex-start;margin-bottom:12px}
body:has(#bodyshop-overview) .bodyshop-chart-panel .panel-header h2,body:has(#bodyshop-overview) .revenue-data-header h2{margin:0;color:#f2f5fb;font:700 15px Manrope,sans-serif}
body:has(#bodyshop-overview) .bodyshop-chart-panel .panel-header p,body:has(#bodyshop-overview) .revenue-data-header p{margin:4px 0 0;color:#b4c0d4;font-size:10px}
body:has(#bodyshop-overview) .bodyshop-chart-panel .panel-header>strong{color:#35d5a8;font:700 14px Manrope,sans-serif;white-space:nowrap}
body:has(#bodyshop-overview) .bodyshop-trend-chart{height:245px;position:relative;min-width:0}
body:has(#bodyshop-overview) .bodyshop-trend-chart svg{display:block;width:100%;height:100%!important;overflow:visible}
body:has(#bodyshop-overview) .bodyshop-grid-line{stroke:#3a4562;stroke-width:1}
body:has(#bodyshop-overview) .bodyshop-axis-label{fill:#aab6cc;font:10px "DM Sans",sans-serif}
body:has(#bodyshop-overview) .bodyshop-axis-label.holiday{fill:#f3cd76;font-weight:700}
body:has(#bodyshop-overview) .bodyshop-trend-area{fill:rgba(53,213,168,.11)}
body:has(#bodyshop-overview) .bodyshop-trend-line{fill:none;stroke:#35d5a8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
body:has(#bodyshop-overview) .bodyshop-trend-point{fill:#222b43;stroke:#35d5a8;stroke-width:2;cursor:help}
body:has(#bodyshop-overview) .bodyshop-trend-point.holiday{stroke:#f3cd76}
body:has(#bodyshop-overview) .bodyshop-category-bars{display:grid;gap:15px;padding:12px 2px}
body:has(#bodyshop-overview) .bodyshop-category-bars>div{display:grid;grid-template-columns:minmax(95px,1fr) minmax(50px,1.25fr) auto;align-items:center;gap:8px}
body:has(#bodyshop-overview) .bodyshop-category-bars>div>span{color:#dce4f1;font-size:10px}
body:has(#bodyshop-overview) .bodyshop-category-bars>div>i{height:8px;border-radius:99px;background:#394560;overflow:hidden}
body:has(#bodyshop-overview) .bodyshop-category-bars>div>i>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#20b992,#54dfb6)}
body:has(#bodyshop-overview) .bodyshop-category-bars>div>strong{color:#f4f6fb;font-size:10px;text-align:right;white-space:nowrap}
body:has(#bodyshop-overview) .bodyshop-category-bars>div>small{grid-column:2/4;color:#aab6cc;font-size:9px;text-align:right}
body:has(#bodyshop-overview) .bodyshop-location-section{padding:17px;margin:14px 0}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-location-branch-heading h2{color:#f2f5fb}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-location-branch-heading p{color:#b4c0d4}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-parent-location{background:#1f2941;border-color:#3b4866}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-parent-location>header{background:#252c45;border-color:#3a4562}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-parent-location>header>div>div strong,body:has(#bodyshop-overview) .bodyshop-location-section .revenue-parent-location>header>div:last-child strong{color:#f2f5fb}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-parent-location>header small{color:#aebbd0}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-branch-category-table{min-width:1120px;background:#1f2941}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-branch-category-table th,body:has(#bodyshop-overview) .bodyshop-location-section .revenue-branch-category-table td{color:#dce4f1;border-color:#35415d}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-branch-category-table thead th{background:#202740;color:#aebbd0}
body:has(#bodyshop-overview) .bodyshop-location-section .revenue-branch-category-table tbody th,body:has(#bodyshop-overview) .bodyshop-location-section .revenue-branch-category-table tbody td strong{color:#f1f4fa}
body:has(#bodyshop-overview) .revenue-data-panel{margin:14px 0;padding:16px 18px;overflow:hidden}
body:has(#bodyshop-overview) .revenue-data-header{gap:14px;align-items:center;flex-wrap:wrap}
body:has(#bodyshop-overview) .revenue-data-header .revenue-search{background:#1d263e;border-color:#3d4a68}
body:has(#bodyshop-overview) .revenue-data-header .revenue-search input{color:#f1f4fa}
body:has(#bodyshop-overview) .revenue-data-header .revenue-search input::placeholder{color:#9ba9bf}
body:has(#bodyshop-overview) .revenue-data-table{width:100%;border-collapse:separate;border-spacing:0;color:#dce4f1;font-size:10px}
body:has(#bodyshop-overview) .revenue-data-table th,body:has(#bodyshop-overview) .revenue-data-table td{padding:10px 11px;border-bottom:1px solid #35415d;white-space:nowrap}
body:has(#bodyshop-overview) .revenue-data-table thead th{background:#202740;color:#aebbd0;font-size:9px}
body:has(#bodyshop-overview) .revenue-data-table tbody th{color:#f1f4fa}
body:has(#bodyshop-overview) .revenue-data-table tbody td strong{color:#fff}
body:has(#bodyshop-overview) .revenue-data-table tbody tr:hover td,body:has(#bodyshop-overview) .revenue-data-table tbody tr:hover th{background:#29334d}
body:has(#bodyshop-overview) .revenue-pagination{border-top:1px solid #3a4562;color:#b4c0d4}
body:has(#bodyshop-overview) .revenue-pagination button{border-color:#3d4a68;background:#252c45;color:#dce4f1}
body:has(#bodyshop-overview) .bodyshop-ro-panel{margin:14px 0}
body:has(#bodyshop-overview) .bodyshop-chart-empty{padding:60px 10px;color:#aab6cc;text-align:center;font-size:11px}
@media(max-width:1100px){body:has(#bodyshop-overview) .bodyshop-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}body:has(#bodyshop-overview) .bodyshop-analysis-grid{grid-template-columns:1fr}}
@media(max-width:760px){body:has(#bodyshop-overview) .bodyshop-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(#bodyshop-overview) .bodyshop-category-bars>div{grid-template-columns:minmax(80px,1fr) minmax(45px,1fr) auto}}
body:has(#revenue-overview) .revenue-location-card{min-width:0;padding:14px;border:1px solid #3d4a68;border-top:2px solid #35d5a8;border-radius:12px;background:#1f2941}
body:has(#revenue-overview) .revenue-location-card>header,body:has(#revenue-overview) .revenue-location-card>header>div:first-child{display:flex;align-items:center;gap:10px}
body:has(#revenue-overview) .revenue-location-card>header{justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;border-bottom:1px solid #394661}
body:has(#revenue-overview) .revenue-location-card>header>div:first-child>div{display:grid;gap:4px;min-width:0}
body:has(#revenue-overview) .revenue-location-card>header strong{color:#f2f5fb;font:700 13px Manrope,sans-serif}
body:has(#revenue-overview) .revenue-location-card>header small{color:#aebbd0;font-size:9px}
body:has(#revenue-overview) .revenue-location-total{display:grid;justify-items:end;gap:3px;text-align:right}
body:has(#revenue-overview) .revenue-location-total strong{color:#76e8c8;font-size:17px}
body:has(#revenue-overview) .revenue-location-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:11px}
body:has(#revenue-overview) .revenue-location-category{min-width:0;display:grid;gap:5px;padding:9px;border:1px solid #394661;border-radius:9px;background:#242f49}
body:has(#revenue-overview) .revenue-location-category>div{display:flex;align-items:center;justify-content:space-between;gap:6px}
body:has(#revenue-overview) .revenue-location-category>div strong{overflow:hidden;color:#eaf0f8;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body:has(#revenue-overview) .revenue-location-category>div span{padding:3px 6px;border-radius:99px;background:#303b58;color:#c4d0e2;font-size:8px;white-space:nowrap}
body:has(#revenue-overview) .revenue-location-category>b{color:#f5f7fb;font:700 14px Manrope,sans-serif}
body:has(#revenue-overview) .revenue-location-category>small{color:#b1bfd2;font-size:9px}
body:has(#revenue-overview) .revenue-counter-section .revenue-pagination{border-top:1px solid #394661;margin-top:14px}
@media(max-width:650px){body:has(#revenue-overview) .revenue-counter-totals{width:100%;margin:0}body:has(#revenue-overview) .revenue-counter-totals>span{flex:1}body:has(#revenue-overview) .revenue-location-category-grid{grid-template-columns:1fr}body:has(#revenue-overview) .revenue-location-card>header{flex-wrap:wrap}}
/* Revenue tiles use distinct, high contrast accents; bill types are grouped separately. */
body:has(#revenue-overview) .revenue-kpis .kpi-label{color:#e3eafa!important;font-size:12px;font-weight:700}
body:has(#revenue-overview) .revenue-kpis .kpi-main strong{color:#fff!important;font-size:27px;letter-spacing:-.5px}
body:has(#revenue-overview) .revenue-kpis .kpi-bottom,body:has(#revenue-overview) .revenue-kpis .kpi-bottom span{color:#c2cde0!important;font-size:10px}
body:has(#revenue-overview) .revenue-kpis>.kpi-card:nth-child(1){background:linear-gradient(145deg,#203d4b,#263650)!important;border-color:#398778!important}
body:has(#revenue-overview) .revenue-kpis>.kpi-card:nth-child(2){background:linear-gradient(145deg,#26364e,#283d5c)!important;border-color:#456a91!important}
body:has(#revenue-overview) .revenue-kpis>.kpi-card:nth-child(3){background:linear-gradient(145deg,#3a2d42,#3b3049)!important;border-color:#72536f!important}
body:has(#revenue-overview) .revenue-kpis>.kpi-card:nth-child(4){background:linear-gradient(145deg,#40392a,#49402c)!important;border-color:#80693b!important}
body:has(#revenue-overview) .revenue-kpis>.kpi-card:nth-child(5){background:linear-gradient(145deg,#243b43,#274b50)!important;border-color:#41766e!important}
body:has(#revenue-overview) .revenue-kpis .live-pill,body:has(#revenue-overview) .revenue-kpis .trend{color:#d8fff3;background:#164d46;border:1px solid #287d6c}
body:has(#revenue-overview) .revenue-filters .select-filter>span{color:#c4cee0!important;font-weight:600}
body:has(#revenue-overview) .revenue-filters input[type=date]{color-scheme:dark;color:#f4f6fb!important;font-size:12px;font-weight:600}
body:has(#revenue-overview) .revenue-filters input[type=date]::-webkit-calendar-picker-indicator{filter:brightness(0) invert(1)!important;opacity:1;cursor:pointer}
/* Keep native date controls legible and aligned across dashboard filters. */
body:has(#lineChart) input[type="date"],body:has(#saTimelineChart) input[type="date"],body:has(#bodyshop-overview) input[type="date"],body:has(#revenue-overview) input[type="date"]{box-sizing:border-box;min-width:0;height:22px;padding:0 2px;font:600 11px/20px "DM Sans",sans-serif;color:#f1f4fa!important;color-scheme:dark;accent-color:#35d5a8}
body:has(#lineChart) input[type="date"]::-webkit-calendar-picker-indicator,body:has(#saTimelineChart) input[type="date"]::-webkit-calendar-picker-indicator,body:has(#bodyshop-overview) input[type="date"]::-webkit-calendar-picker-indicator,body:has(#revenue-overview) input[type="date"]::-webkit-calendar-picker-indicator{width:15px;height:15px;opacity:1;filter:brightness(0) invert(1)!important;cursor:pointer}
body:has(#revenue-overview) .revenue-filters .select-filter:has(input[type="date"]){flex:0 1 145px;min-width:135px;overflow:hidden}
body:has(#revenue-overview) .revenue-filters input[type="date"]{width:100%;height:22px;padding:0 2px;background:transparent;border:0;line-height:20px}
body:has(#bodyshop-overview) .bodyshop-filters .date-filter input[type="date"]{width:100%;height:22px;padding:0 2px;border:0;line-height:20px}
body:has(#revenue-overview) .revenue-location-billtype-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:11px}
body:has(#revenue-overview) .revenue-counter-billtype{min-width:0;padding:10px;border:1px solid #3c4967;border-left:3px solid #46d9b2;border-radius:10px;background:#1b253c}
body:has(#revenue-overview) .revenue-counter-billtype.cash{border-left-color:#efc36b;background:linear-gradient(145deg,#292a38,#2b3045)}
body:has(#revenue-overview) .revenue-counter-billtype.credit{border-left-color:#46d9b2}
body:has(#revenue-overview) .revenue-counter-billtype>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 9px;border-bottom:1px solid #3b4661}
body:has(#revenue-overview) .revenue-counter-billtype>header>div{display:grid;gap:4px}
body:has(#revenue-overview) .revenue-counter-billtype>header strong{color:#71e8ca;font-size:12px;font-weight:800}
body:has(#revenue-overview) .revenue-counter-billtype.cash>header strong{color:#f2cf82}
body:has(#revenue-overview) .revenue-counter-billtype>header small{color:#c0cade;font-size:9px}
body:has(#revenue-overview) .revenue-counter-billtype>header>b{color:#f5f7fb;font:800 15px Manrope,sans-serif;white-space:nowrap}
body:has(#revenue-overview) .revenue-counter-billtype .revenue-location-category-grid{grid-template-columns:1fr;padding-top:8px}
body:has(#revenue-overview) .revenue-counter-billtype .revenue-location-category{background:#252f48;padding:8px}
body:has(#revenue-overview) .revenue-location-category>div strong{font-size:11px;color:#f0f4fb}
body:has(#revenue-overview) .revenue-location-category>b{font-size:15px;color:#fff}
body:has(#revenue-overview) .revenue-location-category>small{font-size:10px;color:#c0cbdd}
body:has(#revenue-overview) .revenue-chart-point{cursor:crosshair;outline:none}
body:has(#revenue-overview) .revenue-chart-point:focus{stroke:#fff;stroke-width:3}
body:has(#revenue-overview) .revenue-custom-tooltip{position:absolute;z-index:4;display:grid;gap:4px;min-width:150px;max-width:220px;padding:9px 11px;border:1px solid #647492;border-radius:9px;background:#10182b;color:#e7eef9;box-shadow:0 8px 24px rgba(0,0,0,.42);font-size:10px;pointer-events:none;transform:translate(-50%,-115%)}
body:has(#revenue-overview) .revenue-custom-tooltip strong{color:#f6f8fc;font-size:11px}
body:has(#revenue-overview) .revenue-custom-tooltip span{color:#72e8c7;font-weight:700}
body:has(#revenue-overview) .revenue-custom-tooltip small{color:#f1ce82;font-weight:700}
body:has(#revenue-overview) .revenue-axis-label.revenue-sunday-label{fill:#f3cd76;font-weight:800}
body:has(#lineChart) .axis-label.holiday-axis,body:has(#saTimelineChart) .sa-chart-axis.sa-holiday-axis{fill:#f3cd76;font-weight:800}
@media(max-width:650px){body:has(#revenue-overview) .revenue-location-billtype-grid{grid-template-columns:1fr}}
/* Sortable column headers, shared by reporting, revenue and admin tables. */
table thead th .table-sort-button{display:inline-flex;align-items:center;gap:7px;padding:1px 0;border:0;background:transparent;color:inherit;font:inherit;text-align:inherit;cursor:pointer}
table thead th .table-sort-button:hover{color:#65e6c4}
table thead th .table-sort-button:focus-visible{outline:2px solid #43d9b2;outline-offset:3px;border-radius:3px}
table thead th .table-sort-indicator{display:inline-block;min-width:9px;color:#93a1b7;font-size:.9em;font-weight:800;line-height:1}
table thead th[aria-sort] .table-sort-indicator{color:#35d5a8}
body:has(#revenue-overview) table thead th .table-sort-button:hover{color:#72e8c8}
.table-export-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;margin-left:auto;white-space:nowrap}
.table-export-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}

/* Compact user directory and consistent access controls */
.user-management-heading{align-items:flex-end}.user-heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.user-heading-actions .btn-primary-neon{height:38px;padding:0 14px;border:0;border-radius:9px;cursor:pointer;font-size:10px}
.user-directory-card{padding:17px 18px}.user-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.user-directory-heading h2{margin:0;font:700 15px Manrope;color:#17372f}.user-directory-heading p{margin:4px 0 0;color:#81918c;font-size:10px}.user-directory-search{display:flex;align-items:center;gap:9px;color:#71827d;font-size:9px}.user-directory-search input{width:min(260px,42vw);height:35px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 10px;color:var(--ink);font:500 10px "DM Sans",sans-serif;outline:0}.user-directory-search input:focus{border-color:var(--mint);box-shadow:0 0 0 3px var(--mint-soft)}
.user-directory-table{min-width:890px}.user-directory-table th{white-space:nowrap}.user-directory-table td{vertical-align:middle}.user-directory-identity{display:flex;align-items:center;gap:10px;min-width:190px}.user-directory-identity .avatar{width:34px;height:34px;flex:0 0 34px;font-size:9px}.user-directory-identity>span:last-child{display:grid;gap:3px}.user-directory-identity strong{color:#17372f;font-size:10px}.user-directory-identity small{color:#84938f;font-size:9px}.user-status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:99px;font-size:9px;font-weight:650;white-space:nowrap}.user-status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.user-status-pill.active{color:#078163;background:#e6f8f2}.user-status-pill.inactive{color:#ad543f;background:#fff0eb}.user-access-tags{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.user-access-tag{display:inline-flex;padding:5px 8px;border:1px solid #dfe9e5;border-radius:7px;color:#52665f;background:#f8fbfa;font-size:8px;white-space:nowrap}.user-access-tag.workspace{color:#08795e;background:#e9faf4;border-color:#c9efe2}.user-access-none{color:#99a6a2;font-size:9px}.user-actions-heading{text-align:right!important}.user-row-actions{display:flex;justify-content:flex-end;gap:5px}.user-action-button{height:29px;padding:0 8px;border:1px solid #dbe7e3;border-radius:7px;background:#fff;color:#34534a;font:600 8px "DM Sans",sans-serif;white-space:nowrap;cursor:pointer;transition:.15s}.user-action-button:hover{border-color:#93d9c4;background:#effaf6;color:#08795e}.user-action-button.danger{color:#b54b33;border-color:#f2d9d2}.user-action-button.danger:hover{background:#fff2ee;border-color:#e8b7aa}.user-directory-empty{margin:12px 0 0;color:#84938f;font-size:10px}
.user-management-modal{width:min(540px,calc(100vw - 28px));padding:22px}.user-management-modal .modal-heading h2{overflow-wrap:anywhere}.user-access-fieldset{min-width:0;margin:0;padding:12px;border:1px solid #e3ece8;border-radius:11px;background:#fbfdfc}.user-access-fieldset legend{float:none;width:auto;margin:0;padding:0 5px;color:#687975;font-size:9px;font-weight:700}.user-access-options{display:flex;flex-wrap:wrap;gap:7px}.user-access-option{display:inline-flex!important;grid-template-columns:none!important;align-items:center;gap:7px!important;min-height:32px;margin:0!important;padding:6px 9px;border:1px solid #dfe9e5;border-radius:8px;background:#fff;color:#456058!important;font-size:9px!important;font-weight:600!important;cursor:pointer}.user-access-option.workspace{border-color:#c9efe2;background:#f0fbf7;color:#08795e!important}.user-access-option input[type=checkbox]{display:inline-block!important;appearance:auto;width:15px!important;height:15px!important;flex:0 0 15px;margin:0!important;padding:0!important;accent-color:#00b98a;box-shadow:none!important}.user-access-option span{line-height:1}.user-access-option:has(input:checked){border-color:#8bd9c1;background:#eaf9f3;color:#08795e!important}.user-management-modal .modal-actions{margin-top:2px}.delete-user-modal .modal-heading>span{color:#b54b33}.user-delete-confirm{height:38px;padding:0 14px;border:0;border-radius:9px;background:#bd4d37;color:#fff;font:650 10px "DM Sans",sans-serif;cursor:pointer}.user-delete-confirm:hover{background:#a43e2b}
@media(max-width:760px){.user-directory-heading{align-items:flex-start;flex-direction:column}.user-directory-search{width:100%}.user-directory-search input{width:100%}.user-heading-actions{width:100%}.user-management-heading{align-items:flex-start;flex-direction:column}.user-row-actions{justify-content:flex-start}.user-management-modal{padding:18px}}

/* Month view for successful DMS report uploads. */
.import-calendar-panel{padding:18px;margin-bottom:16px}.import-calendar-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.import-calendar-header h2{margin:0;font:700 15px Manrope;color:#17372f}.import-calendar-header p{margin:4px 0 0;color:#7d8c89;font-size:10px}.import-calendar-header nav{display:flex;align-items:center;gap:8px;white-space:nowrap}.import-calendar-header nav>a{display:grid;place-items:center;min-width:32px;height:32px;padding:0 9px;border:1px solid var(--line);border-radius:8px;color:#34534a;text-decoration:none;font-size:17px;background:#fff}.import-calendar-header nav>a:hover{border-color:#93d9c4;color:#08795e}.import-calendar-header nav strong{min-width:110px;text-align:center;font:700 11px Manrope;color:#17372f}.import-calendar-header nav>a.import-calendar-today{font-size:9px;font-weight:700}.import-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line);border-radius:10px;overflow:hidden}.import-calendar-weekday{padding:8px 10px;background:#f5f9f7;color:#687975;font-size:9px;font-weight:700;text-transform:uppercase;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.import-calendar-day{min-width:0;min-height:139px;padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.import-calendar-day.outside-month{background:#f8faf9}.import-calendar-day.is-today{background:#f1fbf7;box-shadow:inset 0 0 0 2px #8bd9c1}.import-calendar-date{display:block;margin-bottom:6px;color:#243d36;font-size:10px}.import-calendar-day ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}.import-calendar-day li{display:flex;align-items:center;gap:5px;min-width:0;font-size:8px;line-height:13px;white-space:nowrap}.import-calendar-day li>span:first-child{display:grid;place-items:center;width:13px;height:13px;flex:0 0 13px;border-radius:50%;font-size:9px;font-weight:800}.import-calendar-day li.uploaded,.import-calendar-legend .uploaded{color:#08795e}.import-calendar-day li.uploaded>span:first-child{background:#d9f6eb}.import-calendar-day li.missing,.import-calendar-legend .missing{color:#b34b3d}.import-calendar-day li.missing>span:first-child{background:#ffebe7}.import-calendar-legend{display:flex;align-items:center;gap:14px;margin-top:10px;font-size:9px;font-weight:700}.import-calendar-legend small{margin-left:auto;color:#83918d;font-size:9px;font-weight:400}
@media(max-width:760px){.import-calendar-panel{padding:12px}.import-calendar-header{align-items:flex-start;flex-direction:column}.import-calendar-header nav{width:100%;justify-content:space-between}.import-calendar-grid{min-width:720px}.import-calendar-panel{overflow-x:auto}.import-calendar-day{min-height:132px;padding:6px}.import-calendar-day li{font-size:7px}}
.report-clear-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;align-items:center;padding:17px 19px;margin-bottom:16px;border:1px solid #f1c9c0;background:linear-gradient(120deg,#fff9f7,#fff)}.report-clear-eyebrow{color:#b54835;font-size:8px;font-weight:800;letter-spacing:.12em}.report-clear-copy h2{margin:5px 0 4px;color:#56332d;font:700 14px Manrope}.report-clear-copy p{max-width:760px;margin:0;color:#806d69;font-size:10px;line-height:1.6}.report-clear-form{display:flex;align-items:end;gap:8px}.report-clear-form label{display:grid;gap:4px;color:#806d69;font-size:9px;font-weight:650}.report-clear-form input{width:145px;height:35px;padding:0 8px;border:1px solid #e7d2ce;border-radius:7px;background:#fff;color:#423d3b;color-scheme:light;font:600 10px "DM Sans",sans-serif}.report-clear-button{height:35px;padding:0 13px;border:0;border-radius:8px;background:#b94736;color:#fff;font:700 9px "DM Sans",sans-serif;white-space:nowrap;cursor:pointer}.report-clear-button:hover{background:#9f382a}.report-clear-note{grid-column:1/-1;color:#9b7a73;font-size:9px}
@media(max-width:760px){.report-clear-panel{grid-template-columns:1fr}.report-clear-form{align-items:stretch;flex-wrap:wrap}.report-clear-form label{flex:1 1 130px}.report-clear-form input{width:100%}.report-clear-button{width:100%}}

/* Sharper native date controls and clean SVG donut typography on Vehicle Reporting. */
body:has(#lineChart) .date-filter{min-width:142px}
body:has(#lineChart) .date-filter input[type="date"]{height:24px;padding:0 3px;background:transparent!important;color:#f4f6fb!important;color-scheme:dark;font:600 11px/22px "DM Sans",sans-serif;-webkit-appearance:auto;appearance:auto}
body:has(#lineChart) .date-filter input[type="date"]::-webkit-datetime-edit{padding:0;color:#f4f6fb}
body:has(#lineChart) .date-filter input[type="date"]::-webkit-calendar-picker-indicator{width:15px;height:15px;margin:0 1px 0 4px;padding:1px;opacity:1;filter:brightness(0) invert(1)!important;cursor:pointer;border-radius:4px}
body:has(#lineChart) .date-filter input[type="date"]::-webkit-calendar-picker-indicator:hover{background:rgba(255,255,255,.12)}
body:has(#lineChart) .date-filter:focus-within{border-color:#35d5a8!important;box-shadow:0 0 0 2px rgba(53,213,168,.14)}
body:has(#lineChart) .workshop-service-donut svg{filter:drop-shadow(0 8px 18px rgba(3,8,22,.24))}
body:has(#lineChart) .workshop-service-donut text{stroke:none!important;stroke-width:0!important;paint-order:normal}
body:has(#lineChart) .workshop-service-donut-total{fill:#f7f9ff;font:800 20px/1 Manrope,sans-serif;letter-spacing:-.5px}
body:has(#lineChart) .workshop-service-donut-label{fill:#aebbd1;font:700 7px/1 "DM Sans",sans-serif;letter-spacing:1.15px}
body:has(#lineChart) .workshop-service-donut-legend>div{transition:transform .16s ease,border-color .16s ease,background .16s ease}
body:has(#lineChart) .workshop-service-donut-legend>div:hover{transform:translateY(-2px);border-color:#536181;background:#2a334e}
@media(max-width:590px){body:has(#lineChart) .date-filter{min-width:calc(50% - 4px)}}
body:has(#revenue-overview) .revenue-trend-panel{margin:14px 0 16px;padding:20px 22px;min-height:0}
body:has(#revenue-overview) .revenue-trend-panel>.panel-header{align-items:center;gap:18px}
body:has(#revenue-overview) .revenue-trend-summary{display:flex;align-items:center;gap:14px;flex:0 0 auto}
body:has(#revenue-overview) .revenue-trend-summary>span{display:grid;gap:3px}
body:has(#revenue-overview) .revenue-trend-summary small{color:#9eabc2;font-size:8px}
body:has(#revenue-overview) .revenue-trend-summary b{color:#edf3fb;font:700 12px Manrope,sans-serif;white-space:nowrap}
body:has(#revenue-overview) .revenue-trend-summary>strong{padding:6px 9px;border:1px solid #2d7868;border-radius:999px;background:#16463f;color:#6fe4c3;font-size:9px;white-space:nowrap}
body:has(#revenue-overview) .revenue-trend-summary>strong.negative{border-color:#83514e;background:#492e3a;color:#ff9d8b}
body:has(#revenue-overview) .revenue-chart-legend{display:flex;align-items:center;gap:16px;margin:15px 0 -2px;color:#aebbd0;font-size:9px}
body:has(#revenue-overview) .revenue-chart-legend span{display:flex;align-items:center;gap:6px}
body:has(#revenue-overview) .revenue-chart-legend i{display:inline-block;width:19px;height:3px;border-radius:3px;background:#36d5a8}
body:has(#revenue-overview) .revenue-chart-legend i.previous{height:0;border-top:2px dashed #a8b3c9;background:none}
body:has(#revenue-overview) .revenue-chart-legend small{margin-left:auto;color:#f3cd76;font-size:8px}
body:has(#revenue-overview) .revenue-live-chart{height:300px;margin-top:4px}
body:has(#revenue-overview) .revenue-live-chart svg text{stroke:none!important;stroke-width:0!important;paint-order:normal}
body:has(#revenue-overview) .revenue-live-chart .revenue-axis-label{fill:#c3cde0;font:600 10px "DM Sans",sans-serif}
body:has(#revenue-overview) .revenue-live-chart .revenue-grid-line{stroke:#3b4764;stroke-width:1}
body:has(#revenue-overview) .revenue-chart-line.previous{stroke:#a6b1c7;stroke-width:2;stroke-dasharray:7 6;opacity:.82}
body:has(#revenue-overview) .revenue-chart-point{fill:#252c45;stroke:#36d5a8;stroke-width:2}
@media(max-width:700px){body:has(#revenue-overview) .revenue-trend-panel{padding:15px}body:has(#revenue-overview) .revenue-trend-panel>.panel-header{align-items:flex-start;flex-direction:column}body:has(#revenue-overview) .revenue-trend-summary{width:100%;justify-content:space-between}body:has(#revenue-overview) .revenue-live-chart{height:260px}}
.sa-matrix-panel>.panel-header{align-items:center;gap:16px}.sa-matrix-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto;margin-left:auto}.sa-matrix-actions .sa-table-search{width:190px;min-width:190px}.sa-matrix-actions .sa-matrix-total{flex:0 0 auto;white-space:nowrap}
@media(max-width:900px){.sa-matrix-actions{width:100%;justify-content:flex-start;margin-left:0}.sa-matrix-actions .sa-table-search{flex:1;min-width:0}}
.revenue-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.revenue-kpis .kpi-main{gap:8px;align-items:center;flex-wrap:wrap}
.revenue-kpis .kpi-main>strong{font-size:clamp(17px,1.35vw,22px);white-space:nowrap}
.revenue-tile-growth{display:inline-flex;align-items:center;padding:4px 6px;border:1px solid #2b7564;border-radius:7px;background:#16463f;color:#71e4c4;font-size:8px;font-weight:750;line-height:1;white-space:nowrap}
.revenue-tile-growth.down{border-color:#79504e;background:#492e3a;color:#ffab9a}
.revenue-discount-tile{border-color:#705876!important;background:linear-gradient(145deg,#352a42,#332b49)!important}
.revenue-discount-tile .kpi-label{color:#f4eaff!important}
@media(max-width:1180px){.revenue-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.revenue-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.revenue-kpis{grid-template-columns:1fr}}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid) .kpi-main .trend{display:inline-flex;align-items:center;align-self:center;padding:6px 8px;border:1px solid #465372;border-radius:8px;background:#1d2941!important;color:#dce7f6!important;font-size:10px;font-weight:750;line-height:1;white-space:nowrap}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid) .kpi-main .trend.up{border-color:#287d6c;background:#164b43!important;color:#7af0d0!important}
body:has(#lineChart) .kpi-grid:not(.sa-kpi-grid)>.kpi-card:nth-child(3) .kpi-main .trend{border-color:#635493;background:#383257!important;color:#d0bbff!important}
