/* KID data tables (Labs): compare, scenario archive, cost history. Roles from tokens.css only. Loads only on
   pages that use an etf_site_kid_* shortcode (inc/kid-data.php). */
.kid-scroll {
	overflow-x: auto;
	margin-block: var(--stz-space-5);
	border-radius: var(--stz-radius-card);
	background: var(--stz-surface-2);
	-webkit-overflow-scrolling: touch;
}
.kid-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--stz-fs-callout);
	line-height: var(--stz-lh-small);
	letter-spacing: var(--stz-track-body);
	color: var(--stz-text);
	font-variant-numeric: var(--stz-numeric);
}
.kid-table th,
.kid-table td {
	padding: var(--stz-space-3) var(--stz-space-4);
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--stz-hairline);
	white-space: nowrap;
}
.kid-table thead th {
	font-weight: var(--stz-fw-semibold);
	background: var(--stz-surface-band);
}
.kid-table tbody th {
	font-weight: var(--stz-fw-medium);
	white-space: normal;
	min-width: 12rem;
}
.kid-table tbody tr:last-child > * {
	border-bottom: 0;
}
.kid-table .kid-num {
	text-align: right;
}
.kid-note {
	font-size: var(--stz-fs-footnote);
	line-height: var(--stz-lh-small);
	color: var(--stz-nav);
}
.kid-h {
	margin-block: var(--stz-space-6) var(--stz-space-2);
	font-size: var(--stz-fs-title3);
	letter-spacing: var(--stz-track-lead);
}
.kid-pick {
	display: flex;
	flex-wrap: wrap;
	gap: var(--stz-space-4);
	margin-block-end: var(--stz-space-3);
}
.kid-pick[hidden] {
	display: none;
}
.kid-pick label {
	display: grid;
	gap: var(--stz-space-1);
	font-size: var(--stz-fs-sub);
}
.kid-pick select {
	min-height: 2.75rem;
	padding-inline: var(--stz-space-4);
	border: 1px solid var(--stz-hairline);
	border-radius: var(--stz-radius-card);
	background: var(--stz-surface);
	color: var(--stz-text);
	font: inherit;
}
.kid-pick select:focus-visible,
.kid-scroll:focus-visible {
	outline: 2px solid var(--stz-focus);
	outline-offset: 2px;
}
/* With JavaScript the picker shows two funds; without it every fund stays in the scrolling table. */
.kid-compare[data-js] .kid-extra {
	display: none;
}
