:root {
	--eqrs-bg: #f3f0e8;
	--eqrs-bg-alt: #e6efe8;
	--eqrs-card: rgba(255, 255, 255, 0.84);
	--eqrs-card-strong: #ffffff;
	--eqrs-text: #1d2327;
	--eqrs-muted: #5f6b6d;
	--eqrs-border: rgba(29, 35, 39, 0.12);
	--eqrs-border-strong: rgba(29, 35, 39, 0.18);
	--eqrs-accent: #1f5d52;
	--eqrs-accent-2: #7d5a2d;
	--eqrs-shadow: 0 24px 60px rgba(25, 39, 35, 0.14);
	--eqrs-radius: 22px;
}

body.eqrs-vote-page {
	margin: 0;
	min-height: 100vh;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: var(--eqrs-text);
	background:
		radial-gradient(circle at top left, rgba(31, 93, 82, 0.14), transparent 30%),
		radial-gradient(circle at right top, rgba(125, 90, 45, 0.12), transparent 24%),
		linear-gradient(180deg, var(--eqrs-bg), #fbfaf7 34%, var(--eqrs-bg-alt));
}

.eqrs-page {
	max-width: 1480px;
	margin: 0 auto;
	padding: 28px 18px 48px;
}

.eqrs-hero {
	background: linear-gradient(135deg, rgba(31, 93, 82, 0.94), rgba(37, 56, 67, 0.94));
	color: #fff;
	border-radius: 28px;
	box-shadow: var(--eqrs-shadow);
	overflow: hidden;
	position: relative;
}

.eqrs-hero::after {
	content: "";
	position: absolute;
	inset: auto -80px -120px auto;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	filter: blur(6px);
}

.eqrs-hero__inner {
	position: relative;
	z-index: 1;
	padding: 34px 28px 30px;
	max-width: 920px;
}

.eqrs-kicker {
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.76rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.78);
}

.eqrs-title {
	margin: 0 0 14px;
	font-size: clamp(0.82rem, 1.8vw, 2.8rem);
	line-height: 1.08;
	font-weight: 700;
	max-width: none;
	letter-spacing: -0.015em;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip;
}

.eqrs-intro {
	margin: 0;
	font-size: 1.04rem;
	line-height: 1.7;
	max-width: 70ch;
	color: rgba(255, 255, 255, 0.86);
}

.eqrs-panel {
	margin-top: 22px;
	background: var(--eqrs-card);
	backdrop-filter: blur(10px);
	border: 1px solid var(--eqrs-border);
	border-radius: 28px;
	box-shadow: var(--eqrs-shadow);
	padding: 22px;
}

.eqrs-panel__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--eqrs-border);
	color: var(--eqrs-muted);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.95rem;
}

.eqrs-notice {
	padding: 14px 16px;
	border-radius: 14px;
	margin: 0 0 16px;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eqrs-notice--success {
	background: rgba(31, 93, 82, 0.1);
	border: 1px solid rgba(31, 93, 82, 0.22);
}

.eqrs-notice--error {
	background: rgba(136, 53, 27, 0.08);
	border: 1px solid rgba(136, 53, 27, 0.2);
}

.eqrs-form {
	margin: 0;
}

.eqrs-form__identity,
.eqrs-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 16px;
}

.eqrs-form__identity {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eqrs-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.96rem;
	color: var(--eqrs-muted);
}

.eqrs-field input,
.eqrs-field select,
.eqrs-field textarea {
	border: 1px solid var(--eqrs-border-strong);
	border-radius: 14px;
	background: var(--eqrs-card-strong);
	color: var(--eqrs-text);
	padding: 12px 14px;
	font: inherit;
	box-sizing: border-box;
	min-height: 48px;
}

.eqrs-field textarea {
	min-height: 78px;
	resize: vertical;
}

.eqrs-field input:focus,
.eqrs-field select:focus,
.eqrs-field textarea:focus {
	outline: 2px solid rgba(31, 93, 82, 0.22);
	outline-offset: 1px;
	border-color: var(--eqrs-accent);
}

.eqrs-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--eqrs-border);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.66);
}

.eqrs-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 1380px;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eqrs-table thead th {
	position: sticky;
	top: 0;
	background: rgba(248, 246, 241, 0.98);
	backdrop-filter: blur(8px);
	text-align: left;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--eqrs-muted);
	border-bottom: 1px solid var(--eqrs-border);
	padding: 16px 12px 12px;
	vertical-align: top;
	line-height: 1.15;
}

