/* Autoevaluación NOM-035 · /webinar/autoevaluacion/
   Estilo de la presentación del webinar (24-nov-2026): Helvetica Neue, texto #232c37,
   naranja #d9773a, cremas #f4efe7 / #f1e9de y paneles oscuros. Los colores del
   semáforo vienen de datos.js. [RCM 2026-11-23] RC pidió el naranja en las casillas. */

.ae {
	--ae-ink: #232c37;
	--ae-ink-2: #4a5462;
	--ae-muted: #7d8590;
	--ae-naranja: #d9773a;
	--ae-crema: #f4efe7;
	--ae-crema-2: #f1e9de;
	--ae-linea: #e4ddd2;
	font-family: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
	color: var(--ae-ink);
}
.ae h1, .ae h2, .ae h3, .ae h4 { font-family: inherit; color: var(--ae-ink); letter-spacing: -.015em; }

/* Etiqueta superior: naranja, mayúsculas espaciadas, con raya antes */
.ae-tag { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ae-naranja); }
.ae-tag::before { content: ""; flex: 0 0 28px; height: 1.5px; background: var(--ae-naranja); }

/* ---------- Hero ---------- */
.ae-hero { background: #fff; overflow: hidden; }
.ae-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: stretch; }
.ae-hero-txt { padding: 64px 0; }
.ae-hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; font-weight: 700; margin: 0 0 18px; }
.ae-lead { font-size: 19px; line-height: 1.5; color: var(--ae-ink-2); margin: 0 0 30px; max-width: 620px; }
.ae-hero-ilus { margin: 0; position: relative; min-height: 420px; background: var(--ae-crema); }
.ae-hero-ilus img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ae-descargas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 620px; margin-bottom: 26px; }
.ae-desc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: var(--ae-ink); color: #fff; transition: transform .15s, box-shadow .15s; }
.ae-desc:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35, 44, 55, .22); }
.ae-desc svg { flex: 0 0 26px; width: 26px; height: 26px; color: rgba(255, 255, 255, .85); }
.ae-desc strong { display: block; font-size: 15.5px; }
.ae-desc small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 2px; }

.ae-empezar { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ae-naranja); margin-bottom: 18px; }
.ae-empezar svg { width: 18px; height: 18px; }
.ae-empezar:hover { text-decoration: underline; text-underline-offset: 4px; }
.ae-nota-privada { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ae-muted); margin: 0; }
.ae-nota-privada svg { width: 15px; height: 15px; }

/* ---------- Barra fija ---------- */
.ae-barra { position: sticky; top: 68px; z-index: 40; background: var(--ae-ink); color: #fff; }
.ae-barra-in { display: flex; align-items: center; gap: 18px; height: 52px; }
.ae-barra-txt { font-size: 14px; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.ae-barra-txt strong { color: #fff; font-size: 16px; font-variant-numeric: tabular-nums; }
.ae-barra-track { flex: 1; height: 8px; background: rgba(255, 255, 255, .16); border-radius: 99px; overflow: hidden; }
.ae-barra-fill { height: 100%; width: 0; border-radius: 99px; transition: width .35s ease, background .35s ease; }
.ae-barra-pct { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.ae-barra-ir { font-size: 14px; font-weight: 700; color: #f0a66c; white-space: nowrap; }
.ae-barra-ir:hover { text-decoration: underline; }

/* Pastilla de nivel */
.ae-pill { display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; background: #c0392b; color: #fff; }
.ae-pill-lg { font-size: 16px; padding: 8px 18px; }

/* ---------- Puntos ---------- */
.ae-mod { border-top: 1px solid var(--ae-linea); scroll-margin-top: 120px; }
.ae-mod-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: #fff; }
.ae-mod-main { padding: 56px 48px 48px max(32px, calc((100vw - 1280px) / 2 + 32px)); }
.ae-mod h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; margin: 0 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--ae-linea); }
.ae-sem { list-style: none; margin: 0; padding: 0; }
.ae-sem li { display: grid; grid-template-columns: 138px 1fr; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ae-linea); }
.ae-sem .ae-pill { width: 100%; padding: 7px 10px; font-size: 14px; }
.ae-sem p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ae-ink-2); }
.ae-sem strong { color: var(--ae-ink); }
.ae-dof { margin: 18px 0 0; font-size: 14px; font-weight: 700; color: var(--ae-naranja); }
.ae-mod-ilus { margin: 0; position: relative; min-height: 460px; background: var(--ae-crema); }
.ae-mod-ilus img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ae-lista { max-width: 1280px; margin: 0 auto; padding: 40px 32px 56px; }
.ae-lista-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 26px; }
.ae-lista-head h3 { font-size: 28px; font-weight: 700; margin: 0; }
.ae-cnts { display: flex; gap: 12px; flex-shrink: 0; }
.ae-cnt { background: var(--ae-crema); border-radius: 8px; padding: 10px 18px; text-align: right; min-width: 190px; }
.ae-cnt small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ae-ink-2); }
.ae-cnt b { font-size: 21px; font-variant-numeric: tabular-nums; }
.ae-cnt b span { color: var(--ae-naranja); }
.ae-cnt-osc { background: var(--ae-ink); color: #fff; }
.ae-cnt-osc small { color: rgba(255, 255, 255, .72); }
.ae-cnt-osc b span { color: #f0a66c; }

.ae-grupos { display: grid; gap: 28px 40px; }
.ae-grupos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ae-grupos-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ae-grupo h4 { margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--ae-linea); font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ae-naranja); }
.ae-grupo ul { list-style: none; margin: 0; padding: 0; }

