/**
 * Fund page — front end.
 *
 * Matches the approved Claude Design mockup (GOLY_Fund_Page_-_Signal.html,
 * plus the Clarity/light screenshot) rather than the earlier design-handoff
 * prototype. Two full palettes coexist: light "Clarity" (default) and dark
 * "Signal", toggled via [data-ssf-theme] on the .ssf-fund root — see
 * class-ssf-render.php and the theme's ssf_fund_theme filter. Both directions
 * share one layout (same markup, same class names); only color tokens and a
 * handful of theme-specific values (hero background, CTA band background)
 * differ between them.
 *
 * Scoped under .ssf-fund so nothing leaks into the theme. The theme supplies
 * header, nav and footer; this file styles fund content only.
 */

.ssf-fund {
	/* ---- Light "Clarity" tokens (default) --------------------------------
	 * ink/chip-active/rule/muted/pos/neg are pulled from the mockup's own
	 * component script (the `chip`, `stat` and `tone` helpers hardcode these
	 * exact values for the light theme), not guessed from the screenshot. */
	--ssf-ink: #1a1c22;
	--ssf-body: #4a4f57;
	--ssf-muted: #6b6f78;
	--ssf-note: #808285;
	--ssf-rule: #D6D7D9;
	--ssf-rule-soft: #EDEEEF;
	--ssf-wash: #F4F5F6;
	--ssf-page-bg: #ffffff;
	--ssf-panel-bg: #ffffff;
	--ssf-accent: #008fbd;
	--ssf-accent-deep: #005a9e;
	--ssf-accent-2: #00abba;
	--ssf-accent-3: #61328d;
	--ssf-pos: #316f51;
	--ssf-neg: #ac2a37;
	--ssf-hero-bg: #0a1030;
	--ssf-hero-text: #ffffff;
	--ssf-hero-text-2: #B9BEC9;
	--ssf-hero-muted: #8b93a6;
	--ssf-btn-fg: #ffffff;
	--ssf-disclosures-bg: #F4F5F6;
	--ssf-max: 1240px;
	--ssf-radius-pill: 999px;
	--ssf-radius-panel: 0;

	background: var(--ssf-page-bg);
	color: var(--ssf-ink);
	font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-variant-numeric: tabular-nums;
	line-height: 1.5;
}

/* ---- Dark "Signal" tokens ------------------------------------------------
 * Pulled directly from the approved mockup HTML (not approximated): panel
 * background #141a3a, page background #0a1030, accent #00abba, the teal
 * #2cbba7 used for its MKT/distribution-amount readouts, and pos/neg
 * #51bd8b/#e08a92 (the same "toneDark" values the mockup's own script
 * hardcodes for this theme). */
.ssf-fund[data-ssf-theme="dark"] {
	--ssf-ink: #EDEFF4;
	--ssf-body: #B9BEC9;
	--ssf-muted: #8b93a6;
	--ssf-note: #7F97A5;
	--ssf-rule: rgba(255, 255, 255, .1);
	--ssf-rule-soft: rgba(255, 255, 255, .07);
	--ssf-wash: #141a3a;
	--ssf-page-bg: #0a1030;
	--ssf-panel-bg: #141a3a;
	--ssf-accent: #00abba;
	--ssf-accent-deep: #00939f;
	--ssf-accent-2: #2cbba7;
	--ssf-accent-3: #61328d;
	--ssf-pos: #51bd8b;
	--ssf-neg: #e08a92;
	--ssf-hero-bg: #0a1030;
	--ssf-hero-text: #ffffff;
	--ssf-hero-text-2: #B9BEC9;
	--ssf-hero-muted: #8b93a6;
	--ssf-btn-fg: #0a1030;
	--ssf-disclosures-bg: #070b22;
}

.ssf-fund *,
.ssf-fund *::before,
.ssf-fund *::after {
	box-sizing: border-box;
}

.ssf-fund > * {
	padding-inline: max(clamp(16px, 5vw, 44px), calc((100% - var(--ssf-max)) / 2));
}

.ssf-fund h1,
.ssf-fund h2,
.ssf-fund h3,
.ssf-fund h4 {
	font-family: inherit;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
	color: var(--ssf-ink);
}

.ssf-fund p {
	margin: 0 0 0.75rem;
	text-wrap: pretty;
}

/* ---- Hero ----------------------------------------------------------------
 * Signal's hero sits on a dark navy panel (#0a1030) regardless of the page
 * theme — Clarity's own screenshot shows the same dark hero band above a
 * light page, so --ssf-hero-bg is intentionally NOT swapped per theme. */

