/* VesTRA clinical trials page, on the lookup page's tokens and layout. */
.tr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; margin: 26px 0 0; padding: 0; }
.tr-stats[hidden] { display: none; }
.tr-stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: 16px 18px; border-radius: var(--vx-radius); background: var(--vx-surface); border: 1px solid var(--vx-line); }
.tr-stat dd { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tr-stat dt { font-size: 13px; color: var(--vx-muted); }

.tr-filters { margin: 22px 0 0; }
.tr-field { max-width: 720px; }
.tr-field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--vx-ink); }
.tr-selects { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; font-size: 14px; color: var(--vx-muted); }
.tr-selects label { display: inline-flex; align-items: center; gap: 8px; }
.tr-selects select { font: inherit; font-size: 14px; color: var(--vx-ink); padding: 7px 10px; border-radius: 10px; border: 1px solid var(--vx-line); background: var(--vx-surface); max-width: 260px; }
.tr-check input { width: 16px; height: 16px; accent-color: var(--vx-ink); }

.tr-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tr-card { background: var(--vx-surface); border: 1px solid var(--vx-line); border-radius: var(--vx-radius); padding: 18px 20px; }
.tr-title { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--vx-ink); text-decoration: none; }
.tr-title:hover { text-decoration: underline; }
.tr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 0; }
.tr-nct { font-family: var(--vx-mono); font-size: 12px; color: var(--vx-muted); }
.tr-year { font-size: 13px; color: var(--vx-muted); }
.tr-facts { margin: 12px 0 0; display: grid; gap: 6px; }
.tr-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 14px; }
.tr-facts dt { color: var(--vx-faint); }
.tr-facts dd { margin: 0; color: var(--vx-ink); overflow-wrap: anywhere; }
.tr-none { padding: 24px; text-align: center; color: var(--vx-muted); }
.tr-more-wrap { text-align: center; margin: 18px 0 0; }
.tr-note { max-width: 760px; margin: 28px 0 0; font-size: 13.5px; color: var(--vx-muted); line-height: 1.6; }
@media (max-width: 640px) { .tr-facts > div { grid-template-columns: 1fr; gap: 2px; } }
.tr-disease { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 16px 0 0; font-size: 14px; color: var(--vx-muted); }
.tr-disease[hidden] { display: none; }
.tr-disease b { color: var(--vx-ink); font-weight: 600; }
.tr-disease-x { font: inherit; font-size: 13px; color: var(--vx-ink); background: var(--vx-surface); border: 1px solid var(--vx-line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.tr-disease-link { color: var(--vx-ink); }
