/* Logistic 7.0 ID mirrors of v5-dashboard typography. */
/* Current Bitcoin Target card: both figures share one calmer size and one top line, so a short number such as 4.2%
   never towers over the cash figure or the card title. Regular weight, open tracking, tabular figures. */
#l7-sleeve .v5-sleeve-figures{align-items:start}
#l7-current-target,#l7-sleeve .v5-sleeve-cashfig strong{display:block;font-size:clamp(30px,3.4vw,42px);font-weight:400;line-height:1.1;letter-spacing:.02em;font-variant-numeric:tabular-nums}
#l7-current-target{color:#f7f1e4}
#l7-current-target-asof{white-space:normal;line-height:1.5;font-size:.9rem}
.v5-example #l7-dynamic-example{margin:0;color:#d7e4e8;font-size:16px;line-height:1.65}
#l7-record-distinction{max-width:72ch;margin:8px 0 22px}
#l7-target-changes>p{margin:0 0 12px;color:#c2d5dc;font-size:13px;line-height:1.65}
#l7-target-changes .v5-history-lede{margin:0 0 12px;color:#e7eef1;font-size:15px;line-height:1.65}
.v5-sleeve.is-unavailable #l7-current-target,.v5-sleeve.is-unavailable .v5-sleeve-cashfig strong{font-size:clamp(28px,4vw,40px);line-height:1;letter-spacing:0}
#l7-performance-chart{display:block;width:100%;height:auto;min-height:220px}
@media(max-width:720px){#l7-performance-chart{min-height:180px}}

.l7-swatch{display:inline-block;width:10px;height:10px;margin-right:6px;vertical-align:middle}
.l7-swatch-model{background:#d7bd83}
.l7-swatch-bh{background:#7fc4d8}

#l7-performance-table table.v5-returns{display:table;width:100%;max-width:100%;overflow:visible}
#l7-performance-table table.v5-returns th:first-child,
#l7-performance-table table.v5-returns td:first-child,
#l7-performance-table table.v5-returns tbody th{white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.3}
/* Tables never exceed their card at any width: fixed layout, headers wrap onto two or three lines
   (e.g. GULFSTREAM / BITCOIN MODEL) instead of running into the next column. */
@media(min-width:700px){
  #l7-performance-table table.v5-returns{table-layout:fixed}
  #l7-performance-table table.v5-returns th:first-child,
  #l7-performance-table table.v5-returns td:first-child,
  #l7-performance-table table.v5-returns tbody th{width:24%}
  #l7-performance-table table.v5-returns thead th{white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:manual;line-height:1.35;vertical-align:bottom;letter-spacing:.08em;padding-top:10px;padding-bottom:10px}
  #l7-performance-table table.v5-returns td,
  #l7-performance-table table.v5-returns tbody th{min-width:0}
}
@media(min-width:700px) and (max-width:1279px){
  #l7-performance-table table.v5-returns th,
  #l7-performance-table table.v5-returns td{padding:7px 6px;font-size:.78rem}
  #l7-performance-table table.v5-returns thead th{font-size:.7rem;letter-spacing:.05em;padding-top:10px;padding-bottom:10px}
}
@media(min-width:1280px){
  #l7-performance-table table.v5-returns thead th{font-size:.78rem}
}
@media(max-width:699px){
  #l7-performance-table #v5-session-row{border:1px solid rgba(215,189,139,.28);border-radius:10px;padding:14px 12px;margin:0 0 16px;background:rgba(10,17,25,.28)}
  #l7-performance-table table.v5-returns{display:block;width:100%;max-width:100%;overflow:visible;border-collapse:collapse}
  #l7-performance-table table.v5-returns caption{display:block;width:100%;white-space:normal;text-align:left}
  #l7-performance-table table.v5-returns thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  #l7-performance-table table.v5-returns tbody,
  #l7-performance-table table.v5-returns tbody tr{display:block;width:100%}
  #l7-performance-table table.v5-returns tbody tr{margin:0 0 12px;padding:14px 2px 16px;border-bottom:1px solid rgba(215,223,231,.18)}
  #l7-performance-table table.v5-returns tbody th,
  #l7-performance-table table.v5-returns tbody td{display:flex;justify-content:space-between;align-items:baseline;gap:16px;width:auto;max-width:100%;padding:6px 0;border:0;text-align:right;white-space:normal;font-variant-numeric:tabular-nums}
  #l7-performance-table table.v5-returns tbody th{display:block;text-align:left;font-weight:600;color:#d7bd8b;padding:0 0 8px}
  #l7-performance-table table.v5-returns tbody td::before{content:attr(data-label);flex:1 1 auto;text-align:left;color:#aeb8c1;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}
}

/* Explainer figures: keep these inside the existing "Read the full explanation" block only. */
.l7-figgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}
.l7-fig{margin:0;width:100%;border:1px solid #355361;border-radius:14px;background:#122b35;padding:18px 16px 16px;min-width:0;box-sizing:border-box}
.l7-fig h4{margin:0 0 8px;font-size:16px;font-weight:650;color:#f4ead2;letter-spacing:.02em;line-height:1.35}
.l7-fig p{margin:0 0 10px;color:#c2d5dc;font-size:14px;line-height:1.6}
.l7-fig svg{width:100%;height:auto;overflow:visible}
.l7-fig-desktop{display:block}
.l7-fig-phone{display:none}
.l7-svg-grid{stroke:rgba(215,223,231,.18);stroke-width:1}
.l7-svg-axis{fill:#eef6f8;font-size:22px;font-weight:700;paint-order:stroke;stroke:#0d1822;stroke-width:4px;stroke-linejoin:round}
.l7-svg-x{font-size:24px;letter-spacing:.02em}
.l7-svg-plus{fill:#f4ead2}
.l7-svg-note{fill:#f4ead2;font-size:20px;font-weight:650;paint-order:stroke;stroke:#0d1822;stroke-width:4px;stroke-linejoin:round}
.l7-svg-curve{fill:none;stroke:#7fc4d8;stroke-width:3}
.l7-svg-curve2{fill:none;stroke:#d7bd83;stroke-width:3}
.l7-svg-dot{fill:#e7cb91;stroke:#0d1822;stroke-width:2}
.l7-svg-leader{stroke:rgba(215,223,231,.55);stroke-width:1.5}
.l7-flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 8px}
.l7-flow .l7-chip{border:1px solid #70929c;border-radius:10px;padding:8px 12px;font-size:13.5px;line-height:1.45;color:#f1f6f8;background:#102b35}
.l7-flow .l7-arrow{color:#c5e0e8;font-size:18px;font-weight:700}
.l7-flow .l7-chip.strong{border-color:rgba(215,189,131,.55);color:#f4ead2}
.l7-example-callout{border-left:3px solid #f3b86a;padding:4px 0 4px 14px;margin:16px 0 8px}
.l7-example-callout p{margin:0;color:#d7e4e8;font-size:15px;line-height:1.65}
/* Stack before two 720-wide charts would shrink axis type below ~11px. */
@media(max-width:900px){
  .l7-figgrid{grid-template-columns:1fr;gap:16px}
  .l7-fig{padding:16px 12px 14px}
}
/* Narrow viewBox (~360) so 22px user-unit labels stay >= 11px CSS on a phone. */
@media(max-width:560px){
  .l7-fig-desktop{display:none}
  .l7-fig-phone{display:block}
}
@media(max-width:760px){
  .l7-flow{flex-direction:column;align-items:stretch;gap:6px}
  .l7-flow .l7-arrow{align-self:center;line-height:1}
  .l7-flow .l7-chip{font-size:13px;text-align:center}
}

/* IBIT capital-share reference: keep each amount on one line; labels wrap instead. */
#ibit-quarterly-reference dd,#ibit-quarterly-reference dd strong{white-space:nowrap}
.halving-cycle-now-label{paint-order:stroke;stroke:#0d1822;stroke-width:3px;stroke-linejoin:round}

.l7-fn{color:inherit;text-decoration:none}
.l7-fn:hover,.l7-fn:focus-visible{text-decoration:underline}
