/* =========================================================================
   JEP · Apuração 2026
   Componente de resultados eleitorais (TSE) — escopo fechado em .jep-ap.

   Direção de arte: mesa de apuração. Fundo azul-tinta profundo, grade fina,
   ciano como cor de dados, âmbar para atenção e cores de partido nas barras.
   ========================================================================= */

.jep-ap {
	/* ---- superfícies ---- */
	--jep-bg: #070b13;
	--jep-bg-2: #0a111d;
	--jep-surface: #0b1322;
	--jep-card: #0d1728;
	--jep-card-2: #101c30;
	--jep-line: rgba(151, 180, 218, 0.14);
	--jep-line-2: rgba(151, 180, 218, 0.28);

	/* ---- texto ---- */
	--jep-text: #f2f7ff;
	--jep-muted: #9bb0cb;
	--jep-dim: #687e9c;

	/* ---- acentos ---- */
	--jep-cyan: #3ee6ff;
	--jep-cyan-deep: #00b7d4;
	--jep-amber: #ffb547;
	--jep-coral: #ff6b7a;
	--jep-green: #3ddc97;

	/* ---- tipografia ---- */
	--jep-font: var(--font-body, 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif);
	--jep-display: var(--font-display, 'Space Grotesk', system-ui, sans-serif);
	--jep-mono: var(--font-mono, 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(1100px 560px at 6% -12%, rgba(62, 230, 255, 0.13), transparent 62%),
		radial-gradient(820px 480px at 100% 0%, rgba(255, 181, 71, 0.06), transparent 58%),
		linear-gradient(180deg, #08101d 0%, var(--jep-bg) 55%, #060a11 100%);
	color: var(--jep-text);
	font-family: var(--jep-font);
	border-radius: 20px;
	padding: clamp(18px, 3vw, 38px);
	-webkit-font-smoothing: antialiased;
}

/* grade técnica + filete superior */
.jep-ap::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(151, 180, 218, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(151, 180, 218, 0.045) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
	-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
}
.jep-ap::after {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, var(--jep-cyan), rgba(62, 230, 255, 0) 42%, rgba(255, 181, 71, 0) 60%, var(--jep-amber));
}
.jep-ap > * { position: relative; z-index: 1; }

.jep-ap *,
.jep-ap *::before,
.jep-ap *::after { box-sizing: border-box; }
.jep-ap a { color: inherit; text-decoration: none; }
.jep-ap button { font-family: inherit; }
.jep-ap :focus-visible { outline: 2px solid var(--jep-cyan); outline-offset: 3px; border-radius: 6px; }
.jep-ap [hidden] { display: none !important; }

/* ---------------------------------------------------------------- estados */

.jep-ap__loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 190px;
	color: var(--jep-muted);
	font-size: 0.92rem;
}
.jep-ap__spinner {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.14);
	border-top-color: var(--jep-cyan);
	animation: jep-spin 0.8s linear infinite;
}
@keyframes jep-spin { to { transform: rotate(360deg); } }

.jep-ap__noscript { color: var(--jep-muted); font-size: 0.9rem; line-height: 1.5; }
.jep-ap__noscript a { color: var(--jep-cyan); text-decoration: underline; }
.jep-ap__fallback h2 { font-family: var(--jep-display); font-size: 1.25rem; margin: 0 0 8px; }
.jep-ap__fallback ul { margin: 8px 0 0 18px; padding: 0; }
.jep-ap__fallback li { margin: 4px 0; }

.jep-error {
	display: grid;
	gap: 10px;
	justify-items: start;
	padding: 22px;
	border: 1px dashed var(--jep-line-2);
	border-radius: 12px;
	color: var(--jep-muted);
	background: rgba(255, 107, 122, 0.04);
}
.jep-error strong { color: var(--jep-text); font-family: var(--jep-display); font-size: 1.05rem; }

.jep-sim {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 107, 122, 0.10);
	border: 1px solid rgba(255, 107, 122, 0.42);
	color: #ffd9dd;
	font-family: var(--jep-mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}
.jep-sim::before { content: '⚠'; font-size: 1rem; }

/* ---------------------------------------------------------------- topbar */

.jep-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	padding-bottom: 14px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--jep-line);
	font-family: var(--jep-mono);
	font-size: 0.64rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--jep-dim);
}
.jep-topbar__left,
.jep-topbar__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jep-topbar__right b { color: var(--jep-text); font-weight: 600; }
.jep-topbar__sep { color: rgba(151, 180, 218, 0.35); }
.jep-topbar__round { letter-spacing: 0.12em; }

