/* Encuesta 29N - styles */
.encuesta-29n-container {
	max-width: 1200px;
	margin: 0 auto;
	color: #222;
	line-height: 1.5;
	font-family: 'Merriweather', Georgia, serif;
}
.encuesta-29n-container * { box-sizing: border-box; }

/* Tabs */
.encuesta-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.85rem;
	margin: 0 0 1.4rem;
	justify-content: flex-start;
	border-bottom: none;
	padding-bottom: 0;
}
.encuesta-tab {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0.2rem 0 !important;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.72rem;
	color: #666 !important;
	white-space: nowrap;
	flex-shrink: 0;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-radius: 0 !important;
	text-decoration: none !important;
	transition: color 0.15s;
}
.encuesta-tab:hover { color: #e30613 !important; background: transparent !important; }
.encuesta-tab.active {
	color: #e30613 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-decoration: none !important;
}
@media (max-width: 768px) {
	.encuesta-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
	.encuesta-tab { font-size: 0.78rem; }
}
.encuesta-tab-content { display: none; }
.encuesta-tab-content.active { display: block; animation: encuestaFadeIn 0.25s ease; }
@keyframes encuestaFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

/* Results — bars */
.encuesta-party-results-full,
.encuesta-results-only .encuesta-party-results {
	margin-bottom: 0;
	max-width: none;
	width: 100%;
	background: #fff;
	border-radius: 14px;
	padding: 1.1rem 1.25rem;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	border: 1px solid #f0f0f0;
	box-sizing: border-box;
}
.result-bar { margin-bottom: 0.95rem; }
.result-bar:last-child { margin-bottom: 0; }
.result-bar-label {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.92rem;
	margin-bottom: 0.35rem;
	font-weight: 500;
}
.result-bar-meta {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
	flex: 1;
}
.result-bar-meta strong {
	font-size: 0.9rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.2;
}
.result-bar-nums {
	font-size: 0.78rem;
	color: #666;
	font-weight: 500;
}
.result-bar-nums b { color: #111; font-weight: 700; }
.result-bar-fill {
	height: 10px;
	border-radius: 999px;
	background: #f2f2f2;
	overflow: hidden;
}
.result-bar-fill span {
	display: block;
	height: 100%;
	border-radius: 999px;
	transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	min-width: 2px;
}
.result-photo {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #e8e8e8;
}
.result-logo {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 800;
	font-size: 0.55rem;
	letter-spacing: -0.02em;
	flex-shrink: 0;
}
.encuesta-empty {
	margin: 0;
	padding: 1.5rem;
	text-align: center;
	color: #888;
	font-size: 0.95rem;
}

/* Visual grid: map + hemicycle */
.encuesta-results-visual {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-top: 0.5rem;
}
@media (max-width: 820px) {
	.encuesta-results-visual { grid-template-columns: 1fr; }
}
.encuesta-map-wrap,
.encuesta-hemicycle-wrap {
	background: #fafafa;
	border-radius: 14px;
	padding: 1.1rem 1.15rem 1rem;
	min-height: 280px;
	border: 1px solid #f0f0f0;
	box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.encuesta-spain-map-svg svg {
	width: 100%;
	height: auto;
	max-height: 340px;
	display: block;
	margin: 0 auto;
}
.ccaa-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 6px;
	margin-top: 4px;
}
.ccaa-cell {
	color: #fff;
	font-size: 0.68rem;
	font-weight: 600;
	padding: 8px 4px;
	border-radius: 8px;
	text-align: center;
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 0 1px 1px rgba(0,0,0,0.15);
	line-height: 1.15;
}
.map-note,
.seats-note {
	font-size: 0.72rem;
	color: #888;
	margin: 0.6rem 0 0;
	line-height: 1.35;
}

.encuesta-hemicycle {
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
	margin: 0 auto;
}
.encuesta-hemicycle-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.7rem;
	justify-content: center;
	margin-top: 0.75rem;
}
.hemi-leg-item {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.75rem;
	color: #444;
	font-weight: 500;
}
.hemi-leg-item i {
	display: inline-block;
	width: 11px;
	height: 11px;
	border-radius: 3px;
	flex-shrink: 0;
}
.hemi-leg-item b { font-weight: 700; color: #111; }

/* Layout: izq lista + escenarios | der hemiciclo + ganador + calc */
.encuesta-results-layout,
.encuesta-external-results {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.95fr);
	gap: 1.5rem;
	align-items: start;
	width: 100%;
}
.encuesta-left-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
	width: 100%;
}
.encuesta-right-col {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
}
.encuesta-results-layout .encuesta-party-results,
.encuesta-external-results .encuesta-party-results {
	max-width: none;
	width: 100%;
	margin-bottom: 0;
	box-sizing: border-box;
}
.encuesta-right-col .encuesta-hemicycle-wrap {
	margin: 0;
}
.encuesta-insights-left {
	width: 100%;
}
.encuesta-insights-left .insight-card {
	margin: 0;
}

