/*
 * /brokers section — list, detail and compare (v2).
 * Scoped under .zs-bh (and .bh-dialog, which renders inside it) so the site
 * header, mobile shell and other sections are untouched. Light is white
 * #FFFFFF like the header; desktop dark follows the site appearance
 * (html without .light). The mobile shell is always Light.
 */

.zs-bh {
  --bh-bg: #ffffff;
  --bh-surface: #ffffff;
  --bh-soft: #f6f7f8;
  --bh-ink: #0b0d10;
  --bh-ink-2: #2a2f37;
  --bh-muted: #5b616b;
  --bh-faint: #868c95;
  --bh-line: #e8e9ec;
  --bh-line-2: #d6d9de;
  --bh-green: #a3ff12;
  --bh-green-ink: #3a6600;
  --bh-green-soft: rgba(163, 255, 18, 0.2);
  --bh-warn: #8a5a00;
  --bh-warn-line: #d39b00;
  --bh-shadow: 0 1px 2px rgba(11, 13, 16, 0.04), 0 28px 56px -32px rgba(11, 13, 16, 0.3);
  --bh-focus: 0 0 0 2px var(--bh-bg), 0 0 0 4px var(--bh-ink);
  --bh-gutter: 16px;
  --bh-top: 56px;
  --bh-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --bh-num: var(--zs-font-latin, var(--zs-font-institutional));

  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: 100%;
  min-block-size: 60vh;
  /* the site <main> already offsets the fixed header; this section is a nested <main> */
  padding-block-start: 0;
  background: var(--bh-bg);
  color: var(--bh-ink);
  font-family: var(--zs-font-institutional);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

html:not(.light) .zs-bh {
  --bh-bg: #0a0b0d;
  --bh-surface: #111215;
  --bh-soft: #17191d;
  --bh-ink: #f4f4f2;
  --bh-ink-2: #d5d7db;
  --bh-muted: #9ea3ab;
  --bh-faint: #7a7f88;
  --bh-line: #23252a;
  --bh-line-2: #33363c;
  --bh-green-ink: #c2ff4d;
  --bh-green-soft: rgba(163, 255, 18, 0.12);
  --bh-warn: #f2c25c;
  --bh-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 28px 56px -30px rgba(0, 0, 0, 0.8);
}

.zs-bh *,
.zs-bh *::before,
.zs-bh *::after {
  box-sizing: border-box;
}

.zs-bh a {
  color: inherit;
}

.zs-bh :focus-visible {
  outline: none;
  box-shadow: var(--bh-focus);
}

.zs-bh dd,
.zs-bh p,
.zs-bh h1,
.zs-bh h2,
.zs-bh h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.zs-bh .bh-num {
  font-family: var(--bh-num);
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

.zs-bh .bh-wrap {
  inline-size: 100%;
  padding-inline: var(--bh-gutter);
}

.zs-bh .bh-sr {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.zs-bh .bh-dim {
  color: var(--bh-faint);
  font-weight: 500;
}

.zs-bh .bh-warn {
  color: var(--bh-warn);
  font-weight: 700;
}

/* ───────────── Buttons ───────────── */

.zs-bh .bh-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 46px;
  padding-inline: 18px;
  border: 1px solid var(--bh-line-2);
  border-radius: 12px;
  background: var(--bh-surface);
  color: var(--bh-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s var(--bh-ease),
    box-shadow 0.2s var(--bh-ease),
    background 0.2s ease,
    border-color 0.2s ease;
}

.zs-bh .bh-btn:hover {
  border-color: var(--bh-ink);
  transform: translateY(-1px);
}

.zs-bh .bh-btn:active {
  transform: translateY(0) scale(0.98);
}

.zs-bh .bh-btn svg {
  inline-size: 16px;
  block-size: 16px;
  flex: none;
  transition: transform 0.2s var(--bh-ease);
}

.zs-bh .bh-btn--primary {
  border-color: var(--bh-ink);
  background: var(--bh-ink);
  color: var(--bh-bg);
}

.zs-bh .bh-btn--primary:hover {
  box-shadow: 0 10px 22px -12px rgba(11, 13, 16, 0.55);
}

.zs-bh .bh-ext:hover svg {
  transform: translate(2px, -2px);
}

.zs-bh[dir='rtl'] .bh-ext:hover svg {
  transform: translate(-2px, -2px);
}

.zs-bh .bh-btn--ghost {
  background: transparent;
}

.zs-bh .bh-btn--lg {
  min-block-size: 52px;
  padding-inline: 24px;
  font-size: 16px;
}

.zs-bh .bh-btn--sm {
  min-block-size: 40px;
  padding-inline: 14px;
  font-size: 14px;
}

.zs-bh .bh-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.zs-bh .bh-btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--bh-ease);
}

.zs-bh .bh-btn:hover .bh-btn-arrow {
  transform: translateY(3px);
}

.zs-bh .bh-badge-count {
  display: inline-grid;
  place-items: center;
  min-inline-size: 22px;
  block-size: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--bh-green);
  color: #0b0d10;
  font-size: 12.5px;
  font-weight: 800;
}

.zs-bh .bh-linkbtn {
  padding: 8px 2px;
  border: 0;
  background: none;
  color: var(--bh-ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.bh-icon-btn {
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  flex: none;
  border: 1px solid var(--bh-line-2);
  border-radius: 12px;
  background: var(--bh-surface);
  color: var(--bh-ink);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    transform 0.2s var(--bh-ease);
}

.bh-icon-btn:hover {
  border-color: var(--bh-ink);
}

.bh-icon-btn svg {
  inline-size: 18px;
  block-size: 18px;
}

/* ───────────── Entrance ───────────── */

.zs-bh .bh-enter {
  animation: bh-in 0.75s var(--bh-ease) both;
  animation-delay: var(--d, 0ms);
}

@keyframes bh-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes bh-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

/* ───────────── 3D tile ───────────── */

.zs-bh .t3d {
  --s: 120px;
  --rx0: 14deg;
  --ry0: -22deg;
  position: relative;
  display: inline-block;
  inline-size: var(--s);
  block-size: var(--s);
  flex: none;
  perspective: calc(var(--s) * 7);
  transform-style: preserve-3d;
  vertical-align: middle;
}

.zs-bh[dir='rtl'] .t3d {
  --ry0: 22deg;
}

.zs-bh .t3d-rig {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx0) - var(--ty, 0) * 10deg)) rotateY(calc(var(--ry0) + var(--tx, 0) * 16deg));
  transition: transform 0.5s var(--bh-ease);
}

