/* ==========================================================================
   tsfresh.com - world tech briefing
   1. Tokens  2. Base  3. Layout  4. Utilities  5. Brand  6. Header & drawer
   7. Search overlay  8. Ticker  9. Buttons & forms  10. Cards  11. Section heads,
   chips, breadcrumbs, pagination  12. Feeds & shared archive bits  13. Footer
   14. Widgets  15. Motion & print
   ========================================================================== */

/* 1. Tokens ----------------------------------------------------------------- */
:root {
	/* Palette: petrol teal, tangerine (accent surfaces only - never small text on white), ink, pale mint. */
	--petrol: #123B40;
	--petrol-deep: #0C2B2F;
	--petrol-soft: #1E5258;
	--tangerine: #F47C48;
	--tangerine-ink: #A8461A; /* 5.9:1 on white - for small accent text */
	--ink: #172629;
	--mint: #EFF5F2;
	--mint-line: #D3E3DC;
	--white: #FFFFFF;
	--muted: #4D5F63;
	--on-dark: #E6F0EC;
	--on-dark-muted: #A9C2BC;

	/* Legacy names used by inherited modules (widgets, forms). */
	--color-primary: var(--petrol);
	--color-secondary: var(--petrol-soft);
	--color-accent: var(--tangerine-ink);
	--color-text: var(--ink);
	--color-body: #24363A;
	--color-muted: var(--muted);
	--color-bg: var(--white);
	--color-surface: var(--mint);
	--color-border: var(--mint-line);
	--color-focus: var(--petrol-soft);

	--font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif: var(--font-sans); /* sans-serif only */
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-md: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--fs-lg: clamp(1.1875rem, 1.08rem + 0.5vw, 1.375rem);
	--fs-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
	--fs-2xl: clamp(1.625rem, 1.3rem + 1.5vw, 2.375rem);
	--fs-3xl: clamp(1.875rem, 1.35rem + 2.4vw, 3.25rem);

	--container: 1320px;
	--gutter: clamp(16px, 3vw, 32px);
	--gap: clamp(16px, 2vw, 24px);
	--gap-lg: clamp(28px, 4vw, 56px);
	--radius: 4px;
	--rule: 1px solid var(--mint-line);
	--header-h: 64px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--white);
	color: var(--color-body);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	color: var(--ink);
	font-family: var(--font-sans);
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--petrol-soft); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
hr { border: 0; border-top: var(--rule); }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--petrol-soft); outline-offset: 2px; border-radius: 2px; }
.site-header :focus-visible, .footer-band :focus-visible, .primary-nav :focus-visible { outline-color: var(--tangerine); }

.site-main { display: block; min-height: 50vh; }
.site-main:focus { outline: none; }

/* 3. Layout ----------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.page-pad { padding-block: clamp(24px, 4vw, 48px); }

/* 4. Utilities --------------------------------------------------------------- */
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.skip-link {
	position: absolute;
	top: 8px; left: 8px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--tangerine);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.kicker {
	display: inline-block;
	color: var(--tangerine-ink);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: none;
}
a.kicker:hover { color: var(--ink); text-decoration: underline; }

.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
}
.meta time { font-family: var(--font-mono); font-size: 12px; letter-spacing: -0.01em; }