.ssf-hero {
	background: var(--ssf-hero-bg);
	color: var(--ssf-hero-text);
	padding-block: clamp(40px, 5.8vw, 76px) clamp(32px, 5vw, 56px);
	margin-bottom: 0;
}

.ssf-hero > * {
	max-width: none;
	padding-inline: 0;
}

.ssf-eyebrow {
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ssf-hero-muted);
	margin-bottom: 26px;
}

.ssf-hero__top {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px 48px;
	align-items: end;
	padding-bottom: 34px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width: 640px) {
	.ssf-hero__top {
		grid-template-columns: 1fr;
		text-align: left;
	}
	.ssf-hero__nav {
		text-align: left !important;
	}
}

.ssf-hero__nav {
	text-align: right;
}

.ssf-hero__nav-label {
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ssf-hero-muted);
	margin: 0 0 8px;
}

.ssf-statement {
	font-weight: 600;
	font-size: clamp(23px, 4.8vw, 38px);
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: var(--ssf-hero-text);
	margin: 38px 0 0;
	max-width: 34ch;
}

.ssf-hl {
	color: var(--ssf-accent-2);
}

.ssf-support {
	font-size: 16px;
	line-height: 1.62;
	color: var(--ssf-hero-text-2);
	margin: 24px 0 0;
	max-width: 62ch;
}

.ssf-herostats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1px;
	background: var(--ssf-page-bg);
	border: 1px solid rgba(255, 255, 255, .1);
	margin: 32px 0 0;
}

.ssf-herostat {
	background: var(--ssf-panel-bg);
	border: 1px solid rgba(255, 255, 255, .1);
	padding: 20px 18px;
}

.ssf-herostat dt {
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ssf-hero-muted);
	margin-bottom: 10px;
	line-height: 1.4;
}

.ssf-herostat dd {
	margin: 0;
}

.ssf-herostat__v {
	font-weight: 700;
	font-size: clamp(19px, 3.4vw, 26px);
	letter-spacing: -0.02em;
	color: var(--ssf-hero-text);
}

.ssf-herostat__n {
	font-size: 12px;
	color: var(--ssf-hero-text-2);
	margin-top: 4px;
}

.ssf-cta--hero {
	padding: 0;
	margin-top: 32px;
	max-width: none;
}

/* ---- Sections -------------------------------------------------------------
 * Below the hero, sections sit on the page background (white for Clarity,
 * navy for Signal) with hairline rules — the mockup does not repeat the dark
 * hero panel for every section. */

.ssf-section {
	padding-block: clamp(32px, 4.9vw, 64px);
	border-bottom: 1px solid var(--ssf-rule);
}

.ssf-section:last-of-type {
	border-bottom: 0;
}

.ssf-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.ssf-section__head h2,
.ssf-section > h2 {
	font-size: clamp(19px, 3.4vw, 26px);
	font-weight: 700;
	letter-spacing: -0.025em;
}

.ssf-asof {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ssf-note);
	margin: 0;
}

/* Fixed layout so the period columns share the width evenly. */
.ssf-table--perf {
	table-layout: fixed;
}
.ssf-table--perf th:first-child,
.ssf-table--perf td:first-child {
	width: 140px;
}
/* thead th's left-align out-ranks plain .ssf-num; right-align numeric headers so they sit over their numbers. */
.ssf-table--perf thead th.ssf-num {
	text-align: right;
}

/* ---- Fund Details & Documents ----------------------------------------------- */

.ssf-table--details th:first-child,
.ssf-table--details td:first-child {
	width: 44%;
}

.ssf-manager-bio {
	margin-top: 18px;
	padding: 18px 20px;
	background: var(--ssf-wash);
	border-radius: 8px;
}
.ssf-manager-bio__name {
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--ssf-ink);
}
.ssf-manager-bio ul {
	margin: 0;
	padding-left: 18px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--ssf-body);
}
.ssf-manager-bio li {
	margin-bottom: 4px;
}

.ssf-doc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 24px;
}
.ssf-doc-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px solid var(--ssf-rule-soft);
}
.ssf-doc-list svg {
	flex: none;
	color: var(--ssf-note);
}
.ssf-doc-list a {
	color: var(--ssf-accent);
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 600;
}
.ssf-doc-list a:hover {
	text-decoration: underline;
}
@media (max-width: 560px) {
	.ssf-doc-list {
		grid-template-columns: 1fr;
	}
}

.ssf-note {
	font-size: 11.5px;
	line-height: 1.7;
	color: var(--ssf-note);
	margin: 20px 0 0;
}

.ssf-empty {
	border: 1px solid var(--ssf-rule);
	background: var(--ssf-wash);
	padding: 20px 22px;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--ssf-muted);
	margin: 0;
}

