/* Hobby Data & Insights — Hobby Flipper look (tokens from app.hobbyflipper.com resources/css/app.css). */
:root {
	--blue-50: #f2f4f6;
	--blue-100: #e6e9ed;
	--blue-200: #b4c1d3;
	--blue-300: #6381a1;
	--blue-700: #0b396b;
	--blue-800: #05284e;
	--blue-900: #00152f;
	--neutral-50: #f7f7f5;
	--neutral-100: #eceef0;
	--neutral-400: #c9cfd6;
	--orange: #f9920e;
	--orange-50: #fffaf4;
	--orange-100: #fef3e8;
	--green-50: #f7fbf6;
	--green-700: #35741e;
	--red-50: #fef6f4;
	--red-700: #972a12;
	--muted: #4d6580; /* blue-800 at ~70% over white; 5.9:1 */
	--font: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
	--font-head: 'League Spartan', 'Montserrat', sans-serif;
	--radius: 12px;
}

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

html { -webkit-text-size-adjust: 100%; }

body.hfd {
	margin: 0;
	background: var(--neutral-50);
	color: var(--blue-800);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
}

.hfd a { color: var(--blue-700); }

.screen-reader-text {
	position: absolute !important; /* standard WP pattern; must beat any later layout rule */
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.hfd-js-hide { display: none !important; }

/* Header */
.hfd-top {
	position: sticky;
	top: 0;
	z-index: 10;
	background: #fff;
	border-bottom: 1px solid var(--neutral-100);
}
.hfd-top__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.hfd-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.hfd-brand img { height: 32px; width: auto; display: block; }
.hfd-brand__tag {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	color: var(--blue-800);
	padding-left: 10px;
	border-left: 1px solid var(--neutral-400);
	line-height: 1.1;
	padding-top: 3px;
}
.hfd-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.hfd-nav a,
.hfd-back {
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	color: var(--blue-800);
	padding: 8px 12px;
	border-radius: 8px;
}
.hfd-nav a:hover,
.hfd-back:hover { background: var(--blue-50); }
.hfd-nav a[aria-current="page"] { background: var(--blue-100); }
.hfd-back { color: var(--muted); white-space: nowrap; }
.hfd-top__links { display: flex; gap: 4px; margin-left: auto; }

/* Layout */
.hfd-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}
.hfd h1,
.hfd h2 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 8px;
}
.hfd h1 { font-size: 34px; }
.hfd h2 { font-size: 22px; }
.hfd-pagehead p { color: var(--muted); max-width: 760px; margin: 0 0 8px; }
.hfd-updated { font-size: 13px; }

