.dashboard-content { width: 100%; padding: 36px 2vw 70px; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.dashboard-heading h1 { margin-bottom: 8px; }
.dashboard-heading p { margin-bottom: 0; color: var(--muted); font-size: 20px; }
.dashboard-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.dashboard-controls label { display: grid; gap: 6px; color: var(--muted); font-size: 18px; }
.dashboard-controls select { border: 1px solid #d7ddea; border-radius: 10px; background: #fff; padding: 12px 14px; font-size: 20px; }
.dashboard-section { margin-bottom: 20px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(20, 35, 70, .04); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.dashboard-two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.line-chart { width: 100%; min-height: 300px; overflow-x: auto; }
.line-chart svg { display: block; width: 100%; min-width: 720px; height: 300px; }
.chart-grid-line { stroke: #e5e9f2; stroke-width: 1; }
.chart-line { fill: none; stroke: #2563eb; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.chart-point { fill: #fff; stroke: #2563eb; stroke-width: 3; }
.chart-label { fill: #667085; font-size: 14px; }
.chart-value { fill: #1d2939; font-size: 14px; font-weight: 700; }
.bar-chart { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(120px, 2fr) auto; gap: 12px; align-items: center; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #344054; }
.bar-track { height: 22px; overflow: hidden; border-radius: 999px; background: #eef2f7; }
.bar-fill { height: 100%; min-width: 3px; border-radius: inherit; background: #2563eb; }
.bar-value { color: #344054; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-meta { grid-column: 2 / -1; margin-top: -8px; color: var(--muted); font-size: 16px; }
.completion-chart { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.completion-item { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; }
.completion-item strong { display: block; color: #15213b; font-size: 30px; }
.completion-item span { color: var(--muted); font-size: 18px; }
.completion-progress { height: 12px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: #e9eef5; }
.completion-progress i { display: block; height: 100%; border-radius: inherit; background: #10b981; }
.vendor-table-wrap { overflow-x: auto; }
.vendor-table { width: 100%; border-collapse: collapse; }
.vendor-table th, .vendor-table td { padding: 13px 10px; border-top: 1px solid var(--line); text-align: left; font-size: 18px; white-space: nowrap; }
.vendor-table th { color: var(--muted); font-weight: 600; }
.vendor-table td:nth-child(n+2) { font-variant-numeric: tabular-nums; }
.vendor-meter { display: inline-block; width: 140px; height: 12px; margin-right: 10px; overflow: hidden; vertical-align: middle; border-radius: 999px; background: #eef2f7; }
.vendor-meter i { display: block; height: 100%; background: #2563eb; }
.dashboard-empty { padding: 36px 10px; color: var(--muted); text-align: center; }
.dashboard-error { color: #b42318; }
@media (max-width: 900px) {
  .dashboard-heading, .section-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-two-columns, .completion-chart { grid-template-columns: 1fr; }
  .dashboard-controls { width: 100%; }
}

@media (max-width: 720px) {
  .dashboard-content { padding: 20px 10px 40px; }
  .dashboard-heading { gap: 14px; margin: 0 6px 16px; }
  .dashboard-heading h1 { font-size: 32px; }
  .dashboard-heading p { font-size: 14px; line-height: 1.45; }
  .dashboard-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 8px; }
  .dashboard-controls label { font-size: 14px; }
  .dashboard-controls select { width: 100%; min-height: 44px; padding: 9px 10px; font-size: 16px; }
  .dashboard-controls button { grid-column: 1 / -1; min-height: 44px; font-size: 15px; }
  .dashboard-section { margin-bottom: 12px; padding: 16px 14px; border-radius: 10px; }
  .section-heading { gap: 6px; margin-bottom: 12px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading p { font-size: 13px; line-height: 1.45; }
  .line-chart { min-height: 230px; margin: 0 -4px; }
  .line-chart svg { min-width: 620px; height: 230px; }
  .bar-chart { gap: 13px; }
  .bar-row { grid-template-columns: minmax(70px, .9fr) minmax(80px, 1.5fr) auto; gap: 7px; font-size: 14px; }
  .bar-meta { font-size: 12px; }
  .bar-track { height: 16px; }
  .completion-chart { gap: 8px; }
  .completion-item { padding: 13px; }
  .completion-item strong { font-size: 25px; }
  .completion-item span { font-size: 14px; }
  .vendor-table-wrap { margin: 0 -4px; }
  .vendor-table { min-width: 620px; }
  .vendor-table th, .vendor-table td { padding: 10px 7px; font-size: 14px; }
}
