/* AUMENTA · Proyección de Pensión Ley 73 — identidad 2026 ("Trayectoria"): Azul AUMENTA #14235C, Verde AUMENTA #18995A,
   Verde luz #34C77B, Azul noche #0E1840, Azul medio #2A3F8F, Gris azulado #5B6585, Niebla #EEF1F7, Menta #E3F6EC, Ámbar #E8A33D.
   Tipografía Sora (OFL), en assets/fonts. Logotipo y el ícono A+ siempre separados. El verde se reserva para lo que suma; el ámbar solo para avisos y gráficas. */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/sora-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/sora-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/sora-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/sora-latin-700-normal.woff2') format('woff2'); }
:root {
  --navy: #14235C; --navy-dark: #0E1840; --navy-soft: #EEF1F7; --navy-mid: #2A3F8F;
  --green: #18995A; --green-deep: #15854F; --green-luz: #34C77B; --green-dark: #15854F; --green-mid: #34C77B; --green-light: #CDEEDC; --green-pale: #E3F6EC;
  --lime: #E8A33D; --lime-soft: #FBEBD2; --ambar: #E8A33D; --ambar-soft: #FBEBD2;
  --blue: #2A3F8F; --blue-mid: #D7DEF2; --blue-light: #D7DEF2; --blue-pale: #E4E9F7; --blue-paler: #EEF1F7;
  --cyan: #34C77B; --cyan-soft: #EEF1F7; --teal-grey: #D7DEF2; --grey: #F5F7FA; --grey-line: #E3E6EF; --ink: #14235C; --muted: #5B6585;
  --input-bg: #FFFFFF; --radius: 14px; --shadow: 0 6px 24px rgba(20, 35, 92, .08);
  --bg: #F5F7FA; --panel: #FFFFFF; --panel-head: #14235C; --topbar: #FFFFFF; --logo-plate: transparent;
  font-family: 'Sora', 'Segoe UI', Arial, Helvetica, sans-serif;
  color-scheme: light;
}
/* La interfaz siempre se muestra en modo claro (no hay tema oscuro). */
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; }
body { min-height: 100vh; }
button, input, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
a { color: var(--blue); }