/* Casilla: borde fino, esquinas suaves y palomita centrada en SVG */
.ae-check { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; cursor: pointer; font-size: 16.5px; line-height: 1.45; color: var(--ae-ink); -webkit-tap-highlight-color: transparent; }
.ae-check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ae-box {
	flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px;
	border: 1.5px solid #c9bfb2; border-radius: 5px; background: #fff;
	background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.ae-check:hover .ae-box { border-color: var(--ae-naranja); box-shadow: 0 0 0 4px rgba(240, 166, 108, .18); }
.ae-check:active .ae-box { transform: scale(.92); }
.ae-check input:checked + .ae-box {
	background-color: var(--ae-naranja); border-color: var(--ae-naranja);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6'/%3E%3C/svg%3E");
}
.ae-check input:focus-visible + .ae-box { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ae-naranja); }
.ae-check input:checked ~ .ae-txt { color: var(--ae-ink-2); }

.ae-mod-pie { margin-top: 18px; }
.ae-todo { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--ae-muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ae-todo:hover { color: var(--ae-naranja); }

/* ---------- Resultado ---------- */
.ae-resultado { background: var(--ae-crema); padding: 72px 0 88px; scroll-margin-top: 120px; }
.ae-resultado h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; margin: 0 0 28px; }
.ae-resultado h3 { font-size: 22px; font-weight: 700; margin: 48px 0 16px; }

