/* ==========================================================================
 * Rational Funds — fund pages (plugin v2.3)
 * Light "Clarity" and dark "Signal" designs. The hero and footer band are navy
 * in both; the rest of the page follows the tokens below. Everything is scoped
 * to .rf-fp, so the all-funds NAV table (fund.css) is unaffected.
 * ========================================================================== */

.rf-fp {
	--rf-bg: #ffffff;
	--rf-band: #f3f5f9;
	--rf-card: #ffffff;
	--rf-card-rule: #dde2ea;
	--rf-ink: #39425a;
	--rf-head: #14234b;
	--rf-muted: #5a6378;
	--rf-rule: #dde2ea;
	--rf-rule-strong: #14234b;
	--rf-accent: #0e7c86;
	--rf-link: #1f5fa8;
	--rf-seg-on-bg: #14234b;
	--rf-seg-on-fg: #ffffff;
	--rf-seg-off-bg: #ffffff;
	--rf-seg-off-fg: #39425a;
	--rf-fund: #0e9aa7;
	--rf-bench: #14234b;
	--rf-alt: #c2671b;
	--rf-other: #9aa6bd;
	--rf-grid: #eceff4;
	--rf-zero: #8c97ae;
	--rf-pos: #0b6e77;
	--rf-neg: #a6521a;
	--rf-pos-rgb: 14, 154, 167;
	--rf-neg-rgb: 194, 103, 27;
	--rf-row-hi: rgba(14, 154, 167, 0.08);
	--rf-flow-1: #14234b;
	--rf-flow-2: #0e7c86;
	--rf-flow-fg: #ffffff;
	/* hero (navy in both designs) */
	--rf-hero: #0a1030;
	--rf-hero-ink: #ffffff;
	--rf-hero-sub: #d5dbea;
	--rf-hero-muted: #aeb7d2;
	--rf-hero-rule: #2a3466;
	--rf-hero-accent: #3cc8d3;

	background: var(--rf-bg);
	color: var(--rf-ink);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.rf-fp[data-ssf-theme="dark"] {
	--rf-bg: #0a1030;
	--rf-band: #0e163d;
	--rf-card: #121b48;
	--rf-card-rule: #26305e;
	--rf-ink: #c9d0e2;
	--rf-head: #ffffff;
	--rf-muted: #9aa4c0;
	--rf-rule: #232d5a;
	--rf-rule-strong: #8fa0cc;
	--rf-accent: #3cc8d3;
	--rf-link: #84d4dc;
	--rf-seg-on-bg: #3cc8d3;
	--rf-seg-on-fg: #06122a;
	--rf-seg-off-bg: transparent;
	--rf-seg-off-fg: #c9d0e2;
	--rf-fund: #3cc8d3;
	--rf-bench: #e8ecf5;
	--rf-alt: #f0a35e;
	--rf-other: #5e6a93;
	--rf-grid: #1f2853;
	--rf-zero: #7684b0;
	--rf-pos: #7fe0e7;
	--rf-neg: #f7b27a;
	--rf-pos-rgb: 60, 200, 211;
	--rf-neg-rgb: 240, 163, 94;
	--rf-row-hi: rgba(60, 200, 211, 0.1);
	--rf-flow-1: #e8ecf5;
	--rf-flow-2: #3cc8d3;
	--rf-flow-fg: #06122a;
	--rf-hero: #060a22;
}

.rf-fp *, .rf-fp *::before, .rf-fp *::after { box-sizing: border-box; }
:where(.rf-fp) h1, :where(.rf-fp) h2, :where(.rf-fp) h3 { color: var(--rf-head); margin: 0; letter-spacing: -0.015em; }
:where(.rf-fp) p { margin: 0; }
.rf-fp a { color: var(--rf-link); }
.rf-fp img { max-width: 100%; height: auto; }
.rf-fp [hidden] { display: none !important; }
.rf-fp :focus-visible { outline: 2px solid var(--rf-accent); outline-offset: 2px; }

.rf-fp__wrap { max-width: 1440px; margin: 0 auto; padding-inline: 4.5%; }
.rf-fp__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Share-class visibility ---------------------------------------------- */
.rf-fp[data-rf-cls="I"] [data-rf-show]:not([data-rf-show="I"]),
.rf-fp[data-rf-cls="A"] [data-rf-show]:not([data-rf-show="A"]),
.rf-fp[data-rf-cls="C"] [data-rf-show]:not([data-rf-show="C"]) { display: none; }
.rf-fp[data-rf-cls="I"] tr[data-rf-row="I"],
.rf-fp[data-rf-cls="A"] tr[data-rf-row="A"],
.rf-fp[data-rf-cls="C"] tr[data-rf-row="C"] { background: var(--rf-row-hi); }
.rf-fp[data-rf-cls="I"] [data-rf-col="I"],
.rf-fp[data-rf-cls="A"] [data-rf-col="A"],
.rf-fp[data-rf-cls="C"] [data-rf-col="C"] { background: var(--rf-row-hi); font-weight: 700; color: var(--rf-head); }

/* ---- Type helpers ---------------------------------------------------------- */
.rf-fp__eyebrow {
	font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--rf-accent); margin: 0 0 12px;
}
.rf-fp__eyebrow--ink { color: var(--rf-head); }
.rf-fp h2:not(.rf-fp__eyebrow) { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.12; font-weight: 700; margin-bottom: 4px; }
.rf-fp__lede { font-size: clamp(20px, 1.8vw, 27px); line-height: 1.4; font-weight: 600; color: var(--rf-head); margin-bottom: 36px; }
.rf-fp__intro { font-size: 17px; line-height: 1.65; margin-bottom: 14px; max-width: 72ch; }
.rf-fp__note { font-size: 13px; line-height: 1.65; color: var(--rf-muted); max-width: 120ch; margin-top: 12px; }
.rf-fp__note--em { font-style: italic; font-weight: 700; color: var(--rf-ink); }
.rf-fp__note--strong { font-weight: 700; color: var(--rf-ink); }
.rf-fp__warn { margin-top: 16px; padding: 10px 14px; border-left: 3px solid var(--rf-alt); background: var(--rf-band); font-size: 14px; color: var(--rf-ink); }
.rf-fp__loading { padding: 20px 22px; color: var(--rf-muted); font-size: 14px; }

