html:has(body.plbp-workspace){scroll-padding-top:76px!important;margin-top:0!important}body.plbp-workspace{margin:0!important;padding:0!important;background:#f3f6fa!important;color:#122b40;min-width:0}.plbp-workspace #wpadminbar,.plbp-workspace .sf-mobile-dock,.plbp-workspace .sf-chat-widget{display:none!important}.plbp-workspace *{box-sizing:border-box}.plbp-workspace a:focus-visible,.plbp-workspace button:focus-visible{outline:3px solid #0087ff;outline-offset:3px}
body.plbp-workspace-studio .plbp-studio{max-width:none;width:100%;padding:0;margin:0;min-height:100dvh}body.plbp-workspace-studio .plbp-studio__shell{min-height:100dvh;border:0;border-radius:0;box-shadow:none;overflow:visible;grid-template-columns:248px minmax(0,1fr)}body.plbp-workspace-studio .plbp-studio__sidebar{position:sticky;top:0;height:100dvh;overflow:auto;align-self:start;background:#103c55;border:0;color:#fff;padding:26px 18px}body.plbp-workspace-studio .plbp-studio__brand,body.plbp-workspace-studio .plbp-studio__sidebar-bottom a{color:#fff}body.plbp-workspace-studio .plbp-studio__brand small,body.plbp-workspace-studio .plbp-studio__connection{color:#b1ccd9}body.plbp-workspace-studio .plbp-studio__tenant{background:#ffffff0c;border-color:#ffffff20;color:#fff}body.plbp-workspace-studio .plbp-studio__tenant small{color:#b1ccd9}body.plbp-workspace-studio .plbp-studio__nav-item{color:#c9dce8}body.plbp-workspace-studio .plbp-studio__nav-item.is-active{background:#ffffff1f;color:#fff}body.plbp-workspace-studio .plbp-studio__nav-item:hover{background:#ffffff14;color:#fff}body.plbp-workspace-studio .plbp-studio__topbar{position:sticky;top:0;z-index:20;min-height:68px}body.plbp-workspace-studio .plbp-studio__business-switch{margin:0;border-radius:0;border:0;border-bottom:1px solid #dce5ef;padding:12px 24px;background:#fff}body.plbp-workspace-studio .plbp-studio__content{padding:32px;max-width:1500px;margin:auto}.plbp-workspace-studio .plbp-studio__gate{margin:10vh auto;max-width:650px}
.plbp-account-bar{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 26px;background:#fff;border-bottom:1px solid #dce5ef;position:sticky;top:0;z-index:40}.plbp-account-brand{display:flex;gap:12px;align-items:center;color:#143b50;text-decoration:none}.plbp-account-brand>span{width:36px;height:36px;background:#0067ed;color:#fff;display:grid;place-items:center;border-radius:10px;font-weight:800}.plbp-account-brand strong{font-size:16px;line-height:1.3}.plbp-account-brand small{display:block;font-size:8px;letter-spacing:.12em;color:#668192}.plbp-account-bar>div{display:flex;gap:16px;align-items:center}.plbp-account-bar a{font-size:13px;font-weight:650;text-decoration:none}.plbp-account-bar button{display:none;border:1px solid #d9e4eb;background:#f5f9fc;border-radius:8px;padding:9px 12px;color:#153d50}.plbp-account-content{padding:0!important;margin:0!important;max-width:none!important}
html body.plbp-workspace-account #content .sf-member-dashboard{width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;min-height:calc(100dvh - 68px)!important}html body.plbp-workspace-account #content .sf-member-dashboard-hero{margin-left:248px!important;min-height:150px!important;padding:25px 32px!important;background:#fff!important;color:#153d50!important;border-bottom:1px solid #dce5ef!important}html body.plbp-workspace-account #content .sf-member-dashboard-intro h1{color:#153d50!important;font-size:28px!important}html body.plbp-workspace-account #content .sf-member-dashboard-intro .sf-kicker,html body.plbp-workspace-account #content .sf-member-dashboard .sf-member-email{color:#647f90!important}html body.plbp-workspace-account #content .sf-member-dashboard .sf-member-state{color:#1c6074!important;background:#eef6f8!important;border-color:#cde1e6!important}html body.plbp-workspace-account #content .sf-member-dashboard-actions a{color:#1c5270!important;background:#f5f9fc!important;border-color:#d5e3eb!important}html body.plbp-workspace-account #content .sf-member-dashboard-layout{margin-left:248px!important;display:block!important;padding:30px 32px!important}html body.plbp-workspace-account #content .sf-member-sections{position:fixed!important;top:68px!important;bottom:0!important;left:0!important;width:248px!important;overflow:auto!important;padding:26px 16px!important;background:#103c55!important;border:0!important;color:#fff!important;z-index:30!important}html body.plbp-workspace-account #content .sf-member-sections>h2{color:#a9c6d7!important;font-size:10px!important;letter-spacing:.12em!important}html body.plbp-workspace-account #content .sf-member-section{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:8px!important}html body.plbp-workspace-account #content .sf-member-section summary{color:#d3e4ed!important;background:transparent!important;padding:13px 10px!important}html body.plbp-workspace-account #content .sf-member-section-links a{color:#c4dce9!important;border:0!important;background:transparent!important;margin:2px!important;padding:12px 10px!important}html body.plbp-workspace-account #content .sf-member-section-links a small{color:#a8c2d2!important}html body.plbp-workspace-account #content .sf-member-section-links a.is-active{background:#ffffff20!important;color:#fff!important;box-shadow:none!important}html body.plbp-workspace-account #content .sf-member-dashboard-main{max-width:1400px!important;margin:auto!important}html body.plbp-workspace-account #content .sf-member-portal-pane{scroll-margin-top:80px!important}html body.plbp-workspace-account #content .sf-auth-shell{margin:30px auto!important;max-width:1200px!important}
@media(max-width:1000px){html body.plbp-workspace-account #content .sf-member-dashboard-actions{max-width:260px!important}.plbp-workspace-studio .plbp-studio__content{padding:24px!important}}
@media(max-width:760px){body.plbp-workspace-studio .plbp-studio__shell{grid-template-columns:minmax(0,1fr)}body.plbp-workspace-studio .plbp-studio__sidebar{position:fixed;z-index:45;left:0;top:0;width:260px;transform:translateX(-105%);transition:transform .2s;box-shadow:12px 0 40px #001c3e33}body.plbp-workspace-studio .plbp-studio.is-menu-open .plbp-studio__sidebar{transform:translateX(0)}body.plbp-workspace-studio .plbp-studio__mobile-toggle{display:grid}body.plbp-workspace-studio .plbp-studio__topbar{padding:12px 16px}body.plbp-workspace-studio .plbp-studio__content{padding:22px 16px!important}body.plbp-workspace-studio .plbp-studio__business-switch{padding:12px 16px;display:grid;gap:8px}.plbp-account-bar{height:64px;padding:10px 14px}.plbp-account-brand strong{font-size:13px}.plbp-account-brand small{font-size:7px}.plbp-account-bar>div{gap:10px}.plbp-account-bar a{font-size:11px}.plbp-account-bar button{display:block;font-size:11px;padding:8px}.plbp-account-bar>div>a:last-child{display:none}html body.plbp-workspace-account #content .sf-member-dashboard-hero{margin-left:0!important;padding:24px 18px!important;grid-template-columns:52px minmax(0,1fr)!important;gap:14px!important}html body.plbp-workspace-account #content .sf-member-dashboard-hero .sf-member-avatar{width:52px!important;height:52px!important}html body.plbp-workspace-account #content .sf-member-dashboard-intro h1{font-size:23px!important}html body.plbp-workspace-account #content .sf-member-dashboard-actions{max-width:none!important;grid-column:1/-1!important;display:flex!important;justify-content:flex-start!important}html body.plbp-workspace-account #content .sf-member-dashboard-actions a{min-height:38px!important;padding:8px 11px!important;font-size:11px!important;flex-direction:row!important}html body.plbp-workspace-account #content .sf-member-dashboard-layout{margin-left:0!important;padding:20px 14px!important}html body.plbp-workspace-account #content .sf-member-sections{top:64px!important;transform:translateX(-105%)!important;transition:transform .2s!important;box-shadow:12px 0 40px #001c3e33!important}html body.plbp-workspace-account.plbp-account-menu-open #content .sf-member-sections{transform:translateX(0)!important}html body.plbp-workspace-account #content .sf-member-portal-pane>section:not(.sf-member-card){padding:22px 16px!important}.plbp-workspace [role=dialog],.plbp-workspace dialog{max-width:calc(100vw - 24px)!important}.plbp-workspace input,.plbp-workspace select,.plbp-workspace textarea{min-width:0;max-width:100%;font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.plbp-workspace *{animation:none!important;transition:none!important}}

.plbp-workspace-studio .plbp-studio__sidebar-bottom{display:grid;gap:10px}.plbp-workspace-account .sf-chat-launcher,.plbp-workspace-studio .sf-chat-launcher{display:none!important}
@media(max-width:760px){.plbp-public .plbp-cart-tray{bottom:calc(78px + env(safe-area-inset-bottom));width:calc(100% - 32px)}.plbp-workspace-account .sf-member-dashboard{overflow-wrap:anywhere!important}.plbp-workspace-account .sf-member-dashboard-actions{flex-wrap:wrap!important}}

html body.plbp-workspace-account #content .sf-member-sections{height:calc(100dvh - 68px)!important;min-height:calc(100dvh - 68px)!important;align-content:start!important}.plbp-workspace-account .plbp-account-studio-link{color:#005bd8}@media(max-width:760px){html body.plbp-workspace-account #content .sf-member-sections{height:calc(100dvh - 64px)!important;min-height:calc(100dvh - 64px)!important}.plbp-account-bar:has(.plbp-account-studio-link)>div>a:not(.plbp-account-studio-link){display:none}.plbp-account-bar>div{gap:8px}.plbp-account-bar:has(.plbp-account-studio-link) .plbp-account-brand small{display:none}}

html body.plbp-workspace-account #content .sf-member-sections{display:flex!important;flex-direction:column!important;gap:8px!important}html body.plbp-workspace-account #content .sf-member-section{width:100%!important;flex:0 0 auto!important}html body.plbp-workspace-account #content .sf-member-section-links{display:grid!important;grid-template-columns:minmax(0,1fr)!important}html body.plbp-workspace-account #content .sf-member-section-links a{min-width:0!important;width:100%!important}

/* Keep the dedicated workspace scrollable without the public theme's crop rules. */
html:has(body.plbp-workspace) {
  overflow: visible !important;
  min-height: 100%;
  scroll-padding-top: calc(var(--plbp-account-bar-height, 68px) + 16px) !important;
}
html body.plbp-workspace {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible !important;
}
.plbp-workspace-account .plbp-account-bar {
  height: auto;
  min-height: 68px;
  flex-shrink: 0;
  overflow: visible;
  line-height: 1.3;
}
.plbp-workspace-account .plbp-account-brand { min-width: 0; }
.plbp-workspace-account .plbp-account-brand > span { flex: 0 0 36px; }
.plbp-workspace-account .plbp-account-brand strong { display: block; min-width: 0; }
.plbp-workspace-account .plbp-account-bar > div { flex: 0 0 auto; }
html body.plbp-workspace-account #content {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: visible !important;
}
html body.plbp-workspace-account #content .sf-member-dashboard,
html body.plbp-workspace-account #content .sf-member-dashboard-hero,
html body.plbp-workspace-account #content .sf-member-dashboard-layout,
html body.plbp-workspace-account #content .sf-member-dashboard-main,
html body.plbp-workspace-account #content .sf-member-portal-pane {
  min-width: 0 !important;
  height: auto !important;
  overflow: visible !important;
}
html body.plbp-workspace-account #content .sf-member-dashboard-hero,
html body.plbp-workspace-account #content .sf-member-dashboard-layout {
  width: auto !important;
  max-width: none !important;
}
html body.plbp-workspace-account #content .sf-member-dashboard-intro,
html body.plbp-workspace-account #content .sf-member-dashboard-actions,
html body.plbp-workspace-account #content .sf-member-portal-pane > section,
html body.plbp-workspace-account #content .sf-member-profile form > * {
  min-width: 0 !important;
  max-width: 100% !important;
}
html body.plbp-workspace-account #content .sf-member-dashboard-intro h1,
html body.plbp-workspace-account #content .sf-member-email {
  overflow-wrap: anywhere;
}
html body.plbp-workspace-account #content .sf-member-dashboard-main,
html body.plbp-workspace-account #content .sf-member-portal-pane {
  scroll-margin-top: calc(var(--plbp-account-bar-height, 68px) + 16px) !important;
}
html body.plbp-workspace-account #content .sf-member-sections {
  top: var(--plbp-account-bar-height, 68px) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100vh - var(--plbp-account-bar-height, 68px)) !important;
  max-height: calc(100dvh - var(--plbp-account-bar-height, 68px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
}
html body.plbp-workspace-account #content .sf-member-sections > h2 { flex: 0 0 auto; }
html body.plbp-workspace-account #content .sf-member-section-links a {
  width: auto !important;
  overflow-wrap: anywhere;
}
body.plbp-workspace-studio .plbp-studio__sidebar {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
body.plbp-workspace-studio .plbp-studio__sidebar > * { flex-shrink: 0; }
body.plbp-workspace-studio .plbp-studio__content { width: 100%; min-width: 0; }
@media (max-width: 1000px) {
  html body.plbp-workspace-account #content .sf-member-dashboard-hero {
    grid-template-columns: 60px minmax(0, 1fr) !important;
  }
  html body.plbp-workspace-account #content .sf-member-dashboard-actions {
    grid-column: 1 / -1 !important;
    max-width: none !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}
