/*
 * Instabooster — /afiliados/dashboard and its views (content kit; the frame is the customer area's) + /afiliados/login and /registro (additions over `.ac`) (owner redesign 2026-11-16, Claude Design canvas). Hand-written `.so`
 * system (new class names only), mobile first; the wide layout is a container query on the page
 * root. Markup: src/components/brands/ib/affiliates/*.tsx.
 * Every rule in @layer ib, scoped to html[data-brand="ib"] .so.
 */
@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"] .so :is(h1, h2, h3, p, ul, ol, li, figure) { margin: 0; padding: 0; }
  html[data-brand="ib"] .so :is(h1, h2, h3, p, li) { font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; text-align: inherit; }
  html[data-brand="ib"] .so :is(ul, ol) { list-style: none; }
  html[data-brand="ib"] .so a { color: inherit; text-decoration: none; }
  html[data-brand="ib"] .so :where(a):hover { color: inherit; text-decoration: none; }
  html[data-brand="ib"] .so 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"] .so input { margin: 0; padding: 0; min-width: 0; border-radius: 0; box-shadow: none; }
  html[data-brand="ib"] .so :is(em, i) { font-style: normal; }
  html[data-brand="ib"] .so mark { padding: 0; background: none; color: inherit; }
  html[data-brand="ib"] .so [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"] .so :is(a, button):focus:not(:focus-visible) { outline: 0; }

  html[data-brand="ib"] .so { --pk:#e61c72; --pk-d:#c2185b; --grad:linear-gradient(135deg,#e61c72 0%,#ff4d94 100%); --ink:#14181f; --text:#4b5563; --muted:#667085; --line:#e8eaed; --tint:#f6f7f9; --pk-tint:#fdeaf3; --pk-line:#f9c9dd; --ease:cubic-bezier(.2,.8,.2,1); container-type:inline-size; container-name:so; position:relative; background:#fff; font-family:Montserrat,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:15px; line-height:1.5; color:var(--ink); -webkit-font-smoothing:antialiased; -webkit-tap-highlight-color:transparent; }
  html[data-brand="ib"] .so * { box-sizing:border-box; min-width:0; }
  html[data-brand="ib"] .so :where(h1,h2,h3,p,ul,ol,li,dl,dt,dd) { margin:0; padding:0; }
  html[data-brand="ib"] .so :where(ul,ol) { list-style:none; }
  html[data-brand="ib"] .so :where(a) { text-decoration:none; }
  html[data-brand="ib"] .so :where(button) { font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; text-align:left; }
  html[data-brand="ib"] .so :where(svg) { display:block; flex:none; }
  html[data-brand="ib"] .so :where(img) { display:block; max-width:100%; height:auto; }
  html[data-brand="ib"] .so :where(input,select) { font:inherit; color:inherit; }
  html[data-brand="ib"] .so :is(a,button,input,select):focus-visible { outline:3px solid rgba(230,28,114,.5); outline-offset:2px; }
  html[data-brand="ib"] .so .so-ic { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
  /* the band: who you are and where you are. Everything below hangs from it */
  /* the account in four numbers, written on the pink itself */
  /* sections: a bottom bar on phones, one white bar hanging from the band on desktop */
  html[data-brand="ib"] .so .so-grid { display:grid; gap:16px; }
  html[data-brand="ib"] .so .so-col { display:grid; gap:16px; align-content:start; }
  html[data-brand="ib"] .so .so-box { border:1px solid var(--line); border-radius:20px; background:#fff; padding:18px 16px; }
  html[data-brand="ib"] .so .so-hx { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:6px; }
  html[data-brand="ib"] .so .so-h2 { font-size:17px; line-height:1.25; font-weight:800; letter-spacing:-.02em; }
  html[data-brand="ib"] .so .so-more { flex:none; display:inline-flex; align-items:center; gap:5px; font-size:13.5px; font-weight:700; color:var(--pk-d); }
  html[data-brand="ib"] .so .so-more svg { width:14px; height:14px; stroke-width:2.4; transition:transform .2s var(--ease); }
  html[data-brand="ib"] .so .so-more:hover { color:var(--pk-d); }
  html[data-brand="ib"] .so .so-more:hover svg { transform:translateX(3px); }
  html[data-brand="ib"] .so .so-p { font-size:14px; line-height:1.6; color:var(--text); }
  html[data-brand="ib"] .so .so-p b { color:var(--ink); font-weight:700; }
  html[data-brand="ib"] .so .so-small { font-size:12.5px; line-height:1.55; color:var(--muted); }
  html[data-brand="ib"] .so .so-link { font-weight:700; color:var(--pk-d); text-decoration:underline; text-decoration-color:var(--pk-line); text-underline-offset:3px; }
  /* buttons */
  html[data-brand="ib"] .so .so-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 18px; border-radius:12px; background:var(--grad); color:#fff; font-size:14px; font-weight:800; white-space:nowrap; box-shadow:0 10px 22px -14px rgba(230,28,114,.9); transition:transform .2s var(--ease); }
  html[data-brand="ib"] .so .so-btn:hover { transform:translateY(-1px); color:#fff; }
  html[data-brand="ib"] .so .so-btn svg { width:16px; height:16px; stroke-width:2.3; }
  html[data-brand="ib"] .so .so-btn--line { background:#fff; color:var(--ink); border:1.5px solid var(--line); box-shadow:none; }
  html[data-brand="ib"] .so .so-btn--line:hover { color:var(--pk-d); border-color:var(--pk-line); }
  html[data-brand="ib"] .so .so-btn--soft { background:var(--pk-tint); color:var(--pk-d); box-shadow:none; }
  html[data-brand="ib"] .so .so-btn--soft:hover { color:var(--pk-d); }
  html[data-brand="ib"] .so .so-btn--white { background:#fff; color:var(--pk-d); box-shadow:none; }
  html[data-brand="ib"] .so .so-btn--white:hover { color:var(--pk-d); }
  html[data-brand="ib"] .so .so-btn--sm { height:36px; padding:0 14px; border-radius:10px; font-size:13px; }
  html[data-brand="ib"] .so .so-btn--full { display:flex; width:100%; }
  html[data-brand="ib"] .so .so-btn--wrap { height:auto; min-height:36px; padding:8px 14px; white-space:normal; text-align:center; }
  html[data-brand="ib"] .so .so-btn--danger { background:#fff; color:#b42318; border:1.5px solid #f3c7c2; box-shadow:none; }
  html[data-brand="ib"] .so .so-btn--danger:hover { color:#b42318; }
  /* an order, the same row everywhere */
  html[data-brand="ib"] .so .so-hx + .so-o, html[data-brand="ib"] .so .so-o:first-child { border-top:0; }
  html[data-brand="ib"] .so .so-bar { height:8px; border-radius:999px; background:var(--pk-tint); overflow:hidden; }
  html[data-brand="ib"] .so .so-bar i { display:block; height:100%; border-radius:inherit; background:var(--grad); transform-origin:0 50%; animation:so-grow .9s .15s var(--ease) both; }
  html[data-brand="ib"] .so .so-st { display:inline-block; padding:3px 9px; border-radius:7px; font-size:12px; line-height:1.4; font-weight:800; white-space:nowrap; background:var(--tint); color:var(--text); }
  html[data-brand="ib"] .so .so-st--run { background:var(--pk-tint); color:var(--pk-d); }
  html[data-brand="ib"] .so .so-st--ok { background:#e6f5ec; color:#0b6b43; }
  html[data-brand="ib"] .so .so-st--bad { background:#fdecea; color:#b42318; }
  html[data-brand="ib"] .so .so-st--pause { background:#fff4dc; color:#8a5a00; }
  /* pink panels: what matters most on each view */
  html[data-brand="ib"] .so .so-pink { position:relative; overflow:hidden; border-radius:20px; padding:20px 18px; 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"] .so .so-pink .so-h2 { color:#fff; }
  html[data-brand="ib"] .so .so-pink p { color:rgba(255,255,255,.95); }
  html[data-brand="ib"] .so .so-pink p b { color:#fff; font-weight:800; }
  html[data-brand="ib"] .so .so-pink__n { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; margin:8px 0 2px; }
  html[data-brand="ib"] .so .so-pink__n b { font-size:30px; line-height:1.05; font-weight:800; letter-spacing:-.03em; }
  html[data-brand="ib"] .so .so-pink__n span { font-size:14px; font-weight:700; }
  html[data-brand="ib"] .so .so-pink .so-bar { margin-top:14px; background:rgba(255,255,255,.3); }
  html[data-brand="ib"] .so .so-pink .so-bar i { background:#fff; }
  html[data-brand="ib"] .so .so-pink .so-btn { margin-top:16px; }
  html[data-brand="ib"] .so .so-pink__row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin-top:16px; border-top:1px solid rgba(255,255,255,.3); }
  html[data-brand="ib"] .so .so-pink__row div { padding:12px 0 0; }
  html[data-brand="ib"] .so .so-pink__row div + div { padding-left:14px; border-left:1px solid rgba(255,255,255,.3); }
  html[data-brand="ib"] .so .so-pink__row span { display:block; font-size:12px; font-weight:600; color:rgba(255,255,255,.92); }
  html[data-brand="ib"] .so .so-pink__row b { display:block; font-size:18px; font-weight:800; letter-spacing:-.02em; }
  /* simple lists */
  html[data-brand="ib"] .so .so-hx + .so-li, html[data-brand="ib"] .so .so-li:first-child { border-top:0; }
  html[data-brand="ib"] .so .so-help { display:grid; gap:2px; }
  html[data-brand="ib"] .so .so-help :is(a,button) { display:flex; align-items:center; gap:10px; width:100%; padding:10px 0; font-size:14px; font-weight:600; color:var(--text); }
  html[data-brand="ib"] .so .so-help :is(a,button):hover { color:var(--pk-d); }
  html[data-brand="ib"] .so .so-help svg { width:18px; height:18px; color:var(--pk); }
  html[data-brand="ib"] .so .so-out { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; height:44px; margin-top:10px; border-radius:12px; border:1.5px solid var(--line); font-size:14px; font-weight:700; color:var(--text); }
  html[data-brand="ib"] .so .so-out svg { width:16px; height:16px; }
  /* orders: filters */
  /* one order */
  html[data-brand="ib"] .so .so-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:20px; }
  html[data-brand="ib"] .so .so-steps li { position:relative; display:grid; justify-items:center; gap:6px; font-size:11.5px; font-weight:700; color:rgba(255,255,255,.75); text-align:center; }
  html[data-brand="ib"] .so .so-steps li::before { content:""; width:18px; height:18px; border-radius:50%; border:2px solid rgba(255,255,255,.6); background:transparent; position:relative; z-index:1; }
  html[data-brand="ib"] .so .so-steps li + li::after { content:""; position:absolute; top:8px; right:50%; width:100%; height:2px; background:rgba(255,255,255,.35); }
  html[data-brand="ib"] .so .so-steps li.is-done, html[data-brand="ib"] .so .so-steps li.is-now { color:#fff; }
  html[data-brand="ib"] .so .so-steps li.is-done::before { background:#fff; border-color:#fff; }
  html[data-brand="ib"] .so .so-steps li.is-now::before { background:#fff; border-color:#fff; box-shadow:0 0 0 5px rgba(255,255,255,.3); }
  html[data-brand="ib"] .so .so-steps li.is-done + li::after { background:#fff; }
  html[data-brand="ib"] .so .so-dl { display:grid; }
  html[data-brand="ib"] .so .so-dl div { display:flex; justify-content:space-between; gap:16px; padding:11px 0; border-top:1px solid var(--line); font-size:14px; }
  html[data-brand="ib"] .so .so-dl div:first-child { border-top:0; }
  html[data-brand="ib"] .so .so-dl dt { flex:none; color:var(--muted); font-weight:600; }
  html[data-brand="ib"] .so .so-dl dd { font-weight:700; text-align:right; overflow-wrap:anywhere; }
  html[data-brand="ib"] .so .so-dl dd a { color:var(--pk-d); }
  html[data-brand="ib"] .so .so-hx + .so-acts, html[data-brand="ib"] .so .so-hx + .so-p, html[data-brand="ib"] .so .so-hx + .so-form { margin-top:10px; }
  /* profiles */
  html[data-brand="ib"] .so .so-hx + .so-pf { border-top:0; }
  /* subscriptions */
  /* points */
  html[data-brand="ib"] .so .so-form { display:grid; gap:12px; margin-top:12px; }
  html[data-brand="ib"] .so .so-form label { display:grid; gap:5px; font-size:13px; font-weight:700; color:var(--text); }
  html[data-brand="ib"] .so .so-in { width:100%; height:46px; padding:0 13px; border-radius:12px; border:1.5px solid var(--line); background:#fff; font-size:15px; font-weight:600; }
  html[data-brand="ib"] .so .so-in:focus { border-color:var(--pk); outline:0; box-shadow:0 0 0 4px rgba(230,28,114,.14); }
  html[data-brand="ib"] .so .so-in[readonly] { background:var(--tint); color:var(--text); }
  html[data-brand="ib"] .so .so-empty { padding:26px 8px; text-align:center; }
  html[data-brand="ib"] .so .so-empty p { max-width:420px; margin:6px auto 14px; }
  @keyframes so-slide { from{transform:translateY(10px)}to{transform:none} }
  @keyframes so-grow { from{transform:scaleX(0)}to{transform:none} }
  @container so (min-width:700px) {
    html[data-brand="ib"] .so .so-box { padding:22px 24px; }
    html[data-brand="ib"] .so .so-pink { padding:24px; }
    html[data-brand="ib"] .so .so-grid--2 { grid-template-columns:1fr 1fr; align-items:start; }
  }
  @container so (min-width:900px) {
    /* the sections: one white bar that hangs from the band, the current one filled in pink */
    html[data-brand="ib"] .so .so-grid--side { grid-template-columns:minmax(0,1fr) 340px; align-items:start; gap:20px; }
    html[data-brand="ib"] .so .so-grid--order { grid-template-columns:minmax(0,1fr) 380px; align-items:start; gap:20px; }
    html[data-brand="ib"] .so .so-col { gap:20px; }
    html[data-brand="ib"] .so .so-grid { gap:20px; }
  }
  @container so (min-width:900px) and (max-width:1080px) {
    html[data-brand="ib"] .so .so-grid--side { grid-template-columns:minmax(0,1fr) 300px; }
    html[data-brand="ib"] .so .so-grid--order { grid-template-columns:minmax(0,1fr) 320px; }
  }
  @media (prefers-reduced-motion:reduce) {
    html[data-brand="ib"] .so * { animation:none!important; transition:none!important; }
  }
  /* ── affiliate panel: what it adds to the customer-area kit ── */
  html[data-brand="ib"] .so .so-box { border-color:#f7dbe7; }
  html[data-brand="ib"] .so .so-h3 { font-size:14.5px; line-height:1.3; font-weight:800; letter-spacing:-.01em; }
  html[data-brand="ib"] .so .so-pink .so-small { color:rgba(255,255,255,.92); }
  html[data-brand="ib"] .so .so-pink .so-link { color:#fff; text-decoration-color:rgba(255,255,255,.6); }
  /* a link to copy: the field and its button are one piece */
  html[data-brand="ib"] .so .so-copy { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; margin-top:10px; }
  html[data-brand="ib"] .so .so-copy input { width:100%; height:46px; padding:0 13px; border-radius:12px; border:1.5px solid var(--pk-line); background:var(--pk-tint); font-size:14px; font-weight:700; color:var(--pk-d); text-overflow:ellipsis; }
  html[data-brand="ib"] .so .so-copy .so-btn { height:46px; }
  html[data-brand="ib"] .so .so-pink .so-copy input { border-color:transparent; background:rgba(255,255,255,.18); color:#fff; }
  html[data-brand="ib"] .so .so-share { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
  html[data-brand="ib"] .so .so-share a { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 14px 0 10px; border-radius:11px; border:1.5px solid var(--line); background:#fff; font-size:13.5px; font-weight:700; color:var(--ink); }
  html[data-brand="ib"] .so .so-share a:hover { border-color:var(--pk-line); color:var(--pk-d); }
  html[data-brand="ib"] .so .so-share img { width:20px; height:20px; object-fit:contain; }
  /* a sale / a payout: the same row everywhere, no table to scroll sideways */
  html[data-brand="ib"] .so .so-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 14px; padding:13px 0; border-top:1px solid var(--line); }
  html[data-brand="ib"] .so .so-hx + .so-row, html[data-brand="ib"] .so .so-row:first-child { border-top:0; }
  html[data-brand="ib"] .so .so-row__t { display:block; font-size:14.5px; line-height:1.35; font-weight:700; color:var(--ink); }
  html[data-brand="ib"] .so .so-row__m { display:block; font-size:12.5px; line-height:1.5; color:var(--muted); overflow-wrap:anywhere; }
  html[data-brand="ib"] .so .so-row__r { display:grid; justify-items:end; gap:4px; text-align:right; }
  html[data-brand="ib"] .so .so-row__r b { font-size:15px; font-weight:800; white-space:nowrap; }
  html[data-brand="ib"] .so .so-row__r b.is-off { color:var(--muted); text-decoration:line-through; }
  /* thirty days, drawn on the pink */
  html[data-brand="ib"] .so .so-chart { display:flex; align-items:flex-end; gap:3px; height:150px; margin-top:22px; border-bottom:1.5px solid rgba(255,255,255,.55); }
  html[data-brand="ib"] .so .so-chart i { position:relative; flex:1; min-height:2px; border-radius:4px 4px 0 0; background:rgba(255,255,255,.5); transform-origin:50% 100%; animation:so-rise .8s var(--ease) both; }
  html[data-brand="ib"] .so .so-chart i.is-sale { background:#fff; }
  html[data-brand="ib"] .so .so-chart i.is-sale::before { content:""; position:absolute; left:50%; top:-11px; width:6px; height:6px; margin-left:-3px; border-radius:50%; background:#fff; }
  html[data-brand="ib"] .so .so-chart__x { display:flex; justify-content:space-between; margin-top:6px; font-size:12px; font-weight:700; color:rgba(255,255,255,.95); }
  html[data-brand="ib"] .so .so-key { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:12px; font-size:12.5px; font-weight:600; color:rgba(255,255,255,.95); }
  html[data-brand="ib"] .so .so-key span { display:inline-flex; align-items:center; gap:7px; }
  html[data-brand="ib"] .so .so-key i { width:12px; height:12px; border-radius:3px; background:rgba(255,255,255,.5); }
  html[data-brand="ib"] .so .so-key i.is-sale { background:#fff; }
  html[data-brand="ib"] .so .so-pink__row--4 { grid-template-columns:1fr 1fr; }
  html[data-brand="ib"] .so .so-pink__row--4 div:nth-child(3) { padding-left:0; border-left:0; }
  html[data-brand="ib"] .so .so-pink__row--4 div:nth-child(n+3) { margin-top:12px; border-top:1px solid rgba(255,255,255,.3); }
  @keyframes so-rise { from{transform:scaleY(0)}to{transform:none} }
  /* shares: countries, devices */
  html[data-brand="ib"] .so .so-bars { display:grid; gap:12px; margin-top:10px; }
  html[data-brand="ib"] .so .so-bars li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 12px; font-size:14px; font-weight:700; }
  html[data-brand="ib"] .so .so-bars li span { font-weight:800; }
  html[data-brand="ib"] .so .so-bars .so-bar { grid-column:1/-1; }
  /* the QR on the pink */
  html[data-brand="ib"] .so .so-qr { display:grid; gap:16px; justify-items:start; }
  html[data-brand="ib"] .so .so-qr__c { width:100%; max-width:220px; padding:12px; border-radius:18px; background:#fff; }
  html[data-brand="ib"] .so .so-qr__c svg { width:100%; height:auto; }
  /* templates to copy */
  html[data-brand="ib"] .so .so-tpl { display:grid; gap:10px; align-content:start; }
  html[data-brand="ib"] .so .so-tpl__h { display:flex; align-items:center; justify-content:space-between; gap:12px; }
  html[data-brand="ib"] .so .so-tpl__h div { display:grid; }
  html[data-brand="ib"] .so .so-tpl__t { padding:14px; border-radius:14px; background:var(--pk-tint); font-size:13.5px; line-height:1.6; font-weight:500; color:var(--ink); white-space:pre-line; overflow-wrap:anywhere; }
  html[data-brand="ib"] .so .so-tips { counter-reset:tip; display:grid; margin-top:4px; }
  html[data-brand="ib"] .so .so-tips li { counter-increment:tip; display:grid; align-content:start; grid-template-columns:44px minmax(0,1fr); gap:0 6px; padding:14px 0; border-top:1px solid var(--line); font-size:14px; line-height:1.55; color:var(--text); }
  html[data-brand="ib"] .so .so-tips li:first-child { border-top:0; }
  html[data-brand="ib"] .so .so-tips li::before { content:"0" counter(tip); grid-row:1/3; font-size:22px; line-height:1.1; font-weight:800; letter-spacing:-.03em; color:var(--pk); }
  html[data-brand="ib"] .so .so-tips b { display:block; font-size:14.5px; font-weight:800; color:var(--ink); }
  /* forms */
  html[data-brand="ib"] .so .so-form .so-small { margin-top:-4px; }
  html[data-brand="ib"] .so .so-seg { display:flex; gap:6px; padding:5px; border-radius:14px; background:var(--pk-tint); }
  html[data-brand="ib"] .so .so-seg button { flex:1 1 auto; height:40px; padding:0 8px; border-radius:10px; font-size:13px; font-weight:800; color:var(--pk-d); text-align:center; white-space:nowrap; }
  html[data-brand="ib"] .so .so-seg button.is-on { background:var(--grad); color:#fff; box-shadow:0 8px 16px -12px rgba(230,28,114,.9); }
  html[data-brand="ib"] .so .so-pink .so-form label { color:#fff; }
  html[data-brand="ib"] .so .so-pink .so-in { border-color:transparent; color:var(--ink); }
  html[data-brand="ib"] .so .so-pink .so-copy .so-btn, html[data-brand="ib"] .so .so-pink .so-money .so-btn { margin-top:0; }
  html[data-brand="ib"] .so .so-money { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
  html[data-brand="ib"] .so .so-money .so-btn { height:46px; margin-top:0; }
  html[data-brand="ib"] .so .so-wait { max-width:680px; margin:0 auto; }
  @container so (max-width:350px) {
    html[data-brand="ib"] .so .so-copy { grid-template-columns:1fr; }
    html[data-brand="ib"] .so .so-money { grid-template-columns:1fr; }
    html[data-brand="ib"] .so .so-seg button { padding:0 5px; font-size:12px; }
  }
  @container so (min-width:700px) {
    html[data-brand="ib"] .so .so-pink__row--4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
    html[data-brand="ib"] .so .so-pink__row--4 div:nth-child(3) { padding-left:14px; border-left:1px solid rgba(255,255,255,.3); }
    html[data-brand="ib"] .so .so-pink__row--4 div:nth-child(n+3) { margin-top:0; border-top:0; }
    html[data-brand="ib"] .so .so-chart { height:200px; gap:5px; }
    html[data-brand="ib"] .so .so-grid--3 { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; }
    html[data-brand="ib"] .so .so-form--2 { grid-template-columns:1fr 1fr; }
    html[data-brand="ib"] .so .so-form--2 .is-wide { grid-column:1/-1; }
    html[data-brand="ib"] .so .so-qr { grid-template-columns:220px minmax(0,1fr); align-items:center; }
  }
  @container so (min-width:900px) {
    html[data-brand="ib"] .so .so-qr { grid-template-columns:1fr; }
    html[data-brand="ib"] .so .so-out { display:none; }
    html[data-brand="ib"] .so .so-tips { grid-template-columns:1fr 1fr; gap:0 32px; }
    html[data-brand="ib"] .so .so-tips li:nth-child(2) { border-top:0; }
  }
  /* -- the real page -- */
  html[data-brand="ib"] .iba--panel.so-page { background: #fff5f9; }
  html[data-brand="ib"] .so { background: none; overflow: visible; }
  html[data-brand="ib"] .so form { margin: 0; }
  html[data-brand="ib"] .so label { margin: 0; }
  html[data-brand="ib"] .so :is(input, select, textarea) { margin: 0; box-shadow: none; }
  html[data-brand="ib"] .so .so-in { padding: 0 13px; border-radius: 12px; line-height: 1.4; }
  html[data-brand="ib"] .so select.so-in { padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; }
  html[data-brand="ib"] .so .so-in[aria-invalid="true"] { border-color: #c81e1e; }
  html[data-brand="ib"] .so .so-in:disabled { background: var(--tint); color: var(--muted); }
  html[data-brand="ib"] .so .so-copy input { padding: 0 13px; border-radius: 12px; }
  html[data-brand="ib"] .so .so-btn:disabled { opacity: .55; box-shadow: none; cursor: default; transform: none; }
  html[data-brand="ib"] .so .so-btn.is-done { background: #e6f5ec; color: #0b6b43; box-shadow: none; }
  html[data-brand="ib"] .so .so-spin { width: 16px; height: 16px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: currentColor; border-radius: 50%; animation: so-turn .7s linear infinite; }
  @keyframes so-turn { to { transform: rotate(360deg); } }
  html[data-brand="ib"] .so .so-err { font-size: 13px; line-height: 1.5; font-weight: 600; color: #b42318; }
  html[data-brand="ib"] .so .so-pink .so-err { padding: 8px 12px; border-radius: 10px; background: #fff; }
  html[data-brand="ib"] .so .so-note { padding: 12px 14px; border-radius: 14px; background: #e6f5ec; font-size: 13.5px; line-height: 1.55; font-weight: 600; color: #0b6b43; }
  html[data-brand="ib"] .so .so-note--bad { background: #fdecea; color: #b42318; }
  html[data-brand="ib"] .so .so-pink .so-note { background: #fff; color: var(--ink); }
  /* suggestions for the tag of a link */
  html[data-brand="ib"] .so .so-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  html[data-brand="ib"] .so .so-chips button { height: 30px; padding: 0 11px; border-radius: 999px; background: var(--pk-tint); font-size: 12.5px; font-weight: 800; color: var(--pk-d); }
  html[data-brand="ib"] .so .so-chips button:hover { background: var(--pk-line); }
  /* a password you can look at */
  html[data-brand="ib"] .so .so-pw { position: relative; display: block; }
  html[data-brand="ib"] .so .so-pw .so-in { padding-right: 84px; }
  html[data-brand="ib"] .so .so-pw button { position: absolute; top: 0; right: 4px; height: 46px; padding: 0 10px; font-size: 12.5px; font-weight: 800; color: var(--pk-d); }
  /* nothing yet: say what to do next */
  html[data-brand="ib"] .so .so-empty { padding: 18px 4px 6px; text-align: left; }
  html[data-brand="ib"] .so .so-empty p { max-width: none; margin: 0 0 12px; }
  html[data-brand="ib"] .so .so-chart i:hover { background: #fff; }
  html[data-brand="ib"] .so .so-best { margin-top: 12px; font-size: 13.5px; line-height: 1.5; font-weight: 600; }
  html[data-brand="ib"] .so .so-tpl__t { margin: 0; font-family: inherit; }
  html[data-brand="ib"] .so .so-qr__c svg { display: block; width: 100%; height: auto; }
  html[data-brand="ib"] .so .so-share a { text-decoration: none; }
  html[data-brand="ib"] .so .so-steps { padding: 0; }
  html[data-brand="ib"] .so .so-out { background: #fff; }
  /* «Copiar mi enlace»: the white button of the band, here a <button> */
  html[data-brand="ib"] .iba--panel button.cu-new { border: 0; font-family: inherit; cursor: pointer; }
  html[data-brand="ib"] .iba--panel button.cu-new.is-done { color: #0b6b43; }

  /* ── /afiliados/login and /afiliados/registro: the sign-in piece (.ac, login-sections.css) with what
        is behind the door on PINK ── */
  html[data-brand="ib"] .ac.ac--af .ac-in2 { background: radial-gradient(rgba(255,255,255,.16) 1.5px, transparent 1.7px) 0 0/28px 28px, linear-gradient(135deg, #e61c72 0%, #ff4d94 100%); }
  html[data-brand="ib"] .ac.ac--af .ac-p { color: rgba(255, 255, 255, .96); }
  html[data-brand="ib"] .ac.ac--af .ac-h2 { color: #fff; }
  html[data-brand="ib"] .ac.ac--af .af-top h2 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; color: var(--ink); text-transform: none; }
  html[data-brand="ib"] .ac.ac--af .af-top p { margin: 6px 0 18px; font-size: 14px; line-height: 1.55; font-weight: 500; color: var(--text); }
  html[data-brand="ib"] .ac.ac--af .af-fields { display: grid; gap: 14px; }
  html[data-brand="ib"] .ac.ac--af .af-fields .ac-in { margin-top: 6px; }
  html[data-brand="ib"] .ac.ac--af .af-pw { position: relative; display: block; }
  html[data-brand="ib"] .ac.ac--af .af-pw .ac-in { padding-right: 88px; }
  html[data-brand="ib"] .ac.ac--af .af-pw button { position: absolute; right: 6px; bottom: 0; height: 54px; padding: 0 10px; font-size: 13px; font-weight: 800; color: var(--pk-d); }
  html[data-brand="ib"] .ac.ac--af .af-seg { display: flex; gap: 6px; margin-top: 6px; padding: 5px; border-radius: 14px; background: var(--pk-tint); }
  html[data-brand="ib"] .ac.ac--af .af-seg label { flex: 1 1 auto; display: grid; place-items: center; height: 42px; margin: 0; padding: 0 8px; border-radius: 10px; font-size: 13.5px; font-weight: 800; color: #c2185b; white-space: nowrap; cursor: pointer; }
  html[data-brand="ib"] .ac.ac--af .af-seg input { position: absolute; opacity: 0; pointer-events: none; }
  html[data-brand="ib"] .ac.ac--af .af-seg label.is-on { background: var(--grad); color: #fff; }
  html[data-brand="ib"] .ac.ac--af .af-seg label:focus-within { outline: 3px solid rgba(230, 28, 114, .5); outline-offset: 2px; }
  html[data-brand="ib"] .ac.ac--af .af-ok { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; font-size: 13.5px; line-height: 1.5; font-weight: 600; color: var(--text); cursor: pointer; }
  html[data-brand="ib"] .ac.ac--af .af-ok input { width: 22px; height: 22px; margin: 0; padding: 0; accent-color: #e61c72; }
  html[data-brand="ib"] .ac.ac--af .af-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  html[data-brand="ib"] .ac.ac--af .af-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .35); }
  html[data-brand="ib"] .ac.ac--af .af-facts li { padding: 12px 0 0; }
  html[data-brand="ib"] .ac.ac--af .af-facts li + li { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .35); }
  html[data-brand="ib"] .ac.ac--af .af-facts b { display: block; font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: #fff; }
  html[data-brand="ib"] .ac.ac--af .af-facts span { display: block; font-size: 12.5px; line-height: 1.35; font-weight: 600; color: rgba(255, 255, 255, .95); }
  html[data-brand="ib"] .ac.ac--af .af-how { counter-reset: how; display: grid; margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .35); }
  html[data-brand="ib"] .ac.ac--af .af-how li { counter-increment: how; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); font-size: 13.5px; line-height: 1.5; font-weight: 500; color: rgba(255, 255, 255, .96); }
  html[data-brand="ib"] .ac.ac--af .af-how li:last-child { border-bottom: 0; }
  html[data-brand="ib"] .ac.ac--af .af-how li::before { content: "0" counter(how); grid-row: 1 / 3; font-size: 17px; font-weight: 800; color: #fff; }
  html[data-brand="ib"] .ac.ac--af .af-how b { display: block; font-size: 14.5px; font-weight: 800; color: #fff; }
  html[data-brand="ib"] .ac.ac--af .ac-note--ok { background: #e6f5ec; color: #0b6b43; }
  html[data-brand="ib"] .ac.ac--af .af-forgot { margin: 10px 0 0; text-align: right; font-size: 13.5px; line-height: 1.4; font-weight: 700; }
  html[data-brand="ib"] .ac.ac--af a.ac-btn { text-decoration: none; }
  html[data-brand="ib"] .ac.ac--af .af-done .ac-note { margin: 0; }
  html[data-brand="ib"] .ac.ac--af .af-wait { min-height: 230px; }
  @container ac (max-width: 350px) {
    html[data-brand="ib"] .ac.ac--af .af-seg label { padding: 0 4px; font-size: 12px; }
    html[data-brand="ib"] .ac.ac--af .af-facts b { font-size: 19px; }
  }
  @container ac (min-width: 960px) {
    html[data-brand="ib"] .ac.ac--af .ac-door.af-door--form { justify-content: flex-start; }
    html[data-brand="ib"] .ac.ac--af .af-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  }
}
