.vt-rep {
  display: flex; flex-direction: column; gap: 20px;
  font-variant-numeric: tabular-nums;
}
.vt-rep h2 { margin: 0; font-size: 15px; font-weight: 600; }
.vt-rep-note { font-size: 12px; color: var(--vt-text-soft); }
.vt-rep-soft { color: var(--vt-text-soft); }
.vt-rep-box {
  background: var(--vt-surface); border: 1px solid var(--vt-border-soft);
  border-radius: 12px;
}

.vt-rep-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; }
.vt-rep-crumb { font-size: 13px; color: var(--vt-text-soft); }
.vt-rep-crumb a { color: inherit; text-decoration: none; }
.vt-rep-crumb a:hover { color: var(--vt-accent); }
.vt-rep-title { margin: 4px 0 0; font-size: 28px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.vt-rep-actions { display: flex; gap: 8px; align-items: center; }

.vt-rep-btn, .vt-range-btn {
  height: 40px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--vt-border); background: var(--vt-raised);
  color: var(--vt-text); font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.vt-rep-btn:hover:not(:disabled), .vt-range-btn:hover { border-color: var(--vt-accent-ring); }
.vt-rep-btn:disabled { opacity: .55; }
.vt-rep-btn.icon { width: 40px; padding: 0; justify-content: center; }
.vt-rep-btn .vt-icon, .vt-range-btn .vt-icon { width: 16px; height: 16px; }
.vt-range-btn .vt-icon:last-child { width: 14px; height: 14px; }

.vt-rep-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--vt-border-soft); margin-top: -4px; }
.vt-rep-tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 10px 0 12px; font-size: 14px; color: var(--vt-text-soft);
}
.vt-rep-tabs button:hover { color: var(--vt-text); }
.vt-rep-tabs button[aria-selected="true"] { border-bottom-color: var(--vt-accent); font-weight: 500; color: var(--vt-text); }

.vt-rep-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 18px; }
.vt-rep-line2 { padding-top: 0; }
.vt-rep-label { width: 64px; font-size: 13px; color: var(--vt-text-soft); }
.vt-rep-flabel { font-size: 13px; color: var(--vt-text-soft); }
.vt-rep-sep { width: 1px; height: 24px; background: var(--vt-border); }
.vt-rep-sep.wide { margin-left: 10px; }

.vt-rep-seg {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px;
  background: var(--vt-bg); border: 1px solid var(--vt-border-soft); border-radius: 9px;
}
.vt-rep-seg button {
  height: 30px; padding: 0 12px; border-radius: 6px;
  border: 1px solid transparent; background: transparent;
  color: var(--vt-text-soft); font-size: 13px;
}
.vt-rep-seg button:hover { color: var(--vt-text); }
.vt-rep-seg button[aria-pressed="true"] {
  background: var(--vt-accent-soft); border-color: var(--vt-accent-ring);
  color: var(--vt-accent); font-weight: 500; padding: 0 14px;
}

.vt-rep-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-rep-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--vt-border); background: transparent;
  color: var(--vt-text-soft); font-size: 13px;
}
.vt-rep-chip[aria-pressed="true"], .vt-rep-chip.on { background: var(--vt-surface-2); color: var(--vt-text); }

.vt-rep-chip:disabled { opacity: .55; cursor: default; }
.vt-rep-chip .vt-icon { width: 13px; height: 13px; color: var(--vt-accent); stroke-width: 2.4; }
.vt-rep-chip.add { border-style: dashed; }
.vt-rep-chip.add .vt-icon { color: currentColor; stroke-width: 2; }
.vt-rep-chip.on { padding-right: 6px; }
.vt-rep-fset, .vt-rep-fx { border: 0; background: none; color: inherit; font-size: 13px; padding: 0; }
.vt-rep-fset strong { font-weight: 500; }
.vt-rep-fx { width: 20px; height: 20px; border-radius: 50%; color: var(--vt-text-mute); line-height: 1; }
.vt-rep-fx:hover { background: var(--vt-border); color: var(--vt-text); }
.vt-rep-fedit {
  height: 22px; width: 11rem; padding: 0 6px; border-radius: 6px; font-size: 13px;
  border: 1px solid var(--vt-border); background: var(--vt-bg); color: var(--vt-text);
}

