.vxl {
	--vxl-accent: #0f6b4c;
	--vxl-ink: #1c1917;
	--vxl-muted: #57534e;
	--vxl-line: #e7e5e4;
	--vxl-surface: #fff;
	color: var(--vxl-ink);
}

.vxl-grid,
.vxl-metrics ul {
	display: grid;
	gap: 1.25rem;
}

.vxl-grid {
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.vxl-card,
.vxl-detail,
.vxl-form,
.vxl-ballot,
.vxl-results,
.vxl-receipt {
	background: var(--vxl-surface);
	border: 1px solid var(--vxl-line);
	border-radius: 0.75rem;
	padding: 1rem;
}

.vxl-media {
	margin: 0 0 0.75rem;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 0.5rem;
	background: #f5f5f4;
}

.vxl-media img,
.vxl-media__fallback {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vxl-title {
	margin: 0.25rem 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

.vxl-title a {
	color: inherit;
	text-decoration: none;
}

.vxl-meta,
.vxl-budget,
.vxl-summary,
.vxl-status,
.vxl-bar__label {
	margin: 0.25rem 0;
	color: var(--vxl-muted);
}

.vxl-status {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vxl-bar {
	height: 0.5rem;
	margin-top: 0.75rem;
	overflow: hidden;
	border-radius: 999px;
	background: var(--vxl-line);
}

.vxl-bar__fill {
	display: block;
	height: 100%;
	background: var(--vxl-accent);
}

.vxl-filters,
.vxl-form form,
.vxl-ballot form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: end;
}

.vxl-form form,
.vxl-ballot form {
	flex-direction: column;
	align-items: stretch;
	max-width: 32rem;
}

.vxl-field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.vxl-field input,
.vxl-field select,
.vxl button,
.vxl-button {
	font: inherit;
}

.vxl button,
.vxl-button {
	display: inline-block;
	padding: 0.55rem 0.9rem;
	border: 0;
	border-radius: 0.5rem;
	background: var(--vxl-accent);
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.vxl-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 0.75rem;
	margin: 1rem 0;
}

.vxl-facts div {
	margin: 0;
}

.vxl-facts dt {
	font-size: 0.8rem;
	color: var(--vxl-muted);
}

.vxl-facts dd {
	margin: 0.15rem 0 0;
	font-weight: 700;
}

.vxl-hitos ol,
.vxl-choices,
.vxl-receipts ul,
.vxl-metrics ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vxl-hitos ol {
	padding-left: 1.2rem;
	list-style: decimal;
}

.vxl-hitos li,
.vxl-choices li,
.vxl-receipts li {
	margin: 0.5rem 0;
}

.vxl-choices label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.vxl-choices small,
.vxl-check {
	display: block;
	color: var(--vxl-muted);
}

.vxl-metrics ul {
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.vxl-metric__value,
.vxl-code {
	font-weight: 700;
	color: var(--vxl-accent);
}

.vxl-metric__value {
	display: block;
	font-size: 2rem;
}

.vxl-code {
	display: inline-block;
	letter-spacing: 0.12em;
	font-size: 1.3rem;
}

.vxl-results table {
	width: 100%;
	border-collapse: collapse;
}

.vxl-results th,
.vxl-results td {
	padding: 0.5rem;
	border-bottom: 1px solid var(--vxl-line);
	text-align: left;
}

.vxl-alert {
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	background: #ecfdf3;
}

.vxl-alert--error {
	background: #fef2f2;
	color: #991b1b;
}

.vxl-empty {
	margin: 0;
	color: var(--vxl-muted);
}

.vxl-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
