﻿:root {
    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Merriweather', 'Segoe UI', sans-serif;
    --co-blanco: #FFFFFF;
    --co-gris: #E9EDFC; /*red;*/ /*#F5F6FA;*/
    --co-amarillo: #FFB662;
    --co-morado: #6B5EB0;
    --co-negro: #16282d;
    --co-rojo: #F65C34;
    --co-verde: #4DC591;
    --co-naranjo: #FFB662;
    --co-plomo: #9F9F9F;
    --co-grisoscuro: #2d3e50;
    --co-rosado: #e67da5;
    /* --co-Principal la define css/theme.css (color de marca propio de este informe) */
    --co-Principal-strong: color-mix(in srgb, var(--co-Principal) 82%, #000 18%);
    --co-Principal-soft: color-mix(in srgb, var(--co-Principal) 12%, #fff 88%);
    --co-Principal-soft-2: color-mix(in srgb, var(--co-Principal) 22%, #fff 78%);
    --co-Principal-contrast: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: #282b2e;
}

a {
    color: var(--co-Principal);
}

    a:hover {
        color: var(--co-Principal);
        text-decoration: underline;
    }

b, strong {
    font-weight: 700;
}

.link {
    color: var(--co-negro);
}

.header {
    overflow: hidden;
    height: 54px;
    background-color: var(--co-negro);
    color: white;
    position: fixed;
    width: 100%;
    z-index: 10;
    box-shadow: 1px 1px 5px #6b6b6b;
}

#menu {
    margin-left: auto;
    margin-right: 20px;
    width: 40px;
    cursor: pointer;
}

#tituloprincipal {
    display: none;
    margin-left: 0;
}

#menu {
    display: flex;
}

#menuprincipal {
    display: none;
}

.liscirculo {
    padding-left: 0;
}








@media (min-width: 576px) {
    .cuadro {
        padding: 50px 15px;
    }

    .btn-underline, .btn-underline:hover {
        padding: 5px 20px;
    }

    #menu {
        display: none;
    }
    #tituloprincipal{
        display: inline-block;
    }

    #menuprincipal {
        display: none;
    }
}
@media (min-width: 768px) {
    .cuadro {
        padding: 50px 40px;
    }

    .liscirculo {
        padding-left: 40px;
    }

    .listroman {
        padding-left: 40px;
    }

    .btn-underline, .btn-underline:hover {
        padding: 5px 14px;
    }

    #tituloprincipal{
        display: inline-block;
    }

    #menuprincipal{
        display: inline-block;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}





.navi {
    background-color: rgba(22,40,45,.5);
    color: #fff;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 57px;
    left: -110%;
    transition: left .4s ease;
}

.navi-content {
    background-color: #16282d;
    color: #fff;
    height: 100vh;
    width: 75%;
}

a.navi-item {
    font-weight: bold;
}

.navi-item {
    padding: 20px;
    display: block;
    border-bottom: 1px solid #26373c;
    color: #fff !important;
}

.sinmargin {
    margin: 0;
}

.indicador {
    font-size: 3rem;
    color: black;
}

.liscirculo {
    font-size: 15px;
    font-weight: 400;
    list-style: none;
    counter-reset: lista-personcircle;
}

    .liscirculo > li {
        counter-increment: lista-personcircle;
        line-height: 2;
        padding-left: 35px;
        padding-bottom: 20px;
        position: relative;
    }

        .liscirculo > li::before {
            content: "\2022";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--co-Principal);
            display: inline-block;
            padding-right: 10px;
            font-size: 75px;
            line-height: 26px;
            width: 36px;
        }



.listroman {
    list-style: none;
    counter-reset: my-awesome-counter;
    padding-left: 0;
}

    .listroman > li {
        counter-increment: my-awesome-counter;
        padding-top: 20px;
        padding-left: 30px;
        border-left: 10px solid #ea4c88;
        padding-bottom: 30px;
    }

        .listroman > li::before {
            content: counter(my-awesome-counter,upper-roman) ". ";
            color: rgb(25, 25, 29);
            font-size: 2rem;
            font-weight: bold;
            width: 30px;
            display: block;
            line-height: 0.6;
        }

        .listroman > li:last-child {
            margin-bottom: 6rem;
        }



