/* /transparency: the section nav, panels, tiles, chart cards and their controls (js/vanta-transparency.js) and
   the Reserve panel (js/vanta-reserve.js). Tokens: css/vanta-gold.css. Series colors #AE9245 / #5C8AC9 (the pair
   that passes the dataviz palette validator on #000); the gold ramp for ordered categories lives in the script. */
.tp-dash [hidden], [data-rewards-baked][hidden] { display: none !important; }

/* ---------- Layout: nav on the left, one panel at a time ---------- */
.sec.tp-dash { padding-top: clamp(56px, 6vw, 88px); }
.tp-layout { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.tp-nav { position: sticky; top: 150px; display: flex; flex-direction: column; }
.tp-nav a { display: block; padding: 12px 16px; border-left: 1px solid var(--hairline); font: 400 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--ink), .58); text-decoration: none; transition: color .2s ease-out, border-color .2s ease-out, background-color .2s ease-out; }
.tp-nav a:hover { color: rgba(var(--ink), .9); }
.tp-nav a[aria-current] { color: rgb(var(--acc)); border-left-color: rgb(var(--acc)); background: rgba(var(--acc), .06); }
.tp-main { min-width: 0; }
html.js .tp-dash:not(.is-ready) [data-tp-panel]:not(#overview),
html.js .tp-dash.is-ready [data-tp-panel]:not(.is-active) { display: none; }
.tp-panel + .tp-panel { margin-top: 96px; }
html.js .tp-panel + .tp-panel { margin-top: 0; }
.tp-panel { scroll-margin-top: 140px; }

.tp-panel-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 28px; }
.tp-panel-title { margin: 0; font: 300 clamp(28px, 2.6vw, 38px)/1.15 var(--serif); letter-spacing: -.01em; color: rgb(var(--ink-hi)); }
.tp-panel-desc { margin: -10px 0 28px; max-width: 640px; font: 400 15px/1.55 var(--sans); color: rgba(var(--ink), .74); }
.tp-group-title { margin: 56px 0 18px; font: 400 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--ink), .6); }
.tp-panel-head + .tp-group-title { margin-top: 8px; }

/* ---------- Tiles ---------- */
.tp-main .fact-grid[data-cols="4"] { gap: 0 24px; }
.tp-main .fact { padding: 22px 0 24px; }
.tp-main .fact-value { margin-top: 12px; font-size: clamp(22px, 1.9vw, 28px); }
.tp-main .fact-note { font-size: 13.5px; }
.tp-baked { margin-top: 22px; }
.tp-link { color: rgb(var(--acc)); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Chart cards ---------- */
.tp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.tpx-card { margin: 0; min-width: 0; padding: 22px 22px 18px; border: 1px solid var(--hairline); background: rgba(255, 255, 255, .015); }
.tpx-card-wide { grid-column: 1 / -1; }
.tpx-card-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; }
.tpx-card-titles { min-width: 0; flex: 1 1 200px; }
.tpx-card-title { font: 400 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--ink), .72); }
.tpx-card-desc { margin: 6px 0 0; font: 400 13px/1.45 var(--sans); color: rgba(var(--ink), .55); }
.tp-ranges { display: flex; gap: 4px; }
.tp-range, .tp-mode { appearance: none; cursor: pointer; background: transparent; border: 1px solid rgba(var(--ink), .13); color: rgba(var(--ink), .58); font: 400 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 9px 6px; transition: border-color .2s ease-out, color .2s ease-out, background-color .2s ease-out; }
.tp-range:hover, .tp-mode:hover { border-color: rgba(var(--acc), .5); color: rgba(var(--ink), .88); }
.tp-range[aria-pressed="true"], .tp-mode[aria-pressed="true"] { border-color: rgba(var(--acc), .5); color: rgb(var(--acc)); background-color: rgba(var(--acc), .07); }
.tp-modes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.tp-headline { margin-top: 14px; font: 300 clamp(24px, 2.1vw, 30px)/1.2 var(--serif); letter-spacing: -.01em; color: rgb(var(--ink-hi)); }
.tp-headline:empty { display: none; }
.tp-foot { margin-top: 10px; font: 400 12px/1.5 var(--sans); color: rgba(var(--ink), .48); }