/* ---------- barra superior ---------- */
.topbar { background: var(--topbar); border-bottom: 3px solid var(--green); box-shadow: 0 2px 10px rgba(20,35,92,.06); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.topbar-inner { max-width: 1480px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar .marca { display: inline-flex; align-items: center; height: 58px; }
.topbar .marca svg { height: 58px; width: 58px; display: block; }
.topbar .titulo { flex: 1; min-width: 240px; }
.topbar .titulo h1 { font-size: 19px; color: var(--ink); line-height: 1.2; font-weight: 650; }
.topbar .titulo h1 span { display: block; font-size: 15px; font-weight: 500; color: var(--green-dark); }
.topbar .titulo small { color: var(--muted); display: block; font-size: 11.5px; line-height: 1.35; }
.modo { display: flex; align-items: center; gap: 8px; background: var(--navy-soft); padding: 6px 10px; border-radius: 999px; }
.modo label { font-size: 12px; color: var(--ink); font-weight: 600; }
.modo select { border: 1px solid var(--grey-line); border-radius: 8px; padding: 4px 8px; background: var(--input-bg); color: var(--ink); }
.acciones { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn { border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 600; cursor: pointer; background: var(--navy); color: #fff; transition: filter .15s; }
.btn:hover { filter: brightness(1.12); }
.btn.verde { background: var(--green); color: #fff; }
.btn.claro { background: var(--navy-soft); color: var(--ink); }
.btn.peq { padding: 6px 10px; font-size: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- disposición ---------- */
.layout { max-width: 1480px; margin: 0 auto; padding: 18px 20px 60px; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 20px; }
@media (max-width: 1080px) { .layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .topbar { position: static; } .topbar-inner { padding: 10px 16px; } }
.panel { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--panel-head); color: #fff; cursor: pointer; user-select: none; }
.panel-head .num { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.panel-head h2 { font-size: 14px; flex: 1; }
.panel-head .chev { transition: transform .2s; }
.panel.cerrado .chev { transform: rotate(-90deg); }
.panel.cerrado .panel-body { display: none; }
.panel-body { padding: 14px 16px 16px; }
.campo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; margin-bottom: 9px; }
.campo label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.campo input, .campo select { width: 100%; border: 1px solid var(--grey-line); border-radius: 8px; padding: 7px 9px; background: var(--input-bg); }
.campo input:focus, .campo select:focus { outline: 2px solid var(--blue-light); border-color: var(--blue); }
.campo input[readonly] { background: var(--grey); color: var(--muted); }
.campo.ancho { grid-template-columns: 1fr; }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ayuda { font-size: 12px; color: var(--muted); margin: 6px 0 10px; line-height: 1.45; }
.ayuda b { color: var(--navy); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill.ok { background: var(--green-light); color: var(--green-dark); }
.pill.warn { background: #FBEBD2; color: #7A4B06; }
.pill.err { background: #FBE1E1; color: #A12622; }
.pill.info { background: var(--blue-paler); color: var(--navy); }

/* zona de carga del PDF */
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 2px dashed var(--blue-light); border-radius: 14px; padding: 26px 18px 20px; text-align: center; background: var(--blue-paler); cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; outline: none; }
.dropzone:hover { border-color: var(--navy-mid); }
.dropzone:focus-visible { box-shadow: 0 0 0 3px rgba(24,153,90,.35); }
.dropzone.sobre { background: var(--green-pale); border-color: var(--green); border-style: solid; }
.dropzone.sobre .dz-titulo::after { content: ' · suéltalo'; color: var(--green); }
.dropzone input { display: none; }
.dropzone .dz-ico { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(20,35,92,.08); }
.dropzone.sobre .dz-ico { color: var(--green); }
.dropzone .dz-titulo { margin: 4px 0 0; color: var(--navy); font-weight: 600; font-size: 15px; }
.dropzone .dz-o { display: flex; align-items: center; gap: 10px; width: min(260px, 80%); color: var(--muted); font-size: 12px; }
.dropzone .dz-o::before, .dropzone .dz-o::after { content: ''; flex: 1; height: 1px; background: var(--blue-light); }
.dropzone small { color: var(--muted); max-width: 440px; }
.dropzone .dz-archivo { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; margin-top: 4px; background: #fff; border: 1px solid var(--grey-line); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--navy); font-weight: 600; }
.dropzone .dz-archivo[hidden] { display: none; }
.dropzone .dz-cambiar { color: var(--green-dark); text-decoration: underline; font-weight: 600; }
.resumen-imss { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 12px; font-size: 12.5px; }
.resumen-imss div b { display: block; color: var(--navy); font-size: 13.5px; }
.tabla { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 10px; }
.tabla th, .tabla td { border-bottom: 1px solid var(--grey-line); padding: 5px 6px; text-align: left; }
.tabla th { background: var(--grey); color: var(--navy); font-weight: 700; position: sticky; top: 0; }
.tabla td.num, .tabla th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tabla input { width: 100%; border: 1px solid transparent; background: transparent; padding: 3px 4px; border-radius: 6px; }
.tabla input:focus { border-color: var(--blue); background: #fff; outline: none; }
.tabla tr.concurrente td { background: #FBEBD2; }
.tabla-scroll { max-height: 280px; overflow: auto; border: 1px solid var(--grey-line); border-radius: 8px; }
.resultado-sdi { margin-top: 12px; padding: 12px; border-radius: 10px; background: var(--green-pale); border: 1px solid var(--green-light); }
.resultado-sdi .grande { font-size: 24px; font-weight: 800; color: var(--green-dark); }
.bloques { display: flex; gap: 3px; align-items: flex-end; height: 48px; margin-top: 8px; }
.bloques div { flex: 1; background: var(--green-mid); border-radius: 3px 3px 0 0; min-height: 3px; position: relative; }
.bloques div span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--muted); white-space: nowrap; }

/* ---------- informe ---------- */
.informe { --ink: #14235C; --muted: #5B6585; --grey-line: #E3E6EF; --grey: #F5F7FA; --navy: #14235C; --navy-soft: #EEF1F7; --blue: #2A3F8F; --blue-paler: #EEF1F7; --blue-light: #D7DEF2; --blue-mid: #D7DEF2; --blue-pale: #E4E9F7; --green: #18995A; --green-pale: #E3F6EC; --green-light: #CDEEDC; --green-mid: #34C77B; --green-dark: #15854F; --lime-soft: #FBEBD2; --cyan-soft: #EEF1F7; --teal-grey: #D7DEF2; color-scheme: light; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 30px 30px; min-width: 0; }
@media (max-width: 560px) { .informe { padding: 16px 14px 20px; } .seccion-cuerpo { padding: 12px 10px; } .layout { padding: 14px 16px 50px; } }
.informe-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; background: var(--navy-soft); border-left: 6px solid var(--green); border-radius: 12px; padding: 14px 20px; margin-bottom: 18px; }
.informe-cab h2 { font-size: 24px; color: var(--ink); letter-spacing: -.2px; }
.informe-cab img { height: 44px; width: auto; max-width: 46%; object-fit: contain; }
.informe-cab .marca svg { height: 44px; width: auto; max-width: 100%; }
.seccion { border: 1px solid var(--grey-line); border-radius: 12px; margin-bottom: 20px; overflow: hidden; page-break-inside: avoid; }
.seccion-titulo { padding: 10px 16px; font-size: 15.5px; font-weight: 700; background: var(--grey); border-bottom: 1px solid var(--grey-line); }
.seccion.mod40 .seccion-titulo { background: linear-gradient(90deg, var(--green) 0, var(--green) 6px, var(--green-pale) 6px); }
.seccion-cuerpo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px 22px; padding: 16px; }
@media (max-width: 760px) { .seccion-cuerpo { grid-template-columns: 1fr; } }
.cliente-nombre { grid-column: 1 / -1; display: grid; grid-template-columns: 150px 1fr; align-items: center; background: var(--teal-grey); border-radius: 10px; overflow: hidden; }
.cliente-nombre .lbl { padding: 10px 12px; font-weight: 700; font-size: 13px; }
.cliente-nombre .val { padding: 10px 12px; background: #fff; border: 1px solid var(--teal-grey); font-size: 15px; font-weight: 600; min-height: 42px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.kv > div { display: contents; }
.kv .k { padding: 7px 10px; border-bottom: 1px solid var(--grey-line); font-size: 12.5px; color: var(--ink); background: #fff; }
.kv .v { padding: 7px 10px; border-bottom: 1px solid var(--grey-line); font-size: 13px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.kv .k.link { color: var(--blue); text-decoration: underline; }
.kv .v.resaltado { background: var(--green-light); }
.kv .v.input { background: var(--cyan-soft); }
.kv .v.verde { background: var(--green-light); }
.kv .v.azul { background: var(--green-pale); }
.kv .v.verdeclaro { background: var(--green-light); }
.kv .v.lima { background: var(--lime-soft); font-weight: 800; }
.kv .v.azulclaro { background: var(--blue-pale); }
.kpis { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 10px; }
.kpi { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; }
.kpi .k { font-weight: 700; font-size: 13px; }
.kpi .v { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi.principal { background: var(--navy); color: #fff; }
.kpi.principal.mod40 { background: var(--green-dark); color: #fff; }
.kpi.inpc { background: var(--blue-light); }
.kpi.isr { background: var(--blue-mid); }
.kpi.isr.mod40 { background: var(--green-pale); }
.kpi.inpc .v, .kpi.isr .v { font-size: 16px; }
.grafico { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 10px; }
.grafico .tabla-edades { width: 100%; }
.grafico svg { width: 100%; max-width: 100%; height: auto; display: block; }
.grafico > div, .seccion-cuerpo > * { min-width: 0; }
.tabla-edades { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.tabla-edades th, .tabla-edades td { border: 1px solid var(--grey-line); padding: 4px 6px; text-align: center; }
.tabla-edades th:first-child, .tabla-edades td:first-child { text-align: left; font-weight: 700; }
.tabla-edades td.sel { background: var(--green-light); font-weight: 700; }
.nota { grid-column: 1 / -1; font-size: 11.5px; color: var(--ink); background: var(--grey); padding: 8px 12px; border-radius: 8px; line-height: 1.45; }
.nota b { color: var(--navy); }
.pie-seccion { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.avisos { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.aviso { font-size: 12px; padding: 7px 10px; border-radius: 8px; background: #FBEBD2; color: #6B4306; border: 1px solid #F3CF8E; }
.vacio { padding: 40px; text-align: center; color: var(--muted); }
.detalle { grid-column: 1 / -1; }
.detalle summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 12.5px; }
.detalle table { margin-top: 8px; }
.malla { grid-column: 1 / -1; }
.malla table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.malla th, .malla td { border: 1px solid var(--grey-line); padding: 5px 6px; text-align: center; }
.malla th { background: var(--grey); }
.malla td.actual { outline: 2px solid var(--navy); font-weight: 800; }
.malla td small { display: block; color: var(--muted); font-size: 10px; }
.pie-informe { margin-top: 14px; font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 50; }
.toast.visible { opacity: 1; }

/* ---------- flujo por pasos ---------- */
.flujo { max-width: 1480px; margin: 0 auto; padding: 18px 20px 60px; }
.pasos { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pasos li { flex: 1 1 150px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--panel); color: var(--muted); font-size: 12.5px; font-weight: 600; border: 1px solid var(--grey-line); min-width: 0; }
.pasos li .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grey); color: var(--muted); font-size: 11px; flex: none; }
.pasos li.activo { border-color: var(--green); color: var(--ink); box-shadow: 0 0 0 2px rgba(0,192,112,.18); }
.pasos li.activo .n { background: var(--green); color: #fff; }
.pasos li.hecho { color: var(--ink); }
.pasos li.omitido { opacity: .45; text-decoration: line-through; }
.pasos li.omitido.hecho .n { background: var(--grey); color: var(--muted); }
.pasos li.hecho .n { background: var(--navy); color: #fff; }
.vista[hidden], .pasos[hidden] { display: none; }
/* resumen básico del asegurado (entre los pasos y la tarjeta) */
.resumen-asegurado { display: flex; justify-content: flex-end; margin: -6px 0 14px; }
/* En pantallas anchas la tarjeta "Tus datos" va arriba a la derecha, al lado del contenido (sin dejar espacio vacío) */
@media (min-width: 1100px) {
  .resumen-asegurado { float: right; width: 270px; margin: 0 0 14px 16px; position: sticky; top: 12px; }
  .resumen-asegurado:not([hidden]) ~ .vista:not([hidden]) { display: flow-root; }
  .resumen-asegurado .tus-datos { width: 100%; }
}
.resumen-asegurado[hidden] { display: none; }
.tus-datos { text-align: right; background: var(--panel); border: 1px solid var(--grey-line); border-radius: 12px; box-shadow: 0 2px 10px rgba(20,35,92,.06); padding: 10px 14px; font-size: 12px; line-height: 1.5; color: var(--ink); max-width: 100%; }
.tus-datos .td-titulo { font-size: 10.5px; font-weight: 600; color: var(--green-dark); text-transform: uppercase; letter-spacing: .5px; }
.tus-datos .td-nombre { font-size: 13px; font-weight: 600; color: var(--navy); }
.tus-datos .td-linea { font-weight: 400; overflow-wrap: anywhere; }
.tus-datos .td-linea span { color: var(--muted); }
.validacion-250 { font-size: 12.5px; line-height: 1.5; margin: 12px 0 4px; padding: 9px 12px; border-radius: 10px; background: var(--green-pale); border: 1px solid var(--green-light); color: var(--ink); }
.validacion-250:empty { display: none; }
.validacion-250 .pill { margin-right: 4px; }
.subtitulo { font-size: 14px; margin: 16px 0 8px; color: var(--navy); }
.ayuda-campo { display: block; font-size: 11px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.kpi-nota { font-size: 11px; color: var(--muted); line-height: 1.4; padding: 2px 4px 0; }
.kpi-nota b { color: var(--navy); }
.tarjeta { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px 28px; min-width: 0; }
.tarjeta.centrada { max-width: 820px; margin: 0 auto; }
.tarjeta h2 { font-size: 20px; margin-bottom: 6px; color: var(--ink); }
.tarjeta .intro { color: var(--muted); margin: 0 0 16px; line-height: 1.5; max-width: 70ch; }
.botonera { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.botonera.entre { justify-content: space-between; }
.btn.grande { padding: 13px 22px; font-size: 16px; }
.subpasos { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.subpasos span { padding: 6px 12px; border-radius: 999px; background: var(--grey); color: var(--muted); font-size: 12px; font-weight: 700; }
.subpasos span.activo { background: var(--navy); color: #fff; }
.grid-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 18px; }
.grid-campos .campo { grid-template-columns: 1fr; gap: 4px; align-items: start; }
.grid-campos .campo label { font-size: 12px; }
.grid-campos .campo input[readonly] { background: var(--grey); color: var(--ink); border-style: dashed; cursor: not-allowed; }
.reconocido { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 14px; }
.reconocido div { background: var(--grey); border-radius: 8px; padding: 8px 10px; font-size: 12px; color: var(--muted); min-width: 0; }
.reconocido div b { display: block; color: var(--ink); font-size: 13.5px; overflow-wrap: anywhere; }
.pago .resumen-pago { max-width: 520px; margin: 0 auto 16px; border: 1px solid var(--grey-line); border-radius: 10px; overflow: hidden; }
.pago .resumen-pago div { display: flex; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--grey-line); font-size: 13.5px; }
.pago .resumen-pago div.total { background: var(--green-pale); font-size: 16px; border-bottom: 0; }
.pasarela { max-width: 520px; margin: 0 auto; text-align: center; }
.pasarela-demo { font-size: 12px; color: var(--muted); background: var(--blue-paler); border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.estado-pago { margin-top: 14px; min-height: 24px; font-weight: 600; }
.estado-pago .ok { color: var(--green-dark); }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--grey-line); border-top-color: var(--green); border-radius: 50%; animation: giro .8s linear infinite; vertical-align: middle; margin-right: 8px; }
@keyframes giro { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* diagnóstico */
.diag-estado { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 12px; margin-bottom: 18px; }
.diag-estado.si { background: var(--green-pale); border: 1px solid var(--green-light); }
.diag-estado.condicionado { background: #FBEBD2; border: 1px solid #F3CF8E; color: #4A3600; }
.diag-estado.no { background: #FBE1E1; border: 1px solid #F0B3B3; color: #5B1A16; }
.diag-estado .sello { font-size: 34px; }
.diag-estado h3 { font-size: 18px; margin-bottom: 4px; }
.requisitos { display: grid; gap: 8px; }
.requisito { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid var(--grey-line); border-radius: 10px; }
.requisito .marca { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 13px; }
.requisito .marca.ok { background: var(--green); } .requisito .marca.no { background: #C8463E; }
.requisito .nombre { font-weight: 700; } .requisito .valor { color: var(--muted); font-size: 12px; } .requisito .detalle { font-size: 12.5px; margin-top: 3px; line-height: 1.45; }
.lista-condiciones { margin: 10px 0 0; padding-left: 20px; line-height: 1.5; }

/* optimizador */
.opt-reco { margin-top: 14px; border: 2px solid var(--green); border-radius: 12px; padding: 12px; background: var(--green-pale); }
.opt-reco h4 { font-size: 13px; color: var(--green-dark); margin-bottom: 6px; }
.opt-reco .cifra { font-size: 22px; font-weight: 800; }
.opt-reco small, .opt-alt small { color: var(--muted); display: block; font-size: 11.5px; line-height: 1.4; }
.opt-alts { display: grid; gap: 8px; margin-top: 10px; }
.opt-alt { border: 1px solid var(--grey-line); border-radius: 10px; padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.opt-alt b { font-size: 13px; }
.tabla-escenarios { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.tabla-escenarios th, .tabla-escenarios td { border-bottom: 1px solid var(--grey-line); padding: 4px 6px; text-align: right; white-space: nowrap; }
.tabla-escenarios th:first-child, .tabla-escenarios td:first-child, .tabla-escenarios th:nth-child(2), .tabla-escenarios td:nth-child(2) { text-align: left; }
.tabla-escenarios tr.reco td { background: var(--green-pale); font-weight: 700; }
.tabla-escenarios tr.actual td { outline: 1px solid var(--navy); }
.mapa { width: 100%; border-collapse: collapse; font-size: 11px; }
.mapa th, .mapa td { border: 1px solid var(--grey-line); padding: 4px 5px; text-align: center; }
.mapa td.reco { outline: 2px solid var(--green); font-weight: 800; }

/* informes (pantalla) */
.tarjetas-informes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tarjeta-informe { border: 1px solid var(--grey-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.tarjeta-informe h3 { font-size: 15px; } .tarjeta-informe p { margin: 0; color: var(--muted); font-size: 12.5px; flex: 1; line-height: 1.45; }

/* ---------- pantalla de inicio ---------- */
.inicio { max-width: 820px; margin: 24px auto 40px; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 36px 34px; text-align: center; }
.inicio-logo { display: flex; justify-content: center; }
.inicio-logo svg { width: min(560px, 100%); height: auto; }
.inicio h2 { font-size: 26px; line-height: 1.22; margin: 22px auto 10px; max-width: 30ch; color: var(--ink); }
.inicio-sub { color: var(--muted); max-width: 60ch; margin: 0 auto 22px; line-height: 1.55; font-size: 15px; }
.inicio-pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 24px; text-align: left; }
.inicio-pasos > div { background: var(--grey); border-radius: 12px; padding: 14px 14px 12px; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto 1fr; gap: 4px 10px; align-items: start; align-content: start; }
.inicio-pasos .n { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; grid-row: span 2; }
.inicio-pasos b { font-size: 14px; color: var(--ink); }
.inicio-pasos small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.inicio-nota { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
@media (max-width: 560px) { .inicio { padding: 26px 18px; } .inicio h2 { font-size: 22px; } }
.pie-app { max-width: 1480px; margin: 0 auto; padding: 12px 20px 28px; font-size: 12px; color: var(--muted); text-align: center; }
.pie-app a { color: var(--navy); font-weight: 600; }

/* ---------- modal de consentimiento ---------- */
.modal { position: fixed; inset: 0; background: rgba(15, 22, 41, .62); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal[hidden] { display: none; }
.modal-caja { background: var(--panel); color: var(--ink); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); width: min(760px, 100%); max-height: 92vh; display: flex; flex-direction: column; padding: 22px 24px 20px; }
.modal-caja h2 { font-size: 20px; margin-bottom: 4px; }
.aviso-texto { overflow: auto; border: 1px solid var(--grey-line); border-radius: 10px; padding: 12px 16px; background: var(--grey); font-size: 12.5px; line-height: 1.55; min-height: 160px; max-height: 42vh; }
.aviso-texto h3 { font-size: 15px; margin: 0 0 8px; color: var(--navy); } .aviso-texto h4 { font-size: 13px; margin: 12px 0 4px; color: var(--navy); } .aviso-texto p { margin: 0 0 8px; }
.aviso-texto .aviso-version { color: var(--muted); font-size: 11px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 12px; font-size: 13px; line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.check.secundaria { margin-top: 8px; color: var(--muted); font-size: 12px; }
body.con-modal { overflow: hidden; }

/* ---------- visor de informes (paso 6) ---------- */
.visor { max-width: 1100px; margin: 18px auto 0; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px 18px; }
.visor[hidden] { display: none; }
.visor-barra { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.visor-barra b { font-size: 15px; color: var(--ink); }
.visor-doc { margin-top: 12px; background: #fff; color: #1d2433; border-radius: 10px; border: 1px solid var(--grey-line); padding: 18px 20px; overflow-x: auto; }
.tarjeta-informe.activa { border-color: var(--green); box-shadow: 0 0 0 2px rgba(0,192,112,.18); }

/* ---------- módulo de administración ---------- */
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-nav[hidden] { display: none; }
.admin-nav .btn.activo { background: var(--navy); color: #fff; }
.admin-nav .badge { display: inline-block; min-width: 18px; padding: 1px 6px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; margin-left: 4px; }
.admin-main .tarjeta { padding: 22px 24px 24px; }
.acceso { max-width: 460px; }
.admin-cab { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.kpis-admin { display: flex; gap: 8px; flex-wrap: wrap; }
.kpi-admin { background: var(--grey); border-radius: 10px; padding: 8px 12px; min-width: 96px; }
.kpi-admin small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; } .kpi-admin b { font-size: 18px; color: var(--ink); }
.filtros { display: grid; grid-template-columns: 2fr repeat(4, minmax(140px, 1fr)) auto; gap: 8px; margin: 12px 0; }
.filtros input, .filtros select { border: 1px solid var(--grey-line); border-radius: 8px; padding: 8px 10px; background: var(--input-bg); color: var(--ink); font-size: 13px; min-width: 0; }
@media (max-width: 900px) { .filtros { grid-template-columns: 1fr 1fr; } }
.tabla-scroll.alto { max-height: 62vh; }
.tabla.registros td, .tabla.registros th { white-space: nowrap; vertical-align: middle; }
.tabla.registros tr[data-id]:hover td { background: var(--green-pale); cursor: pointer; }
.tabla.registros small { color: var(--muted); font-size: 10.5px; }
.clase { display: inline-block; width: 22px; height: 22px; border-radius: 50%; text-align: center; line-height: 22px; font-weight: 800; font-size: 12px; color: #fff; background: #8A93B2; }
.clase.A { background: #18995A; } .clase.B { background: #2A3F8F; } .clase.C { background: #8A93B2; }
.notif { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--grey-line); border-left: 5px solid var(--blue); border-radius: 10px; margin-bottom: 8px; background: var(--panel); }
.notif.alta { border-left-color: #E8A33D; } .notif.media { border-left-color: #2A3F8F; } .notif.baja { border-left-color: #8A93B2; }
.notif.vencida { background: #FBEBD2; }
.notif-fecha b { display: block; } .notif-fecha small { color: var(--muted); }
.notif-cuerpo small { color: var(--muted); }
.ficha-cab { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; margin-bottom: 14px; }
.ficha-cab h2 { font-size: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ficha-contacto { display: flex; gap: 10px; flex-wrap: wrap; } .ficha-contacto a { color: var(--navy); font-weight: 600; text-decoration: none; background: var(--grey); padding: 6px 10px; border-radius: 8px; }
.ficha-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 1000px) { .ficha-grid { grid-template-columns: 1fr; } }
.ficha-grid .panel + .panel { margin-top: 0; }
.ficha-grid .campo { grid-template-columns: 1fr; gap: 3px; }
.momento { font-size: 12.5px; line-height: 1.5; background: var(--green-pale); border: 1px solid var(--green-light); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
.fila-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.fila-nota { display: grid; grid-template-columns: 110px 1fr 140px auto; gap: 6px; margin-bottom: 8px; }
.fila-nota input, .fila-nota select { border: 1px solid var(--grey-line); border-radius: 8px; padding: 7px 9px; background: var(--input-bg); color: var(--ink); font-size: 12.5px; min-width: 0; }
@media (max-width: 700px) { .fila-nota { grid-template-columns: 1fr 1fr; } }
.notas { max-height: 260px; overflow: auto; display: grid; gap: 6px; }
.nota-item { font-size: 12.5px; line-height: 1.45; border: 1px solid var(--grey-line); border-radius: 8px; padding: 7px 10px; }
.kv-admin { display: grid; gap: 4px; }
.kv-admin > div { display: grid; grid-template-columns: 170px 1fr; gap: 8px; font-size: 12.5px; padding: 4px 0; border-bottom: 1px solid var(--grey-line); }
.kv-admin span { color: var(--muted); font-weight: 600; } .kv-admin b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.chips-check { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-check label { font-size: 12px; background: var(--grey); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.modelo-cab h2 { font-size: 18px; margin-bottom: 4px; }
.informe-modelo { margin-top: 8px; }
.informe .opt-alts { margin-bottom: 8px; }
.informe .mapa { margin-bottom: 8px; }

/* ---------- documentos imprimibles ---------- */
.vista-doc { max-width: 1000px; margin: 20px auto; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 16px; }
.impresion { background: #fff; color: #14235C; }
.doc { --ink: #14235C; --muted: #5B6585; --grey-line: #E3E6EF; --grey: #F5F7FA; --navy: #14235C; --green: #18995A; --green-light: #CDEEDC; --green-dark: #15854F; --green-pale: #E3F6EC; --blue-paler: #EEF1F7; --blue-light: #D7DEF2; color-scheme: light; background: #fff; color: #14235C; max-width: 900px; margin: 0 auto; padding: 24px; font-size: 12.5px; line-height: 1.5; font-family: 'Sora', 'Segoe UI', Arial, Helvetica, sans-serif; }
.doc h1 { font-size: 22px; margin-bottom: 4px; } .doc h2 { font-size: 16px; margin: 18px 0 8px; color: var(--navy); border-bottom: 2px solid #18995A; padding-bottom: 4px; }
.doc h3 { font-size: 13.5px; margin: 12px 0 6px; } .doc p { margin: 0 0 8px; } .doc ul { margin: 0 0 8px; padding-left: 20px; }
.doc .cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #EEF1F7; border-left: 6px solid #18995A; border-radius: 10px; padding: 12px 18px; margin-bottom: 16px; }
.doc .cab .marca svg { height: 40px; width: auto; }
.doc .cab img { height: 40px; }
.doc .meta { font-size: 11px; color: #5f6b85; }
.doc table { width: 100%; border-collapse: collapse; font-size: 11.5px; margin: 6px 0 10px; }
.doc th, .doc td { border: 1px solid #d9dde5; padding: 4px 7px; text-align: left; vertical-align: top; }
.doc th { background: #f3f3f3; } .doc td.num, .doc th.num { text-align: right; font-variant-numeric: tabular-nums; }
.doc .kpi-fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.doc .kpi-doc { border-radius: 10px; padding: 10px 12px; background: #F5F7FA; } .doc .kpi-doc.verde { background: #14235C; color: #fff; } .doc .kpi-doc.azul { background: #15854F; color: #fff; }
.doc .kpi-doc .k { font-size: 11px; opacity: .85; } .doc .kpi-doc .v { font-size: 20px; font-weight: 800; }
.doc .caja { border: 1px solid #d9dde5; border-radius: 10px; padding: 10px 14px; margin: 8px 0; }
.doc .caja.verde { background: #E3F6EC; border-color: #CDEEDC; } .doc .caja.ambar { background: #FBEBD2; border-color: #F3CF8E; } .doc .caja.rojo { background: #FBE1E1; border-color: #F0B3B3; }
.doc .nota { font-size: 10.5px; color: #5f6b85; background: #f3f3f3; padding: 8px 10px; border-radius: 8px; }
.doc .pie { margin-top: 16px; font-size: 10.5px; color: #5f6b85; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #d9dde5; padding-top: 8px; }
.doc .salto { break-before: page; }
.doc .informe { box-shadow: none; padding: 0; }
.doc .seccion { break-inside: avoid; }

@media print {
  @page { size: A4 portrait; margin: 10mm 10mm; }
  html, body { background: #fff; font-size: 11px; }
  body.imprimiendo > :not(#impresion) { display: none !important; }
  #impresion { display: block !important; }
  .doc { max-width: none; padding: 0; }
  .doc .cab { padding: 8px 14px; } .doc .cab img { height: 30px; }
  .doc .seccion-cuerpo { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 6px 12px; padding: 8px 10px; }
  .doc .kv .k, .doc .kv .v { padding: 3px 7px; font-size: 9.5px; }
  .doc .kpi { padding: 4px 9px; } .doc .kpi .v { font-size: 14px; } .doc .kpi.inpc .v, .doc .kpi.isr .v { font-size: 11px; }
  .doc .grafico { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; } .doc .grafico svg { max-height: 150px; }
  .doc .tabla-edades { font-size: 8.5px; table-layout: fixed; }
  .doc .malla, .doc .detalle, .doc .avisos { display: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* marca: ícono y logotipo separados */
.marca-icono { display: inline-flex; } .marca-icono svg { width: 40px; height: 40px; display: block; }
.inicio-icono { display: flex; justify-content: center; margin-bottom: 22px; } .inicio-icono svg { width: 76px; height: 76px; filter: drop-shadow(0 8px 18px rgba(20,35,92,.18)); }
.inicio-logo svg { width: min(340px, 80%); }
.version { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .02em; }

/* ---------- plataforma interna: roles, panel, visitas ---------- */
.usuario-chip { display: inline-flex; flex-direction: column; line-height: 1.15; padding: 4px 10px; border-radius: 10px; background: var(--navy-soft); font-size: 12px; color: var(--ink); }
.usuario-chip[hidden] { display: none; } .usuario-chip small { color: var(--muted); font-size: 10.5px; }
.acceso { text-align: left; } .acceso-icono { display: flex; justify-content: center; } .acceso-icono svg { width: 72px; height: 72px; }
.acceso-logo { display: flex; justify-content: center; margin: 18px 0 14px; }
.acceso h2 { text-align: center; } .acceso .intro { text-align: center; margin-left: auto; margin-right: auto; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 16px; }
.tile { background: var(--grey); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.tile small { font-size: 11.5px; color: var(--muted); font-weight: 500; } .tile b { font-size: 24px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; } .tile span { font-size: 11px; color: var(--muted); }
.graficas { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.grafica-caja { border: 1px solid var(--grey-line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.grafica-caja h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.grafica { width: 100%; height: auto; display: block; }
.g-grid { stroke: var(--grey-line); stroke-width: 1; } .g-base { stroke: var(--muted); stroke-width: 1; opacity: .5; }
.g-eje { font-size: 10px; fill: var(--muted); font-family: inherit; }
.g-relleno { fill: var(--navy); }
.g-barra:hover .g-relleno { fill: var(--green); }
a.wa { display: inline-block; font-size: 10px; font-weight: 700; color: #fff; background: #18995A; border-radius: 6px; padding: 1px 5px; text-decoration: none; margin-left: 4px; }
.campo textarea { width: 100%; border: 1px solid var(--grey-line); border-radius: 8px; padding: 8px 10px; background: var(--input-bg); color: var(--ink); font: inherit; resize: vertical; }
.campo[hidden] { display: none; }
label.btn { display: inline-flex; align-items: center; }
.btn[disabled] { opacity: .45; }

@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- paso 1: botón y ventana del tutorial ---------- */
.pie-paso1 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; margin-top: 16px; }
.pie-paso1 > * { min-height: 62px; width: 100%; }
.pie-paso1 .botonera { margin: 0; display: flex; }
.pie-paso1 .botonera .btn { width: 100%; height: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 10px; font-size: 14px; padding: 9px 14px; box-shadow: 0 4px 12px rgba(24,153,90,.22); }
.pie-paso1 .botonera .btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.pie-paso1 .botonera .btn small { font-size: 11.5px; font-weight: 500; opacity: .92; }
.btn-tutorial { display: inline-flex; align-items: center; gap: 10px; background: #D92D20; color: #fff; border: 0; border-radius: 10px; padding: 9px 14px 9px 11px; cursor: pointer; text-align: left; font-family: inherit; box-shadow: 0 4px 12px rgba(217,45,32,.25); transition: background .15s, transform .15s; }
.btn-tutorial:hover { background: #B42318; transform: translateY(-1px); }
.btn-tutorial:focus-visible { outline: 3px solid rgba(217,45,32,.35); outline-offset: 2px; }
.btn-tutorial svg { flex: none; }
.btn-imss { display: inline-flex; align-items: center; gap: 10px; background: #14235C; color: #fff; border: 0; border-radius: 10px; padding: 9px 14px 9px 11px; text-decoration: none; box-shadow: 0 4px 12px rgba(20,35,92,.22); transition: background .15s, transform .15s; }
.btn-imss:hover { background: #2A3F8F; transform: translateY(-1px); }
.btn-imss:focus-visible { outline: 3px solid rgba(20,35,92,.3); outline-offset: 2px; }
.btn-imss svg { flex: none; }
.btn-imss span { display: flex; flex-direction: column; line-height: 1.2; }
.btn-imss b { font-size: 14px; }
.btn-imss small { font-size: 11.5px; color: #C9D3FF; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.btn-tutorial span { display: flex; flex-direction: column; line-height: 1.2; }
.btn-tutorial b { font-size: 14px; }
.btn-tutorial small { font-size: 11.5px; opacity: .92; font-weight: 500; }
.tutorial-caja { width: min(920px, 100%); padding: 16px 18px 18px; }
.tutorial-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.tutorial-cab h2 { font-size: 17px; margin: 2px 0 0; }
.tutorial-cerrar { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--grey-line); background: var(--grey); color: var(--navy); font-size: 15px; cursor: pointer; }
.tutorial-cerrar:hover { background: var(--navy-soft); }
.tutorial-video { position: relative; aspect-ratio: 16 / 9; background: #0E1840; border-radius: 10px; overflow: hidden; }
.tutorial-video iframe, .tutorial-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tutorial-vacio { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 24px; text-align: center; color: #EEF1F7; }
.tutorial-vacio b { font-size: 17px; } .tutorial-enlace { margin-top: 6px; background: #18995A; color: #fff; border-radius: 10px; padding: 9px 16px; font-weight: 600; text-decoration: none; } .tutorial-enlace:hover { background: #15854F; } .tutorial-vacio span { font-size: 13px; max-width: 520px; color: #C9D3FF; }
@media (max-width: 760px) { .pie-paso1 { grid-template-columns: 1fr; } .pie-paso1 > * { min-height: 62px; } }
.btn.pendiente { opacity: .55; }
.btn.pendiente:hover { opacity: .7; }
.dropzone.atencion { animation: dz-atencion 1.1s ease 2; border-color: #E8A33D; }
.dropzone.con-archivo { border-color: var(--green); }
@keyframes dz-atencion { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,163,61,0); } 50% { box-shadow: 0 0 0 6px rgba(232,163,61,.35); } }
.lateral .resumen-asegurado { float: none; width: auto; margin: 0 0 14px; position: static; display: block; }
.lateral .resumen-asegurado .tus-datos { width: 100%; }
.fin-proceso { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); font-size: 13.5px; line-height: 1.5; border-left: 4px solid var(--navy); }

/* ---------- paso 1: confirmación de carga, vigencia y solicitud de asesoría ---------- */
.carga-ok { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--green-pale); border: 1px solid var(--green-light); margin-top: 4px; }
.carga-ok-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; }
.carga-ok > div:not(.carga-ok-ico) { flex: 1; display: flex; flex-direction: column; gap: 2px; color: var(--navy); }
.carga-ok span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.aviso-vigencia { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #FBEBD2; border-left: 4px solid #E8A33D; color: #5A3A06; font-size: 13.5px; margin-top: 10px; }
.aviso-vigencia span { font-size: 12.5px; }
.ayuda-contacto { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--grey-line); font-size: 13px; color: var(--muted); }
.contacto-caja { width: min(520px, 100%); }
.grid-campos.una { grid-template-columns: 1fr; }
.contacto-ok-ico { width: 52px; height: 52px; margin: 6px auto 10px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
#contactoListo { text-align: center; }
#contactoListo a { color: var(--green-dark); }

/* ---------- menú de ejemplos (pruebas) ---------- */
.menu-ejemplo { position: relative; display: inline-block; }
.menu-ejemplo-lista { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, 92vw); background: #fff; border: 1px solid var(--grey-line); border-radius: 14px; box-shadow: 0 14px 40px rgba(20,35,92,.18); padding: 8px; z-index: 40; text-align: left; }
.me-titulo { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; padding: 6px 8px 8px; }
.menu-ejemplo-lista button { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 10px; cursor: pointer; font-family: inherit; color: var(--ink); }
.menu-ejemplo-lista button:hover, .menu-ejemplo-lista button:focus-visible { background: var(--grey); outline: none; }
.menu-ejemplo-lista b { font-size: 13.5px; }
.menu-ejemplo-lista small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.me-sello { align-self: flex-start; font-size: 10.5px; font-weight: 600; border-radius: 999px; padding: 2px 8px; }
.me-sello.si { background: var(--green-pale); color: var(--green-dark); }
.me-sello.cond { background: #FBEBD2; color: #7A4E0B; }
.me-sello.no { background: #FCE4E4; color: #A12C2C; }

/* ---------- alertas emergentes ---------- */
.modal-alerta { z-index: 80; }
.alerta-caja { position: relative; width: min(460px, 100%); text-align: center; padding: 34px 28px 24px; border-top: 6px solid #E8A33D; }
.modal-alerta.error .alerta-caja { border-top-color: #D92D20; }
.alerta-cerrar { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--grey); color: var(--navy); font-size: 24px; font-weight: 700; line-height: 1; cursor: pointer; }
.alerta-cerrar:hover { background: var(--navy-soft); }
.alerta-cerrar:focus-visible { outline: 3px solid rgba(20,35,92,.3); }
.alerta-ico { width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%; background: #FBEBD2; color: #B26B00; display: grid; place-items: center; font-size: 30px; font-weight: 800; }
.modal-alerta.error .alerta-ico { background: #FCE4E4; color: #D92D20; }
.alerta-caja h2 { font-size: 19px; margin: 0 0 8px; }
.alerta-caja p { font-size: 14.5px; line-height: 1.5; color: var(--ink); margin: 0 0 6px; }

/* ---------- hoja horizontal del informe del cliente (1123 × 794 px = A4 horizontal) ---------- */
.hoja-marco { position: relative; width: 100%; overflow: hidden; margin-top: 14px; border-radius: 14px; box-shadow: 0 10px 34px rgba(20,35,92,.16); background: #fff; }
.hoja-escala { transform-origin: 0 0; width: max-content; }
.hoja-escala:has(.hoja-v) { margin: 0 auto; }
.hoja { position: relative; width: 1123px; height: 794px; overflow: hidden; background: #FFFFFF; color: #14235C; font-family: 'Sora', 'Segoe UI', Arial, sans-serif; display: flex; flex-direction: column; }
.hoja-agua { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hoja-agua span { position: absolute; font-size: 54px; font-weight: 700; letter-spacing: .12em; color: #14235C; opacity: .035; transform: rotate(-24deg); white-space: nowrap; }
.hoja-agua-ico { position: absolute; right: -60px; bottom: -70px; width: 360px; height: 360px; opacity: .05; }
.hoja-agua-ico svg { width: 100%; height: 100%; }
.hoja > *:not(.hoja-agua) { position: relative; z-index: 1; }
.hoja-cab { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 40px 18px; background: linear-gradient(180deg, #1A2B6A, #0E1946); color: #FFFFFF; border-bottom: 5px solid #18995A; }
.hoja-logo svg { display: block; width: 270px; height: auto; }
.hoja-titulo { text-align: right; }
.hoja-titulo h1 { margin: 0; font-size: 30px; font-weight: 650; line-height: 1.12; color: #FFFFFF; letter-spacing: -.01em; }
.hoja-titulo h1 span { display: block; font-size: 20px; font-weight: 500; color: #34C77B; margin-top: 2px; }
.hoja-meta { margin-top: 8px; font-size: 11.5px; color: #C9D3FF; }
.hoja-cuerpo { flex: 1; display: grid; grid-template-columns: 270px 250px 1fr; gap: 18px; padding: 18px 40px 10px; min-height: 0; }
.hoja-col h3 { margin: 0 0 12px; font-size: 13px; font-weight: 650; color: #18995A; text-transform: uppercase; letter-spacing: .06em; }
.hoja-datos { background: #F5F7FA; border-radius: 16px; padding: 18px 18px 12px; }
.hd-nombre { font-size: 15.5px; font-weight: 650; line-height: 1.25; margin-bottom: 10px; color: #14235C; }
.hd-fila { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid #E3E6EF; font-size: 11.5px; }
.hd-fila span { color: #5B6585; }
.hd-fila b { font-weight: 600; text-align: right; color: #14235C; }
.hoja-kpis { display: flex; flex-direction: column; gap: 12px; }
.hk-principal { background: linear-gradient(160deg, #1A2B6A, #0E1946); color: #FFFFFF; border-radius: 16px; padding: 18px 18px 16px; position: relative; overflow: hidden; }
.hk-principal::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #18995A; }
.hk-principal span { display: block; font-size: 12px; color: #C9D3FF; }
.hk-principal b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; color: #FFFFFF; }
.hk-principal small { font-size: 12px; color: #34C77B; font-weight: 600; }
.hk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hk-grid div { background: #E3F6EC; border-radius: 12px; padding: 10px 11px; }
.hk-grid span { display: block; font-size: 10.5px; color: #15854F; line-height: 1.25; }
.hk-grid b { display: block; font-size: 16px; font-weight: 700; margin-top: 4px; color: #14235C; }
.hk-nota { font-size: 10px; color: #5B6585; line-height: 1.4; }
.hoja-grafica { border: 1px solid #E3E6EF; border-radius: 16px; padding: 16px 18px 12px; background: rgba(255,255,255,.9); }
.hoja-barras { display: block; width: 100%; height: auto; }
.hoja-tabla { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 11px; }
.hoja-tabla th, .hoja-tabla td { padding: 6px 4px; text-align: center; border-bottom: 1px solid #E3E6EF; }
.hoja-tabla th:first-child, .hoja-tabla td:first-child { text-align: left; color: #5B6585; font-weight: 500; }
.hoja-tabla th { font-weight: 650; color: #14235C; }
.hoja-tabla .sel { background: #E3F6EC; color: #15854F; font-weight: 700; }
.hoja-pie { padding: 0 40px 0; }
.hoja-pie p { margin: 0 0 10px; font-size: 10.5px; line-height: 1.45; color: #5B6585; }
.hoja-pie-barra { display: flex; justify-content: space-between; align-items: center; margin: 0 -40px; padding: 11px 40px; background: #14235C; color: #FFFFFF; font-size: 10.5px; letter-spacing: .04em; }
.hoja-pie-barra span:first-child { color: #34C77B; font-weight: 600; letter-spacing: .18em; }
.informe-acciones { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.informe-acciones .botonera { margin: 0; }
.hk-contacto { margin-top: auto; border: 1.5px solid #18995A; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; background: #FFFFFF; }
.hk-contacto b { font-size: 13px; color: #14235C; }
.hk-contacto span { font-size: 10.5px; color: #5B6585; line-height: 1.4; }
.hk-contacto .hk-wa { font-size: 12.5px; font-weight: 700; color: #15854F; white-space: nowrap; }
.tus-datos .td-logo { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--grey-line); display: flex; justify-content: center; }
.tus-datos .td-logo svg { width: 190px; max-width: 100%; height: auto; display: block; }
@media (max-width: 560px) { .topbar .marca, .topbar .marca svg { height: 50px; } .topbar .marca svg { width: 50px; } }
.hoja-m40 { margin: 0 40px 10px; display: flex; align-items: center; gap: 16px; border-radius: 16px; padding: 12px 20px; border: 2px solid; }
.hoja-m40 .m40-sello { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #FFFFFF; }
.hoja-m40 h2 { margin: 0 0 4px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.hoja-m40 ul { margin: 0; padding-left: 16px; font-size: 10.8px; line-height: 1.45; color: #14235C; }
.hoja-m40.si { background: #E3F6EC; border-color: #18995A; } .hoja-m40.si .m40-sello { background: #18995A; } .hoja-m40.si h2 { color: #15854F; }
.hoja-m40.condiciones { background: #FDF3DE; border-color: #E8A33D; } .hoja-m40.condiciones .m40-sello { background: #E8A33D; } .hoja-m40.condiciones h2 { color: #8A5A0B; }
.hoja-m40.no { background: #FCE8E6; border-color: #D92D20; } .hoja-m40.no .m40-sello { background: #D92D20; } .hoja-m40.no h2 { color: #B42318; }
.btn.azul { background: var(--navy); color: #fff; }
.asesoria-caja { position: relative; width: min(500px, 100%); text-align: center; padding: 30px 28px 22px; border-top: 6px solid #18995A; }
.asesoria-ico { display: flex; justify-content: center; margin-bottom: 10px; } .asesoria-ico svg { width: 64px; height: 64px; }
.asesoria-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.asesoria-botones .btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px 12px; font-size: 16px; text-decoration: none; border-radius: 14px; min-height: 86px; }
.asesoria-botones .btn span { font-size: 22px; }
.asesoria-botones .btn small { font-size: 12px; font-weight: 500; opacity: .9; }
@media (max-width: 480px) { .asesoria-botones { grid-template-columns: 1fr; } }

/* ---------- hoja horizontal del diagnóstico ---------- */
.hd-resultado { display: flex; align-items: center; gap: 22px; margin: 22px 40px 0; padding: 20px 26px; border-radius: 18px; border: 2px solid; }
.hd-sello { flex: none; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 38px; font-weight: 800; }
.hd-resultado h2 { margin: 0 0 6px; font-size: 27px; font-weight: 700; letter-spacing: -.01em; }
.hd-resultado p { margin: 0; font-size: 13px; color: #14235C; }
.hd-resultado.si { background: #E3F6EC; border-color: #18995A; } .hd-resultado.si .hd-sello { background: #18995A; } .hd-resultado.si h2 { color: #15854F; }
.hd-resultado.condiciones { background: #FDF3DE; border-color: #E8A33D; } .hd-resultado.condiciones .hd-sello { background: #E8A33D; } .hd-resultado.condiciones h2 { color: #8A5A0B; }
.hd-resultado.no { background: #FCE8E6; border-color: #D92D20; } .hd-resultado.no .hd-sello { background: #D92D20; } .hd-resultado.no h2 { color: #B42318; }
.hd-requisitos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 20px 40px 0; }
.hd-req { border-radius: 16px; padding: 18px 18px 16px; background: #F5F7FA; border-top: 5px solid; display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.hd-req b { font-size: 15px !important; } .hd-req span:last-child { font-size: 13px !important; }
.hd-req.ok { border-top-color: #18995A; } .hd-req.no { border-top-color: #D92D20; }
.hd-req-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.hd-req-ico { width: 36px; height: 36px; border-radius: 10px; background: #14235C; color: #FFFFFF; display: grid; place-items: center; font-size: 17px; font-weight: 700; }
.hd-req-marca { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-weight: 800; font-size: 15px; }
.hd-req.ok .hd-req-marca { background: #18995A; } .hd-req.no .hd-req-marca { background: #D92D20; }
.hd-req b { font-size: 14px; color: #14235C; }
.hd-req span:last-child { font-size: 12px; color: #5B6585; line-height: 1.35; }
.hd-abajo { flex: 1; display: grid; grid-template-columns: 1fr 330px; gap: 16px; margin: 18px 40px 12px; min-height: 0; }
.hd-lista { padding: 18px 24px; border-radius: 16px; background: #FFFFFF; border: 1px solid #E3E6EF; }
.hd-asesor { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(160deg, #1A2B6A, #0E1946); color: #FFFFFF; border-bottom: 5px solid #18995A; }
.hd-asesor-ico svg { width: 56px; height: 56px; display: block; }
.hd-asesor b { display: block; font-size: 16px; margin-bottom: 6px; }
.hd-asesor span { display: block; font-size: 12px; color: #C9D3FF; line-height: 1.45; }
.hd-asesor .hd-tel { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: #34C77B; white-space: nowrap; }
.hd-lista h3 { margin: 0 0 8px; font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: #18995A; }
.hd-lista.no h3 { color: #B42318; } .hd-lista.condiciones h3 { color: #8A5A0B; }
.hd-lista ul { margin: 0; padding-left: 20px; font-size: 14.5px; line-height: 1.7; color: #14235C; }
.hd-lista h3 { font-size: 14px !important; }

/* ---------- burbuja "Habla con un asesor" (debajo de Tus datos) ---------- */
.resumen-asegurado { flex-direction: column; align-items: flex-end; gap: 12px; }
.burbuja-asesor { width: 100%; max-width: 100%; background: linear-gradient(160deg, #1A2B6A, #0E1946); color: #FFFFFF; border-radius: 14px; padding: 14px; border-bottom: 4px solid #18995A; box-shadow: 0 6px 18px rgba(20,35,92,.18); box-sizing: border-box; }
.ba-cab { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.ba-cab svg { flex: none; width: 44px; height: 44px; }
.ba-cab b { display: block; font-size: 14px; line-height: 1.25; }
.ba-cab span { display: block; font-size: 11.5px; color: #C9D3FF; line-height: 1.35; margin-top: 2px; }
.ba-botones { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ba-botones .btn { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; padding: 10px 8px; font-size: 14px; border-radius: 10px; }
.ba-botones .btn small { font-size: 11px; font-weight: 500; opacity: .9; }
.ba-botones .btn.azul { background: #FFFFFF; color: #14235C; }
.burbuja-asesor .ba-estado { color: #E3F6EC; margin-top: 8px; font-size: 11.5px; }
.burbuja-asesor .ba-estado:empty { display: none; }
@media (max-width: 1099px) { .burbuja-asesor { max-width: 420px; } .ba-botones { grid-template-columns: 1fr 1fr; } }

/* ---------- V2: hojas sin logo en el encabezado, reporte completo de una hoja ---------- */
.hoja-cab-v2 { justify-content: space-between; padding: 18px 40px 16px; }
.hoja-cab-v2 .hoja-titulo { text-align: left; }
.hoja-cab-v2 .hoja-titulo h1 { font-size: 27px; }
.hoja-cab-v2 .hoja-meta { text-align: right; margin: 0; max-width: 46%; }
.hoja-diag .hd-resultado { margin-top: 16px; padding: 14px 22px; }
.hoja-diag .hd-resultado h2 { font-size: 23px; }
.hd-requisitos.v2 { grid-template-columns: repeat(5, 1fr); margin-top: 14px; gap: 12px; }
.hd-requisitos.v2 .hd-req { min-height: 118px; padding: 12px 12px 10px; }
.hd-requisitos.v2 .hd-req b { font-size: 12.5px !important; line-height: 1.25; } .hd-requisitos.v2 .hd-req span:last-child { font-size: 11.5px !important; }
.hd-abajo.v2 { grid-template-columns: 1.2fr 1fr; margin-top: 14px; }
.hd-abajo.v2 .hd-lista ul { font-size: 12px; line-height: 1.5; margin-bottom: 8px; }
.hd-pasos { margin: 0; font-size: 11.8px; line-height: 1.5; color: #14235C; }
.hd-transparencia { padding: 16px 20px; border-radius: 16px; background: #E3F6EC; border: 1px solid #CDEEDC; }
.hd-transparencia h3 { margin: 0 0 6px; font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: #15854F; }
.hd-transparencia p { margin: 0 0 8px; font-size: 11.5px; line-height: 1.5; color: #14235C; }
.hd-transparencia .hd-nota { background: #FFFFFF; border-radius: 10px; padding: 8px 10px; font-weight: 600; }
.rp-diag { display: flex; align-items: center; gap: 14px; margin: 14px 40px 0; padding: 10px 18px; border-radius: 14px; border: 2px solid; }
.rp-diag .rp-sello { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 20px; font-weight: 800; }
.rp-diag b { display: block; font-size: 15.5px; } .rp-diag span { display: block; font-size: 11.5px; color: #14235C; }
.rp-diag.si { background: #E3F6EC; border-color: #18995A; } .rp-diag.si .rp-sello { background: #18995A; } .rp-diag.si b { color: #15854F; }
.rp-diag.condiciones { background: #FDF3DE; border-color: #E8A33D; } .rp-diag.condiciones .rp-sello { background: #E8A33D; } .rp-diag.condiciones b { color: #8A5A0B; }
.rp-diag.no { background: #FCE8E6; border-color: #D92D20; } .rp-diag.no .rp-sello { background: #D92D20; } .rp-diag.no b { color: #B42318; }
.rp-cuerpo { flex: 1; display: grid; grid-template-columns: 1.15fr 1.25fr 0.8fr; gap: 14px; padding: 12px 40px 8px; min-height: 0; }
.rp-col { border: 1px solid #E3E6EF; border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.92); display: flex; flex-direction: column; gap: 8px; }
.rp-col h3 { margin: 0; font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: #18995A; }
.rp-kpi { background: linear-gradient(160deg, #1A2B6A, #0E1946); color: #FFFFFF; border-radius: 12px; padding: 10px 12px; border-bottom: 4px solid #18995A; }
.rp-kpi span { display: block; font-size: 11px; color: #C9D3FF; } .rp-kpi b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0; } .rp-kpi small { font-size: 10.5px; color: #34C77B; font-weight: 600; }
.rp-nota { font-size: 10.2px; color: #5B6585; line-height: 1.4; }
.rp-vacio { font-size: 11.5px; line-height: 1.5; color: #14235C; background: #F5F7FA; border-radius: 10px; padding: 10px 12px; }
.rp-m40-tope { font-size: 11.5px; color: #14235C; background: #E3F6EC; border-radius: 10px; padding: 8px 10px; }
.rp-tabla { width: 100%; border-collapse: collapse; font-size: 10.8px; }
.rp-tabla th, .rp-tabla td { padding: 5px 4px; text-align: right; border-bottom: 1px solid #E3E6EF; white-space: nowrap; }
.rp-tabla th:first-child, .rp-tabla td:first-child { text-align: left; }
.rp-tabla th { color: #5B6585; font-weight: 600; } .rp-tabla tr.sel td { background: #E3F6EC; color: #15854F; font-weight: 700; }
.rp-req { margin: 0; padding-left: 0; list-style: none; font-size: 10.5px; line-height: 1.5; color: #14235C; }
.rp-req li.no { color: #B42318; } .rp-req li.ok { color: #15854F; }
.rp-acuerdo { margin-top: auto; font-size: 9.6px; color: #5B6585; line-height: 1.35; border-top: 1px dashed #E3E6EF; padding-top: 6px; }
.rp-docs ul { margin: 0; padding-left: 16px; font-size: 11px; line-height: 1.5; color: #14235C; }
.rp-contacto { margin-top: auto; background: linear-gradient(160deg, #1A2B6A, #0E1946); color: #FFFFFF; border-radius: 12px; padding: 10px 12px; border-bottom: 4px solid #18995A; display: flex; flex-direction: column; gap: 3px; }
.rp-contacto b { font-size: 12.5px; } .rp-contacto span { font-size: 10.5px; color: #C9D3FF; } .rp-contacto .rp-tel { color: #34C77B; font-weight: 700; font-size: 12px; }
.hoja-rep .hoja-pie p { font-size: 9.6px; }
/* V2: pop-up de resultado y leyenda de transparencia */
.resultado-caja { position: relative; width: min(560px, 100%); padding: 30px 28px 22px; text-align: center; border-top: 8px solid; }
.resultado-caja.verde { border-top-color: #18995A; } .resultado-caja.amarillo { border-top-color: #E8A33D; } .resultado-caja.rojo, .resultado-caja.rojo97 { border-top-color: #D92D20; }
.res-sello { width: 70px; height: 70px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 36px; font-weight: 800; }
.resultado-caja.verde .res-sello { background: #18995A; } .resultado-caja.amarillo .res-sello { background: #E8A33D; } .resultado-caja.rojo .res-sello, .resultado-caja.rojo97 .res-sello { background: #D92D20; }
.resultado-caja h2 { font-size: 22px; margin: 0 0 6px; }
.resultado-caja.verde h2 { color: #15854F; } .resultado-caja.amarillo h2 { color: #8A5A0B; } .resultado-caja.rojo h2, .resultado-caja.rojo97 h2 { color: #B42318; }
.resultado-caja p { font-size: 14px; line-height: 1.5; margin: 0 0 10px; color: var(--ink); }
.res-lista { text-align: left; margin: 0 auto 12px; padding-left: 20px; font-size: 13px; line-height: 1.5; max-width: 460px; }
.res-datos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 14px; }
.res-datos div { background: var(--grey); border-radius: 10px; padding: 8px 10px; font-size: 12px; text-align: left; }
.res-datos b { display: block; font-size: 13.5px; }
.leyenda { background: #E3F6EC; border: 1px solid #CDEEDC; border-radius: 12px; padding: 10px 14px; font-size: 12.5px; line-height: 1.5; color: #14235C; text-align: left; margin: 12px 0 0; }
.leyenda b { color: #15854F; }
.burbuja-asesor .ba-cab svg { display: none; }
.rp-tabla tr.no-viable td { color: #9AA3B8; }

#sistemaV2 .panel-head h2 { font-size: 14px; color: #fff; margin: 0; }

/* ---------- "Calcula tu Pensión Ley 73 IMSS" (nov-2026): tarjetas extra, conclusión Mod 40 y guía de AFORE ---------- */
.hd-requisitos.v2.n6 { grid-template-columns: repeat(3, 1fr); }
.hd-requisitos.v2.n7 { grid-template-columns: repeat(4, 1fr); }
.hd-requisitos.v2.n7 .hd-req.destacado { grid-column: span 2; }
.hd-req.destacado { background: #E3F6EC; border-color: #18995A; }
.hd-req.destacado span { font-size: 1.15em; font-weight: 700; color: #0E6B3E; }
.rp-conclusion { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #E3F6EC; border: 1px solid #BFE8D2; color: #14235C; font-size: 11.5px; line-height: 1.4; }
.rp-conclusion b { color: #18995A; }
.enlace-ayuda { background: none; border: 0; padding: 0; color: #2A3F8F; text-decoration: underline; cursor: pointer; font: inherit; }
.afore-caja { position: relative; max-width: 620px; }
.afore-caja h2 { margin: 0 40px 10px 0; color: #14235C; }
.afore-pasos { margin: 12px 0; padding-left: 22px; display: grid; gap: 10px; color: #14235C; }
.afore-pasos a { display: inline-block; margin-top: 4px; color: #18995A; font-weight: 600; }

/* ---------- Paso 4: diagnóstico en pantalla con el color del resultado (después del pago) ---------- */
.pago-ley73 { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: #E3F6EC; border: 1px solid #BFE8D2; border-left: 6px solid #18995A; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-size: 13.5px; line-height: 1.45; color: #14235C; }
.pago-ley73 > span { flex: 0 0 30px; height: 30px; border-radius: 50%; background: #18995A; color: #fff; display: grid; place-items: center; font-weight: 800; }
.pago-ley73 b { display: block; color: #15854F; font-size: 15px; }
.diag-pantalla { --c: #18995A; --c-suave: #E3F6EC; --c-texto: #15854F; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #E3E7F0; border-top: 10px solid var(--c); box-shadow: 0 10px 30px rgba(20,35,92,.10); margin: 16px 0 0; }
.diag-pantalla.amarillo { --c: #E8A33D; --c-suave: #FDF3DE; --c-texto: #8A5A0B; }
.diag-pantalla.rojo, .diag-pantalla.rojo97 { --c: #D92D20; --c-suave: #FCE8E6; --c-texto: #B42318; }
.dp-cab { display: flex; gap: 22px; align-items: center; padding: 24px 30px; background: var(--c-suave); }
.dp-sello { flex: 0 0 92px; height: 92px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 50px; font-weight: 800; box-shadow: 0 0 0 8px rgba(255,255,255,.7); }
.dp-chip { display: inline-block; font-size: 12px; font-weight: 600; color: var(--c-texto); background: #fff; border: 1px solid var(--c); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.dp-titulos h3 { margin: 0 0 6px; font-size: 29px; line-height: 1.15; font-weight: 700; color: var(--c-texto); letter-spacing: -.01em; }
.dp-titulos p { margin: 0; font-size: 15.5px; line-height: 1.45; color: #14235C; }
.dp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px; padding: 22px 30px 8px; align-items: start; }
.dp-kpi { background: linear-gradient(135deg, #1A2B6A, #0E1946); color: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; }
.dp-kpi small { display: block; font-size: 13px; opacity: .85; }
.dp-kpi b { display: block; font-size: 38px; line-height: 1.1; font-weight: 700; margin: 2px 0 4px; }
.dp-kpi b span { font-size: 15px; font-weight: 500; opacity: .85; }
.dp-kpi em { font-style: normal; font-size: 12.5px; color: #34C77B; font-weight: 600; }
.dp-req { list-style: none; margin: 0; padding: 0; border: 1px solid #E3E7F0; border-radius: 14px; overflow: hidden; }
.dp-req li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; font-size: 14px; color: #14235C; }
.dp-req li + li { border-top: 1px solid #EEF1F7; }
.dp-req li.no { background: #FFF6F5; }
.dp-req-k { color: #5B6585; }
.dp-req b { font-weight: 700; text-align: right; }
.dp-marca { width: 24px; height: 24px; border-radius: 50%; background: #18995A; display: grid; place-items: center; }
.dp-req li.no .dp-marca { background: #D92D20; }
.dp-marca svg { width: 14px; height: 14px; }
.dp-der { background: #F7F8FB; border-radius: 16px; padding: 16px 18px 10px; }
.dp-der h4, .dp-lista h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: #14235C; }
.dp-barras { display: block; width: 100%; height: auto; font-family: Sora, Arial, sans-serif; }
.dp-cap { margin: 4px 0 0; font-size: 12.5px; color: #5B6585; }
.dp-avance { margin: 14px 0 6px; }
.dp-avance-cab { display: flex; justify-content: space-between; font-size: 14px; color: #14235C; margin-bottom: 6px; }
.dp-avance-barra { height: 14px; border-radius: 999px; background: #E3E7F0; overflow: hidden; }
.dp-avance-barra i { display: block; height: 100%; border-radius: 999px; background: var(--c); }
.dp-avance.cumple .dp-avance-barra i { background: #18995A; }
.dp-lista { margin: 14px 30px 0; border-left: 5px solid var(--c); background: var(--c-suave); border-radius: 12px; padding: 12px 16px; }
.dp-lista h4 { color: var(--c-texto); }
.dp-lista ul { margin: 0; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: #14235C; font-weight: 600; }
.dp-pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 30px 18px; font-size: 12px; color: #5B6585; }
.dp-pie span:first-child { color: #15854F; font-weight: 600; }
.dp-acciones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin: 16px 0 6px; }
.dp-vista-pdf { margin-top: 14px; }
.dp-vista-pdf summary { cursor: pointer; color: #2A3F8F; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
@media (max-width: 760px) {
  .dp-cab { flex-direction: column; text-align: center; padding: 20px 16px; }
  .dp-sello { flex-basis: auto; width: 76px; height: 76px; font-size: 40px; }
  .dp-titulos h3 { font-size: 23px; }
  .dp-grid { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .dp-lista { margin: 12px 16px 0; }
  .dp-pie { padding: 12px 16px 16px; }
  .dp-kpi b { font-size: 32px; }
  .dp-acciones { justify-content: stretch; } .dp-acciones .btn { flex: 1 1 100%; }
}

/* ---------- Reporte vertical (794 × 1123) con letra grande ---------- */
.hoja.hoja-v { width: 794px; height: 1123px; font-size: 15px; }
.hv-cab { display: flex; align-items: center; gap: 16px; padding: 22px 34px 20px; background: linear-gradient(180deg, #1A2B6A, #0E1946); color: #FFFFFF; border-bottom: 5px solid #18995A; }
.hv-ico svg { display: block; width: 58px; height: 58px; }
.hv-titulo { flex: 1; }
.hv-titulo h1 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.hv-titulo span { display: block; margin-top: 3px; font-size: 18px; font-weight: 500; color: #34C77B; }
.hv-meta { text-align: right; font-size: 13px; color: #C9D3FF; line-height: 1.5; max-width: 46%; }
.hv-meta b { display: block; color: #FFFFFF; font-size: 15px; }
.hv-meta span { display: block; }
.hv-diag { display: flex; align-items: center; gap: 16px; margin: 16px 34px 0; padding: 12px 18px; border-radius: 16px; border: 2px solid; }
.hv-sello { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 28px; font-weight: 800; }
.hv-diag small { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #5B6585; }
.hv-diag b { display: block; font-size: 21px; line-height: 1.25; }
.hv-diag.si { background: #E3F6EC; border-color: #18995A; } .hv-diag.si .hv-sello { background: #18995A; } .hv-diag.si b { color: #15854F; }
.hv-diag.condiciones { background: #FDF3DE; border-color: #E8A33D; } .hv-diag.condiciones .hv-sello { background: #E8A33D; } .hv-diag.condiciones b { color: #8A5A0B; }
.hv-diag.no { background: #FCE8E6; border-color: #D92D20; } .hv-diag.no .hv-sello { background: #D92D20; } .hv-diag.no b { color: #B42318; }
.hv-sec { margin: 14px 34px 0; }
.hv-sec h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 19px; font-weight: 700; color: #14235C; }
.hv-sec h3 i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: #18995A; color: #FFFFFF; display: grid; place-items: center; font-size: 16px; }
.hv-pen-fila { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; }
.hv-kpi { background: linear-gradient(160deg, #1A2B6A, #0E1946); color: #FFFFFF; border-radius: 16px; padding: 14px 18px; border-bottom: 5px solid #18995A; }
.hv-kpi small { display: block; font-size: 14px; color: #C9D3FF; }
.hv-kpi > b { display: block; font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 4px; }
.hv-kpi span { display: block; font-size: 13.5px; color: #34C77B; font-weight: 600; line-height: 1.45; }
.hv-kpi span b { color: #FFFFFF; }
.hv-datos { display: grid; grid-template-rows: repeat(3, 1fr); gap: 8px; }
.hv-datos div { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #F4F6FA; border-left: 5px solid #2A3F8F; border-radius: 10px; padding: 8px 14px; }
.hv-datos small { font-size: 13.5px; color: #5B6585; line-height: 1.25; }
.hv-datos b { font-size: 17px; color: #14235C; text-align: right; }
.hv-graf { margin-top: 10px; background: #F7F8FB; border-radius: 16px; padding: 10px 6px 4px; }
.hv-graf-t { display: block; padding: 0 12px; font-size: 14px; font-weight: 600; color: #14235C; }
.hv-cap { margin: 0 12px 6px; font-size: 13px; color: #5B6585; }
.hv-vacio { font-size: 15px; line-height: 1.55; color: #14235C; background: #F4F6FA; border-radius: 14px; padding: 14px 16px; }
.hv-tope { font-size: 15px; color: #14235C; background: #E3F6EC; border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
.hv-tabla { width: 100%; border-collapse: collapse; font-size: 15px; }
.hv-tabla th, .hv-tabla td { padding: 8px 8px; text-align: right; border-bottom: 1px solid #E3E6EF; white-space: nowrap; }
.hv-tabla th:first-child, .hv-tabla td:first-child { text-align: left; }
.hv-tabla th { color: #5B6585; font-weight: 600; font-size: 13.5px; }
.hv-tabla tr.sel td { background: #E3F6EC; color: #15854F; font-weight: 700; }
.hv-tabla tr.no-viable td { color: #9AA3B8; }
.hv-conclusion { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: #E3F6EC; border: 1px solid #BFE8D2; font-size: 14.5px; line-height: 1.5; color: #14235C; }
.hv-conclusion b { color: #15854F; }
.hv-req { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hv-req li { display: flex; gap: 10px; align-items: flex-start; background: #F4F6FA; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; line-height: 1.35; color: #14235C; }
.hv-req li > span { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #18995A; display: grid; place-items: center; margin-top: 1px; }
.hv-req li.no > span { background: #D92D20; }
.hv-req li b { display: block; font-size: 14px; }
.hv-req svg { width: 14px; height: 14px; }
.hv-acuerdo { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; color: #5B6585; }
.hv-final { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin: 14px 34px 0; align-items: stretch; }
.hv-final .hv-sec { margin: 0; }
.hv-docs ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hv-docs li { display: flex; gap: 12px; align-items: center; background: #F4F6FA; border-radius: 12px; padding: 9px 12px; font-size: 14.5px; line-height: 1.35; color: #14235C; }
.hv-doc-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #E3F6EC; display: grid; place-items: center; font-size: 18px; }
.hv-contacto { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.hv-logo { display: flex; justify-content: center; padding: 4px 0; }
.hv-logo svg { display: block; width: 220px; height: auto; }
.hv-asesor { background: linear-gradient(160deg, #1A2B6A, #0E1946); color: #FFFFFF; border-radius: 16px; padding: 16px 18px; border-bottom: 5px solid #18995A; display: flex; flex-direction: column; gap: 4px; }
.hv-asesor b { font-size: 18px; line-height: 1.25; }
.hv-asesor span { font-size: 14px; color: #C9D3FF; line-height: 1.4; }
.hv-asesor strong { font-size: 24px; color: #34C77B; margin-top: 6px; }
.hv-asesor small { font-size: 13px; color: #C9D3FF; }
.hv-pie { margin-top: auto; padding: 10px 34px 0; }
.hv-pie p { margin: 0 0 10px; font-size: 12px; line-height: 1.45; color: #5B6585; }
.hv-pie .hoja-pie-barra { margin: 0 -34px; padding: 11px 34px; font-size: 11px; }
.hojas-v { display: flex; flex-direction: column; gap: 28px; }
.hojas-v .hoja-v { box-shadow: 0 6px 24px rgba(20,35,92,.12); }
.hv-contacto { margin: 18px 34px 0; display: flex; flex-direction: column; gap: 12px; }
.hv-contacto .hv-logo svg { width: 260px; }
.hv-asesor { flex-direction: row; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; }
.hv-asesor > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.hv-tel { text-align: right; flex: none; }
.hv-tel strong { display: block; margin: 0; font-size: 26px; color: #34C77B; white-space: nowrap; }
.hv-tel small { font-size: 13px; color: #C9D3FF; }
.hv-docs li { font-size: 15px; }
.hv-pie .hoja-pie-barra { font-size: 10.5px; letter-spacing: .02em; white-space: nowrap; gap: 12px; }
.hv-pie .hoja-pie-barra span:first-child { letter-spacing: .1em; }
.hoja-v .hv-contacto { margin-top: auto; }
.hoja-v .hv-contacto + .hv-pie { margin-top: 16px; }
.hv-m40 .hv-vacio { font-size: 16px; }
.hv-m40 .hv-req li { font-size: 14.5px; } .hv-m40 .hv-req li b { font-size: 15px; }
.hv-acuerdo { font-size: 12.5px; }
.hv-datos b em { font-style: normal; font-weight: 500; font-size: 13.5px; color: #5B6585; }
.hv-rojo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; --c: #D92D20; }
.hv-avances { background: #F4F6FA; border-radius: 14px; padding: 4px 16px 10px; }
.hv-avances .dp-avance-cab { font-size: 15px; }
.hv-porque { background: #FCE8E6; border-left: 5px solid #D92D20; border-radius: 12px; padding: 12px 16px; }
.hv-porque b { color: #B42318; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; }
.hv-porque ul { margin: 6px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.5; color: #14235C; font-weight: 600; }
/* Reporte vertical: título del documento centrado y pie con logotipo + asesor en todas las hojas */
.hv-doc-titulo { margin: 16px 34px 0; text-align: center; font-size: 26px; font-weight: 700; color: #14235C; letter-spacing: -.01em; }
.hv-doc-titulo + .hv-diag { margin-top: 10px; }
.hv-pie2 { margin-top: auto; padding: 12px 34px 12px; display: flex; flex-direction: column; gap: 10px; }
.hv-pie2 .hv-nota { margin: 0; font-size: 12px; line-height: 1.45; color: #5B6585; }
.hv-pie2 .hv-logo { display: flex; justify-content: center; padding: 0; }
.hv-pie2 .hv-logo svg { width: 250px; height: auto; }
.hv-pie2 .hv-asesor { margin: 0; }
.hv-folio { text-align: center; font-size: 11.5px; color: #5B6585; }
/* Reporte vertical: descripciones, transparencia y bloque de Modalidad 40 */
.hv-desc { margin: -4px 0 10px; font-size: 14.5px; line-height: 1.5; color: #3F4A6B; }
.hv-diag p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: #14235C; }
.hv-transp { display: flex; gap: 14px; align-items: flex-start; margin: 12px 34px 0; padding: 12px 18px; border-radius: 14px; background: #E3F6EC; border: 1px solid #BFE8D2; }
.hv-transp-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #18995A; color: #FFFFFF; display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-top: 2px; }
.hv-transp b { color: #15854F; }
.hv-transp > div > b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.hv-transp ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: #14235C; }
.hv-m40-fila { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: stretch; margin-bottom: 10px; }
.hv-m40-fila .hv-tope { margin-bottom: 8px; }
.hv-m40-fila .hv-conclusion { margin-top: 0; }
.hv-kpi-m40 { display: flex; flex-direction: column; gap: 3px; }
.hv-kpi-m40 > b { font-size: 40px; }
.hv-kpi-m40 > b.txt { font-size: 28px; }
.hv-kpi-m40.neutro { border-bottom-color: #8A94B3; }
.hv-comp { display: grid; gap: 6px; margin: 6px 0 4px; }
.hv-comp > div { display: grid; grid-template-columns: 78px 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; }
.hv-comp em { font-style: normal; color: #C9D3FF; }
.hv-comp i { display: block; height: 12px; border-radius: 6px; background: rgba(255,255,255,.35); }
.hv-comp .con i { background: #34C77B; }
.hv-comp strong { font-size: 13px; color: #FFFFFF; }
.hv-pie2 { gap: 8px; padding-top: 8px; }
.hv-pie2 .hv-logo svg { width: 210px; }
.hv-pie2 .hv-asesor { padding: 14px 20px; }
.hv-doc-titulo { margin-top: 12px; font-size: 24px; }
.hv-transp { padding: 10px 16px; }
.hv-req { margin-top: 6px; }
.hv-docs li { padding: 8px 12px; }
/* Reporte en tamaño carta (como el reporte vigente de AUMENTA) */
.hoja.hoja-v { width: 816px; height: 1056px; }
.hv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.hv-stats div { background: #F3F0EA; border-radius: 12px; padding: 10px 14px; }
.hv-stats small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5B6585; }
.hv-stats b { display: block; font-size: 22px; color: #14235C; margin-top: 2px; }
.hv-pen-fila2 { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.hv-pen-fila2 .hv-kpi { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.hv-pen-fila2 .hv-graf { margin-top: 0; }
.hv-base { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: #3F4A6B; }
.hv-base b { color: #14235C; }
.hv-antes { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: #5B6585; }
.hv-folio { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #5B6585; }
.hv-folio b { color: #14235C; }
.hv-asesor { padding: 12px 20px; }
.hv-asesor span { font-size: 13.5px; }
.hv-tel strong { font-size: 24px; }
.hv-sec { margin-top: 10px; }
.hv-docs li { padding: 6px 12px; }
.hv-doc-ico { width: 30px; height: 30px; font-size: 16px; }
.hv-doc-titulo { margin-top: 10px; }
.hv-transp ul { font-size: 14px; line-height: 1.45; }
.hv-pie2 { gap: 6px; }
.hv-cab { padding: 16px 34px 14px; }
.hv-pie2 .hv-logo svg { width: 190px; }
.hv-transp { margin-top: 10px; padding: 8px 16px; }
.hv-transp > div > b { margin-bottom: 2px; }
/* Marca de agua: logotipo AUMENTA transparente por encima del contenido */
.hoja .hoja-agua { z-index: 20 !important; position: absolute !important; inset: 0; pointer-events: none; }
.hoja-agua span { position: absolute; width: 300px; opacity: .07; transform: rotate(-24deg); font-size: 0; letter-spacing: 0; color: transparent; }
.hoja-agua span svg { display: block; width: 300px; height: auto; }
.hv-folio { font-size: 10.5px; } .hv-folio span { white-space: nowrap; }
.hoja-agua span { opacity: .03; }
/* Bloque de Modalidad 40: verde, solo título y valor */
.hv-kpi-m40v { display: flex; flex-direction: column; justify-content: center; gap: 4px; border-radius: 16px; padding: 16px 20px; background: linear-gradient(160deg, #1EA866, #127A47); color: #FFFFFF; border-bottom: 5px solid #0E5F37; }
.hv-kpi-m40v small { font-size: 15px; color: #E3F6EC; }
.hv-kpi-m40v b { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.hv-kpi-m40v b.txt { font-size: 28px; }
.hv-m40-fila { grid-template-columns: minmax(0, 1fr) 260px; }
.hv-m40-fila { grid-template-columns: minmax(0, 1fr) 285px; }
.hv-kpi-m40v small { font-size: 14.5px; white-space: nowrap; }
/* Pie: logotipo dentro del recuadro azul del asesor, todo en una sola franja */
.hv-asesor.hv-asesor-1 { display: flex; flex-direction: row; align-items: center; gap: 20px; padding: 14px 22px; }
.hv-asesor-logo { flex: none; padding-right: 20px; border-right: 1px solid rgba(255,255,255,.25); }
.hv-asesor-logo svg { display: block; width: 170px; height: auto; }
.hv-asesor-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hv-asesor-txt b { font-size: 19px; line-height: 1.2; }
.hv-asesor-txt small { font-size: 13.5px; color: #C9D3FF; }
.hv-asesor-1 .hv-tel strong { font-size: 26px; }
