/*
 * Instabooster — tools redesign (owner, 2026-11-10): /herramientas and the six tool pages share
 * one hand-written system (not from live.css): flat pink hero band with a photo, a white tool
 * card that overlaps the band (form on the left, result panel on the right), Montserrat, 20 px
 * white cards, pink pills, green checks, «Más herramientas» row and a flat pink closing band.
 * Flat colours only. Markup: src/components/brands/ib/tools/tz-shared.tsx + each tool view.
 * Loaded render-blocking on the tools templates (css-bundles.ts). Every rule in @layer ib,
 * scoped to html[data-brand="ib"] .tz (two classes: wins over the element rules of live.css).
 */
@layer ib {
  html[data-brand="ib"] .tz {
    --tz-pink: #e61c72;
    --tz-pink-d: #cf1665;
    /* the store's official pink with its short gradient (owner, 2026-11-12): solid fills use it */
    --tz-grad: linear-gradient(135deg, #e61c72 0%, #ff4d94 100%);
    --tz-grad-h: linear-gradient(135deg, #cf1665 0%, #f23d86 100%);
    --tz-ink: #14181f;
    --tz-text: #4b5563;
    --tz-muted: #6b7280;
    --tz-line: #e8eaed;
    --tz-tint: #f8f9fb;
    --tz-green: #0b7a4b;
    --tz-green-bg: #e7f6ee;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--tz-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
  }
  html[data-brand="ib"] .tz :where(h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure, form, fieldset) {
    margin: 0;
    padding: 0;
  }
  html[data-brand="ib"] .tz :where(h1, h2, h3, h4) {
    font-family: inherit;
    color: inherit;
  }
  html[data-brand="ib"] .tz :where(ul, ol) {
    list-style: none;
  }
  html[data-brand="ib"] .tz :where(fieldset) {
    border: 0;
    min-width: 0;
  }
  html[data-brand="ib"] .tz :where(img, svg) {
    display: block;
  }
  html[data-brand="ib"] .tz :where(strong, b) {
    font-weight: 700;
  }
  html[data-brand="ib"] .tz :where(button, input, select, textarea) {
    font-family: inherit;
  }
  html[data-brand="ib"] .tz :where(button) {
    cursor: pointer;
  }
  html[data-brand="ib"] .tz a,
  html[data-brand="ib"] .tz a:where(:hover) {
    color: inherit;
    text-decoration: none;
  }
  html[data-brand="ib"] .tz :is(a, button, summary, input, select, textarea):focus-visible {
    outline: 3px solid rgba(230, 28, 114, 0.45);
    outline-offset: 2px;
  }
  html[data-brand="ib"] .tz :is(button, summary):focus:not(:focus-visible) {
    outline: none;
  }

  /* ── shared pieces ── */
  html[data-brand="ib"] .tz .tz-wrap {
    max-width: 1224px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  html[data-brand="ib"] .tz .tz-ic {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  html[data-brand="ib"] .tz .tz-eyebrow {
    align-self: flex-start;
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--tz-pink-d);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
  }
  html[data-brand="ib"] .tz .tz-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--tz-pink-d);
  }
  html[data-brand="ib"] .tz .tz-kicker--muted {
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-h2 {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  html[data-brand="ib"] .tz .tz-lead {
    margin-top: 8px;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--tz-green-bg);
    color: var(--tz-green);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
  }
  html[data-brand="ib"] .tz .tz-tag--line {
    background: #fff;
    border: 1px solid var(--tz-line);
    color: #374151;
    font-weight: 700;
  }
  html[data-brand="ib"] .tz .tz-tag--dark {
    background: var(--tz-ink);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  html[data-brand="ib"] .tz .tz-tag--white {
    background: #fff;
    color: var(--tz-ink);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* buttons */
  html[data-brand="ib"] .tz .tz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--tz-grad);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.18s ease, transform 0.18s ease;
  }
  html[data-brand="ib"] .tz .tz-btn:hover {
    background: var(--tz-grad-h);
    color: #fff;
  }
  html[data-brand="ib"] .tz .tz-btn:active {
    transform: translateY(1px);
  }
  html[data-brand="ib"] .tz .tz-btn[disabled] {
    background: #9ca3af;
    cursor: default;
  }
  html[data-brand="ib"] .tz .tz-btn--block {
    display: flex;
    width: 100%;
  }
  html[data-brand="ib"] .tz .tz-btn--sm {
    min-height: 48px;
    padding: 0 22px;
    font-size: 14.5px;
  }
  html[data-brand="ib"] .tz .tz-btn--dark {
    background: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-btn--dark:hover {
    background: #000;
  }
  html[data-brand="ib"] .tz .tz-btn--white {
    background: #fff;
    color: var(--tz-pink-d);
  }
  html[data-brand="ib"] .tz .tz-btn--white:hover {
    background: #fff;
    color: #8e0f45;
  }
  html[data-brand="ib"] .tz .tz-btn--line {
    background: #fff;
    color: var(--tz-ink);
    box-shadow: inset 0 0 0 2px var(--tz-line);
  }
  html[data-brand="ib"] .tz .tz-btn--line:hover {
    background: #fff;
    color: var(--tz-pink-d);
    box-shadow: inset 0 0 0 2px var(--tz-pink);
  }
  html[data-brand="ib"] .tz .tz-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--tz-pink-d);
    font-size: 14px;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tz-link:hover {
    color: #8e0f45;
  }

  /* ── hero band ── */
  html[data-brand="ib"] .tz .tz-hero {
    /* the breadcrumb trail (chrome.css) is laid over the top of the band: 40 px of room */
    padding: 58px 0 36px;
    background: var(--tz-grad);
    color: #fff;
  }
  html[data-brand="ib"] .tz .tz-hero--tool {
    padding-bottom: 104px;
  }
  html[data-brand="ib"] .tz .tz-hero__in {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  html[data-brand="ib"] .tz .tz-hero__txt {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-hero__h1 {
    font-size: 31px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
  }
  html[data-brand="ib"] .tz .tz-hero__lead {
    max-width: 580px;
    font-size: 16px;
    line-height: 1.55;
    color: #fff;
  }
  html[data-brand="ib"] .tz .tz-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 700;
  }
  html[data-brand="ib"] .tz .tz-facts li {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  html[data-brand="ib"] .tz .tz-facts .tz-ic {
    stroke-width: 3;
  }
  html[data-brand="ib"] .tz .tz-hero__pic {
    position: relative;
    display: block;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-hero__pic img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 16px;
  }
  /* tool pages: the tool comes first on phones, the photo from tablet up */
  html[data-brand="ib"] .tz .tz-hero--tool .tz-hero__pic {
    display: none;
  }
  html[data-brand="ib"] .tz .tz-hero__chip {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    color: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-hero__chip svg {
    width: 40px;
    height: 40px;
  }
  html[data-brand="ib"] .tz .tz-hero__chip small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-hero__chip b {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
  }

  /* ── tool card (overlaps the band) ── */
  html[data-brand="ib"] .tz .tz-tool {
    margin-top: -72px;
  }
  html[data-brand="ib"] .tz .tz-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--tz-line);
    border-radius: 20px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 8px 4px 4px;
  }
  html[data-brand="ib"] .tz .tz-form > form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  html[data-brand="ib"] .tz .tz-form__head h2 {
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  html[data-brand="ib"] .tz .tz-form__head p {
    margin-top: 4px;
    font-size: 14px;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-label {
    display: block;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #374151;
  }
  html[data-brand="ib"] .tz .tz-input {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 2px solid var(--tz-line);
    border-radius: 14px;
    background: #fff;
    color: var(--tz-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
    box-sizing: border-box;
    appearance: none;
    transition: border-color 0.18s ease;
  }
  html[data-brand="ib"] .tz textarea.tz-input {
    height: auto;
    min-height: 96px;
    padding: 12px 16px;
    line-height: 1.5;
    resize: vertical;
  }
  html[data-brand="ib"] .tz .tz-input::placeholder {
    color: #9ca3af;
    font-weight: 500;
  }
  html[data-brand="ib"] .tz .tz-input:hover {
    border-color: #cfd3d9;
  }
  html[data-brand="ib"] .tz .tz-input:focus {
    border-color: var(--tz-ink);
    outline: none;
  }
  html[data-brand="ib"] .tz select.tz-input {
    padding-right: 40px;
    background: #fff
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
      right 14px center / 18px no-repeat;
  }
  html[data-brand="ib"] .tz .tz-hint {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-hint a {
    color: var(--tz-pink-d);
    font-weight: 700;
  }
  html[data-brand="ib"] .tz .tz-grid2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  /* pills: tabs, quick values, choices */
  html[data-brand="ib"] .tz .tz-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  html[data-brand="ib"] .tz .tz-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: inset 0 0 0 2px var(--tz-line);
    cursor: pointer;
    transition: box-shadow 0.18s ease, color 0.18s ease;
  }
  html[data-brand="ib"] .tz .tz-pill:hover {
    box-shadow: inset 0 0 0 2px #cfd3d9;
  }
  html[data-brand="ib"] .tz .tz-pill svg {
    width: 16px;
    height: 16px;
    flex: none;
  }
  html[data-brand="ib"] .tz .tz-pill input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }
  html[data-brand="ib"] .tz .tz-pill:is(.active, .is-active, [aria-pressed="true"], [aria-selected="true"], :has(input:checked)) {
    color: var(--tz-pink-d);
    font-weight: 800;
    box-shadow: inset 0 0 0 2px var(--tz-pink);
  }
  html[data-brand="ib"] .tz .tz-pill:has(input:focus-visible) {
    outline: 3px solid rgba(230, 28, 114, 0.45);
    outline-offset: 2px;
  }
  html[data-brand="ib"] .tz .tz-pill--sq {
    border-radius: 12px;
  }
  html[data-brand="ib"] .tz .tz-pills--fill .tz-pill {
    flex: 1 1 0;
  }

  /* small phones: three platform pills side by side, icon over the label */
  @media (max-width: 479.98px) {
    html[data-brand="ib"] .tz .tz-pills--fill {
      flex-wrap: nowrap;
      gap: 6px;
    }
    html[data-brand="ib"] .tz .tz-pills--fill .tz-pill {
      flex-direction: column;
      gap: 4px;
      min-width: 0;
      min-height: 58px;
      padding: 6px 4px;
      border-radius: 14px;
      font-size: 12px;
    }
  }
  /* @ field */
  html[data-brand="ib"] .tz .tz-at {
    position: relative;
  }
  html[data-brand="ib"] .tz .tz-at > span {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 700;
    color: var(--tz-muted);
    pointer-events: none;
  }
  html[data-brand="ib"] .tz .tz-at .tz-input {
    padding-left: 36px;
  }
  html[data-brand="ib"] .tz .tz-inline {
    padding: 0;
    border: 0;
    background: none;
    color: var(--tz-pink-d);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  /* manual calculator inside the result panel */
  html[data-brand="ib"] .tz .tz-manual {
    border: 1px solid var(--tz-line);
    border-radius: 14px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-manual > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
  }
  html[data-brand="ib"] .tz .tz-manual > summary::-webkit-details-marker {
    display: none;
  }
  html[data-brand="ib"] .tz .tz-manual > summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2.5px solid var(--tz-pink);
    border-bottom: 2.5px solid var(--tz-pink);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s ease;
  }
  html[data-brand="ib"] .tz .tz-manual[open] > summary::after {
    transform: rotate(-135deg) translate(-2px, -2px);
  }
  html[data-brand="ib"] .tz .tz-manual__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 4px 16px 16px;
  }
  html[data-brand="ib"] .tz .tz-manual__body .tz-btn {
    align-self: flex-start;
  }
  html[data-brand="ib"] .tz .tz-manual__res {
    font-size: 15px;
    line-height: 1.5;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-manual__res:empty {
    display: none;
  }
  html[data-brand="ib"] .tz .tz-manual__res strong {
    font-weight: 800;
    color: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-manual__res strong:first-child {
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--tz-pink-d);
  }

  html[data-brand="ib"] .tz .tz-pill[hidden] {
    display: none;
  }
  html[data-brand="ib"] .tz .tz-pill--stack {
    flex-direction: column;
    gap: 2px;
    min-height: 58px;
    padding: 6px 12px;
    border-radius: 14px;
  }
  html[data-brand="ib"] .tz .tz-pill--stack small {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-pill--more {
    color: var(--tz-pink-d);
    box-shadow: none;
    padding: 0 10px;
  }
  html[data-brand="ib"] .tz .tz-pill--more:hover {
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  /* checkboxes */
  html[data-brand="ib"] .tz .tz-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
  }
  html[data-brand="ib"] .tz .tz-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
  }
  html[data-brand="ib"] .tz .tz-check input {
    flex: none;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 2px solid #cfd3d9;
    border-radius: 7px;
    background: #fff;
    appearance: none;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
  }
  html[data-brand="ib"] .tz .tz-check input:checked {
    border-color: var(--tz-pink);
    background: var(--tz-pink)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
      center / 14px no-repeat;
  }
  html[data-brand="ib"] .tz .tz-hint--center {
    text-align: center;
  }

  /* ── result panel ── */
  html[data-brand="ib"] .tz .tz-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 20px 18px;
    border-radius: 14px;
    background: var(--tz-tint);
  }
  html[data-brand="ib"] .tz .tz-result {
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-panel__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
  }
  html[data-brand="ib"] .tz .tz-big {
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-feature-settings: "tnum";
  }
  html[data-brand="ib"] .tz .tz-sub {
    font-size: 14px;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  /* three figures on phones: two on top, the third across */
  @media (max-width: 639.98px) {
    html[data-brand="ib"] .tz .tz-stats--3 > :last-child:nth-child(3) {
      grid-column: span 2;
    }
  }
  html[data-brand="ib"] .tz .tz-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--tz-line);
    border-radius: 14px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-stat b {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    font-feature-settings: "tnum";
    overflow-wrap: anywhere;
  }
  html[data-brand="ib"] .tz .tz-stat span {
    font-size: 12px;
    font-weight: 600;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-stat--dark {
    border-color: var(--tz-ink);
    background: var(--tz-ink);
    color: #fff;
  }
  html[data-brand="ib"] .tz .tz-stat--dark span {
    color: #d1d5db;
  }
  html[data-brand="ib"] .tz .tz-rows {
    display: flex;
    flex-direction: column;
    padding: 4px 16px;
    border: 1px solid var(--tz-line);
    border-radius: 14px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-rows__title {
    padding: 12px 0 4px;
    font-size: 14px;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tz-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    font-size: 14px;
  }
  html[data-brand="ib"] .tz .tz-row + .tz-row {
    border-top: 1px solid var(--tz-line);
  }
  html[data-brand="ib"] .tz .tz-row > :first-child {
    font-weight: 500;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-row > :last-child {
    font-style: normal;
    font-weight: 800;
    text-align: right;
    font-feature-settings: "tnum";
  }
  html[data-brand="ib"] .tz .tz-row .is-top {
    color: var(--tz-pink-d);
  }
  html[data-brand="ib"] .tz .tz-bar {
    height: 10px;
    border-radius: 999px;
    background: var(--tz-line);
    overflow: hidden;
  }
  html[data-brand="ib"] .tz .tz-bar__fill {
    height: 100%;
    border-radius: 999px;
    background: var(--tz-grad);
    transition: width 0.6s cubic-bezier(0.3, 0.6, 0.3, 1);
  }
  html[data-brand="ib"] .tz .tz-bar__label {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tz-muted);
    font-feature-settings: "tnum";
  }
  html[data-brand="ib"] .tz .tz-note {
    font-size: 13px;
    line-height: 1.5;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--tz-pink);
    font-size: 14px;
    font-weight: 600;
  }
  html[data-brand="ib"] .tz .tz-callout--line {
    box-shadow: inset 0 0 0 1px var(--tz-line);
  }
  /* before the first result */
  html[data-brand="ib"] .tz .tz-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    flex: 1 1 auto;
    min-height: 220px;
  }
  html[data-brand="ib"] .tz .tz-empty h3 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  html[data-brand="ib"] .tz .tz-empty p {
    font-size: 14px;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
  }
  html[data-brand="ib"] .tz .tz-checks li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  html[data-brand="ib"] .tz .tz-checks .tz-ic {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--tz-green);
    stroke-width: 3;
  }
  html[data-brand="ib"] .tz .tz-checks .tz-ic--no {
    color: var(--tz-muted);
  }

  /* Instagram viewer: profile in the result panel */
  html[data-brand="ib"] .tz .tz-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--tz-pink);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
  }
  html[data-brand="ib"] .tz .tz-alert svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--tz-pink-d);
  }
  html[data-brand="ib"] .tz .tz-profile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-profile__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
  }
  html[data-brand="ib"] .tz .tz-profile__avatar {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--tz-line);
  }
  html[data-brand="ib"] .tz .tz-profile__avatar--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tz-ink);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tz-profile__id {
    flex: 1 1 140px;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-profile__id h2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    overflow-wrap: anywhere;
  }
  html[data-brand="ib"] .tz .tz-profile__id p {
    font-size: 14px;
    color: var(--tz-text);
    overflow-wrap: anywhere;
  }
  html[data-brand="ib"] .tz .tz-profile__verified {
    flex: none;
    color: #1d77d1;
  }
  html[data-brand="ib"] .tz .tz-profile__verified svg {
    width: 18px;
    height: 18px;
  }
  html[data-brand="ib"] .tz .tz-stat :where(dd) {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    font-feature-settings: "tnum";
  }
  html[data-brand="ib"] .tz .tz-stat :where(dt) {
    font-size: 12px;
    font-weight: 600;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-profile__title {
    font-size: 14px;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tz-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  html[data-brand="ib"] .tz .tz-posts a {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--tz-line);
    color: #fff;
  }
  html[data-brand="ib"] .tz .tz-posts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  html[data-brand="ib"] .tz .tz-posts__video {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(20, 24, 31, 0.78);
  }
  html[data-brand="ib"] .tz .tz-posts__video svg {
    width: 12px;
    height: 12px;
  }
  html[data-brand="ib"] .tz .tz-posts__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    padding: 4px 7px;
    background: rgba(20, 24, 31, 0.78);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.35;
  }
  html[data-brand="ib"] .tz .tz-posts__meta span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  /* small tiles: the likes only */
  @media (max-width: 639.98px) {
    html[data-brand="ib"] .tz .tz-posts__meta span + span {
      display: none;
    }
  }
  html[data-brand="ib"] .tz .tz-notice {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--tz-line);
    border-radius: 14px;
    background: #fff;
    font-size: 14px;
    line-height: 1.55;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-notice strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--tz-ink);
  }
  /* a wide note under the tool card */
  html[data-brand="ib"] .tz .tz-band {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 14px;
    padding: 22px 18px;
    border: 1px solid var(--tz-line);
    border-radius: 20px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-band h2 {
    margin-top: 6px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  html[data-brand="ib"] .tz .tz-band p:not(.tz-kicker) {
    margin-top: 8px;
    max-width: 720px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-band p a {
    color: var(--tz-pink-d);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  html[data-brand="ib"] .tz .tz-band .tz-btn {
    align-self: flex-start;
    flex: none;
  }
  /* text links under «Más herramientas» */
  html[data-brand="ib"] .tz .tz-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }
  html[data-brand="ib"] .tz .tz-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  html[data-brand="ib"] .tz .tz-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--tz-line);
    border-radius: 999px;
    background: #fff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
    transition: border-color 0.18s ease;
  }
  html[data-brand="ib"] .tz .tz-links a:hover {
    border-color: var(--tz-pink);
    color: var(--tz-pink-d);
  }
  html[data-brand="ib"] .tz .tz-prose blockquote {
    margin: 0;
    padding: 18px 20px;
    border: 0;
    border-radius: 16px;
    background: var(--tz-tint);
    font-size: 15px;
    font-style: normal;
    color: var(--tz-ink);
  }

  /* bio generator: results */
  html[data-brand="ib"] .tz .tz-bios {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  html[data-brand="ib"] .tz .tz-bio {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid var(--tz-line);
    border-radius: 14px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-bio__n {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-bio__text {
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-line;
    overflow-wrap: anywhere;
  }
  html[data-brand="ib"] .tz .tz-bio__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  html[data-brand="ib"] .tz .tz-bio__count {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tz-muted);
    font-feature-settings: "tnum";
  }
  html[data-brand="ib"] .tz .tz-bio__copy {
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--tz-pink-d);
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 0 0 2px var(--tz-pink);
  }
  html[data-brand="ib"] .tz .tz-bio__copy.copied {
    background: var(--tz-green-bg);
    color: var(--tz-green);
    box-shadow: inset 0 0 0 2px var(--tz-green);
  }
  html[data-brand="ib"] .tz .tz-tips {
    padding-bottom: 16px;
  }
  html[data-brand="ib"] .tz .tz-tips .tz-checks {
    margin-top: 6px;
  }
  html[data-brand="ib"] .tz .tz-cards4 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  html[data-brand="ib"] .tz .tz-cards4--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-brand="ib"] .tz .tz-mini__bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tz-ink);
    white-space: pre-line;
  }
  html[data-brand="ib"] .tz .tz-mini__copy {
    align-self: flex-start;
    min-height: 32px;
    margin-top: auto;
  }
  html[data-brand="ib"] .tz .tz-mini__copy.is-copied {
    color: var(--tz-green);
  }
  /* toasts */
  html[data-brand="ib"] .tz .tz-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1080;
    max-width: calc(100vw - 32px);
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--tz-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  html[data-brand="ib"] .tz .tz-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  html[data-brand="ib"] .tz .tz-toast--error {
    background: #9b1c1c;
  }
  html[data-brand="ib"] .tz .tz-table tr {
    background: none;
  }

  /* palette generator */
  html[data-brand="ib"] .tz .tz-pills--grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-brand="ib"] .tz .tz-color {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  html[data-brand="ib"] .tz .tz-color input[type="color"] {
    flex: none;
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 4px;
    border: 2px solid var(--tz-line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    appearance: none;
  }
  html[data-brand="ib"] .tz .tz-color input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
  }
  html[data-brand="ib"] .tz .tz-color input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 8px;
  }
  html[data-brand="ib"] .tz .tz-color input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: 8px;
  }
  html[data-brand="ib"] .tz .tz-color .tz-input {
    flex: 1 1 0;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
  }
  html[data-brand="ib"] .tz .tz-color .tz-pill {
    flex: none;
    min-height: 52px;
  }
  html[data-brand="ib"] .tz .tz-tips--tint {
    border: 0;
    background: var(--tz-tint);
  }
  html[data-brand="ib"] .tz .tz-panel__label {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
  }
  html[data-brand="ib"] .tz .tz-swatches {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  html[data-brand="ib"] .tz .tz-swatch {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-swatch__color {
    display: block;
    width: 100%;
    height: 96px;
    margin-bottom: 5px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(20, 24, 31, 0.08);
    transition: transform 0.18s ease;
  }
  html[data-brand="ib"] .tz .tz-swatch__color:hover {
    transform: translateY(-2px);
  }
  html[data-brand="ib"] .tz .tz-swatch__hex {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  html[data-brand="ib"] .tz .tz-swatch__name {
    font-size: 11px;
    line-height: 1.3;
    color: var(--tz-muted);
    overflow-wrap: anywhere;
  }
  html[data-brand="ib"] .tz .tz-feed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    max-width: 360px;
    padding: 4px;
    border: 1px solid var(--tz-line);
    border-radius: 14px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-feed > div {
    aspect-ratio: 1;
    border-radius: 6px;
  }
  html[data-brand="ib"] .tz .tz-feed > div:first-child {
    border-top-left-radius: 10px;
  }
  html[data-brand="ib"] .tz .tz-feed > div:nth-child(3) {
    border-top-right-radius: 10px;
  }
  html[data-brand="ib"] .tz .tz-feed > div:nth-child(7) {
    border-bottom-left-radius: 10px;
  }
  html[data-brand="ib"] .tz .tz-feed > div:last-child {
    border-bottom-right-radius: 10px;
  }
  html[data-brand="ib"] .tz .tz-trend {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--tz-line);
    border-radius: 16px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-trend > i {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(20, 24, 31, 0.08);
  }
  html[data-brand="ib"] .tz .tz-trend strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
  }
  html[data-brand="ib"] .tz .tz-trend span span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-premade {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 10px 10px 14px;
    border: 1px solid var(--tz-line);
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease;
  }
  html[data-brand="ib"] .tz .tz-premade:hover {
    border-color: var(--tz-pink);
  }
  html[data-brand="ib"] .tz .tz-premade__colors {
    display: flex;
    height: 72px;
    margin-bottom: 6px;
    overflow: hidden;
    border-radius: 12px;
  }
  html[data-brand="ib"] .tz .tz-premade__colors span {
    flex: 1 1 0;
  }
  html[data-brand="ib"] .tz .tz-premade h3 {
    padding: 0 6px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
  }
  html[data-brand="ib"] .tz .tz-premade p {
    padding: 0 6px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-premade .tz-link {
    align-self: flex-start;
    min-height: 32px;
    margin-top: auto;
    padding: 0 6px;
  }
  html[data-brand="ib"] .tz .tz-theory > i {
    display: block;
    height: 10px;
    border-radius: 999px;
  }

  /* engagement: the automatic analysis in the result panel */
  html[data-brand="ib"] .tz #ecOut {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  html[data-brand="ib"] .tz #ecOut:empty {
    display: none;
  }
  html[data-brand="ib"] .tz .tz-rate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
  }
  html[data-brand="ib"] .tz .tz-rate > div:first-child {
    flex: none;
  }
  html[data-brand="ib"] .tz .tz-rate > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 220px;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-rate .tz-big {
    font-size: 44px;
    color: var(--tz-pink-d);
  }
  html[data-brand="ib"] .tz .tz-scale__track {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: var(--tz-line);
  }
  html[data-brand="ib"] .tz .tz-scale__band {
    position: absolute;
    top: 0;
    bottom: 0;
    background: #9bd8b9;
  }
  html[data-brand="ib"] .tz .tz-scale__dot {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: var(--tz-ink);
    transform: translate(-50%, -50%);
  }
  html[data-brand="ib"] .tz .tz-scale__labels {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tz-muted);
    font-feature-settings: "tnum";
  }
  html[data-brand="ib"] .tz .tz-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 112px;
    padding: 12px 12px 0;
    border: 1px solid var(--tz-line);
    border-bottom-width: 2px;
    border-radius: 14px 14px 0 0;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-chart > i {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 5px 5px 0 0;
    background: var(--tz-grad);
  }
  html[data-brand="ib"] .tz .tz-chart > i.is-top {
    background: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-chart + .tz-note {
    margin-top: 8px;
  }

  /* ── sections under the tool ── */
  html[data-brand="ib"] .tz .tz-sec {
    padding: 48px 0;
  }
  html[data-brand="ib"] .tz .tz-sec--tint {
    background: var(--tz-tint);
  }
  html[data-brand="ib"] .tz .tz-sec--narrow .tz-wrap {
    max-width: 868px;
  }
  html[data-brand="ib"] .tz .tz-sec__head {
    margin-bottom: 24px;
  }
  html[data-brand="ib"] .tz .tz-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  html[data-brand="ib"] .tz .tz-step {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--tz-line);
    border-radius: 20px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-step__n {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--tz-grad);
    color: #fff;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tz-step h3 {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tz-step p {
    margin-top: 4px;
    font-size: 14px;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-step p a {
    color: var(--tz-pink-d);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  html[data-brand="ib"] .tz .tz-faq details a {
    color: var(--tz-pink-d);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  html[data-brand="ib"] .tz .tz-faq details strong {
    color: var(--tz-ink);
  }
  /* FAQ: native <details> */
  html[data-brand="ib"] .tz .tz-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  html[data-brand="ib"] .tz .tz-faq details {
    border: 1px solid var(--tz-line);
    border-radius: 16px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 60px;
    padding: 10px 18px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
  }
  html[data-brand="ib"] .tz .tz-faq summary::-webkit-details-marker {
    display: none;
  }
  html[data-brand="ib"] .tz .tz-faq summary::after {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    background:
      linear-gradient(var(--tz-pink), var(--tz-pink)) center / 16px 2.5px no-repeat,
      linear-gradient(var(--tz-pink), var(--tz-pink)) center / 2.5px 16px no-repeat;
    transition: transform 0.2s ease;
  }
  html[data-brand="ib"] .tz .tz-faq details[open] summary::after {
    background: linear-gradient(var(--tz-pink), var(--tz-pink)) center / 16px 2.5px no-repeat;
  }
  html[data-brand="ib"] .tz .tz-faq details > :not(summary) {
    padding: 0 18px 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--tz-text);
  }
  /* «Más herramientas» */
  html[data-brand="ib"] .tz .tz-more {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  html[data-brand="ib"] .tz .tz-more__card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--tz-line);
    border-radius: 20px;
    background: #fff;
    color: var(--tz-ink);
    transition: border-color 0.18s ease;
  }
  html[data-brand="ib"] .tz .tz-more__card:hover {
    border-color: var(--tz-pink);
    color: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-more__card img {
    flex: none;
    width: 88px;
    height: 66px;
    object-fit: cover;
    border-radius: 12px;
  }
  html[data-brand="ib"] .tz .tz-more__txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tz-more__txt b {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
  }
  html[data-brand="ib"] .tz .tz-more__txt span {
    font-size: 13px;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-more__card > .tz-ic {
    color: var(--tz-pink);
  }
  /* closing band */
  html[data-brand="ib"] .tz .tz-cta {
    padding: 40px 0;
    background: var(--tz-grad);
    color: #fff;
  }
  html[data-brand="ib"] .tz .tz-cta__in {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  html[data-brand="ib"] .tz .tz-cta h2 {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
  }
  html[data-brand="ib"] .tz .tz-cta p {
    margin-top: 6px;
    max-width: 640px;
    font-size: 15.5px;
    color: #fff;
  }

  /* ── /herramientas: the grid ── */
  html[data-brand="ib"] .tz .tzi {
    padding: 44px 0 52px;
  }
  html[data-brand="ib"] .tz .tzi__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  html[data-brand="ib"] .tz .tzi__head .tz-h2 {
    margin-top: 10px;
    font-size: 28px;
  }
  html[data-brand="ib"] .tz .tzi__lead {
    max-width: 400px;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tzi__filters {
    display: flex;
    gap: 8px;
    margin: 20px -24px 20px;
    padding: 2px 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  html[data-brand="ib"] .tz .tzi__filters::-webkit-scrollbar {
    display: none;
  }
  html[data-brand="ib"] .tz .tzi__filters .tz-pill {
    flex: none;
    font-size: 14px;
    padding: 0 18px;
  }
  html[data-brand="ib"] .tz .tzi__filters .tz-pill:has(input:checked) {
    background: var(--tz-grad);
    color: #fff;
  }
  html[data-brand="ib"] .tz .tzi__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  html[data-brand="ib"] .tz .tzi-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--tz-line);
    border-radius: 20px;
    background: #fff;
    color: var(--tz-ink);
    transition: border-color 0.18s ease;
  }
  html[data-brand="ib"] .tz a.tzi-card:hover {
    border-color: var(--tz-pink);
    color: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tzi-card__pic {
    position: relative;
    flex: none;
    width: 92px;
  }
  html[data-brand="ib"] .tz .tzi-card__pic img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 14px;
  }
  html[data-brand="ib"] .tz .tzi-card__pic .tz-tag {
    display: none;
  }
  html[data-brand="ib"] .tz .tzi-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
  }
  html[data-brand="ib"] .tz .tzi-card__title {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tzi-card__desc {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
    color: var(--tz-text);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  html[data-brand="ib"] .tz .tzi-card__feats {
    display: none;
  }
  html[data-brand="ib"] .tz .tzi-card__cta {
    display: flex;
    align-items: center;
    flex: none;
    margin-right: 4px;
    color: var(--tz-pink-d);
    font-size: 14px;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tzi-card__cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  /* the lead tool: photo on top + its own form */
  html[data-brand="ib"] .tz .tzi-card--lead {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__pic {
    width: auto;
  }
  html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__pic img {
    height: 170px;
  }
  html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__pic .tz-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
  }
  html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__body {
    gap: 10px;
    padding: 16px 8px 8px;
  }
  html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__title {
    font-size: 22px;
  }
  html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__desc {
    display: block;
    font-size: 14px;
    -webkit-line-clamp: unset;
  }
  html[data-brand="ib"] .tz .tzi-card__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  html[data-brand="ib"] .tz .tzi-card__form .tz-btn {
    flex: none;
    min-height: 52px;
    font-size: 15px;
    white-space: nowrap;
  }
  html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__cta {
    justify-content: space-between;
    gap: 8px;
    margin: 4px 0 0;
    padding: 14px 0 4px;
    border-top: 1px solid var(--tz-line);
  }
  html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__cta span {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
  }
  /* the services card */
  html[data-brand="ib"] .tz .tzi-card--dark {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 26px 22px;
    border-color: var(--tz-ink);
    background: var(--tz-ink);
    color: #fff;
  }
  html[data-brand="ib"] .tz a.tzi-card--dark:hover {
    border-color: var(--tz-ink);
    color: #fff;
  }
  html[data-brand="ib"] .tz .tzi-card--dark .tz-kicker {
    color: #ff8fbd;
  }
  html[data-brand="ib"] .tz .tzi-card--dark h3 {
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
  }
  html[data-brand="ib"] .tz .tzi-card--dark p {
    max-width: 540px;
    font-size: 14.5px;
    color: #d1d5db;
  }
  html[data-brand="ib"] .tz .tzi-card--dark .tz-btn {
    align-self: stretch;
    min-height: 52px;
    margin-top: 4px;
    background: #fff;
    color: var(--tz-ink);
    font-size: 15px;
  }
  /* filters: plain CSS (radio + :has) */
  html[data-brand="ib"] .tz .tzi:has(#tzi-f-medir:checked) .tzi-card[data-cat]:not([data-cat="medir"]),
  html[data-brand="ib"] .tz .tzi:has(#tzi-f-planificar:checked) .tzi-card[data-cat]:not([data-cat="planificar"]),
  html[data-brand="ib"] .tz .tzi:has(#tzi-f-crear:checked) .tzi-card[data-cat]:not([data-cat="crear"]) {
    display: none;
  }

  /* ── long-form content of a tool (engagement, viewer) ── */
  html[data-brand="ib"] .tz .tz-doc {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  html[data-brand="ib"] .tz .tz-toc {
    display: none;
  }
  html[data-brand="ib"] .tz .tz-prose {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-prose > h2 {
    margin-top: 20px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--tz-ink);
    scroll-margin-top: 96px;
  }
  html[data-brand="ib"] .tz .tz-prose > h2:first-child {
    margin-top: 0;
  }
  html[data-brand="ib"] .tz .tz-prose > h3 {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-prose :where(p, li) strong {
    color: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-prose :where(p, li, td) a {
    color: var(--tz-pink-d);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  html[data-brand="ib"] .tz .tz-prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.88em;
  }
  html[data-brand="ib"] .tz .tz-byline {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  html[data-brand="ib"] .tz .tz-list > li {
    position: relative;
    padding-left: 28px;
  }
  html[data-brand="ib"] .tz ul.tz-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--tz-green-bg)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a4b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
      center / 11px no-repeat;
  }
  html[data-brand="ib"] .tz ol.tz-list {
    counter-reset: tz-ol;
  }
  html[data-brand="ib"] .tz ol.tz-list > li {
    padding-left: 38px;
    counter-increment: tz-ol;
  }
  html[data-brand="ib"] .tz ol.tz-list > li::before {
    content: counter(tz-ol);
    position: absolute;
    left: 0;
    top: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--tz-ink);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tz-cards3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  html[data-brand="ib"] .tz .tz-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--tz-line);
    border-radius: 16px;
    background: #fff;
    font-size: 14px;
    line-height: 1.55;
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-mini > strong,
  html[data-brand="ib"] .tz .tz-mini > h3 {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-mini > code {
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--tz-tint);
    color: var(--tz-ink);
    font-size: 12.5px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  html[data-brand="ib"] .tz .tz-mini__tag {
    align-self: flex-start;
    padding: 2px 10px;
    border-radius: 999px;
    color: var(--tz-pink-d);
    font-size: 11px;
    font-weight: 800;
    box-shadow: inset 0 0 0 2px var(--tz-pink);
  }
  html[data-brand="ib"] .tz a.tz-mini:hover {
    border-color: var(--tz-pink);
    color: var(--tz-text);
  }
  html[data-brand="ib"] .tz .tz-mini__price {
    margin-top: auto;
    color: var(--tz-pink-d);
    font-size: 14px;
    font-weight: 800;
  }
  html[data-brand="ib"] .tz .tz-table {
    overflow-x: auto;
    border: 1px solid var(--tz-line);
    border-radius: 16px;
    background: #fff;
  }
  html[data-brand="ib"] .tz .tz-table table {
    width: 100%;
    min-width: 330px;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.4;
    color: var(--tz-ink);
  }
  html[data-brand="ib"] .tz .tz-table caption {
    padding: 12px 16px 0;
    caption-side: top;
    text-align: left;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-table th {
    padding: 13px 16px;
    border: 0;
    background: var(--tz-tint);
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tz-muted);
  }
  html[data-brand="ib"] .tz .tz-table caption + thead th {
    background: none;
    border-bottom: 1px solid var(--tz-line);
  }
  html[data-brand="ib"] .tz .tz-table td {
    padding: 12px 16px;
    border: 0;
    border-top: 1px solid var(--tz-line);
    background: none;
  }
  html[data-brand="ib"] .tz .tz-table td:first-child {
    font-weight: 700;
  }
  html[data-brand="ib"] .tz .tz-shop {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
    padding: 22px 18px;
    border-radius: 20px;
    background: var(--tz-tint);
  }
  html[data-brand="ib"] .tz .tz-shop h2 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--tz-ink);
  }

  /* ── from 640 px ── */
  @media (min-width: 640px) {
    html[data-brand="ib"] .tz .tz-grid2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    html[data-brand="ib"] .tz .tz-stats--3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    html[data-brand="ib"] .tz .tz-steps,
    html[data-brand="ib"] .tz .tz-cards3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    html[data-brand="ib"] .tz .tz-step {
      flex-direction: column;
      gap: 12px;
      padding: 24px;
    }
    html[data-brand="ib"] .tz .tz-steps--list {
      grid-template-columns: minmax(0, 1fr);
    }
    html[data-brand="ib"] .tz .tz-steps--list .tz-step {
      flex-direction: row;
      gap: 16px;
      padding: 20px 22px;
    }
    html[data-brand="ib"] .tz .tz-more {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    html[data-brand="ib"] .tz .tz-cards4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    html[data-brand="ib"] .tz .tz-cta__in {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    html[data-brand="ib"] .tz .tz-cta .tz-btn {
      flex: none;
    }
    html[data-brand="ib"] .tz .tzi-card__form {
      flex-direction: row;
      align-items: flex-end;
    }
    html[data-brand="ib"] .tz .tzi-card__form .tz-field {
      flex: 1 1 auto;
    }
    html[data-brand="ib"] .tz .tzi-card--dark .tz-btn {
      align-self: flex-start;
    }
  }

  /* ── from 768 px (breadcrumb trail is 42.25 px tall from here) ── */
  @media (min-width: 768px) {
    html[data-brand="ib"] .tz .tz-hero {
      padding: 74px 0 56px;
    }
    html[data-brand="ib"] .tz .tz-hero--tool {
      padding-bottom: 136px;
    }
    html[data-brand="ib"] .tz .tz-hero__h1 {
      font-size: 40px;
    }
    html[data-brand="ib"] .tz .tz-hero__lead {
      font-size: 17px;
    }
    html[data-brand="ib"] .tz .tz-tool {
      margin-top: -100px;
    }
    html[data-brand="ib"] .tz .tz-form {
      padding: 20px 14px 14px 18px;
    }
    html[data-brand="ib"] .tz .tz-panel {
      padding: 26px;
    }
    html[data-brand="ib"] .tz .tz-big {
      font-size: 40px;
    }
    html[data-brand="ib"] .tz .tz-h2 {
      font-size: 30px;
    }
    html[data-brand="ib"] .tz .tz-sec {
      padding: 64px 0;
    }
    html[data-brand="ib"] .tz .tz-cta {
      padding: 56px 0;
    }
    html[data-brand="ib"] .tz .tz-cta h2 {
      font-size: 32px;
    }
    html[data-brand="ib"] .tz .tz-prose > h2 {
      font-size: 28px;
    }
    html[data-brand="ib"] .tz .tz-shop {
      padding: 28px;
    }
    /* index: photo cards, two per row */
    html[data-brand="ib"] .tz .tzi {
      padding: 72px 0 80px;
    }
    html[data-brand="ib"] .tz .tzi__head {
      flex-direction: row;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
    }
    html[data-brand="ib"] .tz .tzi__head .tz-h2 {
      font-size: 36px;
    }
    html[data-brand="ib"] .tz .tzi__filters {
      flex-wrap: wrap;
      margin: 26px 0;
      padding: 0;
      overflow: visible;
    }
    html[data-brand="ib"] .tz .tzi__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }
    html[data-brand="ib"] .tz .tzi-card {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }
    html[data-brand="ib"] .tz .tzi-card__pic {
      width: auto;
    }
    html[data-brand="ib"] .tz .tzi-card__pic img {
      height: 190px;
    }
    html[data-brand="ib"] .tz .tzi-card__pic .tz-tag {
      position: absolute;
      top: 12px;
      left: 12px;
      display: inline-flex;
    }
    html[data-brand="ib"] .tz .tzi-card__body {
      gap: 10px;
      padding: 18px 14px 4px;
    }
    html[data-brand="ib"] .tz .tzi-card__title {
      font-size: 20px;
    }
    html[data-brand="ib"] .tz .tzi-card__desc {
      display: block;
      font-size: 14px;
      line-height: 1.55;
      -webkit-line-clamp: unset;
    }
    html[data-brand="ib"] .tz .tzi-card__feats {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: 2px;
      font-size: 13px;
      font-weight: 600;
      color: #374151;
    }
    html[data-brand="ib"] .tz .tzi-card__feats li {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    html[data-brand="ib"] .tz .tzi-card__feats .tz-ic {
      width: 15px;
      height: 15px;
      color: var(--tz-green);
      stroke-width: 3;
    }
    html[data-brand="ib"] .tz .tzi-card__cta {
      justify-content: space-between;
      gap: 8px;
      margin: auto 14px 0;
      padding: 14px 0 8px;
      border-top: 1px solid var(--tz-line);
    }
    html[data-brand="ib"] .tz .tzi-card__body + .tzi-card__cta {
      margin-top: 16px;
    }
    html[data-brand="ib"] .tz .tzi-card__cta span {
      position: static;
      width: auto;
      height: auto;
      clip-path: none;
    }
    html[data-brand="ib"] .tz .tzi-card--lead,
    html[data-brand="ib"] .tz .tzi-card--dark {
      grid-column: span 2;
    }
    html[data-brand="ib"] .tz .tzi-card--lead {
      flex-direction: row-reverse;
      gap: 10px;
    }
    html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__pic {
      flex: 0.8 1 0;
    }
    html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__pic img {
      height: 100%;
      min-height: 320px;
    }
    html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__body {
      flex: 1.2 1 0;
      gap: 14px;
      padding: 22px 16px 14px 20px;
    }
    html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__title {
      font-size: 28px;
      letter-spacing: -0.01em;
    }
    html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__feats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 14px;
    }
    html[data-brand="ib"] .tz .tzi-card--lead .tzi-card__cta {
      margin: auto 0 0;
      padding-top: 16px;
    }
    html[data-brand="ib"] .tz .tzi-card--dark {
      justify-content: center;
      gap: 16px;
      padding: 40px;
    }
    html[data-brand="ib"] .tz .tzi-card--dark h3 {
      font-size: 34px;
    }
    html[data-brand="ib"] .tz .tzi-card--dark p {
      font-size: 16px;
    }
  }

  /* ── from 1024 px: two columns ── */
  @media (min-width: 1024px) {
    html[data-brand="ib"] .tz .tz-hero__in {
      flex-direction: row;
      align-items: center;
      gap: 56px;
    }
    html[data-brand="ib"] .tz .tz-hero__txt {
      flex: 1.25 1 0;
      gap: 18px;
    }
    html[data-brand="ib"] .tz .tz-hero__h1 {
      font-size: 46px;
      line-height: 1.08;
    }
    html[data-brand="ib"] .tz .tz-hero--index .tz-hero__h1 {
      font-size: 50px;
    }
    html[data-brand="ib"] .tz .tz-hero__pic,
    html[data-brand="ib"] .tz .tz-hero--tool .tz-hero__pic {
      display: block;
      flex: 1 1 0;
    }
    html[data-brand="ib"] .tz .tz-hero__pic img {
      border-radius: 20px;
    }
    html[data-brand="ib"] .tz .tz-hero--tool .tz-hero__pic {
      flex: 0.8 1 0;
    }
    html[data-brand="ib"] .tz .tz-hero__chip {
      left: 20px;
      bottom: 20px;
      padding: 14px 18px;
      border-radius: 16px;
    }
    html[data-brand="ib"] .tz .tz-hero__chip svg {
      width: 46px;
      height: 46px;
    }
    html[data-brand="ib"] .tz .tz-hero__chip b {
      font-size: 20px;
    }
    html[data-brand="ib"] .tz .tz-hero--tool {
      padding-bottom: 150px;
    }
    html[data-brand="ib"] .tz .tz-tool {
      margin-top: -110px;
    }
    html[data-brand="ib"] .tz .tz-card {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    }
    html[data-brand="ib"] .tz .tz-card--wide-form {
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    }
    html[data-brand="ib"] .tz .tz-card--single {
      grid-template-columns: minmax(0, 1fr);
    }
    html[data-brand="ib"] .tz .tz-more {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }
    html[data-brand="ib"] .tz .tz-cards4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    html[data-brand="ib"] .tz .tz-more--4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    html[data-brand="ib"] .tz .tz-band {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      padding: 28px;
    }
    html[data-brand="ib"] .tz .tz-band .tz-btn {
      align-self: center;
    }
    html[data-brand="ib"] .tz .tz-posts {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }
    html[data-brand="ib"] .tz .tzi__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }
    html[data-brand="ib"] .tz .tz-doc {
      grid-template-columns: 250px minmax(0, 1fr);
      gap: 56px;
      align-items: start;
    }
    html[data-brand="ib"] .tz .tz-toc {
      position: sticky;
      top: 104px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      font-size: 14px;
      font-weight: 600;
      color: var(--tz-text);
    }
    html[data-brand="ib"] .tz .tz-toc .tz-kicker {
      margin-bottom: 8px;
    }
    html[data-brand="ib"] .tz .tz-toc a {
      padding: 8px 12px;
      border-radius: 10px;
      line-height: 1.35;
    }
    html[data-brand="ib"] .tz .tz-toc a:hover {
      background: var(--tz-tint);
      color: var(--tz-ink);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html[data-brand="ib"] .tz * {
      transition: none !important;
    }
  }
}
