@media(max-width:680px),(max-width:900px)and (max-height:500px){.mw-room-navigation,.mw-stage-navigation{position:sticky;top:0;z-index:8;display:flex;align-items:center;gap:6px;padding:7px 0;background:var(--bg,#f3f7f5);max-width:100%;min-width:0}.mw-room-navigation button,.mw-stage-navigation button,.mw-room-navigation select{min-height:44px;border:1px solid #c9ded7;border-radius:9px;background:#fff;color:#19564d;padding:6px 10px;font:inherit;font-size:12px;font-weight:600}.mw-room-navigation button{flex:0 0 auto;min-width:44px}.mw-room-navigation button:disabled{opacity:.35}.mw-room-navigation select{flex:1 1 auto;min-width:0;font-size:16px;width:0}.mw-room-navigation .mw-waiting-button{font-size:11px;padding:6px;min-width:62px}.mw-room-grid,.mw-stage-board{position:relative!important;display:flex!important;align-items:flex-start;gap:10px;overflow-x:auto!important;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;max-width:100%;min-width:0;scroll-margin-top:60px;-webkit-overflow-scrolling:touch}.mw-room-grid>.room-plan-room,.mw-stage-board>.otm-stage-col{flex:0 0 100%;width:100%;min-width:0!important;scroll-snap-align:start;scroll-snap-stop:always}.mw-room-grid .room-plan-room-body{max-height:none;min-height:92px;overflow-y:visible}.mw-room-grid .room-plan-patient-trigger{min-height:44px}.room-plan-unassigned{scroll-margin-top:62px}.room-plan-case .case-patient{white-space:normal;overflow-wrap:anywhere}.room-plan-case .room-plan-case-status{font-size:11px}.room-plan-board .room-plan-case{grid-template-columns:64px minmax(0,1fr);grid-template-areas:"time main" "status needs";gap:6px 9px;padding:10px}.room-plan-board .room-plan-case .case-patient{font-size:14px;line-height:1.35}.room-plan-board .room-plan-case-time{font-size:12px;white-space:normal;overflow-wrap:anywhere}.room-plan-board .room-plan-case-status{white-space:normal;line-height:1.4}.room-plan-board .room-plan-case-needs{justify-self:end;align-self:center}.room-plan-board .room-plan-case-main{min-width:0}.room-plan-board .room-plan-case-main .case-row-sub{font-size:11px;line-height:1.4}.mw-stage-navigation{overflow-x:auto;overscroll-behavior-x:contain}.mw-stage-navigation button{flex:0 0 auto;white-space:nowrap}.mw-stage-navigation button[aria-pressed=true]{background:#176e60;color:#fff;border-color:#176e60}.mw-stage-board{max-height:none;overflow-y:hidden!important;margin-bottom:12px}.mw-stage-board .kanban-col-body{max-height:none!important;overflow:visible!important}.mw-stage-board .jm-card .case-patient{white-space:normal;overflow-wrap:anywhere}.mw-stage-board .otm-info-btn{min-height:44px;min-width:68px}.otm-page-hero{position:relative;padding:12px;gap:8px;margin-bottom:10px}.otm-page-eyebrow,.otm-page-heading>p{display:none}.otm-page-heading h2{margin:0 0 10px;padding-right:110px}.otm-live-card{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:5px;padding:4px 7px;min-width:0;max-width:105px}.otm-live-card>span{display:none}.otm-live-card strong{font-size:17px}.otm-live-card small{font-size:10px;line-height:1.2}.otm-patient-search input{font-size:16px}.otm-room-selector .pm-desc,.otm-room-card .safety-badge{display:none}.otm-room-card{padding:10px;min-height:84px}.otm-room-current{white-space:normal;overflow-wrap:anywhere;font-size:12px}.otm-workspace-title{display:none}.otm-workspace-head{margin-bottom:0}.otm-selected-room-box{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"title count action" "current current action";align-items:center;padding:10px;gap:5px 8px}.otm-selected-room-kicker{display:none}.otm-selected-room-current{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.otm-selected-room-action{min-height:44px;align-self:center}#journeyModalBackdrop{padding:8px}.journey-modal.mw-mobile-journey{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);width:100%;max-width:none;padding:12px 12px calc(16px + env(safe-area-inset-bottom));overflow-y:auto;scroll-padding-top:160px}.mw-journey-header{position:sticky;top:-12px;z-index:25;background:#fff;padding:10px 0 8px;border-bottom:1px solid #dce8e3}.mw-journey-header .modal-head{margin:0;padding:0}.mw-journey-header .modal-title-row{flex-wrap:wrap;gap:6px}.mw-journey-header .modal-title{font-size:18px;white-space:normal;overflow-wrap:anywhere}.mw-journey-header .modal-sub{display:none}.mw-journey-header .modal-close{flex:0 0 44px;width:44px;height:44px}.mw-journey-header .case-review-toggle{min-height:44px}.mw-journey-header .journey-next-step-tools{margin-top:7px;justify-content:space-between}.mw-journey-header .journey-next-step-tools>span{font-size:12px;flex:1;min-width:0}.mw-journey-header .journey-next-step-btn{min-height:44px;white-space:normal;max-width:50%}.mw-mobile-journey .cp-row,.mw-mobile-journey .safety-phase{scroll-margin-top:155px}.mw-mobile-journey input,.mw-mobile-journey textarea,.mw-mobile-journey select{font-size:16px}.mw-mobile-journey .safety-answer-buttons button,.mw-mobile-journey [data-safety-save],.mw-mobile-journey .cp-action-btn{min-height:44px}.mw-mobile-journey .cp-action-btn:disabled{background:#edf2f2;color:#7f9290;box-shadow:none;cursor:not-allowed}}@media print{[data-mobile-workspace-nav]{display:none!important}}@media(max-width:680px),(max-width:900px)and (max-height:500px){.view-area{padding-top:10px;padding-right:max(12px,env(safe-area-inset-right));padding-left:max(12px,env(safe-area-inset-left));padding-bottom:calc(94px + env(safe-area-inset-bottom));scroll-padding-top:60px}#viewArea>.pm-title{font-size:20px;margin:8px 0 10px;line-height:1.3}#viewArea>.pm-desc{font-size:12px;line-height:1.5;margin:0 0 10px!important}.workflow-guide{margin-bottom:8px}.workflow-guide-content .workflow-guide-steps{grid-template-columns:1fr;gap:8px}.workflow-guide-step{padding:8px}.workflow-guide-content .workflow-guide-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-guide-content .workflow-guide-action{white-space:normal;width:100%;min-width:0!important;text-align:left}.resource-panel,.lm-list-card,.dept-panel{padding:12px}.dashboard-panel-head{gap:8px;margin-bottom:10px}.resource-panel .dashboard-panel-head .pm-desc{display:none}.resource-panel .dashboard-panel-head .lm-list-head{font-size:14px;line-height:1.4}.resource-cases-panel .resource-mini-stats{display:none}.resource-command-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}.resource-stat-chip{display:flex;align-items:center;gap:8px;min-height:44px;padding:7px 9px}.resource-stat-chip b{font-size:18px}.resource-stat-chip span{font-size:11px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.resource-stat-chip:last-child{grid-column:1/-1}.case-info-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:end;margin:10px 0}.case-info-controls .lm-search{grid-column:1/-1}.case-info-controls .form-field>span,.case-info-controls .lm-search>span{font-size:11px}.case-info-controls .lm-result-count{grid-column:1/-1;margin:0}.case-info-controls select{min-width:0;width:100%;padding:6px;font-size:16px}.mw-create-panel{margin:8px 0 12px;border:1px solid #d6e4df;border-radius:10px;background:#fff}.mw-create-panel>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px 12px;color:#176e60;font-weight:650;font-size:13px;cursor:pointer;list-style:none}.mw-create-panel>summary:after{content:"\25be"}.mw-create-panel[open]>summary:after{content:"\25b4"}.mw-create-panel>summary::-webkit-details-marker{display:none}.mw-create-panel form{padding:10px;margin:0!important}.catalog-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end}.catalog-toolbar>.form-field:first-child{grid-column:1/-1}.catalog-toolbar .catalog-count{font-size:12px;margin:0}.catalog-toolbar .btn{width:auto}.lm-create-panel>summary{padding:10px;min-height:44px}.lm-create-panel .lm-create-summary-copy{font-size:12px}.schedule-actions{gap:6px}.schedule-actions .lm-list-head{font-size:14px;line-height:1.35}.lm-command-card .schedule-actions .pm-desc{display:none}.schedule-action-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}.schedule-action-buttons .btn{width:100%;margin:0;font-size:12px;white-space:normal}.lm-command-card .lm-command-toolbar{gap:5px;margin:7px 0}.lm-command-toolbar label>span{font-size:11px}.schedule-filter-advanced>summary{padding:8px;font-size:12px}.schedule-filter-chips{gap:5px;margin:8px 0}.schedule-filter-chip{font-size:11px;padding:6px 8px;min-width:0!important}.schedule-filter-chip span{padding:2px 5px}.report-dashboard{padding:12px}.report-dashboard-head{gap:8px;margin-bottom:10px}.report-dashboard-head h2{font-size:20px;line-height:1.3;margin:0}.report-dashboard-head p,.report-eyebrow{display:none}.report-head-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;max-width:none}.report-head-actions button{white-space:normal;min-width:0}.report-head-actions #reportCustomizeBtn{grid-column:1/-1}.report-toolbar{padding:10px;gap:8px}.report-periods{display:flex;overflow-x:auto;gap:4px;overscroll-behavior-x:contain}.report-periods button{flex:0 0 auto;font-size:11px;padding:6px 9px}.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.report-filter-grid .form-field{font-size:11px}.report-filter-grid input,.report-filter-grid select{width:100%;min-width:0;padding:6px;font-size:16px!important}.report-range-caption{font-size:11px;margin:0;line-height:1.4}.overview-dashboard{gap:10px}.overview-hero{padding:12px;gap:8px}.overview-heading h1{font-size:23px}.overview-heading p{margin-top:4px;font-size:12px}.operational-overview .overview-metric{min-height:78px;padding:9px;gap:3px}.operational-overview .overview-metric:last-child{min-height:76px}.operational-overview .overview-metric-label{font-size:11px}.operational-overview .overview-metric-value{font-size:24px}.operational-overview .overview-metric-note{font-size:11px;line-height:1.35}.operational-counts{margin:8px 0;gap:5px}.operational-overview .overview-metric-grid{gap:6px}.room-plan-room-head{padding:10px;gap:6px}.room-plan-room-actions{gap:6px}.room-plan-room-title{font-size:14px}.room-plan-room-sub{font-size:11px}.room-plan-room-body{padding:8px;gap:8px}.room-plan-case-status{grid-column:1/-1;grid-row:2;max-width:55%;white-space:nowrap!important}.room-plan-case-needs{grid-column:1/-1;grid-row:2;max-width:45%}.room-plan-case-status .stage-dot{flex:0 0 auto}.room-plan-board .room-plan-case{grid-template-areas:"time main" "status status";padding:9px}.pm-header{gap:4px}.pm-stat-strip{margin:5px 0;padding-bottom:3px}.pm-stat-strip .stat-card{min-height:48px;padding:5px 7px;min-width:130px}.pm-mobile-context-row{margin-bottom:3px}.mw-room-navigation,.mw-stage-navigation{padding:5px 0}.mw-room-grid,.mw-stage-board{scroll-margin-top:56px}.modal-card:not(.mw-mobile-journey){max-height:calc(100dvh - 16px);overflow:auto;scroll-padding-top:70px}.modal-card:not(.mw-mobile-journey)>.modal-head{position:sticky;top:-16px;background:#fff;z-index:20;padding-top:12px;padding-bottom:10px}.room-patient-picker-modal .room-patient-picker-head{top:0}.room-patient-picker-modal form{max-height:calc(100dvh - 16px)}}@media(max-width:900px)and (max-height:500px){.mw-room-grid>.room-plan-room,.mw-stage-board>.otm-stage-col{flex-basis:100%;width:100%}.room-plan-room-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.room-plan-room-body>.kanban-empty{grid-column:1/-1}.mw-stage-board .kanban-col-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.mw-stage-board .kanban-col-body>.kanban-empty{grid-column:1/-1}.pm-header{display:grid;grid-template-columns:minmax(0,1fr) auto}.pm-header-tools{display:contents}.pm-header-tools .segmented{grid-column:1/-1}.pm-header .pm-title{font-size:18px}.pm-stat-strip{margin:4px 0}.pm-stat-strip .stat-card{min-height:44px}.pm-mobile-context-row{grid-template-columns:1fr 1fr}.report-dashboard-head{display:grid;grid-template-columns:1fr 1fr}.report-head-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.report-head-actions #reportCustomizeBtn{grid-column:auto}.report-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.resource-command-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.resource-stat-chip:last-child{grid-column:auto}.case-info-controls{grid-template-columns:repeat(5,minmax(0,1fr))}.case-info-controls .lm-search{grid-column:1/-1}.overview-hero{flex-direction:row;align-items:center}.operational-overview .overview-metric-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.operational-overview .overview-metric:last-child{grid-column:auto}.mw-journey-header .modal-title{font-size:16px}.mw-journey-header{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}.mw-journey-header .journey-next-step-tools{margin:0}.mw-mobile-journey .cp-row,.mw-mobile-journey .safety-phase{scroll-margin-top:95px}}@media print{.mw-create-panel>summary{display:none}.mw-create-panel>form{display:grid!important}}@media(max-width:680px),(max-width:900px)and (max-height:500px){.mw-catalog-table{display:block;min-width:0;width:100%}.mw-catalog-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.mw-catalog-table tbody{display:grid;gap:8px}.mw-catalog-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;border:1px solid #dce8e3;border-radius:10px;background:#fff}.mw-catalog-table td{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:6px;min-width:0;border:0!important;white-space:normal;overflow-wrap:anywhere}.mw-catalog-table td[data-mobile-cell]:before{content:attr(data-mobile-cell);font-size:10px;line-height:1.4;color:#6d827b;font-weight:650}.mw-catalog-table td:first-child{grid-column:1/-1;font-size:14px;font-weight:650}.mw-catalog-table td:last-child{grid-column:1/-1}.mw-catalog-table .catalog-actions{display:flex;flex-wrap:wrap;gap:8px}.mw-catalog-table .catalog-actions button{min-width:60px!important}.resource-case-head{flex-wrap:wrap;gap:6px;min-width:0}.resource-case-head>div{min-width:0;max-width:100%}.resource-case-head .case-patient{white-space:normal;overflow-wrap:anywhere}.resource-case-card.case-info-card{min-width:0}.resource-case-status{flex-wrap:wrap;max-width:100%}.resource-case-head .value-chip{white-space:normal;overflow-wrap:anywhere;max-width:100%}.pm-output-menu-items{display:none}.pm-output-menu[open]>.pm-output-menu-items{display:grid}.pm-header-tools{padding-right:52px}.pm-header-tools>.segmented{margin-right:-52px;width:calc(100% + 52px)}.workflow-guide-content{width:100%}.workflow-guide-details[open]{flex-basis:100%}.workflow-guide-heading:has(.workflow-guide-details[open]){flex-wrap:wrap}}@media(max-width:900px)and (max-height:500px){.pm-header-tools{display:contents}.pm-header-tools>#smartRoomProposalBtn{margin-right:54px}.pm-header-tools>.segmented{margin-right:0;width:100%}.mw-catalog-table tr{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px),(max-width:900px)and (max-height:500px){body.mw-keyboard-open .mobile-dock{display:none!important}body.mw-keyboard-open .modal-backdrop,body.mw-keyboard-open #journeyModalBackdrop{top:var(--mw-viewport-top,0px);bottom:auto;height:var(--mw-viewport-height,100dvh)}body.mw-keyboard-open .modal-card,body.mw-keyboard-open .journey-modal.mw-mobile-journey,body.mw-keyboard-open .room-patient-picker-modal form{max-height:calc(var(--mw-viewport-height,100dvh) - 16px)}}@media(max-width:680px),(max-width:900px)and (max-height:500px){.case-info-pill-stack{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;min-width:0;width:100%}.case-info-pill{white-space:normal;overflow-wrap:anywhere;max-width:100%;font-size:11px}.resource-case-head .case-patient{font-size:14px;line-height:1.4}.resource-case-head>div:first-child{flex:1 1 100%}}@media(max-width:900px)and (max-height:500px){.pm-header #smartRoomProposalBtn{margin-right:54px}}@media(max-width:680px),(max-width:900px)and (max-height:500px){.mw-room-grid>.room-plan-room:not(.mw-panel-active),.mw-stage-board>.otm-stage-col:not(.mw-panel-active){height:0;min-height:0;overflow:hidden;border-top:0;border-bottom:0}.mw-room-grid>.room-plan-room.mw-panel-active,.mw-stage-board>.otm-stage-col.mw-panel-active{height:auto;max-height:none}}@media(max-width:900px)and (max-height:500px){#viewArea[data-mobile-workspace-view=phong-mo]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px}#viewArea[data-mobile-workspace-view=phong-mo]>*{grid-column:1/-1}#viewArea[data-mobile-workspace-view=phong-mo]>.pm-stat-strip{grid-column:1;margin:0;align-self:start}#viewArea[data-mobile-workspace-view=phong-mo]>.pm-mobile-context-row{grid-column:2;margin:0}.pm-mobile-context-row .workflow-guide-summary{display:none}.pm-mobile-context-row .workflow-guide-bar{min-height:44px}.pm-mobile-context-row .workflow-guide-next{margin:0}.pm-header{display:flex;flex-direction:row;align-items:center;gap:8px}.pm-header>div:first-child{flex:1 1 170px;min-width:140px;padding-right:0}.pm-header-tools{display:flex;flex-direction:row;align-items:center;width:auto;flex:2 1 500px;padding-right:52px;gap:6px}.pm-header-tools>.segmented{width:auto;flex:1 1 280px}.pm-header #smartRoomProposalBtn{margin:0}.pm-header .pm-title{margin:0;font-size:18px}.room-plan-room-head{align-items:center;min-height:54px}.room-plan-room-actions{flex-direction:row;align-items:center}.room-plan-room-head .room-plan-patient-trigger{margin:0}}@media(max-width:900px)and (max-height:500px){.room-plan-board{gap:2px}.pm-header .segmented{padding:0}.room-plan-room-head{padding:4px 8px;min-height:52px}.room-plan-room-body{padding:6px 8px}}
