/* Order desk: compact operational summary, separate financial details. */
.pharmacy-body { --desk-text:#182c26; --desk-muted:#53665e; --desk-card:#fff; --desk-border:#dce7e0; }
.pharmacy-body,.pharmacy-body button,.pharmacy-body input { font-family:Dawaei,Tajawal,sans-serif!important; }
.pharmacy-body .btn-primary,.pharmacy-body .sidebar-btn.active,.pharmacy-body .filter-btn.active { background:#28652b!important; color:#fff!important; box-shadow:none!important; }
html[data-theme="dark"] .pharmacy-body .btn-primary,html[data-theme="dark"] .pharmacy-body .filter-btn.active { background:#92d984!important; color:#103810!important; }
html[data-theme="dark"] .pharmacy-body { --desk-text:#eff8f2; --desk-muted:#bed0c5; --desk-card:#16271f; --desk-border:#35483e; }
.pharmacy-body .dashboard-header { gap:16px; padding:16px 20px; align-items:center; flex-wrap:wrap; }
.pharmacy-body .header-stats { gap:10px; flex-wrap:wrap; }
.pharmacy-body .stat-chip { min-height:44px; font-size:14px; }
.pharmacy-body .pharmacy-finances { margin:12px 0 24px; border:1px solid var(--desk-border); border-radius:14px; background:var(--desk-card); color:var(--desk-text); }
.pharmacy-finances summary { cursor:pointer; display:flex; align-items:center; gap:10px; min-height:48px; padding:10px 16px; font-weight:700; }
.pharmacy-finances summary::after { content:'⌄'; margin-inline-start:auto; }
.pharmacy-finances[open] summary::after { content:'⌃'; }
.finance-hint { color:var(--desk-muted); font-size:12px; font-weight:400; }
.finance-chips { display:flex; flex-wrap:wrap; gap:10px; padding:0 16px 16px; }
.pharmacy-body .orders-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr)); gap:16px; align-items:start; }
.pharmacy-body .order-ph-card { min-height:0!important; height:auto!important; padding:20px!important; border:1px solid var(--desk-border)!important; border-radius:18px!important; background:var(--desk-card)!important; color:var(--desk-text)!important; box-shadow:0 3px 12px #10291b08!important; }
.pharmacy-body .order-ph-card .order-ph-header { align-items:start; gap:12px; margin-bottom:14px; }
.pharmacy-body .order-ph-patient { color:var(--desk-text)!important; font-size:17px!important; }
.pharmacy-body .order-ph-time,.pharmacy-body .order-ph-age { color:var(--desk-muted)!important; font-size:12px; line-height:1.7; }
.pharmacy-body .order-ph-prescription { min-height:0!important; height:auto!important; margin:0 0 14px!important; padding:12px!important; background:transparent!important; border:1px solid var(--desk-border); border-radius:10px; }
.pharmacy-body .order-ph-prescription-label { color:var(--desk-muted)!important; font-size:12px; margin-bottom:6px; }
.pharmacy-body .order-ph-summary { color:var(--desk-text)!important; font-weight:700; font-size:15px; line-height:1.8; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.pharmacy-body .order-ph-footer { border-top:1px solid var(--desk-border); padding-top:12px; }
.pharmacy-body .order-ph-new-badge { position:static!important; display:inline-flex; margin-bottom:10px; background:#e8f4ed!important; color:#21563c!important; font-size:12px; }
.pharmacy-body .order-ph-quick-actions .btn { min-height:44px!important; height:auto!important; padding:10px!important; white-space:normal; }
.pharmacy-body .panel-header { flex-wrap:wrap; gap:14px; }
.pharmacy-body .filter-btn { min-height:44px; }
@media(max-width:700px) { .pharmacy-body .keyboard-hud-chip { display:none!important; } .pharmacy-body .header-time { display:none; } .finance-hint { display:none; } .pharmacy-body .dashboard-header { padding:12px; } .pharmacy-body .order-ph-card { padding:16px!important; } }
@media(prefers-reduced-motion:reduce) { .pharmacy-body .order-ph-card { animation:none!important; transition:none!important; } }