/* ---- Hero ------------------------------------------------------------------ */
.rf-fp__hero { position: relative; overflow: hidden; background: var(--rf-hero); color: var(--rf-hero-ink); padding: 48px 0 56px; }
/* Same glow and motion layer as the homepage hero; content sits above both. */
.rf-fp__hero-glow {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(1100px 520px at 88% -10%, rgba(45, 122, 191, 0.3), transparent 66%),
		radial-gradient(760px 460px at 12% 108%, rgba(0, 171, 186, 0.2), transparent 64%);
}
.rf-fp__hero-motion {
	position: absolute; top: 0; right: 0; height: 100%; width: min(82%, 1100px); pointer-events: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
	mask-composite: intersect;
}
@media (max-width: 640px) { .rf-fp__hero-motion { display: none; } }
.rf-fp__hero-in { position: relative; }
.rf-fp__crumbs { font-size: 14px; color: var(--rf-hero-muted); }
.rf-fp__crumbs a { color: var(--rf-hero-muted); text-decoration: none; }
.rf-fp__crumbs a:hover { color: var(--rf-hero-ink); }
.rf-fp__crumbs span { color: var(--rf-hero-ink); }
.rf-fp__hero .rf-fp__eyebrow { color: var(--rf-hero-accent); margin: 32px 0 0; display: flex; align-items: center; gap: 14px; }
.rf-fp__eyebrow--rule::before { content: ""; width: 44px; height: 2px; background: currentColor; flex: none; }
.rf-fp__hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.rf-fp__hero-id { flex: 1 1 560px; min-width: 0; }
.rf-fp__name { color: var(--rf-hero-ink); font-size: clamp(36px, 4.6vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; margin-top: 16px; }
.rf-fp__summary { margin-top: 20px; max-width: 62ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--rf-hero-sub); }
.rf-fp__classes { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rf-fp__classes-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rf-hero-muted); }

