/* Premium colorful icon system: original inline SVG, no external image dependencies. */
.hp-superadmin.hp36-dashboard .hp-mobile-ref-icon{color:#fff!important;position:relative;isolation:isolate;box-shadow:inset 0 2px 3px rgba(255,255,255,.32),0 5px 12px rgba(20,53,95,.22)!important}
.hp-superadmin.hp36-dashboard .hp-mobile-ref-icon svg{width:31px;height:31px;display:block;stroke:#fff!important;filter:drop-shadow(0 1px 1px rgba(0,0,0,.14))}
/* Existing SVGs are retained; tint their containers rather than layering duplicate icons. */
.clinic-sidebar .hp35-svg-icon,.clinic-sidebar .hp25-menu-icon{filter:none!important;opacity:1!important}
.clinic-sidebar .hp35-svg-icon svg,.clinic-sidebar .hp25-menu-icon svg{width:21px;height:21px;stroke:var(--hp25-icon-color,#28c9d0)!important;opacity:1!important;filter:drop-shadow(0 1px 2px rgba(0,0,0,.16))}
.clinic-sidebar a:nth-of-type(8n+1) .hp35-svg-icon{--hp25-icon-color:#2dd4bf!important}
.clinic-sidebar a:nth-of-type(8n+2) .hp35-svg-icon{--hp25-icon-color:#f9ad36!important}
.clinic-sidebar a:nth-of-type(8n+3) .hp35-svg-icon{--hp25-icon-color:#9b8bff!important}
.clinic-sidebar a:nth-of-type(8n+4) .hp35-svg-icon{--hp25-icon-color:#49b7ff!important}
.clinic-sidebar a:nth-of-type(8n+5) .hp35-svg-icon{--hp25-icon-color:#fa75bd!important}
.clinic-sidebar a:nth-of-type(8n+6) .hp35-svg-icon{--hp25-icon-color:#66e1a7!important}
.clinic-sidebar a:nth-of-type(8n+7) .hp35-svg-icon{--hp25-icon-color:#ffb05c!important}
.clinic-sidebar a:nth-of-type(8n) .hp35-svg-icon{--hp25-icon-color:#7ed2ff!important}
.hp24-action-grid a .hp36-action-icon{display:inline-grid!important;place-items:center!important;width:44px!important;height:44px!important;border-radius:13px!important;background:linear-gradient(145deg,var(--hp-icon-light,#d9fff5),#fff)!important;color:var(--hp-icon-accent,#00a99c)!important;box-shadow:0 3px 9px rgba(18,71,96,.10)!important}
.hp24-action-grid a .hp36-action-icon svg{width:27px!important;height:27px!important;stroke:currentColor!important;opacity:1!important}
.hp24-action-grid a:nth-child(8n+1){--hp-icon-accent:#00a98f;--hp-icon-light:#c8fff0}
.hp24-action-grid a:nth-child(8n+2){--hp-icon-accent:#2589ed;--hp-icon-light:#d6ecff}
.hp24-action-grid a:nth-child(8n+3){--hp-icon-accent:#10b878;--hp-icon-light:#d9ffeb}
.hp24-action-grid a:nth-child(8n+4){--hp-icon-accent:#a044dd;--hp-icon-light:#f1ddff}
.hp24-action-grid a:nth-child(8n+5){--hp-icon-accent:#ee427e;--hp-icon-light:#ffe2ef}
.hp24-action-grid a:nth-child(8n+6){--hp-icon-accent:#00a88b;--hp-icon-light:#d5fff4}
.hp24-action-grid a:nth-child(8n+7){--hp-icon-accent:#347fe9;--hp-icon-light:#e0efff}
.hp24-action-grid a:nth-child(8n){--hp-icon-accent:#ef9631;--hp-icon-light:#fff0d8}
@media(max-width:767px){.hp-superadmin.hp36-dashboard .hp-mobile-ref-icon svg{width:27px;height:27px}}

/* Unified clinical KPI: desktop and mobile use identical semantic color mapping.
   This block follows older theme rules and prevents white SVG icons on desktop. */
.hp-mobile-reference-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:12px 0 18px!important}
.hp-mobile-reference-kpis .hp-mobile-ref-card{display:flex!important;align-items:center!important;min-width:0!important;gap:12px!important;border-radius:20px!important;padding:16px 12px!important;text-decoration:none!important;background:var(--kpi-bg,#e8f6fb)!important;border:1px solid rgba(255,255,255,.95)!important;box-shadow:0 5px 14px rgba(23,67,97,.13)!important}
.hp-mobile-reference-kpis .hp-mobile-ref-icon{display:grid!important;place-items:center!important;flex:0 0 52px!important;width:52px!important;height:52px!important;border-radius:16px!important;background:linear-gradient(145deg,var(--kpi-light,#42d8ce),var(--kpi-strong,#008b86))!important;color:#fff!important;box-shadow:0 4px 12px rgba(24,77,100,.2)!important}
.hp-mobile-reference-kpis .hp-mobile-ref-icon svg{display:block!important;width:30px!important;height:30px!important;stroke:#fff!important;color:#fff!important;opacity:1!important;visibility:visible!important;fill:none!important}
.hp-mobile-reference-kpis .hp-mobile-ref-content{display:flex!important;flex-direction:column!important;min-width:0!important;gap:3px!important}
.hp-mobile-reference-kpis .hp-mobile-ref-content strong{color:#09193e!important;font-weight:800!important;font-size:clamp(21px,2.2vw,31px)!important;line-height:1.1!important}
.hp-mobile-reference-kpis .hp-mobile-ref-content small{color:#172342!important;font-size:12px!important;font-weight:700!important;line-height:1.25!important}
.hp-mobile-ref-patients{--kpi-bg:#e0faf3;--kpi-light:#18dfb1;--kpi-strong:#009c82}
.hp-mobile-ref-appointments{--kpi-bg:#e3f3ff;--kpi-light:#43c6ff;--kpi-strong:#0579e7}
.hp-mobile-ref-collection{--kpi-bg:#fff0e1;--kpi-light:#ffbf38;--kpi-strong:#f08100}
.hp-mobile-ref-lab{--kpi-bg:#f2e6ff;--kpi-light:#c573f5;--kpi-strong:#8525d0}
.hp-mobile-ref-pharmacy{--kpi-bg:#ffe6f0;--kpi-light:#ff82ae;--kpi-strong:#df1672}
.hp-mobile-ref-pending{--kpi-bg:#ffe9ee;--kpi-light:#ff7a9a;--kpi-strong:#d51d57}
.hp-mobile-ref-rmp{--kpi-bg:#e2f5ff;--kpi-light:#4ad4fa;--kpi-strong:#0786d4}
.hp-mobile-ref-due{--kpi-bg:#fff0e6;--kpi-light:#ffc24e;--kpi-strong:#ec8200}
@media(max-width:767px){.hp-mobile-reference-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.hp-mobile-reference-kpis .hp-mobile-ref-card{padding:12px 9px!important;gap:9px!important;border-radius:18px!important}.hp-mobile-reference-kpis .hp-mobile-ref-icon{flex-basis:43px!important;width:43px!important;height:43px!important;border-radius:13px!important}.hp-mobile-reference-kpis .hp-mobile-ref-icon svg{width:25px!important;height:25px!important}.hp-mobile-reference-kpis .hp-mobile-ref-content strong{font-size:23px!important}.hp-mobile-reference-kpis .hp-mobile-ref-content small{font-size:11px!important}}
@media(max-width:350px){.hp-mobile-reference-kpis .hp-mobile-ref-card{gap:6px!important;padding:10px 6px!important}.hp-mobile-reference-kpis .hp-mobile-ref-icon{flex-basis:37px!important;width:37px!important;height:37px!important}.hp-mobile-reference-kpis .hp-mobile-ref-content strong{font-size:20px!important}}