.ssf-empty strong {
	color: var(--ssf-ink);
}

.ssf-warn {
	border-left: 3px solid #c9a227;
	background: #fdf8e8;
	padding: 0.75rem 1rem;
	font-size: 0.8125rem;
	color: #6b5a1c;
}

.ssf-warn--inline {
	margin-top: 0.625rem;
}

/* ---- Objective / explainer ("One dollar, two jobs" / "Follow every $100") */

.ssf-objective {
	padding-top: clamp(23px, 3.4vw, 44px);
}

.ssf-objective > h2 {
	font-size: clamp(22px, 4.4vw, 34px);
	margin-bottom: 26px;
}

.ssf-objective__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

@media (max-width: 880px) {
	.ssf-objective__grid {
		grid-template-columns: 1fr;
	}
}

.ssf-objective p {
	font-size: clamp(16px, 1.8vw, 18px);
	font-weight: 400;
	line-height: 1.6;
	color: var(--ssf-body);
	max-width: 62ch;
}

.ssf-objective p + p {
	margin-top: 1em;
}

.ssf-callout {
	border-left: 0;
	padding: 0;
}

.ssf-callout h3 {
	display: none; /* the mockup renders this copy as one flowing paragraph, not a separate labelled title */
}

.ssf-callout p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ssf-muted);
}

.ssf-explainer {
	border: 1px solid var(--ssf-rule);
	background: var(--ssf-panel-bg);
	padding: clamp(24px, 3.7vw, 32px) clamp(20px, 3vw, 30px);
	margin-top: 26px;
}

.ssf-explainer h3 {
	font-size: clamp(17px, 2.9vw, 22px);
	font-weight: 700;
	margin-bottom: 28px;
	color: var(--ssf-ink);
}

.ssf-stephead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.ssf-stepno {
	font-size: 11px;
	letter-spacing: 0.12em;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ssf-ink);
}

.ssf-stepnote {
	font-size: 12.5px;
	color: var(--ssf-muted);
}

/* Bars sit in one track: a row totals 100% or less, so nothing overflows. */
.ssf-bars {
	display: flex;
	gap: 2px;
	height: 62px;
	max-width: 100%;
	margin-bottom: 26px;
}

.ssf-bar {
	flex-shrink: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 18px;
	color: #fff;
	overflow: hidden;
}

.ssf-bar__amt {
	font-size: clamp(17px, 2.9vw, 22px);
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

.ssf-bar__lab {
	font-size: 13px;
	opacity: 0.92;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ssf-barnote {
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: var(--ssf-muted);
	margin: -18px 0 26px;
	text-align: right;
}

.ssf-outcomes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1px;
	background: var(--ssf-rule);
	border: 1px solid var(--ssf-rule);
}

.ssf-outcomes li {
	background: var(--ssf-panel-bg);
	padding: 18px 20px;
}

.ssf-outcomes strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: var(--ssf-ink);
	margin-bottom: 4px;
}

.ssf-outcomes span {
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ssf-muted);
}

/* ---- Components (Bond / Gold / Commodity, etc.) --------------------------- */

.ssf-components {
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	background: var(--ssf-rule);
	border: 1px solid var(--ssf-rule);
	border-top: 1px solid var(--ssf-rule);
}

.ssf-component {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--ssf-panel-bg);
	padding: 28px 26px;
	border-bottom: 0;
}

.ssf-component__no {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--ssf-accent);
	width: 100%;
}

.ssf-component h4 {
	font-size: clamp(17px, 2.8vw, 21px);
	font-weight: 700;
	color: var(--ssf-ink);
	letter-spacing: -0.02em;
}

.ssf-component__role {
	display: inline-flex;
	align-self: flex-start;
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ssf-accent);
	border: 1px solid var(--ssf-rule);
	border-radius: var(--ssf-radius-pill);
	padding: 4px 9px;
}

.ssf-component p {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--ssf-muted);
	flex: 1;
}

.ssf-component__held {
	font-size: 13px;
	color: var(--ssf-body);
}

.ssf-component__out {
	border-top: 1px solid var(--ssf-rule);
	padding-top: 14px;
}

.ssf-component__out strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--ssf-ink);
	margin-bottom: 3px;
}

.ssf-component__out span {
	display: block;
	font-size: 13px;
	color: var(--ssf-muted);
}

/* ---- Tables ----------------------------------------------------------------- */

