/* Shared narrow-screen shell; desktop resize preferences remain unchanged. */
@media (max-width:900px) {
 body.mybus-panel-family-v592[data-operations-interface] {height:auto!important;min-height:100dvh;overflow-y:auto!important;}
 body.mybus-panel-family-v592[data-operations-interface] .topbar {width:calc(100% - 12px)!important;position:relative!important;display:flex!important;flex-wrap:wrap!important;height:auto!important;min-height:0!important;padding:10px!important;gap:8px!important;align-items:center;}
 body.mybus-panel-family-v592[data-operations-interface] .topbar>* {grid-area:auto!important;max-width:100%;}
 body.mybus-panel-family-v592[data-operations-interface] .topbar .brand {flex:0 0 auto;}
 body.mybus-panel-family-v592[data-operations-interface] .topbar .spacer {display:none;}
 body.mybus-panel-family-v592[data-operations-interface] :is(#opsNav,#carrierOpsNav) {order:10;flex:0 0 100%!important;width:100%!important;min-width:0;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding:4px 0!important;gap:6px;}
 body.mybus-panel-family-v592[data-operations-interface] :is(#opsNav,#carrierOpsNav) button {flex:0 0 auto!important;min-height:44px;white-space:nowrap;}
 body.mybus-panel-family-v592[data-operations-interface] .topbar :is(.user-box,#carrierUserBox,#carrierContextBox) {display:flex!important;align-items:center;grid-template-columns:none!important;min-width:0!important;max-width:100%!important;height:auto!important;white-space:normal!important;}
 body.mybus-panel-family-v592[data-operations-interface] .workspace {display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:8px!important;gap:12px!important;}
 body.mybus-panel-family-v592[data-operations-interface] .workspace>:is(.leftpanel,.centerpanel,.rightpanel) {width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;min-height:0!important;flex:none!important;overflow:visible!important;}
 body.mybus-panel-family-v592[data-operations-interface] .rightpanel {order:0;display:flex!important;flex-direction:column!important;}
 body.mybus-panel-family-v592[data-operations-interface] .centerpanel {order:1;display:flex!important;flex-direction:column!important;}
 body.mybus-panel-family-v592[data-operations-interface] .leftpanel {order:2;}
 body.mybus-panel-family-v592[data-operations-interface] .ops-panel-resizer {display:none!important;}
 body.mybus-panel-family-v592[data-operations-interface] :is(.tab-panel,.table-wrap,.carrier-passenger-table-wrap) {min-height:0!important;max-width:100%;height:auto!important;max-height:none!important;overflow:auto!important;}
 body.mybus-panel-family-v592[data-operations-interface] .tab-panel {flex:none!important;min-height:220px!important;padding-bottom:12px;}
 body.mybus-panel-family-v592[data-operations-interface] .tabs {display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;min-width:0;}
 body.mybus-panel-family-v592[data-operations-interface] .tabs button {flex:none;min-height:44px;white-space:nowrap;}
 body.mybus-panel-family-v592[data-operations-interface] :is(.toolbar,.filterbar,.short) {display:flex!important;flex-wrap:wrap!important;gap:8px;}
 body.mybus-panel-family-v592[data-operations-interface] .bottom-grid {display:grid!important;grid-template-columns:1fr!important;min-height:0!important;}
 body.mybus-panel-family-v592[data-operations-interface] :is(.seat-map,#carrierSeatMap) {height:auto!important;max-height:none!important;min-height:500px!important;}
 body.mybus-panel-family-v592[data-operations-interface] :is(.journeys,.ops-day-overview-v291) {height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;}
 body.mybus-panel-family-v592[data-operations-interface] .journeys {max-height:360px!important;overflow:auto!important;}
 body.mybus-panel-family-v592[data-operations-interface] .ops-passenger-summary-v589 {grid-template-columns:minmax(0,1fr)!important;}
 body.mybus-panel-family-v592[data-operations-interface] .panel-summary-actions-v594 {grid-column:1;grid-row:auto;flex-wrap:wrap;}
 body.mybus-panel-family-v592[data-operations-interface] :is(.ops-passenger-counts-v589,.carrier-passenger-summary) {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 body.mybus-panel-family-v592[data-operations-interface] :is(.dialog,.carrier-module-dialog) {width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 24px)!important;min-width:0!important;}
 body.mybus-panel-family-v592[data-operations-interface] :is(.dialog>header,.carrier-module-dialog>header,.dialog>footer,.carrier-module-dialog>footer) {flex-wrap:wrap;gap:8px;}
 body.mybus-panel-family-v592[data-operations-interface] :is(#modalBody,.carrier-module-body) {min-height:0;overflow:auto!important;padding:12px!important;}
 body.mybus-panel-family-v592[data-operations-interface] :is(.formgrid,.pw-form) {grid-template-columns:minmax(0,1fr)!important;}
 body.mybus-panel-family-v592[data-operations-interface] .mega {z-index:10010!important;left:8px!important;right:8px!important;top:8px!important;bottom:auto!important;position:fixed!important;width:auto!important;max-height:calc(100dvh - 16px)!important;overflow:auto!important;}
}
