/* PSK Business ERP — dashboard */
.dash-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-hero h1 { font-size: 24px; }
.dash-hero p { color: var(--muted); margin-top: 4px; }
.dash-hero .range-label { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: right; }
.dash-grid { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.dash-grid > .card { display: flex; flex-direction: column; }
.dash-grid > .card > .card-body { flex: 1; }
.col-12 { grid-column: span 12; } .col-8 { grid-column: span 8; } .col-7 { grid-column: span 7; } .col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; } .col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; }
.dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-link { font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.rank { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--navy-50); color: var(--primary); font-size: 11.5px; font-weight: 700; }
.stock-meter { display: flex; flex-direction: column; gap: 4px; min-width: 96px; align-items: flex-end; }
.stock-meter .progress { width: 96px; }
.veh-pill { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--secondary); }
.veh-pill.amber { background: var(--amber-50); color: #D97706; }
.veh-pill.green { background: var(--green-50); color: var(--success); }
.veh-pill.red { background: var(--red-50); color: var(--danger); }
.veh-pill.gray { background: #EEF1F6; color: #64748B; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 18px 14px; }
.mini-stat { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); }
.mini-stat b { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; }
.mini-stat small { color: var(--muted); font-size: 11.5px; }
@media (min-width: 1700px) { .dash-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1180px) {
  .col-8, .col-7, .col-6, .col-5, .col-4 { grid-column: span 12; }
  .col-3 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .col-3 { grid-column: span 12; }
}