.rf-fp__seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rf-rule); background: var(--rf-card); }
.rf-fp__seg button {
	font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	min-height: 44px; padding: 0 18px; border: 0; cursor: pointer;
	background: var(--rf-seg-off-bg); color: var(--rf-seg-off-fg);
}
.rf-fp__seg button[aria-pressed="true"] { background: var(--rf-seg-on-bg); color: var(--rf-seg-on-fg); }
.rf-fp__seg--hero { border-color: var(--rf-hero-rule); background: transparent; }
.rf-fp__seg--hero button { background: transparent; color: var(--rf-hero-sub); }
.rf-fp__seg--hero button[aria-pressed="true"] { background: var(--rf-hero-accent); color: #06122a; }
.rf-fp__seg--hero button:focus-visible { outline-color: #fff; }

/* KPI cards, as on the homepage hero: 1px light gaps between translucent navy
   cells, so the glow and motion behind show faintly through. */
/* Each card draws the divider on its own right and bottom edge, into the 1px
   gap; the grid clips the ones on its outer edge. A row that isn't full (four
   cards in three columns) then leaves its empty slots clear rather than filled
   with the divider colour. */
.rf-fp__stats { margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; overflow: hidden; }
.rf-fp__stat { padding: 24px 26px 22px; background: #0a1030bd; box-shadow: 1px 0 0 rgba(255, 255, 255, 0.14), 0 1px 0 rgba(255, 255, 255, 0.14); }
.rf-fp__stat dt { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9aa6c0; }
:where(.rf-fp__stat) dd { margin: 0; }
.rf-fp__stat-v { margin-top: 8px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.rf-fp__stat-s { margin-top: 6px; font-size: 14px; color: #9aa6c0; }
.rf-fp__hero .rf-fp__warn { color: #06122a; }

/* ---- Section bar ------------------------------------------------------------- */
.rf-fp__bar { position: sticky; top: var(--rf-bar-top, 0); z-index: 5; background: var(--rf-bg); border-bottom: 1px solid var(--rf-rule); }
.admin-bar .rf-fp__bar { --rf-bar-top: 32px; }
.rf-fp__bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.rf-fp__bar-links { display: flex; gap: 0 22px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.rf-fp__bar-links a {
	display: inline-flex; align-items: center; min-height: 56px; white-space: nowrap; text-decoration: none;
	font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rf-ink);
	border-bottom: 3px solid transparent;
}
.rf-fp__bar-links a[aria-current="true"], .rf-fp__bar-links a:hover { color: var(--rf-head); border-bottom-color: var(--rf-accent); }
.rf-fp__bar-doc { font-weight: 700; font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }

/* ---- Sections --------------------------------------------------------------- */
.rf-fp__sec { padding: clamp(48px, 5vw, 72px) 0; scroll-margin-top: 72px; }
.rf-fp__sec--band { background: var(--rf-band); }
.rf-fp__split { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.rf-fp__main { flex: 1 1 560px; min-width: 0; }
.rf-fp__stack > * + * { margin-top: 56px; }
.rf-fp__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.rf-fp__sub { margin-top: 56px; }
.rf-fp__card { background: var(--rf-card); border: 1px solid var(--rf-card-rule); }
.rf-fp h2 + .rf-fp__card, .rf-fp h2 + .rf-fp__key, .rf-fp__key + .rf-fp__card { margin-top: 22px; }
.rf-fp__eyebrow + .rf-fp__card { margin-top: 6px; }

.rf-fp__facts { flex: 1 1 380px; min-width: 0; margin: 0; align-self: flex-start; border-top: 2px solid var(--rf-rule-strong); }
.rf-fp__facts div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--rf-rule); }
.rf-fp__facts dt { color: var(--rf-muted); }
.rf-fp__facts dd { margin: 0; font-weight: 700; color: var(--rf-head); text-align: right; }

.rf-fp__list + .rf-fp__list { margin-top: 48px; }
.rf-fp__items { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 26px; }
.rf-fp__items li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.rf-fp__items--plain li { grid-template-columns: minmax(0, 1fr); }
.rf-fp__items h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.rf-fp__items p { font-size: 16px; line-height: 1.65; max-width: 80ch; }
.rf-fp__items p + p { margin-top: 10px; }
.rf-fp__item-no {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--rf-accent); color: var(--rf-accent); font-weight: 800;
}

/* Flow diagram */
.rf-fp__flow { margin: 0; padding: 32px; background: var(--rf-card); border: 1px solid var(--rf-card-rule); }
.rf-fp__flow-row, .rf-fp__flow-arrows { display: grid; grid-template-columns: repeat(var(--rf-cols, 1), minmax(0, 1fr)); column-gap: 20px; max-width: calc(var(--rf-cols, 1) * 380px); margin: 0 auto; }
.rf-fp__flow-row { grid-template-rows: auto auto; }
.rf-fp__flow-cell { text-align: center; display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.rf-fp__flow-box { display: flex; align-items: center; justify-content: center; padding: 14px 18px; font-weight: 700; line-height: 1.3; background: var(--rf-flow-1); color: var(--rf-flow-fg); }
.rf-fp__flow-box--2, .rf-fp__flow-box--4 { background: var(--rf-flow-2); }
.rf-fp__flow-box--3 { background: transparent; color: var(--rf-head); border: 2px solid var(--rf-flow-2); }
.rf-fp__flow-note { margin-top: 10px; font-size: 14.5px; line-height: 1.55; text-align: left; }
.rf-fp__flow-arrows { max-width: calc(var(--rf-cols, 1) * 380px); }
.rf-fp__flow-arrow { width: 2px; height: 34px; margin: 6px auto; background: var(--rf-rule-strong); position: relative; }
.rf-fp__flow-arrow::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 10px; height: 10px; border-right: 2px solid var(--rf-rule-strong); border-bottom: 2px solid var(--rf-rule-strong); transform: translateX(-50%) rotate(45deg); }

.rf-fp__figure { margin: 0; }
.rf-fp__figure img { display: block; background: #fff; padding: 12px; }
.rf-fp__video { position: relative; aspect-ratio: 16 / 9; max-width: 960px; background: #000; }
.rf-fp__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rf-fp__cta p { font-size: 17px; margin-bottom: 16px; max-width: 70ch; }
.rf-fp__btn {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; text-decoration: none;
	font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px;
	background: var(--rf-seg-on-bg); color: var(--rf-seg-on-fg) !important;
}
.rf-fp__btn:hover { filter: brightness(1.12); }

/* ---- Tables (ours and rational-fund-data.js's .cat-* output) -------------------- */
.rf-fp__tablewrap { overflow-x: auto; }
.rf-fp__table, .rf-fp .cat-fund-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.rf-fp .cat-fund-table { font-size: 14px; }
.rf-fp .cat-fund-table th, .rf-fp .cat-fund-table td { padding-left: 12px !important; padding-right: 12px !important; }
.rf-fp .cat-fund-table thead th { letter-spacing: 0.06em !important; }
.rf-fp__table thead tr, .rf-fp .cat-fund-table thead tr:last-child { border-bottom: 2px solid var(--rf-rule-strong); }
.rf-fp__table thead th, .rf-fp .cat-fund-table thead th {
	padding: 14px 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--rf-muted); text-align: right; white-space: nowrap; background: transparent;
}
.rf-fp__table thead th:first-child, .rf-fp .cat-fund-table thead th:first-child { text-align: left; }
.rf-fp__table tbody tr, .rf-fp .cat-fund-table tbody tr { border-bottom: 1px solid var(--rf-rule); }
.rf-fp__table tbody tr:last-child, .rf-fp .cat-fund-table tbody tr:last-child { border-bottom: 0; }
.rf-fp__table tbody th, .rf-fp .cat-fund-table tbody th, .rf-fp .cat-fund-table tbody td:first-child {
	padding: 13px 18px; text-align: left; font-weight: 700; color: var(--rf-head); white-space: nowrap;
}
.rf-fp__table td, .rf-fp .cat-fund-table td { padding: 13px 18px; text-align: right; color: var(--rf-ink); white-space: nowrap; }
.rf-fp__table th.rf-fp__plain { font-weight: 400; color: var(--rf-ink); }
.rf-fp__table td.rf-fp__em { font-weight: 700; color: var(--rf-head); }
.rf-fp__row--bench th { font-weight: 600 !important; color: var(--rf-ink) !important; }
.rf-fp__row--sep { border-top: 2px solid var(--rf-rule-strong); }
.rf-fp .cat-overview-table thead + thead th { padding-top: 0; }
.rf-fp .cat-as-of, .rf-fp .cat-annualized-note { margin: 0; padding: 12px 18px 0; color: var(--rf-muted); font-size: 13px; }
.rf-fp .cat-annualized-note { padding-top: 2px; padding-bottom: 8px; }
.rf-fp .cat-fund-error { padding: 18px; color: var(--rf-muted); }

/* Heat map */
.rf-fp__key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 20px; font-size: 13px; }
.rf-fp__key span { display: inline-flex; align-items: center; gap: 8px; }
.rf-fp__key i { width: 22px; height: 14px; display: inline-block; }
.rf-fp__heat { min-width: 980px; }
.rf-fp__heat td { text-align: center; font-size: 13px; padding: 9px 8px; }
.rf-fp__heat thead th { text-align: center; }
.rf-fp__heat td.rf-fp__ytd { font-weight: 700; color: var(--rf-head); border-left: 2px solid var(--rf-rule-strong); }
.rf-fp .rf-hm-p1 { background: rgba(var(--rf-pos-rgb), 0.12); }
.rf-fp .rf-hm-p2 { background: rgba(var(--rf-pos-rgb), 0.24); }
.rf-fp .rf-hm-p3 { background: rgba(var(--rf-pos-rgb), 0.38); }
.rf-fp .rf-hm-p4 { background: rgba(var(--rf-pos-rgb), 0.55); }
.rf-fp .rf-hm-n1 { background: rgba(var(--rf-neg-rgb), 0.14); }
.rf-fp .rf-hm-n2 { background: rgba(var(--rf-neg-rgb), 0.26); }
.rf-fp .rf-hm-n3 { background: rgba(var(--rf-neg-rgb), 0.4); }
.rf-fp .rf-hm-n4 { background: rgba(var(--rf-neg-rgb), 0.55); }

/* ---- Performance dot plot ---------------------------------------------------- */
.rf-fp__perf + .rf-fp__perf { margin-top: 0; }
.rf-fp__dot { margin: 0 0 20px; padding: 26px 28px 18px; }
.rf-dp__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; margin-bottom: 14px; }
.rf-dp__title { font-size: 17px; font-weight: 700; color: var(--rf-head); }
.rf-dp__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.rf-dp__key { display: inline-flex; align-items: center; gap: 8px; }
.rf-dp__mk { display: inline-block; border-radius: 50%; }
.rf-dp__mk--main { width: 14px; height: 14px; background: var(--rf-fund); }
.rf-dp__mk--load { width: 13px; height: 13px; border: 2.5px solid var(--rf-alt); background: var(--rf-card); }
.rf-dp__mk--other { width: 9px; height: 9px; background: var(--rf-other); }
.rf-dp__scroll { overflow-x: auto; }
.rf-dp__grid { min-width: 620px; }
.rf-dp__row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 170px; gap: 0 22px; align-items: center; border-top: 1px solid var(--rf-rule); }
.rf-dp__row--axis { border-top: 0; height: 26px; }
.rf-dp__label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rf-head); }
.rf-dp__track { position: relative; height: 46px; }
.rf-dp__row--axis .rf-dp__track { height: 22px; }
.rf-dp__tick { position: absolute; top: 2px; transform: translateX(-50%); font-size: 12px; color: var(--rf-muted); white-space: nowrap; }
.rf-dp__grid-line { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rf-grid); }
.rf-dp__grid-line--zero { background: var(--rf-zero); }
.rf-dp__seg { position: absolute; top: 22px; height: 3px; background: var(--rf-other); border-radius: 2px; }
.rf-dp__dot { position: absolute; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.rf-dp__dot--main { width: 18px; height: 18px; background: var(--rf-fund); box-shadow: 0 0 0 3px var(--rf-card); z-index: 3; }
.rf-dp__dot--load { width: 15px; height: 15px; border: 2.5px solid var(--rf-alt); background: var(--rf-card); z-index: 2; }
.rf-dp__dot--other { width: 9px; height: 9px; background: var(--rf-other); z-index: 1; }
.rf-dp__vals { display: flex; justify-content: flex-end; gap: 16px; font-size: 15px; font-variant-numeric: tabular-nums; }
.rf-dp__vals span { width: 72px; text-align: right; }
.rf-dp__row--axis .rf-dp__vals span { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rf-muted); }
.rf-dp__v--main { font-weight: 700; color: var(--rf-head); }
.rf-fp__notes { margin-top: 18px; }