.jep-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 10px;
	border-radius: 99px;
	border: 1px solid rgba(62, 230, 255, 0.35);
	background: rgba(62, 230, 255, 0.09);
	color: var(--jep-cyan);
	font-weight: 700;
	letter-spacing: 0.1em;
}
.jep-live--demo {
	border-color: rgba(255, 181, 71, 0.45);
	background: rgba(255, 181, 71, 0.10);
	color: var(--jep-amber);
}
.jep-live--demo .jep-dot { background: var(--jep-amber); animation: none; }
.jep-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--jep-cyan);
	box-shadow: 0 0 0 0 rgba(62, 230, 255, 0.55);
	animation: jep-pulse 2.2s infinite;
}
@keyframes jep-pulse {
	0% { box-shadow: 0 0 0 0 rgba(62, 230, 255, 0.55); }
	70% { box-shadow: 0 0 0 8px rgba(62, 230, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(62, 230, 255, 0); }
}

.jep-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 8px;
	border: 1px solid var(--jep-line);
	background: rgba(255, 255, 255, 0.02);
	color: var(--jep-muted);
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.jep-iconbtn:hover { color: var(--jep-cyan); border-color: rgba(62, 230, 255, 0.4); background: rgba(62, 230, 255, 0.06); }
.jep-iconbtn svg { width: 13px; height: 13px; }

.jep-refresh-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 10px;
	border-radius: 8px;
	border: 1px solid var(--jep-line);
	background: transparent;
	color: var(--jep-muted);
	font-family: var(--jep-mono);
	font-size: 0.68rem;
	cursor: pointer;
}
.jep-refresh-btn:hover { border-color: var(--jep-cyan); color: var(--jep-cyan); }
.jep-refresh-btn svg { width: 12px; height: 12px; }

/* ----------------------------------------------------- cabeçalho do painel */

.jep-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}
.jep-head__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--jep-mono);
	font-size: 0.66rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--jep-cyan);
	font-weight: 700;
}
.jep-head h2 {
	font-family: var(--jep-display);
	font-size: clamp(1.7rem, 4vw, 2.55rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	margin: 10px 0 6px;
	color: var(--jep-text);
}
.jep-head h2 span { color: var(--jep-cyan); }
.jep-head__sub { margin: 0; color: var(--jep-muted); font-size: 0.88rem; }
.jep-head__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--jep-mono);
	font-size: 0.68rem;
	color: var(--jep-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* --------------------------------------------------------------- visão geral */

.jep-overall {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px 26px;
	align-items: center;
	padding: 22px 24px;
	border: 1px solid var(--jep-line);
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
	margin-bottom: 24px;
}
.jep-overall__big { display: flex; align-items: baseline; gap: 10px; }
.jep-overall__big b {
	font-family: var(--jep-display);
	font-size: clamp(2.4rem, 5vw, 3.5rem);
	line-height: 0.92;
	letter-spacing: -0.04em;
	color: var(--jep-cyan);
	font-variant-numeric: tabular-nums;
}
.jep-overall__big span { color: var(--jep-muted); font-size: 0.82rem; max-width: 120px; line-height: 1.25; }
.jep-track {
	position: relative;
	height: 8px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.07);
	overflow: hidden;
	grid-column: 2;
	width: 100%;
}
.jep-track i {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--jep-cyan-deep), var(--jep-cyan));
	box-shadow: 0 0 18px rgba(62, 230, 255, 0.35);
	transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.jep-track__legend {
	grid-column: 2;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--jep-mono);
	font-size: 0.64rem;
	color: var(--jep-dim);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.jep-track__legend b { color: var(--jep-text); font-weight: 600; }

/* --------------------------------------------------------- contagem regressiva */

.jep-wait {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 18px 20px;
	border: 1px solid rgba(255, 181, 71, 0.28);
	background: linear-gradient(90deg, rgba(255, 181, 71, 0.09), rgba(255, 181, 71, 0.02));
	border-radius: 12px;
	margin: 0 0 20px;
}
.jep-wait strong { display: block; font-family: var(--jep-display); font-size: 1rem; color: var(--jep-amber); margin-bottom: 4px; }
.jep-wait p { margin: 0; color: var(--jep-muted); font-size: 0.82rem; line-height: 1.5; }
.jep-count { display: flex; gap: 6px; font-family: var(--jep-mono); font-variant-numeric: tabular-nums; }
.jep-count span {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 46px;
	padding: 7px 6px 5px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--jep-line);
}
.jep-count b { font-size: 1.1rem; color: var(--jep-text); line-height: 1; }
.jep-count small { font-size: 0.5rem; color: var(--jep-dim); letter-spacing: 0.1em; margin-top: 3px; text-transform: uppercase; }

/* --------------------------------------------------------------- seções */