.tp-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; font: 400 12px/1.4 var(--sans); color: rgba(var(--ink), .74); }
.tp-legend li { display: flex; align-items: center; gap: 8px; }
.tp-legend-axis { margin-left: -4px; color: rgba(var(--ink), .45); }
.tp-key { display: inline-block; flex: none; }
.tp-key-bar { width: 10px; height: 10px; border-radius: 2px; }
.tp-key-line { width: 14px; height: 2px; border-radius: 1px; }
.tp-key[data-series="0"] { background: #AE9245; }
.tp-key[data-series="1"] { background: #5C8AC9; }

.tp-plot { position: relative; margin-top: 14px; height: 220px; }
.tp-plot.tp-plot-auto { height: auto; }
.tp-plot svg { display: block; overflow: visible; touch-action: pan-y; }
.tp-plot svg:focus { outline: none; }
.tp-plot svg:focus-visible { outline: 1px solid rgba(var(--acc), .6); outline-offset: 6px; }
.tp-axis text { font: 400 11px var(--sans); fill: rgba(var(--ink), .55); font-variant-numeric: tabular-nums; }
.tp-grid-line { stroke: rgba(var(--ink), .09); stroke-width: 1; shape-rendering: crispEdges; }
.tp-hair { stroke: rgba(var(--ink), .4); stroke-width: 1; shape-rendering: crispEdges; pointer-events: none; }
.tp-bar { transition: fill-opacity .12s ease-out; }

.tp-tip { position: absolute; z-index: 3; pointer-events: none; background: #060606; border: 1px solid var(--hairline); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); padding: 10px 12px; font: 400 12px/1.5 var(--sans); color: rgba(var(--ink), .66); white-space: nowrap; }
.tp-tip-date { margin-bottom: 4px; color: rgba(var(--ink), .55); }
.tp-tip-row { display: flex; align-items: center; gap: 8px; }
.tp-tip-key { width: 12px; height: 2px; border-radius: 1px; flex: none; }
.tp-tip-key-bar { width: 8px; height: 8px; border-radius: 2px; }
.tp-tip-val { color: rgb(var(--ink-hi)); font-weight: 600; font-variant-numeric: tabular-nums; }
.tp-tip-total { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--hairline); }

/* ---------- Tables and size cards ---------- */
.tp-table { width: 100%; border-collapse: collapse; font: 400 14px/1.4 var(--sans); color: rgba(var(--ink), .8); }
.tp-table th, .tp-table td { padding: 11px 8px; border-bottom: 1px solid var(--hairline); text-align: left; font-weight: 400; }
.tp-table thead th { font: 400 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(var(--ink), .55); }
.tp-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.tp-table tbody th { color: rgb(var(--ink-hi)); }
.tp-table .tp-total th, .tp-table .tp-total td { color: rgb(var(--ink-hi)); border-bottom: 0; }

.tp-size-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tp-size-card { padding: 16px 16px 14px; border: 1px solid var(--hairline); background: rgba(255, 255, 255, .015); }
.tp-size-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font: 300 22px/1.2 var(--serif); color: rgb(var(--ink-hi)); }
.tp-size-key { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.tp-size-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font: 400 13px/1.4 var(--sans); color: rgba(var(--ink), .62); }
.tp-size-val { color: rgb(var(--ink-hi)); font-variant-numeric: tabular-nums; }

/* ---------- Stages: one segmented bar ---------- */
.tp-stagebar { margin: 4px 0 28px; }
.tp-seg { display: flex; gap: 2px; height: 28px; }
.tp-seg-part { display: flex; align-items: center; min-width: 4px; padding: 0 8px; border-radius: 4px; overflow: hidden; outline-offset: 2px; }
.tp-seg-part:focus-visible { outline: 1px solid rgba(var(--ink), .7); }
.tp-seg-text { font: 600 12px/1 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tp-seg-legend { margin-top: 14px; }
.tp-seg-n { color: rgb(var(--ink-hi)); font-variant-numeric: tabular-nums; }

/* ---------- The ledger inside Payouts, and the closing line ---------- */
.tp-panel .sec { padding: 0; border-top: 0; margin-top: 64px; }
.tp-panel .sec .sec-head { margin-bottom: 32px; }
.tp-more { padding-top: clamp(60px, 7vw, 96px); padding-bottom: clamp(60px, 7vw, 96px); }
.tp-more-line { margin: 0; max-width: 820px; font: 300 clamp(19px, 1.7vw, 23px)/1.55 var(--serif); color: rgba(var(--ink), .8); }
.tp-more-line a { color: rgb(var(--acc)); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 1180px) {
  .tp-layout { grid-template-columns: 156px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 1000px) {
  .tp-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tp-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--hairline); margin: 0 calc(var(--gx) * -1); padding: 0 var(--gx); }
  .tp-nav::-webkit-scrollbar { display: none; }
  .tp-nav a { flex: none; border-left: 0; border-bottom: 2px solid transparent; padding: 14px 14px 12px; white-space: nowrap; background: none; }
  .tp-nav a[aria-current] { border-bottom-color: rgb(var(--acc)); background: none; }
  .tp-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .tpx-card { padding: 18px 16px 14px; }
  .tp-plot { height: 200px; }
  .tp-table th, .tp-table td { padding: 10px 4px; font-size: 13px; }
}
