/* Responsive browser workspace only; desktop components and actions remain intact. */
.mw-order-controls,.mw-order-cards{display:none}
@media(max-width:820px){
  #hotelApp{--mw-blue:var(--blue,#0f46c8);--mw-soft:#edf3ff;--mw-border:#dce6f5;--mw-muted:#74859e}
  #hotelApp .hw-page-head{display:none!important}
  #hotelApp>.topbar{min-height:0!important;padding:12px 16px!important;border-radius:20px;margin-bottom:16px;gap:10px;display:flex;flex-direction:column;align-items:stretch}
  #hotelApp>.topbar .brand{position:static;transform:none;justify-content:center;font-size:17px;min-width:0}
  #hotelApp>.topbar .brand>img{width:62px;height:30px}
  #hotelApp>.topbar .user{position:static;justify-content:flex-end;align-items:center;width:100%;max-width:none;margin:0;font-size:12px;gap:10px}
  #hotelApp>.topbar .logout{min-height:34px;padding:6px 12px;font-size:12px}
  #hotelApp main>.section{padding:16px!important;border-radius:20px}
  #hotelApp .hotel-sidebar-nav{gap:0;scroll-behavior:smooth}
  #hotelApp .hotel-sidebar-item{transform:none!important;flex:0 0 25%;min-width:0;width:25%;box-sizing:border-box;font-size:11px;min-height:52px;padding:8px 4px}
  #hotelApp .hotel-sidebar-item .hotel-nav-mark{display:none}
  #hotelApp .hotel-sidebar{bottom:max(10px,env(safe-area-inset-bottom))}#hotelApp main{padding-bottom:110px}
  #hotelOrders{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
  #hotelOrders>.bar,#hotelOrders>.hw-metrics,#hotelOrders>.hw-toolbar,#hotelOrders>.hw-list-notice,#hotelOrders>.table-wrap{display:none!important}
  .mw-order-controls,.mw-order-cards{display:block}
  .mw-stage-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;background:var(--mw-soft,#edf3ff);border-radius:23px;margin:0 0 14px;box-sizing:border-box;width:100%}
  :is(#hotelApp,.guest-console) .mw-stage-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;padding:13px 3px!important;margin:0;min-width:0;min-height:48px;border:0!important;border-radius:19px;color:#71839e;background:transparent;box-shadow:none;font:600 14px system-ui;white-space:nowrap}
  .mw-stage-tabs svg{width:20px;height:20px;flex-shrink:0}.mw-stage-tabs b{font-size:12px;font-weight:500}
  :is(#hotelApp,.guest-console) .mw-stage-tabs button[aria-pressed=true]{color:var(--mw-blue,#0f46c8);background:#fff;box-shadow:0 3px 12px #1646a412}
  .mw-search{display:flex;align-items:center;gap:8px;margin:0 0 18px}
  :is(#hotelApp,.guest-console) .mw-search input{width:100%;flex:1;min-width:0;padding:14px 15px;margin:0;border-radius:14px;border:1px solid var(--mw-border,#dce6f5);background:#f4f7fd;font:15px system-ui;color:#304766;box-sizing:border-box}
  :is(#hotelApp,.guest-console) .mw-search button{flex:0 0 44px;width:44px;min-height:46px;border-radius:13px;padding:0;margin:0;background:var(--mw-soft,#edf3ff);color:var(--mw-blue,#0f46c8);border:1px solid var(--mw-border,#dce6f5);box-shadow:none;font-size:23px}
  .mw-order-card,.mw-service-card{padding:18px;margin:0 0 16px;background:#fff;border:1px solid var(--mw-border,#dce6f5);border-radius:20px;box-shadow:0 6px 24px #1646a408;overflow-wrap:anywhere}
  .mw-order-card>header,.mw-service-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
  .mw-order-card>header>strong,.mw-service-card>header>strong{font:700 29px/1.3 system-ui;color:#203c62}.mw-order-card header small,.mw-service-card header small{font:500 13px system-ui;color:var(--mw-muted,#74859e)}
  .mw-order-card header>span,.mw-service-card header>span{font-size:12px;color:var(--mw-blue,#0f46c8);text-align:right}
  #hotelApp .mw-order-card .hotel-order-status{color:var(--mw-blue,#0f46c8)}
  #hotelApp .mw-goods .hw-price{color:var(--mw-blue,#0f46c8)}
  .mw-goods{font-size:17px;font-weight:650;line-height:1.8;color:#304362;margin-bottom:10px}.mw-goods .hw-price{font-size:19px;color:var(--mw-blue,#0f46c8);margin-top:12px}
  .mw-order-contact,.mw-order-note{font-size:13px;line-height:1.7}.mw-order-contact .hw-customer{margin:0!important}.mw-order-note .hw-sub{margin-top:5px!important;font-size:13px!important}
  .mw-order-meta{border-top:1px solid #e5ebf5;margin-top:14px;padding-top:12px;color:#8493a7;font-size:11px;line-height:1.8}
  .mw-order-meta .hw-customer{display:none}#hotelApp .mw-order-meta .order-id-link{display:block;white-space:normal!important;text-align:left;overflow-wrap:anywhere;word-break:break-all;min-height:0!important;font:11px/1.7 system-ui;padding:0!important;max-width:100%;margin:0;color:#8493a7;background:none;box-shadow:none;border:0}
  .mw-order-meta .hw-sub{margin:2px 0!important}.mw-order-meta .processing-timer{font-size:11px;display:flex;gap:6px;flex-wrap:wrap}
  .mw-order-card footer{margin-top:16px}.mw-order-card footer:empty{display:none}
  :is(#hotelApp,.guest-console) .bb-swipe{position:relative;height:56px;border-radius:14px;background:var(--mw-blue,#0f46c8);color:white;margin-top:16px;isolation:isolate;user-select:none;touch-action:pan-y;box-sizing:border-box}
  .bb-swipe-fill{position:absolute;inset:0 auto 0 0;border-radius:14px;background:#ffffff15;pointer-events:none;transition:width .24s ease}
  .bb-swipe-text{display:flex;align-items:center;justify-content:center;height:100%;padding:0 50px;box-sizing:border-box;font:650 15px system-ui;pointer-events:none;white-space:nowrap}
  :is(#hotelApp,.guest-console) .bb-swipe-handle{position:absolute;left:4px;top:4px;height:48px;min-height:48px!important;width:52px;min-width:52px!important;margin:0;padding:0;border:0;border-radius:11px;background:#fff;color:var(--mw-blue,#0f46c8);box-shadow:0 2px 7px #1646a424;font:700 25px system-ui;touch-action:none;transition:transform .24s ease;cursor:grab}
  .bb-swipe.is-dragging .bb-swipe-handle,.bb-swipe.is-dragging .bb-swipe-fill{transition:none}.bb-swipe.is-busy{opacity:.72}.bb-swipe-error{display:block;color:#a5233c;background:#fff;font-size:12px;border-radius:8px}.bb-swipe-error:not(:empty){padding:8px;position:relative;top:6px;margin-bottom:30px}
  .mw-empty{text-align:center;padding:64px 12px;color:#7e90aa;font:15px system-ui}.mw-empty svg{display:block;margin:0 auto 20px;width:70px;height:70px;color:#a8bee3}.mw-empty[hidden]{display:none}
  #hotelGuestServicesPage .gs-head{display:none}#hotelGuestServicesPage .gs-tabs{margin-bottom:16px}#hotelGuestServicesPage .guest-console{padding:0!important;background:transparent!important;box-shadow:none!important}
  .mw-service-card h3{margin:8px 0;font-size:18px;color:#304362}.mw-service-card h3 small{font-size:14px;font-weight:500}.mw-service-card p,.mw-service-card summary{font-size:13px;color:var(--mw-muted,#74859e);line-height:1.7}.mw-service-card details{margin-top:12px;border-top:1px solid #e5ebf5;padding-top:12px}.mw-service-card[hidden]{display:none}
  /* Legacy table labels must occupy their own layout space, never overlay text. */
  table.mobile-records tbody>tr>td{box-sizing:border-box!important;max-width:none!important;padding:12px!important;min-height:0!important;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
  table.mobile-records tbody>tr>td::before{position:static!important;display:block!important;width:auto!important;margin-bottom:5px;font-size:11px;line-height:1.5;content:attr(data-mobile-label)}
  table.mobile-records tbody>tr>td[colspan]::before{display:none!important}
}
@media(prefers-reduced-motion:reduce){.bb-swipe-handle,.bb-swipe-fill{transition:none!important}}
