/*
 * Instabooster — /client signed out (sign in, create account) (owner redesign 2026-11-12, Claude Design canvas). Hand-written `.ac`
 * system (new class names only), mobile first; the wide layout is a container query on the page
 * root. Markup: src/components/brands/ib/account/auth.tsx + login-flow-ib.tsx.
 * Every rule in @layer ib, scoped to html[data-brand="ib"] .ac.
 */
@layer ib {
  /* ── ground rules inside the page: the site's element styles (links, headings, lists,
        buttons) do not reach in; every class rule below is stronger than these ── */
  html[data-brand="ib"] .ac :is(h1, h2, h3, p, ul, ol, li, figure) { margin: 0; padding: 0; }
  html[data-brand="ib"] .ac :is(h1, h2, h3, p, li) { font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; text-align: inherit; }
  html[data-brand="ib"] .ac :is(ul, ol) { list-style: none; }
  html[data-brand="ib"] .ac a { color: inherit; text-decoration: none; }
  html[data-brand="ib"] .ac :where(a):hover { color: inherit; text-decoration: none; }
  html[data-brand="ib"] .ac button { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; text-align: left; cursor: pointer; }
  html[data-brand="ib"] .ac input { margin: 0; padding: 0; min-width: 0; border-radius: 0; box-shadow: none; }
  html[data-brand="ib"] .ac :is(em, i) { font-style: normal; }
  html[data-brand="ib"] .ac mark { padding: 0; background: none; color: inherit; }
  html[data-brand="ib"] .ac [hidden] { display: none !important; }
  /* a tap or a click leaves no ring behind (the site's own focus style); the keyboard keeps its ring */
  html[data-brand="ib"] .ac :is(a, button):focus:not(:focus-visible) { outline: 0; }

  html[data-brand="ib"] .ac { --pk:#e61c72; --pk-d:#cf1665; --grad:linear-gradient(135deg,#e61c72 0%,#ff4d94 100%); --ink:#14181f; --text:#4b5563; --muted:#667085; --line:#e8eaed; --tint:#f6f7f9; --pk-tint:#fdeaf3; --ease:cubic-bezier(.2,.8,.2,1); container-type:inline-size; container-name:ac; position:relative; overflow:hidden; background:#fff; font-family:Montserrat,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:16px; line-height:1.5; color:var(--ink); -webkit-font-smoothing:antialiased; -webkit-tap-highlight-color:transparent; }
  html[data-brand="ib"] .ac * { box-sizing:border-box; min-width:0; }
  html[data-brand="ib"] .ac :where(h1,h2,h3,p,ul,ol,li) { margin:0; padding:0; }
  html[data-brand="ib"] .ac :where(ul,ol) { list-style:none; }
  html[data-brand="ib"] .ac :where(a) { text-decoration:none; }
  html[data-brand="ib"] .ac :where(button) { font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; text-align:left; }
  html[data-brand="ib"] .ac :where(svg) { display:block; flex:none; }
  html[data-brand="ib"] .ac :where(img) { display:block; max-width:100%; height:auto; }
  html[data-brand="ib"] .ac :is(a,button,input):focus-visible { outline:3px solid rgba(230,28,114,.5); outline-offset:2px; }
  html[data-brand="ib"] .ac .ac-ic { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  html[data-brand="ib"] .ac .ac-wrap { width:100%; max-width:1216px; margin:0 auto; padding:0 20px; }
  /* hero: one line, the door is right under it */
  html[data-brand="ib"] .ac .ac-hero { position:relative; background:radial-gradient(rgba(255,255,255,.16) 1.5px,transparent 1.7px) 0 0/28px 28px,var(--grad); color:#fff; }
  html[data-brand="ib"] .ac .ac-hero__in { padding-top:14px; padding-bottom:64px; }
  /* the hero text is the largest paint of the page: it slides in, it never starts invisible */
  html[data-brand="ib"] .ac .ac-hero h1 { margin-top:18px; font-size:30px; line-height:1.06; font-weight:800; letter-spacing:-.035em; animation:ac-slide .7s var(--ease) both; }
  html[data-brand="ib"] .ac .ac-lead { margin-top:10px; max-width:520px; font-size:15px; line-height:1.55; font-weight:500; color:rgba(255,255,255,.95); animation:ac-slide .7s .05s var(--ease) both; }
  /* one piece over the hero: the door (white) and what is behind it (ink, with a white list) */
  html[data-brand="ib"] .ac .ac-main { position:relative; margin-top:-40px; padding-bottom:48px; }
  html[data-brand="ib"] .ac .ac-grid { display:grid; gap:14px; animation:ac-rise .7s .1s var(--ease) both; }
  /* the door */
  html[data-brand="ib"] .ac .ac-door { padding:22px 18px 20px; border-radius:26px; background:#fff; box-shadow:0 24px 50px -30px rgba(20,24,31,.45),0 0 0 1px var(--line); }
  html[data-brand="ib"] .ac .ac-g { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:54px; border:1.5px solid #d5d9e0; border-radius:999px; font-size:15px; font-weight:700; color:var(--ink); transition:border-color .2s,transform .2s var(--ease); }
  html[data-brand="ib"] .ac .ac-g:hover { border-color:var(--ink); }
  html[data-brand="ib"] .ac .ac-g:active { transform:scale(.985); }
  html[data-brand="ib"] .ac .ac-g svg { width:20px; height:20px; }
  html[data-brand="ib"] .ac .ac-or { display:flex; align-items:center; gap:12px; margin:18px 0 16px; font-size:13px; font-weight:600; color:var(--muted); }
  html[data-brand="ib"] .ac .ac-or::before, html[data-brand="ib"] .ac .ac-or::after { content:""; flex:1; height:1px; background:var(--line); }
  html[data-brand="ib"] .ac .ac-lbl { display:block; font-size:13.5px; font-weight:700; }
  html[data-brand="ib"] .ac .ac-in { display:block; width:100%; height:54px; margin-top:6px; padding:0 16px; border:1.5px solid #d9dde4; border-radius:14px; background:#fff; font:inherit; font-size:16px; font-weight:600; color:var(--ink); transition:border-color .2s,box-shadow .2s; -webkit-appearance:none; appearance:none; }
  html[data-brand="ib"] .ac .ac-in::placeholder { color:#98a2b3; font-weight:500; }
  html[data-brand="ib"] .ac .ac-in:focus { outline:0; border-color:var(--pk); box-shadow:0 0 0 4px rgba(230,28,114,.14); }
  html[data-brand="ib"] .ac .ac-help { margin-top:8px; font-size:13px; line-height:1.5; font-weight:500; color:var(--muted); }
  html[data-brand="ib"] .ac .ac-btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:54px; margin-top:14px; border-radius:999px; background:var(--grad); font-size:15.5px; font-weight:800; color:#fff; box-shadow:0 14px 26px -16px rgba(230,28,114,.9); transition:transform .2s var(--ease),box-shadow .25s; }
  html[data-brand="ib"] .ac .ac-btn svg { width:18px; height:18px; transition:transform .25s var(--ease); }
  html[data-brand="ib"] .ac .ac-btn:hover svg { transform:translateX(3px); }
  html[data-brand="ib"] .ac .ac-btn:active { transform:scale(.985); }
  /* the two steps share one place: the second slides in where the first was */
  html[data-brand="ib"] .ac .ac-step { animation:ac-step .45s var(--ease) both; }
  html[data-brand="ib"] .ac .ac-sent { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; font-size:14px; line-height:1.5; font-weight:500; color:var(--text); }
  html[data-brand="ib"] .ac .ac-sent b { font-weight:700; color:var(--ink); overflow-wrap:anywhere; }
  html[data-brand="ib"] .ac .ac-link { display:inline-flex; align-items:center; min-height:44px; font-size:14px; font-weight:700; color:var(--pk-d); text-decoration:underline; text-decoration-color:rgba(207,22,101,.35); text-decoration-thickness:1.5px; text-underline-offset:4px; }
  html[data-brand="ib"] .ac .ac-link:hover { color:var(--pk-d); text-decoration-color:var(--pk-d); }
  /* one field, six boxes: the browser can fill the code from the e-mail or the SMS bar */
  html[data-brand="ib"] .ac .ac-code { position:relative; margin-top:10px; }
  html[data-brand="ib"] .ac .ac-code input { display:block; width:100%; height:60px; padding:0 0 0 calc((100% - 5 * 8px) / 12 - .32em); border:0; outline:0; background:none; font:inherit; font-size:26px; font-weight:800; font-variant-numeric:tabular-nums; letter-spacing:calc((100% - 5 * 8px) / 6 + 8px - .62em); color:var(--ink); caret-color:var(--pk); -webkit-appearance:none; appearance:none; }
  html[data-brand="ib"] .ac .ac-code__boxes { position:absolute; inset:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; pointer-events:none; }
  html[data-brand="ib"] .ac .ac-code__boxes i { border:1.5px solid #d9dde4; border-radius:14px; transition:border-color .2s,box-shadow .2s,background-color .2s; }
  html[data-brand="ib"] .ac .ac-code__boxes i.is-on { border-color:var(--ink); }
  html[data-brand="ib"] .ac .ac-code:focus-within .ac-code__boxes i.is-next { border-color:var(--pk); box-shadow:0 0 0 4px rgba(230,28,114,.14); }
  html[data-brand="ib"] .ac .ac-again { margin-top:12px; font-size:13px; line-height:1.5; font-weight:500; color:var(--muted); }
  html[data-brand="ib"] .ac .ac-foot { margin-top:18px; padding-top:16px; border-top:1px solid var(--line); font-size:13.5px; line-height:1.55; font-weight:500; color:var(--text); }
  html[data-brand="ib"] .ac .ac-foot p+p { margin-top:6px; color:var(--muted); }
  /* what is behind the door: the sections of the account (no sample order: it read as a purchase) */
  html[data-brand="ib"] .ac .ac-in2 { padding:20px 18px 22px; border-radius:26px; background:var(--ink); color:#fff; }
  html[data-brand="ib"] .ac .ac-in2 .ac-order { margin-top:0; }
  html[data-brand="ib"] .ac .ac-in2 .ac-h2 { margin-top:20px; }
  html[data-brand="ib"] .ac .ac-photo { display:none; }
  html[data-brand="ib"] .ac .ac-h2 { font-size:22px; line-height:1.16; font-weight:800; letter-spacing:-.03em; text-wrap:balance; }
  html[data-brand="ib"] .ac .ac-p { margin-top:8px; font-size:14.5px; line-height:1.6; font-weight:500; color:#aab1bd; }
  html[data-brand="ib"] .ac .ac-order { margin-top:18px; padding:16px; border:0; border-radius:20px; background:#fff; color:var(--ink); }
  html[data-brand="ib"] .ac .ac-order__acts { display:grid; gap:0; }
  html[data-brand="ib"] .ac .ac-order__acts li { display:flex; align-items:center; gap:10px; min-height:46px; border-bottom:1px solid var(--line); font-size:13.5px; font-weight:700; animation:ac-in .5s var(--ease) both; }
  html[data-brand="ib"] .ac .ac-order__acts li:last-child { border-bottom:0; margin-bottom:-6px; }
  html[data-brand="ib"] .ac .ac-order__acts li:first-child { margin-top:-6px; }
  html[data-brand="ib"] .ac .ac-order__acts li:nth-child(1) { animation-delay:.35s; }
  html[data-brand="ib"] .ac .ac-order__acts li:nth-child(2) { animation-delay:.45s; }
  html[data-brand="ib"] .ac .ac-order__acts li:nth-child(3) { animation-delay:.55s; }
  html[data-brand="ib"] .ac .ac-order__acts li:nth-child(4) { animation-delay:.65s; }
  html[data-brand="ib"] .ac .ac-order__acts li:nth-child(5) { animation-delay:.75s; }
  html[data-brand="ib"] .ac .ac-order__acts svg { width:18px; height:18px; color:var(--ink); }
  html[data-brand="ib"] .ac .ac-order__acts li b { flex:1; font-weight:700; }
  html[data-brand="ib"] .ac .ac-order__acts small { margin-left:auto; flex:none; font-size:12px; font-weight:600; color:var(--muted); text-align:right; white-space:nowrap; }
  html[data-brand="ib"] .ac .ac-guest { margin-top:16px; font-size:13px; line-height:1.6; font-weight:500; color:#8d95a3; }
  @keyframes ac-slide { from{transform:translateY(16px)}to{transform:none} }
  @keyframes ac-rise { from{opacity:.01;transform:translateY(22px)}to{opacity:1;transform:none} }
  @keyframes ac-step { from{opacity:.01;transform:translateX(18px)}to{opacity:1;transform:none} }
  @keyframes ac-zoom { from{transform:scale(1.06)}to{transform:none} }
  @keyframes ac-in { from{opacity:.01;transform:translateY(8px)}to{opacity:1;transform:none} }
  @media (prefers-reduced-motion:reduce) {
    html[data-brand="ib"] .ac * { animation:none!important; transition:none!important; }
  }
  /* phones: the hint of each section goes under its name */
  @container ac (max-width:439px) {
    html[data-brand="ib"] .ac .ac-order__acts li { flex-wrap:wrap; row-gap:0; padding:9px 0; }
    html[data-brand="ib"] .ac .ac-order__acts small { flex:1 0 100%; margin:0; padding-left:27px; text-align:left; }
  }
  /* the smallest phones */
  @container ac (max-width:350px) {
    html[data-brand="ib"] .ac .ac-wrap { padding-left:16px; padding-right:16px; }
    html[data-brand="ib"] .ac .ac-hero h1 { font-size:27px; }
    html[data-brand="ib"] .ac .ac-door { padding:18px 14px 16px; }
    html[data-brand="ib"] .ac .ac-code input { font-size:22px; }
    html[data-brand="ib"] .ac .ac-code__boxes { gap:6px; }
    html[data-brand="ib"] .ac .ac-order { padding:16px; }
  }
  @container ac (min-width:700px) {
    html[data-brand="ib"] .ac .ac-door { padding:30px 30px 26px; border-radius:30px; }
    html[data-brand="ib"] .ac .ac-in2 { padding:0 0 28px; border-radius:30px; overflow:hidden; }
    html[data-brand="ib"] .ac .ac-photo { display:block; height:260px; overflow:hidden; background:#e9e4dc; }
    html[data-brand="ib"] .ac .ac-photo img { width:100%; height:100%; object-fit:cover; object-position:62% 28%; animation:ac-zoom 1.6s var(--ease) both; }
    html[data-brand="ib"] .ac .ac-in2__b { position:relative; margin-top:-58px; padding:0 30px; }
    html[data-brand="ib"] .ac .ac-order { margin-top:0; box-shadow:0 22px 40px -24px rgba(0,0,0,.6); }
    html[data-brand="ib"] .ac .ac-h2 { margin-top:22px; }
  }
  /* desktop: the header sits on the hero; the door on the left, the account on the right */
  @container ac (min-width:960px) {
    html[data-brand="ib"] .ac .ac-wrap { padding:0 32px; }
    html[data-brand="ib"] .ac .ac-hero__in { max-width:1104px; padding-top:92px; padding-bottom:118px; }
    html[data-brand="ib"] .ac .ac-hero h1 { margin-top:26px; font-size:clamp(38px,3.8cqi,52px); }
    html[data-brand="ib"] .ac .ac-lead { margin-top:14px; font-size:16.5px; }
    html[data-brand="ib"] .ac .ac-main { margin-top:-78px; padding-bottom:88px; }
    /* the two halves are one panel: same height, one shadow, one corner */
    html[data-brand="ib"] .ac .ac-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; max-width:1040px; margin:0 auto; border-radius:36px; overflow:hidden; background:#fff; box-shadow:0 30px 60px -34px rgba(20,24,31,.5),0 0 0 1px var(--line); }
    html[data-brand="ib"] .ac .ac-door { display:flex; flex-direction:column; justify-content:center; padding:48px 48px 40px; border-radius:0; box-shadow:none; }
    html[data-brand="ib"] .ac .ac-in2 { padding:0 0 40px; border-radius:0; }
    html[data-brand="ib"] .ac .ac-photo { height:270px; }
    html[data-brand="ib"] .ac .ac-in2__b { padding:0 44px; }
    html[data-brand="ib"] .ac .ac-h2 { font-size:clamp(23px,2.2cqi,28px); }
    html[data-brand="ib"] .ac .ac-order { padding:20px; border-radius:22px; }
  }
  /* -- the real page -- */
  html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) section.header-top.ib-crumbs > .container { width: 100% !important; max-width: 1216px !important; margin: 0 auto !important; padding-left: 20px !important; padding-right: 20px !important; }
  @media (min-width: 960px) {
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) section.header-top.ib-crumbs > .container { max-width: 1104px !important; padding-left: 32px !important; padding-right: 32px !important; }
  }
  @media (max-width: 350px) {
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) section.header-top.ib-crumbs > .container { padding-left: 16px !important; padding-right: 16px !important; }
  }
  html[data-brand="ib"] .ac { overflow: clip; }
  html[data-brand="ib"] .ac [hidden] { display: none !important; }
  html[data-brand="ib"] .ac form { margin: 0; }
  /* room for the capsule: chrome.css gives the hero a 22 px (phones) / 62 px (desktop) top border */
  html[data-brand="ib"] .ac .ac-hero__in { padding-top: 50px; }
  html[data-brand="ib"] .ac .ac-hero h1 { margin-top: 0; color: #fff; }
  @media (min-width: 992px) {
    html[data-brand="ib"] .ac .ac-hero__in { padding-top: 14px; }
  }
  /* the footer of the account pages comes up over the end of the page */
  html[data-brand="ib"] .ac .ac-main { padding-bottom: 76px; }
  @container ac (min-width: 960px) {
    html[data-brand="ib"] .ac .ac-main { padding-bottom: 96px; }
  }
  /* the store's enabled providers (account/oauth.tsx), in the look of the door */
  html[data-brand="ib"] .ac .ibp-oauth-list { display: grid; gap: 10px; }
  html[data-brand="ib"] .ac .ibp-oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 18px; border: 1.5px solid #d5d9e0; border-radius: 999px; background: #fff; box-shadow: none; font-size: 15px; font-weight: 700; color: var(--ink); text-align: center; transition: border-color .2s, transform .2s var(--ease); }
  html[data-brand="ib"] .ac .ibp-oauth-btn:hover { border-color: var(--ink); box-shadow: none; }
  html[data-brand="ib"] .ac .ibp-oauth-btn:active { transform: scale(.985); }
  html[data-brand="ib"] .ac .ibp-oauth-btn.ibp-oauth-apple { background: var(--ink); border-color: var(--ink); color: #fff; }
  html[data-brand="ib"] .ac .ibp-oauth-btn:disabled { opacity: .7; cursor: wait; }
  html[data-brand="ib"] .ac .ibp-btn-spinner { width: 18px; height: 18px; border: 2.5px solid #d5d9e0; border-top-color: var(--ink); border-radius: 50%; animation: ac-turn .7s linear infinite; }
  html[data-brand="ib"] .ac .ac-help--c { text-align: center; }
  html[data-brand="ib"] .ac .ac-lbl { margin: 0; color: var(--ink); }
  html[data-brand="ib"] .ac .ac-in { margin-bottom: 0; line-height: 1.4; }
  html[data-brand="ib"] .ac .ac-in[aria-invalid="true"] { border-color: #c81e1e; }
  html[data-brand="ib"] .ac .ac-err { margin-top: 8px; font-size: 13.5px; line-height: 1.5; font-weight: 600; color: #b42318; }
  html[data-brand="ib"] .ac .ac-note { margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; background: var(--tint); font-size: 13.5px; line-height: 1.55; font-weight: 600; color: var(--ink); }
  html[data-brand="ib"] .ac .ac-note--warn { background: #fff4e0; color: #7a4a00; }
  html[data-brand="ib"] .ac .ac-btn:disabled { opacity: .5; box-shadow: none; cursor: default; }
  html[data-brand="ib"] .ac .ac-btn:disabled:hover svg { transform: none; }
  html[data-brand="ib"] .ac .ac-spin { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: ac-turn .7s linear infinite; }
  @keyframes ac-turn { to { transform: rotate(360deg); } }
  /* step 2 */
  html[data-brand="ib"] .ac .ac-sent { margin-bottom: 6px; }
  html[data-brand="ib"] .ac .ac-sent span { min-width: 0; }
  html[data-brand="ib"] .ac .ac-link--in { display: inline; min-height: 0; font-size: inherit; }
  html[data-brand="ib"] .ac .ac-link:disabled { opacity: .5; cursor: default; }
  html[data-brand="ib"] .ac .ac-wait { white-space: nowrap; font-variant-numeric: tabular-nums; }
  /* The code is one real field. Before the page runs it is a plain field; once it runs the six
     boxes show the digits and the field lies over them, transparent (no letter-spacing maths:
     it never drifts with the font). */
  html[data-brand="ib"] .ac .ac-code input { position: relative; height: 60px; margin: 0; padding: 0 14px; border: 1.5px solid #d9dde4; border-radius: 14px; background: #fff; box-shadow: none; font-size: 26px; line-height: 1; letter-spacing: .3em; text-align: center; }
  html[data-brand="ib"] .ac .ac-code:not(.ac-code--js) .ac-code__boxes { display: none; }
  html[data-brand="ib"] .ac .ac-code--js input { padding: 0; border-color: transparent; background: none; letter-spacing: 0; color: transparent; caret-color: transparent; }
  html[data-brand="ib"] .ac .ac-code--js input::selection { background: transparent; color: transparent; }
  html[data-brand="ib"] .ac .ac-code--js input:focus { outline: 0; box-shadow: none; }
  html[data-brand="ib"] .ac .ac-code__boxes i { display: grid; place-items: center; background: #fff; font-style: normal; font-size: 26px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
  html[data-brand="ib"] .ac .ac-code:has(input[aria-invalid="true"]) .ac-code__boxes i { border-color: #e9a7a0; }
  html[data-brand="ib"] .ac .ac-code:has(input:disabled) .ac-code__boxes i { opacity: .6; }
  @container ac (max-width: 350px) {
    html[data-brand="ib"] .ac .ac-code__boxes i { font-size: 22px; }
  }
  html[data-brand="ib"] .ac .ac-photo img { max-width: none; }
  /* desktop: the door opens with what you are about to do (the panel is as tall as the photo side) */
  html[data-brand="ib"] .ac .ac-top { display: none; }
  @container ac (min-width: 960px) {
    html[data-brand="ib"] .ac .ac-top { display: block; margin-bottom: 26px; }
    html[data-brand="ib"] .ac .ac-top h2 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-transform: none; }
    html[data-brand="ib"] .ac .ac-top p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; font-weight: 500; color: var(--text); }
  }
  /* While the session is checked (IbLoginSkeleton, `.ac--wait`) the page holds its place and
     shows only the hero colour: the view that replaces it is new DOM, so anything shown here
     would come in twice. The skeleton appears only when the answer is slow. */
  html[data-brand="ib"] .ac.ac--wait :is(.ac-hero h1, .ac-lead) { visibility: hidden; animation: none; }
  html[data-brand="ib"] .ac.ac--wait .ac-grid { animation: ac-late .3s 1.2s both; }
  html[data-brand="ib"] .ac.ac--wait .ac-grid :is(li, img) { animation: none; }
  @keyframes ac-late { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) {
    html[data-brand="ib"] .ac.ac--wait .ac-grid { visibility: hidden; }
  }
  /* Suspense fallback of the door (IbLoginSkeleton): as tall as the door it becomes */
  html[data-brand="ib"] .ac .ac-skel { min-height: 457px; }
  @container ac (min-width: 700px) {
    html[data-brand="ib"] .ac .ac-skel { min-height: 417px; }
  }
  @container ac (min-width: 960px) {
    html[data-brand="ib"] .ac .ac-skel { min-height: 0; }
  }
  /* The hero runs under the header on desktop (as on /blog, /servicios and /faq). */
  @media (min-width: 992px) {
    html[data-brand="ib"] .ac { top: -80px; margin-bottom: -80px; }
    html[data-brand="ib"] .ac .ac-hero { padding-top: 80px; }
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) #headerNav:not(.scrolled) { background: transparent !important; box-shadow: none !important; border-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) #headerNav:not(.scrolled) :is(.ib-nav-link, .ib-hact__btn, .ib-acc__label) { color: #fff !important; }
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) #headerNav:not(.scrolled) .ib-hact__btn svg { color: #fff; stroke: #fff; }
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) #headerNav:not(.scrolled) .ib-nav-link::after { background: #fff !important; }
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) #headerNav:not(.scrolled) .ib-nav-badge { background: #fff !important; color: #c9156e !important; box-shadow: none !important; }
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) #headerNav:not(.scrolled) .ib-logo { filter: brightness(0) invert(1); }
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) #headerNav:not(.scrolled) .ib-hact .ib-acc__avatar--initials { background: #fff !important; color: #e61c72 !important; box-shadow: none; }
    html[data-brand="ib"]:is([data-ib-marks~="ibp-login"]) #headerNav:not(.scrolled) .ib-hact img.ib-acc__avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }
  }
}
