/* R6C: final doctor-only screen layout; no clipping of controls or clinical warnings. */
@media screen {
.app-shell.role-doctor.phase28-20-unified-shell {box-sizing:border-box;min-width:0!important;max-width:100%!important;}
.app-shell.role-doctor.phase28-20-unified-shell:not(.phase28-22-3-mobile-shell) {display:flex!important;width:100%!important;}
.app-shell.role-doctor.phase28-20-unified-shell > .main-area {flex:1 1 0%!important;width:auto!important;inline-size:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box;}
.app-shell.role-doctor.phase28-20-unified-shell > .main-area > .content {width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;padding:12px 18px!important;}
.app-shell.role-doctor.phase28-20-unified-shell .phase28-20-topbar {width:100%!important;max-width:100%!important;box-sizing:border-box;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:6px 14px!important;min-height:48px!important;}
.app-shell.role-doctor.phase28-20-unified-shell .phase28-20-topbar-actions {flex:0 1 auto!important;min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;}
.app-shell.role-doctor.phase28-20-unified-shell .cux-r2-operations {display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;padding:0!important;margin:0 0 10px!important;width:100%!important;max-width:100%!important;box-sizing:border-box;}
.app-shell.role-doctor.phase28-20-unified-shell .cux-r2-operations > .phase2834-runtime-bar {margin:0 auto 0 0!important;margin-inline-start:0!important;margin-inline-end:auto!important;flex:0 1 auto!important;min-width:0!important;max-width:100%!important;min-height:34px!important;}
.app-shell.role-doctor.phase28-20-unified-shell .cux-r2-operations > .medbrain-offline-sync-panel.mb-r6r1-sync {flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;min-height:0!important;}
.app-shell.role-doctor.phase28-20-unified-shell .mb-r6r1-sync-summary {min-height:34px!important;max-width:100%;gap:6px!important;}
.app-shell.role-doctor.phase28-20-unified-shell .cux-r2-operations > .mb-r6r1-focus {margin:0!important;flex:0 0 34px!important;}
.app-shell.role-doctor.phase28-20-unified-shell .cux-r2-operations:has(.mb-r6r1-sync-details[open]) {align-items:flex-start!important;}
.app-shell.role-doctor.phase28-20-unified-shell .mb-r6r1-sync-body {position:static!important;width:min(460px,100%)!important;max-width:100%!important;box-sizing:border-box;}
.app-shell.role-doctor.phase28-20-unified-shell .page-header:has(.doctor-ux-header-actions) {display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px 16px!important;margin:0 0 12px!important;padding:0!important;min-width:0!important;max-width:100%!important;}
.app-shell.role-doctor.phase28-20-unified-shell .page-header:has(.doctor-ux-header-actions) > * {min-width:0!important;max-width:100%!important;}
.app-shell.role-doctor.phase28-20-unified-shell .page-header:has(.doctor-ux-header-actions) h1 {font-size:24px!important;line-height:1.25!important;margin:0!important;overflow-wrap:anywhere;}
.app-shell.role-doctor.phase28-20-unified-shell .doctor-ux-header-actions {display:flex!important;flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-width:0!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;}
.app-shell.role-doctor.phase28-20-unified-shell .doctor-ux-header-actions .form-field {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important;width:auto!important;margin:0!important;}
.app-shell.role-doctor.phase28-20-unified-shell .doctor-ux-header-actions input[type=date] {width:148px!important;max-width:100%!important;min-height:36px!important;box-sizing:border-box;}
.app-shell.role-doctor.phase28-20-unified-shell .doctor-ux-header-actions button {width:auto!important;max-width:100%!important;min-height:36px!important;padding:7px 10px!important;white-space:normal!important;}
.app-shell.role-doctor.phase28-20-unified-shell .mb-r6-dashboard {container-type:inline-size;max-width:100%!important;min-width:0!important;}
@container (max-width: 950px) {.app-shell.role-doctor .mb-r6-dashboard .mb-r6-grid {grid-template-columns:minmax(0,1fr)!important;}}
@container (max-width: 590px) {.app-shell.role-doctor .mb-r6-dashboard .mb-r6-metrics {grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:1099px){.app-shell.role-doctor.phase28-20-unified-shell > .main-area > .content{padding:10px 12px!important;}.app-shell.role-doctor.phase28-20-unified-shell .doctor-ux-header-actions{justify-content:flex-start!important;}.app-shell.role-doctor.phase28-20-unified-shell .phase28-20-topbar-actions{justify-content:flex-start!important;}}
@media(max-width:600px){.app-shell.role-doctor.phase28-20-unified-shell .cux-r2-operations > .phase2834-runtime-bar{flex-basis:100%!important;}.app-shell.role-doctor.phase28-20-unified-shell .doctor-ux-header-actions .form-field{flex-basis:100%!important;}.app-shell.role-doctor.phase28-20-unified-shell .phase28-20-topbar-actions{flex-basis:100%!important;}}
}
