/* Ayuda de KPIs: ícono ⓘ junto al título y su ventana. Ver static/ayuda/ayuda.js. */
.def-i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 15px; height: 15px; margin-left: 5px; padding: 0;
    /* toma el color del título: se ve igual sobre fondo claro u oscuro */
    border: 1px solid currentColor; border-radius: 50%; background: transparent;
    color: inherit; opacity: .55; font: 700 10px/1 Georgia, serif; font-style: italic;
    text-transform: none; letter-spacing: 0; cursor: help; vertical-align: middle;
}
.def-i:hover, .def-i.abierto { opacity: 1; background: #1e3a5f; border-color: #1e3a5f; color: #fff; }
.def-pop {
    position: absolute; z-index: 9999; max-width: 340px; padding: 12px 14px;
    background: #fff; color: #1e293b; border: 1px solid #cbd5e1; border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
    font: 400 12.5px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
    text-transform: none; letter-spacing: 0; text-align: left; white-space: normal;
}
.def-pop h4 { margin: 0 22px 4px 0; font-size: 13px; font-weight: 700; color: #1e3a5f; }
.def-pop .corta { margin: 0 0 8px; font-weight: 600; }
.def-pop dl { margin: 0; }
.def-pop dt { margin-top: 6px; font-size: 10.5px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .4px; }
.def-pop dd { margin: 1px 0 0; }
.def-pop .pie { margin-top: 10px; font-size: 11px; }
.def-pop .pie a { color: #2563eb; text-decoration: none; }
.def-pop .cerrar {
    position: absolute; top: 6px; right: 8px; border: 0; background: none;
    font-size: 18px; line-height: 1; color: #94a3b8; cursor: pointer;
}
/* Celular: hoja inferior, a lo ancho */
@media (max-width: 640px) {
    .def-pop { position: fixed; left: 8px !important; right: 8px; top: auto !important; bottom: 8px; max-width: none; max-height: 60vh; overflow-y: auto; }
}
