/* KALERA dashboard refinement 26 Oct 2026, v2 — scoped exclusively to dashboard */
.app-shell.dashboard-active .admin-dashboard{font-family:Inter,system-ui,"Segoe UI",Arial,sans-serif!important;--kd-ink:#193048;--kd-muted:#53657c;--kd-line:#dfe7f1;--kd-shadow:0 7px 22px rgba(30,51,76,.075);gap:16px;font-size:14px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero{margin:2px 0 0;min-height:74px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero h1{font-size:26px;font-weight:800}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero p{font-size:12px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero[data-time="moon"] .admin-dash-sun{color:#e8ba52;font-size:38px;filter:drop-shadow(0 3px 5px #d5b56244)}
.app-shell.dashboard-active .admin-dashboard .admin-dash-hero[data-time="sun"] .admin-dash-sun{font-size:38px;color:#f4a128}
.app-shell.dashboard-active .admin-dashboard .dashboard-moon-phase{display:flex;gap:10px;align-items:center;background:linear-gradient(105deg,#172f54,#315a85);color:#fff;padding:10px 16px;border-radius:13px;box-shadow:0 5px 14px #24406218}
.app-shell.dashboard-active .admin-dashboard .dashboard-moon-phase>span{font-size:29px;line-height:1}
.app-shell.dashboard-active .admin-dashboard .dashboard-moon-phase>div{display:flex;flex-direction:column;gap:2px}
.app-shell.dashboard-active .admin-dashboard .dashboard-moon-phase strong{font-size:13px;font-weight:750}
.app-shell.dashboard-active .admin-dashboard .dashboard-moon-phase small{color:#d5e6fd;font-size:11px}
/* Summary cards now large enough to read at normal Chrome zoom. */
.app-shell.dashboard-active .admin-dashboard .admin-summary-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.app-shell.dashboard-active .admin-dashboard .admin-summary-tile{min-height:100px;padding:16px;gap:15px;border-radius:15px}
.app-shell.dashboard-active .admin-dashboard .admin-summary-icon{width:54px;height:54px;flex-basis:54px;border-radius:15px}
.app-shell.dashboard-active .admin-dashboard .admin-summary-icon svg{width:28px;height:28px}
.app-shell.dashboard-active .admin-dashboard .admin-summary-copy small{font-size:12px!important}
.app-shell.dashboard-active .admin-dashboard .admin-summary-copy strong{font-size:clamp(20px,1.65vw,27px)!important;line-height:1.24!important;overflow-wrap:anywhere!important}
.app-shell.dashboard-active .admin-dashboard .admin-summary-copy em{font-size:11.5px!important}
/* Operational cards: three usable columns instead of six squeezed columns. */
.app-shell.dashboard-active .admin-dashboard .admin-kpis{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi,.app-shell.dashboard-active .admin-dashboard .admin-kpi.has-badge{min-height:215px;height:auto;padding:16px 15px 18px;border-radius:14px;box-shadow:var(--kd-shadow)}
.app-shell.dashboard-active .admin-dashboard .admin-kpi[data-kind="dip"],.app-shell.dashboard-active .admin-dashboard .admin-kpi[data-kind="density"]{min-height:0;height:auto}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-icon,.app-shell.dashboard-active .admin-dashboard .admin-kpi.has-badge .admin-kpi-icon{width:47px;height:47px;left:14px;top:14px;border-radius:13px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-icon svg{width:25px;height:25px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi>div:last-child>h2,.app-shell.dashboard-active .admin-dashboard .admin-kpi.has-badge>div:last-child>h2{min-height:48px;padding-left:60px;margin-bottom:12px;font-size:17px;line-height:1.22}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-subtitle{font-size:12px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-badge{font-size:11px;right:10px;top:13px;padding:4px 7px}
.app-shell.dashboard-active .admin-dashboard .admin-dip-product h3,.app-shell.dashboard-active .admin-dashboard .admin-density-product h3{font-size:14px;padding:8px 11px}
.app-shell.dashboard-active .admin-dashboard .admin-dip-product h3 small{font-size:11px}
.app-shell.dashboard-active .admin-dashboard .admin-dip-readings{padding:10px 12px;gap:10px 16px}
.app-shell.dashboard-active .admin-dashboard .admin-dip-readings span{font-size:12px}
.app-shell.dashboard-active .admin-dashboard .admin-dip-readings strong{font-size:15px}
.app-shell.dashboard-active .admin-dashboard .admin-density-current,.app-shell.dashboard-active .admin-dashboard .admin-density-reading{padding:11px 13px;gap:12px;font-size:12px;align-items:center}
.app-shell.dashboard-active .admin-dashboard .admin-density-current strong,.app-shell.dashboard-active .admin-dashboard .admin-density-reading strong{font-size:15px;white-space:normal;line-height:1.35}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-row{min-height:40px;padding:9px 0}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-row span,.app-shell.dashboard-active .admin-dashboard .admin-kpi-row strong{font-size:13px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-total{font-size:14px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-total strong{font-size:17px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-last-test{font-size:12px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-financial-strip .admin-kpi-row{min-height:60px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-financial-strip .admin-kpi-row span,.app-shell.dashboard-active .admin-dashboard .admin-dash-financial-strip .admin-kpi-row strong{font-size:14px}
/* Real-data charts + action cards */
.app-shell.dashboard-active .admin-dashboard .dashboard-insights{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}
.app-shell.dashboard-active .admin-dashboard .dashboard-insights>.admin-dash-panel{height:auto}
.app-shell.dashboard-active .admin-dashboard .dashboard-trend-svg{width:100%;height:170px;display:block;margin:9px auto}
.app-shell.dashboard-active .admin-dashboard .dashboard-chart-controls{display:flex;gap:6px}
.app-shell.dashboard-active .admin-dashboard .dashboard-trend-btn{background:#f1f5fa;color:#465a71;border:1px solid #dde6ed;border-radius:7px;padding:6px 10px;font-size:12px;cursor:pointer}
.app-shell.dashboard-active .admin-dashboard .dashboard-trend-btn[aria-pressed="true"]{background:#247fea;color:#fff;border-color:#247fea}
.app-shell.dashboard-active .admin-dashboard .dashboard-trend-legend{display:flex;flex-wrap:wrap;gap:11px;color:#566779;font-size:12px}
.app-shell.dashboard-active .admin-dashboard .dashboard-trend-legend span{display:flex;gap:5px;align-items:center}
.app-shell.dashboard-active .admin-dashboard .dashboard-trend-legend i{width:10px;height:10px;border-radius:100%}
.app-shell.dashboard-active .admin-dashboard .dashboard-shift-status-grid{display:grid;gap:9px}
.app-shell.dashboard-active .admin-dashboard .dashboard-shift-status{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px;background:#f3f7fb;border:1px solid #e2eaf0;border-radius:10px;padding:10px 12px;cursor:pointer}
.app-shell.dashboard-active .admin-dashboard .dashboard-shift-status span{display:flex;flex-direction:column;gap:3px}
.app-shell.dashboard-active .admin-dashboard .dashboard-shift-status strong,.app-shell.dashboard-active .admin-dashboard .dashboard-shift-status b{font-size:13px;color:#153b56}
.app-shell.dashboard-active .admin-dashboard .dashboard-shift-status small{font-size:11px;color:#587189}
.app-shell.dashboard-active .admin-dashboard .dashboard-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.app-shell.dashboard-active .admin-dashboard .dashboard-quick-actions>button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:75px;text-align:center;border:1px solid #e1eaf0;border-radius:11px;background:#edf8f5;padding:10px 7px;cursor:pointer}
.app-shell.dashboard-active .admin-dashboard .dashboard-quick-actions>button:nth-child(2n){background:#eff4ff}
.app-shell.dashboard-active .admin-dashboard .dashboard-quick-actions>button span{font-size:24px}
.app-shell.dashboard-active .admin-dashboard .dashboard-quick-actions>button strong{font-size:12px;line-height:1.2;color:#193750}
/* Existing fuel/stock/purchase cards remain intact with readable headings */
.app-shell.dashboard-active .admin-dashboard .admin-dash-grid{gap:12px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-panel-head h2{font-size:17px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-panel-head p{font-size:12px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-panel-body{padding:14px 16px}
.app-shell.dashboard-active .admin-dashboard .purchase-receipt-history-panel .admin-receipt-history-row{font-size:12px;line-height:1.4}
/* LAST ENTRIES fix: two full-width, readable tables; do not break words per letter. */
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:13px}
.app-shell.dashboard-active .admin-dashboard .dashboard-bottom-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:12px;align-items:start}
.app-shell.dashboard-active .admin-dashboard .admin-operations{grid-template-columns:repeat(3,minmax(0,1fr))}
.app-shell.dashboard-active .admin-dashboard .admin-operation{min-height:104px;padding:13px;gap:10px}
.app-shell.dashboard-active .admin-dashboard .admin-operation small{font-size:12px}
.app-shell.dashboard-active .admin-dashboard .admin-operation b{font-size:14px;overflow-wrap:normal}
.app-shell.dashboard-active .admin-dashboard .admin-operation>.admin-kpi-icon{width:35px;height:35px;flex-basis:35px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom>.admin-dash-panel,.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom>.dashboard-bottom-overview{width:100%;min-width:0}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:thin}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom table.admin-dash-table{width:100%!important;min-width:1060px!important;table-layout:auto!important;max-width:none!important;border-collapse:collapse}
.app-shell.dashboard-active .admin-dashboard .admin-recent table.admin-dash-table{min-width:1320px!important}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .admin-dash-table th,.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .admin-dash-table td{padding:13px 14px!important;font-size:13px!important;line-height:1.45!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;vertical-align:middle}
.app-shell.dashboard-active .admin-dashboard .admin-dash-bottom .admin-dash-table th{font-size:12px!important;font-weight:750}
.app-shell.dashboard-active .admin-dashboard .admin-recent-tabs button{padding:9px 15px;font-size:13px}
.app-shell.dashboard-active .admin-dashboard .admin-recon-totals b{font-size:20px}
.app-shell.dashboard-active .admin-dashboard .admin-recon-totals small{font-size:13px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-alerts{padding:18px}
.app-shell.dashboard-active .admin-dashboard .admin-dash-alert{font-size:13px;padding:11px 0}
.app-shell.dashboard-active .admin-dashboard .admin-dash-alerts h2{font-size:17px}
@container (max-width:1250px){
 .app-shell.dashboard-active .admin-dashboard .admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .app-shell.dashboard-active .admin-dashboard .dashboard-insights{grid-template-columns:repeat(2,minmax(0,1fr))}
 .app-shell.dashboard-active .admin-dashboard .dashboard-insights>.dashboard-insight-chart{grid-column:1/-1}
 .app-shell.dashboard-active .admin-dashboard .admin-summary-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container (max-width:900px){
 .app-shell.dashboard-active .admin-dashboard .admin-summary-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .app-shell.dashboard-active .admin-dashboard .dashboard-bottom-overview{grid-template-columns:1fr}
}
@container (max-width:620px){
 .app-shell.dashboard-active .admin-dashboard .admin-summary-tiles,.app-shell.dashboard-active .admin-dashboard .admin-kpis,.app-shell.dashboard-active .admin-dashboard .dashboard-insights{grid-template-columns:1fr}
 .app-shell.dashboard-active .admin-dashboard .dashboard-insights>.dashboard-insight-chart{grid-column:auto}
 .app-shell.dashboard-active .admin-dashboard .dashboard-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .app-shell.dashboard-active .admin-dashboard .dashboard-moon-phase{align-self:flex-start}
}

/* Dashboard-local icon paths are independent of any sidebar/menu icon library. */
.app-shell.dashboard-active .admin-dashboard .dashboard-lucide-icon{display:block;width:25px;height:25px;flex:none;stroke-width:1.9}
.app-shell.dashboard-active .admin-dashboard .admin-summary-icon .dashboard-lucide-icon{width:29px;height:29px}
.app-shell.dashboard-active .admin-dashboard .admin-kpi-icon .dashboard-lucide-icon{width:25px;height:25px}

.app-shell.dashboard-active .admin-dashboard .dashboard-quick-actions>button .dashboard-lucide-icon{width:26px;height:26px;color:#167e61}
.app-shell.dashboard-active .admin-dashboard .dashboard-quick-actions>button:nth-child(2n) .dashboard-lucide-icon{color:#226ce2}