.jep-section {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin: 30px 0 12px;
}
.jep-section h3 {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-family: var(--jep-display);
	font-size: 1.02rem;
	letter-spacing: 0.01em;
	margin: 0;
	color: var(--jep-text);
}
.jep-section h3 em { font-style: normal; color: var(--jep-cyan); }
.jep-section small {
	font-family: var(--jep-mono);
	font-size: 0.62rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--jep-dim);
}
.jep-index {
	font-family: var(--jep-mono);
	font-size: 0.56rem;
	letter-spacing: 0.12em;
	color: var(--jep-cyan);
	border: 1px solid rgba(62, 230, 255, 0.35);
	border-radius: 4px;
	padding: 2px 5px;
	line-height: 1.2;
}
.jep-section--split { align-items: flex-end; flex-wrap: wrap; }
.jep-section--split p { margin: 6px 0 0; color: var(--jep-dim); font-family: var(--jep-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.07em; }

/* --------------------------------------------------------------- cartões */

.jep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jep-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.jep-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 11px;
	height: 100%;
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--jep-line);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
		var(--jep-card);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.jep-card:hover {
	border-color: rgba(62, 230, 255, 0.42);
	transform: translateY(-2px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}
.jep-card--feature {
	grid-column: span 2;
	background:
		radial-gradient(520px 200px at 0% 0%, rgba(62, 230, 255, 0.12), transparent 62%),
		linear-gradient(180deg, #0f1b2f, var(--jep-card));
	border-color: rgba(62, 230, 255, 0.22);
}
.jep-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jep-uf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 24px;
	padding: 0 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--jep-line);
	font-family: var(--jep-mono);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--jep-text);
}
.jep-card--feature .jep-uf { background: rgba(62, 230, 255, 0.14); border-color: rgba(62, 230, 255, 0.4); color: var(--jep-cyan); }
.jep-card__pct {
	font-family: var(--jep-mono);
	font-size: 0.68rem;
	color: var(--jep-muted);
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.jep-card__pct b { color: var(--jep-cyan); font-size: 0.8rem; }
.jep-card__title {
	margin: 0;
	font-family: var(--jep-display);
	font-size: 1.12rem;
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--jep-text);
}
.jep-card--feature .jep-card__title { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.jep-card__title small {
	display: block;
	font-family: var(--jep-mono);
	font-size: 0.58rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jep-dim);
	margin-top: 5px;
}