.zs-bh .t3d-face,
.zs-bh .t3d-edge,
.zs-bh .t3d-plate {
  position: absolute;
  inset: 0;
  border-radius: 23%;
}

.zs-bh .t3d-face {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--tile);
  transform: translateZ(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.zs-bh .t3d[data-light] .t3d-face {
  box-shadow:
    inset 0 0 0 1px rgba(11, 13, 16, 0.07),
    inset 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.zs-bh .t3d-face::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 42%);
  transform: translate(calc(var(--tx, 0) * -8%), calc(var(--ty, 0) * -8%));
  transition: transform 0.5s var(--bh-ease);
  pointer-events: none;
}

.zs-bh .t3d-face img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.zs-bh .t3d-mono {
  font-family: var(--bh-num);
  font-size: calc(var(--s) * 0.21);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b0d10;
}

.zs-bh .t3d-edge {
  background: var(--edge);
  transform: translateZ(calc(var(--i) * var(--s) * -0.012));
}

.zs-bh .t3d-plate {
  background: var(--p1);
  opacity: 0.92;
  transform: translate3d(calc(var(--s) * 0.09), calc(var(--s) * 0.07), calc(var(--s) * -0.16)) rotateZ(7deg);
  transition: transform 0.5s var(--bh-ease);
}

.zs-bh .t3d-plate--2 {
  background: var(--p2);
  opacity: 0.78;
  transform: translate3d(calc(var(--s) * 0.18), calc(var(--s) * 0.14), calc(var(--s) * -0.32)) rotateZ(14deg);
}

.zs-bh[dir='rtl'] .t3d-plate--1 {
  transform: translate3d(calc(var(--s) * -0.09), calc(var(--s) * 0.07), calc(var(--s) * -0.16)) rotateZ(-7deg);
}

.zs-bh[dir='rtl'] .t3d-plate--2 {
  transform: translate3d(calc(var(--s) * -0.18), calc(var(--s) * 0.14), calc(var(--s) * -0.32)) rotateZ(-14deg);
}

.zs-bh .t3d-shadow {
  position: absolute;
  inset-inline: 6%;
  inset-block-end: -14%;
  block-size: 26%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 13, 16, 0.28), rgba(11, 13, 16, 0));
  filter: blur(calc(var(--s) * 0.04));
  transform: translateZ(calc(var(--s) * -0.6));
  transition:
    transform 0.5s var(--bh-ease),
    opacity 0.5s ease;
  pointer-events: none;
}

html:not(.light) .zs-bh .t3d-shadow {
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

/* ───────────── Hero (list) ───────────── */

.zs-bh .bh-hero {
  position: relative;
  border-block-end: 1px solid var(--bh-line);
  padding-block: 24px 8px;
  overflow: clip;
}

.zs-bh .bh-hero-grid {
  display: grid;
  gap: 8px;
  align-items: center;
}

.zs-bh .bh-hero-grid > *,
.zs-bh .bd-hero-grid > *,
.zs-bh .bh-row > * {
  min-inline-size: 0;
}

.zs-bh .bh-hero-actions .bh-btn {
  white-space: normal;
  text-align: center;
}

.zs-bh .bh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bh-muted);
}

.zs-bh .bh-eyebrow::before {
  content: '';
  inline-size: 8px;
  block-size: 8px;
  border-radius: 999px;
  background: var(--bh-green);
  box-shadow: 0 0 0 4px var(--bh-green-soft);
}

.zs-bh .bh-title {
  margin: 0;
  font-size: clamp(34px, 8.4vw, 76px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.zs-bh .bh-lead {
  margin: 16px 0 0;
  max-inline-size: 52ch;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
  color: var(--bh-ink-2);
  text-wrap: pretty;
}

.zs-bh .bh-hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.zs-bh .bh-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--bh-muted);
}

.zs-bh .bh-meta-dot {
  inline-size: 4px;
  block-size: 4px;
  border-radius: 999px;
  background: var(--bh-line-2);
}

/* hero board */

.zs-bh .bh-scene {
  position: relative;
  display: grid;
  place-items: center;
  block-size: 236px;
  perspective: 1500px;
  margin-inline: calc(var(--bh-gutter) * -1);
}

.zs-bh .bh-board {
  --cell: 44px;
  --gap: 11px;
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--cell));
  gap: var(--gap);
  transform-style: preserve-3d;
  transform: rotateX(calc(56deg - var(--ty, 0) * 5deg)) rotateZ(calc(-36deg + var(--tx, 0) * 6deg));
  transition: transform 0.8s var(--bh-ease);
}

.zs-bh[dir='rtl'] .bh-board {
  transform: rotateX(calc(56deg - var(--ty, 0) * 5deg)) rotateZ(calc(36deg + var(--tx, 0) * 6deg));
}

.zs-bh .bh-board-cell {
  display: block;
  inline-size: var(--cell);
  block-size: var(--cell);
  transform-style: preserve-3d;
  animation: bh-drop 0.95s var(--bh-ease) both;
  animation-delay: var(--delay, 0ms);
}

.zs-bh .t3d--board {
  --s: var(--cell);
  perspective: none;
}

.zs-bh .t3d--board .t3d-rig {
  transform: none;
  animation: bh-bob 6.5s ease-in-out infinite;
  animation-delay: calc(var(--k) * -1.6s);
}

.zs-bh .t3d--board .t3d-edge {
  transform: translateZ(calc(var(--i) * var(--s) * -0.032));
  filter: brightness(calc(1 - var(--i) * 0.035));
}

.zs-bh .t3d--board .t3d-shadow {
  inset: 4%;
  border-radius: 23%;
  background: rgba(11, 13, 16, 0.2);
  filter: blur(calc(var(--s) * 0.08));
  transform: translateZ(calc(var(--s) * -0.32));
}

