/* Dashboard presentation only. The shared sidebar and its navigation are untouched. */
.app-shell.dashboard-active .page-content:has(.admin-dashboard){background:#f2f7f5}
.app-shell.dashboard-active .topbar{background:linear-gradient(90deg,#f1f6f4 0%,#f7faf8 66%,#fff 100%)}
.app-shell.dashboard-active .top-title{display:none}
.app-shell.dashboard-active .global-search{order:0;flex:0 1 400px;width:min(400px,34vw);min-width:280px;margin:0}
.app-shell.dashboard-active .header-business-controls{margin-left:auto}
.app-shell.dashboard-active .admin-dashboard{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;max-width:none;min-width:0;color:#142d48}
.app-shell.dashboard-active .admin-dashboard>*{grid-column:1/-1;min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;padding:0 4px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero-copy{display:flex;align-items:center;gap:12px;min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-dash-sun{font-size:27px;line-height:1;color:#f5a000}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero h1{margin:0;color:#064638;font-size:20px;font-weight:800;line-height:1.15}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero p{display:flex;align-items:center;gap:9px;margin:3px 0 0;color:#65778d;font-size:11px;line-height:1.2}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero p strong{color:#607286;font-weight:500}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero p i{height:14px;border-left:1px solid #9eafa9}
.app-shell.dashboard-active .admin-dashboard .admin-dash-tagline{display:flex;align-items:center;gap:8px;padding:10px 15px;border-radius:7px;background:#eaf7ef;color:#075744;font-size:12px;white-space:nowrap}
.app-shell.dashboard-active .admin-dashboard .admin-dash-tagline span{font-size:19px}
.app-shell.dashboard-active .admin-dashboard .admin-summary-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.app-shell.dashboard-active .admin-dashboard .admin-summary-tile{display:flex;align-items:center;gap:10px;min-width:0;min-height:62px;padding:8px 10px;border:1px solid #dcebe5;border-radius:9px;background:linear-gradient(110deg,#fff,#fbfdfc);color:#102d48;text-align:left;box-shadow:0 2px 7px #184c3310}
.app-shell.dashboard-active .admin-dashboard .admin-summary-icon{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:13px;background:#e7f6ed;color:#078252}
.app-shell.dashboard-active .admin-dashboard .admin-summary-icon svg{width:20px;height:20px}
.app-shell.dashboard-active .admin-dashboard .admin-summary-copy{display:grid;min-width:0;gap:2px}
.app-shell.dashboard-active .admin-dashboard .admin-summary-copy small{overflow:hidden;color:#68788e;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.app-shell.dashboard-active .admin-dashboard .admin-summary-copy strong{overflow:hidden;color:#102e4a;font-size:16px;font-weight:800;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.app-shell.dashboard-active .admin-dashboard .admin-summary-copy em{overflow:hidden;color:#0b8060;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.app-shell.dashboard-active .admin-dashboard .admin-summary-tile.tone-blue .admin-summary-icon{background:#e5f1ff;color:#2676d5}
.app-shell.dashboard-active .admin-dashboard .admin-summary-tile.tone-orange .admin-summary-icon{background:#fff0dc;color:#e78b16}
.app-shell.dashboard-active .admin-dashboard .admin-summary-tile.tone-purple .admin-summary-icon,.app-shell.dashboard-active .admin-dashboard .admin-summary-tile.tone-violet .admin-summary-icon{background:#f3eaff;color:#7639bf}
.app-shell.dashboard-active .admin-dashboard .admin-summary-tile.tone-mint .admin-summary-icon{background:#e5f5ef;color:#167d61}
.app-shell.dashboard-active .admin-dashboard .admin-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:7px;min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-kpi{position:relative;display:flex;align-items:flex-start;gap:9px;min-width:0;min-height:240px;padding:11px 9px;border:1px solid #dcebe5;border-top:2px solid #07936e;border-radius:9px;background:linear-gradient(145deg,#fff,#fbfdfc);box-shadow:0 3px 10px #174d3510;color:#122d4a}
.app-shell.dashboard-active .admin-dashboard .admin-kpi:nth-child(2){border-top-color:#2688e8}
.app-shell.dashboard-active .admin-dashboard .admin-kpi:nth-child(3){border-top-color:#ed9c18}
.app-shell.dashboard-active .admin-dashboard .admin-kpi:nth-child(4){border-top-color:#4282ee}
.app-shell.dashboard-active .admin-dashboard .admin-kpi:nth-child(5){border-top-color:#0b9871}
.app-shell.dashboard-active .admin-dashboard .admin-kpi:nth-child(6){border-top-color:#8744c5}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-icon{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:12px;background:#e7f6ed;color:#078252}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-icon svg{width:20px;height:20px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi[data-kind="collection"] .admin-kpi-icon{background:#fff0dc;color:#e78b16}
.app-shell.dashboard-active .admin-dashboard .admin-kpi[data-kind="bank-accounts"] .admin-kpi-icon{background:#e5f1ff;color:#2676d5}
.app-shell.dashboard-active .admin-dashboard .admin-kpi[data-kind="cash-position"] .admin-kpi-icon{background:#e5f5ef;color:#167d61}
.app-shell.dashboard-active .admin-dashboard .admin-kpi[data-kind="vendor-balances"] .admin-kpi-icon{background:#f3eaff;color:#7639bf}
.app-shell.dashboard-active .admin-dashboard .admin-kpi h2{padding-right:54px;color:#102e4a;font-size:12px;font-weight:800;line-height:1.2}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-subtitle{display:block;margin-top:3px;color:#6b7b90;font-size:9px;font-weight:500}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-breakdown{display:grid;gap:7px;margin-top:8px;min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-row{min-width:0;min-height:25px;padding:4px 0;color:#354861}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-row strong{font-variant-numeric:tabular-nums}
.app-shell.dashboard-active .admin-dashboard .admin-dash-financial-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-financial-strip .admin-kpi-row{display:flex;align-items:center;justify-content:space-between;min-width:0;min-height:38px;padding:6px 10px;border:1px solid #dcebe5;border-radius:9px;background:#fff}
.app-shell.dashboard-active .admin-dashboard .admin-dash-grid{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,1.03fr) minmax(0,1.18fr);align-items:stretch;gap:8px;min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-dash-panel{min-width:0;border:1px solid #dcebe5;border-radius:10px;background:linear-gradient(150deg,#fff,#fbfdfc);box-shadow:0 3px 12px #174d350d}
.app-shell.dashboard-active .admin-dashboard .admin-dash-panel-head{min-height:44px;padding:8px 10px;border-bottom:1px solid #e2eee8}
.app-shell.dashboard-active .admin-dashboard .admin-dash-panel-head h2{margin:0;color:#122e4a;font-size:12px;font-weight:800;line-height:1.2}
.app-shell.dashboard-active .admin-dashboard .admin-dash-panel-head p{margin:3px 0 0;color:#738397;font-size:9px;line-height:1.25}
.app-shell.dashboard-active .admin-dashboard .admin-dash-panel-body{min-width:0;padding:8px 10px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.4fr) minmax(0,1.05fr);align-items:start;gap:8px;min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-dash-side-stack{display:grid;gap:8px;min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom>.admin-dash-panel,.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom>.admin-dash-side-stack>.admin-dash-panel{min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .admin-dash-panel-body{max-height:none;overflow:visible}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .admin-dash-panel table{width:100%;min-width:0;table-layout:fixed;font-size:9px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .admin-dash-panel th,.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .admin-dash-panel td{padding:5px 4px;white-space:normal;overflow-wrap:anywhere}
.app-shell.dashboard-active .admin-dashboard .purchase-receipt-history-panel>.admin-dash-panel-body{display:block;height:auto;min-height:0;overflow:visible;padding:8px 10px}
.app-shell.dashboard-active .admin-dashboard .purchase-receipt-history-panel .admin-receipt-history{height:auto;max-height:none;overflow:visible}
.app-shell.dashboard-active .admin-dashboard .purchase-receipt-history-panel .admin-receipt-history-row{min-height:36px;padding:5px 3px;font-size:10px;line-height:1.25}
.app-shell.dashboard-active .admin-dashboard .purchase-receipt-history-panel .admin-receipt-history-row>b{font-size:10px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .admin-panel-link{font-size:9px}
@container (max-width:1249px){.app-shell.dashboard-active .admin-dashboard .admin-kpi{min-height:0}}
@container (min-width:1250px){.app-shell.dashboard-active .admin-dashboard .admin-summary-tiles,.app-shell.dashboard-active .admin-dashboard .admin-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}}
@container (max-width:1249px){.app-shell.dashboard-active .admin-dashboard .admin-summary-tiles,.app-shell.dashboard-active .admin-dashboard .admin-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell.dashboard-active .admin-dashboard .admin-dash-side-stack{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:850px){.app-shell.dashboard-active .admin-dashboard .admin-summary-tiles,.app-shell.dashboard-active .admin-dashboard .admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell.dashboard-active .admin-dashboard .admin-dash-grid,.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom{grid-template-columns:minmax(0,1fr)}.app-shell.dashboard-active .admin-dashboard .admin-dash-side-stack{grid-column:auto;grid-template-columns:minmax(0,1fr)}.app-shell.dashboard-active .admin-dashboard .admin-dash-tagline{display:none}}
@container (max-width:520px){.app-shell.dashboard-active .admin-dashboard .admin-summary-tiles,.app-shell.dashboard-active .admin-dashboard .admin-kpis{grid-template-columns:minmax(0,1fr)}.app-shell.dashboard-active .admin-dashboard .admin-dash-financial-strip{grid-template-columns:minmax(0,1fr)}.app-shell.dashboard-active .admin-dashboard .admin-dash-hero{align-items:flex-start;flex-direction:column}.app-shell.dashboard-active .admin-dashboard .admin-dash-hero p{flex-wrap:wrap}}
@media(max-width:760px){.app-shell.dashboard-active .topbar{height:auto;min-height:0;flex-wrap:wrap;gap:7px;padding:7px 10px}.app-shell.dashboard-active .top-title{display:flex}.app-shell.dashboard-active .global-search{order:0;flex:1 1 100%;width:100%;max-width:none;min-width:0;margin:0}.app-shell.dashboard-active .header-business-controls{order:1;flex:0 1 auto;width:auto;flex-wrap:wrap;gap:5px;margin:0}.app-shell.dashboard-active .header-business-controls input{width:112px}.app-shell.dashboard-active .header-business-controls select{width:90px}.app-shell.dashboard-active .header-business-controls .header-tool-btn{min-width:34px;flex:0 0 auto}.app-shell.dashboard-active .top-actions{order:2;margin-left:auto}}
.app-shell.dashboard-active .main-area{min-width:0;max-width:100%;overflow-x:clip}