.jep-cands { display: grid; gap: 8px; margin-top: 2px; }
.jep-cand {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	min-width: 0;
}
.jep-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	border-radius: 6px;
	font-family: var(--jep-mono);
	font-size: 0.64rem;
	font-weight: 700;
	color: var(--jep-text);
	background: color-mix(in srgb, var(--pc, #555) 24%, transparent);
	border: 1px solid color-mix(in srgb, var(--pc, #555) 55%, transparent);
}
.jep-cand__names { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.jep-cand__names b {
	font-weight: 600;
	color: var(--jep-text);
	font-size: 0.83rem;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.jep-cand__names small {
	font-family: var(--jep-mono);
	font-size: 0.58rem;
	color: var(--jep-dim);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}
.jep-cand__pct {
	font-family: var(--jep-mono);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--jep-muted);
	font-variant-numeric: tabular-nums;
}
.jep-cand.is-leader .jep-cand__pct { color: var(--jep-cyan); }
.jep-cand.is-leader .jep-cand__names b { font-weight: 700; }

.jep-bar {
	height: 7px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.07);
	overflow: hidden;
}
.jep-bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, color-mix(in srgb, var(--pc, #3ee6ff) 45%, #0b1322), var(--pc, #3ee6ff));
	transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.jep-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--jep-line);
	font-family: var(--jep-mono);
	font-size: 0.58rem;
	color: var(--jep-dim);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	min-width: 0;
	white-space: nowrap;
}
.jep-card__stat { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.jep-card__stat--r { text-align: right; color: var(--jep-muted); }
.jep-card__foot .jep-badge { flex: 0 0 auto; }

.jep-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 99px;
	font-family: var(--jep-mono);
	font-size: 0.56rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}
.jep-badge--elected { background: var(--jep-cyan); color: #001318; }
.jep-badge--runoff { background: rgba(255, 181, 71, 0.14); color: var(--jep-amber); border: 1px solid rgba(255, 181, 71, 0.4); }
.jep-badge--counting { background: rgba(255, 255, 255, 0.06); color: var(--jep-muted); border: 1px solid var(--jep-line); }
.jep-badge--waiting { background: transparent; color: var(--jep-dim); border: 1px dashed var(--jep-line-2); }
.jep-card.is-waiting .jep-cand__pct { color: var(--jep-dim); }
.jep-card.is-waiting .jep-cand__names b { color: var(--jep-muted); }

/* --------------------------------------------------------------- 2º turno */

.jep-runoffs { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.jep-runofflist {
	border: 1px solid var(--jep-line);
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.015);
}
.jep-runoffhead {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 96px 58px 62px;
	gap: 12px;
	align-items: center;
	padding: 10px 16px 8px;
	border-bottom: 1px solid var(--jep-line);
	font-family: var(--jep-mono);
	font-size: 0.54rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jep-dim);
}
.jep-runoffhead span { white-space: nowrap; }
.jep-runoffhead span:nth-child(4),
.jep-runoffhead span:nth-child(5) { text-align: right; }
.jep-rrow {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 96px 58px 62px;
	gap: 12px;
	align-items: center;
	padding: 13px 16px;
	border-bottom: 1px solid rgba(151, 180, 218, 0.08);
	transition: background 0.15s ease;
}
.jep-rrow:last-child { border-bottom: 0; }
a.jep-rrow:hover { background: rgba(62, 230, 255, 0.05); }
.jep-rrow__nm { font-family: var(--jep-display); font-size: 0.9rem; font-weight: 600; min-width: 0; line-height: 1.2; }
.jep-rrow__nm small {
	display: block;
	font-family: var(--jep-mono);
	font-size: 0.58rem;
	font-weight: 400;
	color: var(--jep-dim);
	letter-spacing: 0.04em;
	margin-top: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.jep-rrow__bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.jep-rrow__bar i { display: block; height: 100%; border-radius: inherit; background: var(--jep-cyan); }
.jep-rrow__bar.is-leader i { background: linear-gradient(90deg, var(--jep-cyan-deep), var(--jep-cyan)); }
.jep-rrow__pct { font-family: var(--jep-display); font-size: 1rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; color: var(--jep-text); }
.jep-rrow__prog { font-family: var(--jep-mono); font-size: 0.58rem; color: var(--jep-dim); text-align: right; text-transform: uppercase; letter-spacing: 0.04em; }

/* --------------------------------------------------------------- painéis */

.jep-panel {
	border: 1px solid var(--jep-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.018);
	padding: 16px;
}
.jep-panel h4 {
	margin: 0 0 12px;
	font-family: var(--jep-mono);
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jep-dim);
	font-weight: 700;
}
.jep-kv { display: grid; gap: 0; margin: 0; }
.jep-kv > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(151, 180, 218, 0.09);
}
.jep-kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.jep-kv dt { color: var(--jep-muted); font-size: 0.8rem; }
.jep-kv dd {
	margin: 0;
	font-family: var(--jep-mono);
	font-size: 0.8rem;
	color: var(--jep-text);
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.jep-kv dd small { display: block; font-size: 0.58rem; color: var(--jep-dim); font-weight: 400; margin-top: 2px; }
.jep-nat__note { margin: 12px 0 0; font-size: 0.66rem; line-height: 1.45; color: var(--jep-dim); }

/* --------------------------------------------------------------- abas */

.jep-tabs {
	display: inline-flex;
	gap: 4px;
	flex-wrap: wrap;
	margin: 0 0 16px;
	padding: 4px;
	border: 1px solid var(--jep-line);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.28);
	max-width: 100%;
}
.jep-tab {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--jep-muted);
	font-family: var(--jep-display);
	font-size: 0.82rem;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 9px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s;
}
.jep-tab b { font-family: var(--jep-mono); font-size: 0.66rem; color: var(--jep-dim); margin-left: 4px; }
.jep-tab:hover { color: var(--jep-text); }
.jep-tab.is-active { background: var(--jep-cyan); color: #001318; }
.jep-tab.is-active b { color: rgba(0, 19, 24, 0.65); }

.jep-picker { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.jep-pill {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border-radius: 9px;
	border: 1px solid var(--jep-line);
	background: transparent;
	color: var(--jep-muted);
	font-family: var(--jep-mono);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.jep-pill small { font-weight: 500; color: var(--jep-dim); letter-spacing: 0; }
.jep-pill:hover { border-color: var(--jep-line-2); color: var(--jep-text); }
.jep-pill.is-active { border-color: var(--jep-cyan); color: var(--jep-cyan); background: rgba(62, 230, 255, 0.08); }

/* --------------------------------------------------------------- herói */

.jep-race {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 26px;
	align-items: center;
	padding: 4px 0 24px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--jep-line);
}
.jep-kicker {
	font-family: var(--jep-mono);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--jep-cyan);
	font-weight: 700;
	margin: 0;
}
.jep-race__title {
	font-family: var(--jep-display);
	font-size: clamp(1.75rem, 3.8vw, 2.75rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin: 10px 0 8px;
	max-width: 24ch;
	color: var(--jep-text);
}
.jep-race__sub { margin: 0; color: var(--jep-muted); font-size: 0.86rem; }
.jep-race__gauge { display: grid; justify-items: center; gap: 8px; }
.jep-race__gauge > p {
	margin: 0;
	font-family: var(--jep-mono);
	font-size: 0.56rem;
	line-height: 1.4;
	color: var(--jep-dim);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: center;
	max-width: 150px;
}

.jep-gauge {
	--p: 0;
	position: relative;
	width: 138px;
	height: 138px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: conic-gradient(from -90deg, var(--jep-cyan) calc(var(--p) * 1%), rgba(255, 255, 255, 0.075) 0);
	box-shadow: 0 0 42px rgba(62, 230, 255, 0.18);
}
.jep-gauge::before {
	content: '';
	position: absolute;
	inset: 9px;
	border-radius: 50%;
	background: radial-gradient(120% 120% at 30% 0%, #101d33, #0a1220);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.jep-gauge__in { position: relative; text-align: center; }
.jep-gauge__in b {
	display: block;
	font-family: var(--jep-display);
	font-size: 1.55rem;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--jep-text);
	font-variant-numeric: tabular-nums;
}
.jep-gauge__in small {
	display: block;
	margin-top: 4px;
	font-family: var(--jep-mono);
	font-size: 0.5rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jep-dim);
}

/* --------------------------------------------------------------- números */

.jep-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; }
.jep-stat {
	position: relative;
	padding: 14px 16px 13px;
	border: 1px solid var(--jep-line);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
	overflow: hidden;
}
.jep-stat::before {
	content: '';
	position: absolute;
	left: 16px;
	right: 16px;
	top: 0;
	height: 2px;
	border-radius: 0 0 2px 2px;
	background: var(--accent, var(--jep-cyan));
	opacity: 0.85;
}
.jep-stat--valid { --accent: var(--jep-cyan); }
.jep-stat--blank { --accent: #8aa2c4; }
.jep-stat--null { --accent: var(--jep-coral); }
.jep-stat--abs { --accent: var(--jep-amber); }
.jep-stat > span {
	display: block;
	font-family: var(--jep-mono);
	font-size: 0.56rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jep-dim);
	margin-bottom: 6px;
}
.jep-stat b {
	display: block;
	font-family: var(--jep-display);
	font-size: 1.42rem;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--jep-text);
	font-variant-numeric: tabular-nums;
}
.jep-stat small {
	display: block;
	margin-top: 6px;
	font-family: var(--jep-mono);
	font-size: 0.58rem;
	color: var(--jep-muted);
}

/* --------------------------------------------------------------- colunas */

.jep-columns { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.jep-rank { display: grid; gap: 10px; }
.jep-side { display: grid; gap: 14px; }

.jep-row {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 16px 18px 16px 20px;
	border: 1px solid var(--jep-line);
	border-radius: 14px;
	background: linear-gradient(180deg, var(--jep-card-2), rgba(9, 16, 28, 0.65));
	overflow: hidden;
}
.jep-row::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--pc, var(--jep-cyan));
	opacity: 0.85;
}
.jep-row.is-leader { border-color: rgba(62, 230, 255, 0.28); }
.jep-row.is-elected {
	border-color: rgba(62, 230, 255, 0.5);
	background:
		radial-gradient(420px 140px at 0% 0%, rgba(62, 230, 255, 0.12), transparent 70%),
		linear-gradient(180deg, var(--jep-card-2), rgba(9, 16, 28, 0.65));
}
.jep-row__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.jep-avatar {
	position: relative;
	overflow: hidden;
	width: 44px;
	height: 56px;
	border-radius: 9px;
	display: block;
	background: color-mix(in srgb, var(--pc, #666) 26%, #0d1728);
	border: 1px solid color-mix(in srgb, var(--pc, #666) 58%, transparent);
}
.jep-avatar__ini {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--jep-display);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--jep-text);
	letter-spacing: 0.02em;
}
.jep-avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 12%;
	display: block;
}
.jep-row__name { min-width: 0; }
.jep-row__name b {
	display: block;
	font-family: var(--jep-display);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.18;
	color: var(--jep-text);
}
.jep-row__name small {
	display: block;
	font-family: var(--jep-mono);
	font-size: 0.6rem;
	color: var(--jep-dim);
	letter-spacing: 0.04em;
	margin-top: 4px;
	text-transform: uppercase;
}
.jep-row__num { text-align: right; }
.jep-row__num b {
	display: block;
	font-family: var(--jep-display);
	font-size: 1.75rem;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--jep-text);
	font-variant-numeric: tabular-nums;
}
.jep-row.is-leader .jep-row__num b { color: var(--jep-cyan); }
.jep-row__num small { display: block; font-family: var(--jep-mono); font-size: 0.6rem; color: var(--jep-dim); margin-top: 4px; font-variant-numeric: tabular-nums; }
.jep-row .jep-bar { height: 9px; position: relative; }
.jep-row .jep-bar::after {
	content: '';
	position: absolute;
	left: 50%;
	top: -3px;
	bottom: -3px;
	width: 1px;
	background: rgba(255, 255, 255, 0.32);
	pointer-events: none;
}
.jep-row__flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 1px; }