.zs-bh .bh-board-cell:hover .t3d-rig {
  animation-play-state: paused;
}

.zs-bh .bh-board-cell .t3d-face {
  transition: transform 0.35s var(--bh-ease);
}

.zs-bh .bh-board-cell:hover .t3d-face {
  transform: translateZ(calc(var(--s) * 0.3));
}

@keyframes bh-drop {
  from {
    opacity: 0;
    transform: translateZ(260px);
  }
}

@keyframes bh-bob {
  0%,
  100% {
    transform: translateZ(0);
  }
  50% {
    transform: translateZ(calc(var(--s) * 0.24));
  }
}

/* ───────────── Toolbar, filters ───────────── */

.zs-bh .bh-explore {
  padding-block: 24px 48px;
  scroll-margin-top: calc(var(--bh-top) + 8px);
}

.zs-bh .bh-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.zs-bh .bh-search {
  position: relative;
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
}

.zs-bh .bh-search > svg {
  position: absolute;
  inset-inline-start: 16px;
  inline-size: 20px;
  block-size: 20px;
  color: var(--bh-faint);
  pointer-events: none;
}

.zs-bh .bh-search input {
  inline-size: 100%;
  min-block-size: 52px;
  padding-inline: 48px 44px;
  border: 1px solid var(--bh-line-2);
  border-radius: 14px;
  background: var(--bh-surface);
  color: var(--bh-ink);
  font: inherit;
  font-size: 16px;
  appearance: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.zs-bh .bh-search input::placeholder {
  color: var(--bh-faint);
}

.zs-bh .bh-search input:focus-visible {
  border-color: var(--bh-ink);
  box-shadow: 0 0 0 4px rgba(11, 13, 16, 0.08);
}

.zs-bh .bh-search-clear {
  position: absolute;
  inset-inline-end: 6px;
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--bh-muted);
  cursor: pointer;
}

.zs-bh .bh-search-clear svg {
  inline-size: 18px;
  block-size: 18px;
}

.zs-bh .bh-filters-btn {
  min-block-size: 52px;
}

.zs-bh .bh-filters-btn[data-active] {
  border-color: var(--bh-ink);
}

.zs-bh .bh-select {
  position: relative;
  display: flex;
  align-items: center;
  min-inline-size: 0;
}

.zs-bh .bh-select select {
  inline-size: 100%;
  min-block-size: 52px;
  padding-inline: 16px 40px;
  border: 1px solid var(--bh-line-2);
  border-radius: 12px;
  background: var(--bh-surface);
  color: var(--bh-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  appearance: none;
  cursor: pointer;
}

.zs-bh .bh-select svg {
  position: absolute;
  inset-inline-end: 14px;
  inline-size: 14px;
  block-size: 14px;
  color: var(--bh-muted);
  pointer-events: none;
}

.zs-bh .bh-panel-wrap {
  display: none;
}

.zs-bh .bh-fgroups {
  display: grid;
  gap: 22px;
}

.zs-bh .bh-fgroup {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.zs-bh .bh-fgroup legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
}

.zs-bh .bh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zs-bh .bh-chip-toggle {
  position: relative;
  display: inline-flex;
}

.zs-bh .bh-chip-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.zs-bh .bh-chip-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 42px;
  padding-inline: 16px;
  border: 1px solid var(--bh-line-2);
  border-radius: 999px;
  background: var(--bh-surface);
  color: var(--bh-ink-2);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    padding 0.2s var(--bh-ease);
}

.zs-bh .bh-chip-toggle svg {
  inline-size: 0;
  block-size: 12px;
  opacity: 0;
  transition:
    inline-size 0.2s var(--bh-ease),
    opacity 0.2s ease;
}

.zs-bh .bh-chip-toggle input:checked + span {
  border-color: var(--bh-ink);
  background: var(--bh-ink);
  color: var(--bh-bg);
}

.zs-bh .bh-chip-toggle input:checked + span svg {
  inline-size: 12px;
  opacity: 1;
}

.zs-bh .bh-chip-toggle input:focus-visible + span {
  box-shadow: var(--bh-focus);
}

.zs-bh .bh-chip-toggle:hover span {
  border-color: var(--bh-ink);
}

.zs-bh .bh-tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bh-line);
}

.zs-bh .bh-seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  inline-size: 100%;
}

.zs-bh .bh-seg button {
  min-block-size: 44px;
  padding: 6px 14px;
  border: 1px solid var(--bh-line-2);
  border-radius: 999px;
  background: var(--bh-surface);
  color: var(--bh-ink-2);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s var(--bh-ease);
}

.zs-bh .bh-seg button:hover {
  border-color: var(--bh-ink);
}

.zs-bh .bh-seg button:active {
  transform: scale(0.97);
}

.zs-bh .bh-seg button[aria-pressed='true'] {
  border-color: var(--bh-ink);
  background: var(--bh-ink);
  color: var(--bh-bg);
}

.zs-bh .bh-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-size: 14.5px;
  color: var(--bh-muted);
}

.zs-bh .bh-results-meta p {
  margin: 0;
}

.zs-bh .bh-results-meta strong {
  color: var(--bh-ink);
  font-size: 16px;
}

.zs-bh .bh-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.zs-bh .bh-dot {
  inline-size: 7px;
  block-size: 7px;
  flex: none;
  border-radius: 999px;
  background: var(--bh-green);
  box-shadow: 0 0 0 3px var(--bh-green-soft);
}

.zs-bh .bh-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.zs-bh .bh-active button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 38px;
  padding-inline: 14px 10px;
  border: 1px solid var(--bh-ink);
  border-radius: 999px;
  background: var(--bh-surface);
  color: var(--bh-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  animation: bh-in 0.3s var(--bh-ease) both;
}

.zs-bh .bh-active svg {
  inline-size: 14px;
  block-size: 14px;
}

/* ───────────── Broker rows ───────────── */

.zs-bh .bh-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.zs-bh .bh-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    'visual head'
    'summary summary'
    'facts facts'
    'client client'
    'actions actions';
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--bh-line);
  border-radius: 22px;
  background: var(--bh-surface);
  transition:
    border-color 0.25s ease,
    box-shadow 0.35s var(--bh-ease);
}

