.profile-design .card-photo-switch{display:block;position:relative;width:100%;height:auto;aspect-ratio:4/5;padding:0;border:0;border-radius:0;overflow:hidden;background:var(--brand-soft);cursor:pointer}
.card-photo-switch img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .2s}.card-photo-second{opacity:0}.card-photo-switch.is-second .card-photo-first{opacity:0}.card-photo-switch.is-second .card-photo-second{opacity:1}.card-photo-counter{position:absolute;right:12px;bottom:12px;background:#0009;color:white;padding:4px 10px;border-radius:20px;font-size:12px}
.catalog-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:30px;align-items:start}.catalog-sidebar{position:sticky;top:20px}.catalog-sidebar .row,.catalog-sidebar .form-grid{display:block;margin:0}.catalog-sidebar [class*=col-md]{width:100%;max-width:none;padding:0}.catalog-sidebar .catalog-filters{padding:22px}.advanced-search summary{cursor:pointer;font-weight:600;margin-bottom:20px}.catalog-results{min-width:0}.profile-design .catalog-results .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
.focus-gallery{max-width:800px;margin:28px auto 36px}.focus-gallery-main{display:block;width:100%;height:auto;border:0;padding:0;background:var(--brand-soft);border-radius:16px;overflow:hidden;cursor:zoom-in}.focus-gallery-main img{display:block;width:100%;max-height:700px;object-fit:contain}.focus-gallery-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.focus-gallery-thumbs button{height:auto;min-height:0;padding:0;border:2px solid transparent;background:none;border-radius:10px;overflow:hidden;aspect-ratio:4/5}.focus-gallery-thumbs button[aria-pressed=true]{border-color:var(--brand)}.focus-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.photo-lightbox{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:50px 65px;background:#111;color:white}.photo-lightbox::backdrop{background:#000d}.photo-lightbox img{display:block;width:100%;height:100%;object-fit:contain}.photo-lightbox button{position:absolute;z-index:2;background:#ffffff20;color:white;border:0;font-size:35px;width:48px;height:48px;padding:0;border-radius:50%}.photo-lightbox [data-gallery-close]{right:16px;top:12px}.photo-lightbox [data-gallery-prev]{left:10px;top:45%}.photo-lightbox [data-gallery-next]{right:10px;top:45%}.photo-lightbox [data-gallery-count]{position:absolute;bottom:16px;left:50%;transform:translateX(-50%)}
.upload-busy{display:flex;align-items:center;gap:12px;padding:12px 0;font-weight:600}.upload-busy[hidden]{display:none}.upload-spinner{display:inline-block;width:23px;height:23px;border:3px solid #aaa6;border-top-color:currentColor;border-radius:50%;animation:upload-spin .8s linear infinite}@keyframes upload-spin{to{transform:rotate(360deg)}}.inbox-link{display:inline-flex;gap:7px;align-items:center}.unread-count{display:inline-flex;min-width:23px;height:23px;align-items:center;justify-content:center;border-radius:20px;padding:0 6px;background:#a33457;color:#fff;font-size:12px}.message-composer>summary{cursor:pointer;display:inline-block;border:1px solid currentColor;border-radius:24px;padding:10px 20px;margin:15px 0}.message-composer[open]>summary{margin-bottom:20px}
@media(max-width:850px){.catalog-workspace{grid-template-columns:1fr}.catalog-sidebar{position:static}.catalog-sidebar .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.catalog-sidebar .row>div:first-child{grid-column:1/-1}}@media(max-width:550px){.profile-design .catalog-results .profile-grid{grid-template-columns:1fr}.photo-lightbox{padding:50px 42px}.focus-gallery-thumbs{gap:7px}.inbox-link{font-size:12px}}
.unread-count[hidden]{display:none}
.catalog-filter-panel>summary{display:none;cursor:pointer;font-weight:600;padding:14px 20px;border:1px solid var(--line,#ccc);border-radius:12px}
@media(max-width:850px){.catalog-filter-panel>summary{display:block}.catalog-filter-panel[open]>summary{margin-bottom:12px}}
.spoken-language-options input[type=checkbox]{min-height:0!important;padding:0!important}
.number-stepper{display:flex;gap:8px;align-items:center}.number-stepper input{min-width:0;width:100%}.number-stepper button{border:1px solid var(--line,#ccc);background:var(--surface,#fff);color:var(--ink,#222);border-radius:10px;min-width:40px;height:44px;padding:0;font-size:22px}.number-stepper+input[type=range]{width:100%;padding:0;min-height:24px;accent-color:var(--brand,#b69755)}
.member-preset-picker{border:0;padding:0;margin:0 0 22px;min-width:0}.member-preset-picker legend{font:inherit;font-weight:600;width:auto}.preset-options{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0 16px}.preset-options label{display:inline-flex;align-items:center;gap:7px;margin:0;font-weight:400!important;line-height:1.5}.preset-options input[type=checkbox]{display:inline-block!important;position:static!important;opacity:1!important;appearance:auto!important;width:17px!important;height:17px!important;min-height:0!important;padding:0!important;margin:0!important;flex:none}.member-preset-picker input[type=text],.member-preset-picker select{width:100%}
@media(prefers-reduced-motion:reduce){.card-photo-switch img{transition:none}.upload-spinner{animation:none}}

/* Member controls: presentation only, existing routes and forms are retained. */
.site-header__utility-actions [data-unread-endpoint]{display:flex;align-items:center;gap:14px}
.site-header__utility-actions .inbox-link{position:relative;min-height:44px;padding:6px 3px;font-size:14px;line-height:1.3;text-decoration:none}
.inbox-link__icon{flex:none;width:20px;height:20px}
.inbox-link:focus-visible,.message-attachment-picker:focus-within{outline:2px solid var(--brand,#b69755);outline-offset:3px}
.member-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:20px}
.member-shortcuts__link,.member-settings>summary{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.member-settings{position:relative}
.member-settings[open]>a{display:block;padding:12px 16px;border:1px solid var(--line,#ccc);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#222);position:absolute;top:100%;right:0;z-index:15;white-space:nowrap}
.member-choice-note{border-left:2px solid var(--brand,#b69755);padding:12px 18px;margin:16px 0 24px}
.member-choice-note p{margin:8px 0 0}
.profile-workspace--enhanced [data-member-save-bar]{position:sticky;bottom:8px;z-index:10;display:flex;justify-content:flex-end;background:var(--surface,#fff);border:1px solid var(--line,#ddd);border-radius:12px;padding:12px;box-shadow:0 4px 20px #00000012;margin-top:24px}
.profile-workspace--enhanced [data-member-save-bar].is-floating{position:fixed;box-sizing:border-box}
.profile-workspace--enhanced .workspace-navigation a[aria-selected=true]{color:#fff!important}
#compatibility-form{max-width:820px;margin:24px auto 0}
.message-attachments{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}
.message-attachment-picker{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid var(--line,#ccc);border-radius:24px;cursor:pointer;font-weight:600}
.message-attachment-picker input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;overflow:hidden;clip-path:inset(50%);padding:0!important;border:0!important}
[data-attachment-names]{overflow-wrap:anywhere;font-size:14px;max-width:100%}
@media(max-width:550px){
  .site-header__utility-actions [data-unread-endpoint]{gap:8px}
  .site-header__utility-actions .inbox-link{min-width:44px;justify-content:center;padding:6px}
  .inbox-link__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .inbox-link .unread-count{position:absolute;top:0;right:-2px;min-width:18px;height:18px;padding:0 4px;font-size:11px}
  .member-shortcuts{gap:8px 16px}
  .member-shortcuts .button{width:100%;justify-content:center}
  .member-settings[open]>a{left:0;right:auto}
  .profile-workspace--enhanced [data-member-save-bar]{bottom:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));border-radius:12px 12px 0 0}
  [data-member-save-bar]>.button{width:100%;min-height:44px}
}
@media(max-height:500px){.profile-workspace--enhanced [data-member-save-bar]{position:static}}
.profile-design .profile-facts-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0;align-items:start}
.profile-design .profile-facts-group,.profile-design .profile-story{min-width:0;border:1px solid var(--line,#ddd);border-radius:16px;background:var(--surface,#fff);padding:24px}
.profile-design .profile-facts-groups h2{font:600 20px/1.4 var(--sans, sans-serif);margin:0 0 18px;color:var(--ink,#222)}
.profile-facts-group dl{margin:0}
.profile-facts-group dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--line,#ddd)}
.profile-facts-group dl>div:first-child{padding-top:0}.profile-facts-group dl>div:last-child{padding-bottom:0;border:0}
.profile-facts-group dt{font-size:14px;font-weight:400;color:var(--muted,#706c63);line-height:1.6;overflow-wrap:anywhere}
.profile-facts-group dd{font-size:16px;line-height:1.6;margin:0;color:var(--ink,#222);overflow-wrap:anywhere}
.profile-design .profile-story{grid-column:1/-1}
.profile-story p{font-size:16px;line-height:1.8;max-width:80ch;overflow-wrap:anywhere;margin:0}
@media(max-width:650px){.profile-design .profile-facts-groups{grid-template-columns:1fr;gap:14px}.profile-design .profile-facts-group,.profile-design .profile-story{padding:20px}.profile-facts-group dl>div{gap:12px}}