/* --------------------------------------------------------------- fonte */

.jep-source p { margin: 0 0 8px; color: var(--jep-muted); font-size: 0.76rem; line-height: 1.5; }
.jep-source p strong { color: var(--jep-text); font-weight: 600; }
.jep-source ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }
.jep-source li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-family: var(--jep-mono);
	font-size: 0.64rem;
	color: var(--jep-muted);
	border-bottom: 1px dashed rgba(151, 180, 218, 0.14);
	padding-bottom: 6px;
}
.jep-source li b { color: var(--jep-text); font-weight: 600; }
.jep-source a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--jep-mono);
	font-size: 0.66rem;
	color: var(--jep-cyan);
	border-bottom: 1px solid rgba(62, 230, 255, 0.35);
	padding-bottom: 1px;
}
.jep-source a:hover { border-bottom-color: var(--jep-cyan); }
.jep-source__age { display: block; margin-top: 10px; font-family: var(--jep-mono); font-size: 0.56rem; color: var(--jep-dim); text-transform: uppercase; letter-spacing: 0.06em; }

/* --------------------------------------------------------------- leitura */

.jep-read p { margin: 0 0 10px; font-size: 0.8rem; line-height: 1.55; color: var(--jep-muted); }
.jep-read p:last-child { margin-bottom: 0; }
.jep-read b { color: var(--jep-text); font-weight: 600; }

