/* Approved single-screen My layout. Business nodes and existing event handlers stay in place. */
html body :is(#profilePage,#photographerDeskPage).pb-profile-single {
  --pb-ink:#252a32;
  --pb-me-gap:clamp(4px,calc((var(--pb-profile-room,760px) - 580px) * .05),8px);
  --pb-me-row:clamp(44px,calc((var(--pb-profile-room,760px) - 600px) * .06 + 44px),50px);
  --pb-me-photo-card:clamp(48px,calc((var(--pb-profile-room,760px) - 600px) * .32 + 48px),80px);
  --pb-me-bench:clamp(48px,calc((var(--pb-profile-room,760px) - 600px) * .28 + 48px),76px);
  --pb-me-action:clamp(44px,calc((var(--pb-profile-room,760px) - 600px) * .04 + 44px),48px);
  --pb-me-inset-top:clamp(6px,calc((var(--pb-profile-room,760px) - 600px) * .08 + 6px),14px);
  box-sizing:border-box!important;
  min-height:0!important;height:var(--pb-profile-viewport-height,100%)!important;
  max-height:var(--pb-profile-viewport-height,100%)!important;
  padding:var(--pb-me-inset-top) 12px calc(var(--pb-profile-dock-overlap,64px) + 6px)!important;
  background:var(--pb-bg,#f7f7f4)!important;
  overflow-y:auto!important;
  scroll-padding-bottom:calc(var(--pb-profile-dock-overlap,64px) + 12px);
}
html body :is(#profilePage,#photographerDeskPage).pb-profile-single.show { display:flex!important;flex-direction:column; }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single>.page-head {
  position:static!important;display:flex!important;flex:none;min-height:29px!important;
  width:100%;margin:0 0 var(--pb-me-gap)!important;padding:0!important;
  border:0!important;background:transparent!important;backdrop-filter:none!important;
}
html body :is(#profilePage,#photographerDeskPage).pb-profile-single>.page-head :is(.back-btn,.page-title>p) { display:none!important; }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single>.page-head h1 { margin:0!important;font:500 20px/24px var(--pb-font-ui,sans-serif)!important; }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single>.page-head h1::after { content:'';display:block;width:16px;margin-top:3px;border-bottom:2px solid var(--pb-brand,#004239); }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single>.page-body { flex:none;box-sizing:border-box;width:100%;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important; }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single :is(.option-card,.menu-row,.profile-ai-entry-button,.profile-album-folder) {
  box-sizing:border-box!important;min-width:0;box-shadow:none!important;
  font:var(--pb-text-label-weight,500) 15px/1.3 var(--pb-font-ui,sans-serif)!important;color:var(--pb-ink,#292d34)!important;
  cursor:pointer;transition:background-color 120ms ease-out!important;
}
html body :is(#profilePage,#photographerDeskPage).pb-profile-single :is(.option-card,.menu-row,.profile-ai-entry-button,.profile-album-folder):active { background-color:var(--pb-brand-soft,#e6efed)!important; }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single :is(.menu-ico,.pb-me-icon,.album-folder-icon,.profile-ai-entry-button>svg,.profile-ai-entry-button>i) { transition:transform 180ms cubic-bezier(.2,.8,.2,1)!important; }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single :is(.option-card,.menu-row,.profile-ai-entry-button,.profile-album-folder):active :is(.menu-ico,.pb-me-icon,.album-folder-icon,.profile-ai-entry-button>svg,.profile-ai-entry-button>i) { transform:translateY(-2px); }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single .pb-me-chevron { display:flex!important;align-items:center;justify-content:center;width:14px;margin:0!important;line-height:1; }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single .pb-me-chevron svg { width:14px;height:14px;color:var(--pb-muted); }
html body :is(#profilePage,#photographerDeskPage).pb-profile-single :is(.menu-row b,.profile-album-folder-copy b,.profile-ai-entry-button>span,.pb-me-label) { font:var(--pb-text-label-weight,500) 15px/1.3 var(--pb-font-ui,sans-serif)!important;color:var(--pb-ink,#252a32)!important;white-space:normal!important;overflow-wrap:anywhere;min-width:0;margin:0!important; }
/* Hide descriptions, never the functional labels or the emergency hold instruction. */
html body #profilePage.pb-profile-single :is(.profile-album-folder-copy>span,.profile-ai-entry-button small,.menu-row>div>span),
html body #photographerDeskPage.pb-profile-single .option-card>span:not(.pb-me-label):not(.pb-me-icon):not(.pb-me-chevron) { display:none!important; }
html body #profilePage.pb-profile-single {
  --pb-me-row:clamp(44px,calc((var(--pb-profile-room,760px) - 576px) * .18 + 44px),68px);
  --pb-me-inset-top:clamp(6px,calc((var(--pb-profile-room,760px) - 600px) * .14 + 6px),20px);
  --pb-me-user-icon:clamp(24px,calc((var(--pb-profile-room,760px) - 600px) * .08 + 24px),32px);
}
html body #profilePage.pb-profile-single>.page-body { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important;align-content:start; }
html body #profilePage.pb-profile-single :is(.profile-ai-tools,.user-assets-card,.account-card,.menu-list) { display:contents!important; }
html body #profilePage.pb-profile-single .user-profile-card {
  grid-column:1/-1;order:1;box-sizing:border-box;margin:0 0 var(--pb-me-gap)!important;padding:0!important;
  min-height:clamp(52px,calc((var(--pb-profile-room,760px) - 550px) * .35 + 52px),88px);
  border:1px solid rgba(0,66,57,.04)!important;border-radius:14px!important;background:#f0f4ee!important;
}
html body #profilePage.pb-profile-single .member-card { display:flex!important;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;min-height:inherit;margin:0!important;padding:8px 10px!important;border:0!important;background:transparent!important; }
html body #profilePage.pb-profile-single .profile-main { display:flex;align-items:center;gap:10px;flex:1;min-width:0; }
html body #profilePage.pb-profile-single .profile-main>div:last-child { min-width:0; }
html body #profilePage.pb-profile-single .profile-avatar { width:48px!important;height:48px!important;flex:none; }
html body #profilePage.pb-profile-single .profile-main h2 { margin:0 0 2px!important;max-width:100%;font:500 16px/20px var(--pb-font-ui)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
html body #profilePage.pb-profile-single .member-title { font:400 14px/18px var(--pb-font-ui)!important; }
html body #profilePage.pb-profile-single .member-head { flex:none;display:flex;margin:0!important; }
html body #profilePage.pb-profile-single .member-center { min-height:44px;padding:0 2px!important;font:500 14px/18px var(--pb-font-ui)!important;color:var(--pb-brand)!important; }
html body #profilePage.pb-profile-single :is(.profile-album-folder,.profile-ai-entry-button[data-open-poster]) {
  display:grid!important;grid-template-columns:44px minmax(0,1fr) 14px;align-items:center;gap:6px;
  min-height:clamp(64px,calc(var(--pb-profile-room,760px) * .15),104px);width:auto!important;
  padding:8px!important;margin:0 3px var(--pb-me-gap) 0!important;border:1px solid #e7eee7!important;border-radius:12px!important;background:#edf4ef!important;
}
html body #profilePage.pb-profile-single .profile-album-folder { order:2;grid-column:1; }
html body #profilePage.pb-profile-single .profile-ai-entry-button[data-open-poster] { order:3;grid-column:2;margin-right:0!important;margin-left:3px!important;border-color:#f1e7dd!important;background:#fff1e6!important; }
html body #profilePage.pb-profile-single .profile-ai-entry-button[data-open-poster]>svg { width:44px;height:44px;color:#bc7844!important; }
html body #profilePage.pb-profile-single .album-folder-icon { display:flex;width:44px;height:44px;align-items:center;padding:0;color:var(--pb-brand)!important; }
html body #profilePage.pb-profile-single .album-folder-icon svg { width:44px;height:44px; }
html body #profilePage.pb-profile-single .profile-album-folder-arrow { font:400 22px/1 var(--pb-font-ui);color:var(--pb-muted); }
html body #profilePage.pb-profile-single :is(.profile-ai-entry-button:not([data-open-poster]),.menu-row[data-user-tool]) {
  display:grid!important;grid-template-columns:var(--pb-me-user-icon) minmax(0,1fr) 14px;align-items:center;gap:8px;
  min-height:var(--pb-me-row)!important;width:100%;padding:6px 10px!important;margin:0!important;
  border:0!important;border-bottom:1px solid #e9eeeb!important;border-radius:0!important;background:#fff!important;
}
html body #profilePage.pb-profile-single :is(.menu-ico,.profile-ai-entry-button>i) { display:flex;width:var(--pb-me-user-icon)!important;height:var(--pb-me-user-icon)!important;align-items:center;padding:0!important;margin:0!important;background:transparent!important;color:var(--pb-brand)!important; }
html body #profilePage.pb-profile-single :is(.menu-ico svg,.profile-ai-entry-button:not([data-open-poster])>svg) { width:var(--pb-me-user-icon)!important;height:var(--pb-me-user-icon)!important;color:var(--pb-brand)!important; }
html body #profilePage.pb-profile-single #openCustomerRetouch { order:4;grid-column:1;border-top:1px solid #e9eeeb!important;border-left:1px solid #e9eeeb!important;border-top-left-radius:12px!important; }
html body #profilePage.pb-profile-single .profile-ai-tools>[data-open-pose-guide] { order:5;grid-column:2;border-top:1px solid #e9eeeb!important;border-right:1px solid #e9eeeb!important;border-top-right-radius:12px!important; }
html body #profilePage.pb-profile-single #openTryOnSample { order:6;grid-column:1;border-left:1px solid #e9eeeb!important; }
html body #profilePage.pb-profile-single [data-user-tool=favorites] { order:7;grid-column:2;border-right:1px solid #e9eeeb!important; }
html body #profilePage.pb-profile-single [data-user-tool=wallet] { order:8;grid-column:1;border-left:1px solid #e9eeeb!important; }
html body #profilePage.pb-profile-single [data-user-tool=support] { order:9;grid-column:2;border-right:1px solid #e9eeeb!important; }
html body #profilePage.pb-profile-single [data-user-tool=help] { order:10;grid-column:1/-1;border:1px solid #e9eeeb!important;border-top:0!important;border-radius:0 0 12px 12px!important; }
html body #profilePage.pb-profile-single #logoutButton { grid-column:1/-1;order:11;width:100%!important;min-height:var(--pb-me-action);margin:var(--pb-me-gap) 0 0!important;padding:8px!important;border:1px solid #e8ece8!important;border-radius:12px!important;background:#fff!important; }
html body #profilePage.pb-profile-single #logoutButton b { font:400 15px/20px var(--pb-font-ui)!important; }
html body #profilePage.pb-profile-single .safety-alert-bottom-card { grid-column:1/-1;order:12;box-sizing:border-box;width:100%!important;margin:var(--pb-me-gap) 0 0!important;padding:0!important; }
html body #profilePage.pb-profile-single .safety-alert-bottom { box-sizing:border-box;width:100%;min-height:56px;padding:6px 12px!important;border-radius:12px!important;box-shadow:none!important; }
html body #profilePage.pb-profile-single .safety-alert-copy b { font:500 15px/20px var(--pb-font-ui)!important; }
html body #profilePage.pb-profile-single .safety-alert-copy small { font:400 12px/16px var(--pb-font-ui)!important;white-space:normal; }
html body #photographerDeskPage.pb-profile-single>.page-body { display:flex!important;flex-direction:column;gap:var(--pb-me-gap); }
html body #photographerDeskPage.pb-profile-single .photographer-profile-card { box-sizing:border-box;min-height:var(--pb-me-photo-card);margin:0!important;padding:4px 10px!important;border:1px solid rgba(0,66,57,.04)!important;border-radius:14px!important;background:#f0f4ee!important;box-shadow:none!important; }
html body #photographerDeskPage.pb-profile-single .photographer-profile-main { display:flex!important;align-items:center;gap:10px;min-height:40px; }
html body #photographerDeskPage.pb-profile-single .profile-avatar { width:44px!important;height:44px!important;flex:none; }
html body #photographerDeskPage.pb-profile-single .photographer-name { flex:1;min-width:0; }
html body #photographerDeskPage.pb-profile-single .photographer-name h2 { margin:0 0 2px!important;font:500 16px/20px var(--pb-font-ui)!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }
html body #photographerDeskPage.pb-profile-single .photographer-name p { margin:0!important;font:400 14px/18px var(--pb-font-ui)!important; }
html body #photographerDeskPage.pb-profile-single [data-photographer-account-settings] { min-width:44px;min-height:44px;flex:none;margin-left:auto;padding:4px 2px!important;font:400 14px/18px var(--pb-font-ui)!important;background:transparent!important;color:var(--pb-brand)!important; }
html body #photographerDeskPage.pb-profile-single [data-pb-me-section] { flex:none;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important; }
html body #photographerDeskPage.pb-profile-single [data-pb-me-section]>h2 { display:block!important;min-height:20px;margin:0 0 clamp(4px,calc((var(--pb-profile-room,760px) - 600px) * .02 + 4px),6px)!important;padding-left:0;border-left:0;font:500 clamp(16px,calc((var(--pb-profile-room,760px) - 600px) * .02 + 16px),18px)/1.25 var(--pb-font-ui)!important; }
html body #photographerDeskPage.pb-profile-single [data-pb-me-section]>.option-grid { box-sizing:border-box;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important;margin:0!important;padding:0!important;border:1px solid #e8ede9;border-radius:12px;background:#fff; }
html body #photographerDeskPage.pb-profile-single .option-card { display:grid!important;grid-template-columns:22px minmax(0,1fr) 14px;align-items:center;gap:8px;min-height:var(--pb-me-row)!important;width:100%;padding:5px 8px!important;margin:0!important;border:0!important;border-bottom:1px solid #edf0ed!important;border-radius:0!important;background:transparent!important; }
html body #photographerDeskPage.pb-profile-single .photographer-business-tools>.option-card:nth-child(odd) { border-right:1px solid #edf0ed!important; }
html body #photographerDeskPage.pb-profile-single .photographer-business-tools>.option-card:nth-last-child(-n+2) { border-bottom:0!important; }
html body #photographerDeskPage.pb-profile-single .pb-me-icon { display:flex!important;align-items:center;justify-content:center;width:22px;height:22px;margin:0!important;color:var(--pb-brand); }
html body #photographerDeskPage.pb-profile-single .pb-me-icon svg { width:22px;height:22px;stroke-width:1.8; }
html body #photographerDeskPage.pb-profile-single [data-pb-me-section=workbench]>.option-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
html body #photographerDeskPage.pb-profile-single [data-pb-me-section=workbench] .option-card { display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:var(--pb-me-bench)!important;padding:4px 2px!important;border-bottom:0!important;border-right:1px solid #edf0ed!important;text-align:center; }
html body #photographerDeskPage.pb-profile-single [data-pb-me-section=workbench] .option-card:last-child { border-right:0!important; }
html body #photographerDeskPage.pb-profile-single [data-pb-me-section=workbench] .pb-me-chevron { display:none!important; }
html body #photographerDeskPage.pb-profile-single [data-pb-me-section=workbench] .pb-me-label { font-size:14px!important;line-height:18px!important; }
html body #photographerDeskPage.pb-profile-single :is(.account-card,.account-card>.menu-list) { display:contents!important; }
html body #photographerDeskPage.pb-profile-single #photographerLogoutButton { box-sizing:border-box;flex:none;width:100%;min-height:var(--pb-me-action)!important;margin:0!important;padding:8px!important;border:1px solid #e8ece8!important;border-radius:12px!important;background:#fff!important;font:400 15px/20px var(--pb-font-ui)!important; }
html body #photographerDeskPage.pb-profile-single #photographerLogoutButton b { font:inherit!important; }
html body #photographerDeskPage.pb-profile-single #photographerNoviceCard { flex:none;margin:0!important;padding:0!important; }
html body #photographerDeskPage.pb-profile-single .photographer-novice-entry { box-sizing:border-box;width:100%;min-height:var(--pb-me-action)!important;padding:8px!important;border-radius:12px!important;background:#eaf2ed!important;border-color:#d1e0d6!important;color:var(--pb-brand)!important;font:500 15px/20px var(--pb-font-ui)!important; }
@media(prefers-reduced-motion:reduce){
  html body :is(#profilePage,#photographerDeskPage).pb-profile-single :is(.option-card,.menu-row,.profile-ai-entry-button,.profile-album-folder,.menu-ico,.pb-me-icon,.album-folder-icon,.profile-ai-entry-button>svg,.profile-ai-entry-button>i) { transition:none!important;animation:none!important;transform:none!important; }
}

/* Existing permission/conditional visibility wins over the layout display rules. */
html body :is(#profilePage,#photographerDeskPage).pb-profile-single :is([hidden][hidden],[style*="display:none"][style],[style*="display: none"][style]) { display:none!important; }

html body #photographerDeskPage.pb-profile-single [data-pb-me-section=business]>.photographer-business-tools { row-gap:clamp(0px,calc((var(--pb-profile-room,760px) - 600px) * .04),4px)!important; }

/* Center the icon and label in each business-menu column. */
html body #photographerDeskPage.pb-profile-single .photographer-business-tools>.option-card:nth-child(n) {
  grid-template-columns:22px minmax(0,max-content)!important;
  justify-content:center!important;
  padding:5px 8px!important;
}
html body #photographerDeskPage.pb-profile-single .photographer-business-tools>.option-card .pb-me-chevron { display:none!important; }

/* Each utility entry is centered inside its own column. */
html body #profilePage.pb-profile-single :is(.profile-ai-entry-button:not([data-open-poster]),.menu-row[data-user-tool]) {
  grid-template-columns:var(--pb-me-user-icon) minmax(0,max-content)!important;
  justify-content:center!important;
}
html body #profilePage.pb-profile-single :is(.profile-ai-entry-button:not([data-open-poster]),.menu-row[data-user-tool])>.pb-me-chevron { display:none!important; }
html body #profilePage.pb-profile-single [data-user-tool=help] { grid-column:1!important;border-right:0!important;border-bottom-right-radius:0!important; }
html body #profilePage.pb-profile-single .safety-alert-bottom-card { order:11!important;grid-column:2!important;margin:0!important; }
html body #profilePage.pb-profile-single #logoutButton { order:12!important; }
html body #profilePage.pb-profile-single .safety-alert-bottom {
  display:grid;grid-template-columns:var(--pb-me-user-icon) minmax(0,max-content);justify-content:center;align-items:center;gap:8px;
  min-height:var(--pb-me-row)!important;margin:0!important;padding:6px 10px!important;
  border:1px solid #e9eeeb!important;border-left:0!important;border-top:0!important;border-radius:0 0 12px 0!important;
  background:#fff!important;color:var(--pb-brand)!important;text-align:left;
}
html body #profilePage.pb-profile-single .safety-alert-symbol { width:var(--pb-me-user-icon)!important;height:var(--pb-me-user-icon)!important;background:transparent!important;color:var(--pb-brand)!important;border:1.8px solid currentColor;border-radius:50%!important;font-size:18px;line-height:1; }
html body #profilePage.pb-profile-single .safety-alert-copy { min-width:0;max-width:110px; }
html body #profilePage.pb-profile-single .safety-alert-copy b { color:var(--pb-ink,#252a32)!important; }
html body #profilePage.pb-profile-single .safety-alert-copy small { font-size:10px!important;line-height:13px!important;color:var(--pb-muted,#69736d)!important; }
html body #profilePage.pb-profile-single .safety-alert-action { display:none; }
html body #profilePage.pb-profile-single .safety-alert-bottom:is([data-safety-holding="1"],[data-busy="1"],[data-safety-active="1"]) .safety-alert-action { display:block;grid-column:2;color:var(--pb-brand)!important;font-size:11px;line-height:14px; }
html body #profilePage.pb-profile-single .profile-ai-entry-button[data-open-poster] { background:#edf4ef!important;border-color:#e7eee7!important; }
html body #profilePage.pb-profile-single .profile-ai-entry-button[data-open-poster]>svg { color:var(--pb-brand,#004239)!important; }

/* Section headings are plain text; remove the clipped decorative green border only. */
html body #photographerDeskPage.pb-profile-single [data-pb-me-section]>h2{border-left:0!important;padding-left:0!important}
