/* Identity surfaces only; product pictures and shared-list semantic art are untouched. */
body:not(#claba-avatar-legacy):not(#claba-avatar-override) .claba-user-avatar.claba-user-avatar{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;aspect-ratio:1;border:1px solid #FCE8F0!important;border-radius:50%!important;background:#FCE8F0!important;color:#C61760!important;overflow:hidden;padding:0!important;font-size:0!important;line-height:0!important;}
body .claba-user-avatar.claba-user-avatar>svg{display:block!important;width:100%!important;height:100%!important;fill:none!important;stroke:currentColor!important;}
body .claba-user-avatar.claba-user-avatar>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;border-radius:50%!important;object-fit:cover!important;}
body:not(#claba-avatar-legacy):not(#claba-avatar-override) .claba-user-avatar.claba-user-avatar.has-photo{border:0!important;}
body .c03-header-account .claba-user-avatar{width:36px;height:36px;}
body.private-redesign #event-summary-cards .claba-user-avatar.claba-user-avatar{width:40px!important;height:40px!important;min-width:40px!important;}
body.private-redesign #event-summary-cards#event-summary-cards .event-summary-people{grid-template-columns:repeat(auto-fill,88px);}
body.private-redesign #event-summary-cards#event-summary-cards .event-summary-person{gap:6px;}
body #profile-avatar.claba-user-avatar{width:64px;height:64px;}
body .gg-person .claba-user-avatar{width:32px;height:32px;vertical-align:middle;margin-right:8px;}
body .claba-photo-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;}
body .claba-photo-controls p{margin:0;}
body #event-summary-cards .event-summary-people{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:4px;}
body #event-summary-cards .event-summary-person{min-width:0;}
@layer claba-semantic-text{body.private-redesign #event-summary-cards#event-summary-cards#event-summary-cards#event-summary-cards .event-summary-organizer{font-size:11px!important;line-height:13px!important;margin-top:-6px!important;}}
body #event-group-roster{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(480px,calc(100% - 32px));max-height:85vh;overflow:auto;}
body #event-group-roster:not([open]){display:none;}
body .claba-roster-person{display:flex;align-items:center;gap:12px;padding:8px 0;}
body .claba-roster-person>span:last-child{overflow-wrap:anywhere;}

/* Header: one 40px avatar, transparent 44px accessible account target. */
html body:not(#claba-header-legacy):not(#claba-header-override) .site-header .c03-header-account {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body:not(#claba-header-legacy):not(#claba-header-override) .site-header .c03-header-account > .claba-user-avatar {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  border-radius: 50% !important;
}
html body:not(#claba-header-legacy):not(#claba-header-override) .site-header .c03-header-account:focus-visible {
  outline: 2px solid var(--c03-magenta, #C61760) !important;
  outline-offset: 2px !important;
}

/* Named fallbacks use a brand initial; unnamed identities retain the neutral user symbol. */
body:not(#claba-avatar-legacy):not(#claba-avatar-override) .claba-user-avatar.claba-user-avatar:not(.has-photo){border:0!important;}

/* Requested sizing: participants card only; account personal-data avatar only. */
body.private-redesign #event-summary-cards#event-summary-cards .event-summary-people{grid-template-columns:repeat(auto-fill,74px);gap:3px;}
body:not(#claba-avatar-legacy):not(#claba-avatar-override) #profile-avatar.claba-user-avatar{width:80px!important;height:80px!important;min-width:80px!important;min-height:80px!important;}

/* Cambiar foto: scoped magenta outline; preserve native focus-visible. */
body:not(#claba-avatar-legacy):not(#claba-avatar-override) #change-profile-photo,
body:not(#claba-avatar-legacy):not(#claba-avatar-override) #change-profile-photo:hover,
body:not(#claba-avatar-legacy):not(#claba-avatar-override) #change-profile-photo:active {
  border: 1px solid #C61760;
  color: #C61760;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: none;
  transform: none;
}

/* Local-only circular crop preview; the stored JPEG remains square. */
body #profile-photo-crop {position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px;border:1px solid #ded9df;border-radius:16px;background:#fff;color:#302833;box-shadow:0 16px 60px #0003;}
body #profile-photo-crop:not([open]) {display:none;}
body #profile-photo-crop::backdrop {background:#24162099;}
body #profile-photo-crop h2 {margin:0 36px 12px 0;font-size:22px;}
body #profile-photo-crop p {font-size:14px;line-height:1.45;overflow-wrap:anywhere;}
body #profile-photo-crop [data-crop-close] {position:absolute;right:10px;top:10px;width:40px;height:40px;padding:0;font-size:26px;border:0;background:transparent;color:#C61760;}
body #profile-photo-crop canvas {display:block;width:min(100%,280px,40dvh);height:auto;aspect-ratio:1;margin:16px auto;border-radius:50%;touch-action:none;cursor:grab;box-shadow:0 0 0 2px #C61760;}
body #profile-photo-crop canvas:active {cursor:grabbing;}
body #profile-photo-crop .claba-crop-zoom {display:flex;align-items:center;gap:12px;min-width:0;}
body #profile-photo-crop input {flex:1;min-width:0;width:100%;accent-color:#C61760;}
body #profile-photo-crop button {box-sizing:border-box;min-height:40px;padding:8px 12px;border:1px solid #C61760;border-radius:8px;background:#fff;color:#C61760;cursor:pointer;}
body #profile-photo-crop .claba-crop-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;}
body #profile-photo-crop [data-crop-save] {background:#C61760;color:#fff;}
body #profile-photo-crop button:disabled {opacity:.55;cursor:wait;}
body #profile-photo-crop :focus-visible {outline:2px solid #C61760;outline-offset:3px;}
@media(max-width:360px) {body #profile-photo-crop {padding:16px;}body #profile-photo-crop h2 {font-size:20px;}body #profile-photo-crop .claba-crop-actions {gap:8px;}}

/* Jose follow-up: remove only the photo-control underline, preserve outline/focus. */
body:not(#claba-avatar-legacy):not(#claba-avatar-override) #change-profile-photo,
body:not(#claba-avatar-legacy):not(#claba-avatar-override) #change-profile-photo:hover,
body:not(#claba-avatar-legacy):not(#claba-avatar-override) #change-profile-photo:active { text-decoration: none; }

/* Decoded photos only: measured 1px baseline -> 2px; border-box keeps outer size. */
body:not(#claba-avatar-legacy):not(#claba-avatar-override) .claba-user-avatar.claba-user-avatar.has-photo { border-width: 0 !important; }

/* Restore desktop header contract; sidebar Mi cuenta and mobile navigation stay intact. */
@media (min-width:741px) {
  html body:not(#claba-header-legacy):not(#claba-header-override) .site-header .c03-header-account { display: none !important; }
}

/* Tablet reuses the native mobile account link, avatar and notification dialog.
   Only the navigation entry is hidden: shared content and its ACL are untouched. */
.c03-header-name { display:none; }
@media (min-width:741px) and (max-width:1199px) {
  body.concept03[data-concept03-shell="account"] .c03-sidebar > .c03-account-link:not([hidden]),
  body.concept03[data-concept03-shell="account"] .c03-sidebar nav [data-c03-route="incoming"] { display:none; }
  body.concept03[data-concept03-shell="account"] > .site-header {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
  }
  html body.concept03[data-concept03-shell="account"]:not(#claba-header-legacy):not(#claba-header-override) .site-header .c03-header-account {
    display:inline-flex !important;
    width:auto !important;
    max-width:240px;
    flex:0 1 auto;
    gap:8px;
    border-radius:8px !important;
    color:inherit;
  }
  body.concept03[data-concept03-shell="account"] .c03-header-name {
    display:block;
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    font-size:14px;
    font-weight:600;
    line-height:1.4;
  }
  body.concept03[data-concept03-shell="account"] > .site-header .claba-notification-bell {
    position:relative;
    top:auto;
    right:auto;
    flex:0 0 44px;
    min-height:44px;
    margin-left:auto;
  }
  body.concept03[data-concept03-shell="account"] > .site-header .notification-label { display:none; }
}

/* No size changes: the initial fills the existing circular identity surface. */
body .claba-user-avatar.claba-user-avatar>.claba-avatar-initial{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%;font-family:inherit;font-size:20px!important;font-weight:600!important;line-height:1!important;color:#C61760!important;background:#FCE8F0!important;}
body #profile-avatar.claba-user-avatar>.claba-avatar-initial{font-size:36px!important;}
body .gg-person .claba-user-avatar>.claba-avatar-initial{font-size:16px!important;}

@layer claba-semantic-text {
html body:not(#claba-header-legacy):not(#claba-header-override) .site-header .c03-header-account > .claba-user-avatar.claba-user-avatar {
 display:inline-flex!important;box-sizing:border-box!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;flex:0 0 40px!important;border-radius:50%!important;
}
html body:not(#claba-header-legacy):not(#claba-header-override) .site-header .c03-header-account > .claba-user-avatar > .claba-avatar-initial {
 width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;border-radius:50%!important;font-size:23px!important;line-height:1!important;
}
}

/* Compact creation dialogs only on desktop: keep mobile declarations byte-intact. */
@layer claba-semantic-text { @media (min-width:1024px) {
html body.private-redesign.private-redesign:not(#claba-type-legacy):not(#claba-type-override) :is(#create-wishlist-dialog#create-wishlist-dialog,#create-event-dialog#create-event-dialog,#private-list-reminders-dialog#private-list-reminders-dialog) {
 --clu:.82px!important;box-sizing:border-box!important;width:560px!important;max-width:calc(100vw - 48px)!important;padding:22px 26px!important;max-height:calc(100dvh - 40px)!important;overflow:auto!important;
}
html body.private-redesign.private-redesign:not(#claba-type-legacy):not(#claba-type-override) #private-list-reminders-dialog#private-list-reminders-dialog form {gap:12px!important;}
html body.private-redesign.private-redesign:not(#claba-type-legacy):not(#claba-type-override) #private-list-reminders-dialog#private-list-reminders-dialog h2 {margin:0 40px 16px 0!important;}
} }