/* Match the Studio's own drawer breakpoint, including small tablets. */
@media (max-width: 800px) {
  body.plbp-workspace-studio .plbp-studio__shell { grid-template-columns: minmax(0, 1fr); }
  body.plbp-workspace-studio .plbp-studio__sidebar {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(280px, 85vw);
    z-index: 45;
    transform: translateX(-105%);
    transition: transform .2s;
    box-shadow: 12px 0 40px #001c3e33;
  }
  body.plbp-workspace-studio .plbp-studio.is-menu-open .plbp-studio__sidebar {
    display: flex;
    transform: translateX(0);
  }
  body.plbp-workspace-studio .plbp-studio__mobile-toggle { display: grid; }
}
@media (max-width: 760px) {
  body.plbp-workspace-account { --plbp-account-bar-height: 64px; }
  .plbp-workspace-account .plbp-account-bar { min-height: 64px; gap: 10px; }
  .plbp-workspace-account .plbp-account-brand { gap: 8px; }
  .plbp-workspace-account .plbp-account-brand strong { overflow-wrap: anywhere; }
  html body.plbp-workspace-account #content .sf-member-dashboard-hero {
    grid-template-columns: 52px minmax(0, 1fr) !important;
  }
  html body.plbp-workspace-account #content .sf-member-portal-pane > section > header {
    flex-wrap: wrap !important;
  }
  .plbp-workspace-account .sf-member-section summary {
    min-height: 48px !important;
  }
}

/* The theme's decorative top strip must not cover workspace branding. */
html body.plbp-workspace::before { display: none !important; content: none !important; }
html body.plbp-workspace-account #content .sf-member-sections {
  height: calc(100vh - var(--plbp-account-bar-height, 68px)) !important;
  height: calc(100dvh - var(--plbp-account-bar-height, 68px)) !important;
  min-height: 0 !important;
}
