/* Hero glance card */
.glance__table { width: 100%; border-collapse: collapse; margin: 0; }
.glance__table th, .glance__table td { padding: .55rem 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.glance__table th { color: var(--muted); font-weight: 500; width: 38%; padding-right: 1rem; }
.glance__table tr:last-child th, .glance__table tr:last-child td { border-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Signature: replay film strip */
.reel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 2rem; position: relative; }
.reel::before, .reel::after {
  content: ""; display: block; height: 0; margin: 0 .75rem;
  border-top: 6px dotted var(--border);
}
.reel::before { margin-top: .6rem; }
.reel::after { margin-bottom: .6rem; }
.reel__screen { padding: 1.25rem 1.5rem; min-height: 11rem; }
.reel__frame { padding: .25rem 0 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.reel__frame:last-child { border-bottom: 0; margin-bottom: 0; }
.reel.is-ready .reel__frame { display: none; border-bottom: 0; margin-bottom: 0; }
.reel.is-ready .reel__frame.is-active { display: block; }
.reel__frame h3 { margin: .25rem 0 .5rem; }
.reel__frame p { max-width: 62ch; }
.reel__tc {
  display: inline-block; font-variant-numeric: tabular-nums; letter-spacing: .06em;
  font-size: .8rem; padding: .15rem .5rem; border: 1px solid var(--brand); color: var(--ink); border-radius: var(--radius);
}
.reel__controls { display: flex; align-items: stretch; gap: .5rem; padding: .75rem; border-top: 1px solid var(--border); }
.reel__strip { display: grid; grid-template-columns: repeat(5, minmax(80px, 1fr)); gap: .4rem; flex: 1; overflow-x: auto; scroll-snap-type: x proximity; }
.reel__thumb {
  font: inherit; font-size: .8rem; font-variant-numeric: tabular-nums;
  background: transparent; color: var(--ink); cursor: pointer; text-align: left;
  border: 1px solid var(--border); border-radius: var(--radius); padding: .45rem .55rem; min-width: 80px;
  scroll-snap-align: start;
}
.reel__thumb span { display: block; color: var(--muted); font-size: .75rem; margin-top: .15rem; }
.reel__thumb:hover { border-color: var(--brand); }
.reel__thumb[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
.reel__step { flex: 0 0 auto; min-width: 64px; }
.reel:not(.is-ready) .reel__step { display: none; }
@media (max-width: 640px) {
  .reel__controls { flex-wrap: wrap; }
  .reel__strip {
    order: -1; flex-basis: 100%; grid-template-columns: repeat(5, 116px);
    padding-right: 2.5rem; scroll-padding-left: .25rem;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
  }
  .reel__thumb { min-width: 110px; min-height: 44px; white-space: nowrap; }
  .reel__step { flex: 1; min-height: 44px; }
}

/* Scrollable table with edge fade */
.table-scroll { overflow-x: auto; max-width: 100%; }
.table-scroll table { margin: 0; }
@media (max-width: 640px) {
  .table-scroll {
    padding-right: 2.5rem;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
  }
  .table-scroll table { min-width: 640px; }
}

/* Findings */
.findings h3 { margin-top: 0; }
.findings li .tag { margin-right: .4rem; }

/* Market chart */
.market-card { max-width: 560px; }
.chart { width: 100%; height: auto; display: block; }
.chart-bar--base { fill: var(--border); }
.chart-bar--fc { fill: var(--brand); }
.chart-axis { stroke: var(--muted); stroke-width: 1; }
.chart-value { fill: var(--ink); font-size: 14px; font-weight: 600; }
.chart-label { fill: var(--muted); font-size: 13px; }

/* Data grid after table */
#buyers + .section .data-grid { margin-top: 1.5rem; }