.ssf-tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ssf-table,
.ssf-fund .cat-fund-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.ssf-table thead th,
.ssf-fund .cat-fund-table thead th {
	text-align: left;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--ssf-note);
	padding: 13px 12px;
	border-top: 1px solid var(--ssf-rule);
	border-bottom: 1px solid var(--ssf-rule);
	white-space: nowrap;
}

.ssf-table tbody th,
.ssf-fund .cat-fund-table tbody th {
	text-align: left;
	font-weight: 500;
	color: var(--ssf-ink);
}

.ssf-table td,
.ssf-table tbody th,
.ssf-fund .cat-fund-table td,
.ssf-fund .cat-fund-table tbody th {
	padding: 14px 12px;
	border-bottom: 1px solid var(--ssf-rule-soft);
	vertical-align: top;
	color: var(--ssf-body);
}

.ssf-table th:first-child,
.ssf-table td:first-child,
.ssf-fund .cat-fund-table th:first-child,
.ssf-fund .cat-fund-table td:first-child {
	padding-left: 0;
}

.ssf-table th:last-child,
.ssf-table td:last-child,
.ssf-fund .cat-fund-table th:last-child,
.ssf-fund .cat-fund-table td:last-child {
	padding-right: 0;
}

.ssf-num {
	text-align: right;
	white-space: nowrap;
	color: var(--ssf-ink);
}

.ssf-pos { color: var(--ssf-pos); }
.ssf-neg { color: var(--ssf-neg); }

/* ---- Details ------------------------------------------------------------ */

.ssf-details {
	margin: 0;
	border-top: 1px solid var(--ssf-rule);
	columns: 2;
	column-gap: 3rem;
}

@media (max-width: 760px) {
	.ssf-details {
		columns: 1;
	}
}

.ssf-details__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 12px 0;
	border-bottom: 1px solid var(--ssf-rule-soft);
	break-inside: avoid;
}

.ssf-details dt {
	font-size: 13.5px;
	color: var(--ssf-muted);
}

.ssf-details dd {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	text-align: right;
	color: var(--ssf-ink);
}

/* ---- CTA ------------------------------------------------------------------ */

.ssf-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}

.ssf-cta--band {
	background: var(--ssf-hero-bg);
	background-image: radial-gradient(600px 260px at 90% 30%, rgba(215, 169, 74, .14), transparent 70%);
	color: var(--ssf-hero-text);
	border: 1px solid rgba(255, 255, 255, .14);
	padding: clamp(24px, 5vw, 40px) clamp(16px, 5vw, 44px);
	margin-block: clamp(32px, 4vw, 56px);
	margin-inline: auto;
	max-width: var(--ssf-max);
}

.ssf-cta--band h2 {
	font-size: clamp(21px, 3.9vw, 30px);
	font-weight: 700;
	letter-spacing: -0.025em;
	margin-bottom: 8px;
	color: var(--ssf-hero-text);
}

.ssf-cta--band p {
	color: var(--ssf-hero-text-2);
	font-size: 15.5px;
	margin: 0;
}

.ssf-cta__actions {
	margin: 0;
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.ssf-btn {
	display: inline-block;
	background: var(--ssf-accent);
	color: var(--ssf-btn-fg);
	font-weight: 700;
	font-size: 15px;
	padding: 15px 26px;
	border-radius: var(--ssf-radius-pill);
	text-decoration: none;
}

.ssf-btn:hover,
.ssf-btn:focus {
	background: var(--ssf-accent-deep);
	color: var(--ssf-btn-fg);
}

/* ---- Disclosures ------------------------------------------------------------ */

.ssf-disclosures {
	background: var(--ssf-disclosures-bg);
	border-top: 1px solid var(--ssf-rule);
	max-width: none;
	padding-block: clamp(21px, 3.1vw, 40px);
}

/* A rule under the band as well, separating it from the site footer columns.
   .ssf-section:last-of-type removes the bottom border from a page's final
   section — which this usually is — so this needs the extra specificity to
   keep it. */
.ssf-section.ssf-disclosures {
	border-bottom: 1px solid var(--ssf-rule);
}

.ssf-disclosures > * {
	max-width: var(--ssf-max);
	margin-inline: auto;
}

.ssf-disclosures h2 {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 14px;
	color: var(--ssf-ink);
}

.ssf-disclosures p {
	font-size: 11.5px;
	line-height: 1.7;
	color: var(--ssf-note);
}

/* Bold / italic disclosure copy: keep weight and slant visible, and let bold
   read a step darker so emphasis survives the muted body colour. */
.ssf-disclosures strong,
.ssf-disclosures b {
	font-weight: 700;
	color: var(--ssf-body);
}
.ssf-disclosures em,
.ssf-disclosures i {
	font-style: italic;
}
.ssf-disclosures a {
	color: var(--ssf-accent);
}

/* Directly under another section: the previous section's bottom rule and this
   band's top rule are the same line — overlap them rather than doubling up. */
.ssf-section + .ssf-disclosures {
	margin-top: -1px;
}

/* ---- Print -------------------------------------------------------------- */

@media print {
	.ssf-fund {
		--ssf-max: none;
	}

	

	.ssf-section {
		break-inside: avoid;
	}

	.ssf-table tr {
		break-inside: avoid;
	}

	.ssf-cta--band {
		background: none;
		color: var(--ssf-ink);
		border: 1px solid var(--ssf-rule);
	}

	.ssf-cta--band p {
		color: var(--ssf-muted);
	}
}

/* ---- Paragraph spacing, requested directly ---------------------------------- */

.ssf-fund p {
	margin: 10px 0 0.75rem;
	text-wrap: pretty;
}

/* ---- Rational Funds: share classes, overview, performance, NAV table ---- */

.ssf-fund-name {
	margin: 0;
}

.ssf-hero__tickers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 8px 0 0;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.ssf-hero__ticker span {
	opacity: 0.6;
	font-weight: 400;
}





.ssf-perf + .ssf-perf {
	margin-top: 32px;
}

.ssf-perf__title {
	margin: 0 0 4px;
}

.ssf-table--overview th[scope="row"],
.ssf-table--perf th[scope="row"] {
	white-space: nowrap;
}

.rf-navtable__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
}

