.mobile-nav-backdrop,.sb-mobile-close,.global-sync-review-button{display:none}.shell-tools,.shell-tools-menu{display:contents}.shell-tools-toggle,.shell-tools-review,.shell-tool-label,.mobile-loading-heading,.mobile-loading-toolbar{display:none}.startup-tools{display:contents}.startup-tools-toggle{display:none}.floating-panel-dismiss-layer{z-index:95;background:0 0;border:0;position:fixed;inset:0}@media (max-width:760px){:root{--mobile-page-dock-height:180px}html,body{min-width:0;max-width:100%}body{-webkit-text-size-adjust:100%}.app,.app[data-sidebar-collapsed="1"]{--topbar-h:48px;grid-template-columns:minmax(0,1fr);min-width:0;height:100dvh}.main,.page,.embedded-app-page{min-width:0;max-width:100%}.main{grid-column:1}.page,.embedded-app-page{scrollbar-gutter:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom)}:is(main:has([data-mobile-page-dock=true]),main:has([data-mobile-loading-dock=true])){padding-bottom:calc(var(--mobile-page-dock-height) + 16px + env(safe-area-inset-bottom))!important}main[data-mobile-detail="1"]{padding-bottom:env(safe-area-inset-bottom)!important}:is(.page:has([data-mobile-page-dock=true]),.embedded-app-page:has([data-mobile-page-dock=true])){scroll-padding-bottom:calc(var(--mobile-page-dock-height) + 16px + env(safe-area-inset-bottom))}.sidebar{z-index:230;width:min(320px,88vw);height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);visibility:hidden;box-shadow:var(--shadow-lg);transition:transform .18s,visibility .18s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.app[data-mobile-menu-open="1"] .sidebar{visibility:visible;transform:translate(0)}.mobile-nav-backdrop{z-index:225;background:#0006;border:0;display:block;position:fixed;inset:0}.sb-brand{justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.sb-brand-main{order:1}.sb-mobile-close{order:2;display:inline-flex}.sb-scroll{overscroll-behavior:contain;min-height:0}.sb-item,.sb-section-title,.sb-search,.sb-settings-link{min-height:44px}.sb-item{padding:9px 12px;font-size:15px}.sb-section-title{font-size:12px}.sb-search{font-size:15px}.sb-search kbd{display:none}.sb-footer{min-height:64px}.topbar{padding-top:env(safe-area-inset-top)}.topbar-main{min-height:48px;padding:4px max(6px, env(safe-area-inset-right)) 4px max(6px, env(safe-area-inset-left));gap:3px;display:flex}.topbar-spacer{display:none}.topbar .breadcrumb{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;display:block;overflow:hidden}.topbar .breadcrumb>span:not(:last-child){display:none}.global-header-actions{gap:3px;min-width:0}.global-header-actions .btn{flex:none}.topbar .btn,.topbar .btn-icon{height:36px;font-size:11px;min-width:36px!important;min-height:36px!important;padding:0 6px!important}.topbar .btn-icon{width:36px}.global-refresh-button{justify-content:center;width:36px;padding:0!important}.global-refresh-label{display:none}.global-sync-label{display:inline}.global-sync-control{align-items:center;display:flex}.global-sync-button{gap:4px;font-size:11px;min-width:46px!important;padding:0 6px!important}.global-sync-review-button{display:none}.global-sync-menu{top:calc(54px + env(safe-area-inset-top));width:calc(100vw - 16px);max-height:calc(100dvh - 76px - env(safe-area-inset-bottom));position:fixed;right:8px}.shell-tools{align-items:center;display:flex}.shell-tools-toggle{display:inline-flex}.startup-tools{display:flex}.startup-tools-toggle{display:inline-flex}.startup-tool{display:none}.shell-tools-backdrop{z-index:19;background:0 0;border:0;position:fixed;inset:0}.shell-tools-menu{z-index:70;top:calc(54px + env(safe-area-inset-top));border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-raised);width:190px;max-height:calc(100dvh - 76px);box-shadow:var(--shadow-lg);gap:2px;padding:6px;display:none;position:fixed;right:8px;overflow-y:auto}.shell-tools[data-open="1"] .shell-tools-menu{flex-direction:column;display:flex}.shell-tools-menu .btn,.shell-tools-menu .btn-icon{justify-content:flex-start;gap:8px;width:100%;height:auto;font-size:13px;min-height:40px!important;padding:8px 10px!important}.shell-tools-review,.shell-tool-label{display:inline-flex}.global-sync-menu-close,.global-sync-menu-remove{min-width:44px;min-height:44px}.global-sync-menu-item strong,.global-sync-menu-item span{overflow-wrap:anywhere}.global-notice-pill{right:8px;top:calc(54px + env(safe-area-inset-top));max-width:calc(100vw - 16px);height:auto;min-height:44px;padding:8px 4px 8px 12px;line-height:1.4;bottom:auto}.global-notice-pill>span{white-space:normal;max-height:25dvh;overflow:auto}.global-notice-pill>button{width:44px;height:44px}.embedded-global-sync-bar{min-height:44px;padding:4px 8px}.embedded-app-shell{min-width:0;max-width:100%}.page{font-size:13px}.btn,.btn-sm,.primary-button,.quiet-button,.filter-chip,.subtab,.add-row-btn{touch-action:manipulation;min-height:36px;font-size:12px}.btn,.btn-sm{gap:5px;padding:7px 9px}.btn-icon,.btn-icon.btn-sm,.modal-close,.jump-close{flex-shrink:0;width:36px;min-width:36px;height:36px;min-height:36px}button,a,summary{-webkit-tap-highlight-color:transparent}:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),select,textarea){max-width:100%;font-size:16px!important}:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),select){min-height:36px}:where(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}.page-header{padding:10px}.page-title-row{align-items:center;gap:8px}.page-header .page-title-group{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page-header:has(.page-title-group):not(:has(.page-actions)){border-bottom:0;min-height:0;padding:0}.page-header:has(.page-title-group) .page-title-row{justify-content:flex-end;min-height:0}.page-actions{flex-wrap:wrap;gap:6px;max-width:100%}.page-actions .btn{white-space:normal;text-align:center}.filter-strip,.filter-bar,.filters{flex-wrap:wrap;gap:8px;min-width:0;padding-left:12px;padding-right:12px}.filter-input{min-width:0;max-width:100%;height:36px}.filter-input input{width:100%;min-width:0;height:34px}.uf-subtabs{overscroll-behavior-x:contain;max-width:100%;padding-left:8px;padding-right:8px}.subtab{flex-shrink:0}.table-wrap{overscroll-behavior-x:contain;width:100%;min-width:0;max-width:100%;overflow-x:auto}.table-wrap>.table{width:100%;min-width:0}.table-wrap>.table th,.table-wrap>.table td{padding-top:8px;padding-bottom:8px}.uf-filter-popover{max-width:calc(100vw - 24px)}.modal-backdrop{padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));overflow:hidden}.modal,.modal.wide,.user-modal,.feature-editor-modal{width:100%;max-width:100%;max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex-direction:column;min-height:0;display:flex}.modal-head,.user-modal-head{flex-shrink:0;gap:8px;padding:12px}.modal-head>div,.user-modal-head>div{overflow-wrap:anywhere;min-width:0}.modal-body,.user-modal-body{overscroll-behavior:contain;flex:auto;min-height:0;padding:12px;overflow:auto}.modal-foot,.user-modal-foot{flex-wrap:wrap;flex-shrink:0;gap:8px;padding:10px 12px}.modal-foot .btn,.user-modal-foot .btn{flex:auto;justify-content:center}.inventory-product-money-grid{grid-template-columns:minmax(0,1fr)}.ordering-product-modal-body .modal-field{min-width:0}.inventory-product-detection{flex-wrap:wrap}.jump-backdrop{padding:max(8px, env(safe-area-inset-top)) 8px}.jump-palette{width:100%;max-height:calc(100dvh - 24px)}.jump-input{min-height:44px;font-size:16px}.jump-result{min-height:52px}.jump-results{overscroll-behavior:contain;max-height:calc(100dvh - 110px)}.tweaks{right:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:min(360px,100vw - 16px);max-height:calc(100dvh - 24px)}.tweaks h4 button,.tweaks .seg button,.tweaks-reset{min-width:44px;min-height:44px}.tweaks-permission-options label{min-height:44px}.auth-shell{min-height:100dvh;padding:16px}.auth-panel{padding:20px 16px}.auth-form input,.auth-form button,.auth-form a{min-height:44px}.auth-form .auth-link{align-items:center;font-size:14px;display:flex}.auth-links{flex-wrap:wrap;gap:12px}.auth-heading h1{font-size:23px}.app-startup-content{padding:16px 12px}.connection-status dl{grid-template-columns:minmax(0,1fr)}.connection-status dl>div{border-right:0;border-bottom:1px solid var(--border)}.mobile-loading-chrome .filterbar,.mobile-loading-chrome .page-actions,.mobile-loading-chrome .uf-subtabs-right,.mobile-loading-chrome>.page-header,.mobile-loading-chrome>header,.mobile-loading-chrome .mobile-loading-filters{display:none}.mobile-loading-toolbar{background:var(--bg);border-bottom:1px solid var(--border);display:block}.mobile-loading-heading{background:var(--bg);justify-content:flex-end;align-items:center;gap:6px;min-height:48px;padding:6px 10px;display:flex}.mobile-loading-heading h1{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mobile-loading-heading[data-has-controls="0"]{height:0;min-height:0;padding:0}.mobile-loading-toolbar:not(:has(.mobile-loading-heading[data-has-controls="1"],.mobile-loading-search-row,.mobile-loading-tabs)){border-bottom:0}.mobile-loading-heading>span{color:var(--fg-subtle);font-size:11px}.mobile-loading-heading button{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-raised);color:var(--fg-muted);align-items:center;gap:5px;padding:6px 8px;font-size:12px;display:inline-flex;min-height:34px!important}.mobile-loading-heading button.btn-primary{background:var(--accent);color:var(--accent-fg)}.mobile-loading-search-row{align-items:center;gap:6px;padding:8px 10px;display:flex}.mobile-loading-heading[data-has-controls="1"]+.mobile-loading-search-row{padding-top:0}.mobile-loading-search-row>label,.mobile-loading-search-row>span{flex:1;width:100%;min-width:0}.mobile-loading-search-row>button{flex:none;align-items:center;gap:5px;display:inline-flex}.mobile-loading-search-row .filter-input{height:36px;margin:0;display:flex}.mobile-loading-search-row input{width:100%;min-width:0;height:34px}.mobile-loading-tabs{display:block}.mobile-loading-toolbar{background:0 0;border-bottom:0}.mobile-loading-dock{z-index:60;left:max(8px, env(safe-area-inset-left));right:max(8px, env(safe-area-inset-right));bottom:calc(8px + env(safe-area-inset-bottom));border:1px solid var(--border);background:var(--bg-raised);border-radius:14px;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;padding:8px;display:flex;position:fixed;box-shadow:0 4px 24px #00000024}.mobile-loading-dock[data-empty="1"]{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.mobile-loading-dock .mobile-loading-heading,.mobile-loading-dock .mobile-loading-search-row{display:contents}.mobile-loading-dock .mobile-loading-search-row>label{flex:120px;order:0}.mobile-loading-dock button,.mobile-loading-dock select{order:1}.mobile-loading-dock .mobile-loading-tabs{border-top:1px solid var(--border);flex:100%;order:2;min-width:0;padding-top:4px;overflow-x:auto}.mobile-loading-dock .subtabs{background:0 0;border-bottom:0;min-height:36px;padding:0}.mobile-loading-dock .mobile-loading-tabs>nav{border-bottom:0}.mobile-loading-dock .mobile-loading-tabs>nav>button{border-top:2px solid #0000;border-bottom:0;margin-bottom:0}.mobile-loading-dock .mobile-loading-tabs>nav>button[data-active="1"]{border-top-color:var(--accent)}.mobile-loading-secondary-controls{flex:100%;order:3;gap:4px;min-width:0;display:flex}.mobile-loading-secondary-controls button{flex:1;justify-content:center}.mobile-loading-template-picker{color:var(--fg-muted);gap:6px;padding-top:4px;font-size:12px;display:grid}.mobile-loading-template-picker select{width:100%}.mobile-loading-chrome>.mobile-loading-desktop-tabs,.mobile-loading-chrome>[data-mobile-loading-controls],.mobile-loading-chrome .table thead{display:none}.mobile-loading-chrome .table tbody tr{border-bottom:1px solid var(--border);padding:10px;display:block}.mobile-loading-chrome .table tbody td{border:0;width:100%;display:block}.mobile-loading-chrome .table tbody td:nth-child(n+4){display:none}}@media (prefers-reduced-motion:reduce){.sidebar{transition:none}}