/* Home: navy band with the slab */
.hfd-page-home .hfd-main { padding-top: 0; }
.hfd-hero {
	background: radial-gradient(120% 140% at 85% 10%, var(--blue-700) 0%, var(--blue-800) 55%, var(--blue-900) 100%);
	color: #fff;
	margin: 0 calc(50% - 50vw);
	padding: 56px 16px 64px;
}
.hfd-hero__inner {
	max-width: 1168px; /* lines up with .hfd-main's content edge (1200 − 2 × 16) */
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: 56px;
	align-items: center;
}
.hfd .hfd-hero h1 {
	font-size: clamp(34px, 4.4vw, 54px);
	line-height: 1.02;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
	max-width: 13ch;
}
.hfd-hero__copy p {
	color: var(--blue-200);
	font-size: 17px;
	line-height: 1.55;
	max-width: 46ch;
	margin: 0 0 28px;
}
.hfd-cta {
	display: inline-block;
	background: var(--orange);
	color: var(--blue-900) !important; /* beats .hfd a */
	font-weight: 700;
	text-decoration: none;
	padding: 13px 20px;
	border-radius: 10px;
}
.hfd-cta:hover { background: #ffa83a; }
.hfd-cta:focus-visible,
.hfd-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* The slab: a grading-holder label over a clear window */
.hfd-slab {
	margin: 0;
	padding: 14px;
	border-radius: 22px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(220, 230, 241, 0.86));
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 24px 60px rgba(0, 10, 30, 0.45);
	color: var(--blue-800);
}
.hfd-slab__label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 2px solid var(--blue-800);
	border-radius: 10px;
	padding: 12px 16px;
}
.hfd-slab__id { display: grid; gap: 2px; font-size: 13px; color: var(--muted); min-width: 0; }
.hfd-slab__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--blue-800); line-height: 1.1; }
.hfd-slab__grade { display: grid; justify-items: end; text-align: right; flex: none; font-size: 12px; color: var(--muted); }
.hfd-slab__num {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 48px;
	line-height: 0.9;
	color: var(--blue-800);
	font-variant-numeric: tabular-nums;
}
.hfd-slab__window {
	margin-top: 12px;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 10px;
	box-shadow: inset 0 0 0 1px rgba(5, 40, 78, 0.12), inset 0 2px 8px rgba(5, 40, 78, 0.06);
	padding: 18px 16px 8px;
}
.hfd-gbar {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 58px;
	grid-template-areas: "name track rate" ". vol .";
	align-items: center;
	column-gap: 12px;
	margin-bottom: 12px;
}
.hfd-gbar__name { grid-area: name; font-weight: 700; font-size: 14px; }
.hfd-gbar__track { grid-area: track; height: 12px; border-radius: 4px; background: var(--blue-100); overflow: hidden; }
.hfd-gbar__fill { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--blue-700); }
.hfd-gbar__rate { grid-area: rate; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hfd-gbar__vol { grid-area: vol; font-size: 12px; color: var(--muted); margin-top: 3px; }
.hfd-slab figcaption { font-size: 12px; color: var(--muted); padding: 10px 4px 0; }
.hfd-slab--empty p { margin: 0; padding: 24px; color: var(--muted); }

/* Rankings */
.hfd-ranks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding: 48px 0 8px;
}
.hfd-rank > p { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.hfd-rlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--blue-800); }
.hfd-rlist li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 11px 0;
	border-bottom: 1px solid var(--neutral-400);
}
.hfd-rlist__n { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--blue-300); }
.hfd-rlist__card { min-width: 0; }
.hfd-rlist__name { display: block; font-weight: 700; }
.hfd-rlist__detail { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hfd-rlist__val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hfd-rlist__val span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }

/* Next step */
.hfd-next {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 48px;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--neutral-100);
	border-left: 6px solid var(--orange);
	border-radius: var(--radius);
}
.hfd-next p { margin: 0; color: var(--muted); max-width: 70ch; }

@media (max-width: 960px) {
	.hfd-hero__inner { grid-template-columns: 1fr; gap: 36px; }
	.hfd-ranks { grid-template-columns: 1fr; gap: 36px; }
}

/* Tabs */
.hfd-tabs {
	display: flex;
	gap: 4px;
	margin: 20px 0 0;
	border-bottom: 1px solid var(--neutral-400);
	overflow-x: auto;
}
.hfd-tabs a {
	padding: 10px 16px;
	font-weight: 600;
	text-decoration: none;
	color: var(--muted);
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
}
.hfd-tabs a:hover { color: var(--blue-800); }
.hfd-tabs a[aria-current="page"] {
	color: var(--blue-800);
	font-weight: 700;
	border-bottom-color: var(--blue-800);
}

