/* Mobile-only clinical KPI layout from approved reference; desktop is untouched. */
.hp-mobile-reference-kpis{display:none}
@media(max-width:767px){
.hp-superadmin.hp36-dashboard .dashboard-kpis{display:none!important}
.hp-superadmin.hp36-dashboard .hp-mobile-reference-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:12px 12px 17px;margin:0;position:relative;z-index:1}
.hp-mobile-ref-card{display:flex;align-items:center;gap:9px;min-width:0;min-height:99px;padding:13px 10px;border:2px solid rgba(255,255,255,.9);border-radius:24px;text-decoration:none!important;color:#091535!important;box-shadow:0 6px 14px rgba(10,68,97,.12),inset 0 1px 5px rgba(255,255,255,.9)}
.hp-mobile-ref-icon{flex:0 0 49px;height:49px;display:grid;place-items:center;border-radius:17px;color:#fff;font-size:29px;font-weight:800;box-shadow:0 5px 10px rgba(0,0,0,.12)}
.hp-mobile-ref-content{display:flex;flex-direction:column;min-width:0;gap:2px}.hp-mobile-ref-content strong{font-size:clamp(23px,5vw,36px);font-weight:850;line-height:1.08;white-space:nowrap;letter-spacing:-.6px}.hp-mobile-ref-content small{font-size:clamp(10px,2.65vw,15px);font-weight:750;line-height:1.25}
.hp-mobile-ref-patients{background:linear-gradient(130deg,#e7fff7,#dff4f5)}.hp-mobile-ref-patients .hp-mobile-ref-icon{background:linear-gradient(145deg,#17e3aa,#009d8d)}
.hp-mobile-ref-appointments{background:linear-gradient(130deg,#e9f8ff,#d8e9ff)}.hp-mobile-ref-appointments .hp-mobile-ref-icon{background:linear-gradient(145deg,#2bd2ff,#0964e7)}
.hp-mobile-ref-collection{background:linear-gradient(130deg,#fff7e8,#ffe9d8)}.hp-mobile-ref-collection .hp-mobile-ref-icon{background:linear-gradient(145deg,#ffc528,#fa8b00)}
.hp-mobile-ref-lab{background:linear-gradient(130deg,#f8efff,#e8ddff)}.hp-mobile-ref-lab .hp-mobile-ref-icon{background:linear-gradient(145deg,#ce68f8,#7727d9)}
.hp-mobile-ref-pharmacy{background:linear-gradient(130deg,#fff0f7,#ffe0ec)}.hp-mobile-ref-pharmacy .hp-mobile-ref-icon{background:linear-gradient(145deg,#ff75a7,#e90060)}
.hp-mobile-ref-pending{background:linear-gradient(130deg,#fff1f5,#ffe2e8)}.hp-mobile-ref-pending .hp-mobile-ref-icon{background:linear-gradient(145deg,#ff668f,#e70050)}
.hp-mobile-ref-rmp{background:linear-gradient(130deg,#e9faff,#e0f0ff)}.hp-mobile-ref-rmp .hp-mobile-ref-icon{background:linear-gradient(145deg,#38d5ff,#0078e9)}
.hp-mobile-ref-due{background:linear-gradient(130deg,#fff4ec,#ffe2e1)}.hp-mobile-ref-due .hp-mobile-ref-icon{background:linear-gradient(145deg,#ffb62a,#f47700)}
}
@media(max-width:360px){.hp-mobile-ref-card{padding:10px 7px;gap:7px}.hp-mobile-ref-icon{flex-basis:41px;height:43px;font-size:23px}.hp-mobile-ref-content strong{font-size:22px}}
/* V2.3 unified clinical KPI grid: admin desktop and mobile, never show legacy financial grid. */
.hp-superadmin.hp36-dashboard .dashboard-kpis{display:none!important}
.hp-superadmin.hp36-dashboard .hp-mobile-reference-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0 22px;padding:0;position:relative;z-index:1}
.hp-superadmin.hp36-dashboard .hp-mobile-ref-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:110px;padding:15px;border:2px solid rgba(255,255,255,.9);border-radius:23px;text-decoration:none!important;color:#091535!important;box-shadow:0 6px 14px rgba(10,68,97,.12),inset 0 1px 5px rgba(255,255,255,.9)}
.hp-superadmin.hp36-dashboard .hp-mobile-ref-icon{flex:0 0 54px;height:54px;display:grid;place-items:center;border-radius:17px;color:#fff;font-size:29px;font-weight:800;box-shadow:0 5px 10px rgba(0,0,0,.12)}
.hp-superadmin.hp36-dashboard .hp-mobile-ref-content{display:flex;flex-direction:column;min-width:0;gap:3px}
.hp-superadmin.hp36-dashboard .hp-mobile-ref-content strong{font-size:clamp(22px,2.3vw,35px);font-weight:850;line-height:1.1;white-space:nowrap}
.hp-superadmin.hp36-dashboard .hp-mobile-ref-content small{font-size:clamp(11px,1.15vw,15px);font-weight:750;line-height:1.25}
@media(max-width:1000px){.hp-superadmin.hp36-dashboard .hp-mobile-reference-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.hp-superadmin.hp36-dashboard .hp-mobile-reference-kpis{gap:11px;padding:12px;margin:0 0 15px}.hp-superadmin.hp36-dashboard .hp-mobile-ref-card{min-height:99px;padding:13px 10px;gap:9px}.hp-superadmin.hp36-dashboard .hp-mobile-ref-icon{flex-basis:49px;height:49px}.hp-superadmin.hp36-dashboard .hp-mobile-ref-content strong{font-size:clamp(23px,5vw,36px)}.hp-superadmin.hp36-dashboard .hp-mobile-ref-content small{font-size:clamp(10px,2.65vw,15px)}}
@media(max-width:360px){.hp-superadmin.hp36-dashboard .hp-mobile-ref-card{padding:10px 7px;gap:7px}.hp-superadmin.hp36-dashboard .hp-mobile-ref-icon{flex-basis:41px;height:43px;font-size:23px}.hp-superadmin.hp36-dashboard .hp-mobile-ref-content strong{font-size:22px}}