.eqrs-table thead th > .eqrs-th-label,
.eqrs-sort {
	display: flex;
	align-items: flex-start;
	min-height: 2.1em;
	line-height: 1.15;
}

.eqrs-table tbody td {
	border-bottom: 1px solid rgba(29, 35, 39, 0.08);
	padding: 12px;
	vertical-align: top;
	font-size: 0.94rem;
	line-height: 1.45;
}

.eqrs-table tbody tr:nth-child(even) {
	background: rgba(31, 93, 82, 0.03);
}

.eqrs-table tbody tr:hover {
	background: rgba(125, 90, 45, 0.06);
}

.eqrs-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--eqrs-accent);
}

.eqrs-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--eqrs-accent);
}

.eqrs-title-cell {
	display: grid;
	gap: 6px;
}

.eqrs-title-text {
	font-weight: 700;
}

.eqrs-summary-button,
.eqrs-sort,
.eqrs-submit,
.eqrs-dialog__close {
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eqrs-summary-button,
.eqrs-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
}

.eqrs-summary-button {
	background: rgba(31, 93, 82, 0.12);
	color: var(--eqrs-accent);
}

.eqrs-link {
	background: rgba(125, 90, 45, 0.12);
	color: var(--eqrs-accent-2);
}

.eqrs-summary-button:hover,
.eqrs-link:hover,
.eqrs-sort:hover,
.eqrs-submit:hover,
.eqrs-dialog__close:hover {
	transform: translateY(-1px);
}

.eqrs-sort {
	background: transparent;
	padding: 0;
	font: inherit;
	font-weight: 700;
	color: inherit;
	gap: 6px;
	text-align: left;
	width: 100%;
	justify-content: flex-start;
	white-space: normal;
}

.eqrs-sort__arrow {
	color: var(--eqrs-muted);
	font-size: 0.78rem;
}

.eqrs-topics {
	max-width: 260px;
}

.eqrs-topics-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: flex-start;
	align-content: flex-start;
}

.eqrs-topic-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(31, 93, 82, 0.09);
	color: var(--eqrs-accent);
	font-size: 0.78rem;
	font-weight: 700;
}

.eqrs-topic-chip--none {
	background: rgba(29, 35, 39, 0.07);
	color: var(--eqrs-muted);
}

.eqrs-help {
	margin: 0;
	color: var(--eqrs-muted);
	line-height: 1.6;
	max-width: 70ch;
}

.eqrs-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--eqrs-border);
}

.eqrs-submit {
	background: linear-gradient(135deg, var(--eqrs-accent), #2a7467);
	color: #fff;
	padding: 14px 22px;
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(31, 93, 82, 0.18);
}

.eqrs-submit:focus,
.eqrs-summary-button:focus,
.eqrs-link:focus,
.eqrs-sort:focus,
.eqrs-dialog__close:focus {
	outline: 2px solid rgba(31, 93, 82, 0.32);
	outline-offset: 2px;
}

.eqrs-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.eqrs-dialog {
	border: 0;
	border-radius: 22px;
	padding: 0;
	max-width: 780px;
	width: calc(100% - 24px);
	box-shadow: var(--eqrs-shadow);
}

.eqrs-dialog::backdrop {
	background: rgba(13, 20, 24, 0.56);
	backdrop-filter: blur(4px);
}

.eqrs-dialog__inner {
	padding: 24px;
	margin: 0;
}

.eqrs-dialog__header {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 14px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--eqrs-border);
}

.eqrs-dialog h2 {
	margin: 0;
	font-size: 1.55rem;
}

.eqrs-dialog p {
	margin: 0;
	line-height: 1.8;
}

.eqrs-dialog__close {
	background: rgba(29, 35, 39, 0.08);
	padding: 10px 16px;
}

.eqrs-row[data-hidden="true"] {
	display: none;
}

@media (max-width: 1180px) {
	.eqrs-table {
		min-width: 1200px;
	}

	.eqrs-form__identity,
	.eqrs-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.eqrs-page {
		padding-inline: 12px;
	}

	.eqrs-panel {
		padding: 16px;
		border-radius: 22px;
	}

	.eqrs-hero__inner {
		padding: 24px 20px 22px;
	}

	.eqrs-title {
		max-width: none;
	}

	.eqrs-form__identity,
	.eqrs-filters {
		grid-template-columns: 1fr;
	}

	.eqrs-form__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.eqrs-submit {
		width: 100%;
	}
}