.rf-navtable__tabs[hidden] {
	display: none;
}

.rf-navtable__tab {
	padding: 5px 14px;
	border: 1.5px solid var(--ssf-accent-deep);
	border-radius: var(--ssf-radius-pill);
	background: var(--ssf-panel-bg);
	color: var(--ssf-accent-deep);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
}

.rf-navtable__tab[aria-selected="true"] {
	background: var(--ssf-accent-deep);
	color: var(--ssf-btn-fg);
}

.rf-navtable__tab:focus-visible {
	outline: 2px solid var(--ssf-accent);
	outline-offset: 2px;
}

.rf-navtable__panel + .rf-navtable__panel {
	margin-top: 28px;
}

.rf-navtable.is-tabbed .rf-navtable__panel + .rf-navtable__panel {
	margin-top: 0;
}

.rf-navtable.is-tabbed .rf-navtable__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.rf-navtable__ticker {
	font-weight: 700;
}

.rf-navtable__flag {
	color: var(--ssf-note);
	font-size: 0.75rem;
	white-space: nowrap;
}

/* ---- rational-fund-data.js output (cat-* classes) ----------------------- */

.ssf-fund .cat-fund-table td,
.ssf-fund .cat-fund-table thead th:not(:first-child) {
	text-align: right;
	white-space: nowrap;
}

.ssf-fund .cat-fund-table tbody th {
	white-space: nowrap;
}

/* The overview has two header rows (tickers, then class names). */
.ssf-fund .cat-overview-table thead + thead th {
	padding-top: 0;
}

.ssf-fund .cat-as-of,
.ssf-fund .cat-annualized-note {
	margin: 0 0 4px;
	color: var(--ssf-note);
	font-size: 0.85rem;
}

.ssf-fund .cat-annualized-note {
	margin-bottom: 10px;
}

.ssf-fund .cat-fund-error {
	color: var(--ssf-muted);
}

.ssf-chartbox {
	position: relative;
	height: 320px;
	margin-top: 20px;
}

.ssf-fund .ssf-loading {
	color: var(--ssf-muted);
}

/* Fund links in the NAV table: the page's ink on light, a bright ice on dark (the theme's
   default link blue is too dark on navy). */
.rf-navtable__table td a {
	color: var(--ssf-ink);
	font-weight: 600;
	text-decoration: none;
}

.rf-navtable__table td a:hover,
.rf-navtable__table td a:focus-visible {
	color: var(--ssf-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ssf-fund[data-ssf-theme="dark"] .rf-navtable__table td a {
	color: #7fd4e0;
}

.ssf-fund[data-ssf-theme="dark"] .rf-navtable__table td a:hover,
.ssf-fund[data-ssf-theme="dark"] .rf-navtable__table td a:focus-visible {
	color: #fff;
}

/* NAV table: every column left-aligned, headers included. Stated explicitly (and firmly) so
   neither the numeric right-align nor a theme's or the browser's centered <th> wins. */
.rf-navtable .rf-navtable__table th,
.rf-navtable .rf-navtable__table td,
.rf-navtable .rf-navtable__table .ssf-num {
	text-align: left !important;
}
