:root{--tl-azul:#00304f;--tl-verde:#6B9D3B;--tl-naranja:#CB8625;--tl-rojo:#B32049;--tl-marino:#0f2233;--tl-gris:#5a6b7b;--tl-fondo:#f4f7fa;--tl-borde:#e3e9ef}
.at-caja,.at-panel,.at-reporte,.at-inicio,.at-eval{font-family:inherit;color:var(--tl-marino);box-sizing:border-box}
.at-caja *,.at-panel *,.at-reporte *,.at-inicio *,.at-eval *{box-sizing:border-box}
.at-caja{background:#fff;border:1px solid var(--tl-borde);border-radius:12px;padding:24px;margin:0 auto 20px;max-width:860px;box-shadow:0 2px 10px rgba(23,49,80,.05)}
.at-angosta{max-width:460px}
.at-centro{text-align:center}
.at-caja h2,.at-caja h3,.at-panel h2,.at-reporte h2,.at-inicio h1{color:var(--tl-marino);margin-top:0}
.at-etiqueta{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700;color:var(--tl-azul);margin:0 0 6px}
.at-lista{padding-left:20px;line-height:1.6}
.at-boton{display:inline-block;background:var(--tl-azul);color:#fff!important;border:0;border-radius:999px;padding:13px 26px;font-weight:700;font-size:16px;font-family:"Montserrat","Manrope",Arial,sans-serif;cursor:pointer;text-decoration:none!important;line-height:1.2}
.at-boton:hover{background:#003f66}
.at-boton[disabled]{background:#9fb6c9;cursor:not-allowed}
.at-boton-sec{background:#fff;color:var(--tl-azul)!important;border:2px solid var(--tl-azul)}
.at-boton-sec:hover{background:#eef5fb}
.at-boton-chico{padding:8px 14px;font-size:14px}
.at-enlace{background:none;border:0;color:var(--tl-azul);cursor:pointer;padding:4px 0;font-size:13px;text-decoration:underline}
.at-rojo{color:var(--tl-rojo)}
.at-gris{color:var(--tl-gris)}
.at-nota{font-size:13px;color:var(--tl-gris)}
.at-error{color:var(--tl-rojo);font-weight:700}
.at-check{display:flex;gap:10px;align-items:flex-start;margin:12px 0;font-size:15px}
.at-check input{margin-top:4px;width:18px;height:18px;flex:0 0 auto}
.at-form label:not(.at-check){display:block;margin-bottom:14px;font-weight:600;font-size:14px}
.at-form input[type=text],.at-form input[type=email],.at-form input[type=number],.at-form select{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #c5d1dd;border-radius:8px;font-size:16px}
.at-msg{max-width:860px;margin:0 auto 16px;padding:14px 18px;border-radius:8px;font-weight:600}
.at-msg-ok{background:#eaf4e0;color:#3e6420}
.at-msg-error{background:#f9e3e9;color:var(--tl-rojo)}

/* Letrero y evaluación */
.at-letrero{border:2px solid var(--tl-rojo);background:#fdf1f4;border-radius:10px;padding:16px 18px;margin:18px 0}
.at-letrero strong{color:var(--tl-rojo);text-transform:uppercase;letter-spacing:.06em}
.at-letrero p{margin:6px 0 0;font-weight:600}
.at-eval{max-width:860px;margin:0 auto}
.at-pregunta{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.at-barra-sup{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-bottom:8px}
.at-reloj{background:var(--tl-marino);color:#fff;border-radius:20px;padding:4px 14px;font-variant-numeric:tabular-nums}
.at-reloj.at-urgente{background:var(--tl-rojo)}
.at-tiempo{height:6px;background:#e6edf3;border-radius:4px;overflow:hidden;margin-bottom:18px}
.at-tiempo div{height:100%;width:100%;background:linear-gradient(90deg,var(--tl-verde),var(--tl-azul));transition:width .25s linear}
.at-escenario{font-size:17px;line-height:1.55;background:var(--tl-fondo);border-left:4px solid var(--tl-azul);padding:14px 16px;border-radius:6px}
.at-enunciado{font-size:17px;font-weight:700;line-height:1.5}
.at-opciones{display:flex;flex-direction:column;gap:10px;margin:16px 0 20px}
.at-opcion{display:flex;gap:12px;align-items:flex-start;text-align:left;background:#fff;border:2px solid var(--tl-borde);border-radius:10px;padding:14px;font-size:16px;line-height:1.45;cursor:pointer;color:var(--tl-marino);width:100%}
.at-opcion:hover{border-color:#9fc3df}
.at-opcion.at-sel{border-color:var(--tl-azul);background:#eef5fb}
.at-letra{flex:0 0 30px;height:30px;border-radius:50%;background:var(--tl-fondo);display:flex;align-items:center;justify-content:center;font-weight:700}
.at-sel .at-letra{background:var(--tl-azul);color:#fff}
.at-aviso-detectado{background:var(--tl-rojo);color:#fff;border-radius:8px;padding:10px 14px;margin-bottom:14px;font-weight:700}
.at-recordatorio{font-size:12px;color:var(--tl-rojo);margin:14px 0 0}

/* Panel */
.at-panel{max-width:960px;margin:0 auto}
.at-panel .at-caja{max-width:none}
.at-panel-cabecera{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.at-creditos{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--tl-borde);border-radius:12px;padding:10px 14px}
.at-creditos-num{font-size:30px;font-weight:800;color:var(--tl-azul)}
.at-tabla-envoltura{overflow-x:auto}
.at-tabla{width:100%;border-collapse:collapse;font-size:14px}
.at-tabla th,.at-tabla td{padding:10px 8px;border-bottom:1px solid var(--tl-borde);text-align:left;vertical-align:top}
.at-tabla th{font-size:12px;text-transform:uppercase;color:var(--tl-gris)}
.at-acciones form{margin:0}
.at-semaforo{display:inline-block;color:#fff;border-radius:6px;padding:4px 10px;font-weight:700;font-size:13px}
.at-semaforo-grande{font-size:18px;padding:8px 14px}
.at-escala ul{list-style:none;padding:0}
.at-escala li{margin:8px 0;display:flex;gap:10px;align-items:center}
.at-punto{width:14px;height:14px;border-radius:50%;display:inline-block;flex:0 0 14px}

/* Reporte */
.at-reporte{max-width:860px;margin:0 auto;background:#fff;padding:28px;border:1px solid var(--tl-borde);border-radius:12px}
.at-reporte-barra{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:10px;flex-wrap:wrap}
.at-franja{height:6px;border-radius:3px;background:linear-gradient(90deg,var(--tl-azul) 25%,var(--tl-verde) 25%,var(--tl-verde) 50%,var(--tl-naranja) 50%,var(--tl-naranja) 75%,var(--tl-rojo) 75%);margin-bottom:18px}
.at-datos th{text-align:left;padding:4px 16px 4px 0;color:var(--tl-gris);font-weight:600}
.at-resultado{display:flex;gap:22px;align-items:center;border:3px solid;border-radius:12px;padding:18px;margin:22px 0}
.at-resultado-num{font-size:56px;font-weight:800;line-height:1}
.at-resultado-num span{font-size:22px;color:var(--tl-gris)}
.at-ok{color:var(--tl-verde);font-weight:700}
.at-mal{color:var(--tl-rojo);font-weight:700}

/* Portada: usa la hoja de training (sitio.css) */
#precio .at-precio{max-width:640px;margin:0 auto;text-align:left}
.at-precio .at-btn-osc{margin-top:8px}
.at-legal p{line-height:1.6}

@media (max-width:600px){
	.at-caja,.at-reporte{padding:18px}
	.at-resultado{flex-direction:column;text-align:center}
	.at-tabla{font-size:13px}
}
@media print{
	header,footer,.wp-site-blocks>header,.wp-site-blocks>footer,.at-no-imprimir,#wpadminbar{display:none!important}
	.at-reporte{border:0;padding:0;max-width:none}
	.at-semaforo,.at-franja,.at-resultado-num{-webkit-print-color-adjust:exact;print-color-adjust:exact}
	body{background:#fff}
}

.at-caja h2,.at-caja h3,.at-panel h2,.at-reporte h2,.at-reporte h3{font-family:"Montserrat","Manrope",Arial,sans-serif;font-weight:700}
.at-etiqueta{color:#0a84bd}
.at-opcion.at-sel{border-color:#00304f;background:#eef4f9}
.at-sel .at-letra{background:#00304f}

/* Portada a todo lo ancho, igual que training */
body.at-es-inicio .wp-site-blocks>main,body.at-es-inicio main .wp-block-group,body.at-es-inicio main .entry-content,body.at-es-inicio main .wp-block-post-content{padding-left:0!important;padding-right:0!important;max-width:none!important}
body.at-es-inicio main .alignfull{margin-left:0!important;margin-right:0!important;width:auto!important}
body.at-es-inicio main .is-layout-constrained>section,body.at-es-inicio main .entry-content>section,body.at-es-inicio main .wp-block-post-content>section{max-width:none!important;width:auto!important;margin-left:0!important;margin-right:0!important}
body.at-es-inicio{overflow-x:hidden}
body.at-es-inicio main .is-layout-constrained>section+section,body.at-es-inicio main .wp-block-post-content>section+section{margin-block-start:0!important}
.at-hero h1 span{display:block}

/* Catálogo de evaluaciones */
.at-catalogo article{position:relative;display:flex;flex-direction:column}
.at-cat-estado{position:absolute;top:18px;right:18px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:4px 10px;font-family:"Montserrat","Manrope",Arial,sans-serif}
.at-cat-activa .at-cat-estado{background:#e7f2df;color:#3e6420}
.at-cat-proxima .at-cat-estado{background:#eef2f6;color:#5a6b7b}
.at-cat-proxima{opacity:.78}
.at-cat-para{font-size:14px}
.at-cat-datos{font-size:13px;font-weight:700;color:#00304f;margin-top:auto}
.at-catalogo .at-btn-osc{align-self:flex-start;margin-top:8px}
.at-cat-nota{text-align:center;margin-top:28px;color:#5a6b7b}
.at-cat-nota a{color:#00304f;font-weight:700}
.at-beneficios.at-catalogo{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.at-beneficios.at-catalogo{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.at-beneficios.at-catalogo{grid-template-columns:1fr}}