/* Filters */
.hfd-filters {
	background: #fff;
	border: 1px solid var(--neutral-100);
	border-top: 0;
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 16px;
	display: grid;
	gap: 14px;
}
.hfd-windows {
	border: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.hfd-windows legend {
	float: left;
	font-size: 13px;
	font-weight: 600;
	margin-right: 6px;
	padding: 0;
	color: var(--muted);
}
.hfd-chip { position: relative; cursor: pointer; }
.hfd-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hfd-chip span {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--neutral-400);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	background: #fff;
}
.hfd-chip input:checked + span { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.hfd-chip input:focus-visible + span { outline: 2px solid var(--blue-700); outline-offset: 2px; }
.hfd-chip.is-off { cursor: not-allowed; }
.hfd-chip.is-off span { color: var(--blue-300); background: var(--blue-50); border-style: dashed; }

.hfd-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}
.hfd-field { display: grid; gap: 4px; min-width: 160px; flex: 1 1 160px; }
.hfd-field--grow { flex: 2 1 240px; }
.hfd-field--btns { display: flex; gap: 8px; flex: 0 0 auto; min-width: 0; }
.hfd-field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.hfd-field input,
.hfd-field select {
	font: inherit;
	color: var(--blue-800);
	background: #fff;
	border: 1px solid var(--neutral-400);
	border-radius: 8px;
	padding: 8px 10px;
	width: 100%;
	min-height: 40px;
}
.hfd-field input:focus,
.hfd-field select:focus { outline: 2px solid var(--blue-700); outline-offset: 1px; }

.hfd-btn {
	display: inline-block;
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	padding: 9px 16px;
	border-radius: 8px;
	border: 1px solid var(--blue-800);
	background: var(--blue-800);
	color: #fff !important; /* beats .hfd a */
	text-decoration: none;
	cursor: pointer;
	min-height: 40px;
}
.hfd-btn:hover { background: var(--blue-700); }
.hfd-btn--ghost { background: #fff; color: var(--blue-800) !important; }
.hfd-btn--ghost:hover { background: var(--blue-50); }

/* Table */
.hfd-count { font-size: 13px; color: var(--muted); margin: 16px 0 8px; }
.hfd-tablewrap {
	background: #fff;
	border: 1px solid var(--neutral-100);
	border-radius: var(--radius);
	overflow-x: auto;
}
.hfd-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hfd-table th,
.hfd-table td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--neutral-100);
	text-align: left;
	vertical-align: middle;
}
.hfd-table thead th {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--muted);
	background: var(--blue-50);
	white-space: nowrap;
}
.hfd-table thead th a { color: inherit; text-decoration: none; }
.hfd-table thead th a:hover { color: var(--blue-800); text-decoration: underline; }
.hfd-table thead th[aria-sort="ascending"],
.hfd-table thead th[aria-sort="descending"] { color: var(--blue-800); }
.hfd-table tbody tr:hover { background: var(--neutral-50); }
.hfd-table tbody tr:last-child td { border-bottom: 0; }
.hfd-table .hfd-num { text-align: right; white-space: nowrap; }
.hfd-table .hfd-rank { width: 48px; color: var(--muted); font-size: 13px; }
.hfd-cardcell { min-width: 220px; }
.hfd-cardcell__name { display: block; font-weight: 700; }
.hfd-cardcell__sub { display: block; font-size: 13px; color: var(--muted); }
.hfd-na { font-size: 12px; color: var(--muted); font-weight: 500; }
.hfd-delta { font-weight: 700; }
.hfd-delta.is-up { color: var(--green-700); }
.hfd-delta.is-down { color: var(--red-700); }
.hfd-graded { color: var(--muted); }
.hfd-empty { padding: 24px; text-align: center; color: var(--muted); }
.hfd-more { text-align: center; margin: 20px 0 0; }

/* Running counts: Regrade Report + Grader Test */
.hfd-section { margin-top: 40px; }
.hfd-section h2 { margin-bottom: 6px; }
.hfd-section h3 { font-family: var(--font-head); font-size: 17px; margin: 0 0 8px; }
.hfd-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; max-width: 80ch; }
.hfd-section .hfd-tablewrap + .hfd-note { margin-top: 10px; }
.hfd-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--green-50);
	border: 1px solid #cfe3c7;
	color: var(--green-700);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	vertical-align: 1px;
}
.hfd-table .hfd-total th,
.hfd-table .hfd-total td { background: var(--blue-50); font-weight: 700; border-top: 2px solid var(--blue-800); }