.vt-rep-about {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 18px; border-top: 1px solid var(--vt-border-soft);
  font-size: 13px; line-height: 1.5; color: var(--vt-text-soft);
}
.vt-rep-about > .vt-icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
.vt-rep-about a { color: var(--vt-accent); }
.vt-rep-more { margin: 6px 0 0; }

.vt-rep-cards { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .vt-rep-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vt-rep-card { padding: 18px 20px; min-width: 0; }
.vt-rep-clabel { font-size: 13px; color: var(--vt-text-soft); }
.vt-rep-cvalue { font-size: 32px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; line-height: 1.2; }
.vt-rep-csub { font-size: 13px; color: var(--vt-text-soft); margin-top: 4px; }

.vt-rep-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.vt-rep-row.single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 991.98px) { .vt-rep-row { grid-template-columns: minmax(0, 1fr); } }

.vt-rep-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.vt-rep-chart { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 14px; }

.vt-rep-plot { position: relative; height: 210px; margin-left: 40px; }
.vt-rep-gline { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--vt-border-soft); }
.vt-rep-gline.base { border-top: 1px solid var(--vt-border); }
.vt-rep-gline em {
  position: absolute; left: -40px; top: -8px; width: 36px; overflow: visible;
  font-style: normal; font-size: 11px; color: var(--vt-text-mute); white-space: nowrap;
  font-family: var(--bs-font-monospace);
}
.vt-rep-bars { position: absolute; left: 0; right: 0; top: 10px; bottom: 0; display: flex; align-items: flex-end; justify-content: space-around; }
.vt-rep-col {
  flex: 1 1 0; min-width: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px;
}
.vt-rep-val { font-size: 12px; color: var(--vt-text-soft); white-space: nowrap; }
.vt-rep-val.peak { font-weight: 600; color: var(--vt-text); }
.vt-rep-barv {
  width: 70%; max-width: 64px; min-height: 1px;
  background: var(--vt-accent); border-radius: 6px 6px 0 0;
}

.vt-rep-barv.today {
  background: color-mix(in srgb, var(--vt-accent) 28%, transparent);
  border: 1px dashed var(--vt-accent);
}
.vt-rep-ticks { display: flex; justify-content: space-around; margin-left: 40px; font-size: 13px; text-align: center; }
.vt-rep-ticks > div { flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; }

.vt-rep { --vt-rep-none: var(--vt-surface-2); --vt-rep-gray: color-mix(in srgb, var(--vt-label-gray) 42%, transparent); }
.vt-rep-head .vt-rep-hleft { display: flex; align-items: baseline; gap: 10px; }
.vt-rep-strip { display: flex; gap: 3px; height: 30px; border-radius: 8px; overflow: hidden; }
.vt-rep-strip span { height: 100%; min-width: 0; }
.vt-rep-strip span.none, .vt-rep-legend .dot.none, .vt-rep-dot.none { box-shadow: inset 0 0 0 1px var(--vt-label-gray); }
.vt-rep-dot { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.vt-rep-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.vt-rep-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.vt-rep-legend .dot { width: 10px; height: 10px; border-radius: 3px; }

.vt-rep-quick { padding: 18px 20px; display: flex; flex-direction: column; gap: 18px; }
.vt-rep-qgroup { display: flex; flex-direction: column; gap: 10px; }
.vt-rep-qhead {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--vt-text-mute);
}
.vt-rep-qrow { display: flex; flex-direction: column; gap: 6px; }

