/* Orbit profile editor — calm actions matching the approved translucent plum glass.
   Only visual treatment of the profile page; native preview/photo/accordion
   interactions and existing handlers remain unchanged. */
html body .app #onboarding{
  --orbit-profile-button-plum:rgba(91,39,82,.14);
  --orbit-profile-button-hover:rgba(111,55,107,.28);
  --orbit-profile-button-border:rgba(241,203,134,.24);
  --orbit-profile-button-gold:#f5dcae;
  --orbit-profile-button-text:#f1e4f4;
}
/* The active edit tab looks like a selected state, not a competing CTA. */
html body .app #onboarding .profile-edit-preview-tabs{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
html body .app #onboarding .profile-edit-preview-tabs > .profile-tab-current{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-height:39px!important;
  padding:9px 16px!important;
  border:1px solid rgba(241,203,134,.34)!important;
  border-radius:12px!important;
  background:rgba(91,39,82,.24)!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--orbit-profile-button-gold)!important;
  -webkit-text-fill-color:var(--orbit-profile-button-gold)!important;
  font:600 12px/1.35 Inter,system-ui,sans-serif!important;
  letter-spacing:0!important;
}
/* Preview = a quiet outline action that matches the active tab dimensions. */
html body .app #onboarding .profile-edit-preview-tabs > #openMyPreview{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-height:39px!important;
  padding:9px 16px!important;
  border:1px solid var(--orbit-profile-button-border)!important;
  border-radius:12px!important;
  background:var(--orbit-profile-button-plum)!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--orbit-profile-button-text)!important;
  -webkit-text-fill-color:var(--orbit-profile-button-text)!important;
  font:500 12px/1.35 Inter,system-ui,sans-serif!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  text-shadow:none!important;
  -webkit-backdrop-filter:blur(5px)!important;
  backdrop-filter:blur(5px)!important;
}
/* Changing a picture is primary; removing it should remain secondary. */
html body .app #onboarding .photo-editor .actions > #uploadProfilePhoto,
html body .app #onboarding .photo-editor .actions > #removeProfilePhoto{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:9px 15px!important;
  margin:0!important;
  border:1px solid var(--orbit-profile-button-border)!important;
  border-radius:12px!important;
  background:var(--orbit-profile-button-plum)!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--orbit-profile-button-text)!important;
  -webkit-text-fill-color:var(--orbit-profile-button-text)!important;
  font:600 12px/1.35 Inter,system-ui,sans-serif!important;
  text-shadow:none!important;
  -webkit-backdrop-filter:blur(5px)!important;
  backdrop-filter:blur(5px)!important;
}
html body .app #onboarding .photo-editor .actions > #uploadProfilePhoto{
  background:rgba(111,55,107,.25)!important;
  border-color:rgba(241,203,134,.37)!important;
  color:var(--orbit-profile-button-gold)!important;
  -webkit-text-fill-color:var(--orbit-profile-button-gold)!important;
}
html body .app #onboarding .photo-editor .actions > #removeProfilePhoto{
  background:rgba(91,39,82,.10)!important;
  border-color:rgba(241,203,134,.17)!important;
  font-weight:500!important;
}
/* The accordion rows are interactive cards; use the same soft plum finish. */
html body .app #onboarding details.orbit-profile-fold{
  background:rgba(91,39,82,.14)!important;
  background-color:rgba(91,39,82,.14)!important;
  background-image:none!important;
  border:1px solid rgba(241,203,134,.18)!important;
  border-radius:17px!important;
  box-shadow:0 10px 26px rgba(8,4,24,.06)!important;
  -webkit-backdrop-filter:blur(5px)!important;
  backdrop-filter:blur(5px)!important;
}
html body .app #onboarding details.orbit-profile-fold > summary{
  transition:background-color .18s ease!important;
}
html body .app #onboarding details.orbit-profile-fold > summary:hover,
html body .app #onboarding .profile-edit-preview-tabs > #openMyPreview:hover,
html body .app #onboarding .photo-editor .actions > :is(#uploadProfilePhoto,#removeProfilePhoto):hover{
  background:var(--orbit-profile-button-hover)!important;
}
html body .app #onboarding .profile-edit-preview-tabs > #openMyPreview:focus-visible,
html body .app #onboarding .photo-editor .actions > :is(#uploadProfilePhoto,#removeProfilePhoto):focus-visible,
html body .app #onboarding details.orbit-profile-fold > summary:focus-visible{
  outline:2px solid #f5dcae!important;
  outline-offset:3px!important;
}
html body .app #onboarding .photo-editor .actions > button:disabled{
  opacity:.5!important;
  cursor:not-allowed!important;
}
@media(max-width:700px){
 html body .app #onboarding .profile-edit-preview-tabs > :is(.profile-tab-current,#openMyPreview){
   flex:0 1 auto!important;
   min-width:0!important;
 }
 html body .app #onboarding .photo-editor .actions{
   gap:9px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html body .app #onboarding details.orbit-profile-fold > summary{transition:none!important}
}