.hfd-stats { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.hfd-stat {
	display: grid;
	align-content: start;
	gap: 2px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--neutral-100);
	border-radius: var(--radius);
}
.hfd-stat__num { font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.hfd-stat__label { font-weight: 700; font-size: 14px; }
.hfd-stat__sub { font-size: 12px; color: var(--muted); }
.hfd-stat--lead { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.hfd-stat--lead .hfd-stat__num { color: var(--orange); font-size: 44px; }
.hfd-stat--lead .hfd-stat__sub { color: var(--blue-200); }
.hfd-stat--win .hfd-stat__num { color: var(--green-700); }
.hfd-stat--pending { background: var(--orange-50); border-style: dashed; border-color: #f6c88a; }

.hfd-split { display: flex; height: 14px; margin-top: 16px; border-radius: 7px; overflow: hidden; background: var(--blue-100); }
.hfd-split__seg { display: block; height: 100%; }
.hfd-split__seg--win { background: var(--green-700); }
.hfd-split__seg--push { background: var(--blue-300); }
.hfd-split__seg--loss { background: var(--neutral-400); }
.hfd-legend { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--muted); }
.hfd-legend li { display: flex; align-items: center; gap: 6px; }
.hfd-legend__dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.hfd-xgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.hfd-xcard { padding: 18px; background: #fff; border: 1px solid var(--neutral-100); border-radius: var(--radius); }
.hfd-xcard h3 { margin: 0; }
.hfd-xcard__sent { margin: 2px 0 12px; font-size: 13px; color: var(--muted); }
.hfd-mbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label val" "track track"; gap: 4px 10px; margin-bottom: 10px; font-size: 14px; }
.hfd-mbar__label { grid-area: label; }
.hfd-mbar__val { grid-area: val; font-weight: 700; font-variant-numeric: tabular-nums; }
.hfd-mbar__val span { font-weight: 500; color: var(--muted); font-size: 12px; }
.hfd-mbar__track { grid-area: track; height: 8px; border-radius: 4px; background: var(--blue-100); overflow: hidden; }
.hfd-mbar__track span { display: block; height: 100%; background: var(--blue-300); border-radius: 0 4px 4px 0; }
.hfd-mbar.is-best .hfd-mbar__label { font-weight: 700; }
.hfd-mbar.is-best .hfd-mbar__track span { background: var(--green-700); }

.hfd-gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 20px; }
.hfd-gcard { display: grid; gap: 2px; padding: 18px; background: #fff; border: 1px solid var(--neutral-100); border-radius: var(--radius); }
.hfd-gcard.is-best { border: 2px solid var(--blue-800); box-shadow: 0 6px 18px rgba(5, 40, 78, 0.08); }
.hfd-gcard__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hfd-gcard__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.hfd-gcard__num { font-family: var(--font-head); font-weight: 700; font-size: 38px; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hfd-gcard.is-best .hfd-gcard__num { color: var(--green-700); }
.hfd-gcard__label { font-size: 12px; color: var(--muted); }
.hfd-gcard__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--neutral-100); }
.hfd-gcard__facts dt { font-size: 11px; color: var(--muted); }
.hfd-gcard__facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.hfd-test { padding-top: 8px; border-top: 1px solid var(--neutral-400); }
.hfd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }

.hfd-insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 40px; }
.hfd-insight { display: grid; gap: 4px; padding: 20px; background: #fff; border: 1px solid var(--neutral-100); border-radius: var(--radius); text-decoration: none; color: var(--blue-800) !important; }
.hfd-insight:hover { border-color: var(--blue-300); }
.hfd-insight strong { font-family: var(--font-head); font-size: 19px; }
.hfd-insight span { font-size: 13px; color: var(--muted); }
.hfd-insight em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--blue-700); margin-top: 6px; }