/* Insights: ganador + posibles gobiernos (debajo del gráfico, misma columna) */
.encuesta-insights { margin-top: 0; }
.encuesta-insights-grid {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.insight-card {
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 14px;
	padding: 1.1rem 1.2rem;
	box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.insight-card-label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #888;
	margin-bottom: 0.75rem;
}
.insight-card-body {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}
.insight-photo {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #e8e8e8;
	flex-shrink: 0;
}
.insight-logo {
	width: 32px;
	height: 32px;
	border-radius: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 800;
	font-size: 0.6rem;
	flex-shrink: 0;
}
.insight-card-meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}
.insight-card-meta strong {
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
	line-height: 1.2;
}
.insight-card-meta span { font-size: 0.85rem; color: #555; }
.insight-card-meta span b { color: #111; }
.insight-note {
	margin: 0.75rem 0 0;
	font-size: 0.75rem;
	color: #777;
	line-height: 1.4;
}
.insight-note.muted { color: #999; margin-top: 0.5rem; }
.insight-gov-main { display: flex; flex-direction: column; gap: 0.3rem; }
.insight-gov-badge {
	display: inline-flex;
	align-self: flex-start;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	margin-bottom: 0.2rem;
}
.insight-gov-badge.majority { background: #e8f8ef; color: #0a7a3e; }
.insight-gov-badge.minority { background: #fff4e5; color: #9a5b00; }
.insight-gov-main > strong { font-size: 1.05rem; color: #111; }
.insight-gov-seats { font-size: 0.9rem; color: #444; }
.insight-gov-seats b { font-size: 1.1rem; color: #111; }
.insight-gov-desc { font-size: 0.78rem; color: #777; }
.insight-gov-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-top: 0.45rem;
}
.insight-chip {
	display: inline-flex;
	align-items: center;
	font-size: 0.72rem;
	font-weight: 600;
	padding: 0.2rem 0.45rem;
	border-radius: 6px;
	background: #f5f5f5;
	color: #222;
	border-left: 3px solid var(--c, #999);
}
.insight-gov-alt {
	margin-top: 0.65rem;
	font-size: 0.78rem;
	color: #555;
}
.insight-alt-label { font-weight: 600; color: #333; }

/* Barra — oculto hasta tener datos (no ocupa espacio) */
.encuesta-barra {
	position: relative;
	width: 100%;
	max-width: none;
	display: none !important;
	visibility: hidden;
	opacity: 0;
	height: 0;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
}
.encuesta-barra.loaded {
	display: block !important;
	visibility: visible;
	opacity: 1;
	height: auto;
	overflow: visible;
	pointer-events: auto;
	transition: opacity 0.25s ease;
}
.encuesta-barra.encuesta-29n-container {
	max-width: none;
}
.encuesta-barra-carousel { position: relative; }
.encuesta-barra-slide { display: none !important; }
.encuesta-barra-slide.active { display: block !important; }
.encuesta-barra-inner {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	background: #fafafa;
	border-radius: 12px;
	padding: 0.55rem 0.75rem;
	width: 100%;
	flex-wrap: nowrap;
	border: 1px solid #f0f0f0;
}
.encuesta-barra-hemicycle {
	flex: 0 0 72px;
	width: 72px;
	height: 40px;
}
.encuesta-barra-hemicycle canvas {
	width: 72px;
	height: 40px;
	display: block;
}
.encuesta-barra-results {
	flex: 1 1 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 0.4rem;
	align-items: stretch;
	min-width: 0;
	width: 100%;
}
.barra-party-box {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.55rem;
	border: 1.5px solid #eee;
	border-radius: 8px;
	background: #fff;
	flex: 1 1 0;
	min-width: 0;
	max-width: none;
	justify-content: flex-start;
}
.barra-info {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	font-size: 0.78rem;
	min-width: 0;
	overflow: hidden;
}
.barra-info strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.barra-seats { font-weight: 700; font-size: 0.85rem; }
.barra-photo {
	width: 28px;
	height: 28px;
	object-fit: cover;
	border-radius: 5px;
	flex-shrink: 0;
}
.barra-logo {
	width: 22px;
	height: 22px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 0.55rem;
	flex-shrink: 0;
}
.barra-source {
	font-size: 0.7rem;
	color: #666;
	flex: 0 0 auto;
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-left: 0.15rem;
}
.barra-btn-short { display: none; }
.barra-btn-full { display: inline; }
.encuesta-barra-btn {
	background: #e30613;
	color: #fff !important;
	text-decoration: none;
	padding: 0.4rem 0.85rem;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
	margin-left: 0.15rem;
}
.encuesta-barra-nav {
	position: absolute;
	top: -4px;
	right: 8px;
	display: flex;
	gap: 10px;
	z-index: 10;
}
.encuesta-barra-nav button {
	background: none !important;
	color: #000 !important;
	border: none !important;
	padding: 0 2px !important;
	font-size: 1.5rem !important;
	line-height: 1 !important;
	cursor: pointer;
}
.encuesta-barra-nav button:hover { color: #e30613 !important; }
.barra-msg { font-size: 0.8rem; color: #888; padding: 0.2rem 0.4rem; }

/* Barra móvil — todo en una sola fila compacta */
@media (max-width: 900px) {
	.encuesta-barra-inner {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.3rem;
		padding: 0.35rem 0.45rem;
		overflow: hidden;
	}
	.encuesta-barra-hemicycle {
		flex: 0 0 40px;
		width: 40px;
		height: 24px;
	}
	.encuesta-barra-hemicycle canvas {
		width: 40px;
		height: 24px;
	}
	.encuesta-barra-results {
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.2rem;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.encuesta-barra-results::-webkit-scrollbar { display: none; }
	.barra-party-box {
		flex: 0 0 auto;
		min-width: 0;
		padding: 0.15rem 0.3rem;
		gap: 0.2rem;
		border-width: 1px;
		border-radius: 6px;
	}
	.barra-photo { display: none !important; }
	.barra-logo {
		width: 16px;
		height: 16px;
		font-size: 0.42rem;
		border-radius: 3px;
	}
	.barra-info {
		font-size: 0.62rem;
		line-height: 1.1;
	}
	.barra-info strong {
		font-size: 0.62rem;
	}
	.barra-seats {
		font-size: 0.62rem;
		font-weight: 700;
	}
	.barra-info small {
		font-size: 0.58rem;
		opacity: 0.85;
	}
	.barra-source {
		flex: 0 0 auto;
		max-width: 72px;
		margin-left: 0;
		font-size: 0.55rem;
		line-height: 1.15;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.barra-btn-full { display: none !important; }
	.barra-btn-short { display: inline !important; }
	.encuesta-barra-btn {
		flex: 0 0 auto;
		margin-left: 0;
		padding: 0.28rem 0.5rem;
		font-size: 0.65rem;
		border-radius: 6px;
	}
	.encuesta-barra-nav {
		top: -7px;
		right: 11px; /* 4px base + 7px hacia la izquierda */
	}
	.encuesta-barra-nav button {
		font-size: 1.1rem !important;
		line-height: 1 !important;
		padding: 0 !important;
	}
}

@media (max-width: 380px) {
	.barra-source { display: none; }
	.barra-logo { display: none; }
	.barra-party-box { padding: 0.12rem 0.25rem; }
}

/* Poll widget */
/* Poll widget */
.encuesta-poll {
	width: 100%;
}
.encuesta-columns {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(260px, 1.15fr);
	gap: 1.25rem;
	align-items: start;
}
@media (max-width: 700px) {
	.encuesta-columns { grid-template-columns: 1fr; }
}
.encuesta-parties {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.encuesta-party {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.65rem 0.75rem;
	border: 1.5px solid #e8e8e8;
	border-radius: 12px;
	margin: 0;
	cursor: pointer;
	background: #fff;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
	width: 100%;
	box-sizing: border-box;
}
.encuesta-party:hover {
	border-color: #ccc;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.encuesta-party.selected {
	border-color: var(--party-color, #e30613);
	background: #fffafa;
	box-shadow: 0 0 0 1px var(--party-color, #e30613);
}
.encuesta-photo {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 50%;
	flex-shrink: 0;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #e5e5e5;
	background: #f0f0f0;
}
.encuesta-logo {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	font-weight: 800;
	font-size: 0.58rem;
	letter-spacing: -0.02em;
	flex-shrink: 0;
	text-align: center;
	line-height: 1.05;
	padding: 2px;
}
.encuesta-party-info {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
	flex: 1;
}
.encuesta-party-info strong {
	font-size: 0.92rem;
	font-weight: 700;
	color: #111;
	line-height: 1.2;
	display: block;
}
.encuesta-party-info small {
	font-size: 0.78rem;
	color: #666;
	line-height: 1.2;
	display: block;
}
.encuesta-points {
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 14px;
	padding: 1.1rem 1.2rem;
}
.encuesta-points h3 {
	font-size: 0.95rem;
	margin: 0 0 0.9rem;
	font-weight: 700;
	color: #222;
	line-height: 1.35;
}
.encuesta-points-list {
	margin-bottom: 1rem;
}
.encuesta-point {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.55rem;
	font-size: 0.88rem;
	cursor: pointer;
	line-height: 1.35;
	color: #333;
}
.encuesta-point input {
	margin-top: 0.2rem;
	flex-shrink: 0;
}
.encuesta-select-party {
	color: #888;
	font-size: 0.9rem;
	margin: 0;
}
.encuesta-vote-btn {
	background: #e30613;
	color: #fff !important;
	border: none;
	padding: 0.7rem 1.4rem;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.9rem;
	width: 100%;
	transition: opacity 0.15s, transform 0.1s;
}
.encuesta-vote-btn:hover:not(:disabled) {
	opacity: 0.92;
}
.encuesta-vote-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Insights tabs + calculadora */
.insight-winner-tabs { padding-top: 0.75rem; }
.insight-mini-tabs {
	display: flex;
	gap: 0.35rem;
	margin-bottom: 0.75rem;
}
.insight-mini-tab {
	background: #f3f3f3 !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 0.3rem 0.75rem !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	color: #555 !important;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.insight-mini-tab.active {
	background: #e30613 !important;
	color: #fff !important;
}
.insight-pane { display: none; }
.insight-pane.active { display: block; }

.insight-pact-calc { overflow: hidden; }
.pact-visual {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0.35rem 0 0.55rem;
}
.pact-hemi-wrap {
	flex: 0 0 88px;
	width: 88px;
}
.pact-hemi-canvas {
	display: block;
	width: 88px;
	height: 44px;
}
.pact-meter-wrap {
	flex: 1 1 auto;
	min-width: 0;
}
.pact-meter {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: #ececec;
	overflow: visible;
}
.pact-meter-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #ccc;
	width: 0;
	transition: width 0.35s ease, background 0.25s ease;
	min-width: 0;
}
.pact-meter-mark {
	position: absolute;
	left: 50.285%; /* 176/350 */
	top: -3px;
	bottom: -3px;
	width: 2px;
	background: #222;
	border-radius: 1px;
	opacity: 0.55;
	pointer-events: none;
}
.pact-meter-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.62rem;
	color: #999;
	margin-top: 0.2rem;
	position: relative;
}
.pact-mark-lab {
	position: absolute;
	left: 50.285%;
	transform: translateX(-50%);
	color: #666;
	font-weight: 600;
}
.pact-sum-line {
	margin-top: 0.35rem;
	font-size: 0.8rem;
	color: #333;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-wrap: wrap;
}
.pact-sum-line b {
	font-size: 1.05rem;
	color: #111;
}
.pact-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0.4rem 0 0;
	/* sin scroll vertical: cajas compactas */
}
.pact-item {
	display: inline-flex !important;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.68rem !important;
	cursor: pointer;
	padding: 0.18rem 0.4rem !important;
	border-radius: 999px !important;
	border: 1px solid #e5e5e5 !important;
	background: #fff !important;
	color: #222 !important;
	user-select: none;
	transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
	font-family: inherit;
	line-height: 1.15 !important;
	margin: 0 !important;
	appearance: none;
	-webkit-appearance: none;
	max-height: 28px !important;
	width: auto !important;
	min-width: 0 !important;
	box-shadow: none !important;
}
.pact-item:hover { border-color: #ccc !important; }
.pact-item.is-on {
	border-color: #222 !important;
	box-shadow: inset 0 0 0 1px #222;
	background: #f3f3f3 !important;
	font-weight: 700;
}
.pact-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}
.pact-name { font-weight: 600; color: #222; }
.pact-seats { font-weight: 700; color: #555; font-variant-numeric: tabular-nums; }
.pact-status {
	font-size: 0.68rem;
	font-weight: 700;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
}
.pact-status-none { background: #f0f0f0; color: #666; }
.pact-status-ok { background: #e8f8ef; color: #0a7a3e; }
.pact-status-no { background: #fff4e5; color: #9a5b00; }

/* Móvil: 1 hemiciclo → 2 ganador → 3 lista candidatos (100% ancho) */
@media (max-width: 820px) {
	.encuesta-results-layout,
	.encuesta-external-results {
		display: flex !important;
		flex-direction: column;
		gap: 0.85rem;
		width: 100%;
	}
	.encuesta-left-col,
	.encuesta-right-col {
		display: contents;
	}
	/* 1 */
	.encuesta-hemicycle-wrap {
		order: 1;
		width: 100%;
		max-width: none;
	}
	/* 2 */
	.encuesta-insights {
		order: 2;
		width: 100%;
		margin: 0;
	}
	/* 3 */
	.encuesta-party-results,
	.encuesta-party-results-full {
		order: 3;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		box-sizing: border-box;
	}
	/* resto */
	.encuesta-insights-left {
		order: 4;
		width: 100%;
	}
	.encuesta-map-wrap {
		order: 5;
		width: 100%;
	}
	.encuesta-insights-grid,
	.insight-card {
		width: 100%;
		box-sizing: border-box;
	}
}

.insight-gov-tabs .insight-mini-tabs {
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-bottom: 0.6rem;
}
.esc-visual {
	margin: 0.5rem 0 0.4rem;
	text-align: center;
}
.esc-hemi-canvas {
	width: 140px;
	height: 70px;
	display: block;
	margin: 0 auto;
}
.insight-gov-tabs .insight-gov-badge {
	margin-top: 0.3rem;
}
.insight-gov-tabs .insight-gov-desc {
	display: block;
	margin-top: 0.25rem;
}
.encuesta-insights-left,
.insight-gov,
.insight-gov * {
	color: #222;
}
.insight-gov .insight-card-label { color: #888 !important; }
.insight-gov-main > strong { color: #111 !important; }
.insight-gov-seats { color: #444 !important; }
.insight-gov-seats b { color: #111 !important; }
.insight-gov-desc { color: #777 !important; }
.insight-gov .insight-note { color: #777 !important; }
.insight-gov .insight-note.muted { color: #999 !important; }
.insight-gov-more {
	margin-top: 0.85rem;
	padding-top: 0.75rem;
	border-top: 1px solid #f0f0f0;
}
.encuesta-insights-left:empty { display: none; }
.encuesta-insights-left .insight-card {
	background: #fff !important;
	color: #222 !important;
}