.badge-demo {
	display: inline-block;
	padding: 1px 7px;
	border: 1px solid var(--muted);
	border-radius: 999px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.empty-state { padding: 32px 0; color: var(--muted); }
.empty-state--big { max-width: 640px; }

/* 5. Brand ------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; }
.brand__img { width: auto; height: 26px; }
@media (min-width: 1024px) { .brand--header .brand__img { height: 30px; } }
.custom-logo { width: auto; max-height: 32px; }

/* 6. Header & drawer --------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--petrol);
	color: var(--on-dark);
	border-bottom: 3px solid var(--tangerine);
}
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 782.98px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}
.site-header__brand { flex-shrink: 0; }
.site-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.site-header .icon-btn:hover { background: var(--petrol-soft); color: var(--white); }

.menu-toggle__close { display: none; }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: block; }

.nav-list { display: flex; margin: 0; padding: 0; list-style: none; }
.nav-list a {
	display: block;
	color: var(--on-dark);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.nav-list a:hover { color: var(--white); }
.nav-list a[aria-current] { color: var(--white); }

/* Desktop: sections on the header row. */
@media (min-width: 1180px) {
	.primary-nav { flex: 1; min-width: 0; }
	.primary-nav__label, .primary-nav__pages { display: none; }
	.nav-list { gap: 2px; }
	.nav-list a { position: relative; padding: 21px 11px 20px; }
	.nav-list a::after {
		content: "";
		position: absolute;
		left: 11px; right: 11px; bottom: 0;
		height: 3px;
		background: var(--tangerine);
		transform: scaleX(0);
		transition: transform 0.18s var(--ease);
	}
	.nav-list a:hover::after, .nav-list a[aria-current]::after { transform: scaleX(1); }
	.menu-toggle { display: none; }
}

/* Mobile / tablet: slide-in drawer from the right. */
@media (max-width: 1179.98px) {
	.primary-nav {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		z-index: 120;
		width: min(340px, 86vw);
		padding: calc(var(--header-h) + 12px) 24px 32px;
		overflow-y: auto;
		background: var(--petrol-deep);
		box-shadow: -12px 0 32px rgb(0 0 0 / 0.25);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.25s var(--ease), visibility 0s linear 0.25s;
	}
	.menu-open .primary-nav { transform: none; visibility: visible; transition: transform 0.25s var(--ease); }
	.primary-nav__label {
		margin: 0 0 8px;
		color: var(--on-dark-muted);
		font-size: var(--fs-xs);
		font-weight: 700;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}
	.nav-list { flex-direction: column; }
	.nav-list a { padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); font-size: 17px; }
	.nav-list a[aria-current] { box-shadow: inset 3px 0 0 var(--tangerine); padding-left: 12px; }
	.primary-nav__pages { margin: 24px 0 0; padding: 0; list-style: none; }
	.primary-nav__pages a { display: block; padding: 8px 0; color: var(--on-dark-muted); font-size: 15px; text-decoration: none; }
	.primary-nav__pages a:hover { color: var(--white); }
	.site-header__actions { position: relative; z-index: 130; }
	.menu-open { overflow: hidden; }
}
.menu-backdrop { display: none; }
@media (max-width: 1179.98px) {
	.menu-open .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgb(23 38 41 / 0.55); }
}

/* 7. Search overlay ---------------------------------------------------------- */
.search-panel { display: none; }
.search-panel.is-open {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 150;
	padding-top: clamp(16px, 8vh, 96px);
	overflow-y: auto;
	background: rgb(23 38 41 / 0.7);
}
.search-open { overflow: hidden; }
.search-box {
	max-width: 720px;
	margin-inline: auto;
	padding: clamp(20px, 3vw, 32px);
	background: var(--white);
	color: var(--color-body);
	border-top: 4px solid var(--tangerine);
	border-radius: var(--radius);
}
.search-box__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.search-box__title { margin: 0; color: var(--ink); font-size: var(--fs-lg); font-weight: 750; }
.search-box__close:hover { background: var(--mint); }
.search-box__hint { margin: 20px 0 8px; color: var(--muted); font-size: var(--fs-sm); }

.search-form { display: flex; gap: 8px; }
.search-form__field { flex: 1; min-width: 0; }
.search-form__input, .search-filters input[type="search"] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 2px solid var(--mint-line);
	border-radius: var(--radius);
	background: var(--white);
	font-size: 16px;
}
.search-form__input:focus, .search-filters input[type="search"]:focus { outline: none; border-color: var(--petrol); }