@media (max-width: 960px) {
	.hfd-stats { grid-template-columns: repeat(2, 1fr); }
	.hfd-stat--lead { grid-column: 1 / -1; }
	.hfd-xgrid { grid-template-columns: 1fr; }
	.hfd-two { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.hfd-stat { padding: 12px 14px; }
	.hfd-stat__num { font-size: 28px; }
	.hfd-stat--lead .hfd-stat__num { font-size: 36px; }
	.hfd-section { margin-top: 32px; }
	.hfd-gcard__num { font-size: 32px; }
}

.hfd a.hfd-hf,
.hfd-hf {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: 6px;
	padding: 1px 7px 1px 6px;
	border-radius: 999px;
	background: var(--blue-800);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-decoration: none;
	vertical-align: 2px;
	white-space: nowrap;
}
.hfd a.hfd-hf:hover { background: var(--blue-700); color: #fff; }
.hfd-hf:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.hfd-hf--key { margin-left: 0; vertical-align: 0; }
.hfd-nohf {
	display: inline-block;
	margin-left: 6px;
	padding: 0 7px;
	border: 1px dashed var(--neutral-400);
	border-radius: 999px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	vertical-align: 2px;
	white-space: nowrap;
}

/* Optimal Auction Strategy */
.hfd-oas { margin-top: 20px; padding: 20px; background: #fff; border: 1px solid var(--neutral-100); border-radius: var(--radius); }
.hfd-oas__controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: end; }
.hfd-oas__controls select { width: 100%; }
.hfd-oas__slider label { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hfd-oas__slider output { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--blue-800); }
.hfd-oas__slider input[type="range"] { width: 100%; margin: 8px 0 2px; accent-color: var(--orange); height: 28px; }
.hfd-oas__ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.hfd-oas__compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 20px; }
.hfd-oas__tile { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--neutral-100); background: var(--blue-50); }
.hfd-oas__tile--high { background: var(--orange-50); border-color: #f6c88a; }
.hfd-oas__label { font-weight: 700; font-size: 14px; }
.hfd-oas__num { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hfd-oas__sub { font-size: 12px; color: var(--muted); }
.hfd-oas__vs { align-self: center; font-weight: 700; color: var(--muted); }
.hfd-oas__verdict { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: var(--neutral-50); font-weight: 600; }
.hfd-oas__verdict.is-high { background: var(--green-50); color: var(--green-700); }
.hfd-oas__verdict.is-low { background: var(--red-50); color: var(--red-700); }
.hfd-oas__chart { margin: 18px 0 0; }
.hfd-oas__chart svg { width: 100%; height: auto; display: block; }
.hfd-oas__chart figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.oas-grid { stroke: var(--neutral-100); stroke-width: 1; }
.oas-axis { font-size: 11px; fill: var(--muted); font-family: var(--font); }
.oas-axis--title { font-weight: 600; }
.oas-market { stroke: var(--blue-800); stroke-width: 1; stroke-dasharray: 4 4; }
.oas-market-label { fill: var(--blue-800); }
.oas-zone { fill: var(--orange); opacity: 0.07; }
.oas-threshold { stroke: var(--orange); stroke-width: 2; }
.oas-dot { fill: var(--neutral-400); opacity: 0.55; }
.oas-dot--low { fill: var(--blue-700); opacity: 0.35; }
.oas-dot--high { fill: #c56a00; opacity: 0.5; }
.oas-median { fill: none; stroke: var(--blue-800); stroke-width: 2.5; stroke-linejoin: round; }
.hfd-oas__method { margin-top: 24px; }
@media (max-width: 720px) {
	.hfd-oas { padding: 14px; }
	.hfd-oas__controls { grid-template-columns: 1fr; gap: 14px; }
	.hfd-oas__compare { grid-template-columns: 1fr; }
	.hfd-oas__vs { display: none; }
	.hfd-oas__num { font-size: 32px; }
}

/* Member sign-in */
.hfd-page-signin .hfd-main { display: grid; place-items: center; min-height: 60vh; }
.hfd-signin { width: 100%; max-width: 480px; margin: 24px auto; }
.hfd-signin__card { padding: 28px; background: #fff; border: 1px solid var(--neutral-100); border-top: 6px solid var(--blue-800); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(5, 40, 78, 0.06); }
.hfd .hfd-signin h1 { font-size: 26px; margin: 0 0 10px; }
.hfd-signin p { margin: 0 0 14px; }
.hfd-signin__form { display: grid; gap: 14px; margin: 18px 0 16px; }
.hfd-signin__form .hfd-field input { font-size: 16px; padding: 12px 14px; }
.hfd-signin__btn { width: 100%; justify-content: center; text-align: center; border: 0; cursor: pointer; font-size: 16px; }
.hfd-signin__msg { padding: 10px 12px; border-radius: 8px; background: var(--orange-50); border: 1px solid #f6c88a; font-weight: 600; }
.hfd-signin__small { font-size: 13px; color: var(--muted); }
.hfd-signin__admin { text-align: center; font-size: 12px; margin-top: 14px; }
.hfd-signin__admin a { color: var(--muted); }

/* Footer */
.hfd-foot {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 16px 40px;
	font-size: 12px;
	color: var(--muted);
}

@media (max-width: 720px) {
	body.hfd { font-size: 14px; }
	.hfd h1 { font-size: 26px; }
	.hfd-hide-sm { display: none; }
	.hfd-top__inner { gap: 6px 8px; padding: 8px 16px 6px; }
	.hfd-brand { gap: 8px; }
	.hfd-brand img { height: 24px; }
	.hfd-brand__tag { font-size: 14px; padding-left: 8px; }
	.hfd-nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; margin: 0 -6px; }
	.hfd-nav a { white-space: nowrap; padding: 6px 10px; }
	.hfd-back { font-size: 13px; padding: 6px 8px; }
	.hfd-main { padding-top: 16px; }
	.hfd-pagehead p { font-size: 13px; }
	.hfd-tabs { margin-top: 14px; }
	.hfd-tabs a { padding: 9px 11px; font-size: 14px; }
	.hfd-filters { padding: 12px; gap: 10px; }
	.hfd-windows legend { flex-basis: 100%; margin-bottom: 2px; }
	.hfd-chip span { padding: 5px 10px; }
	.hfd-fields { gap: 8px; }
	.hfd-field { flex: 1 1 calc(50% - 4px); min-width: 0; }
	.hfd-field--grow { flex-basis: 100%; }
	.hfd-field > span { font-size: 12px; }
	.hfd-field--btns { flex: 1 1 calc(50% - 4px); }
	.hfd-field--btns .hfd-btn { width: 100%; text-align: center; }
	.hfd-table th,
	.hfd-table td { padding: 9px 8px; }
	.hfd-table .hfd-rank { width: 30px; padding-right: 0; }
	.hfd-table thead th { font-size: 11px; letter-spacing: 0.02em; }
	.hfd-cardcell { min-width: 0; }
	.hfd-cardcell__sub { font-size: 12px; }
	.hfd-table .hfd-num { padding-left: 4px; }
	.hfd-na { white-space: normal; display: inline-block; max-width: 64px; line-height: 1.25; text-align: right; }
	.hfd-hero { padding: 32px 16px 40px; }
	.hfd-hero__copy p { font-size: 15px; margin-bottom: 22px; }
	.hfd-slab { padding: 10px; border-radius: 18px; }
	.hfd-slab__label { padding: 10px 12px; }
	.hfd-slab__title { font-size: 16px; }
	.hfd-slab__num { font-size: 38px; }
	.hfd-slab__window { padding: 14px 12px 4px; }
	.hfd-gbar { grid-template-columns: 38px minmax(0, 1fr) 52px; column-gap: 10px; }
	.hfd-ranks { padding-top: 32px; }
	.hfd-next { flex-direction: column; align-items: flex-start; padding: 20px; margin-top: 36px; }
}