.ae-res-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.ae-tile { background: #fff; border-radius: 10px; padding: 14px 16px; color: var(--ae-ink-2); font-size: 15px; }
a.ae-tile:hover { box-shadow: inset 0 0 0 1.5px var(--ae-naranja); }
.ae-tile small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.ae-tile b { font-size: 22px; color: var(--ae-ink); font-variant-numeric: tabular-nums; }
.ae-tile-osc { background: var(--ae-ink); color: rgba(255, 255, 255, .8); }
.ae-tile-osc b { color: #fff; }

.ae-formula { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 44px; }
.ae-f { border-radius: 10px; padding: 12px 22px; min-width: 170px; }
.ae-f small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ae-ink-2); }
.ae-f b { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ae-f-borde { background: #fff; border: 2px solid var(--ae-ink); }
.ae-f-factor { background: var(--ae-crema-2); border: 2px solid var(--ae-naranja); }
.ae-f-osc { background: var(--ae-ink); color: #fff; }
.ae-f-osc small { color: rgba(255, 255, 255, .72); }
.ae-f-op { font-size: 30px; color: var(--ae-muted); }

.ae-rango { position: relative; padding-top: 34px; }
.ae-rango-barra { position: relative; display: flex; border-radius: 6px; overflow: hidden; }
.ae-rango-barra > div { padding: 12px 12px; min-width: 0; }
.ae-rango-barra b { display: block; font-size: 15px; white-space: nowrap; }
.ae-rango-barra span { display: block; font-size: 13.5px; font-weight: 700; }
.ae-rango-marca { position: absolute; top: 0; bottom: -10px; left: 0; width: 2px; background: var(--ae-ink); transition: left .4s ease; z-index: 1; }
.ae-rango-marca span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 14px; color: var(--ae-ink); background: var(--ae-crema); padding: 0 6px; }
.ae-rango-marca.der span { left: auto; right: 6px; transform: none; }
.ae-rango-marca.izq span { left: 6px; transform: none; }

.ae-res-nivel { display: flex; align-items: flex-start; gap: 20px; margin-top: 30px; background: #fff; border-radius: 12px; padding: 22px 24px; }
.ae-res-nivel .ae-pill { flex-shrink: 0; min-width: 130px; }
.ae-res-nivel p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ae-ink-2); }

.ae-tabla { background: #fff; border-radius: 12px; overflow: hidden; }
.ae-fila { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr) 100px 70px; gap: 16px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--ae-linea); font-size: 15.5px; }
.ae-fila-head { border-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ae-muted); }
.ae-fila .num { text-align: right; font-variant-numeric: tabular-nums; }
.ae-fila-nom a { color: var(--ae-ink); font-weight: 700; }
.ae-fila-nom a:hover { color: var(--ae-naranja); }
.ae-prio { display: inline-block; margin-left: 8px; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 5px; background: var(--ae-ink); color: #fff; vertical-align: 1px; }
.ae-fila-bar { display: flex; align-items: center; gap: 10px; }
.ae-fila-track { flex: 1; height: 8px; background: var(--ae-crema); border-radius: 99px; overflow: hidden; }
.ae-fila-track span { display: block; height: 100%; border-radius: 99px; }
.ae-fila-bar b { font-size: 13.5px; min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ae-ink-2); }

.ae-faltantes { margin-top: 16px; background: #fff; border-radius: 12px; }
.ae-faltantes summary { cursor: pointer; padding: 16px 22px; font-weight: 700; font-size: 16px; }
.ae-faltantes > div { padding: 0 22px 18px; columns: 2 340px; column-gap: 32px; }
.ae-falt-mod { break-inside: avoid; margin-bottom: 18px; }
.ae-falt-mod h4 { font-size: 15px; margin: 0 0 6px; }
.ae-falt-mod ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: var(--ae-ink-2); }
.ae-falt-g { color: var(--ae-muted); }