/* 8. Breaking ticker (only when editors flag stories) ---------------------- */
.ticker { background: var(--mint); border-bottom: var(--rule); font-size: 14px; }
.ticker__inner { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.ticker__label {
	flex-shrink: 0;
	padding: 3px 10px;
	background: var(--tangerine);
	color: var(--ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 2px;
}
.ticker__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; overflow-x: auto; white-space: nowrap; }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; }
.is-marquee .ticker__list { width: max-content; overflow: visible; animation: ticker var(--ticker-dur, 40s) linear infinite; }
.is-marquee:hover .ticker__list, .is-marquee:focus-within .ticker__list, .ticker.is-paused .ticker__list { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__item { display: inline-flex; gap: 8px; align-items: baseline; }
.ticker__item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.ticker__item a:hover { text-decoration: underline; }
.ticker__item time { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.ticker__pause { flex-shrink: 0; padding: 4px 10px; border: 1px solid var(--mint-line); border-radius: var(--radius); background: var(--white); font-size: 13px; cursor: pointer; }

/* 9. Buttons & forms --------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.btn--primary { background: var(--petrol); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--petrol); background: transparent; color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol); color: var(--white); }
.btn--accent { background: var(--tangerine); color: var(--ink); }

select {
	height: 44px;
	padding: 0 12px;
	border: 2px solid var(--mint-line);
	border-radius: var(--radius);
	background: var(--white);
}

/* 10. Cards ------------------------------------------------------------------ */
.card { position: relative; min-width: 0; }
.card__media { display: block; position: relative; overflow: hidden; background: var(--mint); border-radius: var(--radius); }
.card__img, .card__ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__ph { background: linear-gradient(135deg, var(--mint) 0 60%, var(--mint-line)); }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.card__img { transition: transform 0.4s var(--ease); }
.card:hover .card__img { transform: scale(1.03); }

.card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card__badge { align-self: flex-start; }
.card__title { margin: 0; font-size: var(--fs-md); font-weight: 700; line-height: 1.28; }
.card__link { color: var(--ink); text-decoration: none; }
.card__link:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tangerine); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.card__excerpt { margin: 0; color: var(--color-body); font-size: 15px; line-height: 1.55; }
.card__num { color: var(--tangerine-ink); font-family: var(--font-mono); font-size: 14px; font-weight: 700; }

/* Generic stack (related, search grids, 404). */
.card--stack { display: flex; flex-direction: column; gap: 14px; }

/* Generic row (archives, search): thumbnail left. */
.card--row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 768px) { .card--row { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; } }
.card--row .card__media { aspect-ratio: 16 / 9; }

/* Text and mini. */
.card--text .card__title { font-size: var(--fs-md); }
.card--mini .card__title { font-size: 15px; font-weight: 650; line-height: 1.35; }
.card--mini .card__body { gap: 4px; }
.mini-list { margin: 0; padding: 0; list-style: none; }
.mini-list > li { padding: 12px 0; border-bottom: var(--rule); }
.mini-list > li:first-child { padding-top: 4px; }
.mini-list > li:last-child { border-bottom: 0; }

/* 11. Section heads, chips, breadcrumbs, pagination --------------------------- */
.sec-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 20px;
	margin-bottom: clamp(18px, 2.4vw, 28px);
	padding-top: 14px;
	border-top: 2px solid var(--ink);
}
.sec-head__kicker { flex-basis: 100%; }
.sec-head__title { margin: 0; font-size: var(--fs-xl); font-weight: 800; }
.sec-head__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	color: var(--petrol);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.sec-head__more:hover { color: var(--ink); text-decoration: underline; }

.chips ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--mint-line);
	border-radius: 999px;
	background: var(--mint);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.chip:hover, .chip[aria-current] { border-color: var(--petrol); background: var(--petrol); color: var(--white); }

.breadcrumbs { margin-bottom: 14px; font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; gap: 4px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--mint-line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { display: inline-block; max-width: 40ch; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }

.pagination { margin-top: var(--gap-lg); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--mint-line);
	border-radius: var(--radius);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}
a.page-numbers:hover { border-color: var(--petrol); }
.page-numbers.current { background: var(--petrol); border-color: var(--petrol); color: var(--white); }
.page-numbers.dots { border: 0; }

/* 12. Feeds & shared archive bits ---------------------------------------------- */
.feed { display: grid; }
.feed > .card { padding: 20px 0; border-bottom: var(--rule); }
.feed > .card:first-child { padding-top: 0; }
.feed__more { margin-top: 24px; }

.archive-head { margin-bottom: 24px; }
.archive-head__title { font-size: var(--fs-2xl); }