.zs-bh .bh-row:hover {
  border-color: var(--bh-line-2);
  box-shadow: var(--bh-shadow);
}

.zs-bh .bh-row[data-selected] {
  border-color: var(--bh-ink);
  box-shadow: 0 0 0 1px var(--bh-ink);
}

.zs-bh .bh-list[data-motion='on'] .bh-row:not([data-in]) {
  opacity: 0;
}

.zs-bh .bh-row[data-in] {
  animation: bh-rise 0.6s var(--bh-ease) both;
  animation-delay: var(--d, 0ms);
}

.zs-bh .bh-row-main {
  display: contents;
}

.zs-bh .bh-row-visual {
  grid-area: visual;
  display: grid;
  place-items: center;
  inline-size: 104px;
  block-size: 104px;
  text-decoration: none;
}

.zs-bh .bh-row-visual .t3d {
  --s: 78px;
}

.zs-bh .bh-row:hover .t3d-plate--1 {
  transform: translate3d(calc(var(--s) * 0.12), calc(var(--s) * 0.09), calc(var(--s) * -0.18)) rotateZ(9deg);
}

.zs-bh .bh-row:hover .t3d-plate--2 {
  transform: translate3d(calc(var(--s) * 0.24), calc(var(--s) * 0.18), calc(var(--s) * -0.36)) rotateZ(18deg);
}

.zs-bh[dir='rtl'] .bh-row:hover .t3d-plate--1 {
  transform: translate3d(calc(var(--s) * -0.12), calc(var(--s) * 0.09), calc(var(--s) * -0.18)) rotateZ(-9deg);
}

.zs-bh[dir='rtl'] .bh-row:hover .t3d-plate--2 {
  transform: translate3d(calc(var(--s) * -0.24), calc(var(--s) * 0.18), calc(var(--s) * -0.36)) rotateZ(-18deg);
}

.zs-bh .bh-row:hover .t3d-shadow {
  transform: translateZ(calc(var(--s) * -0.6)) scale(1.06);
  opacity: 0.85;
}

.zs-bh .bh-row-head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-inline-size: 0;
}

.zs-bh .bh-row-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-inline-size: 0;
}

.zs-bh .bh-row-name {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.zs-bh .bh-row-name a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s var(--bh-ease);
}

.zs-bh[dir='rtl'] .bh-row-name a {
  background-position: 100% 100%;
}

.zs-bh .bh-row-name a:hover {
  background-size: 100% 2px;
}

.zs-bh .bh-kind {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  inline-size: fit-content;
  padding: 4px 11px;
  border: 1px solid var(--bh-line);
  border-radius: 999px;
  background: var(--bh-surface);
  color: var(--bh-ink-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.zs-bh .bh-kind::before {
  content: '';
  inline-size: 7px;
  block-size: 7px;
  border-radius: 2px;
  background: var(--bh-ink-2);
}

.zs-bh .bh-kind[data-kind='crypto_exchange'] {
  border-color: rgba(176, 120, 0, 0.3);
  color: #6b4a00;
}

.zs-bh .bh-kind[data-kind='crypto_exchange']::before {
  border-radius: 999px;
  background: #d39b00;
}

.zs-bh .bh-kind[data-kind='futures'] {
  border-color: rgba(55, 65, 160, 0.25);
  color: #2f3a8f;
}

.zs-bh .bh-kind[data-kind='futures']::before {
  background: #4f5bd5;
}

html:not(.light) .zs-bh .bh-kind[data-kind='crypto_exchange'] {
  color: #f2c25c;
}

html:not(.light) .zs-bh .bh-kind[data-kind='futures'] {
  color: #aab3ff;
}

.zs-bh .bh-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 40px;
  padding-inline: 12px 14px;
  border: 1px solid var(--bh-line-2);
  border-radius: 999px;
  background: var(--bh-surface);
  color: var(--bh-ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.15s var(--bh-ease);
}

.zs-bh .bh-compare-toggle:hover {
  border-color: var(--bh-ink);
}

.zs-bh .bh-compare-toggle:active {
  transform: scale(0.97);
}

.zs-bh .bh-box {
  display: grid;
  place-items: center;
  inline-size: 18px;
  block-size: 18px;
  border: 1.5px solid var(--bh-line-2);
  border-radius: 6px;
  color: transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.25s var(--bh-ease);
}

.zs-bh .bh-compare-toggle[aria-pressed='true'] {
  border-color: var(--bh-ink);
  color: var(--bh-ink);
}

.zs-bh .bh-compare-toggle[aria-pressed='true'] .bh-box {
  border-color: #0b0d10;
  background: var(--bh-green);
  color: #0b0d10;
  transform: scale(1.08);
}

.zs-bh .bh-compare-toggle[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
}

.zs-bh .bh-row-summary {
  grid-area: summary;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--bh-ink-2);
  text-wrap: pretty;
}

.zs-bh .bh-clamp3m {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.zs-bh .bh-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--bh-line);
}

.zs-bh .bh-fact {
  min-inline-size: 0;
}

.zs-bh .bh-fact--regs {
  grid-column: 1 / -1;
}

.zs-bh .bh-fact dt {
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bh-muted);
}

.zs-bh .bh-fact dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--bh-ink);
}

.zs-bh .bh-pchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zs-bh .bh-pchip {
  display: inline-flex;
  max-inline-size: 100%;
  align-items: center;
  min-block-size: 30px;
  padding: 3px 10px;
  border: 1px solid var(--bh-line-2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.zs-bh .bh-more {
  color: var(--bh-faint);
  font-weight: 600;
}

.zs-bh .bh-regs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zs-bh .bh-reg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 30px;
  padding: 2px 10px;
  border: 1px solid var(--bh-line-2);
  border-radius: 8px;
  background: var(--bh-surface);
  font-family: var(--bh-num);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bh-ink);
  white-space: nowrap;
}

.zs-bh .bh-reg[data-verified='true']::after {
  content: '';
  inline-size: 7px;
  block-size: 7px;
  border-radius: 999px;
  background: var(--bh-green);
  box-shadow: 0 0 0 2px var(--bh-green-soft);
}

