/* OSCANRE 5.16.0 — Workspace Shell Contract
   Narrow final geometry layer. No business/data rules. Loaded after UPS. */
body.ups-enabled.ups-surface-workspace{--osc-shell-sidebar:260px;--osc-shell-topbar:58px;overflow-x:clip!important}
body.ups-enabled.ups-surface-workspace *,body.ups-enabled.ups-surface-workspace *::before,body.ups-enabled.ups-surface-workspace *::after{box-sizing:border-box}
body.ups-enabled.ups-surface-workspace :where(.customer-main,.club-app-main,.team-main,.team-shell,.panel-main,.ups-page,.workspace-page,.panel-content){min-width:0!important;max-width:100%!important}
body.ups-enabled.ups-surface-workspace :where(img,video,canvas,svg){max-width:100%}
body.ups-enabled.ups-surface-workspace :where(input,select,textarea,button){min-width:0}
body.ups-enabled.ups-surface-workspace :where(.workspace-topbar-inner,.club-app-topbar-inner,.team-topbar-inner-390,.panel-topbar-inner){width:100%!important;max-width:none!important;margin-inline:0!important}
body.ups-enabled.ups-surface-workspace :where(.workspace-topbar-actions,.panel-top-actions){margin-left:auto!important;margin-right:0!important}

@media(min-width:981px){
  body.ups-enabled.workspace-v2{--ups-sidebar-width:var(--osc-shell-sidebar)!important;--ups-topbar-height:var(--osc-shell-topbar)!important}
  body.ups-enabled.workspace-customer .customer-app-grid,
  body.ups-enabled.workspace-club .club-app-shell,
  body.ups-enabled.workspace-team .team-app-shell{display:grid!important;grid-template-columns:var(--osc-shell-sidebar) minmax(0,1fr)!important;gap:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;align-items:stretch!important}
  body.ups-enabled.workspace-customer .customer-sidebar,
  body.ups-enabled.workspace-club .club-app-sidebar,
  body.ups-enabled.workspace-team .team-sidebar{display:flex!important;position:sticky!important;top:var(--osc-shell-topbar)!important;align-self:start!important;width:var(--osc-shell-sidebar)!important;min-width:var(--osc-shell-sidebar)!important;max-width:var(--osc-shell-sidebar)!important;height:calc(100dvh - var(--osc-shell-topbar))!important;min-height:calc(100dvh - var(--osc-shell-topbar))!important;overflow:auto!important}
  body.ups-enabled.workspace-customer .customer-main,
  body.ups-enabled.workspace-club .club-app-main,
  body.ups-enabled.workspace-team .team-main{width:100%!important;min-width:0!important;margin:0!important}
  body.ups-enabled.workspace-team .team-shell{width:100%!important;max-width:none!important;margin:0!important}
  body.ups-enabled.workspace-admin .panel-sidebar{position:fixed!important;inset:0 auto 0 0!important;width:var(--osc-shell-sidebar)!important;max-width:var(--osc-shell-sidebar)!important;height:100dvh!important;border-radius:0!important}
  body.ups-enabled.workspace-admin .panel-main{width:calc(100% - var(--osc-shell-sidebar))!important;max-width:none!important;min-width:0!important;margin-left:var(--osc-shell-sidebar)!important;margin-right:0!important;padding:0!important}
}

@media(max-width:980px){
  body.ups-enabled.ups-surface-workspace{--ups-mobile-topbar-height:52px!important;padding-top:0!important}
  body.ups-enabled.ups-surface-workspace :where(.workspace-topbar,.account-unified-topbar,.club-app-topbar,.team-topbar,.panel-topbar){position:sticky!important;top:0!important;z-index:70!important}
  body.ups-enabled.workspace-customer .customer-app-grid,
  body.ups-enabled.workspace-club .club-app-shell,
  body.ups-enabled.workspace-team .team-app-shell{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important}
  body.ups-enabled.workspace-customer .customer-sidebar,
  body.ups-enabled.workspace-club .club-app-sidebar,
  body.ups-enabled.workspace-team .team-sidebar{display:none!important}
  body.ups-enabled.workspace-customer .customer-main,
  body.ups-enabled.workspace-club .club-app-main,
  body.ups-enabled.workspace-team .team-main,
  body.ups-enabled.workspace-team .team-shell,
  body.ups-enabled.workspace-admin .panel-main{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding-left:max(14px,env(safe-area-inset-left))!important;padding-right:max(14px,env(safe-area-inset-right))!important}
  body.ups-enabled.workspace-admin .panel-main{padding-left:0!important;padding-right:0!important}
  body.ups-enabled.workspace-admin .panel-sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:min(84vw,328px)!important;max-width:328px!important;height:100dvh!important;transform:translateX(-104%)!important;transition:transform .22s ease!important;z-index:90!important}
  body.ups-enabled.workspace-admin .panel-sidebar.is-open,
  body.ups-enabled.workspace-admin.panel-menu-open .panel-sidebar{transform:translateX(0)!important}
  body.ups-enabled.workspace-admin.panel-menu-open{overflow:hidden!important}
  body.ups-enabled.ups-surface-workspace :where(.customer-main,.club-app-main,.team-shell){padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
}

@media(max-width:620px){
  body.ups-enabled.ups-surface-workspace :where(.ups-page-header,.customer-page-head,.team-hero,.panel-page-head){min-width:0!important;max-width:100%!important}
  body.ups-enabled.ups-surface-workspace :where(.admin-card,.customer-card,.team-card,.club-card,.account-item,.ops-card){max-width:100%!important;min-width:0!important}
  body.ups-enabled.ups-surface-workspace :where(table){max-width:none}
}