/* 13. Footer ------------------------------------------------------------------ */
.site-footer { margin-top: clamp(48px, 7vw, 96px); }
.footer-band { padding-block: clamp(36px, 5vw, 56px); background: var(--petrol); color: var(--on-dark); border-top: 4px solid var(--tangerine); }
.footer-band__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .footer-band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; } }
.footer-band .brand__img { height: 34px; }
.footer-band__line { max-width: 44ch; margin: 16px 0 0; color: var(--on-dark-muted); font-size: 15px; line-height: 1.55; }
.footer-band__sections ul { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0; padding: 0; list-style: none; }
.footer-band__sections li { display: inline-flex; align-items: center; }
.footer-band__sections li + li::before { content: ""; width: 5px; height: 5px; margin-inline: 14px; background: var(--tangerine); border-radius: 1px; transform: rotate(45deg); }
.footer-band__sections a { color: var(--white); font-size: 16px; font-weight: 650; text-decoration: none; }
@media (max-width: 767.98px) {
	.footer-band__sections ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
	.footer-band__sections li + li::before { content: none; }
	.footer-band__sections a { font-size: 15px; }
}
.footer-band__sections a:hover { text-decoration: underline; text-decoration-color: var(--tangerine); text-decoration-thickness: 2px; }

.footer-strip { padding-block: 20px; background: var(--mint); font-size: 14px; }
.footer-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer-strip__pages ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.footer-strip__pages a { color: var(--ink); text-decoration: none; }
.footer-strip__pages a:hover { text-decoration: underline; }
.footer-strip__social { --social-bg: var(--mint); display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-strip__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--petrol); }
.footer-strip__legal { margin: 0 0 0 auto; color: var(--muted); }

/* 14. Widgets (article rail) --------------------------------------------------- */
.rail-widgets .widget { margin-top: 24px; }
.rail__title, .side-box__title { margin: 0 0 10px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* 15. Motion & print ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .share, .article__rail, .related, .ticker, .read-progress { display: none !important; }
	body { color: #000; }
}

/* Inherited widgets: weather (Open-Meteo) and ECB rates - only render when placed in Article sidebar. */
.wx { padding: 14px 16px 12px; background: var(--color-surface); border: var(--rule); border-radius: var(--radius); font-size: 14px; }
.wx p { margin: 0; }
.wx__icon { flex: none; color: var(--color-primary); }
.wx__now { display: flex; align-items: center; gap: 14px; }
.wx__now-icon .wx__icon { width: 52px; height: 52px; color: var(--color-accent); }
.wx__city { color: var(--color-muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.wx__temp { color: var(--color-text); font-family: var(--font-serif); font-size: 36px; font-weight: 700; line-height: 1.05; }
.wx__desc { color: var(--color-muted); font-size: 13px; }
.wx__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 4px; padding: 10px 0; border-block: var(--rule); list-style: none; text-align: center; }
.wx__days li { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12.5px; }
.wx__day { color: var(--color-text); font-weight: 700; text-transform: capitalize; }
.wx__range { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.wx__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wx__table th, .wx__table td { padding: 6px 0; border-bottom: var(--rule); text-align: left; font-weight: 400; }
.wx__table tr:last-child th, .wx__table tr:last-child td { border-bottom: 0; }
.wx__table th { color: var(--color-text); }
.wx__table td { width: 28px; }
.wx__table .wx__icon { width: 20px; height: 20px; vertical-align: middle; }
.wx__num { width: 44px !important; color: var(--color-text); font-weight: 700; text-align: right !important; }
.wx__source { margin-top: 8px !important; color: var(--color-muted); font-size: 11.5px; }
.wx__source a { color: inherit; text-decoration: underline; }

/* 21. Currency rates widget (ECB) ---------------------------------------------------------------- */
.fx { padding: 6px 16px 12px; background: var(--color-surface); border: var(--rule); border-radius: var(--radius); }
.fx__table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.fx__table th, .fx__table td { padding: 9px 0; border-bottom: var(--rule); text-align: left; }
.fx__table thead th { padding-top: 6px; color: var(--color-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fx__table tbody tr:last-child th, .fx__table tbody tr:last-child td { border-bottom: 0; }
.fx__table tbody th { color: var(--color-text); font-weight: 600; }
.fx__table abbr { text-decoration: none; }
.fx__num { text-align: right !important; }
.fx__rate { color: var(--color-text); font-family: var(--font-mono); font-size: 13.5px; }
.fx__chg { width: 78px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.fx__chg--up { color: #047857; }
.fx__chg--down { color: #B91C1C; }
.fx__chg--flat, .fx__chg--na { color: var(--color-muted); }
.fx__source { margin: 8px 0 0; color: var(--color-muted); font-size: 11.5px; line-height: 1.45; }
.fx__source a { color: inherit; text-decoration: underline; }

