@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/serif.ttf") format("truetype");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/serif-italic.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/sans.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/sans-medium.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/sans-semibold.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400 500;
  font-display: swap;
  src: url("/static/fonts/mono.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --bg: #f4efe7;
  --panel: #fffaf4;
  --ink: #1d241f;
  --muted: #636d66;
  --accent: #0f5b47;
  --border: #d9cfbe;
  --soft-line: rgba(111, 100, 81, .16);
  --green-wash: rgba(15, 91, 71, .06);
  --sage: #83998b;
  --copper: #92562f;
  --nav-bg: rgba(244, 239, 231, .94);
  --surface: rgba(255, 250, 244, .65);
  --hover: rgba(255, 250, 244, .65);
  --track: rgba(217, 207, 190, .3);
  --track-hover: rgba(217, 207, 190, .55);
  --table-head: rgba(228, 220, 205, .35);
  --tag-bg: #eae3d7;
  --tag-ink: #75654f;
  --toggle-off: #d8d2c6;
  --action-ink: #fffaf4;
  --action-hover: #174d3d;
  --chart-future: #b9b1a3;
  --tooltip-bg: #1d241f;
  --tooltip-ink: #fffaf4;
  --selection-bg: #d7e4d8;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --section-gap: 48px;
  --subsection-gap: 32px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151a17;
  --panel: #202823;
  --ink: #edf2ee;
  --muted: #a8b5ac;
  --accent: #78d4ae;
  --border: #3d4941;
  --soft-line: rgba(172, 190, 178, .2);
  --green-wash: rgba(120, 212, 174, .1);
  --sage: #a3b6a8;
  --copper: #ddb183;
  --nav-bg: rgba(21, 26, 23, .95);
  --surface: #202823;
  --hover: #252f29;
  --track: #2b352e;
  --track-hover: #36433b;
  --table-head: #252f29;
  --tag-bg: #35342a;
  --tag-ink: #ded0b0;
  --toggle-off: #4c5a50;
  --action-ink: #14291e;
  --action-hover: #9be2c2;
  --chart-future: #79867c;
  --tooltip-bg: #29372e;
  --tooltip-ink: #edf2ee;
  --selection-bg: #355e49;
}
:root[data-theme="dark-orange"] {
  color-scheme: dark;
  --bg: #000000;
  --panel: #171717;
  --ink: #fafafa;
  --muted: #a1a1a1;
  --accent: #fe750e;
  --border: #262626;
  --soft-line: rgba(161, 161, 161, .2);
  --green-wash: #251202;
  --sage: #a1a1a1;
  --copper: #d6d6d6;
  --nav-bg: rgba(0, 0, 0, .95);
  --surface: #171717;
  --hover: #1e1e1e;
  --track: #262626;
  --track-hover: #333333;
  --table-head: #171717;
  --tag-bg: #251202;
  --tag-ink: #ffbb87;
  --toggle-off: #454545;
  --action-ink: #000000;
  --action-hover: #ff923d;
  --chart-future: #686868;
  --tooltip-bg: #171717;
  --tooltip-ink: #fafafa;
  --selection-bg: #613008;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  zoom: 1;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  background: radial-gradient(ellipse at top left, #fff7ec, transparent 65%), var(--bg);
  -webkit-font-smoothing: antialiased;
}
html[data-theme^="dark"] body { background: var(--bg); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a, button, input, select { transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--selection-bg); }
main { max-width: 1424px; margin: 0 auto; padding: 0 40px 36px; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 100; background: var(--panel); padding: 12px; color: var(--accent); }
.skip-link:focus { top: 12px; }
.site-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--soft-line); background: var(--nav-bg); backdrop-filter: blur(16px); }
.theme-toggle { position: relative; display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: transparent; cursor: pointer; }
.theme-toggle:hover { background: var(--green-wash); }
.theme-toggle .sun-icon { display: none; }
html[data-theme^="dark"] .theme-toggle .moon-icon { display: none; }
html[data-theme^="dark"] .theme-toggle .sun-icon { display: block; }
html[data-theme^="dark"] .theme-toggle img { filter: invert(1); }
.theme-toggle::after { content: attr(title); position: absolute; right: 0; top: calc(100% + 8px); padding: 6px 9px; background: var(--panel); color: var(--ink); border: 1px solid var(--border); border-radius: 4px; font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; }
.theme-toggle:hover::after, .theme-toggle:focus-visible::after { opacity: 1; }
.theme-toggle[aria-expanded="true"]::after { opacity: 0; }
.theme-menu { position: fixed; inset: auto; margin: 0; width: 200px; padding: 8px; color: var(--ink); background: var(--panel); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.theme-options { margin: 0; padding: 0; border: 0; }
.theme-options legend { padding: 4px 8px 8px; color: var(--muted); font-size: 11px; }
.theme-options label { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 6px 8px; border-radius: 3px; font-size: 12px; cursor: pointer; }
.theme-options label:hover, .theme-options label:has(input:checked) { background: var(--green-wash); }
.theme-options input { margin: 0; accent-color: var(--accent); }
.theme-swatch { width: 16px; height: 16px; border: 1px solid #777; border-radius: 3px; }
.swatch-light { background: #f4efe7; }
.swatch-dark { background: #151a17; border-color: #78d4ae; }
.swatch-orange { background: #000; border-color: #fe750e; }
.nav-inner { max-width: 1424px; padding: 0 40px; margin: auto; min-height: 68px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; }
.brand-mark img { display: block; width: 100%; height: 100%; }
.brand-mark .brand-logo-orange, .brand-mark .brand-logo-dark-green { display: none; }
html[data-theme="dark"] .brand-mark .brand-logo-default { display: none; }
html[data-theme="dark"] .brand-mark .brand-logo-dark-green { display: block; }
html[data-theme="dark-orange"] .brand-mark .brand-logo-default { display: none; }
html[data-theme="dark-orange"] .brand-mark .brand-logo-orange { display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 13px; text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--accent); }
.source-badge { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; color: var(--muted); padding-left: 24px; border-left: 1px solid var(--border); }
.source-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.page-hero { position: relative; padding: 48px 0 32px; }
.eyebrow, .section-label { font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ""; height: 1px; width: 28px; background: var(--accent); }
h1 { font-family: var(--font-display); font-size: 72px; font-weight: 400; letter-spacing: 0; line-height: 1.08; margin: 0 0 16px; }
h1 em { font-weight: 400; color: var(--accent); }
.page-subtitle { font-size: 17px; font-style: normal; line-height: 1.6; letter-spacing: -.015em; max-width: 650px; }
.hero-note { position: absolute; right: 0; bottom: 39px; max-width: 220px; font-family: var(--font-mono); font-size: 10px; line-height: 1.9; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); text-align: right; }
.hero-note strong { display: block; font-weight: 400; color: var(--accent); }
.toolbar { margin-top: 0; padding: 18px 0; gap: 16px; border-top: 0; }
.stats { font-size: 13px; font-variant-numeric: tabular-nums; }
.stats strong { color: var(--ink); font-weight: 500; }
.stats-separator { margin: 0 8px; opacity: .55; }
.data-freshness { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.chart-grid { margin-top: 0; border-top: 0; }
#chart-grid { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
#chart-grid + .chart-grid { margin-top: 32px; }
.chart-card.kpi-card { padding: 20px 24px; }
.chart-card.kpi-card:first-child { padding-left: 0; }
.chart-card.kpi-card:last-child { padding-right: 0; }
.chart-card.kpi-card .chart-header h3 { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 400; color: var(--muted); }
.kpi-card .metric-frame { min-height: 112px; padding-top: 6px; }
.kpi-card .metric-value { font-size: 44px; font-weight: 500; letter-spacing: 0; line-height: 1.15; font-variant-numeric: tabular-nums; }
.metric-period { font-family: var(--font-mono); font-size: 10px; }
.kpi-card .metric-comparison { border-top: none; padding-top: 14px; justify-content: flex-start; flex-wrap: wrap; gap: 6px 12px; }
.kpi-card .metric-change { font-size: 12px; font-weight: 500; background: var(--green-wash); padding: 3px 7px; border-radius: 4px; }
.metric-change.down { background: rgba(184, 118, 76, .08); color: #995631; }
.kpi-card .metric-baseline { font-size: 11px; text-align: left; }
.chart-card.full-span { padding: 0; }
.section-label { display: block; margin-bottom: 9px; }
.section-title { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 400; letter-spacing: 0; line-height: 1.18; }
.chart-card.full-span .chart-header h3, .distribution-header .distribution-title, .segment-selector-heading h3 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: 0; line-height: 1.25; }
.chart-stat strong { font-size: 25px; letter-spacing: -.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.chart-stat span { font-size: 10px; }
.chart-frame { padding-top: 16px; }
#comparison-chart .chart-svg { height: 250px; }
.chart-svg text { font-family: var(--font-mono); font-size: 10px; }
.chart-svg path, .chart-svg circle { vector-effect: non-scaling-stroke; }
.comparison-legend { font-family: var(--font-mono); font-size: 10px; text-transform: none; letter-spacing: 0; gap: 22px; margin-top: 12px; }
.comparison-legend-swatch { width: 18px; height: 3px; border-radius: 1px; }
.comparison-description { font-size: 11px; max-width: none; color: var(--muted); margin-top: 14px; }
.comparison-tooltip { background: var(--tooltip-bg); color: var(--tooltip-ink); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; box-shadow: 0 6px 24px rgba(29,36,31,.12); font-size: 12px; }
.comparison-tooltip-date { color: var(--tooltip-ink); }
#comparison-chart .chart-svg text { fill: var(--muted); }
#comparison-chart .chart-svg line { stroke: var(--soft-line); }
#comparison-chart .chart-svg circle { stroke: var(--bg); }
.comparison-tooltip-date { font-family: var(--font-mono); font-size: 9px; }
.comparison-tooltip-row { font-variant-numeric: tabular-nums; }
.key-raisings-card, .distribution-card { padding: 0; border-top: 0; }
.key-raisings-card { margin-top: var(--section-gap); }
.distribution-card { margin-top: var(--subsection-gap); }
.key-raisings-header { display: flex; margin-bottom: 20px; align-items: center; }
.key-raisings-subtitle { font-size: 13px; margin-top: 8px; }
.key-raisings-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.key-raisings-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.key-raisings-explore-link { color: var(--accent); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.key-raisings-explore-link:hover { color: var(--ink); }
.key-raisings-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.raising-item:last-child { border-bottom: 0; }
@media (min-width: 1101px) {
  .raising-item:nth-child(3n+1):nth-last-child(-n+3),
  .raising-item:nth-child(3n+1):nth-last-child(-n+3) ~ .raising-item { border-bottom: 0; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .raising-item:nth-child(2n+1):nth-last-child(-n+2),
  .raising-item:nth-child(2n+1):nth-last-child(-n+2) ~ .raising-item { border-bottom: 0; }
}
.raising-item { padding: 20px 24px; gap: 10px; min-height: 220px; align-content: start; transition: background-color 180ms var(--ease); }
.raising-item:hover { background: var(--hover); }
.raising-item:nth-child(3n+1) { padding-left: 0; }
.raising-topline { font-family: var(--font-mono); font-size: 9px; letter-spacing: .035em; }
.raising-firm { font-size: 20px; font-weight: 500; letter-spacing: 0; line-height: 1.2; }
.raising-vehicle { font-size: 12px; line-height: 1.5; }
.raising-metric { border-top: 1px solid var(--soft-line); }
.raising-metric-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.raising-metric-value { font-size: 22px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.raising-tag { font-size: 9px; letter-spacing: .02em; text-transform: none; padding: 3px 7px; border-radius: 4px; background: var(--tag-bg); color: var(--tag-ink); }
.raising-link { font-size: 11px; letter-spacing: 0; text-transform: none; justify-self: start; }
.raising-link::after, .filing-link::after { content: "\2197"; margin-left: 5px; }
.distribution-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.year-selector { display: inline-flex; flex-shrink: 0; padding: 3px; border: 1px solid var(--border); border-radius: 6px; }
.year-selector label { position: relative; cursor: pointer; }
.year-selector input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.year-selector span { display: grid; place-items: center; min-width: 56px; height: 30px; padding: 0 10px; border-radius: 3px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.year-selector input:checked + span { background: var(--accent); color: var(--action-ink); }
.year-selector input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.year-selector label:hover input:not(:checked) + span { background: var(--green-wash); color: var(--ink); }
.distribution-column-headings { font-family: var(--font-mono); font-size: 10px; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); margin-top: 24px; color: var(--muted); }
.distribution-list { gap: 12px; }
.distribution-row { grid-template-columns: 48px minmax(0, 1fr) 160px minmax(0, 1fr) 72px; gap: 16px; }
.distribution-label { font-family: var(--font-mono); font-size: 11px; color: var(--ink); }
.distribution-value { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.distribution-track { height: 18px; border-radius: 3px; background: var(--track); }
.distribution-fill, .distribution-fill.capital { background: var(--accent); }
.distribution-row:hover .distribution-track { background: var(--track-hover); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.segment-selector-heading { margin-top: 20px; padding-top: 0; border-top: 0; }
.segment-selector-heading > span { font-size: 11px; }
.tier-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tier-card { position: relative; padding: 10px 16px; border-bottom: 2px solid transparent; }
.tier-card:first-child { padding-left: 0; }
.tier-card:last-child { padding-right: 0; }
.tier-card.active { box-shadow: none; border-bottom-color: var(--accent); background: var(--green-wash); }
.tier-card-heading { min-height: 20px; margin-bottom: 4px; align-items: center; gap: 8px; }
.tier-card h3 { font-size: 13px; font-weight: 500; letter-spacing: 0; }
.tier-card-action { flex-shrink: 0; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0; white-space: nowrap; }
.tier-metric { font-size: 11px; margin-top: 2px; }
.tier-metric strong { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.fund-explorer { margin-top: var(--section-gap); }
.explorer-heading { margin-top: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.fund-results { min-width: 0; margin-top: 8px; }
.explorer-results { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.explorer-heading p { margin: 8px 0 0; font-size: 13px; }
.actions button { min-height: 38px; padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--action-ink); }
.actions button:hover { background: var(--action-hover); opacity: 1; }
.table-actions { margin: 0; }
.explorer-controls { margin-top: 12px; }
.explorer-controls-row { display: grid; grid-template-columns: auto minmax(240px, 1fr) auto auto; gap: 12px; align-items: center; }
.explorer-searches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.explorer-toggles { display: flex; gap: 16px; align-items: center; }
.explorer-result-summary { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.filter-count { font-family: var(--font-mono); color: var(--accent); font-size: 10px; }
.filter-count:empty { display: none; }
.filter-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 12px; white-space: nowrap; cursor: pointer; }
.filter-toggle:hover { border-color: var(--accent); }
.advanced-filter-count { min-width: 16px; padding: 0 4px; border-radius: 3px; color: var(--action-ink); background: var(--accent); font-size: 10px; font-variant-numeric: tabular-nums; }
.toggle-group { display: flex; align-items: center; flex-direction: row; gap: 7px; font-size: 12px; margin: 0; white-space: nowrap; cursor: pointer; }
.toggle-group input { appearance: none; flex-shrink: 0; width: 28px; height: 16px; background: var(--toggle-off); border-radius: 999px; position: relative; transition: background 160ms var(--ease); cursor: pointer; }
.toggle-group input::before { content: ""; position: absolute; width: 12px; height: 12px; top: 2px; left: 2px; border-radius: 50%; background: var(--panel); transition: transform 160ms var(--ease); }
.toggle-group input:checked { background: var(--accent); }
.toggle-group input:checked::before { transform: translateX(12px); }
.filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.filter-group label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0; color: var(--muted); margin-bottom: 7px; }
.filter-group input, .filter-group select { height: 36px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 12px; }
.explorer-searches input { height: 32px; padding-top: 5px; padding-bottom: 5px; }
.filter-group input::placeholder { color: #8a8d84; }
.filter-group input:hover, .filter-group select:hover { border-color: #acae9d; }
.filter-group input:focus, .filter-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(15,91,71,.1); }
.filter-group .has-value { background-color: var(--green-wash); border-color: rgba(15,91,71,.35); }
.filter-group select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2369736c' stroke-width='1.25'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.range-inputs { gap: 5px; }
.range-inputs input { min-width: 0; padding: 8px; font-size: 11px; }
.range-separator { font-size: 10px; }
.filter-actions { display: flex; flex-shrink: 0; gap: 8px; margin: 0; }
.filter-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 32px; border-radius: 6px; font-size: 11px; line-height: 1.4; padding: 6px 8px; }
.filter-actions #export-button { border: 1px solid var(--accent); background: var(--accent); color: var(--action-ink); font-weight: 500; }
.filter-actions #export-button:hover { background: var(--action-hover); }
.export-icon { width: 14px; height: 14px; flex: 0 0 14px; background: currentColor; mask: url('/static/download.svg') center / contain no-repeat; }
.filter-icon, .close-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor; }
.filter-icon { mask: url('/static/sliders-horizontal.svg') center / contain no-repeat; }
.close-icon { mask: url('/static/x.svg') center / contain no-repeat; }
.filter-dialog { width: min(560px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--ink); box-shadow: 0 16px 64px rgba(0,0,0,.25); overflow: hidden; }
.filter-dialog[open] { display: flex; flex-direction: column; }
.filter-dialog::backdrop { background: rgba(0,0,0,.5); }
.filter-dialog-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.filter-dialog-header h3 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: 0; }
.dialog-close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
.dialog-close:hover { background: var(--hover); }
.filter-dialog .filter-grid { min-height: 0; overflow-y: auto; padding: 24px; overscroll-behavior: contain; }
.filter-dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: 16px 24px; border-top: 1px solid var(--border); }
.filter-dialog-actions button { min-height: 36px; padding: 7px 12px; border-radius: 6px; font-size: 12px; }
.filter-dialog-actions .secondary { border: 1px solid var(--border); background: transparent; color: var(--ink); }
#done-filter-dialog { min-width: 80px; border: 1px solid var(--accent); background: var(--accent); color: var(--action-ink); }
body.filters-dialog-open { overflow: hidden; }
.table-panel { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); min-width: 0; height: var(--fund-table-height, 440px); overflow: auto; scrollbar-gutter: stable; }
.table-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.table-panel table { width: 100%; min-width: 0; table-layout: auto; border-collapse: separate; border-spacing: 0; }
.table-panel th, .table-panel td { padding-left: clamp(4px, .65vw, 8px); padding-right: clamp(4px, .65vw, 8px); font-family: var(--font-body); font-size: 12px; letter-spacing: 0; line-height: 1.4; }
th { padding: 10px 8px; background: var(--table-head); font-weight: 500; color: var(--ink); text-transform: none; }
.table-panel th { position: sticky; top: 0; z-index: 3; background-color: var(--bg); background-image: linear-gradient(var(--table-head), var(--table-head)); }
.table-panel th:first-child, .table-panel td:first-child:not([colspan]) { width: 16%; min-width: 80px; }
.table-panel th:nth-child(2), .table-panel td:nth-child(2) { min-width: 120px; }
.table-panel th:nth-child(3), .table-panel td:nth-child(3) { width: 1%; white-space: nowrap; }
.table-panel th:nth-child(4), .table-panel td:nth-child(4), .table-panel th:nth-child(5), .table-panel td:nth-child(5) { width: 1%; }
.table-panel th:nth-child(6), .table-panel td:nth-child(6) { width: 1%; white-space: nowrap; }
.table-panel .status-column { width: 10%; }
.table-panel.is-grouped .status-column { display: none; }
.table-panel th:nth-child(8), .table-panel td:nth-child(8), .table-panel th:nth-child(9), .table-panel td:nth-child(9) { width: 1%; white-space: nowrap; }
.table-panel.is-grouped th:nth-child(8), .table-panel.is-grouped td:nth-child(8) { width: 10%; white-space: normal; }
.table-panel.is-grouped th:first-child, .table-panel.is-grouped td:first-child:not([colspan]) { width: 24%; }
.table-panel.is-grouped th:nth-child(2), .table-panel.is-grouped td:nth-child(2) { width: 22%; }
.table-panel.is-grouped th:nth-child(3), .table-panel.is-grouped td:nth-child(3), .table-panel.is-grouped th:nth-child(6), .table-panel.is-grouped td:nth-child(6) { width: 10%; }
.table-panel.is-grouped th:nth-child(4), .table-panel.is-grouped td:nth-child(4), .table-panel.is-grouped th:nth-child(5), .table-panel.is-grouped td:nth-child(5) { width: 12%; }
.table-panel.is-grouped th:nth-child(9), .table-panel.is-grouped td:nth-child(9) { width: 64px; min-width: 64px; }
td { padding: 8px; vertical-align: middle; border-bottom-color: var(--soft-line); }
td:first-child { font-weight: 500; }
td:nth-child(2) { color: var(--muted); }
.table-panel th:nth-child(4), .table-panel th:nth-child(5), .table-panel td:nth-child(4), .table-panel td:nth-child(5) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-panel td:nth-child(3), .table-panel td:nth-child(6) { font-variant-numeric: tabular-nums; }
.table-panel td:nth-child(7) { white-space: normal; }
tbody tr { transition: background-color 150ms var(--ease); }
tbody tr:hover { background: var(--hover); }
tr.group-row td { background: var(--green-wash); font-weight: 500; }
.table-panel th:first-child, .table-panel td:first-child:not([colspan]) { position: sticky; left: 0; box-shadow: inset -1px 0 0 var(--border); }
.table-panel td:first-child:not([colspan]) { z-index: 2; background-color: var(--bg); }
.table-panel th:first-child { z-index: 4; }
.table-panel tr:not(.group-row):hover > td:first-child:not([colspan]) { background-image: linear-gradient(var(--hover), var(--hover)); }
.table-panel tr.group-row > td:first-child { background-color: var(--bg); background-image: linear-gradient(var(--green-wash), var(--green-wash)); }
html[data-theme="dark"] .table-panel tr.group-row > td { background: #244b3b; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; font: inherit; white-space: normal; color: var(--muted); }
.status-badge::before { content: ""; width: 4px; height: 4px; flex-shrink: 0; border-radius: 50%; background: var(--muted); }
.status-badge.currently_raising { color: var(--accent); }
.status-badge.currently_raising::before { background: var(--accent); }
.status-badge.recently_raised { color: var(--copper); }
.status-badge.recently_raised::before { background: var(--copper); }
a.filing-link { font: inherit; font-weight: 500; }
.triage-button { font: inherit; border-radius: 5px; background: transparent; color: var(--ink); padding: 3px 6px; }
.table-load-status { font-family: var(--font-mono); font-size: 10px; padding: 20px; }
.triage-modal { background: var(--panel); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 28px; border-radius: 14px; box-shadow: 0 18px 60px rgba(29,36,31,.18); }
.triage-modal h2 { font-family: var(--font-display); font-size: 30px; font-weight: 400; margin-bottom: 18px; letter-spacing: -.035em; }
.triage-modal .filter-group { margin-top: 18px; }
.triage-modal .triage-meta { font-size: 12px; }
.triage-modal .triage-actions { margin-top: 20px; }
.triage-modal .triage-actions button { font-size: 12px; padding: 8px 18px; }
.triage-actions .primary { color: var(--action-ink); }
html[data-theme^="dark"] .actions button:disabled, html[data-theme^="dark"] .actions button.is-disabled { background: var(--toggle-off); border-color: var(--toggle-off); color: var(--ink); }
.modal-backdrop { background: rgba(29,36,31,.3); backdrop-filter: blur(4px); z-index: 50; }
html[data-theme^="dark"] .metric-change { color: var(--accent); }
html[data-theme^="dark"] .metric-change.down { color: #efb590; background: rgba(221,177,131,.12); }
html[data-theme^="dark"] .filter-group input::placeholder { color: #9aa79e; }
html[data-theme^="dark"] .filter-group .has-value { border-color: var(--accent); }
html[data-theme^="dark"] .filter-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23a8b5ac' stroke-width='1.25'/%3E%3C/svg%3E"); }
html[data-theme^="dark"] .toggle-group input:checked::before { background: var(--action-ink); }
html[data-theme^="dark"] .modal-backdrop { background: rgba(0,0,0,.6); }
html[data-theme^="dark"] .triage-status { color: var(--muted); }
html[data-theme^="dark"] .triage-impact { background: var(--surface); }
body.modal-open { overflow: hidden; }
.page-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 0; border-top: 0; font-family: var(--font-mono); font-size: 9px; color: var(--muted); letter-spacing: .03em; }
.page-hero { animation: arrive 600ms var(--ease) both; }
#chart-grid { animation: arrive 600ms 70ms var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  main, .nav-inner { padding-left: 28px; padding-right: 28px; }
  .hero-note { display: none; }
  .tier-card { padding: 10px 12px; }
  .tier-metric strong { font-size: 12px; }
  .key-raisings-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raising-item, .raising-item:nth-child(3n), .raising-item:nth-child(3n+1) { padding: 20px; border-right: 1px solid var(--border); }
  .raising-item:nth-child(2n) { border-right: 0; }
  .raising-item:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 960px) {
  .key-raisings-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .key-raisings-summary { align-items: flex-start; }
  .key-raisings-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raising-item, .raising-item:nth-child(3n) { border-right: 1px solid var(--border); padding: 20px; }
  .raising-item:nth-child(2n) { border-right: 0; }
  .raising-item:nth-child(3n+1) { padding-left: 20px; }
  .raising-item:nth-child(2n+1) { padding-left: 0; }
  .distribution-column-headings { grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr); }
  .distribution-column-headings span:first-child { grid-column: 1; }
  .distribution-column-headings span:last-child { grid-column: 3; text-align: right; }
  .distribution-row { grid-template-columns: 36px minmax(0,1fr) 130px minmax(0,1fr) 64px; gap: 12px; }
  .distribution-value { text-align: right; }
  .distribution-value.left { text-align: left; }
  .explorer-controls-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .explorer-result-summary, .explorer-searches { grid-column: 1 / -1; }
  .explorer-toggles { gap: 12px; }
  .tier-card h3 { font-size: 12px; }
}
@media (max-width: 760px) {
  :root { --section-gap: 36px; --subsection-gap: 24px; }
  main, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-inner { min-height: 60px; gap: 12px; }
  .source-badge { display: none; }
  .nav-links { gap: 12px; }
  .theme-toggle { flex-basis: 32px; width: 32px; height: 32px; }
  .nav-links a { font-size: 11px; }
  .nav-links a:first-child { display: none; }
  .brand { font-size: 12px; gap: 7px; }
  .brand-mark { width: 24px; height: 24px; }
  .page-hero { padding: 32px 0 28px; }
  .eyebrow { font-size: 8px; margin-bottom: 20px; gap: 8px; }
  h1 { font-size: 48px; letter-spacing: 0; max-width: 580px; }
  .page-subtitle { font-size: 15px; }
  .toolbar { align-items: flex-start; gap: 7px; }
  .data-freshness { font-size: 9px; }
  .chart-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chart-card.kpi-card { padding: 16px 10px; border-bottom: 0; border-right: 1px solid var(--border); }
  .chart-card.kpi-card:last-child { border-right: 0; }
  .chart-card.kpi-card .chart-header h3 { font-size: 8px; letter-spacing: 0; line-height: 1.6; min-height: 26px; }
  .kpi-card .metric-frame { min-height: 112px; }
  .kpi-card .metric-value { font-size: 28px; }
  .kpi-card .metric-period { font-size: 8px; letter-spacing: 0; }
  .kpi-card .metric-change, .kpi-card .metric-baseline { font-size: 9px; }
  .chart-header { gap: 12px; }
  .chart-card.full-span .chart-header { flex-wrap: wrap; }
  .chart-card.full-span .chart-header > div:first-child { flex: 1 1 120px; }
  .chart-card.full-span .chart-stat { margin-left: auto; }
  .chart-stat { max-width: 140px; }
  .chart-stat strong { font-size: 21px; }
  .chart-stat span { font-size: 9px; line-height: 1.5; display: block; }
  .chart-card.full-span .chart-header h3, .distribution-header .distribution-title, .segment-selector-heading h3 { font-size: 22px; }
  .chart-frame:not(.metric-frame) { overflow-x: auto; }
  #comparison-chart .chart-svg { height: 220px; }
  .key-raisings-list { grid-template-columns: 1fr; }
  .raising-item, .raising-item:nth-child(3n), .raising-item:nth-child(3n+1), .raising-item:nth-child(2n+1) { padding: 16px 0; gap: 8px; border-right: 0; min-height: 0; }
  .raising-metrics { gap: 20px; }
  .raising-firm { font-size: 20px; }
  .distribution-label { font-size: 9px; }
  .distribution-row { grid-template-columns: 30px minmax(0, 1fr) 106px minmax(0, 1fr) 56px; gap: 6px; }
  .distribution-value { font-size: 9px; }
  .distribution-column-headings { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); gap: 8px; font-size: 9px; }
  .distribution-track { height: 14px; }
  .segment-selector-heading { margin-top: 12px; align-items: flex-start; gap: 20px; }
  .segment-selector-heading > span { max-width: 150px; text-align: right; font-size: 10px; }
  .tier-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-card { padding: 6px 10px; }
  .tier-card:first-child, .tier-card:last-child { padding: 6px 10px; }
  .tier-card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .tier-card:nth-child(2n) { border-right: 0; }
  .tier-card-heading { min-height: 32px; margin-bottom: 0; align-items: flex-start; }
  .tier-card h3 { font-size: 12px; }
  .tier-card-action { font-size: 8px; }
  .tier-metric { font-size: 10px; margin-top: 1px; }
  .key-raisings-card, .fund-explorer { margin-top: 36px; }
  #chart-grid + .chart-grid, .distribution-card { margin-top: 24px; }
  .section-title { font-size: 28px; }
  .explorer-heading p { max-width: none; font-size: 13px; }
  .actions button { font-size: 11px; padding: 8px 12px; }
  .explorer-controls-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .explorer-searches { grid-column: 1 / -1; }
  .explorer-toggles { gap: 12px; flex-wrap: wrap; }
  .toggle-group { font-size: 11px; gap: 5px; }
  .explorer-results { font-size: 11px; }
  .explorer-result-summary { gap: 2px 8px; }
  .filter-toggle { padding: 6px 8px; }
  .filter-dialog { inset: 0; margin: 0; width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .filter-dialog-header { padding: 16px 20px; }
  .filter-dialog .filter-grid { flex: 1 1 auto; align-content: start; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .filter-dialog-actions { padding: 16px 20px max(16px, env(safe-area-inset-bottom)); }
  .triage-modal { padding: 22px; }
}
@media (max-width: 360px) {
  h1 { font-size: 42px; }
  .kpi-card .metric-value { font-size: 23px; }
}
@media (max-height: 600px) and (min-width: 761px) {
  .explorer-heading p { display: none; }
  .segment-selector-heading { margin-top: 8px; }
  .segment-selector-heading h3 { font-family: var(--font-body); font-size: 14px; font-weight: 500; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