.zs-bh .bh-reg--more {
  color: var(--bh-muted);
}

.zs-bh .bh-client {
  grid-area: client;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--bh-line);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.55;
}

.zs-bh .bh-client-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bh-muted);
}

.zs-bh .bh-client-entity {
  font-weight: 700;
}

.zs-bh .bh-client-entity[data-unregulated='true'] .bh-warn {
  padding: 1px 8px;
  border-radius: 6px;
  background: rgba(211, 155, 0, 0.12);
}

.zs-bh .bh-row-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.zs-bh .bh-row-actions .bh-btn {
  inline-size: 100%;
  min-block-size: 50px;
}

.zs-bh .bh-ext-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--bh-faint);
  text-align: center;
}

.zs-bh .bh-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 56px 16px;
  border: 1px dashed var(--bh-line-2);
  border-radius: 22px;
  text-align: center;
  animation: bh-in 0.4s var(--bh-ease) both;
}

.zs-bh .bh-empty-icon {
  display: grid;
  place-items: center;
  inline-size: 52px;
  block-size: 52px;
  border: 1px solid var(--bh-line-2);
  border-radius: 16px;
  color: var(--bh-muted);
}

.zs-bh .bh-empty-icon svg {
  inline-size: 22px;
  block-size: 22px;
}

.zs-bh .bh-empty h2 {
  margin: 0;
  font-size: 20px;
}

.zs-bh .bh-empty p {
  margin: 0 0 6px;
  color: var(--bh-muted);
}

/* ───────────── About (method + risk) ───────────── */

.zs-bh .bh-about {
  border-top: 1px solid var(--bh-line);
  padding-block: 40px 56px;
}

.zs-bh .bh-about-grid {
  display: grid;
  gap: 28px;
}

.zs-bh .bh-method h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.zs-bh .bh-method ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-bh .bh-method li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--bh-ink-2);
}

.zs-bh .bh-step {
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border: 1px solid var(--bh-line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: var(--bh-ink);
}

.zs-bh .bh-risk {
  align-self: start;
  padding: 18px 20px;
  border: 1px solid var(--bh-line);
  border-inline-start: 3px solid var(--bh-warn-line);
  border-radius: 14px;
}

.zs-bh .bh-risk h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--bh-warn);
}

.zs-bh .bh-risk p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--bh-ink-2);
}

/* ───────────── Compare tray + dialogs ───────────── */

.zs-bh[data-tray='open'] {
  padding-block-end: 112px;
}

.zs-bh .bh-tray {
  position: fixed;
  z-index: 60;
  inset-inline: 0;
  inset-block-end: calc(var(--zs-m-bottom-offset, 0px) + 12px);
  display: flex;
  justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
}

.zs-bh .bh-tray-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  inline-size: min(100%, 600px);
  padding: 8px;
  padding-inline-start: 14px;
  border: 1px solid var(--bh-line-2);
  border-radius: 18px;
  background: var(--bh-surface);
  box-shadow: 0 22px 50px -20px rgba(11, 13, 16, 0.4);
  pointer-events: auto;
  animation: bh-tray-in 0.4s var(--bh-ease) both;
}

@keyframes bh-tray-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}

.zs-bh .bh-tray-logos {
  display: flex;
  flex: none;
  gap: 6px;
}

.zs-bh .bh-tray-logos .t3d {
  --rx0: 0deg;
  --ry0: 0deg;
  animation: bh-in 0.35s var(--bh-ease) both;
}

.zs-bh .bh-tray-logos .t3d-shadow {
  display: none;
}

.zs-bh .bh-tray-text {
  flex: 1 1 auto;
  min-inline-size: 0;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-dialog {
  inline-size: min(100% - 32px, 720px);
  max-inline-size: none;
  max-block-size: min(88dvh, 920px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--bh-line);
  border-radius: 22px;
  background: var(--bh-surface);
  color: var(--bh-ink);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.bh-dialog--wide {
  inline-size: min(100% - 48px, 1180px);
}

.bh-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: bh-pop 0.35s var(--bh-ease) both;
}

.bh-dialog::backdrop {
  background: rgba(8, 9, 11, 0.42);
  backdrop-filter: blur(3px);
  animation: bh-fade 0.3s ease both;
}

@keyframes bh-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
}

@keyframes bh-fade {
  from {
    opacity: 0;
  }
}

.bh-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-block-end: 1px solid var(--bh-line);
}

.bh-dialog-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.bh-dialog-body {
  flex: 1 1 auto;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.bh-dialog-foot {
  display: flex;
  gap: 10px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-block-start: 1px solid var(--bh-line);
}

.bh-dialog-foot .bh-btn {
  flex: 1 1 0;
}

@media (max-width: 767.98px) {
  .bh-dialog,
  .bh-dialog--wide {
    inline-size: 100%;
    max-block-size: 92dvh;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .bh-dialog[open] {
    animation: bh-sheet 0.38s var(--bh-ease) both;
  }
}

@keyframes bh-sheet {
  from {
    transform: translateY(40px);
    opacity: 0.6;
  }
}

/* ───────────── Compare (table + stacked) ───────────── */

.zs-bh .bc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-inline-size: 0;
}

.zs-bh .bc-head .t3d {
  --rx0: 8deg;
}

.zs-bh .bc-head-id {
  display: grid;
  gap: 2px;
  min-inline-size: 0;
}

.zs-bh .bc-head-id strong {
  font-size: 17px;
  line-height: 1.25;
}

.zs-bh .bc-head-id a {
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.zs-bh .bc-remove {
  margin-inline-start: auto;
}

.zs-bh .bc-table {
  display: none;
  inline-size: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.zs-bh .bc-table th,
.zs-bh .bc-table td {
  padding: 16px;
  border-block-end: 1px solid var(--bh-line);
  text-align: start;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.6;
}

.zs-bh .bc-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bh-surface);
  border-block-end: 1px solid var(--bh-line-2);
}

.zs-bh .bc-table tbody th {
  inline-size: 200px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bh-muted);
}

.zs-bh .bc-table .bc-corner {
  inline-size: 200px;
  font-size: 14px;
  color: var(--bh-muted);
  vertical-align: bottom;
}

