/*
 * HCPI · Acceso: /ingresar/, /crear-cuenta/, /verificar/, /recuperar/, /mi-cuenta/ y el panel de
 * los módulos sin sesión (mu-plugins/hcpi-acceso.php). Mockup «HCPI · Acceso y registro».
 * Tokens de assets/hcpi-componentes.css (--hc-*); «html body» delante para ganar al kit de
 * Elementor (.elementor-kit-19 a, button, h1–h5).
 */

html body.hcpi-acceso-pagina { margin: 0; background: #FFFFFF; color: var(--hc-texto); font-family: var(--hc-cuerpo); }
html body .hcpi-ac, html body .hcpi-ac-modulo { font: 400 16px/1.6 var(--hc-cuerpo); color: var(--hc-texto); }
html body .hcpi-ac *, html body .hcpi-ac-modulo * { box-sizing: border-box; }
html body .hcpi-ac [hidden], html body .hcpi-ac-modulo [hidden] { display: none !important; }
/* Enlaces sueltos (no los botones): :where para no ganarles en especificidad. */
html body :where(.hcpi-ac, .hcpi-ac-modulo, .hcpi-ac-cabecera) a:where(:not(.hcpi-ac-boton)) { color: var(--hc-accion); }
html body :where(.hcpi-ac, .hcpi-ac-modulo, .hcpi-ac-cabecera) a:where(:not(.hcpi-ac-boton)):hover { color: var(--hc-accion-hover); }
html body :is(.hcpi-ac, .hcpi-ac-modulo) :focus-visible { outline: 3px solid var(--hc-titulo); outline-offset: 2px; }

/* ---------- Cabecera mínima ---------- */
html body .hcpi-ac-gov { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 32px; background: #3366CC; color: #FFFFFF; font-size: 13px; }
html body .hcpi-ac-gov img { display: block; height: 22px; width: auto; }
html body .hcpi-ac-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 32px; border-bottom: 1px solid var(--hc-borde); background: #FFFFFF; }
html body .hcpi-ac-logo { display: flex; align-items: center; gap: 16px; text-decoration: none; }
html body .hcpi-ac-logo img { height: 44px; width: auto; }
html body .hcpi-ac-logo__linea { width: 1px; height: 36px; background: var(--hc-borde); }
html body .hcpi-ac-logo__texto { font: 600 16px/20px var(--hc-titular); color: var(--hc-titulo); }
html body .hcpi-ac-volver { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; }

/* ---------- Tipografía ---------- */
html body .hcpi-ac-antetitulo { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/18px var(--hc-cuerpo); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hc-titulo); }
html body .hcpi-ac-antetitulo::before { content: ""; width: 24px; height: 3px; border-radius: 999px; background: var(--hc-naranja); }
html body .hcpi-ac-antetitulo--sin-raya::before { display: none; }
html body .hcpi-ac-h1 { margin: 0; font: 600 34px/42px var(--hc-titular); color: var(--hc-titulo); letter-spacing: -0.01em; }
html body .hcpi-ac-h2 { margin: 0; font: 600 28px/36px var(--hc-titular); color: var(--hc-titulo); }
html body .hcpi-ac-h3 { margin: 0; font: 600 20px/28px var(--hc-titular); color: var(--hc-titulo); }
html body .hcpi-ac-lead { margin: 0; font-size: 17px; line-height: 27px; }
html body .hcpi-ac p { margin: 0; }

/* ---------- Pantalla partida (ingresar, crear cuenta) ---------- */
html body .hcpi-ac-partida { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); min-height: calc(100vh - 120px); }
html body .hcpi-ac-marca { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 64px 72px; background: var(--hc-fondo); }
html body .hcpi-ac-marca__img { width: 100%; max-width: 440px; height: auto; align-self: center; }
html body .hcpi-ac-marca__titulos { display: flex; flex-direction: column; gap: 12px; }
html body .hcpi-ac-ventajas { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
html body .hcpi-ac-ventajas li { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
html body .hcpi-ac-ventajas li > span { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #FFFFFF; color: var(--hc-titulo); }
html body .hcpi-ac-ventajas p { font-size: 16px; line-height: 24px; }
html body .hcpi-ac-ventajas strong { color: var(--hc-titulo); }
html body .hcpi-ac-simple { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: var(--hc-r-m); background: #FFFFFF; border: 1px solid var(--hc-borde); }
html body .hcpi-ac-simple strong { font: 600 16px var(--hc-titular); color: var(--hc-titulo); }
html body .hcpi-ac-simple ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 22px; }
html body .hcpi-ac-lado { display: flex; align-items: center; justify-content: center; padding: 56px 32px; }
html body .hcpi-ac-caja { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 22px; }
html body .hcpi-ac-caja--ancha { max-width: 480px; }
html body .hcpi-ac-encabezado { display: flex; flex-direction: column; gap: 6px; }
html body .hcpi-ac-encabezado p { color: var(--hc-secundario); }

/* Pestañas */
html body .hcpi-ac-pestanas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border-radius: 999px; background: var(--hc-fondo-suave); border: 1px solid var(--hc-borde); }
html body .hcpi-ac-pestanas a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; color: var(--hc-titulo); font: 700 15px var(--hc-cuerpo); text-decoration: none; }
html body .hcpi-ac-pestanas a.is-activa { background: var(--hc-titulo); color: #FFFFFF; }
html body .hcpi-ac-pestanas a:not(.is-activa):hover { background: #FFFFFF; color: var(--hc-titulo); }

/* Pasos */
html body .hcpi-ac-pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
html body .hcpi-ac-pasos li { display: flex; flex-direction: column; gap: 8px; margin: 0; font: 600 13px var(--hc-cuerpo); color: var(--hc-secundario); }
html body .hcpi-ac-pasos__barra { height: 6px; border-radius: 999px; background: var(--hc-borde); }
html body .hcpi-ac-pasos li.is-hecho { color: var(--hc-titulo); font-weight: 700; }
html body .hcpi-ac-pasos li.is-hecho .hcpi-ac-pasos__barra { background: var(--hc-titulo); }
html body .hcpi-ac-pasos li.is-ok { color: var(--hc-ok-texto); }
html body .hcpi-ac-pasos li.is-ok .hcpi-ac-pasos__barra { background: var(--hc-ok); }

/* ---------- Formularios ---------- */
html body .hcpi-ac-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
html body .hcpi-ac-paso { display: flex; flex-direction: column; gap: 20px; }
html body .hcpi-ac-dos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
html body .hcpi-ac-campo { display: flex; flex-direction: column; gap: 8px; }
html body .hcpi-ac-campo label { font: 700 15px var(--hc-cuerpo); color: var(--hc-texto); }
html body .hcpi-ac-req { color: var(--hc-alarma-texto); }
html body .hcpi-ac-entrada { position: relative; }
html body .hcpi-ac-entrada > svg { position: absolute; left: 16px; top: 16px; color: var(--hc-secundario); pointer-events: none; }
html body .hcpi-ac-entrada :is(input, select) {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid var(--hc-borde-fuerte);
	border-radius: var(--hc-r-s);
	background: #FFFFFF;
	font: 500 16px var(--hc-cuerpo);
	color: var(--hc-texto);
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
html body .hcpi-ac-entrada--icono :is(input) { padding-left: 48px; }
html body .hcpi-ac-entrada--clave input { padding-right: 56px; }
html body .hcpi-ac-entrada :is(input, select):focus { outline: none; border-color: var(--hc-accion); box-shadow: 0 0 0 4px #CFE3F4; }
html body .hcpi-ac-entrada :is(input, select)[aria-invalid="true"] { border-color: var(--hc-alarma); }
html body .hcpi-ac-ver { position: absolute; right: 4px; top: 4px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--hc-secundario); cursor: pointer; }
html body .hcpi-ac-ver:hover { background: var(--hc-fondo-suave); color: var(--hc-titulo); }
html body .hcpi-ac-ver[aria-pressed="true"] { color: var(--hc-accion); }
html body .hcpi-ac-ayuda { font-size: 13px; color: var(--hc-secundario); }
html body .hcpi-ac-error { font-size: 14px; font-weight: 600; color: var(--hc-alarma-texto); }
html body .hcpi-ac-error:empty { display: none; }
html body .hcpi-ac-campo-clave { position: relative; }
html body .hcpi-ac-olvido { position: absolute; right: 0; top: 0; z-index: 1; font-size: 14px; font-weight: 600; }
html body .hcpi-ac-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
html body .hcpi-ac-check--arriba { align-items: flex-start; }
html body .hcpi-ac-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--hc-accion); flex-shrink: 0; }

/* Botones */
html body .hcpi-ac-boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 700 17px var(--hc-cuerpo);
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
html body .hcpi-ac-boton--primario { background: var(--hc-accion); color: #FFFFFF; }
html body .hcpi-ac-boton--primario:hover { background: var(--hc-accion-hover); color: #FFFFFF; }
html body .hcpi-ac-boton--contorno { border-color: var(--hc-accion); background: #FFFFFF; color: var(--hc-accion); font-size: 16px; min-height: 52px; }
html body .hcpi-ac-boton--contorno:hover { background: var(--hc-info-fondo); color: var(--hc-accion-hover); }
html body .hcpi-ac-boton--cta { background: var(--hc-cta); color: #FFFFFF; font-size: 16px; min-height: 50px; }
html body .hcpi-ac-boton--cta:hover { background: var(--hc-cta-hover); color: #FFFFFF; }
html body .hcpi-ac-boton[aria-busy="true"] { opacity: 0.7; cursor: progress; }
html body .hcpi-ac-boton svg { flex-shrink: 0; }
html body .hcpi-ac-enlace-boton { min-height: 44px; margin: 0; padding: 0 4px; border: 0; background: none; font: 600 15px var(--hc-cuerpo); color: var(--hc-accion); cursor: pointer; }
html body .hcpi-ac-enlace-boton:disabled { color: var(--hc-secundario); cursor: default; }
html body .hcpi-ac-enlace { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
html body .hcpi-ac-enlace--icono { justify-content: flex-start; }

html body .hcpi-ac-separador { display: flex; align-items: center; gap: 12px; color: var(--hc-secundario); font-size: 14px; }
html body .hcpi-ac-separador::before, html body .hcpi-ac-separador::after { content: ""; flex: 1; height: 1px; background: var(--hc-borde); }
html body .hcpi-ac-legal { font-size: 13px; line-height: 20px; color: var(--hc-secundario); text-align: center; }
html body .hcpi-ac-pie-caja { font-size: 15px; text-align: center; }
html body .hcpi-ac-fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
html body .hcpi-ac-fila a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
html body .hcpi-ac-nota { padding: 14px 16px; border-radius: var(--hc-r-s); background: var(--hc-fondo-suave); font-size: 14px; line-height: 21px; color: var(--hc-secundario); }

/* Avisos */
html body .hcpi-ac-alerta, html body .hcpi-ac-exito { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--hc-r-s); font-size: 15px; line-height: 22px; }
html body .hcpi-ac-alerta { background: var(--hc-alarma-fondo); border: 1px solid #F3C2C2; color: var(--hc-alarma-texto); }
html body .hcpi-ac-exito { background: var(--hc-ok-fondo); border: 1px solid #BFE0C8; color: var(--hc-ok-texto); }
html body :is(.hcpi-ac-alerta, .hcpi-ac-exito) svg { flex-shrink: 0; margin-top: 1px; }

/* Medidor de la contraseña */
html body .hcpi-ac-medidor { display: flex; flex-direction: column; gap: 8px; margin-top: -6px; }
html body .hcpi-ac-medidor__barras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
html body .hcpi-ac-medidor__barras span { height: 6px; border-radius: 999px; background: var(--hc-borde); transition: background 0.2s; }
html body .hcpi-ac-medidor[data-nivel="1"] .hcpi-ac-medidor__barras span:nth-child(-n+1) { background: var(--hc-alarma); }
html body .hcpi-ac-medidor[data-nivel="2"] .hcpi-ac-medidor__barras span:nth-child(-n+2) { background: #E1A100; }
html body .hcpi-ac-medidor[data-nivel="3"] .hcpi-ac-medidor__barras span:nth-child(-n+3) { background: #1A86BF; }
html body .hcpi-ac-medidor[data-nivel="4"] .hcpi-ac-medidor__barras span { background: var(--hc-ok); }
html body .hcpi-ac-medidor__texto { font-size: 13px; font-weight: 700; color: var(--hc-secundario); }
html body .hcpi-ac-medidor[data-nivel="1"] .hcpi-ac-medidor__texto { color: var(--hc-alarma-texto); }
html body .hcpi-ac-medidor[data-nivel="2"] .hcpi-ac-medidor__texto { color: #6B4E00; }
html body .hcpi-ac-medidor[data-nivel="3"] .hcpi-ac-medidor__texto { color: var(--hc-titulo); }
html body .hcpi-ac-medidor[data-nivel="4"] .hcpi-ac-medidor__texto { color: var(--hc-ok-texto); }
html body .hcpi-ac-requisitos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 18px; }
html body .hcpi-ac-requisitos li { display: flex; gap: 6px; align-items: center; margin: 0; color: var(--hc-secundario); }
html body .hcpi-ac-requisitos li svg:nth-of-type(2) { display: none; }
html body .hcpi-ac-requisitos li.is-ok { color: var(--hc-ok-texto); }
html body .hcpi-ac-requisitos li.is-ok svg:nth-of-type(1) { display: none; }
html body .hcpi-ac-requisitos li.is-ok svg:nth-of-type(2) { display: block; }

/* Código de 6 dígitos */
html body .hcpi-ac-codigo { margin: 0; padding: 0; border: 0; }
html body .hcpi-ac-codigo legend { margin: 0 0 10px; padding: 0; font: 700 15px var(--hc-cuerpo); }
html body .hcpi-ac-digitos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
html body .hcpi-ac-digito { width: 100%; height: 64px; margin: 0; padding: 0; border: 1.5px solid var(--hc-borde-fuerte); border-radius: 14px; background: #FFFFFF; text-align: center; font: 600 28px var(--hc-titular); color: var(--hc-titulo); }
html body .hcpi-ac-digito:not(:placeholder-shown), html body .hcpi-ac-digito.is-lleno { border: 2px solid var(--hc-titulo); }
html body .hcpi-ac-digito:focus { outline: none; border: 2px solid var(--hc-accion); box-shadow: 0 0 0 4px #CFE3F4; }
html body .hcpi-ac-centro { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
html body .hcpi-ac-burbuja { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 999px; background: var(--hc-info-fondo); color: var(--hc-titulo); }
html body .hcpi-ac-burbuja--ok { width: 80px; height: 80px; background: var(--hc-ok-fondo); color: var(--hc-ok); }
html body .hcpi-ac-burbuja--alerta { background: var(--hc-alarma-fondo); color: var(--hc-alarma-texto); }

/* ---------- Tarjeta centrada (verificar, recuperar) ---------- */
html body .hcpi-ac-fondo { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 120px); padding: 56px 24px; background: var(--hc-fondo); }
html body .hcpi-ac-tarjeta { width: 100%; max-width: 520px; padding: 40px 44px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--hc-borde); box-shadow: var(--hc-sombra-alta); display: flex; flex-direction: column; gap: 20px; }
html body .hcpi-ac-etiqueta { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--hc-fondo); color: var(--hc-titulo); font: 700 12px var(--hc-cuerpo); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Mi cuenta ---------- */
html body .hcpi-ac-cuenta__cabeza { padding: 40px 0; background: var(--hc-fondo); }
html body .hcpi-ac-cuenta__cont { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
html body .hcpi-ac-cuenta__cabeza .hcpi-ac-cuenta__cont { display: flex; align-items: center; gap: 24px; }
html body .hcpi-ac-cuenta__cabeza p { color: var(--hc-secundario); margin-top: 4px; }
html body .hcpi-ac-avatar { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 999px; background: var(--hc-titulo); color: #FFFFFF; font: 600 32px var(--hc-titular); box-shadow: 0 0 0 6px #FFFFFF; }
html body .hcpi-ac-cuenta__rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
html body .hcpi-ac-cuenta .hcpi-ac-tarjeta { max-width: none; padding: 28px; box-shadow: var(--hc-sombra); }
html body .hcpi-ac-enlaces { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
html body .hcpi-ac-enlaces a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; }

/* ---------- Módulo sin sesión ---------- */
/* El último bloque de la vista previa se desvanece. */
html body.hcpi-sin-sesion .elementor-element.hcpi-acceso-avance { max-height: 560px; overflow: hidden !important; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
html body .hcpi-ac-modulo-fondo { width: 100%; background: #FFFFFF; padding: 0 0 56px; }
html body .hcpi-ac-modulo { width: 100%; max-width: 1180px; margin: -40px auto 0; padding: 0 20px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 32px; }
html body .hcpi-ac-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; align-items: start; padding: 40px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--hc-borde); box-shadow: 0 2px 4px rgba(38, 96, 147, 0.08), 0 24px 56px rgba(38, 96, 147, 0.18); }
html body .hcpi-ac-panel__info { display: flex; flex-direction: column; gap: 16px; }
html body .hcpi-ac-panel__candado { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--hc-titulo); color: #FFFFFF; flex-shrink: 0; }
html body .hcpi-ac-incluye { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
html body .hcpi-ac-incluye li { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 16px; }
html body .hcpi-ac-incluye li > span { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background: var(--hc-fondo); color: var(--hc-titulo); }
html body .hcpi-ac-panel__form { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--hc-fondo-suave); border: 1px solid var(--hc-borde); }
html body .hcpi-ac-panel__form .hcpi-ac-form { gap: 14px; }
html body .hcpi-ac-panel__form .hcpi-ac-entrada input { height: 50px; }
html body .hcpi-ac-panel__form .hcpi-ac-boton--primario { min-height: 52px; font-size: 16px; }
html body .hcpi-ac-separador--corto { font-size: 13px; }
html body .hcpi-ac-nota-centro { font-size: 13px; line-height: 19px; color: var(--hc-secundario); text-align: center; }
html body .hcpi-ac-resto { display: flex; flex-direction: column; gap: 14px; }
html body .hcpi-ac-resto ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
html body .hcpi-ac-resto li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--hc-borde); border-radius: 14px; font: 600 15px/1.35 var(--hc-cuerpo); color: var(--hc-texto); }
html body .hcpi-ac-resto li svg { flex-shrink: 0; color: var(--hc-titulo); }
html body .hcpi-ac-resto li:has(> a) { padding: 0; }
html body .hcpi-ac-resto li > a { display: flex; flex: 1; align-items: center; gap: 12px; min-height: 44px; padding: 14px 16px; border-radius: 13px; color: var(--hc-texto); text-decoration: none; }
html body .hcpi-ac-resto li > a:hover { background: var(--hc-fondo); color: var(--hc-titulo); }
html body .hcpi-ac-resto li > a:focus-visible { outline: 3px solid var(--hc-accion); outline-offset: 2px; }
/* Barra inferior del celular: «Ingresar» ocupa el lugar del PDF y del glosario. */
html body.hcpi-sin-sesion .hcpi-barra .hcpi-barra-glosario { display: none !important; }
/* Sin índice lateral ni botón «Descargar módulo en PDF» sin sesión. */
html body.hcpi-sin-sesion :is(.hcpi-indice, .hcpi-indice-boton, .hcpi-indice-flotante, .hcpi-indice-cajon, .hcpi-camara, .hcpi-boton-pdf, [data-hcpi-pdf]) { display: none !important; }

/* Invitación (lo que pintaba [lrm_form]) */
html body .hcpi-ac-invitacion { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--hc-r-m); border: 1px solid var(--hc-borde); background: var(--hc-fondo-suave); }
html body .hcpi-ac-invitacion .hcpi-ac-panel__candado { width: 48px; height: 48px; border-radius: 14px; }
html body .hcpi-ac-invitacion div { flex: 1 1 220px; }
html body .hcpi-ac-invitacion strong { font: 600 17px var(--hc-titular); color: var(--hc-titulo); }
html body .hcpi-ac-invitacion .hcpi-ac-boton { width: auto; min-height: 48px; font-size: 15px; }

/* ---------- Celular ---------- */
@media (max-width: 767px) {
	html body .hcpi-ac-gov, html body .hcpi-ac-cabecera { padding-left: 16px; padding-right: 16px; }
	html body .hcpi-ac-logo img { height: 36px; }
	html body .hcpi-ac-logo__linea, html body .hcpi-ac-logo__texto { display: none; }
	html body .hcpi-ac-volver span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	html body .hcpi-ac-volver { width: 44px; justify-content: center; border-radius: 999px; background: var(--hc-fondo); }
	html body .hcpi-ac-partida { min-height: 0; }
	/* La marca, compacta arriba: icono y nombre. */
	html body .hcpi-ac-marca { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; }
	html body .hcpi-ac-marca__img, html body .hcpi-ac-ventajas, html body .hcpi-ac-simple, html body .hcpi-ac-lead { display: none; }
	html body .hcpi-ac-marca__titulos { gap: 4px; }
	html body .hcpi-ac-marca .hcpi-ac-antetitulo { font-size: 11px; }
	html body .hcpi-ac-marca .hcpi-ac-antetitulo::before { display: none; }
	html body .hcpi-ac-marca .hcpi-ac-h1 { font-size: 17px; line-height: 22px; }
	html body .hcpi-ac-lado { padding: 20px 20px 40px; align-items: flex-start; }
	html body .hcpi-ac-h2 { font-size: 24px; line-height: 32px; }
	html body .hcpi-ac-fondo { padding: 20px 12px 40px; align-items: flex-start; }
	html body .hcpi-ac-tarjeta { padding: 24px 20px; border-radius: 20px; }
	html body .hcpi-ac-digitos { gap: 6px; }
	html body .hcpi-ac-digito { height: 56px; font-size: 24px; }
	html body .hcpi-ac-cuenta__cabeza .hcpi-ac-cuenta__cont { flex-direction: column; align-items: flex-start; gap: 16px; }
	html body .hcpi-ac-cuenta__cont { padding: 0 16px; }
	html body .hcpi-ac-cuenta .hcpi-ac-h1 { font-size: 26px; line-height: 34px; }
	html body .hcpi-ac-modulo { margin-top: -24px; padding: 0 16px; }
	html body .hcpi-ac-modulo-fondo { padding-bottom: 32px; }
	html body .hcpi-ac-panel { padding: 24px 20px; gap: 20px; border-radius: 20px; }
	html body .hcpi-ac-panel__candado { width: 48px; height: 48px; border-radius: 14px; }
	html body .hcpi-ac-panel__form { padding: 0; border: 0; background: none; }
	html body .hcpi-ac-resto ul { grid-template-columns: minmax(0, 1fr); }
}
