/* R6E-R2: layout only. All data and callbacks remain in the accepted application. */
@media screen {
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) {grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:12px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > #doctor-command-center-section > .doctor-ux-command-header {display:contents!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > #doctor-command-center-section > .doctor-ux-command-header > h2 {grid-column:1/-1;order:11;margin:0!important;padding:2px 4px;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > #doctor-command-center-section > .doctor-ux-command-header > .doctor-ux-medication-chip {order:18;grid-column:auto;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:5px!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px!important;color:#52647d!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) :is(.mb-r6-metrics > .cux-r3-metric,.doctor-ux-status-strip > .phase28-16-command-metric,.doctor-ux-medication-chip) {box-sizing:border-box!important;min-width:0!important;width:auto!important;max-width:100%!important;height:100%!important;min-height:105px!important;padding:12px!important;margin:0!important;border:1px solid #dce6f2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 15px #213e660c!important;overflow-wrap:anywhere;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-metrics > .cux-r3-metric:nth-child(n+3) {display:grid!important;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-content:start;align-items:center;justify-content:stretch!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-metrics > .cux-r3-metric:after {content:none!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-metrics .mb-r6-metric-head {display:contents!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-metrics .mb-r6-icon {grid-column:1;grid-row:1/3;align-self:start;width:32px!important;height:32px!important;border-radius:11px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-metrics .mb-r6-icon svg {width:20px;height:20px;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-metrics .cux-r3-metric-label {grid-column:2;grid-row:1;font-size:12px!important;font-weight:650!important;line-height:1.3;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-metrics > .cux-r3-metric > strong {grid-column:2;grid-row:2;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .doctor-ux-status-strip > .phase28-16-command-metric {align-items:flex-start!important;gap:8px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .doctor-ux-status-strip > .phase28-16-command-metric > div {min-width:0;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .doctor-ux-status-strip > .phase28-16-command-metric > div > span {font-size:12px!important;font-weight:650!important;line-height:1.3;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) :is(.mb-r6-metrics > .cux-r3-metric,.doctor-ux-status-strip > .phase28-16-command-metric,.doctor-ux-medication-chip) strong {font-size:26px!important;line-height:1.15!important;font-weight:750!important;color:#192a44!important;margin:4px 0 0!important;font-variant-numeric:tabular-nums;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .doctor-ux-medication-chip > svg {width:20px;height:20px;color:#087e83;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > #doctor-command-center-section > .doctor-ux-selected-patient {order:20;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > .doctor-ux-flow-control {order:19!important;grid-column:1/-1;min-width:0;margin:0!important;gap:0!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > .mb-r6-dashboard > .mb-r6-hero {min-height:0!important;padding:14px 20px!important;gap:7px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-hero h2 {font-size:24px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-hero p {margin:3px 0 8px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-hero nav button {padding:6px 10px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-hero-art {width:155px!important;height:155px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > .mb-r6-dashboard > .mb-r6-grid {gap:12px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) .mb-r6-primary {gap:10px!important;align-content:start!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) :is(#doctor-queue-section,#doctor-active-visits-section,#cux-r5b-safety) {gap:10px!important;align-items:start!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) #doctor-handoff-section .phase28-16-handoff-grid {gap:6px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) #doctor-handoff-section .phase28-16-handoff-grid > div {padding:8px!important;min-height:0!important;overflow-wrap:anywhere;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) #doctor-handoff-section .phase28-16-handoff-header {padding:9px!important;margin-block-end:8px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) #doctor-handoff-section .ai-disclaimer {margin:10px 0 0!important;padding:9px!important;line-height:1.45!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) #doctor-handoff-section {gap:8px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > #cux-r5b-results {gap:12px!important;align-items:start!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > #cux-r5b-prescriptions {grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) :is(#cux-r5b-results,#cux-r5b-prescriptions,#doctor-active-visits-section) td[colspan]:only-child {padding-block:12px!important;}
@media(max-width:1650px){.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) {grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:950px){.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) {grid-template-columns:repeat(2,minmax(0,1fr))!important;} .app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > .doctor-ux-flow-control {grid-template-columns:minmax(0,1fr)!important;} .app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) > #cux-r5b-results {grid-template-columns:minmax(0,1fr)!important;}}
@media(max-width:360px){.app-shell.role-doctor > .main-area > .content:has(> .mb-r6-dashboard > .mb-r6-metrics > .cux-r3-metric:nth-child(4):last-child):has(> #doctor-command-center-section > .doctor-ux-status-strip > .phase28-16-command-metric:nth-child(4):last-child) {grid-template-columns:minmax(0,1fr)!important;}}
}