.zs-bh .bc-table tbody tr {
  transition: background 0.2s ease;
}

.zs-bh .bc-table tbody tr:hover {
  background: var(--bh-soft);
}

.zs-bh .bc-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-bh .bc-stack {
  display: grid;
  gap: 12px;
}

.zs-bh .bc-stack-heads {
  display: grid;
  gap: 8px;
}

.zs-bh .bc-stack-heads > div {
  padding: 10px;
  border: 1px solid var(--bh-line);
  border-radius: 16px;
}

.zs-bh .bc-block {
  border: 1px solid var(--bh-line);
  border-radius: 16px;
  overflow: hidden;
}

.zs-bh .bc-block h3 {
  margin: 0;
  padding: 12px 14px;
  border-block-end: 1px solid var(--bh-line);
  font-size: 14px;
  font-weight: 800;
  color: var(--bh-muted);
}

.zs-bh .bc-block > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-bh .bc-block > ul > li {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
}

.zs-bh .bc-block > ul > li + li {
  border-block-start: 1px solid var(--bh-line);
}

.zs-bh .bc-who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.zs-bh .bc-who .t3d {
  --rx0: 0deg;
  --ry0: 0deg;
}

.zs-bh .bc-who .t3d-shadow {
  display: none;
}

.zs-bh .bc-val {
  font-size: 15px;
  line-height: 1.6;
}

/* compare page */

.zs-bh .bc-hero {
  padding-block: 20px 28px;
  border-block-end: 1px solid var(--bh-line);
}

.zs-bh .bc-title {
  font-size: clamp(32px, 6vw, 56px);
}

.zs-bh .bc-pickers {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.zs-bh .bc-body {
  display: grid;
  gap: 24px;
  padding-block: 24px 56px;
}

/* ───────────── Detail ───────────── */

.zs-bh .bd-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--bh-muted);
}

.zs-bh .bd-crumbs li + li::before {
  content: '/';
  margin-inline-end: 8px;
  color: var(--bh-faint);
}

.zs-bh .bd-crumbs a {
  font-weight: 700;
  text-decoration: none;
}

.zs-bh .bd-crumbs a:hover {
  text-decoration: underline;
}

.zs-bh .bd-hero {
  padding-block: 20px 28px;
  border-block-end: 1px solid var(--bh-line);
  overflow: clip;
}

.zs-bh .bd-hero-grid {
  display: grid;
  gap: 22px;
}

.zs-bh .bd-hero-visual {
  display: grid;
  place-items: center;
  block-size: 190px;
}

.zs-bh .t3d--hero {
  --s: 132px;
}

.zs-bh .t3d--hero .t3d-rig {
  animation: bh-float 7s ease-in-out infinite;
}

@keyframes bh-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

.zs-bh .bd-hero-id {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-inline-size: 0;
}

.zs-bh .bd-hero-id > :nth-child(2) {
  --d: 60ms;
}

.zs-bh .bd-hero-id > :nth-child(3) {
  --d: 120ms;
}

.zs-bh .bd-hero-id > :nth-child(4) {
  --d: 180ms;
}

.zs-bh .bd-hero-cta {
  --d: 240ms;
}

.zs-bh .bd-name {
  margin: 0;
  font-size: clamp(32px, 7vw, 58px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.zs-bh .bd-summary {
  margin: 0;
  max-inline-size: 70ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--bh-ink-2);
  text-wrap: pretty;
}

.zs-bh .bd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0;
  font-size: 14px;
  color: var(--bh-muted);
}

.zs-bh .bd-meta a {
  font-weight: 700;
  color: var(--bh-ink);
  text-underline-offset: 4px;
}

.zs-bh .bd-hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: center;
}

.zs-bh .bd-hero-cta .bh-btn {
  inline-size: 100%;
}

.zs-bh .bd-disclosure {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--bh-faint);
  text-align: center;
}

.zs-bh .bd-keyfacts {
  display: grid;
  gap: 1px;
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--bh-line);
  border-radius: 18px;
  background: var(--bh-line);
}

.zs-bh .bd-kf {
  display: grid;
  align-content: start;
  gap: 6px;
  min-inline-size: 0;
  padding: 16px 18px;
  background: var(--bh-surface);
}

.zs-bh .bd-kf dt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bh-muted);
}

.zs-bh .bd-kf dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

.zs-bh .bd-tabs {
  position: sticky;
  top: var(--bh-top);
  z-index: 20;
  border-block-end: 1px solid var(--bh-line);
  background: color-mix(in srgb, var(--bh-bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
}

.zs-bh .bd-tabs ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.zs-bh .bd-tabs ul::-webkit-scrollbar {
  display: none;
}

.zs-bh .bd-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-block-size: 42px;
  padding-inline: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bh-muted);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.zs-bh .bd-tabs a::after {
  content: '';
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 4px;
  block-size: 2px;
  border-radius: 2px;
  background: var(--bh-ink);
  transform: scaleX(0);
  transition: transform 0.3s var(--bh-ease);
}

.zs-bh .bd-tabs a:hover {
  color: var(--bh-ink);
}

.zs-bh .bd-tabs a[aria-current='location'] {
  color: var(--bh-ink);
}

.zs-bh .bd-tabs a[aria-current='location']::after {
  transform: scaleX(1);
}

.zs-bh .bd-body {
  padding-block: 0 64px;
}

.zs-bh .bd-section {
  padding-block: 36px;
  border-block-end: 1px solid var(--bh-line);
  scroll-margin-top: calc(var(--bh-top) + 70px);
}

.zs-bh .bd-body[data-motion='on'] .bd-section:not([data-in]),
.zs-bh .bd-body[data-motion='on'] .bd-cta:not([data-in]) {
  opacity: 0;
}

.zs-bh .bd-section[data-in],
.zs-bh .bd-cta[data-in] {
  animation: bh-rise 0.6s var(--bh-ease) both;
  animation-delay: var(--d, 0ms);
}

.zs-bh .bd-section-head {
  margin-bottom: 20px;
}

.zs-bh .bd-section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.zs-bh .bd-section-head p {
  margin: 8px 0 0;
  max-inline-size: 80ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bh-muted);
}

