/* Encuestas Públicas 1.16.7 — superficies neutras y llamada de Planes centrada. */
:root {
	--epu-primary: #ff5f2a;
	--epu-primary-dark: #c9360d;
	--epu-black: #111111;
	--epu-ink: #303238;
	--epu-muted: #6b6f76;
	--epu-line: #e1e3e6;
	--epu-soft: #f3f4f5;
	--epu-white: #ffffff;
	--epu-accent: #ffae91;
}

body { color: var(--epu-ink); background: var(--epu-soft); }

/* Encabezado del muro: sustituye la regla histórica #ff5f2a del tema base. */
.epu-section-head--feed .epu-kicker {
	color: var(--epu-primary-dark) !important;
}
.epu-section-head--feed > p {
	color: #4b4f56 !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 3px solid rgba(255, 95, 42, .28) !important; outline-offset: 2px; }

/* Botones y estados globales: colores sólidos, sin azul, morado o café. */
.epu-button,
.epu-header .epu-header__cta,
.epu-hero-register,
.epu-guide-actions .is-primary,
.epu-guide-cta a,
.epu-publish-hero a,
.epu-inline-cta a,
.epu-plans-note a,
.epu-header-search__panel button[type="submit"],
.ep-feed-vote__actions button,
.ep-comment-form button[type="submit"] {
	border-color: var(--epu-primary) !important;
	background: var(--epu-primary) !important;
	color: #fff !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
.epu-button:hover,
.epu-button:focus,
.epu-header .epu-header__cta:hover,
.epu-header .epu-header__cta:focus,
.epu-hero-register:hover,
.epu-hero-register:focus,
.epu-guide-actions .is-primary:hover,
.epu-guide-cta a:hover,
.epu-publish-hero a:hover,
.epu-inline-cta a:hover,
.epu-plans-note a:hover,
.epu-header-search__panel button[type="submit"]:hover,
.ep-feed-vote__actions button:hover,
.ep-feed-vote__actions button:focus,
.ep-comment-form button[type="submit"]:hover {
	border-color: var(--epu-primary-dark) !important;
	background: var(--epu-primary-dark) !important;
	color: #fff !important;
}
.epu-nav a:hover,
.epu-nav a:focus,
.epu-publisher__profile-link,
.epu-profile-details a,
.epu-profile-stats strong,
.ep-feed-vote__actions a,
.ep-feed-vote__complex a { color: var(--epu-primary-dark) !important; }

.epu-header-icon { border-color: #dfe1e4 !important; background: #fff !important; color: var(--epu-black) !important; }
.epu-header-icon:hover,
.epu-header-icon:focus,
.epu-header-icon[aria-expanded="true"] { border-color: var(--epu-primary) !important; background: #fff1eb !important; color: var(--epu-primary-dark) !important; }
.epu-session-link > span { background: #fff1eb !important; color: var(--epu-primary-dark) !important; }
.epu-brand__mark { background: var(--epu-primary) !important; }
.epu-hero { background: var(--epu-black) !important; background-image: none !important; }
.epu-hero::after { border-color: rgba(255, 95, 42, .16) !important; }
.epu-guide-cta > .epu-shell,
.epu-inline-cta { background: var(--epu-black) !important; color: #fff !important; }
.epu-publish-preview > div { background: #ffe2d6 !important; }

/* Inicio: las tres columnas arrancan en el mismo eje. */
.epu-social-wall { background: var(--epu-soft) !important; }
.epu-wall-layout { align-items: start !important; }
.epu-wall-layout > .epu-wall-member,
.epu-wall-layout > .epu-social-feed,
.epu-wall-layout > .epu-wall-ads {
	align-self: start !important;
	margin-top: 0 !important;
}
.epu-wall-member { border-color: var(--epu-line) !important; background: #fff !important; box-shadow: 0 10px 28px rgba(17, 17, 17, .06) !important; }
.epu-wall-member__head { border-color: var(--epu-line) !important; background: #f7f7f8 !important; }
.epu-wall-member__head > span { background: var(--epu-primary) !important; }
.epu-wall-member nav a { color: var(--epu-ink) !important; }
.epu-wall-member nav a > span { color: var(--epu-primary) !important; }
.epu-wall-member nav a:hover,
.epu-wall-member nav a:focus { background: #fff1eb !important; color: var(--epu-primary-dark) !important; }
.epu-wall-member nav .epu-wall-member__primary { background: var(--epu-primary) !important; color: #fff !important; box-shadow: none !important; }
.epu-wall-member nav .epu-wall-member__primary:hover { background: var(--epu-primary-dark) !important; color: #fff !important; }
.epu-wall-member__login { background: var(--epu-black) !important; }
.epu-wall-member__login:hover { background: #292929 !important; color: #fff !important; }

/* Acciones sociales compactas en una sola fila. */
.epu-card-social-actions {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	width: 100%;
	padding: 8px !important;
	border: 1px solid var(--epu-line) !important;
	background: #f7f7f8 !important;
}
.epu-card-social-actions .ep-favorite-button,
.epu-card-social-actions .ep-like-button,
.epu-card-social-actions .ep-follow-button,
.epu-share-toggle {
	display: inline-flex !important;
	flex: 0 1 auto !important;
	min-width: 0 !important;
	min-height: 36px !important;
	padding: 6px 9px !important;
	gap: 4px !important;
	border: 1px solid #d6d8dc !important;
	border-radius: 9px !important;
	background: #fff !important;
	color: var(--epu-ink) !important;
	box-shadow: none !important;
	font-size: 10px !important;
}
.epu-card-social-actions .ep-favorite-button:hover,
.epu-card-social-actions .ep-like-button:hover,
.epu-card-social-actions .ep-follow-button:hover,
.epu-share-toggle:hover,
.epu-card-social-actions .ep-favorite-button:focus,
.epu-card-social-actions .ep-like-button:focus,
.epu-card-social-actions .ep-follow-button:focus,
.epu-share-toggle:focus { border-color: var(--epu-primary) !important; background: #fff1eb !important; color: var(--epu-primary-dark) !important; }
.epu-card-social-actions .ep-favorite-button.is-saved,
.epu-card-social-actions .ep-like-button.is-liked,
.epu-card-social-actions .ep-follow-button.is-following { border-color: var(--epu-primary) !important; background: var(--epu-primary) !important; color: #fff !important; box-shadow: none !important; }
.epu-share-panel { flex: 1 0 100% !important; }
.epu-share-panel a:hover,
.epu-share-panel button:hover { border-color: var(--epu-primary) !important; background: #fff1eb !important; color: var(--epu-primary-dark) !important; }

/* Publicidad separada del contenido, sin desplazamiento sticky. */
.epu-wall-layout > .epu-wall-ads,
.epu-featured__ads {
	position: static !important;
	top: auto !important;
	padding: 16px !important;
	border: 1px solid #d9dbde !important;
	background: #e9eaec !important;
	box-shadow: none !important;
}
.epu-ad-label { color: #5f646b !important; }
.epu-ad-widget { border-color: #d4d6d9 !important; background: #fff !important; }

/* Perfil público con portada horizontal. */
.epu-profile-page { background: var(--epu-soft) !important; }
.epu-profile-header { overflow: hidden; border: 1px solid var(--epu-line); border-radius: 22px; background: #fff; box-shadow: 0 16px 44px rgba(17, 17, 17, .08); }
.epu-profile-cover { position: relative; width: 100%; aspect-ratio: 8 / 3; overflow: hidden; background: #dedfe2; }
.epu-profile-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.epu-profile-cover span { display: block; width: 100%; height: 100%; background: #e7e8ea; }
.epu-profile-header .epu-profile-hero { margin: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.epu-profile-header.has-cover .epu-profile-avatar { margin-top: -72px; border: 5px solid #fff !important; }
.epu-profile-avatar { background: var(--epu-primary) !important; box-shadow: none !important; }
.epu-profile-type,
.epu-profile-interests span { border-color: #ffc9b5 !important; background: #fff1eb !important; color: var(--epu-primary-dark) !important; }
.epu-profile-social .ep-follow-button { border-color: var(--epu-primary) !important; background: var(--epu-primary) !important; color: #fff !important; box-shadow: none !important; }
.epu-profile-social .ep-follow-button:hover,
.epu-profile-social .ep-follow-button:focus { border-color: var(--epu-primary-dark) !important; background: var(--epu-primary-dark) !important; color: #fff !important; }
.epu-profile-social .ep-follow-button.is-following { border-color: var(--epu-black) !important; background: var(--epu-black) !important; color: #fff !important; }
.epu-profile-social .ep-follow-button.is-following:hover,
.epu-profile-social .ep-follow-button.is-following:focus { border-color: #292929 !important; background: #292929 !important; color: #fff !important; }
.epu-profile-stats { border-color: var(--epu-line) !important; background: #f7f7f8 !important; }
.epu-profile-stats > div { border-color: var(--epu-line) !important; }

/* Llamada a la acción final de Planes. */
.epu-plans-note {
	display: grid !important;
	justify-items: center !important;
	gap: 12px !important;
	width: 100%;
	max-width: none;
	margin: 42px auto 0 !important;
	padding: 36px 28px !important;
	border: 1px solid var(--epu-line) !important;
	background: #fff !important;
	color: var(--epu-ink) !important;
	text-align: center;
	box-shadow: 0 12px 34px rgba(17, 17, 17, .06);
}
.epu-plans-note strong { font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.epu-plans-note p { max-width: 720px; margin: 0 !important; color: var(--epu-muted) !important; line-height: 1.65; }
.epu-plans-note a { margin-top: 6px; }

/* 1.16.6: el naranja identifica acciones; la lectura permanece en negro. */
.ep-feed-vote,
.epu-featured__survey-body .ep-feed-vote,
.epu-profile-surveys .ep-feed-vote {
	border-color: #dedfe2 !important;
	background: #f4f5f6 !important;
	color: var(--epu-ink) !important;
}
.ep-feed-vote-form legend,
.ep-feed-results > strong,
.ep-feed-result > div,
.ep-feed-vote__complex,
.ep-feed-vote__notice,
.ep-feed-vote__notice.is-success {
	color: var(--epu-ink) !important;
}
.ep-feed-vote__options span {
	border-color: #d5d8dc !important;
	background: #fff !important;
	color: #1b1c1f !important;
}
.ep-feed-vote__options span::before { border-color: #aeb3b9 !important; }
.ep-feed-vote__options input:checked + span {
	border-color: var(--epu-primary) !important;
	background: #eef0f2 !important;
	color: #111 !important;
	box-shadow: 0 0 0 2px rgba(255, 95, 42, .08) !important;
}
.ep-feed-result i { background: #dfe2e5 !important; }
.ep-feed-vote__notice,
.ep-feed-vote__notice.is-success {
	border-left-color: var(--epu-primary) !important;
	background: #eceef0 !important;
}
.epu-card__category,
.epu-sponsored-label {
	border-color: #dfe1e4 !important;
	background: #f1f2f3 !important;
	color: #4d5158 !important;
}
.epu-publisher__profile-link,
.epu-card__link { color: #303238 !important; }

/* Perfil: misma paleta de superficies, texto y tarjetas que el muro de Inicio. */
.epu-profile-page { background: var(--epu-soft) !important; background-image: none !important; }
.epu-profile-surveys .epu-section-head .epu-kicker,
.epu-profile-type,
.epu-profile-interests span {
	border-color: #dfe1e4 !important;
	background: #f1f2f3 !important;
	color: #4d5158 !important;
}
.epu-profile-stats strong,
.epu-profile-details a { color: var(--epu-ink) !important; }
.epu-profile-surveys .epu-card { background: #fff !important; }

/* Detalle: autor, encuesta, acciones y comentarios en bloques independientes. */
.epu-survey-page {
	background: var(--epu-soft) !important;
	background-image: none !important;
}
.epu-survey-content-column { display: grid; align-content: start; gap: 18px; min-width: 0; }
.epu-survey-author-card,
.epu-survey-main-card,
.epu-survey-actions-card {
	min-width: 0;
	border: 1px solid var(--epu-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(17, 17, 17, .06);
}
.epu-survey-author-card { padding: 20px 22px; }
.epu-survey-author-card .epu-publisher { margin: 0 !important; }
.epu-survey-author-card .epu-publisher__profile-link { color: #4d5158 !important; }
.epu-survey-main-card { overflow: hidden; }
.epu-survey-main-card .epu-survey-cover {
	margin: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--epu-line) !important;
	border-radius: 0 !important;
	background: #eceef0 !important;
	box-shadow: none !important;
}
.epu-survey-main-card .ep-survey-wrap {
	padding: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}
.epu-survey-main-card .ep-public-card {
	overflow: visible !important;
	padding: clamp(24px, 4vw, 40px) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.epu-survey-main-card .ep-public-card::before { display: none !important; }
.epu-survey-main-card .ep-eyebrow { color: #62676e !important; }
.epu-survey-main-card .ep-survey-objective {
	border: 1px solid #dfe2e5 !important;
	border-left: 4px solid #aeb3b9 !important;
	background: #f3f4f5 !important;
}
.epu-survey-main-card .ep-public-question legend,
.epu-survey-main-card .ep-choice-options label,
.epu-survey-main-card .ep-public-results,
.epu-survey-main-card .ep-result-row { color: var(--epu-ink) !important; }
.epu-survey-main-card .ep-public-question legend > span {
	background: #e8eaec !important;
	color: #303238 !important;
}
.epu-survey-main-card .ep-choice-options label,
.epu-survey-main-card .ep-public-question textarea {
	border-color: #d8dbe0 !important;
	background: #f4f5f6 !important;
	color: #1d1f22 !important;
}
.epu-survey-main-card .ep-choice-options label:hover,
.epu-survey-main-card .ep-choice-options label:has(input:checked) {
	border-color: var(--epu-primary) !important;
	background: #eceef0 !important;
	color: #111 !important;
}
.epu-survey-actions-card { padding: 14px; }
.epu-survey-actions-card .epu-card-social-actions {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
.epu-card-social-actions .epu-profile-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 36px;
	padding: 6px 9px;
	border: 1px solid #d6d8dc;
	border-radius: 9px;
	background: #fff;
	color: var(--epu-ink);
	font-size: 10px;
	font-weight: 800;
}
.epu-card-social-actions .epu-profile-action:hover,
.epu-card-social-actions .epu-profile-action:focus { border-color: var(--epu-primary); background: #f2f3f4; color: #111; }
.epu-survey-privacy { padding: 0 12px; color: var(--epu-muted); font-size: 12px; line-height: 1.5; text-align: center; }

/* Compartir: destinos reconocibles por icono, con nombre accesible. */
.epu-share-panel {
	display: grid !important;
	grid-template-columns: repeat(6, 44px) !important;
	justify-content: center !important;
	gap: 9px !important;
	padding: 10px 0 2px !important;
}
.epu-share-panel[hidden] { display: none !important; }
.epu-share-panel a,
.epu-share-panel > button {
	width: 44px !important;
	height: 44px !important;
	min-height: 44px !important;
	padding: 0 !important;
	border-color: #d6d9dd !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #303238 !important;
}
.epu-share-panel a:hover,
.epu-share-panel a:focus,
.epu-share-panel > button:hover,
.epu-share-panel > button:focus {
	border-color: var(--epu-primary) !important;
	background: #f1f2f3 !important;
	color: #111 !important;
}
.epu-destination-icon { display: grid; place-items: center; width: 21px; height: 21px; }
.epu-destination-icon svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.epu-share-panel a[aria-label="Facebook"] svg path { fill: currentColor; stroke: none; }
.epu-share-panel .epu-copy-status { grid-column: 1 / -1 !important; color: #4d5158 !important; }

/* Comentarios: escritura sobre gris neutral, sin superficie naranja. */
.epu-survey-comments-card .ep-comments--full { margin-top: 0 !important; }
.ep-comment-form textarea,
.epu-survey-comments-card .ep-comments__login,
.epu-survey-comments-card .ep-comments__empty {
	border-color: #d8dbe0 !important;
	background: #f1f2f3 !important;
	color: var(--epu-ink) !important;
}
.epu-survey-comments-card .ep-comments__head span,
.epu-survey-comments-card .ep-comments__login a,
.epu-survey-comments-card .ep-comments__more { color: #303238 !important; }

@media (max-width: 620px) {
	.epu-survey-content-column { gap: 13px; }
	.epu-survey-author-card,
	.epu-survey-main-card,
	.epu-survey-actions-card { border-radius: 14px; }
	.epu-survey-author-card { padding: 16px; }
	.epu-survey-actions-card { padding: 10px; }
	.epu-card-social-actions .epu-profile-action { width: 100%; min-height: 38px; padding: 5px 2px; font-size: 9px; }
	.epu-share-panel { grid-template-columns: repeat(3, 44px) !important; }
}

/* Formularios y componentes heredados. */
.ep-survey-wrap,
.ep-standalone {
	--eps-brand: var(--epu-primary) !important;
	--eps-brand-dark: var(--epu-primary-dark) !important;
	--eps-electric: var(--epu-primary) !important;
	--eps-ink: var(--epu-ink) !important;
	--eps-muted: var(--epu-muted) !important;
	--eps-line: var(--epu-line) !important;
	--eps-soft: #f7f7f8 !important;
}
.ep-survey-wrap .ep-public-form button.ep-submit[type="submit"],
.ep-survey-wrap .ep-public-form button.ep-next,
.ep-rating-options input:checked + span,
.ep-form-progress i,
.ep-public-bar i { border-color: var(--epu-primary) !important; background: var(--epu-primary) !important; box-shadow: none !important; }
.ep-survey-wrap .ep-public-form button.ep-submit[type="submit"]:hover,
.ep-survey-wrap .ep-public-form button.ep-submit[type="submit"]:focus,
.ep-survey-wrap .ep-public-form button.ep-next:hover,
.ep-survey-wrap .ep-public-form button.ep-next:focus { border-color: var(--epu-primary-dark) !important; background: var(--epu-primary-dark) !important; color: #fff !important; }
.ep-preview-banner { border-color: var(--epu-primary) !important; border-left-color: var(--epu-primary) !important; background: #fff1eb !important; color: var(--epu-ink) !important; }
.ep-publisher__social-link,
.ep-result-share a,
.ep-result-share button { color: var(--epu-primary-dark) !important; }
.ep-result-share a:hover,
.ep-result-share button:hover { border-color: var(--epu-primary) !important; background: #fff1eb !important; color: var(--epu-primary-dark) !important; }
.ep-comments {
	--epc-blue: var(--epu-primary) !important;
	--epc-ink: var(--epu-ink) !important;
	--epc-muted: var(--epu-muted) !important;
	--epc-line: var(--epu-line) !important;
}
.ep-comment-avatar { background: var(--epu-primary) !important; }
.ep-comment-form textarea:focus { border-color: var(--epu-primary) !important; box-shadow: 0 0 0 3px rgba(255, 95, 42, .12) !important; }
.ep-comment-form__footer button:not([type="button"]) { background: var(--epu-primary) !important; color: #fff !important; }
.ep-comment-form__footer button:not([type="button"]):hover { background: var(--epu-primary-dark) !important; }
.ep-comments__login { border-left-color: var(--epu-primary) !important; background: #fff1eb !important; color: var(--epu-ink) !important; }
.ep-comments__login a,
.ep-comments__head span,
.ep-comments__more,
.ep-comment__actions button:hover { color: var(--epu-primary-dark) !important; }
.ep-feed-vote__options input:checked + span { border-color: var(--epu-primary) !important; background: #fff1eb !important; color: var(--epu-primary-dark) !important; box-shadow: 0 0 0 2px rgba(255, 95, 42, .1) !important; }
.ep-feed-vote__options input:checked + span::before { border-color: var(--epu-primary) !important; }
.ep-feed-result i span { background: var(--epu-primary) !important; }
.epu-feed-loader span { border-top-color: var(--epu-primary) !important; }

@media (max-width: 1120px) {
	.epu-wall-layout > .epu-wall-ads { margin-top: 0 !important; }
}
@media (max-width: 900px) {
	.epu-wall-layout > .epu-wall-ads { margin: 0 auto 8px !important; }
	.epu-profile-header.has-cover .epu-profile-avatar { margin-top: -58px; }
}
@media (max-width: 620px) {
	.epu-card-social-actions { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 4px !important; padding: 6px !important; }
	.epu-card-social-actions .ep-favorite-button,
	.epu-card-social-actions .ep-like-button,
	.epu-card-social-actions .ep-follow-button,
	.epu-share-toggle { width: 100% !important; min-height: 38px !important; padding: 5px 2px !important; gap: 2px !important; font-size: 9px !important; }
	.epu-share-panel { grid-column: 1 / -1; }
	.epu-profile-header { border-radius: 15px; }
	.epu-profile-cover { aspect-ratio: 16 / 7; }
	.epu-profile-header.has-cover .epu-profile-avatar { margin-top: -48px; }
	.epu-plans-note { padding: 28px 18px !important; }
}
@media (max-width: 390px) {
	.epu-card-social-actions .ep-favorite-button b,
	.epu-card-social-actions .ep-like-button b,
	.epu-card-social-actions .ep-follow-button b,
	.epu-share-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}

/* Botones sólidos y superficies sin restos azules, morados o cafés. */
.epu-guide-hero,
.epu-publish-hero,
.epu-plans-hero { background: var(--epu-s3-surface-bg, #fff7f3) !important; }
.epu-profile-cover span { background: #e7e8ea !important; }
.epu-header-search__panel button[type="submit"],
.epu-header .epu-header__cta,
.epu-hero-register,
.epu-guide-actions .is-primary,
.epu-publish-actions .is-primary,
.epu-plans-note a,
.ep-feed-vote__actions button,
.ep-comment-form button[type="submit"],
.wp-block-button__link,
.wp-element-button {
	background-color: var(--epu-s3-action-bg, var(--epu-primary)) !important;
	background-image: none !important;
	color: var(--epu-s3-action-color, #fff) !important;
	box-shadow: none !important;
}
.epu-header-search__panel button[type="submit"]:hover,
.epu-header-search__panel button[type="submit"]:focus,
.epu-header .epu-header__cta:hover,
.epu-header .epu-header__cta:focus,
.epu-hero-register:hover,
.epu-hero-register:focus,
.epu-guide-actions .is-primary:hover,
.epu-guide-actions .is-primary:focus,
.epu-publish-actions .is-primary:hover,
.epu-publish-actions .is-primary:focus,
.epu-plans-note a:hover,
.epu-plans-note a:focus,
.ep-feed-vote__actions button:hover,
.ep-feed-vote__actions button:focus,
.ep-comment-form button[type="submit"]:hover,
.ep-comment-form button[type="submit"]:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-element-button:hover,
.wp-element-button:focus {
	background-color: var(--epu-primary-dark) !important;
	background-image: none !important;
	color: #fff !important;
}

/* El tema se carga después del plugin: esta capa protege Mi Panel. */
body.ep-account-app {
	--ep-primary: var(--epu-primary);
	--ep-primary-dark: var(--epu-primary-dark);
	--ep-black: var(--epu-black);
	--ep-text: var(--epu-ink);
	--ep-muted: var(--epu-muted);
	--ep-line: var(--epu-line);
	--ep-background: var(--epu-soft);
	--ep-card: #fff;
	--ep-soft-orange: #fff1eb;
	background: var(--epu-soft) !important;
}
body.ep-account-app .epu-content { background: var(--epu-soft) !important; }
body.ep-account-app .epu-content > .epu-shell { width: 100% !important; max-width: none !important; padding-inline: 0 !important; }
body.ep-account-app .ep-account {
	align-items: start !important;
	gap: 26px !important;
	width: min(calc(100vw - 40px), 1640px) !important;
	margin: 28px auto 46px !important;
}
body.ep-account-app .ep-account-sidebar,
body.ep-account-app .ep-account-main,
body.ep-account-app .ep-account-main > * { align-self: start !important; margin-top: 0 !important; }
body.ep-account-app .ep-account-main { min-width: 0 !important; padding: 0 0 40px !important; color: var(--epu-ink) !important; }
body.ep-account-app .ep-account-sidebar {
	border-color: #000 !important;
	background: #111 !important;
	background-image: none !important;
	box-shadow: 0 20px 48px rgba(17, 17, 17, .2) !important;
	color: #fff !important;
}
body.ep-account-app .ep-sidebar-brand { display: none !important; }
body.ep-account-app .ep-sidebar-user {
	margin: 0 3px 12px !important;
	padding: 16px 12px !important;
	border-color: #343434 !important;
	background: #1c1c1c !important;
}
body.ep-account-app .ep-sidebar-avatar { border: 2px solid #fff !important; background: #fff1eb !important; color: var(--epu-primary-dark) !important; }
body.ep-account-app .ep-sidebar-user strong { color: #fff !important; }
body.ep-account-app .ep-sidebar-user small { color: #d0d0d0 !important; }
body.ep-account-app .ep-sidebar-user em { color: #aaa !important; }
body.ep-account-app .ep-sidebar-label { color: #b8bbc0 !important; }
body.ep-account-app .ep-account-nav a { color: #f1f1f1 !important; }
body.ep-account-app .ep-account-nav a > span { color: var(--epu-primary) !important; }
body.ep-account-app .ep-account-nav a:hover,
body.ep-account-app .ep-account-nav a:focus { background: #242424 !important; color: #fff !important; }
body.ep-account-app .ep-account-nav a.is-active,
body.ep-account-app .ep-account-nav a.is-active:hover,
body.ep-account-app .ep-account-nav a.is-active:focus {
	background: var(--epu-primary) !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
}
body.ep-account-app .ep-account-nav a.is-active > span { color: #fff !important; }
body.ep-account-app .ep-sidebar-plan { border-color: #3b3b3b !important; background: #1b1b1b !important; }
body.ep-account-app .ep-sidebar-plan small { color: #b7b7b7 !important; }
body.ep-account-app .ep-sidebar-plan a { color: #ffae91 !important; }

body.ep-account-app .ep-dashboard-hero {
	border-color: #111 !important;
	background: #111 !important;
	background-image: none !important;
	box-shadow: 0 18px 42px rgba(17, 17, 17, .18) !important;
	color: #fff !important;
}
body.ep-account-app .ep-dashboard-hero h2,
body.ep-account-app .ep-dashboard-hero h2 a,
body.ep-account-app .ep-dashboard-hero strong { color: #fff !important; }
body.ep-account-app .ep-dashboard-hero p { color: #e4e4e4 !important; }
body.ep-account-app .ep-dashboard-hero .ep-dashboard-eyebrow { color: #ffae91 !important; }
body.ep-account-app .ep-account-button,
body.ep-account-app .ep-login-submit,
body.ep-account-access-page .ep-login-submit,
body.ep-account-app .ep-account-main button[type="submit"]:not(.ep-account-secondary),
body.ep-account-app .ep-account-main input[type="submit"] {
	border-color: var(--epu-primary) !important;
	background-color: var(--epu-primary) !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
body.ep-account-app .ep-account-button:hover,
body.ep-account-app .ep-account-button:focus,
body.ep-account-app .ep-login-submit:hover,
body.ep-account-app .ep-login-submit:focus,
body.ep-account-access-page .ep-login-submit:hover,
body.ep-account-access-page .ep-login-submit:focus,
body.ep-account-app .ep-account-main button[type="submit"]:not(.ep-account-secondary):hover,
body.ep-account-app .ep-account-main button[type="submit"]:not(.ep-account-secondary):focus {
	border-color: var(--epu-primary-dark) !important;
	background-color: var(--epu-primary-dark) !important;
	background-image: none !important;
	color: #fff !important;
}
body.ep-account-app .ep-account-main .ep-account-secondary,
body.ep-account-app .ep-account-main .ep-my-survey-card__actions a,
body.ep-account-app .ep-account-main .ep-account-actions a {
	border-color: #cfd2d6 !important;
	background: #fff !important;
	color: #111 !important;
	box-shadow: none !important;
}
body.ep-account-app .ep-account-main .ep-account-secondary:hover,
body.ep-account-app .ep-account-main .ep-account-secondary:focus,
body.ep-account-app .ep-account-main .ep-my-survey-card__actions a:hover,
body.ep-account-app .ep-account-main .ep-my-survey-card__actions a:focus,
body.ep-account-app .ep-account-main .ep-account-actions a:hover,
body.ep-account-app .ep-account-main .ep-account-actions a:focus { border-color: #111 !important; background: #111 !important; color: #fff !important; }

body.ep-account-app .ep-account-main > .ep-account-form,
body.ep-account-app .ep-account-main > .ep-survey-editor,
body.ep-account-app .ep-account-main > .ep-my-plan,
body.ep-account-app .ep-account-main > .ep-plan-history,
body.ep-account-app .ep-account-main > .ep-favorites-account,
body.ep-account-app .ep-account-main > .ep-connections-account,
body.ep-account-app .ep-account-main > .ep-survey-comments-account { width: 100% !important; max-width: none !important; margin: 0 !important; }
body.ep-account-app .ep-account-main .ep-account-form,
body.ep-account-app .ep-account-main .ep-survey-editor,
body.ep-account-app .ep-account-main .ep-profile-section,
body.ep-account-app .ep-account-main .ep-my-survey-card,
body.ep-account-app .ep-account-main .ep-favorite-card,
body.ep-account-app .ep-account-main .ep-connection-card,
body.ep-account-app .ep-account-main .ep-survey-comments-list article {
	border-color: var(--epu-line) !important;
	background: #fff !important;
	color: var(--epu-ink) !important;
	box-shadow: 0 10px 30px rgba(17, 17, 17, .06) !important;
}
body.ep-account-app .ep-account-main .ep-account-form,
body.ep-account-app .ep-account-main .ep-survey-editor { padding: clamp(22px, 3vw, 34px) !important; }
body.ep-account-app .ep-account-main h1,
body.ep-account-app .ep-account-main h2,
body.ep-account-app .ep-account-main h3,
body.ep-account-app .ep-account-main h4,
body.ep-account-app .ep-account-main label,
body.ep-account-app .ep-account-main legend,
body.ep-account-app .ep-account-main strong { color: var(--epu-ink); }
body.ep-account-app .ep-account-main p,
body.ep-account-app .ep-account-main small,
body.ep-account-app .ep-account-main time { color: var(--epu-muted); }
body.ep-account-app .ep-account-main input,
body.ep-account-app .ep-account-main select,
body.ep-account-app .ep-account-main textarea { border-color: #d6d8dc !important; background: #fff !important; color: var(--epu-ink) !important; }
body.ep-account-app .ep-account-main input:focus,
body.ep-account-app .ep-account-main select:focus,
body.ep-account-app .ep-account-main textarea:focus { border-color: var(--epu-primary) !important; box-shadow: 0 0 0 3px rgba(255, 95, 42, .15) !important; outline: none !important; }
body.ep-account-app .ep-account-main input[type="checkbox"] { accent-color: var(--epu-primary) !important; }

body.ep-account-app .ep-account-main .ep-dashboard-summary > div,
body.ep-account-app .ep-account-main .ep-account-plan-strip,
body.ep-account-app .ep-account-main .ep-account-filters,
body.ep-account-app .ep-account-main .ep-connections-tabs,
body.ep-account-app .ep-account-main .ep-usage-grid > div,
body.ep-account-app .ep-account-main .ep-report-filter,
body.ep-account-app .ep-account-main .ep-report-grid > section,
body.ep-account-app .ep-account-main .ep-report-metrics > div { border-color: var(--epu-line) !important; background: #fff !important; color: var(--epu-ink) !important; }
body.ep-account-app .ep-account-main .ep-dashboard-summary strong,
body.ep-account-app .ep-account-main .ep-dashboard-eyebrow,
body.ep-account-app .ep-account-main .ep-profile-kicker,
body.ep-account-app .ep-account-main .ep-plan-price,
body.ep-account-app .ep-account-main .ep-usage-grid strong,
body.ep-account-app .ep-account-main .ep-account-total strong { color: var(--epu-primary-dark) !important; }
body.ep-account-app .ep-account-main .ep-plan-name,
body.ep-account-app .ep-account-main .ep-plan-recommended,
body.ep-account-app .ep-account-main .ep-favorites-total { background: var(--epu-primary) !important; color: #fff !important; box-shadow: none !important; }
body.ep-account-app .ep-account-main .ep-connections-tabs { background: #eceeef !important; }
body.ep-account-app .ep-account-main .ep-connections-tabs a { color: var(--epu-ink) !important; }
body.ep-account-app .ep-account-main .ep-connections-tabs a.is-active { background: #fff !important; color: var(--epu-primary-dark) !important; }
body.ep-account-app .ep-account-main .ep-connections-tabs strong { background: #fff1eb !important; color: var(--epu-primary-dark) !important; }
body.ep-account-app .ep-account-main .ep-favorite-card,
body.ep-account-app .ep-account-main .ep-connection-card,
body.ep-account-app .ep-account-main .ep-survey-comments-list article { padding: clamp(20px, 2.4vw, 28px) !important; }
body.ep-account-app .ep-account-main .ep-connection-card { column-gap: 20px !important; row-gap: 12px !important; }
body.ep-account-app .ep-account-main .ep-connection-avatar { border-color: #ffc9b5 !important; background: var(--epu-primary) !important; background-image: none !important; }
body.ep-account-app .ep-account-main .ep-follow-button,
body.ep-account-app .ep-account-main .ep-favorite-button { border-color: var(--epu-primary) !important; background: var(--epu-primary) !important; color: #fff !important; box-shadow: none !important; }
body.ep-account-app .ep-account-main .ep-follow-button:hover,
body.ep-account-app .ep-account-main .ep-follow-button:focus,
body.ep-account-app .ep-account-main .ep-favorite-button:hover,
body.ep-account-app .ep-account-main .ep-favorite-button:focus { border-color: var(--epu-primary-dark) !important; background: var(--epu-primary-dark) !important; color: #fff !important; }
body.ep-account-app .ep-account-main .ep-favorite-button .ep-social-icon,
body.ep-account-app .ep-account-main .ep-favorite-button.is-saved .ep-social-icon,
body.ep-account-app .ep-account-main .ep-favorite-button .ep-folder-icon {
	color: #fff !important;
}
body.ep-account-app .ep-account-main .ep-pro-report { --epr: var(--epu-primary) !important; }
body.ep-account-app .ep-account-main .ep-report-filter button,
body.ep-account-app .ep-account-main .ep-report-line i { background: var(--epu-primary) !important; }

/* Planes: la llamada final comparte el ancho y el eje de las tarjetas. */
.epu-plans-content > .epu-shell { display: flow-root !important; }
.epu-plans-note {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 42px auto 0 !important;
	padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 36px) !important;
	border-radius: 20px !important;
}
.epu-plans-note strong,
.epu-plans-note p,
.epu-plans-note a { justify-self: center !important; }

/* Carrito y Finalizar compra: presentación propia, sin alterar WooCommerce. */
body.woocommerce-cart,
body.woocommerce-checkout { background: var(--epu-soft) !important; color: var(--epu-ink) !important; }
body.woocommerce-cart .epu-content,
body.woocommerce-checkout .epu-content {
	padding: clamp(28px, 5vw, 64px) 0 !important;
	background: var(--epu-soft) !important;
}
body.woocommerce-cart .epu-content > .epu-shell,
body.woocommerce-checkout .epu-content > .epu-shell { width: min(calc(100% - 32px), 1240px) !important; }
body.woocommerce-cart .epu-content article,
body.woocommerce-checkout .epu-content article {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 1120px !important;
	margin: 0 auto !important;
	padding: clamp(24px, 4vw, 48px) !important;
	border: 1px solid var(--epu-line) !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 18px 46px rgba(17, 17, 17, .08) !important;
}
body.woocommerce-cart .epu-content article > h1,
body.woocommerce-checkout .epu-content article > h1 { margin: 0 0 28px !important; color: #111 !important; font-size: clamp(34px, 5vw, 52px) !important; line-height: 1.05 !important; }
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout { width: 100% !important; max-width: none !important; color: var(--epu-ink) !important; }
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block { min-height: 340px !important; padding: clamp(30px, 7vw, 72px) 18px !important; border: 1px solid var(--epu-line) !important; border-radius: 18px !important; background: #f7f7f8 !important; text-align: center !important; }
body.woocommerce-cart .wc-block-cart__empty-cart__title { margin: 0 auto 20px !important; color: #111 !important; font-size: clamp(22px, 3vw, 30px) !important; }
body.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	display: grid !important;
	place-items: center !important;
	width: 72px !important;
	height: 72px !important;
	margin: 0 auto 24px !important;
	border-radius: 50% !important;
	background-color: var(--epu-primary) !important;
	background-image: none !important;
	color: #fff !important;
	content: "✓" !important;
	font-size: 34px !important;
	font-weight: 900 !important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) { color: var(--epu-muted) !important; font-size: 16px !important; }
.wc-block-cart-items,
.wc-block-components-sidebar,
.wc-block-checkout__main,
.wc-block-checkout__sidebar,
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary,
.woocommerce-checkout-review-order,
.woocommerce-billing-fields,
.woocommerce-additional-fields {
	border-color: var(--epu-line) !important;
	border-radius: 16px !important;
	background: #fff !important;
	color: var(--epu-ink) !important;
}
.wc-block-components-sidebar,
.wc-block-checkout__sidebar,
.wc-block-components-order-summary,
.woocommerce-checkout-review-order { padding: clamp(18px, 3vw, 28px) !important; }
.wc-block-components-title,
.wc-block-cart__totals-title,
.wc-block-components-order-summary__button-text,
.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3,
#order_review_heading { color: #111 !important; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-address-form select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select { border-color: #cfd2d6 !important; border-radius: 10px !important; background: #fff !important; color: var(--epu-ink) !important; }
.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--epu-primary) !important; box-shadow: 0 0 0 3px rgba(255, 95, 42, .15) !important; outline: none !important; }
.wc-block-components-checkbox input[type="checkbox"],
.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] { accent-color: var(--epu-primary) !important; }
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
#place_order {
	border-color: var(--epu-primary) !important;
	border-radius: 11px !important;
	background-color: var(--epu-primary) !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
	font-weight: 800 !important;
}
.wc-block-components-button:hover,
.wc-block-components-button:focus,
.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:focus,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-checkout-place-order-button:focus,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
#place_order:hover,
#place_order:focus { border-color: var(--epu-primary-dark) !important; background-color: var(--epu-primary-dark) !important; background-image: none !important; color: #fff !important; }
.wc-block-components-product-name,
.wc-block-components-order-name,
.woocommerce a:not(.button) { color: var(--epu-primary-dark); }
.wc-block-components-notice-banner,
.woocommerce-info,
.woocommerce-message { border-color: var(--epu-primary) !important; background: #fff1eb !important; color: var(--epu-ink) !important; }
.woocommerce-error { border-color: #a61f2d !important; background: #fff4f4 !important; color: #7c1724 !important; }

/* 1.16.4 — tarjeta completa blanca y votación gris neutral. */
.epu-featured__survey-card {
	overflow: hidden;
	margin: 18px 18px 0;
	border: 1px solid #dfe1e4;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(17, 17, 17, .055);
}
.epu-featured__survey-card .epu-featured__visual {
	position: relative;
	aspect-ratio: 40 / 21;
	overflow: hidden;
	border-bottom: 1px solid #dfe1e4;
	background: #eceeef !important;
}
.epu-featured__survey-card .epu-featured__visual img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	background: #eceeef !important;
}
.epu-featured__survey-body {
	padding: 22px !important;
	background: #fff !important;
}
.epu-featured__survey-body .ep-feed-vote {
	margin: 18px 0 0 !important;
	border: 1px solid #d9dbde !important;
	background: #f4f5f6 !important;
}
.epu-featured__survey-body .ep-feed-vote__options span {
	border-color: #d9dbde !important;
	background: #fff !important;
}
.epu-featured__survey-body .ep-feed-vote__actions button {
	border-color: var(--epu-primary) !important;
	background: var(--epu-primary) !important;
	background-image: none !important;
	box-shadow: none !important;
}
.epu-featured__survey-body .ep-feed-vote__actions button:hover,
.epu-featured__survey-body .ep-feed-vote__actions button:focus {
	border-color: var(--epu-primary-dark) !important;
	background: var(--epu-primary-dark) !important;
	background-image: none !important;
}
.epu-featured__social-body {
	padding: 16px 18px 20px !important;
	background: #fff !important;
}

/* El hilo central recupera una lectura contenida en escritorio. */
@media (min-width: 1121px) {
	.epu-social-wall > .epu-shell { width: min(100% - 32px, 1260px) !important; }
	.epu-wall-layout {
		grid-template-columns: 220px minmax(520px, 680px) 270px !important;
		gap: 20px !important;
	}
	.epu-wall-layout > .epu-social-feed { width: 100%; max-width: 680px; }
}

/* Registro y avisos: se elimina el último degradado azul cargado por el plugin. */
body .ep-account-registration .ep-login-submit,
body .ep-account-registration .ep-account-button {
	border-color: var(--epu-primary) !important;
	background-color: var(--epu-primary) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
}
body .ep-account-registration .ep-login-submit:hover,
body .ep-account-registration .ep-login-submit:focus,
body .ep-account-registration .ep-login-submit:active {
	border-color: var(--epu-primary-dark) !important;
	background-color: var(--epu-primary-dark) !important;
	background-image: none !important;
	color: #fff !important;
}
.ep-registration-note,
.ep-message-success,
.ep-comments__notice.is-visible:not(.is-error) {
	border-color: #ffb69b !important;
	background: #fff1eb !important;
	color: #a83211 !important;
}
.ep-message-error,
.ep-comments__notice.is-error {
	border-color: #d34b5d !important;
	background: #fff0f1 !important;
	color: #a32635 !important;
}
.epu-survey-statuses .is-verified {
	border-color: #ffc9b5 !important;
	background: #fff1eb !important;
	color: var(--epu-primary-dark) !important;
}

@media (max-width: 620px) {
	.epu-featured__survey-card { margin: 10px 10px 0; border-radius: 12px; }
	.epu-featured__survey-body { padding: 16px 13px !important; }
	.epu-featured__social-body { padding: 12px 10px 16px !important; }
}

@media (max-width: 780px) {
	body.ep-account-app .ep-account { display: block !important; width: min(calc(100% - 20px), 760px) !important; margin-top: 18px !important; }
	body.ep-account-app .ep-account-sidebar { min-height: 0 !important; }
	body.ep-account-app .ep-account-main { padding-top: 18px !important; }
	body.woocommerce-cart .epu-content > .epu-shell,
	body.woocommerce-checkout .epu-content > .epu-shell { width: calc(100% - 20px) !important; }
	body.woocommerce-cart .epu-content article,
	body.woocommerce-checkout .epu-content article { padding: 22px 16px !important; border-radius: 16px !important; }
}
@media (max-width: 520px) {
	body.ep-account-app .ep-account { width: calc(100% - 16px) !important; }
	body.ep-account-app .ep-account-main .ep-account-form,
	body.ep-account-app .ep-account-main .ep-survey-editor,
	body.ep-account-app .ep-account-main .ep-favorite-card,
	body.ep-account-app .ep-account-main .ep-connection-card,
	body.ep-account-app .ep-account-main .ep-survey-comments-list article { padding: 18px 14px !important; }
	body.ep-account-app .ep-dashboard-hero { display: grid !important; min-height: 0 !important; padding: 24px 18px !important; }
	body.ep-account-app .ep-dashboard-hero .ep-account-button { width: 100% !important; }
	body.woocommerce-cart .epu-content article > h1,
	body.woocommerce-checkout .epu-content article > h1 { font-size: 32px !important; }
	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block { min-height: 280px !important; padding: 38px 12px !important; }
}

/* 1.16.7: centra la columna interior de Planes, no sólo sus textos. */
.epu-plans-content > .epu-shell {
	display: flow-root !important;
}
.epu-plans-page .epu-plans-note {
	display: flex !important;
	clear: both !important;
	align-items: center !important;
	justify-content: center !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: none !important;
	text-align: center !important;
}
.epu-plans-note__inner {
	display: grid !important;
	place-items: center !important;
	gap: 12px !important;
	box-sizing: border-box !important;
	width: min(100%, 760px) !important;
	margin: 0 auto !important;
	text-align: center !important;
}
.epu-plans-note__inner > strong,
.epu-plans-note__inner > p,
.epu-plans-note__inner > a {
	justify-self: center !important;
	margin-right: auto !important;
	margin-left: auto !important;
	text-align: center !important;
}
.epu-plans-note__inner > p {
	width: 100% !important;
	max-width: 720px !important;
}
@media (max-width: 620px) {
	.epu-plans-note__inner > a { width: 100% !important; }
}
