/*
 * Fund and insider pages, their indexes and the holders history of the Institutional tab. Colours and sizes
 * come from tokens.css only (light and dark themes follow it). Names wrap, nothing is clipped or sticky; a
 * wide table scrolls inside its own frame. Bars use the accent colour (one series, no legend needed); the
 * up/down text colours carry direction next to a sign.
 */
.jts .jts-pp-id { font-size: var(--fs-sm); color: var(--text-2); }
.jts .jts-pp-sep::before { content: "\00B7"; margin: 0 6px; color: var(--text-3); }
.jts .jts-pp-find { font-size: var(--fs-md); font-weight: 600; color: var(--text); margin: 4px 0 6px; max-width: 120ch; }
.jts .jts-pp-note { font-size: var(--fs-sm); color: var(--text-2); margin: 4px 0; max-width: 130ch; }
.jts .jts-pp-none { font-size: var(--fs-sm); color: var(--text-3); margin: 4px 0; }
.jts .jts-pp-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 8px 0; }
.jts .jts-pp-facts div { min-width: 0; }
.jts .jts-pp-facts dt { font-size: var(--fs-xs); color: var(--text-3); }
.jts .jts-pp-facts dd { margin: 0; font-size: var(--fs-lg); font-weight: 700; font-variant-numeric: tabular-nums; }

.jts .jts-pp-sec { margin-top: var(--s4); }
.jts .jts-pp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 4px; }
.jts .jts-pp-head h2 { font-size: var(--fs-lg); font-weight: 700; }
.jts .jts-pp-head .jts-btn { margin-left: auto; }
.jts .jts-pp-count { font-size: var(--fs-sm); color: var(--text-3); font-weight: 400; }
.jts .jts-pp-h3 { font-size: var(--fs-md); font-weight: 700; margin: 0 0 4px; }
.jts .jts-pp-card { border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: 8px 10px; min-width: 0; }
.jts .jts-pp-card .jts-pp-wrap { border: 0; }
.jts .jts-pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; }
.jts .jts-pp-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); margin-top: 8px; }

.jts .jts-pp-wrap { border: 1px solid var(--line); border-radius: 8px; background: var(--card); overflow-x: auto; }
.jts .jts-pp-narrow { max-width: 860px; }
.jts .jts-pp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); }
.jts .jts-pp-table th { text-align: left; font-weight: 650; color: var(--text-2); font-size: var(--fs-xs); padding: 5px 8px; border-bottom: 1px solid var(--line); background: var(--raised); vertical-align: bottom; }
.jts .jts-pp-table tbody th { background: none; color: var(--text); font-size: var(--fs-sm); vertical-align: top; }
.jts .jts-pp-table td { padding: 5px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: top; overflow-wrap: anywhere; }
.jts .jts-pp-table tbody tr:last-child td, .jts .jts-pp-table tbody tr:last-child th { border-bottom: 0; }
.jts .jts-pp-table tbody tr:hover td { background: var(--row-hover); }
.jts .jts-pp-table .num { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: normal; }
.jts .jts-pp-table th.num { text-align: right; }
.jts .jts-pp-table .when { overflow-wrap: normal; min-width: 7.5em; }
.jts .jts-pp-table .c-rank { color: var(--text-3); width: 2.5em; }
.jts .jts-pp-table small { display: block; color: var(--text-3); font-size: var(--fs-xs); font-weight: 400; }
.jts .jts-pp-table .is-up { color: var(--up-text); }
.jts .jts-pp-table .is-down { color: var(--down-text); }
.jts .jts-pp-table .is-up small, .jts .jts-pp-table .is-down small { color: var(--text-3); }
.jts .jts-pp-table tr.is-muted td { color: var(--text-3); }
.jts .jts-pp-table .c-bar { width: 22%; min-width: 80px; }
.jts .jts-pp-co { font-weight: 600; color: var(--text); }
.jts a.jts-pp-co:hover { text-decoration: underline; }
.jts .jts-pp-tk { color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; }

.jts .jts-pp-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; }
.jts .jts-pp-bar input[type="search"] { height: 32px; min-width: min(100%, 280px); padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--text); font: inherit; }
.jts .jts-pp-sorts { font-size: var(--fs-sm); color: var(--text-2); margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.jts .jts-pp-sorts b { color: var(--text); }

.jts .jts-pp-chart { margin-top: var(--s3); max-width: 900px; }
.jts .jts-pp-bars { width: 100%; height: 120px; display: block; }
.jts .jts-pp-bars rect { fill: var(--c-accent); }
.jts .jts-pp-bars rect:hover { fill: var(--accent); }
.jts .jts-pp-bars rect.is-empty { fill: var(--neutral); }
.jts .jts-pp-axis { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; font-size: var(--fs-xs); color: var(--text-3); margin: 2px 0 0; }
.jts .jts-pp-more { margin-top: 6px; font-size: var(--fs-sm); }
.jts .jts-pp-more summary { cursor: pointer; color: var(--text-2); }
.jts .jts-pp-hbar { width: 100%; height: 10px; display: block; }
.jts .jts-pp-hbar rect { fill: var(--c-accent); }
.jts .jts-pp-hbar line { stroke: var(--text); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.jts .jts-pp-spark { width: 80px; height: 20px; display: block; overflow: visible; }
.jts .jts-pp-spark polyline { fill: none; stroke: var(--c-accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.jts .jts-pp-spark circle { fill: var(--c-accent); }
.jts .jts-pp-table td.is-unknown { color: var(--text-3); }
