/* Dashboard-only visual layer. It uses existing markup and does not alter
   routing, data, business selection, permissions, or calculations. */
.dashboard-shell{--dash-ink:#16365c;--dash-muted:#718096;--dash-line:#e6e9ef;--dash-paper:#fffdf9;--dash-shadow:0 5px 16px rgba(28,54,86,.055)}
.dashboard-shell .dashboard-kpi{position:relative;isolation:isolate;min-height:112px!important;padding:18px 16px 16px 66px!important;overflow:hidden;background:#fff!important;border:1px solid var(--dash-line)!important;border-radius:14px!important;box-shadow:var(--dash-shadow)!important;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.dashboard-shell .dashboard-kpi:hover{transform:translateY(-1px);border-color:#d4dfec!important;box-shadow:0 8px 19px rgba(28,54,86,.08)!important}
.dashboard-shell .dashboard-kpi label{display:block;min-height:18px;margin:0!important;color:#637388!important;font-size:12px!important;font-weight:720!important;letter-spacing:.01em}
.dashboard-shell .dashboard-kpi strong{display:block;margin:7px 0 0!important;color:var(--dash-ink)!important;font-size:25px!important;font-weight:780!important;letter-spacing:-.025em;line-height:1.1}
.dashboard-card-icon,.finance-icon,.dashboard-heading-icon,.dashboard-empty-icon{display:inline-grid;place-items:center;flex:0 0 auto}
.dashboard-card-icon{position:absolute;left:17px;top:19px;width:35px;height:35px;border-radius:11px;background:#edf3fb;color:#32689f}
.dashboard-icon{width:18px;height:18px;display:block}
.dashboard-kpi[data-icon-tone="blue"]{background:#fbfdff!important;border-color:#dce9fa!important}.dashboard-kpi[data-icon-tone="cyan"]{background:#fcfeff!important;border-color:#d9edf1!important}.dashboard-kpi[data-icon-tone="amber"]{background:#fffefa!important;border-color:#f0e4c6!important}.dashboard-kpi[data-icon-tone="teal"]{background:#fbfefd!important;border-color:#d6ece7!important}.dashboard-kpi[data-icon-tone="green"]{background:#fcfefc!important;border-color:#dcecdf!important}.dashboard-kpi[data-icon-tone="purple"]{background:#fdfcff!important;border-color:#e5dcf4!important}.dashboard-kpi[data-icon-tone="coral"]{background:#fffdfc!important;border-color:#f2ded8!important}
.dashboard-kpi[data-icon-tone="orange"] .dashboard-card-icon{background:#fff1e4;color:#c56b22}.dashboard-kpi[data-icon-tone="blue"] .dashboard-card-icon{background:#eaf2ff;color:#3777c7}.dashboard-kpi[data-icon-tone="cyan"] .dashboard-card-icon{background:#e8f8fb;color:#177b9a}.dashboard-kpi[data-icon-tone="amber"] .dashboard-card-icon{background:#fff5df;color:#ad741b}.dashboard-kpi[data-icon-tone="teal"] .dashboard-card-icon{background:#e6f7f3;color:#178d82}.dashboard-kpi[data-icon-tone="purple"] .dashboard-card-icon{background:#f2edff;color:#7650bd}.dashboard-kpi[data-icon-tone="green"] .dashboard-card-icon{background:#e9f6ee;color:#2d8b56}.dashboard-kpi[data-icon-tone="coral"] .dashboard-card-icon{background:#fff0ec;color:#ce6651}
.dashboard-shell .dashboard-panel{overflow:hidden;border:1px solid var(--dash-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--dash-shadow)!important}
.dashboard-shell .dashboard-panel>h3,.dashboard-shell .tomorrow-schedule header h3{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:14px 17px!important;border-bottom:1px solid #edf0f4!important;background:#fffdfb!important;color:var(--dash-ink)!important;font-size:13px!important;font-weight:760!important}
.dashboard-heading-icon{width:28px;height:28px;border-radius:9px;background:#fff2e5;color:#c9772d}.dashboard-heading-icon .dashboard-icon{width:16px;height:16px}
.financial-summary .dashboard-heading-icon{background:#e9f6ee;color:#31885a}.dashboard-panel[data-dashboard-panel="Recent enquiries"] .dashboard-heading-icon{background:#fff1e4;color:#c56b22}.dashboard-panel[data-dashboard-panel="Pending payments"] .dashboard-heading-icon{background:#fff3e7;color:#b97720}.dashboard-panel[data-dashboard-panel="Ongoing trips"] .dashboard-heading-icon{background:#fff1e4;color:#c56b22}.dashboard-panel[data-dashboard-panel="Upcoming trips"] .dashboard-heading-icon{background:#f2edff;color:#7650bd}
.dashboard-shell .finance-content{display:grid!important;grid-template-columns:minmax(146px,.85fr) repeat(2,minmax(132px,1fr));gap:10px!important;padding:14px!important;align-items:stretch}
.dashboard-shell .compact-donut{grid-row:span 3;display:grid;place-items:center;min-height:176px;border-right:1px solid #edf0f4}
.dashboard-shell .finance-metric{display:flex!important;align-items:center!important;gap:10px!important;min-height:54px;padding:9px 11px!important;background:#fcfdfd!important;border:1px solid #edf0f4!important;border-radius:10px!important;color:#68788d!important;font-size:11px!important;font-weight:700!important}
.dashboard-shell .finance-metric>span:last-child{min-width:0}.dashboard-shell .finance-metric b{display:block!important;margin-top:3px;color:var(--dash-ink)!important;font-size:14px!important;font-weight:780!important;line-height:1.15}
.finance-icon{width:32px;height:32px;border-radius:10px;background:#edf3fb;color:#3777c7}.finance-icon .dashboard-icon{width:16px;height:16px}.finance-metric[data-finance-tone="green"] .finance-icon{background:#e9f6ee;color:#2d8b56}.finance-metric[data-finance-tone="blue"] .finance-icon{background:#eaf2ff;color:#3777c7}.finance-metric[data-finance-tone="red"] .finance-icon{background:#fff0ed;color:#ca6254}.finance-metric[data-finance-tone="orange"] .finance-icon{background:#fff3e7;color:#bb7820}.finance-metric[data-finance-tone="purple"] .finance-icon{background:#f2edff;color:#7650bd}
.dashboard-shell .followup-item{position:relative;padding:13px 17px 13px 31px!important;background:#fff!important;border-bottom:1px solid #f0f2f5!important}.dashboard-shell .followup-item:last-child{border-bottom:0}.dashboard-shell .followup-item:before{content:"";position:absolute;left:17px;top:18px;width:6px;height:6px;border-radius:50%;background:#e3a242}.dashboard-shell .followup-item strong{color:#233f61!important;font-size:12px}.dashboard-shell .followup-item .muted{display:block;margin-top:3px;color:#718096!important;font-size:11px}
.dashboard-shell .dashboard-panel .empty{padding:14px 17px!important;color:#65758a!important;font-size:12px!important}.dashboard-empty{display:flex!important;align-items:center!important;gap:9px!important;min-height:58px}.dashboard-empty-icon{width:30px;height:30px;border-radius:10px;background:#f5f7fa;color:#8b9aad}.dashboard-empty-icon .dashboard-icon{width:16px;height:16px}
.dashboard-shell .tomorrow-schedule{margin:14px 0 0!important}.dashboard-shell .tomorrow-schedule header{display:flex;align-items:center;justify-content:space-between;min-height:53px;padding:0!important;border-bottom:1px solid #edf0f4!important;background:#fffdfb}.dashboard-shell .tomorrow-schedule header h3{border:0!important;background:transparent!important}.dashboard-shell .tomorrow-date{margin-right:16px;color:#748398!important;font-size:11px!important;font-weight:700!important}.dashboard-shell .tomorrow-count{display:inline-flex;align-items:center;margin-left:6px;padding:2px 6px;border-radius:999px;background:#fff1df;color:#a8661f;font-size:10px;font-weight:750;vertical-align:middle}.dashboard-shell .tomorrow-item{border-bottom-color:#edf0f4!important}.dashboard-shell .tomorrow-item:hover{background:#fffaf3!important}.dashboard-shell .tomorrow-time{color:#b56f22!important;font-weight:780!important}.dashboard-shell .tomorrow-reference{color:#405e81!important;font-weight:720!important}
.dashboard-shell .dashboard-feed-grid{gap:14px!important}.dashboard-shell .dashboard-feed-grid .dashboard-panel{min-width:0}.dashboard-shell .empty b{color:#254365!important}.dashboard-shell .empty .muted{color:#76869a!important}
@media(max-width:1050px){.dashboard-shell .finance-content{grid-template-columns:minmax(138px,.8fr) repeat(2,minmax(125px,1fr))}.dashboard-shell .compact-donut{min-height:170px}}
@media(max-width:760px){.dashboard-shell .dashboard-kpi{min-height:100px!important;padding:16px 13px 14px 58px!important;border-radius:12px!important}.dashboard-card-icon{left:14px;top:17px;width:32px;height:32px}.dashboard-shell .dashboard-kpi strong{font-size:22px!important}.dashboard-shell .finance-content{grid-template-columns:1fr 1fr;padding:12px!important}.dashboard-shell .compact-donut{grid-column:1 / -1;grid-row:auto;min-height:136px;border-right:0;border-bottom:1px solid #edf0f4;padding-bottom:9px}.dashboard-shell .finance-metric{min-height:52px;padding:8px!important}.dashboard-shell .tomorrow-schedule header{align-items:flex-start;min-height:58px}.dashboard-shell .tomorrow-schedule header h3{padding:14px!important}.dashboard-shell .tomorrow-date{margin:18px 13px 0 0}.dashboard-shell .tomorrow-list{overflow-x:auto}.dashboard-shell .dashboard-feed-grid{gap:12px!important}}
@media(max-width:390px){.dashboard-shell .finance-content{grid-template-columns:1fr}.dashboard-shell .compact-donut{grid-column:auto}.dashboard-shell .dashboard-kpi label{font-size:11px!important}.dashboard-shell .dashboard-kpi strong{font-size:20px!important}}

/* Interaction-only enhancement: existing KPI icon, tone, value and layout stay intact. */
.dashboard-shell .dashboard-kpi{transition:transform .25s ease-out,border-color .25s ease,box-shadow .25s ease!important}
@media(hover:hover){.dashboard-shell .dashboard-kpi:hover{transform:translateY(-5px) scale(1.01);border-color:var(--dash-line)!important;box-shadow:0 13px 26px rgba(28,54,86,.14)!important}}
@media(prefers-reduced-motion:reduce){.dashboard-shell .dashboard-kpi{transition:none!important}.dashboard-shell .dashboard-kpi:hover{transform:none}}
