.mobile-only,[data-mobile-icon]>.shell-icon{display:none}
.mobile-tool-dialog{width:min(480px,calc(100vw - 16px));max-height:calc(100dvh - 20px);box-sizing:border-box;overflow:auto;border:1px solid #c9d5e5;border-radius:12px;padding:16px}.mobile-tool-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mobile-tool-dialog h2{font-size:19px;margin:0}.mobile-tool-dialog header button{min-width:44px;min-height:44px;font-size:24px}.mobile-tool-body .shop-members{display:flex}.mobile-tool-body .shop-member{width:100%}.mobile-tool-body .shop-member>button:first-child{flex:1}.shop-file-window .shop-window-header h2{overflow-wrap:anywhere;min-width:0}
@media(max-width:650px){
 .mobile-only{display:inline-flex;align-items:center;justify-content:center}
 [data-mobile-icon]>.shell-icon{display:block;width:23px;height:23px;flex-shrink:0}
 [data-mobile-icon]>.mobile-button-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .shop-header #shopMembers,.shop-shortcuts #shopMembers{display:none}.shop-header h1{font-size:clamp(11px,3.65vw,18px);line-height:1.3;white-space:nowrap;letter-spacing:-.15px;margin:4px 0 10px;overflow-wrap:normal}.shop-header-actions:empty{display:none}.shop-controls{display:none}
 .shop-workplace{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
 .shop-shortcuts{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;margin:0;padding:5px 3px calc(5px + env(safe-area-inset-bottom,0px));background:white;border-top:1px solid #d5dfec;box-shadow:0 -3px 12px #17223512;z-index:45}
 .shop-shortcuts>button,.shop-shortcuts #shopLogout{display:flex;align-items:center;justify-content:center;grid-column:auto;min-height:48px;min-width:0;padding:8px 2px;border:0;margin:0;border-radius:8px;position:relative;background:transparent}
 .shop-shortcuts #shopSearch{display:none}.shop-shortcuts [data-shop-view=profile]:after{content:attr(data-members-count);position:absolute;top:0;right:2px;border-radius:12px;background:#edf4ff;color:#245ba5;font-size:10px;min-width:15px;padding:1px}
 .shop-shortcuts [data-unread-count]:not([data-unread-count="0"]):after{content:attr(data-unread-count);position:absolute;top:0;right:2px;border-radius:12px;background:#c83d42;color:white;font-size:10px;min-width:15px;padding:1px}
 .shop-mode #toast{bottom:calc(74px + env(safe-area-inset-bottom,0px))}
 .shop-embedded .shop-shortcuts{display:none}
 .topbar,.topbar:has(.workspace-back),.topbar:has(.shop-office-navigation){display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;min-height:50px!important;height:50px!important;padding:5px 8px!important;box-sizing:border-box}
 .topbar .workspace-title{display:block!important;position:static!important;transform:none!important;flex:1;min-width:0;max-width:none!important;text-align:center;font-size:13px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .header-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;width:auto!important;margin-left:auto;min-width:0}
 .topbar .workspace-back{position:static!important;transform:none!important;min-height:36px;padding:5px 8px}.topbar .back-label{display:none}.shop-office-navigation{gap:5px}
 .topbar .header-user,.topbar #logout,.topbar .shop-return{display:flex;align-items:center;justify-content:center;width:36px;min-width:36px;max-width:36px;min-height:36px;height:36px;padding:6px;margin:0}
 .topbar .workspace-search{position:static;flex:0 0 36px;width:36px;min-width:36px;margin:0}.workspace-search-toggle{width:36px;height:36px;min-height:36px;padding:6px}
 .topbar .workspace-search-field{display:none}.topbar .workspace-search.mobile-search-open .workspace-search-field{display:block;position:fixed;top:54px;left:8px;right:8px;background:white;z-index:70;border-radius:8px;box-shadow:0 6px 20px #17223525}
 .topbar .workspace-search-results{position:fixed;top:102px;left:8px;right:8px;min-width:0;max-height:calc(100dvh - 190px);z-index:70}
 .sidebar:not(.admin-sidebar)>.support-trigger>span:not(.group-arrow){display:none!important}.sidebar:not(.admin-sidebar)>.support-trigger{font-size:0!important;overflow:hidden}
 #modal[open]:has(#supportBody){position:fixed;top:0;bottom:auto;margin:6px auto;width:calc(100vw - 12px);height:calc(var(--sm-visible-height,100dvh) - 12px);max-height:calc(var(--sm-visible-height,100dvh) - 12px);box-sizing:border-box;padding:14px}
 #modal:has(#supportBody) .support-header h2{font-size:18px}#modal:has(#supportBody) .support-header p{font-size:12px;margin:5px 0}#modal:has(#supportBody) .support-tabs{margin:8px 0}#supportBody{overscroll-behavior:contain}#supportForm textarea{min-height:105px}#supportForm .dialog-footer{position:sticky;bottom:0;background:white;padding:10px 0;margin:0;flex-wrap:wrap}
}
/* Both edges resize around the centre of the modal; the iframe cannot steal a drag. */
.shop-file-window{max-width:calc(100vw - 24px);box-sizing:border-box;margin:auto}
.file-window-resize{position:absolute;top:0;bottom:0;width:9px;z-index:20;cursor:ew-resize;touch-action:none}
.file-window-resize-left{left:0}.file-window-resize-right{right:0}
.file-window-resize:hover,.file-window-resize:focus-visible{background:#386bb226;outline:none}
.file-window-resizing{user-select:none;cursor:ew-resize}.file-window-resizing iframe{pointer-events:none;width:var(--file-frozen-width)!important;max-width:none!important;flex-shrink:0}
@media(max-width:650px){.shop-file-window{width:100%!important;max-width:100%;margin:0}.file-window-resize{display:none}}
.shop-file-window.shop-model-window{width:min(1680px,calc(100vw - 24px))}.shop-model-window>.shop-window-header h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
