/* Claba role system 20261001 — typography only; existing assets and geometry untouched. */
/* Reuse LIVE's existing important layer: unlayered !important cannot override it. */
@layer claba-semantic-text {
@font-face{font-family:"CLABA Inter";src:url('/assets/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--claba-type-family:"CLABA Inter",Arial,sans-serif;--claba-type-body:16px;--claba-type-help:14px;--claba-type-action:16px;--claba-type-card:18px;--claba-type-section:24px;--claba-type-subsection:20px;--claba-type-main:36px;--sans:var(--claba-type-family)}
/* Family alone is global. Sizes are assigned by semantic/component role, never universally. */
body:not(#claba-type-legacy):not(#claba-type-override),body:not(#claba-type-legacy):not(#claba-type-override) *:not(svg):not(svg *){font-family:var(--claba-type-family)!important}
body:not(#claba-type-legacy):not(#claba-type-override){font-size:var(--claba-type-body)!important}
body:not(#claba-type-legacy):not(#claba-type-override) :is(p,li,dd,dt,blockquote,.gift-description,.card-info,.claba-event-info,.invite-info,.gg-info,.gg-member,.gg-notification,.status,[role=status]){font-size:var(--claba-type-body)!important}
body:not(#claba-type-legacy):not(#claba-type-override) :is(p,li,dd,dt,blockquote,.gift-description){line-height:1.5!important}
body:not(#claba-type-legacy):not(#claba-type-override) :is(button,input:not([type=checkbox]):not([type=radio]),textarea,select,.btn,.button,.public-btn,.private-tabs button,.c03-sidebar nav a,.c03-header-account,.gift-method-tab):not(.dialog-close):not(.gift-detail-close):not([aria-label="Cerrar"]){font-size:var(--claba-type-action)!important}
body:not(#claba-type-legacy):not(#claba-type-override) :is(button,.btn,.button,.public-btn,.private-tabs button){font-weight:600!important}
body:not(#claba-type-legacy):not(#claba-type-override) :is(label,small,.muted,.help,.hint,.field-help,.form-help,.optional,.create-list-optional,.create-event-optional,.lists-badge,.event-status,.badge,.c03-side-label,.eyebrow,.step-label,.gift-kicker,.settings-hint,.gift-meta,.card-meta,.gg-meta,.private-dash-row small,.site-footer,.site-footer a,.site-footer p){font-size:var(--claba-type-help)!important;line-height:1.5!important}
body:not(#claba-type-legacy):not(#claba-type-override):not(.concept03-public) h1,body:not(#claba-type-legacy):not(#claba-type-override) :is(#dashboard-heading,#wishlist-title,#list-title,#event-gifts-title,#registered-title,#account-settings-title,#gg-detail .gg-heading h2){font-size:var(--claba-type-main)!important;line-height:1.15!important;font-weight:700!important}
body:not(#claba-type-legacy):not(#claba-type-override):not(.concept03-public) h2,body:not(#claba-type-legacy):not(#claba-type-override) :is(dialog h2,dialog>h3,.private-block-head h2,.private-panel-head h2,.gg-panel h3,.gg-event header h3,#shared-events-title,.detail-gift-heading h2,.event-gift-toolbar h3){font-size:var(--claba-type-section)!important;line-height:1.25!important;font-weight:700!important}
body:not(#claba-type-legacy):not(#claba-type-override):not(.concept03-public) h3,body:not(#claba-type-legacy):not(#claba-type-override) :is(#gift-capture-form h3,#privacy-lifecycle-title){font-size:var(--claba-type-subsection)!important;line-height:1.3!important;font-weight:600!important}
body:not(#claba-type-legacy):not(#claba-type-override) :is(.family-card h3,.gift-card h3,.gift-card h2,.gift-store-result h3,.private-event-list h3,.invite-panel h3,.gg-row h3,.continuity-card h3,.private-dash-row b,.invite-category h2){font-size:var(--claba-type-card)!important;line-height:1.3!important;font-weight:600!important}
/* Introductory descriptions are body, even when legacy markup calls them muted. */
body:not(#claba-type-legacy):not(#claba-type-override) #organizer-profile{font-size:var(--claba-type-body)!important}
/* Public interior headings share the application scale; home editorial retains its scale. */
body.concept03-public:not(#claba-type-legacy):not(#claba-type-override):not(:has(.public-hero)) h1{font-size:var(--claba-type-main)!important;line-height:1.15!important;font-weight:700!important}
/* Home editorial headlines intentionally retain their existing responsive scale. */
@media(max-width:740px){:root{--claba-type-main:28px}}
/* Shared account initials only: one scale across routes and viewport sizes.
   Keep the existing 43px mobile shortcut and 41px desktop avatar geometry. */
body.concept03:not(#claba-type-legacy):not(#claba-type-override) .site-header .c03-header-account > .c03-header-initials,
body.concept03:not(#claba-type-legacy):not(#claba-type-override) .c03-sidebar .c03-account-avatar{
 font-size:16px!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;
}
}

/* Action focus contract 20261009: no surrounding traces, keyboard-only flat signal.
   Resting secondary borders, inputs, cards, avatars and selected tabs stay intact. */
@layer claba-semantic-text {
html body:not(#claba-action-legacy):not(#claba-action-override):not(#claba-focus-1):not(#claba-focus-2):not(#claba-focus-3):not(#claba-focus-4):not(#claba-focus-5):not(#claba-focus-6):not(#claba-focus-7):not(#claba-focus-8) :is(button,a[href],summary,[role=button],[role=tab],input[type=button],input[type=submit],input[type=reset]) {
 outline:none!important; outline-offset:0!important; box-shadow:none!important; -webkit-tap-highlight-color:transparent!important;
}
html body:not(#claba-action-legacy):not(#claba-action-override):not(#claba-focus-1):not(#claba-focus-2):not(#claba-focus-3):not(#claba-focus-4):not(#claba-focus-5):not(#claba-focus-6):not(#claba-focus-7):not(#claba-focus-8) :is(button,a[href],summary,[role=button],[role=tab],input[type=button],input[type=submit],input[type=reset])::before,
html body:not(#claba-action-legacy):not(#claba-action-override):not(#claba-focus-1):not(#claba-focus-2):not(#claba-focus-3):not(#claba-focus-4):not(#claba-focus-5):not(#claba-focus-6):not(#claba-focus-7):not(#claba-focus-8) :is(button,a[href],summary,[role=button],[role=tab],input[type=button],input[type=submit],input[type=reset])::after {
 outline:none!important;box-shadow:none!important;
}
html body:not(#claba-action-legacy):not(#claba-action-override):not(#claba-focus-1):not(#claba-focus-2):not(#claba-focus-3):not(#claba-focus-4):not(#claba-focus-5):not(#claba-focus-6):not(#claba-focus-7):not(#claba-focus-8) dialog:focus {outline:none!important;}
html body:not(#claba-action-legacy):not(#claba-action-override):not(#claba-focus-1):not(#claba-focus-2):not(#claba-focus-3):not(#claba-focus-4):not(#claba-focus-5):not(#claba-focus-6):not(#claba-focus-7):not(#claba-focus-8) dialog :is(.dialog-close,.gift-detail-close,.single-reserve-close,[data-warning-close],[data-close],[aria-label^="Cerrar"]):is(button,[role=button]) {
 border-color:transparent!important;box-shadow:none!important;outline:none!important;
}
html[data-claba-input=keyboard] body:not(#claba-action-legacy):not(#claba-action-override):not(#claba-focus-1):not(#claba-focus-2):not(#claba-focus-3):not(#claba-focus-4):not(#claba-focus-5):not(#claba-focus-6):not(#claba-focus-7):not(#claba-focus-8) :is(button,a[href],summary,[role=button],[role=tab],input[type=button],input[type=submit],input[type=reset]):focus-visible {
 background-image:linear-gradient(rgba(127,127,127,.35),rgba(127,127,127,.35))!important;
 text-decoration-line:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important;
}
html[data-claba-input=keyboard] body:not(#claba-action-legacy):not(#claba-action-override):not(#claba-focus-1):not(#claba-focus-2):not(#claba-focus-3):not(#claba-focus-4):not(#claba-focus-5):not(#claba-focus-6):not(#claba-focus-7):not(#claba-focus-8) dialog :is(.dialog-close,.gift-detail-close,.single-reserve-close,[data-warning-close],[data-close],[aria-label^="Cerrar"]):focus-visible {
 text-decoration:none!important;
}
}

/* Shared close control: native Safari foreground, vector geometry and keyboard signal. */
@layer claba-semantic-text {
html body:not(#claba-close-1):not(#claba-close-2):not(#claba-close-3):not(#claba-close-4):not(#claba-close-5):not(#claba-close-6):not(#claba-close-7):not(#claba-close-8):not(#claba-close-9):not(#claba-close-10) .claba-close-control {
 appearance:none!important;-webkit-appearance:none!important;color:#111!important;-webkit-text-fill-color:#111!important;
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;flex:0 0 44px!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;
 outline:none!important;box-shadow:none!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 position:absolute!important;top:8px!important;right:8px!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:2;
}
html body .claba-close-control[hidden]{display:none!important}
html body .claba-close-control > svg{width:24px!important;height:24px!important;min-width:24px!important;fill:none!important;stroke:#111!important;stroke-width:2!important;stroke-linecap:round!important;pointer-events:none}
/* Transparent close controls in every modality; keyboard focus remains visible. */
html[data-claba-input=keyboard] body:not(#claba-close-11):not(#claba-close-1):not(#claba-close-2):not(#claba-close-3):not(#claba-close-4):not(#claba-close-5):not(#claba-close-6):not(#claba-close-7):not(#claba-close-8):not(#claba-close-9):not(#claba-close-10) .claba-close-control:focus-visible{background:transparent!important;background-image:none!important;text-decoration:none!important;outline:2px solid #C61760!important;outline-offset:2px!important}
}

#wishlist-index .own-list-placeholder {border:2px dashed #ad286866;background:#ad28680a;border-radius:16px;}
#wishlist-index .family-list > .family-card,
#wishlist-index .family-list > .family-card * {-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;}
html.own-list-dragging,html.own-list-dragging * {cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important;}
.own-list-drag-overlay,.own-list-drag-overlay * {pointer-events:none!important;}

/* Focus modality completion: native dialog restore may leave :focus-visible on
   tabindex cards after touch. Keep focus/restoration; suppress only the external
   focus paint, never borders, checked/selected state, errors or brand fills. */
@layer claba-semantic-text {
html[data-claba-input=pointer] body:not(#claba-action-legacy):not(#claba-action-override) :focus {
 outline:none!important;
}
html[data-claba-input=pointer] body:not(#claba-action-legacy):not(#claba-action-override) :is(input,select,textarea,[tabindex]):focus {
 box-shadow:none!important;
}
html[data-claba-input=keyboard] body:not(#claba-action-legacy):not(#claba-action-override) :is(input,select,textarea,[tabindex]):focus-visible {
 outline:3px solid #374151!important;outline-offset:3px!important;
}
}

/* Mobile navigation only: measured 14px -> 13px, icon gap 6px -> 2px. */
@layer claba-semantic-text{@media(max-width:740px){body.concept03:not(#claba-type-legacy):not(#claba-type-override) nav.c03-bottom-nav>a{gap:0!important}body.concept03:not(#claba-type-legacy):not(#claba-type-override) nav.c03-bottom-nav>a>span{font-size:13px!important}}}

/* Mobile floating navigation: preserves native links, icons, labels and desktop. */
@media(max-width:740px){
 body.concept03-account{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
 html:has(body.concept03-account){scroll-padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
 body.concept03-account nav.c03-bottom-nav{
  left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px));
  grid-template-columns:repeat(4,minmax(44px,1fr)) minmax(max-content,1.55fr);
  padding:5px;gap:2px;border:1px solid rgba(36,35,43,.18);border-radius:999px;
  background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(36,35,43,.035),0 1px 3px rgba(36,35,43,.025);isolation:isolate;
 }
 body.concept03-account nav.c03-bottom-nav>a{min-width:0;min-height:48px;padding:1px 2px;border-radius:999px;white-space:nowrap}
 body.concept03-account nav.c03-bottom-nav>a[aria-current="page"]{background:transparent;color:#C61760}
 body.concept03-account nav.c03-bottom-nav>a[aria-current="page"] :is(svg,path,rect,circle){color:#C61760!important;stroke:#C61760!important}
 body.concept03-account:has(dialog[open]) nav.c03-bottom-nav,
 body.concept03-account[data-c03-keyboard] nav.c03-bottom-nav{visibility:hidden;pointer-events:none}

}

/* Eventos: keep label and count on one line where the accepted final pair fits. */
@media(min-width:390px) and (max-width:740px){@layer claba-semantic-text{body.private-redesign.c03-dashboard:not(#claba-type-legacy):not(#claba-type-override) #claba-mis-eventos>.private-tabs button{white-space:nowrap!important}}}

/* Compact phones: retain every label and give the expanded surface room. */
@media(max-width:350px){
 body.concept03-account nav.c03-bottom-nav{
  left:max(6px,env(safe-area-inset-left,0px));right:max(6px,env(safe-area-inset-right,0px));
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(max-content,1fr) minmax(max-content,1fr) minmax(max-content,1.55fr);
 }
}

/* List reorder save: keep the ellipsis transparent while its native button is
   temporarily disabled. Preserve the disabled guard and keyboard focus paint. */
@layer claba-semantic-text {
:root body:not(#claba-disabled-policy-a):not(#claba-disabled-policy-b):not(#claba-disabled-policy-c):not(#claba-disabled-policy-d):not(#claba-disabled-policy-e):not(#claba-disabled-policy-f):not(#claba-disabled-policy-g):not(#claba-disabled-policy-h)
:is(#wishlist-index,#private-shared-lists) .family-list[aria-busy="true"] .mis-list-menu-toggle:disabled {
  background-color:transparent!important;
}
}

/* iPhone-inspired mobile capsule. Pale magenta is the site's existing #FCE6F0
 * (notifications artwork / former native surface), not neutral grey.
 * Opaque fallback works without backdrop-filter. Native geometry stays intact. */
.c03-glass-lens{display:none}
@media(max-width:740px){
 body.concept03-account nav.c03-bottom-nav{
  --c03-glass-magenta:#FCE6F0;
  background:#f8f8f8;touch-action:pan-y;isolation:isolate;
  border-color:rgba(31,41,55,.12);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.95),inset 0 -1px 1px rgba(31,41,55,.07),0 4px 18px rgba(31,41,55,.12);
 }
 body.concept03-account nav.c03-bottom-nav>a{position:relative;z-index:1;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
 body.concept03-account nav.c03-bottom-nav>a[aria-current="page"]{background:transparent;color:#C61760}
 body.concept03-account nav.c03-bottom-nav>.c03-glass-lens:not([hidden]){
  display:block;position:absolute;left:0;top:2px;height:calc(100% - 4px);border-radius:999px;
  pointer-events:none;z-index:0;box-sizing:border-box;transform-origin:center;will-change:transform;
  border:1px solid rgba(255,255,255,.82);
  background:linear-gradient(145deg,rgba(255,255,255,.36),rgba(255,255,255,.14) 55%,rgba(198,23,96,.045)),var(--c03-glass-magenta);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.92),inset 0 -1px 1px rgba(198,23,96,.09),0 1px 3px rgba(102,23,59,.06);
 }
 body.concept03-account nav.c03-bottom-nav[data-glass-pressed]>.c03-glass-lens{
  background:radial-gradient(ellipse at 35% 15%,rgba(255,255,255,.78),rgba(255,255,255,.2) 66%),var(--c03-glass-magenta);
  border-color:rgba(255,255,255,.98);box-shadow:inset 0 1px 2px #fff,inset 0 -1px 2px rgba(198,23,96,.13),0 1px 5px rgba(198,23,96,.08);
 }
 body.concept03-account nav.c03-bottom-nav>a:focus-visible{outline:3px solid #374151!important;outline-offset:1px}
 @supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){
  body.concept03-account nav.c03-bottom-nav{background:rgba(248,248,248,.84);backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25)}
  body.concept03-account nav.c03-bottom-nav>.c03-glass-lens{backdrop-filter:blur(2px) saturate(1.18);-webkit-backdrop-filter:blur(2px) saturate(1.18)}
 }
 @media(prefers-reduced-motion:reduce){
  body.concept03-account nav.c03-bottom-nav,body.concept03-account nav.c03-bottom-nav *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  body.concept03-account nav.c03-bottom-nav>.c03-glass-lens{backdrop-filter:none;-webkit-backdrop-filter:none}
 }
}

/* Installed mobile shell: keep the home-indicator clearance even when WebKit
 * reports a zero safe-area inset. Browser tabs and desktop keep their geometry. */
@media (max-width:740px) and (display-mode:standalone){
 html:has(body.concept03-account){
  --c03-standalone-bottom-inset:max(34px,env(safe-area-inset-bottom,0px));
  scroll-padding-bottom:calc(92px + var(--c03-standalone-bottom-inset));
 }
 body.concept03.concept03-account{padding-bottom:calc(92px + var(--c03-standalone-bottom-inset))}
 body.concept03-account nav.c03-bottom-nav{bottom:calc(2px + var(--c03-standalone-bottom-inset))}
}

/* Mobile account area: public home and desktop retain the full footer. */
@media (max-width:740px){
 body[data-concept03-shell="account"] footer.claba-footer{display:none!important}
}

/* Hide footer on mobile login and registration only. */
@media (max-width:740px){
 body:has(form#login-form) footer.claba-footer,
 body:has(form#register-form) footer.claba-footer{display:none!important}
}

/* Taller mobile capsule; preserve bottom offset, text, icons and desktop. */
@media(max-width:740px){
 body.concept03-account nav.c03-bottom-nav{padding:8px 5px}
}
