.pharmacy-workspace{display:flex;flex-direction:column;gap:18px;max-width:1500px}
.pharmacy-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 2px;position:sticky;top:0;z-index:2;background:var(--bg,#f4f7f8)}
.pharmacy-tabs button{white-space:nowrap;border:1px solid var(--line,#dbe4e6);background:var(--card,#fff);border-radius:999px;padding:9px 14px;color:var(--text,#16353b)}
.pharmacy-tabs button.selected{background:var(--accent,#0b665d);border-color:var(--accent,#0b665d);color:#fff}
.pharmacy-stat-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}
.pharmacy-stat-grid .stat{min-height:92px}
.pharmacy-workspace .card{overflow:hidden}
.pharmacy-workspace .tablewrap{max-height:520px;overflow:auto}
.pharmacy-workspace .tablewrap thead th{position:sticky;top:0;background:var(--card,#fff);z-index:1}
.pharmacy-workspace .badge.controlled_medicine{background:#fce6e9;color:#9b1c31}
.pharmacy-workspace .badge.low_stock{background:#fff3d5;color:#8a5b00}
.report-actions{display:flex;justify-content:flex-end;padding:14px 18px 0}
@media (max-width:760px){.pharmacy-tabs{margin-inline:-10px;padding-inline:10px}.pharmacy-workspace .cardhead{align-items:flex-start;gap:8px}.pharmacy-workspace .cardhead .actions{flex-wrap:wrap}.pharmacy-workspace .tablewrap{max-height:none}.pharmacy-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