.ae-acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ae-acciones .btn { font-family: inherit; background: #fff; }
.ae-acciones .btn svg { width: 16px; height: 16px; }
.ae-nota { margin: 28px 0 0; font-size: 14.5px; color: var(--ae-ink-2); }

.ae-cierre { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ae-ink); color: #fff; border-radius: 14px; padding: 30px 34px; }
.ae-cierre h3 { margin: 0 0 6px !important; color: #fff !important; }
.ae-cierre p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.55; max-width: 640px; }
.ae-cierre .btn { flex-shrink: 0; font-family: inherit; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
	.ae-grupos-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ae-res-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ae-lista-head { flex-direction: column; }
}
@media (max-width: 768px) {
	.ae-hero-grid { grid-template-columns: 1fr; gap: 0; padding: 0; }
	.ae-hero-txt { padding: 32px 20px 36px; order: 2; }
	.ae-hero-ilus { order: 1; min-height: 0; aspect-ratio: 16 / 9; }
	.ae-hero-ilus img { object-position: center 30%; }
	.ae-lead { font-size: 17px; }
	.ae-descargas { grid-template-columns: 1fr; }
	.ae-barra { top: 60px; }
	.ae-barra-in { gap: 10px; height: 46px; }
	.ae-barra-txt { font-size: 13px; }
	.ae-barra-ir { display: none; }
	.ae-barra-pct { font-size: 14px; gap: 6px; }
	.ae-barra-pct .ae-pill { font-size: 12px; padding: 3px 8px; }

	.ae-mod-grid { grid-template-columns: 1fr; }
	.ae-mod-ilus { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
	.ae-mod-main { padding: 28px 20px 8px; }
	.ae-mod h2 { margin-bottom: 8px; padding-bottom: 14px; }
	.ae-sem li { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
	.ae-sem .ae-pill { width: auto; justify-self: start; padding: 4px 12px; font-size: 13px; }
	.ae-sem p { font-size: 15.5px; }
	.ae-lista { padding: 28px 20px 40px; }
	.ae-lista-head h3 { font-size: 23px; }
	.ae-cnts { width: 100%; }
	.ae-cnt { flex: 1; min-width: 0; text-align: left; padding: 10px 14px; }
	.ae-cnt small { font-size: 10.5px; }
	.ae-cnt b { font-size: 19px; }
	.ae-grupos-2, .ae-grupos-3 { grid-template-columns: 1fr; gap: 22px; }
	.ae-check { font-size: 16px; padding: 9px 0; }
	.ae-box { flex-basis: 22px; width: 22px; height: 22px; margin-top: 1px; background-size: 15px 15px; }

	.ae-resultado { padding: 48px 0 64px; }
	.ae-res-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ae-formula { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; }
	.ae-f { min-width: 0; padding: 10px 12px; }
	.ae-f-op:nth-of-type(2) { display: none; }
	.ae-f-osc { grid-column: 1 / -1; }
	.ae-f b { font-size: 24px; }
	.ae-f small { font-size: 10.5px; }
	.ae-f-op { font-size: 20px; }
	.ae-rango-barra > div { padding: 12px 4px 12px 6px; min-width: 58px; }
	.ae-rango-barra b { display: none; }
	.ae-rango-barra span { font-size: 10.5px; }
	.ae-res-nivel { flex-direction: column; gap: 12px; padding: 18px; }
	.ae-res-nivel p { font-size: 16px; }
	.ae-fila { grid-template-columns: 1fr 70px; gap: 6px 12px; padding: 12px 16px; }
	.ae-fila-head { display: none; }
	.ae-fila-bar { grid-column: 1 / -1; grid-row: 2; }
	.ae-fila > .num:last-child { display: none; }
	.ae-cierre { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ---------- Impresión ---------- */
@media print {
	header.site, footer.site, .ae-barra, .ae-descargas, .ae-empezar, .ae-acciones, .ae-cierre, .ae-todo, .ae-nota-privada, .ae-hero-ilus, .ae-mod-ilus { display: none !important; }
	.ae-hero-grid, .ae-mod-grid { grid-template-columns: 1fr; }
	.ae-hero-txt { padding: 0 0 12px; }
	.ae-mod-main { padding: 12px 0; }
	.ae-sem li { padding: 6px 0; }
	.ae-lista { padding: 12px 0; }
	.ae-grupo { break-inside: avoid; }
	.ae-resultado { background: none; padding: 16px 0; break-before: page; }
	* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Acceso con correo ----------
   [RCM 2026-11-23] La calculadora se abre tras dejar el correo; a la persona
   no le llega nada, entra en ese momento. body.ae-dentro lo pone un script
   inline al cargar si ya se registró en este navegador. */
body:not(.ae-dentro) .ae-barra,
body:not(.ae-dentro) #ae-modulos,
body:not(.ae-dentro) .ae-resultado,
body:not(.ae-dentro) .ae-empezar { display: none; }
body.ae-dentro .ae-acceso { display: none; }

.ae-acceso { max-width: 620px; margin: 0 0 22px; padding: 20px 22px; background: var(--ae-crema); border-radius: 12px; }
.ae-acceso label { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 12px; color: var(--ae-ink); }
.ae-acceso-fila { display: flex; gap: 10px; }
.ae-acceso input[type="email"] { flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ae-ink); background: #fff; border: 1.5px solid #d6ccbf; border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s; }
.ae-acceso input[type="email"]:focus { border-color: var(--ae-ink-2); box-shadow: 0 0 0 4px rgba(35, 44, 55, .08); }
.ae-acceso.con-error input[type="email"] { border-color: #c0392b; }
.ae-acceso .btn { height: 52px; font-family: inherit; justify-content: center; }
.ae-acceso .btn[disabled] { opacity: .65; cursor: wait; }
.ae-acceso-error { margin: 8px 0 0; font-size: 14px; color: #c0392b; min-height: 0; }
.ae-acceso-error:empty { display: none; }
@media (max-width: 768px) {
	.ae-acceso { padding: 16px; }
	.ae-acceso-fila { flex-direction: column; }
	.ae-acceso .btn { width: 100%; }
}
@media print { .ae-acceso { display: none !important; } }
.ae-acceso-aviso { margin: 10px 0 0; font-size: 12.5px; color: var(--ae-muted); }
.ae-acceso-aviso a { color: var(--ae-ink-2); text-decoration: underline; text-underline-offset: 2px; }
/* [RCM 2026-11-23] Las descargas se ven ya adentro (después del correo). */
body:not(.ae-dentro) .ae-descargas { display: none; }
.ae-resultado .ae-descargas { max-width: none; margin: 0 0 8px; }
/* [RCM 2026-11-23] Cierre con captura de la plataforma y enlace a /nom-035/. */
.ae-cierre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 36px 40px; }
.ae-cierre-txt .btn { margin-top: 22px; white-space: normal; text-align: center; }
.ae-cierre-img { display: block; }
.ae-cierre-img img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) {
	.ae-cierre { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
	.ae-cierre-txt .btn { width: 100%; justify-content: center; }
}
/* [RCM 2026-11-23] Sin el «× 1.22» en pantalla: solo el resultado. */
.ae-f-res { min-width: 280px; padding: 16px 26px; }
.ae-f-res b { font-size: 46px; display: block; line-height: 1.1; }
.ae-f-res em { display: block; font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .72); margin-top: 2px; }
@media (max-width: 768px) { .ae-formula { display: block; } .ae-f-res { min-width: 0; } }

/* ---------- Reporte PDF (#ae-reporte) ----------
   [RCM 2026-11-23] En pantalla no existe; al imprimir es lo único que sale. */
.ae-reporte { display: none; }
@media print {
	@page { size: letter; margin: 12mm 13mm; }
	body.ae-page > *:not(#ae-reporte) { display: none !important; }
	html, body.ae-page { background: #fff !important; }
	.ae-reporte { display: block; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #232c37; font-size: 10.5pt; }
	.ae-reporte * { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-sizing: border-box; }
	.rp-pag { break-after: page; position: relative; }
	.rp-pag:last-child { break-after: auto; }
	.rp-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; border-bottom: 1.5px solid #232c37; margin-bottom: 18px; }
	.rp-head img { height: 26px; width: auto; }
	.rp-meta { text-align: right; font-size: 9pt; color: #4a5462; line-height: 1.45; }
	.rp-tag { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 8.5pt; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #d9773a; }
	.rp-tag::before { content: ""; width: 22px; height: 1.5px; background: #d9773a; }
	.ae-reporte h1 { font-size: 24pt; line-height: 1.1; margin: 0 0 16px; letter-spacing: -.01em; }
	.ae-reporte h2 { font-size: 13pt; margin: 22px 0 8px; }
	.rp-res { display: flex; gap: 16px; align-items: stretch; }
	.rp-num { flex: 0 0 150px; background: #232c37; color: #fff; border-radius: 10px; padding: 14px 16px; border-top: 6px solid var(--c); }
	.rp-num b { display: block; font-size: 34pt; line-height: 1; letter-spacing: -.03em; }
	.rp-num b small { font-size: 16pt; margin-left: 2px; }
	.rp-num span { display: block; margin-top: 6px; font-size: 9pt; color: rgba(255, 255, 255, .75); }
	.rp-desc { flex: 1; background: #f4efe7; border-radius: 10px; padding: 14px 16px; }
	.rp-desc .ae-pill { font-size: 10pt; padding: 4px 12px; }
	.rp-desc p { margin: 8px 0 0; font-size: 10pt; line-height: 1.5; color: #4a5462; }
	.rp-rango { position: relative; display: flex; margin: 18px 0 4px; border-radius: 6px; overflow: visible; }
	.rp-rango > div:not(.rp-marca) { padding: 6px 8px; }
	.rp-rango > div:nth-child(2) { border-radius: 6px 0 0 6px; }
	.rp-rango > div:last-child { border-radius: 0 6px 6px 0; }
	.rp-rango b { display: block; font-size: 8.5pt; }
	.rp-rango small { display: block; font-size: 7.5pt; opacity: .9; }
	.rp-marca { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; background: #232c37; border-radius: 2px; z-index: 1; }
	.rp-tabla { width: 100%; border-collapse: collapse; }
	.rp-tabla td { padding: 7px 4px; border-bottom: 1px solid #e4ddd2; font-size: 10pt; }
	.rp-tabla td b { color: #d9773a; margin-right: 4px; }
	.rp-bar { width: 38%; }
	.rp-bar span { display: block; height: 7px; background: #f1e9de; border-radius: 99px; overflow: hidden; }
	.rp-bar i { display: block; height: 100%; border-radius: 99px; }
	.rp-n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; width: 70px; }
	.rp-prio { margin: 0; padding-left: 18px; }
	.rp-prio > li { margin-bottom: 8px; font-size: 10pt; }
	.rp-prio > li > span { color: #7d8590; }
	.rp-prio ul { margin: 3px 0 0; padding-left: 16px; color: #4a5462; font-size: 9.5pt; }
	.rp-nota { margin: 18px 0 0; font-size: 9pt; color: #4a5462; }
	.rp-pie { margin-top: 18px; padding-top: 8px; border-top: 1px solid #e4ddd2; font-size: 8pt; color: #7d8590; }
	.rp-sub { margin: -4px 0 12px; font-size: 9.5pt; color: #4a5462; }
	.rp-cols { column-count: 2; column-gap: 22px; }
	.rp-punto { margin-bottom: 12px; }
	.rp-punto h3, .rp-g h4 { break-after: avoid; }
	.rp-punto h3 { font-size: 10.5pt; margin: 0 0 4px; padding: 4px 8px; background: #f4efe7; border-radius: 5px; }
	.rp-g { break-inside: avoid; }
	.rp-g h4 { margin: 6px 0 2px; font-size: 7.5pt; letter-spacing: .1em; text-transform: uppercase; color: #d9773a; }
	.rp-g ul { list-style: none; margin: 0; padding: 0; }
	.rp-g li { display: flex; gap: 6px; align-items: flex-start; font-size: 9pt; line-height: 1.35; padding: 2px 0; }
	.rp-box { flex: 0 0 9px; height: 9px; margin-top: 2px; border: 1px solid #a89c8c; border-radius: 2px; }
	.rp-box.si { background: #d9773a; border-color: #d9773a; }
}
/* [RCM 2026-11-23] Etiqueta de casilla obligatoria (vale más en el cálculo). */
.ae-ob { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 4px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--ae-ink); background: var(--ae-crema-2); border: 1px solid #e0d4c3; vertical-align: 1px; white-space: nowrap; }
@media print {
	.rp-ob { font-style: normal; font-size: 7pt; font-weight: 700; padding: 0 4px; border-radius: 3px; background: #f1e9de; color: #232c37; white-space: nowrap; }
	.rp-g li > span:last-child { flex: 1; }
}
/* [RCM 2026-11-23] Alerta de obligatorias en el resultado y en el PDF. */
.ae-alerta { margin-top: 16px; border-radius: 12px; padding: 18px 22px; font-size: 16px; line-height: 1.5; }
.ae-alerta:empty { display: none; }
.ae-alerta-falta { background: #fdecea; border: 1.5px solid #e6a49c; color: #6b1d14; }
.ae-alerta-falta strong { color: #a5281b; }
.ae-alerta-ok { background: #e8f5e9; border: 1.5px solid #a5d6a7; color: #1b5e20; }
.ae-alerta ul { margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; }
.ae-alerta li { margin: 3px 0; }
.ae-alerta li b { color: inherit; margin-right: 4px; }
@media print {
	.rp-alerta { margin-top: 12px; padding: 9px 12px; border-radius: 8px; font-size: 10pt; background: #fdecea; border: 1px solid #e6a49c; color: #6b1d14; }
	.rp-alerta.rp-ok { background: #e8f5e9; border-color: #a5d6a7; color: #1b5e20; }
}