/* --------------------------------------------------------------- método */

.jep-method { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--jep-line); }
.jep-method h4 {
	margin: 0 0 12px;
	font-family: var(--jep-mono);
	font-size: 0.58rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jep-dim);
	font-weight: 700;
}
.jep-method ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.jep-method li { font-size: 0.68rem; line-height: 1.45; color: var(--jep-dim); }
.jep-method li b { display: block; color: var(--jep-text); font-size: 0.74rem; font-weight: 600; margin-bottom: 3px; }

/* --------------------------------------------------------------- tabela por UF */

.jep-states { margin-top: 34px; }
.jep-states__controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jep-chips { display: flex; gap: 4px; flex-wrap: wrap; padding: 3px; border: 1px solid var(--jep-line); border-radius: 10px; background: rgba(0, 0, 0, 0.22); }
.jep-chip {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--jep-muted);
	font-family: var(--jep-mono);
	font-size: 0.6rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 6px 9px;
	border-radius: 7px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}
.jep-chip b { font-size: 0.58rem; color: var(--jep-dim); }
.jep-chip:hover { color: var(--jep-text); }
.jep-chip.is-active { background: rgba(62, 230, 255, 0.12); color: var(--jep-cyan); }
.jep-chip.is-active b { color: var(--jep-cyan); opacity: 0.75; }
.jep-sort { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--jep-line); border-radius: 10px; background: rgba(0, 0, 0, 0.22); }
.jep-sortbtn {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--jep-muted);
	font-family: var(--jep-mono);
	font-size: 0.6rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 6px 9px;
	border-radius: 7px;
	cursor: pointer;
	white-space: nowrap;
}
.jep-sortbtn:hover { color: var(--jep-text); }
.jep-sortbtn.is-active { background: rgba(255, 255, 255, 0.08); color: var(--jep-text); }