.lisnumero {
    list-style: none;
    counter-reset: lista-personalizada calc(var(--lista-inicio, 1) - 1);
    padding-inline-start: 0;
}

    .lisnumero > li {
        counter-increment: lista-personalizada 0;
        padding-left: 65px;
        padding-bottom: 40px;
        min-height: 100px;
        position: relative;
    }

        .lisnumero > li::before {
            content: counter(lista-personalizada);
            counter-increment: lista-personalizada;
            position: absolute;
            left: 0;
            top: 0;
            font-weight: bold;
            font-size: 40px;
            padding: 8px 8px 8px 5px;
            background: var(--co-Principal);
            color: white;
            height: 80px;
            width: 50px;
            text-align: center;
        }


ol {
    list-style-type: lower-alpha
}

    ol > li {
        padding-bottom: 1.5rem;
    }

        ol > li::marker {
            color: var(--co-Principal);
            font-weight: bold;
            font-size: 1.5rem;
        }

.listnone {
    list-style: none;
    padding-left: 0;
}

.font-15 {
    font-size: 1.5rem;
}

.font-2 {
    font-size: 2rem;
}

.font-3 {
    font-size: 3rem;
}




.pregunta {
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1;
}

aside {
    font-size: 18px;
    padding-top: 60px;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-xs {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.btn:hover {
    color: #212529;
    text-decoration: none;
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.btn-secundary {
    background: var(--co-Principal);
    background: linear-gradient( to right, color-mix(in srgb, var(--co-Principal) 88%, #ffffff 12%) 0%, var(--co-Principal) 100% );
    color: #fff;
    border: 1px solid color-mix(in srgb, var(--co-Principal) 80%, #000000 20%);
}
    .btn-secundary:hover {
        background: var(--co-Principal);
        background: linear-gradient( to right, color-mix(in srgb, var(--co-Principal) 95%, #ffffff 25%) 0%, var(--co-Principal) 100% );
        color: #fff;
    }

.btn-link{
    text-decoration: none;
}
.btn-link:hover{
    text-decoration: underline;
}
/* main{
    padding-top: 60px;
} */


nav p {
    border-bottom: 1px solid #ebebeb;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 0;
    font-size: 0.9rem;
    cursor: pointer;
}



    nav p:hover {
        background-color: #f1f1f1;
    }

    nav p.active {
        background-color: #e8e8e8;
        color: #383838;
        transition: all 0.2s ease;
        /* background-color: var(--co-Principal);
    color: #ffffff;
    transition: all 0.2s ease; */
    }

        nav p.active small {
            background-color: var(--co-Principal);
            color: white;
            padding: 0px 5px;
        }


nav small {
    font-weight: 600;
    font-size: 0.8rem;
    /* background-color: var(--co-Principal); */
    color: var(--co-Principal);
    /* padding: 0px 5px; */
}

#main {
    font-family: var(--font-body);
    padding-top: 54px;
}

.logo {
    display: block;
    width: auto;
    height: 54px;
    padding: 0;
}

/* h2{
    font-weight: 400;
    font-size: 2rem;
}

h3{
    font-weight: 300;
    font-size: 2.1rem;
    background-color: white;
    display: inline;
    line-height: 1.5;
    padding: 5px;
} */

/*textoss titulo stilos */
.text-home {
    font-weight: 400;
    font-size: 3rem;
    text-align: center;
    letter-spacing: 4px !important;
    position: relative;
    margin-bottom: 2.5rem;
}

    .text-home::after {
        content: "";
        width: 100px;
        height: 4px;
        background: var(--co-Principal);
        display: block;
        margin: 14px auto 0;
        border-radius: 5px;
    }

.text-titulo {
    color: #fff;
    font-weight: 300;
    font-size: 2.1rem;
    background-color: transparent;
    display: block;
    line-height: 1.25;
    margin: 0;
    padding: 14px 20px;
}

.text-titulo2 {
    color: var(--co-Principal);
    font-weight: bold;
    font-size: 2rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.text-titulo3 {
    color: var(--co-Principal);
    font-weight: bold;
    font-size: 1.4rem;
    padding-bottom: 2rem;
    padding-top: 1rem;
}

.text-figura {
    font-style: italic;
}


.scroll {
    overflow-y: scroll;
    height: 100%;
}

.scroll2 {
    overflow-y: auto;
    height: 100%;
}

.height125 {
    height: 125vh;
}

.height100 {
    height: 100vh;
    overflow: hidden;
}

.height50 {
    height: 50vh;
}

.height25 {
    height: 25vh;
}

.margin10 {
    margin-top: 10vh;
}

.margin25 {
    margin-top: 25vh;
}

.margin50 {
    margin-top: 35vh;
}

.margin75 {
    margin-top: 75vh;
}

.margin100 {
    margin-top: 100vh;
}

.img-fluid {
    /* width: 100%;
    height: auto; */
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.img-fuera {
    margin-left: -578px;
    transition: all 0.2s ease;
}

.padding-sm {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.padding-md {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.padding-xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}



.cuadro {
    padding: 50px 10px;
    border-radius: 3px;
    line-height: 1.6;
    background-color: rgba(256,256,256,0.95);
}

    .cuadro p {
        margin-bottom: 3rem;
    }

.btn-underline  {
    color: white;
    line-height: 24px;
    text-decoration: none;
    padding: 5px 20px;
}
    .btn-underline:hover {
        text-decoration: underline;
        color: white;
    }

.c-nav:hover {
    color: white;
    border-radius: 0;
    border-bottom: 2px solid white;
}

.bg-blue {
    background: var(--co-Principal);
    /* background: rgba(2,135,208,1); */
    /* background: -moz-linear-gradient(-45deg, rgba(2,135,208,1) 0%, rgba(0,103,176,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(2,135,208,1)), color-stop(100%, rgba(0,103,176,1)));
    background: -webkit-linear-gradient(-45deg, rgba(2,135,208,1) 0%, rgba(0,103,176,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(2,135,208,1) 0%, rgba(0,103,176,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(2,135,208,1) 0%, rgba(0,103,176,1) 100%);
    background: linear-gradient(135deg, rgba(2,135,208,1) 0%, rgba(0,103,176,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0287d0', endColorstr='#0067b0', GradientType=1 ); */
    color: white;
}

#seccion-1.bg-blue {
    background-color: var(--co-Principal);
    background-image: linear-gradient( color-mix(in srgb, var(--co-Principal) 90%, transparent), color-mix(in srgb, var(--co-Principal) 90%, transparent) ), var(--co-fondo); /*url("../img/fondo/fondo.png");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-grisazul {
    background-color: #f6f6ff;
}

.bg-azul {
    background-color: var(--co-Principal);
    transition: all 0.3s ease;
}

.title-left-row {
    margin-bottom: 18px;
}

    .title-left-row .bg-azul {
        position: relative;
    }

        .title-left-row .bg-azul::before {
            content: "";
            position: absolute;
            left: -14px;
            top: 50%;
            transform: translateY(-50%);
            width: 10px;
            height: 70%;
            background: #c45a1c;
        }
/* .bg-azul:hover{
    background-color: #0067b0;
    transition: all 0.3s ease;
} */

.bg-rosado {
    background: rgba(234,76,136,1);
    background: -moz-linear-gradient(-45deg, rgba(234,76,136,1) 0%, rgba(202,44,104,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(234,76,136,1)), color-stop(100%, rgba(202,44,104,1)));
    background: -webkit-linear-gradient(-45deg, rgba(234,76,136,1) 0%, rgba(202,44,104,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(234,76,136,1) 0%, rgba(202,44,104,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(234,76,136,1) 0%, rgba(202,44,104,1) 100%);
    background: linear-gradient(135deg, rgba(234,76,136,1) 0%, rgba(202,44,104,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ea4c88', endColorstr='#ca2c68', GradientType=1 );
    transition: all 0.3s ease;
}

    .bg-rosado:hover {
        background-color: #ca2c68;
        transition: all 0.3s ease;
    }

.bg-amarillo {
    background-color: #f39c12;
    transition: all 0.3s ease;
}

    .bg-amarillo:hover {
        background-color: #e67e22;
        transition: all 0.3s ease;
    }


h1 {
    font-size: 1.75rem;
    color: white
}

    h1 small {
        font-weight: 400;
        font-size: 0.7rem;
    }

.slider {
    position: sticky;
    top: 60px;
    padding-bottom: 20px;
}

.slider-mid {
    top: 50%;
}

.slider h1 {
    padding-top: 0;
    transform: translate3d(0, -50%, 0);
    transition: all 2.5s ease;
}


.animado {
    opacity: 0;
    transition: all 0.5s ease;
}

.mostrarArriba {
    animation: mostrarArriba 1s;
}

@keyframes mostrarArriba {
    0% {
        transform: translateY(60px);
    }

    100% {
        transform: translateY(0);
    }
}

.aparecer {
    padding-top: 100px !important;
    opacity: 0 !important;
    transition: all 2.5s ease;
}

.img-negativa {
    filter: grayscale(100%);
}

.tabladiv {
    width: 100%;
    overflow-x: auto;
    display: block;
}

.tabla {
    font-size: 0.8rem;
    display: table;
    width: inherit;
}

    .tabla tbody {
        vertical-align: top;
    }

    .tabla th {
        padding: 10px 10px 0 10px;
        border: 1px solid #929292;
        padding: 10px;
    }

    .tabla td {
        padding: 10px;
        border: 1px solid #ababab;
    }

.col-especial {
    font-size: 0.9rem;
    border: none;
}

.circle {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
}

.tamarillo {
    background-color: #f8f891;
}

.tverde {
    background-color: #d0edd0;
}

.trojo {
    background-color: #f39f9f;
}

.tazul {
    background-color: #467bad;
}


.p-decora {
    font-weight: bold;
    font-size: 50px;
    color: var(--co-Principal);
    line-height: 0;
}

.imagencuadro {
    padding-top: 15vh;
}

.report-sections {
    width: 100%;
}

.report-figure {
    margin: 3rem auto;
    max-width: 100%;
}

    .report-figure img {
        display: block;
        margin: 0 auto;
    }

    .report-figure figcaption {
        color: #2d3e50;
        font-size: .95rem;
        line-height: 1.5;
        margin: 14px auto 0;
        max-width: 920px;
    }

        .report-figure figcaption strong {
            color: var(--co-Principal);
        }

.tabla caption {
    caption-side: top;
    color: #1b1d1f;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 10px;
    text-align: left;
}

    .tabla caption strong {
        color: var(--co-Principal);
    }




#mainscroll::-webkit-scrollbar {
    width: 8px; /* Tamaño del scroll en vertical */
    height: 8px; /* Tamaño del scroll en horizontal */
    /*display: none;*/
    /* Ocultar scroll */
}

/* Ponemos un color de fondo y redondeamos las esquinas del thumb */
#mainscroll::-webkit-scrollbar-thumb {
    background: #83838b;
    border-radius: 4px;
}
    /* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
    #mainscroll::-webkit-scrollbar-thumb:hover {
        background: var(--co-Principal);
        ;
        box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    }
    /* Cambiamos el fondo cuando esté en active */
    #mainscroll::-webkit-scrollbar-thumb:active {
        background-color: #999999;
    }
/* Ponemos un color de fondo y redondeamos las esquinas del track */
#mainscroll::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 4px;
}
    /* Cambiamos el fondo cuando esté en active o hover */
    #mainscroll::-webkit-scrollbar-track:hover,
    #mainscroll::-webkit-scrollbar-track:active {
        background: #d4d4d4;
    }

.menu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin-right: 20px;
    padding: 0;
    position: relative;
    width: 44px;
}

    .menu-toggle.is-open img {
        opacity: 0;
    }

    .menu-toggle.is-open::before {
        content: "x";
        font-size: 34px;
        font-weight: 300;
        line-height: 1;
        position: absolute;
    }

#tituloprincipal {
    opacity: 1;
    transition: opacity .2s ease;
}

    #tituloprincipal.is-visible {
        opacity: 1;
        border-left: 1px solid;
    }

.navi {
    left: -110%;
}

    .navi.is-open {
        left: 0;
    }

#nav button {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ebebeb;
    color: inherit;
    cursor: pointer;
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    line-height: 1.35;
    padding-bottom: 1rem;
    padding-top: 1rem;
    text-align: left;
    transition: background-color .2s ease, color .2s ease;
    width: 100%;
}

    #nav button:hover,
    #nav button:focus-visible {
        background-color: #f1f1f1;
        outline: none;
    }

    #nav button.active {
        background-color: #e8e8e8;
        color: #383838;
    }

        #nav button.active small {
            background-color: var(--co-Principal);
            color: white;
            padding: 0 5px;
        }

.zoomable-image {
    cursor: zoom-in;
}

    .zoomable-image:focus-visible {
        outline: 3px solid var(--co-amarillo);
        outline-offset: 4px;
    }

.lightbox {
    align-items: center;
    background: rgba(8, 15, 18, .86);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 28px;
    position: fixed;
    z-index: 100;
}

    .lightbox.is-open {
        display: flex;
    }

.lightbox__figure {
    margin: 0;
    max-height: 92vh;
    max-width: min(1120px, 96vw);
}

.lightbox__image {
    background: #fff;
    display: block;
    max-height: 82vh;
    max-width: 100%;
    object-fit: contain;
}

.lightbox__caption {
    color: #fff;
    font-size: .95rem;
    line-height: 1.4;
    padding-top: 12px;
}

.lightbox__close {
    background: #fff;
    border: 0;
    border-radius: 3px;
    color: #16282d;
    cursor: pointer;
    font-size: 24px;
    height: 40px;
    line-height: 1;
    position: fixed;
    right: 22px;
    top: 22px;
    width: 40px;
}

.table-tools {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    margin: 8px 0 10px;
}

.table-tools__search {
    color: #2d3e50;
    display: grid;
    font-size: .85rem;
    font-weight: 600;
    gap: 4px;
    min-width: 0;
}

    .table-tools__search.is-hidden {
        display: none;
    }

.table-tools input {
    border: 1px solid #b8c0ca;
    border-radius: 3px;
    font: inherit;
    padding: 8px 10px;
    width: 100%;
}

.table-tools__copy {
    background: var(--co-Principal);
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    padding: 8px 12px;
    position: static !important;
    white-space: nowrap;
}

.tabla th {
    background: var(--co-Principal);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.tabla tbody tr:nth-child(even) {
    background: #fafafa;
}

.kpi-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 28px 0;
}

.kpi-card {
    background: #f7f9fc;
    border-left: 5px solid var(--co-Principal);
    border-radius: 4px;
    padding: 18px;
}

    .kpi-card span,
    .kpi-card small {
        color: #4b5a67;
        display: block;
        font-size: .75rem;
        line-height: 1.35;
    }

    .kpi-card strong {
        color: #16282d;
        display: block;
        font-size: 2rem;
        line-height: 1.15;
        margin: 6px 0;
    }

sup[data-tooltip] {
    color: var(--co-Principal);
    cursor: help;
    font-weight: 900;
    margin-left: 1px;
    position: relative;
    text-decoration: none;
}

.reference-tooltip {
    background: #16282d;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: .8rem;
    line-height: 1.35;
    max-width: 240px;
    padding: 8px 10px;
    pointer-events: none;
    position: fixed;
    width: max-content;
    z-index: 1000;
}

sup[data-tooltip]:hover,
sup[data-tooltip]:focus-visible {
    text-decoration: underline;
}

.data-figure {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 4px;
    padding: 18px;
}

.data-chart {
    display: block;
    height: auto;
    width: 100%;
}

    .data-chart rect {
        fill: var(--co-Principal);
    }

    .data-chart .chart-label {
        fill: #26373c;
        font-size: 14px;
        font-weight: 600;
    }

    .data-chart .chart-value {
        fill: #16282d;
        font-size: 13px;
        font-weight: 700;
    }

.chart-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 28px 0;
}

.chart-grid--two {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.chart-card {
    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(22, 40, 45, .08);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    padding: 15px;
}

    .chart-card:hover {
        box-shadow: 0 14px 30px rgba(22, 40, 45, .14);
    }

.chart-card__header {
    border-bottom: 1px solid #edf1f6;
}

    .chart-card__header h3 {
        color: var(--co-Principal);
        font-size: 1.1rem;
        font-weight: 800;
        margin: 0 0 6px;
    }

    .chart-card__header p {
        color: #4b5a67;
        font-size: .94rem;
        line-height: 1.45;
        margin: 0;
    }

.chart-frame {
    height: 360px;
    position: relative;
    margin-bottom: 15px;
}

.chart-card canvas {
    max-height: 100%;
}

.insight-band {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

    .insight-band article {
        background: #f7f9fc;
        border-top: 4px solid var(--co-Principal);
        border-radius: 4px;
        padding: 20px;
    }

    .insight-band h3 {
        color: #16282d;
        font-size: 1.1rem;
        font-weight: 800;
        margin: 0 0 10px;
    }

    .insight-band p {
        margin: 0;
    }

.goal-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.goal-card {
    background: #f5f9fc;
    border: 1px solid #dce8f2;
    border-radius: 6px;
    padding: 16px;
}

    .goal-card h3,
    .goal-list h3 {
        color: var(--co-Principal-strong);
        font-size: 1rem;
        margin: 0 0 10px;
    }

    .goal-card p,
    .goal-list li {
        font-size: .95rem;
        margin: 0;
    }

    .goal-card ul {
        margin: 0;
        padding-left: 18px;
    }

.goal-card--center {
    margin: 0 auto;
    max-width: 760px;
}

.nota-aclaratoria {
    background: #fff8ec;
    border: 1px solid #f0d9ad;
    border-left: 4px solid var(--co-amarillo);
    border-radius: 6px;
    padding: 14px 16px;
    margin: 0 0 18px;
}

    .nota-aclaratoria strong {
        color: var(--co-Principal-strong);
        display: block;
        font-size: .95rem;
        margin-bottom: 4px;
    }

    .nota-aclaratoria p {
        font-size: .9rem;
        line-height: 1.5;
        margin: 0;
    }

.split-insights {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-col h3 {
    color: var(--co-Principal-strong);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.split-col h4 {
    color: var(--co-Principal-strong);
    font-size: .97rem;
    margin: 0 0 6px;
}

.split-col article {
    border-bottom: 1px solid #e6edf4;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

    .split-col article p {
        margin: 0;
    }

.mini-table td,
.mini-table th {
    font-size: .9rem;
}



@media (max-width: 991px) {
    .margin50 {
        margin-top: 30vh;
    }

    .goal-grid,
    .split-insights {
        grid-template-columns: 1fr;
    }



    .table-tools {
        grid-template-columns: 1fr;
    }
}

@supports not selector(:has(*)) {
    .annex-detail .tabladiv {
        overflow-x: hidden;
    }
}

.annex-detail {
    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    margin: 16px 0;
    overflow: hidden;
}

    .annex-detail summary {
        align-items: center;
        cursor: pointer;
        display: flex;
        gap: 14px;
        justify-content: space-between;
        list-style: none;
        padding: 18px 20px;
    }

        .annex-detail summary::-webkit-details-marker {
            display: none;
        }

        .annex-detail summary::after {
            color: var(--co-Principal);
            content: "+";
            font-family: var(--font-heading);
            font-size: 1.7rem;
            font-weight: 700;
            line-height: 1;
        }

    .annex-detail[open] summary::after {
        content: "-";
    }

    .annex-detail summary span {
        color: #16282d;
        font-family: var(--font-heading);
        font-weight: 800;
    }

    .annex-detail summary small {
        color: #65727f;
        margin-left: auto;
    }

    .annex-detail .table-tools,
    .annex-detail .tabladiv {
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        max-width: 100%;
    }

    .annex-detail .tabladiv {
        max-height: 70vh;
        overflow: auto;
        padding-bottom: 18px;
        overflow-x: hidden;
    }

        .annex-detail .tabladiv:has(.annex-tabulator) {
            overflow-x: hidden;
        }

.tabulator-caption {
    color: var(--co-Principal-strong);
    font-size: .92rem;
    font-weight: 700;
    margin: 8px 0 10px;
}

.annex-tabulator {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

    .annex-tabulator .tabulator {
        border: 0;
        font-family: var(--font-body);
        font-size: .9rem;
        height: auto !important;
        min-height: 0 !important;
    }

    .annex-tabulator .tabulator-tableholder {
        background: #fff !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .annex-tabulator .tabulator-header {
        background: var(--co-Principal);
        border-bottom: 1px solid #dee2e6;
    }

    .annex-tabulator .tabulator-col {
        background: var(--co-Principal);
        border-right: 1px solid #e9ecef;
        color: #fff;
        font-weight: 700;
        padding: 0;
    }

.tabulator .tabulator-header .tabulator-col {
    background: var(--co-Principal) !important;
    color: #fff !important;
}

.annex-tabulator .tabulator-row {
    border-bottom: 1px solid #edf1f5;
}

    .annex-tabulator .tabulator-row:nth-child(even) {
        background: #f8f9fa;
    }

    .annex-tabulator .tabulator-row:hover {
        background: var(--co-Principal-soft);
    }

.tabulator-row.tabulator-selectable:hover {
    background: var(--co-Principal-soft) !important;
}

.annex-tabulator .tabulator-cell {
    border-right: 1px solid #eef2f6;
    font-size: .9rem;
    padding: 8px 10px;
    white-space: normal;
    word-break: break-word;
}

.annex-tabulator .tabulator-footer {
    background: var(--co-Principal);
    border-top: 1px solid color-mix(in srgb, var(--co-Principal) 80%, #000 20%);
    color: var(--co-Principal-contrast);
    font-size: .85rem;
    padding: 6px 8px;
}

.tabulator .tabulator-footer {
    background: color-mix(in srgb, var(--co-Principal) 80%, transparent) !important;
    color: #fff !important;
    padding: 10px;
}

.annex-tabulator .tabulator-page {
    background: color-mix(in srgb, var(--co-Principal) 78%, #fff 22%);
    border: 1px solid color-mix(in srgb, var(--co-Principal) 65%, #000 35%);
    border-radius: .25rem;
    color: var(--co-Principal-contrast);
    margin: 0 2px;
    min-width: 32px;
}

    .annex-tabulator .tabulator-page.active {
        background: #fff;
        border-color: #fff;
        color: var(--co-Principal);
    }

.tabulator .tabulator-footer .tabulator-page.active {
    color: #17282d !important;
    background: white !important;
}

.tabulator .tabulator-footer .tabulator-paginator {
    color: white !important;
}

.annex-tabulator .tabulator-footer .tabulator-page-size {
    background: #fff;
    border: 1px solid #fff;
    border-radius: .25rem;
    color: var(--co-Principal);
    padding: 2px 6px;
}






h1, h2, h3, h4,
.text-home,
.text-titulo,
.text-titulo2,
.text-titulo3,
#nav small,
.kpi-card strong {
    font-family: var(--font-heading);
    letter-spacing: 0;
}

/* body, p, li, td, th, button, input, small, figcaption, caption {
    font-family: var(--font-body);
} */
.header {
    font-family: var(--font-heading);
}

.annex-consolidated {
    background: #f7fbff;
    border: 1px solid #d9e6f2;
    border-radius: 8px;
    margin-bottom: 28px;
    padding: 18px;
}

.annex-consolidated__header h3 {
    color: var(--co-Principal);
    font-size: 1.35rem;
    margin: 0 0 6px;
}

.annex-consolidated__header p {
    margin: 0 0 14px;
}

.annex-filters {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 14px;
}

    .annex-filters label {
        color: #1f3242;
        display: grid;
        font-size: .85rem;
        font-weight: 700;
        gap: 4px;
    }

    .annex-filters select {
        border: 1px solid #b9c8d8;
        border-radius: 4px;
        font: inherit;
        min-height: 36px;
        padding: 6px 8px;
    }

.annex-kpis {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 14px;
}

.annex-kpi {
    background: #fff;
    border-left: 4px solid var(--co-Principal);
    border-radius: 6px;
    padding: 10px 12px;
}

    .annex-kpi span {
        color: #516273;
        display: block;
        font-size: .8rem;
    }

    .annex-kpi strong {
        color: #16282d;
        display: block;
        font-size: 1.25rem;
    }

.annex-viz-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    margin-bottom: 12px;
}

.annex-ranking {
    background: #fff;
    border: 1px solid #dbe6f1;
    border-radius: 6px;
    padding: 14px;
}

    .annex-ranking h3 {
        background: transparent;
        color: var(--co-Principal);
        display: block;
        font-size: 1rem;
        margin: 0 0 8px;
        padding: 0;
    }

    .annex-ranking ol {
        margin: 0;
        padding-left: 18px;
    }

    .annex-ranking li {
        margin-bottom: 7px;
    }

.annex-dynamic-table-wrap {
    background: #fff;
    border: 1px solid #dbe6f1;
    border-radius: 6px;
    padding: 12px;
}

@media (max-width: 991px) {
    .annex-viz-grid {
        grid-template-columns: 1fr;
    }
}

.annex-consolidated,
.annex-consolidated * {
    box-sizing: border-box;
}

.annex-filters > label {
    min-width: 0;
    width: 100%;
}

.annex-filters select {
    max-width: 100%;
    width: 100%;
}

/* Compactación de ranking del consolidador */
.annex-ranking {
    padding: 10px;
}

    .annex-ranking h3 {
        font-size: .92rem;
        margin: 0 0 5px;
    }

    .annex-ranking ol {
        margin: 0;
        padding-left: 15px;
    }

    .annex-ranking li {
        line-height: 1.25;
        margin-bottom: 4px;
    }

        .annex-ranking li strong {
            font-size: .9rem;
            font-weight: 700;
        }

        .annex-ranking li small {
            display: block;
            font-size: .74rem;
            line-height: 1.2;
        }

/* Compactación extra de ranking */
.annex-ranking {
    padding: 8px;
}

    .annex-ranking h3 {
        font-size: .86rem;
        margin: 0 0 4px;
    }

    .annex-ranking ol {
        padding-left: 13px;
    }

    .annex-ranking li {
        line-height: 1.15;
        margin-bottom: 2px;
    }

        .annex-ranking li strong {
            font-size: .84rem;
        }

        .annex-ranking li small {
            font-size: .7rem;
            line-height: 1.1;
        }

/* KPI números más visibles */
.annex-kpi strong {
    font-size: 1.45rem;
    line-height: 1.12;
}
