/* Keep the single-site data model, but use the generic ADCMS dashboard rhythm. */
.dashboard{padding:20px 0 70px}
.dashboard .site-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}
.dashboard .site-overview .stat,.dashboard .site-panel{background:#fff;border-radius:13px;box-shadow:0 5px 22px rgba(15,23,42,.06)}
.dashboard .site-overview .stat{padding:20px;min-height:96px}
.dashboard .site-overview .num{font-size:30px;line-height:1.1;color:#16a34a}
.dashboard .site-overview .stat div:nth-child(2){margin-top:7px;font-size:14px;font-weight:400}
.dashboard .site-panel{padding:22px;margin-bottom:22px}
.dashboard .site-panel .panel-heading{align-items:center}
.dashboard .site-panel .panel-heading h2{margin:0}
.dashboard .site-panel .panel-heading .muted{margin:5px 0 14px}
.dashboard .site-panel table{width:100%;border-collapse:collapse}
.dashboard .site-panel th,.dashboard .site-panel td{padding:11px;border-bottom:1px solid #e5e7eb;text-align:left}
.dashboard .site-panel th{background:#f8fafc}
.dashboard .site-panel .form-grid{gap:22px}
.dashboard .site-panel .form-actions{justify-content:flex-start}
.dashboard .site-panel .btn{padding:11px 18px}
@media(max-width:900px){.dashboard .site-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.dashboard .site-overview{grid-template-columns:1fr}.dashboard .site-panel{padding:17px}}
.dashboard .site-switch{display:flex;align-items:center;justify-content:space-between;gap:20px}
.dashboard .site-switch form{display:flex;align-items:center;gap:12px;white-space:nowrap}
.dashboard .site-switch .muted{margin-bottom:0}
.site-status{display:inline-block;vertical-align:middle;padding:6px 10px;border-radius:999px;background:#dcfce7;color:#166534;font-size:12px;font-weight:400}
.site-status.off{background:#e2e8f0;color:#475569}
.site-check{display:flex;align-items:center;gap:7px;font-weight:700}
.site-check input{width:auto;margin:0}
.site-cache-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.site-cache-item{padding:16px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc}
.site-cache-item label{display:block;font-weight:700;margin-bottom:7px}
.site-cache-item .site-check{display:flex;margin-bottom:14px}
.site-cache-item input[type=number]{width:100%;padding:11px;border:1px solid #d1d5db;border-radius:8px;background:#fff}
@media(max-width:850px){.dashboard .site-switch{align-items:flex-start;flex-direction:column}.dashboard .site-cache-grid{grid-template-columns:1fr}}
@media(max-width:520px){.dashboard .site-switch form{align-items:flex-start;flex-wrap:wrap;white-space:normal}}