.jep-table {
	border: 1px solid var(--jep-line);
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.014);
}
.jep-thead,
.jep-tr {
	display: grid;
	grid-template-columns: 42px minmax(0, 1.15fr) minmax(190px, 1.25fr) 82px 62px 62px 16px;
	gap: 12px;
	align-items: center;
	padding: 12px 16px;
}
.jep-thead {
	font-family: var(--jep-mono);
	font-size: 0.56rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jep-dim);
	border-bottom: 1px solid var(--jep-line);
	background: rgba(0, 0, 0, 0.24);
}
.jep-thead span:nth-child(4),
.jep-thead span:nth-child(5),
.jep-thead span:nth-child(6) { text-align: right; }
.jep-tr {
	width: 100%;
	appearance: none;
	border: 0;
	border-bottom: 1px solid rgba(151, 180, 218, 0.075);
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background 0.14s ease;
}
.jep-tr:hover { background: rgba(62, 230, 255, 0.045); }
.jep-tr.is-open { background: rgba(62, 230, 255, 0.07); }
.jep-tr--total {
	cursor: default;
	background: rgba(255, 255, 255, 0.035);
	border-top: 1px solid var(--jep-line-2);
	border-bottom: 0;
}
.jep-tr--total:hover { background: rgba(255, 255, 255, 0.035); }
.jep-td-uf { font-family: var(--jep-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; color: var(--jep-cyan); }
.jep-td-name { font-family: var(--jep-display); font-size: 0.86rem; font-weight: 600; line-height: 1.2; min-width: 0; }
.jep-td-name small {
	display: block;
	font-family: var(--jep-mono);
	font-size: 0.54rem;
	font-weight: 400;
	color: var(--jep-dim);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 2px;
}
.jep-td-prog { min-width: 0; display: grid; gap: 5px; }
.jep-mini { display: block; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.jep-mini i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--jep-cyan-deep), var(--jep-cyan)); transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.jep-td-nums { font-family: var(--jep-mono); font-size: 0.62rem; color: var(--jep-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jep-td-nums b { color: var(--jep-text); font-weight: 600; }
.jep-td-nums em { font-style: normal; color: var(--jep-cyan); margin-left: 3px; }
.jep-td-miss { font-family: var(--jep-mono); font-size: 0.76rem; text-align: right; color: var(--jep-amber); font-variant-numeric: tabular-nums; }
.jep-td-miss small { display: block; font-size: 0.52rem; color: var(--jep-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.jep-td-miss.is-zero { color: var(--jep-dim); }
.jep-td-miss.is-complete { color: var(--jep-green); }
.jep-td-cand { font-family: var(--jep-mono); font-size: 0.76rem; text-align: right; color: var(--jep-text); font-variant-numeric: tabular-nums; }
.jep-candcell { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; }
.jep-candcell i { width: 6px; height: 6px; border-radius: 50%; background: var(--pc, #666); flex: 0 0 auto; }
.jep-candcell.is-empty { color: var(--jep-dim); }
.jep-td-cands { display: none; }
.jep-td-status { justify-self: end; width: 8px; height: 8px; border-radius: 50%; background: #3a4658; }
.jep-td-status.is-done { background: var(--jep-green); }
.jep-td-status.is-live { background: var(--jep-cyan); animation: jep-pulse 2.2s infinite; }
.jep-td-status.is-wait { background: #3a4658; }

.jep-tdetail {
	display: grid;
	gap: 10px;
	padding: 2px 16px 16px 70px;
	background: rgba(0, 0, 0, 0.20);
	border-bottom: 1px solid var(--jep-line);
}
.jep-tdetail__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.jep-tdetail__grid > div {
	padding: 10px 12px;
	border: 1px solid var(--jep-line);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.02);
}
.jep-tdetail__grid span { display: block; font-family: var(--jep-mono); font-size: 0.52rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--jep-dim); }
.jep-tdetail__grid b { display: block; font-family: var(--jep-display); font-size: 0.95rem; color: var(--jep-text); margin-top: 3px; font-variant-numeric: tabular-nums; }
.jep-tdetail__grid small { display: block; font-family: var(--jep-mono); font-size: 0.55rem; color: var(--jep-muted); margin-top: 2px; }
.jep-tdetail__src { margin: 0; font-family: var(--jep-mono); font-size: 0.56rem; color: var(--jep-dim); }
.jep-states__note { margin: 10px 2px 0; font-family: var(--jep-mono); font-size: 0.56rem; color: var(--jep-dim); line-height: 1.5; }
.jep-states__loading {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 26px 20px;
	border: 1px dashed var(--jep-line-2);
	border-radius: 12px;
	color: var(--jep-muted);
	font-size: 0.82rem;
}

.jep-empty {
	padding: 26px 20px;
	border: 1px dashed var(--jep-line-2);
	border-radius: 12px;
	color: var(--jep-muted);
	font-size: 0.86rem;
	line-height: 1.5;
	text-align: center;
}

/* --------------------------------------------------------------- rodapé */

.jep-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 26px;
	padding-top: 14px;
	border-top: 1px solid var(--jep-line);
	font-family: var(--jep-mono);
	font-size: 0.58rem;
	color: var(--jep-dim);
	letter-spacing: 0.04em;
}
.jep-foot a { color: var(--jep-muted); text-decoration: underline; text-underline-offset: 2px; }
.jep-foot a:hover { color: var(--jep-cyan); }

/* --------------------------------------------------------------- página */

.jep-page { padding: clamp(22px, 4vw, 44px) 0 clamp(40px, 6vw, 72px); background: var(--paper, #fafafa); color: var(--ink, #0a0a0a); }
.jep-page__head { max-width: 780px; margin: 0 0 26px; }
.jep-page__kicker {
	font-family: var(--font-mono, 'JetBrains Mono', monospace);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brand-ink, #0a7a88);
	margin: 0 0 10px;
}
.jep-page__title {
	font-family: var(--font-display, 'Space Grotesk', system-ui, sans-serif);
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1;
	letter-spacing: -0.03em;
	margin: 0 0 12px;
	color: var(--ink, #0a0a0a);
}
.jep-page__lead { margin: 0; max-width: 62ch; font-size: 1.02rem; line-height: 1.55; color: var(--muted, #52525b); }
.jep-page__note {
	margin: 26px 0 0;
	max-width: 80ch;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--muted, #52525b);
	border-left: 3px solid var(--brand, #00e5ff);
	padding-left: 14px;
}
.jep-page__note strong { color: var(--ink, #0a0a0a); }

.jep-home-slot { padding: 14px 0 0; }
@media (min-width: 768px) { .jep-home-slot { padding: 20px 0 2px; } }

/* --------------------------------------------------------------- responsivo */

@media (max-width: 1180px) {
	.jep-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jep-card--feature { grid-column: span 2; }
	.jep-thead, .jep-tr { grid-template-columns: 38px minmax(0, 1.1fr) minmax(160px, 1.2fr) 74px 58px 58px 14px; gap: 9px; }
}
@media (max-width: 980px) {
	.jep-grid, .jep-grid--feature, .jep-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jep-runoffs { grid-template-columns: minmax(0, 1fr); }
	.jep-columns { grid-template-columns: minmax(0, 1fr); }
	.jep-method ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jep-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jep-race { grid-template-columns: minmax(0, 1fr); }
	.jep-race__gauge { justify-items: start; grid-auto-flow: column; align-items: center; gap: 14px; }
	.jep-race__gauge > p { text-align: left; max-width: 210px; }
	.jep-tdetail__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.jep-ap { padding: 16px 14px; border-radius: 14px; }
	.jep-grid, .jep-grid--feature, .jep-grid--4 { grid-template-columns: minmax(0, 1fr); }
	.jep-card--feature { grid-column: auto; }
	.jep-overall { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
	.jep-track, .jep-track__legend { grid-column: 1; }
	.jep-overall__big { flex-wrap: wrap; }
	.jep-overall__big span { max-width: none; }
	.jep-wait { grid-template-columns: 1fr; }
	.jep-count { flex-wrap: wrap; }
	.jep-head { align-items: flex-start; }
	.jep-head__meta { width: 100%; justify-content: space-between; }
	.jep-tabs { width: 100%; }
	.jep-tab { flex: 1; text-align: center; }
	.jep-section { flex-direction: column; align-items: flex-start; gap: 8px; }
	.jep-section small { font-size: 0.56rem; }
	.jep-head__meta > span:nth-child(2) { display: none; }
	.jep-refresh-btn { white-space: nowrap; }
	.jep-sim { font-size: 0.58rem; padding: 8px 10px; letter-spacing: 0.05em; }
	.jep-count span { min-width: 44px; }
	.jep-runoffhead { display: none; }
	.jep-rrow { grid-template-columns: 32px minmax(0, 1fr) 54px 52px; gap: 9px; padding: 11px 12px; }
	.jep-rrow__bar { display: none; }
	.jep-rrow__prog { font-size: 0.54rem; }
	.jep-method ul { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.jep-thead { display: none; }
	.jep-tr {
		grid-template-columns: 38px minmax(0, 1fr) auto;
		grid-template-areas: "uf name status" "prog prog prog" "miss miss miss" "cands cands cands";
		gap: 8px 10px;
		padding: 13px 14px;
	}
	.jep-td-cands {
		grid-area: cands;
		display: flex;
		gap: 14px;
		flex-wrap: wrap;
		padding-top: 7px;
		border-top: 1px dashed rgba(151, 180, 218, 0.12);
		font-family: var(--jep-mono);
		font-size: 0.62rem;
		color: var(--jep-muted);
	}
	.jep-td-uf { grid-area: uf; }
	.jep-td-name { grid-area: name; }
	.jep-td-status { grid-area: status; }
	.jep-td-prog { grid-area: prog; }
	.jep-td-miss { grid-area: miss; text-align: left; font-size: 0.66rem; }
	.jep-td-miss small { display: inline; margin-left: 4px; }
	.jep-td-cand { display: none; }
	.jep-tdetail { padding: 2px 12px 14px; }
	.jep-tdetail__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jep-race__title { max-width: none; }
	.jep-stats { gap: 8px; }
	.jep-stat { padding: 12px 13px; }
	.jep-stat b { font-size: 1.22rem; }
	.jep-gauge { width: 118px; height: 118px; }
	.jep-gauge__in b { font-size: 1.32rem; }
	.jep-row { padding: 14px 14px 14px 16px; }
	.jep-row__head { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 9px; }
	.jep-avatar { width: 40px; height: 50px; }
	.jep-avatar__ini { font-size: 0.72rem; }
	.jep-row__num b { font-size: 1.35rem; }
	.jep-states__controls { width: 100%; }
	.jep-chips { width: 100%; justify-content: space-between; }
	.jep-sort { width: 100%; justify-content: space-between; }
	.jep-chip, .jep-sortbtn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.jep-ap *, .jep-ap *::before, .jep-ap *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}