/* ---- Growth of $10,000 -------------------------------------------------------- */
.rf-fp__growth { margin: 0; padding: 26px 28px 22px; }
.rf-fp__growth-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; }
.rf-gr__leg { border-top: 3px solid var(--rf-fund); padding-top: 10px; }
.rf-gr__leg--1 { border-top-color: var(--rf-bench); }
.rf-gr__leg--2 { border-top: 3px dashed var(--rf-alt); }
.rf-gr__leg--3 { border-top: 3px dotted var(--rf-other); }
.rf-gr__leg-name { display: block; font-size: 14px; font-weight: 600; }
.rf-gr__leg-row { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.rf-gr__leg-val { font-size: 26px; font-weight: 700; color: var(--rf-head); font-variant-numeric: tabular-nums; }
.rf-gr__leg-chg { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rf-gr__leg-chg.is-pos { color: var(--rf-pos); }
.rf-gr__leg-chg.is-neg { color: var(--rf-neg); }
.rf-fp__growth-when { margin-top: 8px; font-size: 13px; color: var(--rf-muted); min-height: 1.4em; }
.rf-fp__growth-plot { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 0 10px; margin-top: 14px; }
.rf-gr__y { position: relative; height: 380px; }
.rf-gr__ytick { position: absolute; right: 0; transform: translateY(-50%); font-size: 12px; color: var(--rf-muted); font-variant-numeric: tabular-nums; }
.rf-gr__area { position: relative; height: 380px; cursor: crosshair; touch-action: pan-y; }
.rf-gr__grid { position: absolute; inset: 0; }
.rf-gr__gline { position: absolute; left: 0; right: 0; height: 1px; background: var(--rf-grid); }
.rf-gr__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rf-gr__line { stroke-linejoin: round; stroke-linecap: round; }
.rf-gr__line--0 { stroke: var(--rf-fund); stroke-width: 3; }
.rf-gr__line--1 { stroke: var(--rf-bench); stroke-width: 2; }
.rf-gr__line--2 { stroke: var(--rf-alt); stroke-width: 2; stroke-dasharray: 6 5; }
.rf-gr__line--3 { stroke: var(--rf-other); stroke-width: 2; stroke-dasharray: 2 4; }
.rf-gr__cursor { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rf-rule-strong); opacity: 0.45; }
.rf-gr__dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--rf-card); background: var(--rf-fund); }
.rf-gr__dot--1 { background: var(--rf-bench); }
.rf-gr__dot--2 { background: var(--rf-alt); }
.rf-gr__dot--3 { background: var(--rf-other); }
.rf-gr__x { position: relative; height: 26px; margin-top: 8px; }
.rf-gr__xtick { position: absolute; transform: translateX(-50%); font-size: 12px; color: var(--rf-muted); white-space: nowrap; }

