/* Stage 24: superadmin dashboard only; existing sidebar/hero and other roles unchanged. */
body.hp-superadmin .clinic-main .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
body.hp-superadmin .clinic-main .dashboard-kpis>.stat{min-height:148px!important;padding:18px 12px 16px 82px!important;justify-content:center!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(11,44,73,.10)!important}
body.hp-superadmin .clinic-main .dashboard-kpis>.stat .stat-icon{left:15px!important;top:21px!important;width:53px!important;height:53px!important;font-size:29px!important}
body.hp-superadmin .clinic-main .dashboard-kpis>.stat span:not(.stat-icon){font-size:14px!important;font-weight:800!important;line-height:1.3!important}
body.hp-superadmin .clinic-main .dashboard-kpis>.stat b{font-size:clamp(25px,2.2vw,37px)!important;font-weight:900!important;letter-spacing:-.03em!important;overflow-wrap:anywhere;white-space:normal!important}
body.hp-superadmin .clinic-main .dashboard-kpis>.stat small{font-size:11px!important;font-weight:700!important}
body.hp-superadmin .clinic-main .dashboard-columns{gap:18px;align-items:stretch}
body.hp-superadmin .clinic-main .dashboard-columns>.panel{border-radius:14px;box-shadow:0 7px 22px rgba(13,49,78,.08);min-width:0}
body.hp-superadmin .clinic-main .dashboard-columns>.panel h2{font-weight:850;font-size:19px;color:#102b43}
body.hp-superadmin .clinic-main .hp24-trend{display:flex;gap:12px;align-items:stretch;height:252px;padding:15px 10px 4px;min-width:0}
body.hp-superadmin .clinic-main .hp24-trend-col{display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;gap:6px;font-weight:800;color:#17324a}
body.hp-superadmin .clinic-main .hp24-trend-col strong{font-size:13px}
body.hp-superadmin .clinic-main .hp24-trend-track{height:100%;min-height:0;flex:1;width:min(100%,64px);display:flex;align-items:flex-end;border-bottom:1px solid #cddfe9;background:linear-gradient(to top,transparent 24%,#e5edf3 25%,transparent 25.5%,transparent 49%,#e5edf3 50%,transparent 50.5%,transparent 74%,#e5edf3 75%,transparent 75.5%)}
body.hp-superadmin .clinic-main .hp24-trend-bar{width:100%;min-height:0;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#39c3ae,#17a48f)}
body.hp-superadmin .clinic-main .hp24-trend-col span{font-size:12px}
body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px}
body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid a{display:flex;min-height:112px;min-width:0;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:12px 6px;border-radius:14px;background:#dff8e9;color:#0b3a2d;font-weight:800;font-size:12px;line-height:1.3;text-align:center;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid a:nth-child(4n+2){background:#e0f3ff;color:#124568}
body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid a:nth-child(4n+3){background:#f2e4ff;color:#65318a}
body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid a:nth-child(4n+4){background:#ffeddf;color:#9b4b14}
body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid a span{font-size:35px;line-height:1.1}
body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid a:hover{transform:translateY(-2px);box-shadow:0 7px 16px rgba(12,43,70,.12)}
@media(max-width:1300px){body.hp-superadmin .clinic-main .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){body.hp-superadmin .clinic-main .dashboard-kpis{gap:10px!important}body.hp-superadmin .clinic-main .dashboard-kpis>.stat{min-height:118px!important;padding:12px 8px 12px 55px!important}body.hp-superadmin .clinic-main .dashboard-kpis>.stat .stat-icon{left:8px!important;top:15px!important;width:38px!important;height:38px!important;font-size:21px!important}body.hp-superadmin .clinic-main .dashboard-kpis>.stat b{font-size:clamp(19px,5vw,28px)!important}body.hp-superadmin .clinic-main .dashboard-kpis>.stat span:not(.stat-icon){font-size:11px!important}body.hp-superadmin .clinic-main .dashboard-kpis>.stat small{font-size:10px!important}body.hp-superadmin .clinic-main .hp24-quick-actions .hp24-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.hp-superadmin .clinic-main .hp24-trend{gap:5px;height:190px;padding:10px 0 3px}}
@media(max-width:360px){body.hp-superadmin .clinic-main .dashboard-kpis>.stat{padding:55px 8px 10px!important}body.hp-superadmin .clinic-main .dashboard-kpis>.stat .stat-icon{top:9px!important}}
@media(prefers-reduced-motion:reduce){body.hp-superadmin .clinic-main .hp24-action-grid a{transition:none}}
