:is(.xht, .xht-start) {
  --xht-line: var(--platform-dark-border, #27272A);
  --xht-line-2: var(--platform-dark-border-strong, #3F3F46);
  --xht-surface: var(--platform-dark-surface, #141417);
  --xht-text: var(--platform-dark-text, #FAFAFA);
  --xht-muted: var(--platform-dark-muted, #A1A1AA);
  --xht-blue: var(--platform-dark-accent, #50A2FF);
  --xht-blue-rgb: var(--platform-dark-accent-rgb, 80, 162, 255);
}
.xht-nw { white-space: nowrap; }
.xht-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.xht-k {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--xht-muted);
}

.xht-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem clamp(2rem, 4.5vw, 4.5rem); align-items: start;
}
.xht-col { padding-top: 1.5rem; border-top: 1px solid var(--xht-line); }
.xht-field { border-top-color: rgba(var(--pillar-accent-rgb, 232, 194, 160), 0.55); }
.xht-col__h {
  margin: 0 0 0.625rem;
  font-size: 1.375rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.005em;
  color: var(--xht-text); text-wrap: balance;
}
.xht-dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 0.625rem; vertical-align: 0.18em;
  border-radius: 50%;
  background: var(--pillar-accent, #E8C2A0);
  box-shadow: 0 0 0 3px rgba(var(--pillar-accent-rgb, 232, 194, 160), 0.16);
}
.xht-dot--open { background: transparent; border: 1px solid var(--xht-muted); box-shadow: none; }
.xht-col__lede { margin: 0 0 1.5rem; max-width: 60ch; font-size: 1rem; line-height: 1.6; color: var(--xht-muted); text-wrap: pretty; }

.xht-cases { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.xht .xht-case {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "media src" "media text";
  column-gap: 1.25rem;
  padding: 0;
}
.xht-case__media { grid-area: media; position: relative; min-height: 8.5rem; overflow: hidden; border-right: 1px solid var(--xht-line); }
.xht-case__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.94);
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}
.xht-case:hover .xht-case__media img { transform: scale(1.04); }
.xht .xht-case .rh-case__src { grid-area: src; margin: 0; padding: 1rem 1.25rem 0 0; font-size: 0.75rem; }
.xht-case__text { grid-area: text; display: flex; flex-direction: column; padding: 0.375rem 1.25rem 1.125rem 0; }
.xht-case__title { margin: 0 0 0.75rem; font-size: 1.0625rem; line-height: 1.35; font-weight: 600; text-wrap: balance; }
.xht-case__title a { color: var(--xht-text); text-decoration: none; }
.xht-case__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.xht-case__title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--xht-blue-rgb), 0.8); }
.xht-case__title a:focus-visible { outline: none; }
.xht .xht-case:focus-within { outline: 2px solid var(--xht-blue); outline-offset: 3px; }
.xht .xht-case .rh-case__kpi { font-size: 2rem; font-variant-numeric: tabular-nums; }
.xht .xht-case .rh-case__kpi-label { margin: 0.25rem 0 0; }

.xht-field__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
}
.xht-review { display: grid; gap: 0.25rem; margin: 0; max-width: 46ch; font-size: 0.875rem; line-height: 1.5; color: var(--xht-text); }
.xht-fine { margin: 0.75rem 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--xht-muted); }

.xht-areas { margin: 0 0 1.75rem; }
.xht-area { padding: 0.875rem 0; border-top: 1px solid var(--xht-line); }
.xht-area:first-child { padding-top: 0; border-top: 0; }
.xht-area dt { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 600; }
.xht-area dt a { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--xht-text); text-decoration: none; }
.xht-area dt a span { color: var(--xht-blue); transition: transform var(--dur-fast, 160ms) var(--ease-out, ease); }
.xht-area dt a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--xht-blue-rgb), 0.8); }
.xht-area dt a:hover span { transform: translateX(2px); }
.xht-area dt a:focus-visible { outline: 2px solid var(--xht-blue); outline-offset: 3px; border-radius: 2px; }
.xht-area dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--xht-muted); text-wrap: pretty; }

