/* Full-screen takeover: hide the map + sidebar when the Dashboard is active,
   same mechanism as the Margin tab (body.view-margin-active). */
body.view-dashboard-active .app-container { grid-template-columns: 1fr; }
body.view-dashboard-active .map-container { display: none; }
body.view-dashboard-active .sidebar { border-right: none; }
body.view-dashboard-active #tab-dashboard.tab-content {
  padding: 1.5rem 2rem; max-width: 1600px; width: 100%; margin: 0 auto;
}

#tab-dashboard { padding: 18px 22px; }
.cvd-head { margin-bottom: 16px; }
.cvd-title { font-size: 19px; font-weight: 800; color: #0b1f3a; }
.cvd-title span { color: #2d7dd2; }
.cvd-sub { color: #64748b; font-size: 12.5px; margin-top: 2px; }
.cvd-glance {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.cvd-kpi {
  background: #111726; border: 1px solid #232c44; border-radius: 12px; padding: 15px 16px;
}
.cvd-lbl { color: #8a97b4; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.cvd-val { font-size: 25px; font-weight: 800; color: #eef2fb; margin-top: 6px; }
.cvd-hero { background: linear-gradient(160deg, #15325c, #111726); border-color: #2b4b7e; }
.cvd-hero .cvd-val { color: #60a5fa; }
.cvd-note { color: #64748b; font-size: 11.5px; margin-top: 12px; max-width: 640px; }
.cvd-msg { color: #64748b; padding: 24px; font-size: 14px; }
.cvd-err { color: #b91c1c; }
@media (max-width: 1100px) { .cvd-glance { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .cvd-glance { grid-template-columns: 1fr 1fr; } }
