/* R6F: consultation presentation only. No clinical state or document order changes. */
@media screen {
.app-shell.role-doctor :is(.unified-specialty-workspace,.encounter-builder) {--r6f-line:#dce6f2;--r6f-ink:#192a44;--r6f-muted:#52647d;min-inline-size:0;max-inline-size:100%;}
.app-shell.role-doctor .cux-r5c-workspace .cux-r5c-toolbar {background:linear-gradient(110deg,#18498b,#087e83)!important;color:#fff!important;border-color:transparent!important;padding:14px 18px!important;gap:10px!important;}
.app-shell.role-doctor .cux-r5c-workspace .cux-r5c-toolbar h2 {color:#fff!important;}
.app-shell.role-doctor .cux-r5c-workspace .cux-r5c-eyebrow {color:#e5efff!important;}
.app-shell.role-doctor .cux-r5c-workspace .cux-r5c-toolbar button:not(:disabled):not([aria-disabled=true]) {background:#fff!important;color:#18498b!important;border-color:#dce6f2!important;min-height:40px;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-hero {gap:10px!important;align-items:stretch;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-hero-main {background:linear-gradient(125deg,#eff5ff,#fff 70%)!important;border:1px solid #c9dbf5!important;border-inline-start:4px solid #246bff!important;padding:18px!important;border-radius:16px!important;box-shadow:0 4px 16px #19385b0a!important;min-inline-size:0;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-hero h2 {color:#192a44!important;font-size:clamp(20px,2vw,28px)!important;line-height:1.3;overflow-wrap:anywhere;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-status-panel {min-inline-size:0;border-radius:16px!important;box-shadow:none!important;gap:4px;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-status-panel>div {min-inline-size:0;overflow-wrap:anywhere;}
.app-shell.role-doctor .unified-specialty-workspace .cux-r5d-sections {border:1px solid #dce6f2!important;border-radius:16px!important;padding:14px!important;gap:10px!important;box-shadow:0 4px 16px #19385b0a;}
.app-shell.role-doctor .unified-specialty-workspace .cux-r5d-jumps {grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))!important;gap:8px!important;}
.app-shell.role-doctor .unified-specialty-workspace .cux-r5d-jump {min-height:44px!important;background:#f5f8fd!important;border-color:#dce6f2!important;border-radius:10px!important;line-height:1.4;}
.app-shell.role-doctor .unified-specialty-workspace .cux-r5d-jump:not(:disabled):not([aria-disabled=true]):hover {background:#eaf2ff!important;border-color:#a8c6ff!important;}
.app-shell.role-doctor .unified-specialty-workspace .cux-r5d-number {background:#e2edff!important;color:#18498b!important;}
.app-shell.role-doctor .unified-specialty-workspace :is(.uswe-section,.uswe-history) {min-inline-size:0;border-radius:16px!important;border:1px solid #dce6f2!important;box-shadow:0 3px 12px #19385b08!important;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-section>summary {padding:14px 16px!important;background:#f5f8fd!important;border-radius:15px!important;min-inline-size:0;overflow-wrap:anywhere;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-section[open]>summary {border-radius:15px 15px 0 0!important;border-block-end:1px solid #dce6f2;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-section>summary h3 {color:#192a44!important;font-size:17px!important;line-height:1.4;}
.app-shell.role-doctor .unified-specialty-workspace :is(.uswe-field-grid,.uswe-narrative-grid,.uswe-summary-grid) {min-inline-size:0;gap:12px!important;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-field-grid {padding:16px!important;grid-template-columns:repeat(2,minmax(0,1fr));}
.app-shell.role-doctor :is(.unified-specialty-workspace,.encounter-builder) :is(.uswe-field,.phase28-12-field,.phase28-12-plus-field) {min-inline-size:0;overflow-wrap:anywhere;}
.app-shell.role-doctor :is(.unified-specialty-workspace,.encounter-builder) :is(.uswe-field,.uswe-narrative-grid,.phase28-12-field,.phase28-12-plus-field) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea) {box-sizing:border-box;min-inline-size:0;max-inline-size:100%;border-radius:9px!important;font-size:14px!important;}
.app-shell.role-doctor :is(.unified-specialty-workspace,.encounter-builder) :is(.uswe-field,.phase28-12-field,.phase28-12-plus-field) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select) {min-height:40px;}
.app-shell.role-doctor :is(.unified-specialty-workspace,.encounter-builder) :is(.uswe-field,.uswe-narrative-grid,.phase28-12-field,.phase28-12-plus-field) textarea {min-height:92px;resize:vertical;}
.app-shell.role-doctor .unified-specialty-workspace :is(.uswe-encounter-command-bar,.uswe-save-bar) {gap:8px!important;flex-wrap:wrap!important;border-radius:13px!important;max-inline-size:100%;}
.app-shell.role-doctor .unified-specialty-workspace :is(.uswe-encounter-command-bar,.uswe-save-bar) :is(button,a) {min-height:40px;white-space:normal;overflow-wrap:anywhere;}
.app-shell.role-doctor .encounter-builder :is(.phase28-12-clinical-card,.phase28-12-sidebar-card,.phase28-12-nurse-card) {min-inline-size:0;border-radius:16px!important;border:1px solid #dce6f2!important;box-shadow:0 3px 12px #19385b08!important;}
.app-shell.role-doctor .encounter-builder .phase28-12-section-head {gap:10px!important;flex-wrap:wrap!important;}
.app-shell.role-doctor .encounter-builder :is(.phase28-12-layout,.phase28-12-plus-layout,.phase28-12-main-grid) {min-inline-size:0;gap:14px!important;align-items:start!important;}
.app-shell.role-doctor .encounter-builder :is(.phase28-12-command-actions,.phase28-12-bottom-actions,.phase28-12-plus-bottom-actions,.phase28-12-tabs,.phase28-12-stepper) {flex-wrap:wrap!important;gap:8px!important;}
.app-shell.role-doctor .encounter-builder .phase28-12-sticky-command {border:1px solid #dce6f2!important;border-radius:14px!important;box-shadow:0 3px 12px #19385b08!important;}
.app-shell.role-doctor :is(.unified-specialty-workspace,.encounter-builder) :is(button,a,input,textarea,select,summary):focus-visible {outline:3px solid #246bff!important;outline-offset:2px!important;}
@container (max-width:760px) {
.app-shell.role-doctor .unified-specialty-workspace :is(.uswe-field-grid,.uswe-summary-grid,.uswe-narrative-grid) {grid-template-columns:minmax(0,1fr)!important;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-field.span-2 {grid-column:auto!important;}
}
@media(max-width:800px) {
.app-shell.role-doctor .unified-specialty-workspace :is(.uswe-hero,.uswe-field-grid,.uswe-narrative-grid,.uswe-summary-grid) {grid-template-columns:minmax(0,1fr)!important;}
.app-shell.role-doctor .unified-specialty-workspace .uswe-field.span-2 {grid-column:auto!important;}
.app-shell.role-doctor .encounter-builder :is(.phase28-12-layout,.phase28-12-plus-layout,.phase28-12-main-grid,.phase28-12-field-grid) {grid-template-columns:minmax(0,1fr)!important;}
}
}