.xht-bounds__k { margin: 0 0 0.75rem; }
.xht-bounds { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--xht-line); border-radius: var(--radius-md, 12px); background: var(--xht-surface); }
.xht-bounds li {
  position: relative; padding: 0.6875rem 1rem 0.6875rem 2.25rem;
  font-size: 0.9375rem; line-height: 1.45; color: var(--xht-text);
}
.xht-bounds li + li { border-top: 1px solid var(--xht-line); }
.xht-bounds li::before {   content: ""; position: absolute; left: 1rem; top: calc(0.6875rem + 0.72em - 1px);
  width: 9px; height: 2px; border-radius: 1px; background: var(--xht-muted);
}

.xht-sec {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--xht-line);
}
.xht-sec__list { display: flex; flex-wrap: wrap; gap: 1rem clamp(1.5rem, 4vw, 3.5rem); margin: 0; }
.xht-sec__list > div { display: grid; gap: 0.25rem; }
.xht-sec__list dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--xht-text); }

.xht-start.rh-section { border-top: 0; padding-top: 0; }
.xht-start .rh-final { margin-top: 0; box-shadow: inset 0 1px 0 rgba(250, 250, 250, 0.05); }
.xht-start .xht-final::before {   background:
    radial-gradient(60% 70% at 50% 0%, rgba(250, 250, 250, 0.07), transparent 70%),
    radial-gradient(circle, rgba(250, 250, 250, 0.16) 1px, transparent 1.6px) 0 0 / 14px 14px;
  opacity: 1;
  -webkit-mask-image: radial-gradient(80% 90% at 50% 40%, #000 25%, transparent 100%);
          mask-image: radial-gradient(80% 90% at 50% 40%, #000 25%, transparent 100%);
}
.xht-start .xht-final::after { background: radial-gradient(70% 90% at 50% 45%, rgba(10, 10, 11, 0.55), rgba(10, 10, 11, 0.9)); }
.xht-final .rh-h2 { text-wrap: balance; }
.xht-final .rh-lead { text-wrap: pretty; }

.xht-chips { margin-top: 2rem; }
.xht-chips__k { margin: 0 0 0.75rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--xht-muted); }
.xht-chips__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.xht-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0 0.875rem;
  border: 1px solid var(--xht-line-2); border-radius: 999px;
  background: rgba(10, 10, 11, 0.55);
  font-size: 0.875rem; font-weight: 500; color: var(--xht-text); text-decoration: none; white-space: nowrap;
  transition: border-color var(--dur-fast, 160ms) var(--ease-out, ease), background-color var(--dur-fast, 160ms) var(--ease-out, ease);
}
.xht-chip:hover { border-color: var(--xht-blue); background: rgba(var(--xht-blue-rgb), 0.08); }
.xht-chip:focus-visible { outline: 2px solid var(--xht-blue); outline-offset: 2px; }
.xht-chip__dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pillar-accent);
  box-shadow: 0 0 0 3px rgba(var(--pillar-accent-rgb), 0.16);
}
@media (pointer: coarse) { .xht-chip { min-height: 44px; } }
.xht-final__more { margin: 1.25rem 0 0; }

@media (max-width: 63.99em) {
  .xht-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 47.99em) {
  .xht-col__h { font-size: 1.25rem; }
  .xht .xht-case {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas: "src src" "media text";
    column-gap: 0.875rem;
    padding: 0.875rem;
  }
  .xht .xht-case .rh-case__src { padding: 0 0 0.625rem; }
  .xht-case__media { align-self: start; min-height: 0; height: 5.5rem; border-right: 0; border-radius: 8px; }
  .xht-case__text { padding: 0; }
  .xht-case__title { margin-bottom: 0.5rem; font-size: 1rem; }
  .xht .xht-case .rh-case__kpi { font-size: 1.75rem; }
  .xht-field__foot { flex-direction: column; align-items: flex-start; }
  .xht-sec { flex-direction: column; align-items: flex-start; }
  .xht-sec__list { flex-direction: column; }

  .xht-chips__list { justify-content: flex-start; }
}
@media (max-width: 29.99em) {   .xht-chips__list { flex-direction: column; align-items: stretch; }
  .xht-chip { display: flex; width: 100%; min-height: 44px; padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .xht-case:hover .xht-case__media img { transform: none; }
  .xht-area dt a:hover span { transform: none; }
}
