/* R5C-R3 — doctor only, screen only; no changes to clinical handlers or warnings. */
@media screen {
.app-shell.role-doctor {--cux-r5c-r3:1;}
.app-shell.role-doctor .phase28-20-sidebar a[data-cux-accounting-state="inactive"] {background:transparent!important;color:#334155!important;box-shadow:none!important;font-weight:550!important;}
.app-shell.role-doctor .phase28-20-sidebar a[data-cux-accounting-state="inactive"]:hover {background:#f1f5f9!important;}
.app-shell.role-doctor .phase28-20-sidebar a[data-cux-accounting-state="active"] {background:#eaf1ff!important;color:#1d4ed8!important;font-weight:650!important;}
.app-shell.role-doctor .phase28-20-content-polish {padding-block:10px!important;}
.app-shell.role-doctor .cux-r2-operations {padding:6px 8px!important;gap:4px!important;margin-block-end:8px!important;align-items:start;}
.app-shell.role-doctor .cux-r2-operations .medbrain-offline-sync-panel {padding:4px 7px!important;}
.app-shell.role-doctor .cux-r2-operations .medbrain-offline-sync-policy {margin-block:2px!important;}
.app-shell.role-doctor .cux-r5b-intro,.app-shell.role-doctor .cux-r5c-toolbar {padding:8px 12px!important;margin-block-end:5px!important;}
.app-shell.role-doctor .cux-r5b-intro h2,.app-shell.role-doctor .cux-r5c-toolbar h2 {font-size:19px!important;}
.app-shell.role-doctor .cux-r3-metrics {display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:8px;}
.app-shell.role-doctor .cux-r3-metric {background:#fff;border:1px solid #dfe7f0;border-radius:10px;padding:10px 12px;display:grid;gap:4px;min-width:0;}
.app-shell.role-doctor .cux-r3-metric-label {font-size:12px;color:#526176;font-weight:550;}
.app-shell.role-doctor .cux-r3-metric strong {font-size:25px;line-height:1.2;font-weight:650;color:#182436;font-variant-numeric:tabular-nums;}
.app-shell.role-doctor .cux-r2-day-patients {gap:9px!important;}
.app-shell.role-doctor .cux-r2-day-patients #doctor-queue-section,.app-shell.role-doctor .cux-r2-day-patients #doctor-active-visits-section {align-items:start!important;gap:10px!important;}
.app-shell.role-doctor .cux-r2-day-patients #doctor-queue-section>*,.app-shell.role-doctor .cux-r2-day-patients #doctor-active-visits-section>* {min-height:0!important;align-self:start!important;box-shadow:none!important;}
.app-shell.role-doctor .cux-r5c-chart .phase28-44-3-hero {padding:12px!important;gap:8px!important;}
.app-shell.role-doctor .cux-r5c-chart .phase28-44-3-hero-actions {gap:5px!important;}
.app-shell.role-doctor .cux-r5c-chart .phase28-44-3-hero-actions button {padding:7px 9px!important;min-height:34px!important;}
.app-shell.role-doctor .cux-r5c-chart .phase28-44-3-card {padding:12px!important;}
.app-shell.role-doctor .cux-r5c-clinical .uswe-hero-main {padding:12px!important;}
.app-shell.role-doctor .cux-r5c-clinical .uswe-hero h2 {font-size:22px!important;}
.app-shell.role-doctor .cux-r5c-clinical .uswe-section {box-shadow:none!important;}
@media(min-width:1100px){.app-shell.role-doctor .cux-r2-day-grid {grid-template-columns:minmax(260px,27%) minmax(0,1fr)!important;gap:12px!important;}}
@container (min-width:1150px){.app-shell.role-doctor .cux-r5c-columns {grid-template-columns:minmax(270px,25%) minmax(0,1fr)!important;gap:12px!important;}}
}
