#pbPanelInstall {position:static;display:block;width:100%;box-sizing:border-box;min-height:44px;margin:0 0 12px;border:1px solid #f6d20a;border-radius:14px;background:#181818;color:#ffe45c;padding:8px 14px;font:600 13px system-ui;cursor:pointer;}
#pbPanelInstall:focus-visible {outline:2px solid #ffdc00;outline-offset:2px;}
#pbPanelInstallHelp {box-sizing:border-box;max-width:min(440px,calc(100vw - 24px));max-height:85dvh;overflow:auto;border:1px solid #f6d20a;border-radius:20px;padding:24px;background:#181818;color:#fff;font:16px/1.6 system-ui;}
#pbPanelInstallHelp::backdrop {background:#000b;}
#pbPanelInstallHelp button {min-height:44px;padding:10px 24px;background:#f6d20a;color:#111;border:0;border-radius:12px;font:700 16px system-ui;}
.pb-mobile-menu {display:none;}
body.pb-unauthenticated #pbPanelInstall {z-index:20001;}
@media (display-mode:standalone) {#pbPanelInstall {display:none;}}
@media (max-width:980px) {
  #pbAppShell .pb-mobile-menu {display:block;min-height:44px;background:#f6d20a;color:#111;border:0;border-radius:10px;padding:8px 12px;font-weight:800;flex-shrink:0;}
  #pbAppShell .topbar {height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0;gap:8px;}
  #pbAppShell .top-left,#pbAppShell .top-right {gap:6px;min-width:0;}
  #pbAppShell .top-left .status-pill,#pbAppShell .clock,#pbAppShell .top-right .top-icon:not(#pbOpsNotifyBell) {display:none;}
  #pbAppShell .shell {display:block;}
  #pbAppShell .sidebar {display:none;}
  body.pb-mobile-nav-open #pbAppShell .sidebar {display:flex;position:fixed;top:calc(60px + env(safe-area-inset-top));left:0;bottom:0;width:min(320px,90vw);height:auto;overflow-y:auto;z-index:90;box-shadow:0 0 0 100vmax #0008;}
  #pbAppShell .sidebar .side-nav {grid-template-columns:1fr;}
  #pbAppShell .sidebar .side-footer {display:block;}
  #pbAppShell .main {width:100%;min-width:0;margin:0;padding:calc(76px + env(safe-area-inset-top)) 12px calc(70px + env(safe-area-inset-bottom));box-sizing:border-box;}
  #pbAppShell input,#pbAppShell select,#pbAppShell textarea,#pbAuthLoginScreen input {font-size:16px;}
  #pbAppShell .side-btn {min-height:44px;}
  #pbDispatchCenter .pb-dash-card-head {display:flex;flex-direction:column;align-items:stretch;height:auto;gap:12px;padding:14px;}
  #pbAppShell .pb-dispatch-head-actions {position:static;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;}
  #pbAuthLoginScreen {overflow-y:auto;align-items:flex-start;padding:20px 12px 72px;}
}
