#ctp-pamec { max-width: 760px; margin: 0 auto; color: #1f2937; line-height: 1.55; text-align: left; scroll-margin-top: 100px; }
#ctp-pamec * { box-sizing: border-box; }
#ctp-pamec [hidden] { display: none !important; }
#ctp-pamec section { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: clamp(18px, 4vw, 32px); }
#ctp-pamec .ctp-cabecera { background: #111827; color: #fff; border-radius: 14px; padding: clamp(18px, 4vw, 28px); margin-bottom: 16px; }
#ctp-pamec .ctp-cabecera h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 4vw, 30px); }
#ctp-pamec .ctp-cabecera p { margin: 0; color: #e5e7eb; }
#ctp-pamec h3 { margin: 26px 0 12px; font-size: 20px; color: #111827; }
#ctp-pamec h3:first-child { margin-top: 0; }
#ctp-pamec h4 { margin: 0 0 4px; font-size: 18px; color: #111827; }
#ctp-pamec .ctp-indicador { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; margin: 0 0 16px; }
#ctp-pamec label { display: block; font-weight: 600; margin: 0 0 14px; }
#ctp-pamec label small { font-weight: 400; color: #6b7280; }
#ctp-pamec input[type="text"], #ctp-pamec input[type="email"], #ctp-pamec input[type="tel"], #ctp-pamec select {
	display: block; width: 100%; max-width: 100%; margin-top: 6px; padding: 11px 12px; height: auto;
	font: inherit; font-weight: 400; color: #111827; background-color: #fff; border: 1px solid #9ca3af; border-radius: 8px;
}
#ctp-pamec .ctp-casilla { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
#ctp-pamec .ctp-casilla input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; }
#ctp-pamec .ctp-trampa { position: absolute; left: -9999px; }
#ctp-pamec .ctp-pregunta { border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; margin: 0 0 12px; min-width: 0; }
#ctp-pamec .ctp-pregunta legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; font: inherit; }
#ctp-pamec .ctp-pregunta.ctp-falta { border-color: #b42318; background: #fef3f2; }
#ctp-pamec .ctp-opciones { clear: both; display: flex; gap: 10px; }
#ctp-pamec .ctp-opciones label { margin: 0; position: relative; cursor: pointer; }
#ctp-pamec .ctp-opciones input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#ctp-pamec .ctp-opciones span { display: block; min-width: 84px; text-align: center; padding: 8px 18px; border: 1px solid #9ca3af; border-radius: 999px; background: #fff; }
#ctp-pamec .ctp-opciones input:checked + span { background: #111827; border-color: #111827; color: #fff; }
#ctp-pamec .ctp-opciones input:focus-visible + span { outline: 3px solid #f4a259; outline-offset: 2px; }
#ctp-pamec .ctp-contador { color: #6b7280; font-size: 14px; }
#ctp-pamec .ctp-boton {
	display: inline-block; font: inherit; font-weight: 700; line-height: 1.3; text-transform: none; cursor: pointer;
	background: #f4a259; color: #111827; border: 2px solid #f4a259; border-radius: 999px; padding: 12px 24px;
}
#ctp-pamec .ctp-boton:hover { filter: brightness(.94); }
#ctp-pamec .ctp-boton.ctp-secundario { background: #fff; color: #111827; border-color: #111827; }
#ctp-pamec .ctp-boton:disabled, #ctp-pamec.ctp-ocupado .ctp-boton { opacity: .55; cursor: wait; }
#ctp-pamec .ctp-enlace { font: inherit; background: none; border: 0; padding: 0; margin-top: 18px; color: #374151; text-decoration: underline; cursor: pointer; }
#ctp-pamec .ctp-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
#ctp-pamec .ctp-error { background: #fde8e7; color: #9b1c14; border-radius: 8px; padding: 10px 14px; }
#ctp-pamec .ctp-tarjeta { border-radius: 12px; padding: 20px; margin: 14px 0; border: 2px solid currentColor; }
#ctp-pamec .ctp-favorable { background: #e7f6ec; color: #17653a; }
#ctp-pamec .ctp-atencion { background: #fff4d6; color: #7a5200; }
#ctp-pamec .ctp-prioritaria { background: #fde8e7; color: #9b1c14; }
#ctp-pamec .ctp-porcentaje { font-size: clamp(28px, 6vw, 40px); font-weight: 800; line-height: 1.15; }
#ctp-pamec .ctp-titulo { font-size: 20px; font-weight: 700; }
#ctp-pamec .ctp-nota { border-left: 4px solid #f4a259; padding: 4px 0 4px 14px; }
#ctp-pamec .ctp-fila { margin-bottom: 12px; }
#ctp-pamec .ctp-fila-texto { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
#ctp-pamec .ctp-fila-texto span:last-child { white-space: nowrap; }
#ctp-pamec .ctp-barra { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; margin-top: 4px; }
#ctp-pamec .ctp-barra div { height: 100%; background: #111827; }
#ctp-pamec ul { padding-left: 20px; }
#ctp-pamec li { margin-bottom: 8px; }
#ctp-pamec .ctp-aviso { font-size: 12px; color: #6b7280; margin: 22px 0 0; }
#ctp-pamec .ctp-invitacion { background: #fef3e8; border-radius: 10px; padding: 16px; margin: 8px 0 16px; }
#ctp-pamec .ctp-invitacion p { margin: 0; }
#ctp-pamec .ctp-listo p { margin-bottom: 0; }