.zs-bh .bd-entities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 14px;
}

.zs-bh .bd-entity {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--bh-line);
  border-radius: 18px;
  background: var(--bh-surface);
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s var(--bh-ease);
}

.zs-bh .bd-entity:hover {
  border-color: var(--bh-line-2);
  box-shadow: var(--bh-shadow);
}

.zs-bh .bd-entity header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.zs-bh .bd-entity-reg {
  font-family: var(--bh-num);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.zs-bh .bd-entity h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.zs-bh .bd-verify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--bh-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bh-muted);
}

.zs-bh .bd-verify[data-verified='true'] {
  border-color: rgba(58, 102, 0, 0.25);
  color: var(--bh-green-ink);
}

.zs-bh .bd-verify[data-verified='true']::before {
  content: '';
  inline-size: 7px;
  block-size: 7px;
  border-radius: 999px;
  background: var(--bh-green);
  box-shadow: 0 0 0 2px var(--bh-green-soft);
}

.zs-bh .bd-dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 0;
}

.zs-bh .bd-dl > div {
  min-inline-size: 0;
}

.zs-bh .bd-dl .bd-wide {
  grid-column: 1 / -1;
}

.zs-bh .bd-dl dt,
.zs-bh .bd-account dt,
.zs-bh .bd-grid2 dt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bh-muted);
}

.zs-bh .bd-dl dd {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}

.zs-bh .bd-extlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  inline-size: fit-content;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zs-bh .bd-extlink svg {
  inline-size: 14px;
  block-size: 14px;
}

.zs-bh .bd-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--bh-line);
  border-inline-start: 3px solid var(--bh-ink);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bh-ink-2);
}

.zs-bh .bd-cols {
  display: grid;
  gap: 24px;
}

.zs-bh .bd-col h3,
.zs-bh .bd-costline h3,
.zs-bh .bd-unverified h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
}

.zs-bh .bd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-bh .bd-chips li {
  padding: 7px 14px;
  border: 1px solid var(--bh-line-2);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.zs-bh .bd-text {
  margin: 0;
}

.zs-bh .bd-costline {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.zs-bh .bd-costline p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--bh-ink-2);
}

.zs-bh .bd-accounts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}

.zs-bh .bd-account {
  padding: 18px;
  border: 1px solid var(--bh-line);
  border-radius: 18px;
}

.zs-bh .bd-account h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.zs-bh .bd-account dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.zs-bh .bd-account dd,
.zs-bh .bd-grid2 dd {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.zs-bh .bd-grid2 {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--bh-line);
  border-radius: 18px;
  background: var(--bh-line);
}

.zs-bh .bd-grid2 > div {
  padding: 16px 18px;
  background: var(--bh-surface);
}

.zs-bh .bd-assess {
  display: grid;
  gap: 14px;
}

.zs-bh .bd-assess-col {
  padding: 18px;
  border: 1px solid var(--bh-line);
  border-radius: 18px;
}

.zs-bh .bd-assess-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.zs-bh .bd-assess-col h3::before {
  content: '';
  inline-size: 10px;
  block-size: 10px;
  border-radius: 3px;
  background: var(--bh-green);
}

.zs-bh .bd-assess-col[data-tone='limit'] h3::before {
  background: var(--bh-warn-line);
}

.zs-bh .bd-assess-col ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-bh .bd-assess-col p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--bh-ink-2);
}

.zs-bh .bd-assess-col a {
  display: inline-block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bh-muted);
  text-underline-offset: 3px;
}

.zs-bh .bd-unverified {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px dashed var(--bh-line-2);
  border-radius: 16px;
}

.zs-bh .bd-unverified ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-inline-start: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--bh-ink-2);
}

.zs-bh .bd-sources {
  border: 1px solid var(--bh-line);
  border-radius: 18px;
}

.zs-bh .bd-sources summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 58px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.zs-bh .bd-sources summary::-webkit-details-marker {
  display: none;
}

.zs-bh .bd-sources-toggle {
  inline-size: 12px;
  block-size: 12px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--bh-ease);
}

.zs-bh .bd-sources[open] .bd-sources-toggle {
  transform: rotate(-135deg);
}

.zs-bh .bd-sources ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 8px;
  margin: 0;
  padding: 4px 18px 18px;
  list-style: none;
  animation: bh-in 0.35s var(--bh-ease) both;
}

.zs-bh .bd-sources a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--bh-line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.zs-bh .bd-sources a:hover {
  border-color: var(--bh-ink);
}

.zs-bh .bd-sources small {
  font-family: var(--bh-num);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bh-faint);
}

.zs-bh .bd-cta {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-top: 36px;
  padding: 22px;
  border: 1px solid var(--bh-line-2);
  border-radius: 22px;
}

.zs-bh .bd-cta .t3d .t3d-shadow {
  display: none;
}

.zs-bh .bd-cta-copy h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.zs-bh .bd-cta-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bh-ink-2);
}

.zs-bh .bd-cta-actions {
  display: grid;
  gap: 8px;
  inline-size: 100%;
}

.zs-bh .bd-cta-actions .bh-btn {
  inline-size: 100%;
  min-block-size: 50px;
}

.zs-bh .bd-risk {
  margin-top: 16px;
}

/* ───────────── ≥ 640 ───────────── */

