.dashboard-page {
  --dash-navy: #142b3b;
  --dash-teal: #168b78;
  --dash-muted: #7b8993;
  --dash-line: #e7ecef;
  --dash-surface: #fff;
}

.dashboard-page .content-header h1 { color: var(--dash-navy); font-size: 1.65rem; font-weight: 600; letter-spacing: -.03em; }
.dashboard-eyebrow { color: var(--dash-muted); display: block; font-size: 10px; font-weight: 700; letter-spacing: .13em; margin-bottom: 4px; text-transform: uppercase; }
.dashboard-subtitle { color: var(--dash-muted); font-size: 13px; margin: 5px 0 0; }
.dashboard-header-actions { align-items: center; display: flex; justify-content: flex-end; gap: 12px; }
.dashboard-header-actions .breadcrumb { margin-bottom: 0; padding: 0; background: transparent; }
.dashboard-period-form { align-items: flex-end; display: flex; gap: 8px; }
.dashboard-filter-group { min-width: 112px; }
.dashboard-filter-group label { color: var(--dash-muted); display: block; font-size: 9px; font-weight: 600; margin: 0 0 4px; }
.dashboard-filter-group input, .dashboard-filter-group select { border-color: var(--dash-line); border-radius: 7px; color: #52636e; font-size: 12px; height: 34px; }
.dashboard-container { padding-bottom: 22px; }
.dashboard-kpis { margin-bottom: 4px; }
.dashboard-kpis > [class*="col-"] { margin-bottom: 14px; }
.dashboard-kpi { background: var(--dash-surface); border: 1px solid var(--dash-line); border-radius: 9px; box-shadow: 0 2px 8px rgba(21, 43, 59, .035); min-height: 120px; overflow: hidden; padding: 16px 18px; position: relative; }
.dashboard-kpi-label { color: var(--dash-muted); font-size: 11px; font-weight: 600; padding-right: 30px; }
.dashboard-kpi-value { color: var(--dash-navy); font-size: 24px; font-weight: 650; letter-spacing: -.035em; line-height: 1.25; margin: 12px 0 5px; }
.dashboard-kpi-value small { font-size: 14px; font-weight: 600; }
.dashboard-kpi-note { color: var(--dash-muted); font-size: 10px; }
.dashboard-kpi-note .fa-check-circle { color: var(--dash-teal); margin-right: 3px; }
.dashboard-kpi-icon { color: #a8b8bf; font-size: 15px; position: absolute; right: 17px; top: 17px; }
.dashboard-kpi-attention .dashboard-kpi-icon { color: #c29242; }
.dashboard-chart-card, .dashboard-card { border: 1px solid var(--dash-line); border-radius: 9px; box-shadow: 0 2px 8px rgba(21, 43, 59, .035); margin-bottom: 14px; }
.dashboard-card .card-header { align-items: flex-start; background: #fff; border-bottom: 1px solid #eff2f3; display: flex; justify-content: space-between; min-height: 60px; padding: 15px 18px 12px; }
.dashboard-card .card-title { color: var(--dash-navy); float: none; font-size: 14px; font-weight: 650; margin: 0; }
.dashboard-card-subtitle { color: var(--dash-muted); font-size: 10px; margin-top: 4px; }
.dashboard-legend { align-items: center; color: #71818a; display: flex; font-size: 10px; gap: 6px; padding-top: 2px; white-space: nowrap; }
.legend-dot { border-radius: 50%; display: inline-block; height: 7px; width: 7px; }
.legend-sales { background: var(--dash-teal); }
.dashboard-card .card-body { padding: 14px 18px 17px; }
.chart-wrap { height: 255px; position: relative; }
.chart-wrap-volume { height: 220px; }
.dashboard-status-body { align-items: center; display: flex; justify-content: center; min-height: 286px; }
.dashboard-donut-wrap { align-items: center; display: flex; gap: 18px; justify-content: center; width: 100%; }
.dashboard-donut { height: 175px; max-width: 175px; position: relative; width: 58%; }
.dashboard-donut canvas { height: 100%; width: 100%; }
.dashboard-donut-center { align-items: center; display: flex; inset: 0; justify-content: center; pointer-events: none; position: absolute; flex-direction: column; }
.dashboard-donut-center strong { color: var(--dash-navy); font-size: 23px; font-weight: 650; letter-spacing: -.04em; }
.dashboard-donut-center span { color: var(--dash-muted); font-size: 10px; }
.dashboard-status-legend { display: grid; flex: 1; gap: 11px; max-width: 145px; }
.dashboard-status-item { align-items: center; color: #687984; display: grid; font-size: 10px; gap: 6px; grid-template-columns: 8px 1fr auto; }
.dashboard-status-item strong { color: #344955; font-size: 10px; }
.dashboard-status-swatch { border-radius: 50%; height: 7px; width: 7px; }
.dashboard-summary-card .card-body { padding: 4px 18px 17px; }
.dashboard-summary-row { align-items: center; border-bottom: 1px solid #eff2f3; color: #72818a; display: flex; font-size: 11px; justify-content: space-between; min-height: 42px; }
.dashboard-summary-row strong { color: var(--dash-navy); font-size: 11px; font-weight: 650; }
.dashboard-warning-pill { background: #fff5e5; border-radius: 20px; color: #a66c13 !important; padding: 4px 8px; }
.dashboard-summary-link, .dashboard-card-action { color: var(--dash-teal); font-size: 10px; font-weight: 650; white-space: nowrap; }
.dashboard-summary-link { display: inline-block; margin-top: 13px; }
.dashboard-summary-link i, .dashboard-card-action i { font-size: 9px; margin-left: 3px; }
.dashboard-tables-row .dashboard-card .card-header { align-items: center; }
.dashboard-table { color: #425560; font-size: 11px; }
.dashboard-table thead th { border-bottom: 1px solid var(--dash-line); border-top: 0; color: #89969e; font-size: 9px; font-weight: 650; letter-spacing: .05em; padding: 10px 12px; text-transform: uppercase; white-space: nowrap; }
.dashboard-table tbody td { border-top: 1px solid #eff2f3; padding: 11px 12px; vertical-align: middle; }
.dashboard-table tbody tr:first-child td { border-top: 0; }
.dashboard-product-icon { align-items: center; background: #eef3f5; border-radius: 6px; color: #718a96; display: inline-flex; height: 25px; justify-content: center; margin-right: 8px; width: 25px; }
.dashboard-stock-low { color: #a66c13 !important; font-weight: 650; }
.dashboard-recent-table td:first-child strong, .dashboard-recent-table td:first-child small { display: block; }
.dashboard-recent-table td:first-child strong { color: var(--dash-navy); font-size: 11px; }
.dashboard-recent-table td:first-child small { color: var(--dash-muted); font-size: 10px; margin-top: 2px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-empty { color: var(--dash-muted) !important; padding: 20px 12px !important; text-align: center; }
.dashboard-footnote { color: #8c999f; font-size: 10px; margin: 1px 2px 0; }

@media (max-width: 767.98px) {
  .dashboard-header-actions { justify-content: flex-start; margin-top: 12px; }
  .dashboard-period-form { flex-wrap: wrap; }
  .dashboard-header-actions .breadcrumb { margin-left: auto; }
  .dashboard-donut-wrap { gap: 10px; }
  .dashboard-donut { height: 150px; }
  .dashboard-status-legend { max-width: 130px; }
  .chart-wrap { height: 220px; }
}