/* ---- Management -------------------------------------------------------------- */
.rf-fp__logo { display: block; max-height: 64px; width: auto; margin-bottom: 18px; background: #fff; padding: 8px 10px; }
.rf-fp__main h2 + .rf-fp__intro { margin-top: 14px; }
.rf-fp__pms { flex: 1 1 440px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-self: flex-start; }
.rf-fp__pm { display: flex; align-items: flex-start; gap: 20px; padding: 22px 24px; }
.rf-fp__pm img, .rf-fp__pm-ini { width: 72px; height: 72px; flex: none; object-fit: cover; }
.rf-fp__pm-ini { display: inline-flex; align-items: center; justify-content: center; background: var(--rf-band); color: var(--rf-head); font-weight: 700; font-size: 19px; }
.rf-fp__pm-role { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rf-accent); }
.rf-fp__pm h3 { font-size: 20px; font-weight: 700; margin: 2px 0 6px; }
.rf-fp__pm p, .rf-fp__pm li { font-size: 15px; line-height: 1.55; }
.rf-fp__pm ul { margin: 0; padding-left: 18px; }

/* ---- Documents, glossary, disclosures --------------------------------------------- */
.rf-fp__docs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--rf-card-rule); border: 1px solid var(--rf-card-rule); }
.rf-fp__docs a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 62px; padding: 0 22px; background: var(--rf-card); color: var(--rf-head); font-weight: 600; text-decoration: none; height: 100%; }
.rf-fp__docs a:hover { background: var(--rf-band); }
.rf-fp__docs-ext { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--rf-link); }
.rf-fp__glossary { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 18px 56px; }
.rf-fp__glossary div { border-top: 1px solid var(--rf-rule); padding-top: 12px; }
.rf-fp__glossary dt { font-weight: 700; color: var(--rf-head); }
.rf-fp__glossary dd { margin: 4px 0 0; font-size: 15px; line-height: 1.55; }
.rf-fp__disc { border-top: 1px solid var(--rf-rule); padding-top: 48px; }
.rf-fp__disc h2 { font-size: 13px !important; line-height: 1.4; margin-bottom: 14px; }
.rf-fp__disc p { font-size: 14px; line-height: 1.7; color: var(--rf-muted); max-width: 120ch; }
.rf-fp__disc p + p { margin-top: 14px; }
.rf-fp__disc strong, .rf-fp__disc b { color: var(--rf-ink); }

/* ---- Small screens ------------------------------------------------------------- */
@media (max-width: 720px) {
	.rf-fp__classes { align-items: flex-start; }
	.rf-fp__bar-doc { display: none; }
	.rf-fp__flow { padding: 20px; }
	.rf-fp__flow-row, .rf-fp__flow-arrows { grid-template-columns: minmax(0, 1fr); }
	.rf-fp__flow-arrows .rf-fp__flow-arrow + .rf-fp__flow-arrow { display: none; }
	.rf-fp__growth, .rf-fp__dot { padding: 18px 16px; }
	.rf-fp__growth-plot { grid-template-columns: 54px minmax(0, 1fr); }
	.rf-gr__y, .rf-gr__area { height: 280px; }
	.rf-fp__pm { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.rf-fp * { transition: none !important; scroll-behavior: auto !important; }
}