.vt-rep-top { display: flex; flex-direction: column; gap: 10px; }
.vt-rep-top .vt-rep-qline > span:first-child { min-width: 0; }
.vt-rep-qline { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.vt-rep-qline .soft { color: var(--vt-text-soft); }
.vt-rep-qtrack { height: 6px; background: var(--vt-surface-2); border-radius: 3px; }
.vt-rep-qtrack > div { height: 6px; background: var(--vt-accent); border-radius: 3px; }
.vt-rep-qfoot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.vt-rep-qfoot a { font-size: 13px; text-decoration: none; color: var(--vt-accent); }

.vt-rep-tablebox { overflow: hidden; }
.vt-rep-thead { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; }
.vt-rep-thead .vt-rep-head { justify-content: flex-start; }
.vt-rep-thead .vt-rep-note { font-size: 13px; }
.vt-rep-sort {
  display: inline-flex; align-items: center; gap: 4px; margin: 0;
  height: 32px; padding: 0 4px 0 12px; border-radius: 8px;
  border: 1px solid var(--vt-border); color: var(--vt-text-soft); font-size: 13px;
}
.vt-rep-sort select { border: 0; background: transparent; color: inherit; font-size: 13px; padding: 0 4px; }
.vt-rep-sort select option { background: var(--vt-surface); color: var(--vt-text); }

.vt-rep-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.vt-rep-table th, .vt-rep-table td { padding: 0 12px; }
.vt-rep-table th:first-child, .vt-rep-table td:first-child { padding-left: 20px; }
.vt-rep-table th:last-child, .vt-rep-table td:last-child { padding-right: 20px; }
.vt-rep-table .num { text-align: right; }
.vt-rep-table thead th {
  height: 38px; font-size: 12px; font-weight: 400; color: var(--vt-text-soft);
  background: var(--vt-bg); border-top: 1px solid var(--vt-border-soft); border-bottom: 1px solid var(--vt-border-soft);
}
.vt-rep-table tbody td { height: 48px; border-bottom: 1px solid var(--vt-border-soft); }
.vt-rep-table tbody tr.click { cursor: pointer; }
.vt-rep-table tbody tr.click:hover > td { background: var(--vt-surface-2); }
.vt-rep-table tfoot td { height: 50px; background: var(--vt-bg); font-weight: 600; }
.vt-rep-table.sub td { height: 40px; font-size: 13px; background: var(--vt-surface-2); }
.vt-rep-table.sub td.indent { padding-left: 46px; }
.vt-rep-detail > td { padding: 0 !important; }

.vt-rep-bucket { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vt-rep-bucket > span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-rep-chev { width: 14px; height: 14px; flex-shrink: 0; transition: transform .15s; color: var(--vt-text-mute); }
.vt-rep-chev.open { transform: rotate(90deg); }

.vt-rep-inline { display: flex; align-items: center; gap: 14px; }
.vt-rep-inline > span { width: 76px; flex-shrink: 0; text-align: right; }
.vt-rep-track { flex-grow: 1; height: 8px; background: var(--vt-surface-2); border-radius: 4px; }
.vt-rep-track > div { height: 8px; background: var(--vt-accent); border-radius: 4px; }
.vt-rep-track > div.soft { opacity: .6; }

.vt-rep-now {
  flex-shrink: 0; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; background: var(--vt-accent-soft); color: var(--vt-accent); white-space: nowrap;
}
.vt-rep-info { border: 0; background: transparent; padding: 0 2px; color: var(--vt-text-mute); line-height: 1; }
.vt-rep-info:hover { color: var(--vt-accent); }
.vt-rep-info .vt-icon { width: 14px; height: 14px; }
.vt-rep-hint { margin: -6px 0 8px; font-size: 12px; color: var(--vt-text-soft); white-space: normal; max-width: 40rem; }

.vt-rep-ads { margin-top: 20px; font-variant-numeric: tabular-nums; }
.vt-rep-ads .vt-rep-note { font-size: 13px; }
.vt-rep-ads h2 { margin: 0; font-size: 15px; font-weight: 600; }
.vt-rep-adrow > td { height: 58px; }
.vt-rep-adid { font-size: 12px; color: var(--vt-text-mute); font-family: var(--bs-font-monospace); margin-top: 2px; }
.vt-rep-adn { width: 40px !important; }
.vt-rep-adat { font-size: 13px; }
.vt-rep-track > div.alt { background: var(--vt-series-2); }
.vt-rep-small .vt-range-btn { height: 36px; padding: 0 12px; font-size: 13px; }
.vt-rep-admore { padding: 12px 20px; }
.vt-rep-admore button {
  height: 36px; padding: 0 14px; border: 0; border-radius: 8px;
  background: transparent; color: var(--vt-accent); font-size: 13px;
}
.vt-rep-admore button:hover { background: var(--vt-surface-2); }