@media (min-width: 640px) {
  .zs-bh {
    --bh-gutter: 24px;
  }

  .zs-bh .bh-hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .zs-bh .bh-scene {
    block-size: 300px;
  }

  .zs-bh .bh-board {
    --cell: 62px;
    --gap: 15px;
  }

  .zs-bh .bh-seg {
    display: flex;
    flex-wrap: wrap;
    inline-size: auto;
  }

  .zs-bh .bh-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zs-bh .bh-row-actions {
    grid-template-columns: auto auto 1fr;
    align-items: center;
  }

  .zs-bh .bh-row-actions .bh-btn {
    inline-size: auto;
    min-inline-size: 170px;
  }

  .zs-bh .bh-ext-note {
    grid-column: auto;
    text-align: start;
  }

  .zs-bh .bd-dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zs-bh .bd-dl .bd-wide {
    grid-column: span 3;
  }

  .zs-bh .bd-keyfacts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zs-bh .bd-kf--entity {
    grid-column: 1 / -1;
  }

  .zs-bh .bd-cols {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .zs-bh .bd-costline {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .zs-bh .bd-grid2,
  .zs-bh .bd-assess {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zs-bh .bc-pickers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zs-bh .bd-cta {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
  }

  .zs-bh .bd-cta-actions {
    inline-size: auto;
    min-inline-size: 240px;
  }
}

@media (min-width: 768px) {
  .zs-bh .bc-table {
    display: table;
  }

  .zs-bh .bc-stack {
    display: none;
  }
}

/* ───────────── Desktop ≥ 1024 ───────────── */

@media (min-width: 1024px) {
  .zs-bh {
    --bh-gutter: clamp(24px, 2.6vw, 40px);
    --bh-top: 72px;
  }

  .zs-bh .bh-hero {
    padding-block: clamp(20px, 2.4vw, 40px) clamp(20px, 2vw, 32px);
  }

  .zs-bh .bh-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 32px;
  }

  .zs-bh .bh-title {
    font-size: clamp(48px, 4.6vw, 80px);
  }

  .zs-bh .bh-scene {
    block-size: clamp(340px, 27vw, 460px);
    margin: 0;
  }

  .zs-bh .bh-board {
    --cell: clamp(70px, 5.6vw, 104px);
    --gap: calc(var(--cell) * 0.24);
  }

  .zs-bh .bh-explore {
    padding-block: 32px 64px;
  }

  .zs-bh .bh-toolbar {
    grid-template-columns: minmax(0, 1fr) auto 280px;
  }

  .zs-bh .bh-search {
    grid-column: auto;
  }

  .zs-bh .bh-panel-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--bh-ease);
  }

  .zs-bh .bh-panel-wrap[data-open] {
    grid-template-rows: 1fr;
  }

  .zs-bh .bh-panel-inner {
    min-block-size: 0;
    overflow: hidden;
  }

  .zs-bh .bh-panel-inner .bh-fgroups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 12px;
    padding: 20px 22px;
    border: 1px solid var(--bh-line);
    border-radius: 18px;
  }

  .zs-bh .bh-panel-wrap:not([data-open]) .bh-fgroups {
    opacity: 0;
    transform: translateY(-6px);
  }

  .zs-bh .bh-fgroups {
    transition:
      opacity 0.3s ease,
      transform 0.35s var(--bh-ease);
  }

  .zs-bh .bh-row {
    grid-template-columns: clamp(200px, 16vw, 280px) minmax(0, 1fr) 232px;
    grid-template-areas: 'visual main actions';
    align-items: center;
    gap: clamp(24px, 2.4vw, 40px);
    padding: clamp(22px, 2vw, 32px);
    border-radius: 26px;
  }

  .zs-bh .bh-row-main {
    grid-area: main;
    display: grid;
    gap: 14px;
    min-inline-size: 0;
  }

  .zs-bh .bh-row-main > * {
    grid-area: auto;
  }

  .zs-bh .bh-row-summary .bh-clamp3m {
    display: inline;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
  }

  .zs-bh .bh-row-visual {
    inline-size: auto;
    block-size: clamp(190px, 14vw, 240px);
  }

  .zs-bh .bh-row-visual .t3d {
    --s: clamp(118px, 9.4vw, 160px);
  }

  .zs-bh .bh-row-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .zs-bh .bh-row-id {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .zs-bh .bh-row-name {
    font-size: clamp(24px, 1.9vw, 30px);
  }

  .zs-bh .bh-row-summary {
    max-inline-size: 92ch;
  }

  .zs-bh .bh-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 24px;
  }

  .zs-bh .bh-client {
    align-self: start;
    inline-size: fit-content;
    max-inline-size: 100%;
  }

  .zs-bh .bh-row-actions {
    grid-template-columns: 1fr;
    align-content: center;
    align-self: stretch;
    padding-inline-start: clamp(20px, 2vw, 32px);
    border-inline-start: 1px solid var(--bh-line);
  }

  .zs-bh .bh-row-actions .bh-btn {
    inline-size: 100%;
    min-inline-size: 0;
  }

  .zs-bh .bh-ext-note {
    text-align: center;
  }

  .zs-bh .bh-about-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 48px;
  }

  .zs-bh .bd-hero {
    padding-block: 24px 36px;
  }

  .zs-bh .bd-hero-grid {
    grid-template-columns: clamp(240px, 20vw, 340px) minmax(0, 1fr) 300px;
    align-items: center;
    gap: clamp(28px, 3vw, 56px);
  }

  .zs-bh .bd-hero-visual {
    block-size: clamp(260px, 20vw, 340px);
  }

  .zs-bh .t3d--hero {
    --s: clamp(170px, 13vw, 230px);
  }

  .zs-bh .bd-hero-cta {
    grid-template-columns: 1fr;
    align-self: stretch;
    padding-inline-start: 32px;
    border-inline-start: 1px solid var(--bh-line);
  }

  .zs-bh .bd-keyfacts {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  }

  .zs-bh .bd-kf--entity {
    grid-column: auto;
  }

  .zs-bh .bd-section {
    padding-block: 48px;
  }

  .zs-bh .bc-pickers {
    max-inline-size: 960px;
  }
}

@media (min-width: 1600px) {
  .zs-bh .bh-facts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .zs-bh .bh-fact--regs {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .zs-bh .bh-row {
    padding: 16px;
  }

  .zs-bh .bh-facts {
    gap: 14px 12px;
  }
}

/* ───────────── View transitions (filters) ───────────── */

::view-transition-group(*) {
  animation-duration: 0.38s;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ───────────── Reduced motion ───────────── */

@media (prefers-reduced-motion: reduce) {
  .zs-bh *,
  .zs-bh *::before,
  .zs-bh *::after,
  .bh-dialog,
  .bh-dialog[open],
  .bh-dialog::backdrop {
    animation: none !important;
    transition: none !important;
  }

  .zs-bh .bh-list .bh-row,
  .zs-bh .bd-section {
    opacity: 1 !important;
  }
}

