/* ============================================================================
   CTH360 5.0 - Panel principal (Dashboard de Cumplimiento)

   1. Pantalla de carga: tarjeta "Preparando tu panel" con los pasos reales de la
      carga + esqueleto con la misma forma del panel y brillo que lo recorre.
   2. Entrada coreografiada cuando llegan los datos: el encabezado se revela,
      el saludo entra linea por linea, las alertas caen en cascada, las
      pestanas y las tarjetas suben una tras otra, los iconos "aterrizan",
      los numeros cuentan desde cero (js/cth-dash.js), la aguja del riesgo
      sube (GaugeRiesgo.razor) y las lineas del grafico se dibujan.
   3. Vida en reposo: estados de servicio, hover de tarjetas, listas.

   Solo se anima transform / opacity / filter / clip-path (no mueve el layout).
   Las entradas usan "backwards" para que al terminar no bloqueen el hover.
   Todo se apaga con prefers-reduced-motion (al final).
   Se carga despues de cth-tema.css en index.html.
   ============================================================================ */

.cth-dash,
.cth-dash-carga {
    --cth-dash-ease: cubic-bezier(.16, 1, .3, 1);       /* salida "expo": rapido y frena suave */
    --cth-dash-rebote: cubic-bezier(.34, 1.56, .64, 1); /* pequeno rebote */
    --cth-dash-navy: #0B3C82;
    --cth-dash-acento: #00B2FE;
    --cth-dash-exito: #10B981;
    --cth-dash-borde: var(--o-b-e5e7eb, #E5E7EB);
    /* Espera base de cada bloque en la primera entrada. Despues de la intro
       (clase cth-dash-listo, la pone cth-dash.js) vale 0: al cambiar de
       pestana el contenido aparece al instante, solo con su cascada propia. */
    --cth-base-tarjetas: 620ms;
    --cth-alertas-base: 380ms;
}

.cth-dash.cth-dash-listo {
    --cth-base-tarjetas: 0ms;
    --cth-alertas-base: 0ms;
}

/* ============================================================================
   1. Pantalla de carga
   ============================================================================ */
.cth-dash-carga {
    min-height: 70vh;
}

/* Tarjeta de estado */
.cth-carga-estado {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    background: var(--o-sup, #ffffff);
    border: 1px solid var(--cth-dash-borde);
    border-radius: 16px;
    padding: 16px 22px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px -18px rgba(11, 60, 130, .35);
    animation: cth-dash-subir .5s var(--cth-dash-ease) backwards;
}

.cth-carga-anillo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

    .cth-carga-anillo circle {
        fill: none;
        transform-box: fill-box;
        transform-origin: center;
    }

    .cth-carga-anillo .pista {
        stroke: var(--o-b-eef1f5, #EEF1F5);
        stroke-width: 4;
    }

    .cth-carga-anillo .arco {
        stroke-width: 4;
        stroke-linecap: round;
    }

    .cth-carga-anillo .arco-1 {
        stroke: var(--cth-dash-navy);
        stroke-dasharray: 38 88;
        animation: cth-dash-girar 1.1s linear infinite;
    }

    .cth-carga-anillo .arco-2 {
        stroke: var(--cth-dash-acento);
        stroke-dasharray: 22 60;
        animation: cth-dash-girar 1.6s linear infinite reverse;
    }

    .cth-carga-anillo .punto {
        fill: var(--cth-dash-acento);
        animation: cth-dash-latir 1.2s ease-in-out infinite;
    }

.cth-carga-textos {
    flex: 1 1 260px;
    min-width: 0;
}

.cth-carga-titulo {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--o-marca, var(--cth-dash-navy));
    letter-spacing: -.01em;
}

/* Cada paso nuevo entra deslizandose (el elemento se re-crea con @key). */
.cth-carga-paso {
    font-size: .85rem;
    color: var(--o-txt-3, #6B7280);
    margin: 2px 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: cth-dash-texto .45s var(--cth-dash-ease) backwards;
}

.cth-carga-barra {
    position: relative;
    height: 6px;
    border-radius: 50px;
    background: var(--o-f-eef1f5, #EEF1F5);
    overflow: hidden;
}

    .cth-carga-barra > span {
        position: absolute;
        inset: 0 auto 0 0;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--cth-dash-navy), var(--cth-dash-acento));
        transition: width .7s var(--cth-dash-ease);
        overflow: hidden;
    }

        /* Brillo que recorre la parte ya cargada. */
        .cth-carga-barra > span::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, var(--o-f-ffffffa55, rgba(255, 255, 255, .55)), transparent);
            transform: translateX(-100%);
            animation: cth-dash-barrido 1.3s ease-in-out infinite;
        }

/* Puntos de pasos: verde = hecho, celeste latiendo = el actual. */
.cth-carga-pasos {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .cth-carga-pasos li {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--cth-dash-borde);
        transition: background-color .35s ease, transform .35s var(--cth-dash-rebote);
    }

        .cth-carga-pasos li.hecho {
            background: var(--cth-dash-exito);
            transform: scale(1.05);
        }

        .cth-carga-pasos li.actual {
            background: var(--cth-dash-acento);
            transform: scale(1.25);
            animation: cth-dash-halo 1.4s ease-out infinite;
        }

/* Esqueleto */
.cth-esq {
    background: var(--o-sup, #ffffff);
    border: 1px solid var(--cth-dash-borde);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    animation: cth-dash-subir .55s var(--cth-dash-ease) backwards;
    animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}

.cth-esq-linea,
.cth-esq-foto,
.cth-esq-alerta,
.cth-esq-numero,
.cth-esq-medidor,
.cth-esq-grafico {
    display: block;
    max-width: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--o-f-eef1f5, #EEF1F5) 0%, var(--o-f-f8fafc, #F8FAFC) 45%, var(--o-f-eef1f5, #EEF1F5) 90%);
    background-size: 220% 100%;
    animation: cth-dash-brillo 1.5s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 120ms);
}

.cth-esq-linea {
    height: 10px;
}

    .cth-esq-linea.grande {
        height: 20px;
    }

.cth-esq-cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-left: 5px solid var(--o-b-dce6f4, #DCE6F4);
}

.cth-esq-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.cth-esq-fotos {
    display: flex;
    gap: 14px;
}

.cth-esq-foto {
    width: 62px;
    height: 76px;
    border-radius: 10px;
}

.cth-esq-alertas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.cth-esq-alerta {
    height: 46px;
    border-radius: 10px;
    animation-delay: calc(var(--j, 0) * 90ms);
}

.cth-esq-pestanas {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cth-esq-rejilla {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

    .cth-esq-rejilla .cth-esq {
        margin: 0;
    }

.cth-esq-tarjeta {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 150px;
}

    .cth-esq-tarjeta.alta {
        min-height: 330px;
    }

    .cth-esq-tarjeta.ancha {
        grid-column: span 8;
    }

.cth-esq-numero {
    width: 96px;
    height: 44px;
    margin: 18px auto 0;
    border-radius: 10px;
}

.cth-esq-medidor {
    width: 200px;
    height: 200px;
    margin: 24px auto 0;
    border-radius: 50%;
    /* Solo el aro: se recorta el centro. */
    -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
    mask: radial-gradient(circle, transparent 58%, #000 59%);
}

.cth-esq-grafico {
    flex: 1;
    min-height: 220px;
    border-radius: 12px;
}

/* ============================================================================
   2. Entrada coreografiada
   ============================================================================ */

/* --- Encabezado: se revela de izquierda a derecha y lo cruza un brillo. --- */
.cth-dash .cth-dash-cabecera {
    animation: cth-dash-revelar .8s var(--cth-dash-ease) backwards;
}

    .cth-dash .cth-dash-cabecera::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(100deg, transparent 30%, rgba(0, 178, 254, .10) 50%, transparent 70%);
        transform: translateX(-100%);
        animation: cth-dash-barrido 1.4s .45s var(--cth-dash-ease) both;
    }

/* Saludo, empresa, titulo y datos: linea por linea. */
.cth-dash .cth-dash-saludo > * {
    animation: cth-dash-texto .6s var(--cth-dash-ease) backwards;
}

    .cth-dash .cth-dash-saludo > *:nth-child(1) { animation-delay: .12s; }
    .cth-dash .cth-dash-saludo > *:nth-child(2) { animation-delay: .2s; }
    .cth-dash .cth-dash-saludo > *:nth-child(3) { animation-delay: .28s; }
    .cth-dash .cth-dash-saludo > *:nth-child(4) { animation-delay: .36s; }

.cth-dash .cth-dash-meta > * {
    animation: cth-dash-pop .45s var(--cth-dash-rebote) backwards;
}

    .cth-dash .cth-dash-meta > *:nth-child(1) { animation-delay: .42s; }
    .cth-dash .cth-dash-meta > *:nth-child(2) { animation-delay: .47s; }
    .cth-dash .cth-dash-meta > *:nth-child(3) { animation-delay: .52s; }
    .cth-dash .cth-dash-meta > *:nth-child(4) { animation-delay: .57s; }
    .cth-dash .cth-dash-meta > *:nth-child(5) { animation-delay: .62s; }

/* La mano saluda dos veces. */
.cth-dash .cth-dash-mano {
    display: inline-block;
    transform-origin: 70% 75%;
    animation: cth-dash-saludar 1.5s .7s ease-in-out both;
}

/* Marca de agua: entra girando y luego flota despacio. */
.cth-dash .cth-dash-marca {
    animation: cth-dash-marca-entrada 1.1s .2s var(--cth-dash-ease) backwards,
               cth-dash-flotar 9s 1.4s ease-in-out infinite;
}

/* Cinta de profugos y noticias: llega desde la derecha (componentes en Pages/LocalVersion/Noticias). */
.cth-dash .cth-dash-ticker {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 780px;
    max-width: 100%;
    min-width: 0;
    margin-right: 12px;
    flex-shrink: 1;
    animation: cth-dash-desde-derecha .7s .32s var(--cth-dash-ease) backwards;
}

.cth-dash .cth-dash-interruptor .mud-typography {
    font-size: .8rem;
    font-weight: 600;
    color: var(--o-txt-2, #475569);
}

/* --- Centro de alertas (las tarjetas usan --cth-alertas-base, ver PanelAlertas.razor.css). --- */
.cth-dash .cth-alertas {
    animation: cth-dash-subir .6s .22s var(--cth-dash-ease) backwards;
}

.cth-dash .cth-alertas-total {
    display: inline-block;
    animation: cth-dash-pop .5s .55s var(--cth-dash-rebote) backwards;
}

.cth-dash .cth-alertas-pildora {
    animation: cth-dash-pop .45s var(--cth-dash-rebote) backwards;
}

    .cth-dash .cth-alertas-pildora:nth-child(1) { animation-delay: .6s; }
    .cth-dash .cth-alertas-pildora:nth-child(2) { animation-delay: .68s; }
    .cth-dash .cth-alertas-pildora:nth-child(3) { animation-delay: .76s; }

/* --- Pestanas: la barra sube y cada pestana cae en su lugar. --- */
.cth-dash .cth-tabs {
    animation: cth-dash-subir .6s .48s var(--cth-dash-ease) backwards;
}

    .cth-dash .cth-tabs .mud-tab {
        animation: cth-dash-caer .45s var(--cth-dash-ease) backwards;
        transition: color .2s ease, background-color .25s ease;
    }

        .cth-dash .cth-tabs .mud-tab:nth-child(1) { animation-delay: .56s; }
        .cth-dash .cth-tabs .mud-tab:nth-child(2) { animation-delay: .62s; }
        .cth-dash .cth-tabs .mud-tab:nth-child(3) { animation-delay: .68s; }
        .cth-dash .cth-tabs .mud-tab:nth-child(4) { animation-delay: .74s; }

        .cth-dash .cth-tabs .mud-tab .mud-icon-root {
            transition: transform .3s var(--cth-dash-rebote);
        }

        .cth-dash .cth-tabs .mud-tab:hover .mud-icon-root,
        .cth-dash .cth-tabs .mud-tab.mud-tab-active .mud-icon-root {
            transform: scale(1.15);
        }

    /* Al cambiar de pestana, el contenido nuevo entra suave. */
    .cth-dash .cth-tabs .mud-tabs-panels > * {
        animation: cth-dash-aparecer .4s var(--cth-dash-ease) backwards;
    }

/* --- Tarjetas: suben en cascada con una leve inclinacion 3D. ---
   (Mas especifico que ".page-fade .mud-grid-item:nth-child(n) > .mud-card" de cth-tema.css.) */
.cth-dash .mud-grid > .mud-grid-item:nth-child(1) { --n: 0; }
.cth-dash .mud-grid > .mud-grid-item:nth-child(2) { --n: 1; }
.cth-dash .mud-grid > .mud-grid-item:nth-child(3) { --n: 2; }
.cth-dash .mud-grid > .mud-grid-item:nth-child(4) { --n: 3; }
.cth-dash .mud-grid > .mud-grid-item:nth-child(5) { --n: 4; }
.cth-dash .mud-grid > .mud-grid-item:nth-child(6) { --n: 5; }
.cth-dash .mud-grid > .mud-grid-item:nth-child(n+7) { --n: 6; }

/* Momento en que aparece la tarjeta de cada celda. Se declara en la celda (no en
   .cth-dash) porque var() se resuelve donde se declara: ahi ya existe --n. */
.cth-dash .mud-grid > .mud-grid-item {
    --cth-t: calc(var(--cth-base-tarjetas) + var(--n, 0) * 110ms);
}

    /* Rejillas dentro de una tarjeta (p. ej. "Actividad Global"): heredan el momento de su tarjeta. */
    .cth-dash .mud-card .mud-grid > .mud-grid-item {
        --cth-t: inherit;
    }

    .cth-dash .mud-grid > .mud-grid-item > .mud-card.cth-card-outlined,
    .cth-dash .mud-grid > .mud-grid-item > .mud-paper.cth-card-outlined {
        animation: cth-dash-tarjeta .8s var(--cth-dash-ease) backwards;
        animation-delay: var(--cth-t);
        transition: transform .3s var(--cth-dash-ease), box-shadow .3s ease, border-color .3s ease;
        will-change: transform;
    }

        /* La tarjeta del monitor que parpadea en rojo conserva su latido despues de entrar. */
        .cth-dash .mud-grid > .mud-grid-item > .mud-card.cth-card-outlined.cth-card-pulse-error {
            animation: cth-dash-tarjeta .8s var(--cth-dash-ease) backwards, pulse-card-error 1.5s infinite;
            animation-delay: var(--cth-t), calc(var(--cth-t) + .8s);
        }

        .cth-dash .mud-grid > .mud-grid-item > .mud-card.cth-card-outlined:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 34px -20px rgba(11, 60, 130, .45) !important;
            border-color: rgba(0, 178, 254, .45) !important;
        }

/* ============================================================================
   Tarjetas 5.0 (guia de estilo: superficie blanca, radio 16px, borde #E5E7EB
   suave, sombra difusa azulada, titulo con icono en cuadro de color).
   ============================================================================ */
.cth-dash .cth-card-outlined {
    border-radius: 16px !important;
    border: 1px solid var(--o-b-ebeef3, #EBEEF3) !important;
    background: var(--o-sup, #ffffff);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -22px rgba(11, 60, 130, .28) !important;
    overflow: hidden;
}

.cth-dash .cth-card-header {
    position: relative;
    background: var(--o-sup, #ffffff) !important; /* gana al fondo gris en linea de algunos encabezados */
    border-bottom: 1px solid var(--o-borde, #F1F3F6) !important;
    padding: 16px 20px !important;
    min-height: 0;
}

/* Tarjetas en alerta: borde rojo suave + franja superior, en vez de todo el borde rojo. */
.cth-dash .cth-card-outlined.cth-card-pulse-error {
    border-color: rgba(239, 68, 68, .35) !important;
}

    .cth-dash .cth-card-outlined.cth-card-pulse-error::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 3px;
        background: linear-gradient(90deg, #EF4444, #F59E0B);
        z-index: 1;
    }

/* Titulo con icono (TituloTarjeta.razor) */
.cth-titulo-tarjeta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cth-titulo-textos {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cth-titulo-texto {
    font-size: 1rem;
    font-weight: 700;
    color: var(--o-txt, #0F172A);
    line-height: 1.25;
    letter-spacing: -.01em;
}

.cth-titulo-sub {
    font-size: .78rem;
    color: var(--o-txt-3, #6B7280);
    line-height: 1.3;
    margin-top: 1px;
}

/* Cuadro de icono con tono suave (tambien lo usan los indicadores). */
.cth-tile {
    --tono: #0B3C82;
    --tono-fondo: rgba(11, 60, 130, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    color: var(--tono);
    background: var(--tono-fondo);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tono) 14%, transparent);
    transition: transform .3s var(--cth-dash-rebote, ease);
}

    .cth-tile .mud-icon-root {
        color: inherit !important;
        font-size: 1.3rem;
    }

    .cth-tile.tono-azul    { --tono: #0B3C82; --tono-fondo: rgba(11, 60, 130, .08); }
    .cth-tile.tono-celeste { --tono: #0090D0; --tono-fondo: rgba(0, 178, 254, .12); }
    .cth-tile.tono-verde   { --tono: #059669; --tono-fondo: rgba(16, 185, 129, .12); }
    .cth-tile.tono-ambar   { --tono: #D97706; --tono-fondo: rgba(245, 158, 11, .14); }
    .cth-tile.tono-rojo    { --tono: #DC2626; --tono-fondo: rgba(239, 68, 68, .11); }
    .cth-tile.tono-gris    { --tono: #4B5563; --tono-fondo: var(--o-f-f3f4f6, #F3F4F6); }

.cth-dash .mud-card:hover .cth-titulo-tarjeta .cth-tile {
    transform: scale(1.08) rotate(-5deg);
}

/* Entrada del titulo: el cuadro aterriza y el texto se desliza. */
.cth-dash .cth-titulo-tarjeta .cth-tile {
    animation: cth-dash-icono .6s var(--cth-dash-rebote) backwards;
    animation-delay: calc(var(--cth-t) + .18s);
}

.cth-dash .cth-titulo-textos {
    animation: cth-dash-texto .55s var(--cth-dash-ease) backwards;
    animation-delay: calc(var(--cth-t) + .12s);
}

/* --- Indicadores (Actividad Global) --- */
.cth-dash .cth-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* se apilan si la tarjeta es angosta */
    gap: 12px;
    padding: 16px 20px 20px !important;
}

.cth-dash .cth-kpi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--o-sup-2, #F8FAFC);
    border: 1px solid var(--o-b-eef1f5, #EEF1F5);
    min-width: 0;
    transition: background-color .25s ease, transform .3s var(--cth-dash-ease);
}

    .cth-dash .cth-kpi:hover {
        background: var(--o-f-f1f7fd, #F1F7FD);
        transform: translateY(-2px);
    }

    .cth-dash .cth-kpi .cth-tile {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

.cth-dash .cth-kpi-cifra {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.cth-dash .cth-kpi .cth-metric {
    font-size: 2rem;
}

.cth-dash .cth-kpi-total {
    font-size: .95rem;
    font-weight: 600;
    color: var(--o-txt-3, #9CA3AF);
}

/* --- Indicador unico (Alertas Criticas) --- */
.cth-dash .cth-kpi-unico {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 22px 20px !important;
    text-align: center;
}

.cth-dash .cth-metric {
    font-weight: 800 !important;
    letter-spacing: -.02em;
    color: var(--o-marca, var(--cth-dash-navy));
}

    .cth-dash .cth-metric.es-critica {
        font-size: 2.8rem;
        color: var(--o-mal-txt, #DC2626) !important;
    }

.cth-dash .cth-metric-sub {
    font-size: .82rem !important;
    color: var(--o-txt-3, #6B7280) !important;
    font-weight: 500;
}

.cth-dash .cth-kpi-enlace {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--o-mal-txt, #DC2626);
    background: rgba(239, 68, 68, .08);
    transition: background-color .2s ease, gap .25s var(--cth-dash-ease);
}

    .cth-dash .mud-card:hover .cth-kpi-enlace {
        background: rgba(239, 68, 68, .14);
        gap: 8px;
    }

/* --- Filas del monitor de servicios: icono en cuadro de color. --- */
.cth-dash .cth-dash-servicio > .mud-icon-root {
    width: 38px;
    height: 38px;
    padding: 8px;
    margin-top: 0 !important;
    border-radius: 11px;
}

.cth-dash .cth-dash-servicio.en-linea > .mud-icon-root {
    background: rgba(16, 185, 129, .12);
}

.cth-dash .cth-dash-servicio.fuera > .mud-icon-root {
    background: rgba(239, 68, 68, .1);
}

.cth-dash .cth-dash-estado {
    border-radius: 50px !important;
    padding: 0 9px !important;
    font-size: .68rem !important;
    letter-spacing: .04em;
}

.cth-dash .cth-dash-servicio.fuera .cth-dash-estado {
    background: rgba(239, 68, 68, .1) !important;
}

.cth-dash .cth-dash-servicio.en-linea .cth-dash-estado {
    background: rgba(16, 185, 129, .12) !important;
}

    /* Iconos: aterrizan con un giro corto. */
    .cth-dash .mud-card .mud-card-content .mud-icon-root,
    .cth-dash .mud-card .mud-card-header-actions .mud-icon-root {
        animation: cth-dash-icono .6s var(--cth-dash-rebote) backwards;
        animation-delay: calc(var(--cth-t) + .32s);
    }

    /* Numeros grandes: aparecen con zoom; cth-dash.js los cuenta desde cero
       y al terminar les pone "cth-contado" (un destello corto). */
    .cth-dash .cth-metric,
    .cth-dash [data-cth-contar] {
        font-variant-numeric: tabular-nums;
    }

    .cth-dash .cth-metric {
        display: inline-block;
        animation: cth-dash-numero .7s var(--cth-dash-rebote) backwards;
        animation-delay: calc(var(--cth-t) + .2s);
    }

        .cth-dash .cth-metric.cth-contado {
            animation: cth-dash-destello .6s ease-out;
        }

    .cth-dash .cth-metric-sub {
        animation: cth-dash-aparecer .5s ease backwards;
        animation-delay: calc(var(--cth-t) + .4s);
    }

/* --- Monitor de servicios --- */
.cth-dash .cth-dash-servicio {
    animation: cth-dash-texto .55s var(--cth-dash-ease) backwards;
    animation-delay: calc(var(--cth-t) + .3s);
}

    .cth-dash .cth-dash-servicio ~ .cth-dash-servicio {
        animation-delay: calc(var(--cth-t) + .45s);
    }

    /* Fuera de linea: el icono tiembla al entrar y despues late. */
    .cth-dash .cth-dash-servicio.fuera > .mud-icon-root {
        animation: cth-dash-temblor .6s ease-in-out backwards, cth-dash-latir 1.8s ease-in-out infinite;
        animation-delay: calc(var(--cth-t) + .7s), calc(var(--cth-t) + 1.4s);
    }

    .cth-dash .cth-dash-servicio.fuera .cth-dash-estado {
        animation: cth-dash-parpadeo 1.6s ease-in-out infinite;
    }

    /* En linea: un punto verde que respira junto a la etiqueta. */
    .cth-dash .cth-dash-servicio.en-linea .cth-dash-estado::before {
        content: "";
        width: 7px;
        height: 7px;
        margin-right: 6px;
        border-radius: 50%;
        background: var(--cth-dash-exito);
        animation: cth-dash-halo-verde 1.8s ease-out infinite;
    }

/* --- Medidor de riesgo 5.0 (GaugeRiesgo.razor: arco SVG que se llena) --- */
.cth-gauge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px 4px;
}

.cth-gauge-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    overflow: visible;
}

    .cth-gauge-svg path {
        fill: none;
    }

    .cth-gauge-svg .pista {
        stroke: var(--o-b-eef1f5, #EEF1F5);
        stroke-width: 16;
        stroke-linecap: round;
    }

    .cth-gauge-svg .valor {
        stroke-width: 16;
        stroke-linecap: round;
        filter: drop-shadow(0 4px 8px color-mix(in srgb, var(--zona) 35%, transparent));
    }

    .cth-gauge-svg .zona {
        stroke-width: 4;
        stroke-linecap: round;
        opacity: .9;
    }

    .cth-gauge-svg .zona-baja  { stroke: #10B981; }
    .cth-gauge-svg .zona-media { stroke: #F59E0B; }
    .cth-gauge-svg .zona-alta  { stroke: #EF4444; }

    .cth-gauge-svg .marca {
        stroke: var(--o-sup-3, #CBD5E1);
        stroke-width: 1.5;
        stroke-linecap: round;
    }

    .cth-gauge-svg .perilla {
        fill: #ffffff;
        stroke: var(--zona);
        stroke-width: 3;
        filter: drop-shadow(0 2px 4px rgba(15, 23, 42, .22));
    }

    .cth-gauge-svg .perilla-centro {
        fill: var(--zona);
    }

/* Valor al centro del arco (encima de la base del semicirculo). */
.cth-gauge-centro {
    margin-top: -64px;
    text-align: center;
    line-height: 1;
    pointer-events: none;
}

.cth-gauge-valor {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--o-txt, #0F172A);
    font-variant-numeric: tabular-nums;
}

.cth-gauge-de {
    margin-top: 4px;
    font-size: .75rem;
    color: var(--o-txt-3, #9CA3AF);
    font-weight: 600;
}

.cth-gauge-nivel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--zona) 75%, #0F172A);
    background: color-mix(in srgb, var(--zona) 12%, transparent);
}

    .cth-gauge-nivel .punto {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--zona);
        animation: cth-dash-latir 1.8s ease-in-out infinite;
    }

.cth-gauge-leyenda {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 16px;
    padding-top: 14px;
    width: 100%;
    border-top: 1px dashed var(--o-borde, #E5E7EB);
    font-size: .75rem;
    color: var(--o-txt-3, #6B7280);
}

    .cth-gauge-leyenda span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }

    .cth-gauge-leyenda i {
        width: 8px;
        height: 8px;
        border-radius: 3px;
    }

    .cth-gauge-leyenda .baja i  { background: #10B981; }
    .cth-gauge-leyenda .media i { background: #F59E0B; }
    .cth-gauge-leyenda .alta i  { background: #EF4444; }

    .cth-gauge-leyenda b {
        color: var(--o-txt-2, #374151);
        font-weight: 600;
    }

/* Entrada en el panel: el medidor aparece con zoom y la etiqueta despues. */
.cth-dash .cth-gauge-svg {
    animation: cth-dash-medidor .9s var(--cth-dash-ease) backwards;
    animation-delay: calc(var(--cth-t) + .15s);
}

.cth-dash .cth-gauge-nivel {
    animation: cth-dash-pop .5s var(--cth-dash-rebote) backwards;
    animation-delay: calc(var(--cth-t) + 1.6s);
}

.cth-dash .cth-gauge-leyenda {
    animation: cth-dash-aparecer .5s ease backwards;
    animation-delay: calc(var(--cth-t) + .5s);
}

/* --- Grafico semanal: la caja aparece y cth-dash.js dibuja las lineas. --- */
.cth-dash .cth-dash-grafico {
    animation: cth-dash-aparecer .6s ease backwards;
    animation-delay: calc(var(--cth-t) + .2s);
}

/* Estado vacio: el icono flota. */
.cth-dash .cth-dash-vacio > .mud-icon-root {
    animation: cth-dash-icono .6s var(--cth-dash-rebote) backwards, cth-dash-flotar-corto 3.2s ease-in-out infinite;
    animation-delay: calc(var(--cth-t) + .4s), calc(var(--cth-t) + 1s);
    color: var(--cth-dash-acento) !important;
}

.cth-dash .cth-dash-vacio > .mud-typography {
    animation: cth-dash-aparecer .5s ease backwards;
    animation-delay: calc(var(--cth-t) + .5s);
}

/* --- Listas dentro de las tarjetas: cada fila entra un poco despues. --- */
.cth-dash .mud-card .mud-list > .mud-list-item {
    animation: cth-dash-texto .45s var(--cth-dash-ease) backwards;
    transition: background-color .2s ease, padding-left .25s var(--cth-dash-ease);
}

    .cth-dash .mud-card .mud-list > .mud-list-item:nth-child(1) { animation-delay: calc(var(--cth-t) + .25s); }
    .cth-dash .mud-card .mud-list > .mud-list-item:nth-child(3) { animation-delay: calc(var(--cth-t) + .31s); }
    .cth-dash .mud-card .mud-list > .mud-list-item:nth-child(5) { animation-delay: calc(var(--cth-t) + .37s); }
    .cth-dash .mud-card .mud-list > .mud-list-item:nth-child(7) { animation-delay: calc(var(--cth-t) + .43s); }
    .cth-dash .mud-card .mud-list > .mud-list-item:nth-child(9) { animation-delay: calc(var(--cth-t) + .49s); }
    .cth-dash .mud-card .mud-list > .mud-list-item:nth-child(n+11) { animation-delay: calc(var(--cth-t) + .55s); }

    .cth-dash .mud-card .mud-list > .mud-list-item.mud-list-item-clickable:hover {
        padding-left: 22px;
    }

/* Chips dentro de las listas: pequeno pop. */
.cth-dash .mud-card .mud-list .mud-chip {
    animation: cth-dash-pop .45s var(--cth-dash-rebote) backwards;
    animation-delay: calc(var(--cth-t) + .5s);
}

/* ============================================================================
   Animaciones
   ============================================================================ */
@keyframes cth-dash-girar {
    to { transform: rotate(360deg); }
}

@keyframes cth-dash-latir {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(.82); opacity: .65; }
}

@keyframes cth-dash-halo {
    0%   { box-shadow: 0 0 0 0 rgba(0, 178, 254, .55); }
    70%  { box-shadow: 0 0 0 7px rgba(0, 178, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 178, 254, 0); }
}

@keyframes cth-dash-halo-verde {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); }
    70%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes cth-dash-barrido {
    to { transform: translateX(100%); }
}

@keyframes cth-dash-brillo {
    from { background-position: 120% 0; }
    to   { background-position: -120% 0; }
}

@keyframes cth-dash-subir {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

@keyframes cth-dash-caer {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

@keyframes cth-dash-aparecer {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

@keyframes cth-dash-texto {
    from { opacity: 0; transform: translateX(-14px); filter: blur(3px); }
    to   { opacity: 1; transform: none; filter: none; }
}

@keyframes cth-dash-desde-derecha {
    from { opacity: 0; transform: translateX(36px); }
    to   { opacity: 1; transform: none; }
}

@keyframes cth-dash-pop {
    from { opacity: 0; transform: scale(.5); }
    to   { opacity: 1; transform: none; }
}

@keyframes cth-dash-revelar {
    from { opacity: .3; clip-path: inset(0 100% 0 0 round 16px); transform: translateY(6px); }
    to   { opacity: 1; clip-path: inset(0 0 0 0 round 16px); transform: none; }
}

@keyframes cth-dash-saludar {
    0%, 60%, 100% { transform: rotate(0); }
    10%, 30%      { transform: rotate(16deg); }
    20%, 40%      { transform: rotate(-10deg); }
    50%           { transform: rotate(8deg); }
}

@keyframes cth-dash-marca-entrada {
    from { opacity: 0; transform: translateX(60px) rotate(-14deg) scale(.8); }
}

@keyframes cth-dash-flotar {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes cth-dash-flotar-corto {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@keyframes cth-dash-tarjeta {
    0%   { opacity: 0; transform: perspective(900px) translateY(30px) rotateX(9deg) scale(.97); }
    55%  { opacity: 1; }
    100% { opacity: 1; transform: none; }
}

@keyframes cth-dash-linea {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

@keyframes cth-dash-icono {
    from { opacity: 0; transform: scale(.3) rotate(-30deg); }
    to   { opacity: 1; transform: none; }
}

@keyframes cth-dash-numero {
    from { opacity: 0; transform: scale(.6) translateY(8px); filter: blur(4px); }
    to   { opacity: 1; transform: none; filter: none; }
}

@keyframes cth-dash-destello {
    0%   { transform: scale(1); text-shadow: 0 0 0 rgba(0, 178, 254, 0); }
    35%  { transform: scale(1.1); text-shadow: 0 0 18px rgba(0, 178, 254, .45); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(0, 178, 254, 0); }
}

@keyframes cth-dash-temblor {
    0%, 100% { transform: none; }
    20%      { transform: translateX(-3px) rotate(-6deg); }
    40%      { transform: translateX(3px) rotate(6deg); }
    60%      { transform: translateX(-2px) rotate(-3deg); }
    80%      { transform: translateX(2px) rotate(3deg); }
}

@keyframes cth-dash-parpadeo {
    0%, 100% { opacity: 1; }
    50%      { opacity: .45; }
}

@keyframes cth-dash-medidor {
    from { opacity: 0; transform: scale(.82) rotate(-10deg); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================================
   Telefono
   ============================================================================ */
@media (max-width: 959.98px) {
    .cth-esq-tarjeta,
    .cth-esq-tarjeta.ancha {
        grid-column: span 12;
    }

    .cth-esq-tarjeta.alta {
        min-height: 260px;
    }
}

@media (max-width: 599.98px) {
    .cth-carga-estado {
        padding: 14px 16px;
        gap: 12px;
    }

    .cth-carga-pasos {
        width: 100%;
        justify-content: center;
    }

    .cth-esq-cabecera {
        flex-direction: column;
        align-items: flex-start;
    }

    .cth-esq-fotos {
        gap: 8px;
    }

    .cth-esq-foto {
        width: 52px;
        height: 64px;
    }

    .cth-esq-pestanas {
        gap: 14px;
    }

        .cth-esq-pestanas .cth-esq-linea {
            width: 70px !important;
        }

    /* En el telefono la cascada es mas corta: el contenido queda uno debajo del otro. */
    .cth-dash .mud-grid > .mud-grid-item {
        --cth-t: calc(var(--cth-base-tarjetas) * .6 + var(--n, 0) * 70ms);
    }
}

/* ============================================================================
   Movimiento reducido: sin animaciones, todo aparece de una vez.
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    .cth-dash *,
    .cth-dash *::before,
    .cth-dash *::after,
    .cth-dash-carga *,
    .cth-dash-carga *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================================================
   Superficies del panel con la guia 5.0 (radio 16px, fondo de pagina limpio).
   ============================================================================ */
.cth-dash.cth-dashboard-container {
    background: transparent;
}

.cth-dash .cth-card-outlined {
    position: relative; /* para la franja superior de las tarjetas en alerta */
}

.cth-dash .cth-dash-cabecera,
.cth-dash .cth-alertas,
.cth-dash .cth-tabs {
    border-radius: 16px !important;
    border-color: var(--o-b-ebeef3, #EBEEF3) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -24px rgba(11, 60, 130, .25) !important;
}

.cth-dash .cth-tabs {
    background: var(--o-sup, #ffffff);
    overflow: hidden;
}

    .cth-dash .cth-tabs .mud-tabs-tabbar {
        border-bottom: 1px solid var(--o-borde, #F1F3F6);
    }

    .cth-dash .cth-tabs .mud-tab {
        border-radius: 10px 10px 0 0;
    }

/* Telefono: los dos indicadores de "Actividad Global" uno debajo del otro si no caben. */
@media (max-width: 380px) {
    .cth-dash .cth-kpis {
        grid-template-columns: 1fr;
    }
}

/* Monitor de servicios: si no cabe, la etiqueta ONLINE/OFFLINE baja de linea
   en vez de partir el nombre del servicio en tres renglones. */
.cth-dash .cth-dash-servicio .d-flex {
    flex-wrap: wrap;
    row-gap: 2px;
}

.cth-dash .cth-dash-servicio .ms-3 {
    min-width: 0;
}

/* ----------------------------------------------------------------------------
   Actualizaciones de Listas (diseño 5.0): sigla en cuadro, nombre, fecha con
   antiguedad y cifra a la derecha. El color de la sigla indica la frescura:
   verde <= 7 dias, ambar <= 30, rojo mas de 30.
   ---------------------------------------------------------------------------- */
.cth-listas {
    list-style: none;
    margin: 0;
    padding: 8px 12px 12px;
    max-height: 340px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    scrollbar-width: thin;
}

.cth-lista-fila {
    --tono: #059669;
    --tono-fondo: rgba(16, 185, 129, .12);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--o-b-eef1f5, #EEF1F5);
    border-radius: 12px;
    background: var(--o-sup, #fff);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    animation: cth-dash-subir .5s cubic-bezier(.2, .8, .2, 1) backwards;
}
    .cth-lista-fila:nth-child(1) { animation-delay: .05s; }
    .cth-lista-fila:nth-child(2) { animation-delay: .1s; }
    .cth-lista-fila:nth-child(3) { animation-delay: .15s; }
    .cth-lista-fila:nth-child(4) { animation-delay: .2s; }
    .cth-lista-fila:nth-child(5) { animation-delay: .25s; }
    .cth-lista-fila:nth-child(n+6) { animation-delay: .3s; }

    .cth-lista-fila.reciente,
    .cth-lista-fila.tono-ambar   { --tono: #D97706; --tono-fondo: rgba(245, 158, 11, .14); }
    .cth-lista-fila.vencida,
    .cth-lista-fila.tono-rojo    { --tono: #DC2626; --tono-fondo: rgba(239, 68, 68, .10); }
    .cth-lista-fila.tono-verde   { --tono: #059669; --tono-fondo: rgba(16, 185, 129, .12); }
    .cth-lista-fila.tono-azul    { --tono: #0B3C82; --tono-fondo: rgba(11, 60, 130, .08); }
    .cth-lista-fila.tono-celeste { --tono: #0090D0; --tono-fondo: rgba(0, 178, 254, .12); }
    .cth-lista-fila.tono-gris    { --tono: #4B5563; --tono-fondo: var(--o-f-f3f4f6, #F3F4F6); }

    .cth-lista-fila:hover {
        border-color: var(--o-b-d6e4f5, #D6E4F5);
        box-shadow: 0 6px 16px rgba(11, 60, 130, .08);
        transform: translateX(2px);
    }

.cth-lista-sigla {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--tono-fondo);
    color: var(--tono);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.cth-lista-textos {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cth-lista-nombre {
    font-weight: 700;
    font-size: .9rem;
    color: var(--o-txt, #0F172A);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cth-lista-fecha {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    color: var(--o-txt-3, #64748B);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
    .cth-lista-fecha .mud-icon-root {
        font-size: .95rem;
        color: var(--tono);
    }

.cth-lista-cifra {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
}
    .cth-lista-cifra b {
        font-size: 1rem;
        font-weight: 800;
        color: var(--o-marca, #0B3C82);
        font-variant-numeric: tabular-nums;
    }
    .cth-lista-cifra small {
        font-size: .68rem;
        color: var(--o-txt-3, #94A3B8);
        text-transform: uppercase;
        letter-spacing: .05em;
    }

.cth-listas-vacio {
    padding: 24px;
    text-align: center;
    color: var(--o-txt-3, #64748B);
    font-size: .85rem;
}

@media (max-width: 380px) {
    .cth-lista-sigla { width: 34px; height: 34px; }
    .cth-lista-fecha { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    .cth-lista-fila { animation: none; transition: none; }
}

/* Filas con accion (FilaDash con AlHacerClic) y extras de las listas del Dash. */
.cth-lista-fila.es-accion { cursor: pointer; }
    .cth-lista-fila.es-accion:focus-visible {
        outline: 2px solid #00B2FE;
        outline-offset: 2px;
    }
    .cth-lista-fila.es-accion:active { transform: translateX(2px) scale(.99); }

.cth-lista-flecha {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #CBD5E1;
    transition: color .2s ease, transform .2s ease;
}
    .cth-lista-fila:hover .cth-lista-flecha {
        color: var(--tono);
        transform: translateX(3px);
    }

/* La cifra toma el color del tono de la fila. */
.cth-lista-fila:not(.al-dia):not(.reciente):not(.vencida) .cth-lista-cifra b { color: var(--tono); }
.cth-lista-fila.tono-gris .cth-lista-cifra b,
.cth-lista-fila.tono-azul .cth-lista-cifra b { color: var(--o-marca, #0B3C82); }

/* Pie con datos complementarios (tiempo y fecha de la depuracion). */
.cth-listas-pie {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 12px 14px;
}
    .cth-listas-pie span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 12px;
        border-radius: 50px;
        background: var(--o-sup-3, #F1F5F9);
        color: var(--o-txt-2, #475569);
        font-size: .75rem;
        font-weight: 600;
    }
    .cth-listas-pie .mud-icon-root { font-size: 1rem; color: var(--o-txt-3, #64748B); }

/* Historial de documentos: filas de varias lineas. */
.cth-listas-docs { max-height: 420px; }
.cth-doc-fila { align-items: flex-start; }
    .cth-doc-fila .cth-lista-sigla { margin-top: 2px; }

.cth-doc-cabeza {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.cth-doc-estado {
    flex: 0 0 auto;
    padding: 2px 10px;
    border-radius: 50px;
    background: var(--tono-fondo);
    color: var(--tono);
    font-size: .7rem;
    font-weight: 700;
}

.cth-doc-socio {
    font-size: .8rem;
    color: var(--o-txt-2, #334155);
    user-select: text;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cth-doc-sep { color: #CBD5E1; margin: 0 2px; }

.cth-doc-fila .cth-lista-fecha { flex-wrap: wrap; white-space: normal; }

.cth-doc-motivo {
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(239, 68, 68, .06);
    color: var(--o-mal-txt, #B91C1C);
    font-size: .75rem;
    font-style: italic;
}

/* ===================================================================== Dash del usuario (PanelUsuario.razor) */

/* Accesos rapidos: solo los que permite su rol. */
.cth-mp-accesos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.cth-mp-acceso {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    background: var(--o-sup, #fff);
    border: 1px solid var(--o-borde, #E5E7EB);
    color: var(--o-txt, #12263F) !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .03);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    min-width: 0;
}
    .cth-mp-acceso:hover, .cth-mp-acceso:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(16, 24, 40, .08);
        border-color: color-mix(in srgb, var(--o-marca, #0B3C82) 35%, transparent);
        outline: none;
    }
    .cth-mp-acceso:hover .cth-tile { transform: scale(1.08) rotate(-5deg); }
.cth-mp-acceso-textos { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
    .cth-mp-acceso-textos b { font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cth-mp-acceso .cth-tile { width: 36px; height: 36px; border-radius: 10px; }
    .cth-mp-acceso-textos small { font-size: .76rem; color: var(--o-txt-3, #6B7280); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Mi semana */
.cth-mp-cifras { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 14px; }
.cth-mp-cifra { display: flex; flex-direction: column; min-width: 0; }
    .cth-mp-cifra > span { font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--o-txt-3, #6B7280); }
    .cth-mp-cifra > b { font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
    .cth-mp-cifra.verde > b { color: #059669; }
    .cth-mp-cifra.celeste > b { color: #0090D0; }
    .cth-mp-cifra.hoy > b { font-size: 1.05rem; color: var(--o-marca, #0B3C82); }
    .cth-mp-cifra.hoy > b i { font-style: normal; font-weight: 600; font-size: .82rem; color: var(--o-txt-2, #374151); }
    .cth-mp-cifra > small { font-size: .74rem; color: var(--o-txt-3, #6B7280); }
    .cth-mp-cifra > small.sube { color: #059669; }
    .cth-mp-cifra > small.baja { color: #D97706; }

.cth-mp-barras {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    height: 150px;
    align-items: end;
    padding: 0 2px;
}
.cth-mp-barra { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.cth-mp-barra-zona { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 0; }
.cth-mp-barra-num { font-size: .75rem; font-weight: 700; color: var(--o-txt-2, #374151); min-height: 1.1em; }
.cth-mp-barra-pila {
    width: 100%;
    max-width: 44px;
    min-height: 3px;
    margin-top: 3px;
    display: flex;
    flex-direction: column;
    border-radius: 8px 8px 3px 3px;
    overflow: hidden;
    background: var(--o-f-eef1f5, #EEF1F5);
    transition: height .5s ease;
}
    .cth-mp-barra-pila .reg { background: #10B981; }
    .cth-mp-barra-pila .act { background: #00B2FE; }
.cth-mp-barra-dia { margin-top: 6px; font-size: .74rem; color: var(--o-txt-3, #6B7280); text-transform: capitalize; white-space: nowrap; }
.cth-mp-barra.es-hoy .cth-mp-barra-dia { font-weight: 800; color: var(--o-marca, #0B3C82); }
.cth-mp-barra.es-hoy .cth-mp-barra-pila { box-shadow: 0 0 0 2px color-mix(in srgb, var(--o-marca, #0B3C82) 30%, transparent); }

.cth-mp-leyenda { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; margin-top: 12px; font-size: .76rem; color: var(--o-txt-3, #6B7280); }
    .cth-mp-leyenda span { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -8px; }
    .cth-mp-leyenda .reg { background: #10B981; }
    .cth-mp-leyenda .act { background: #00B2FE; }

.cth-mp-cargando { padding: 24px; text-align: center; color: var(--o-txt-3, #6B7280); font-size: .88rem; }
.cth-mp-vacio { display: flex; align-items: center; gap: 12px; padding: 22px 20px; color: var(--o-txt-3, #6B7280); font-size: .88rem; }
    .cth-mp-vacio .mud-icon-root { font-size: 2rem; color: #10B981; flex-shrink: 0; }

@media (max-width: 600px) {
    .cth-mp-accesos { grid-template-columns: 1fr 1fr; gap: 8px; }
    .cth-mp-acceso { padding: 10px; gap: 8px; }
    .cth-mp-acceso-textos small { display: none; }
    .cth-mp-acceso-textos b { white-space: normal; font-size: .82rem; line-height: 1.2; }
    .cth-mp-acceso .cth-tile { width: 30px; height: 30px; border-radius: 9px; }
    .cth-mp-cifras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
    .cth-mp-cifra > small { font-size: .68rem; }
    .cth-mp-cifra.hoy { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
    .cth-mp-cifra.hoy > b { font-size: .9rem; }
    .cth-mp-barra-dia { font-size: .64rem; white-space: normal; text-align: center; line-height: 1.1; min-height: 2.2em; }
    .cth-mp-barras { gap: 5px; height: 130px; }
    .cth-mp-cifra > b { font-size: 1.5rem; }
    /* Listas del panel: en el celular el texto necesita todo el ancho. */
    .cth-mp .cth-listas { padding: 6px 6px 8px; }
    .cth-mp .cth-lista-fila { padding: 8px; gap: 8px; }
    .cth-mp .cth-lista-sigla { width: 32px; height: 32px; }
    .cth-mp .cth-lista-cifra small, .cth-mp .cth-lista-flecha { display: none; }
}

/* ===================================================================== Dash del administrador (PanelAdmin.razor) */

/* Bandeja: totales que llevan a su listado completo. */
.cth-pa-totales { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px 4px; }
.cth-pa-total {
    display: flex; align-items: baseline; gap: 8px; min-width: 0;
    padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit;
    border: 1px solid var(--cth-border-color, #E5E7EB);
    transition: background-color .15s ease, border-color .15s ease;
}
    .cth-pa-total b { font-size: 1.5rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
    .cth-pa-total span { font-size: .8rem; color: var(--o-txt-3, #6B7280); line-height: 1.2; }
    .cth-pa-total.ambar b { color: #D97706; }
    .cth-pa-total.rojo b { color: #DC2626; }
    .cth-pa-total:hover, .cth-pa-total:focus-visible { background: var(--o-sup-2, #F8FAFC); border-color: var(--o-marca, #0B3C82); }

/* Equipo: una fila por usuario con su barra de actividad. */
.cth-pa-equipo { padding: 8px 12px 12px; }
.cth-pa-equipo-fila {
    display: grid; grid-template-columns: minmax(0, 1fr) 42px 42px 42px; align-items: center; gap: 8px;
    padding: 8px 6px; border-bottom: 1px solid var(--cth-border-color, #E5E7EB);
}
    .cth-pa-equipo-fila:last-child { border-bottom: 0; }
    .cth-pa-equipo-fila.cabeza { padding-top: 4px; padding-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--o-txt-3, #6B7280); }
    .cth-pa-equipo-fila.cabeza span:not(:first-child) { text-align: center; }
.cth-pa-usuario { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
    .cth-pa-usuario b { font-size: .86rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .cth-pa-usuario small { font-size: .72rem; color: var(--o-txt-3, #6B7280); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cth-pa-usuario small.sube { color: #059669; }
    .cth-pa-usuario small.baja { color: #D97706; }
.cth-pa-uso { display: block; height: 5px; border-radius: 3px; background: var(--o-f-eef1f5, #EEF1F5); overflow: hidden; }
    .cth-pa-uso span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #10B981, #00B2FE); }
.cth-pa-num { text-align: center; font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; }
    .cth-pa-num.verde { color: #059669; }
    .cth-pa-num.celeste { color: #0090D0; }
    .cth-pa-num.ambar { color: #D97706; }
    .cth-pa-num.cero { color: var(--o-txt-3, #9CA3AF); font-weight: 600; }

/* Tendencia: 30 barras y, al lado, la distribución de riesgo. */
.cth-pa-tendencia { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.cth-pa-barras { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; height: 140px; align-items: end; }
.cth-pa-barra { display: flex; flex-direction: column; align-items: center; height: 100%; min-width: 0; }
.cth-pa-barra-zona { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: 0; }
.cth-pa-barra .cth-mp-barra-pila { border-radius: 4px 4px 2px 2px; max-width: none; }
.cth-pa-barra.finde .cth-mp-barra-pila { opacity: .55; }
.cth-pa-barra.es-hoy .cth-mp-barra-pila { box-shadow: 0 0 0 2px color-mix(in srgb, var(--o-marca, #0B3C82) 30%, transparent); }
.cth-pa-barra-dia { margin-top: 5px; height: 1.1em; font-size: .68rem; color: var(--o-txt-3, #6B7280); white-space: nowrap; overflow: visible; }
.cth-pa-barra.es-hoy .cth-pa-barra-dia { font-weight: 800; color: var(--o-marca, #0B3C82); }

.cth-pa-riesgo-titulo { font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--o-txt-3, #6B7280); margin-bottom: 10px; }
.cth-pa-riesgo-barra { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--o-f-eef1f5, #EEF1F5); gap: 2px; }
    .cth-pa-riesgo-barra span { min-width: 3px; }
.cth-pa-riesgo-barra .rojo, .cth-pa-riesgo-lista .rojo .punto { background: #EF4444; }
.cth-pa-riesgo-barra .ambar, .cth-pa-riesgo-lista .ambar .punto { background: #F59E0B; }
.cth-pa-riesgo-barra .verde, .cth-pa-riesgo-lista .verde .punto { background: #10B981; }
.cth-pa-riesgo-barra .gris, .cth-pa-riesgo-lista .gris .punto { background: #9CA3AF; }
.cth-pa-riesgo-lista { list-style: none; margin: 12px 0 0; padding: 0; }
    .cth-pa-riesgo-lista li {
        display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 52px; align-items: center; gap: 10px;
        padding: 7px 8px; border-radius: 8px; cursor: pointer; transition: background-color .15s ease;
    }
    .cth-pa-riesgo-lista li:hover, .cth-pa-riesgo-lista li:focus-visible { background: var(--o-sup-2, #F4F6F8); outline: none; }
    .cth-pa-riesgo-lista .punto { width: 10px; height: 10px; border-radius: 50%; }
    .cth-pa-riesgo-lista .texto { font-size: .86rem; }
    .cth-pa-riesgo-lista b { font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
    .cth-pa-riesgo-lista small { font-size: .78rem; color: var(--o-txt-3, #6B7280); text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
    .cth-pa-tendencia { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
    .cth-pa-totales { grid-template-columns: 1fr; padding: 12px 12px 2px; }
    .cth-pa-barras { gap: 2px; height: 110px; }
    .cth-pa-barra-dia { font-size: .6rem; }
    .cth-pa-equipo { padding: 4px 6px 8px; }
    .cth-pa-equipo-fila { grid-template-columns: minmax(0, 1fr) 36px 36px 36px; gap: 4px; }
    .cth-pa-usuario small { white-space: normal; }
}

/* ------------------------------------------------------------ «Para qué sirve» (ParaQueSirve.razor) */
/* Plegado: una línea discreta «¿Para qué sirve?»; al hacer clic se despliega el recuadro con la explicación. */
.cth-pqs { margin: 10px 16px 0; }
.cth-pqs > summary {
    display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; user-select: none;
    padding: 3px 8px 3px 4px; border-radius: 8px; font-size: .78rem; font-weight: 600;
    color: var(--o-txt-3, #6B7280); transition: background-color .15s ease, color .15s ease;
}
.cth-pqs > summary::-webkit-details-marker { display: none; }
.cth-pqs > summary:hover, .cth-pqs > summary:focus-visible { background: var(--o-sup-2, #F4F6F8); color: var(--o-marca, var(--cth-primary-color)); outline: none; }
.cth-pqs > summary .mud-icon-root { font-size: 1.05rem; }
.cth-pqs > summary .mud-icon-root:first-child { color: var(--o-marca, var(--cth-primary-color)); }
.cth-pqs .cth-pqs-flecha { transition: transform .2s ease; }
.cth-pqs[open] .cth-pqs-flecha { transform: rotate(180deg); }
.cth-pqs > p {
    margin: 6px 0 4px; padding: 9px 12px; border-radius: 10px;
    background: var(--o-sup-2, #F4F6F8); border: 1px dashed var(--o-borde, #DCE3EC);
    font-size: .8rem; line-height: 1.4; color: var(--o-txt-2, #4B5563);
}
.cth-pqs > p::first-letter { text-transform: uppercase; }
.cth-pqs > p b { color: var(--o-txt, #1F2937); font-weight: 700; }
/* En tarjetas que ya tienen relleno propio, sin margen lateral. */
.mud-card-content:not(.pa-0) > .cth-pqs { margin: 0 0 10px; }
@media (max-width: 600px) {
    .cth-pqs { margin: 8px 12px 0; }
}

/* Bandeja de cumplimiento: título de cada grupo (autorizaciones / DD vencidas). */
.cth-pa-grupo {
    padding: 10px 16px 2px; font-size: .72rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
    color: var(--o-txt-3, #6B7280);
}

/* Tarjetas desplegables del Dash del administrador: abren cerradas con un resumen; «Ver detalle» muestra el resto. */
.cth-pa-desplegar {
    display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; cursor: pointer;
    padding: 4px 6px 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
    border: 1px solid var(--cth-border-color, #E5E7EB); background: transparent; color: var(--o-marca, #0B3C82);
    transition: background-color .15s ease, border-color .15s ease;
}
    .cth-pa-desplegar:hover, .cth-pa-desplegar:focus-visible { background: var(--o-sup-2, #F8FAFC); border-color: var(--o-marca, #0B3C82); }
    .cth-pa-desplegar[aria-expanded="true"] { background: var(--o-sup-2, #F8FAFC); }
.cth-pa-resumen { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; padding: 14px 16px 8px; }
.cth-mp-cargando + .cth-pa-resumen { padding-top: 0; }
.cth-pa-dato {
    display: flex; flex-direction: column; gap: 2px; min-width: 0;
    padding: 10px 12px; border-radius: 10px; border: 1px solid var(--cth-border-color, #E5E7EB);
}
    .cth-pa-dato b { font-size: 1.35rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--o-txt, #111827); }
    .cth-pa-dato span { font-size: .76rem; line-height: 1.25; color: var(--o-txt-3, #6B7280); }
    .cth-pa-dato small { font-size: .7rem; line-height: 1.25; color: var(--o-txt-3, #6B7280); }
    .cth-pa-dato.verde b { color: #059669; }
    .cth-pa-dato.celeste b { color: #0284C7; }
    .cth-pa-dato.ambar b { color: #D97706; }
    .cth-pa-dato.rojo b { color: #DC2626; }
    .cth-pa-dato.gris b { color: var(--o-txt-3, #6B7280); }
.cth-pa-dato small.sube, .cth-pa-nota .sube { color: #059669; }
.cth-pa-dato small.baja, .cth-pa-nota .baja { color: #DC2626; }
.cth-pa-nota { list-style: none; margin: 0; padding: 6px 16px 14px; font-size: .84rem; color: var(--o-txt-2, #374151); }
    .cth-pa-nota li { padding: 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .cth-pa-nota b { color: var(--o-txt, #111827); font-weight: 700; }
.cth-pa-riesgo-mini { margin: 4px 16px 4px; }
.cth-card-outlined .mud-card-content > .cth-pa-riesgo-mini { margin: 6px 0 2px; }
@media (max-width: 599.98px) {
    .cth-pa-resumen { grid-template-columns: 1fr 1fr; padding: 12px 12px 6px; }
    .cth-pa-nota { padding: 6px 12px 12px; }
    .cth-pa-nota li { white-space: normal; }
}

/* --- Monitor de servicios: servicio en pausa (Pausar/Reanudar). Ámbar: detenido a propósito, no caído. --- */
.cth-dash .cth-dash-servicio.pausado > .mud-icon-root {
    background: rgba(245, 158, 11, .14);
}

.cth-dash .cth-dash-servicio.pausado .cth-dash-estado {
    background: rgba(245, 158, 11, .14) !important;
}

/* Pausa pedida y aún sin confirmar por el servicio. */
.cth-dash .cth-dash-servicio.pausado .cth-dash-estado.cth-dash-pausando {
    animation: cth-dash-parpadeo 1.6s ease-in-out infinite;
}

.cth-dash .cth-dash-pausa-info {
    color: #B45309;
}

.cth-dash .cth-dash-pausa-btn {
    min-width: 0 !important;
    padding: 2px 8px !important;
    font-size: .72rem !important;
    text-transform: none !important;
    white-space: nowrap;
}

/* Modo oscuro de CTH360 (antes seguía el de Windows y cambiaba los colores aunque CTH360 estuviera en claro). */
html[data-tema="oscuro"] .cth-dash .cth-dash-pausa-info {
        color: #FBBF24;
    }

/* Pausa de más de 2 h: aviso destacado en la fila del servicio. */
.cth-dash .cth-dash-pausa-larga {
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(245, 158, 11, .16);
    color: #92400E;
}

/* Modo oscuro de CTH360 (antes seguía el de Windows y cambiaba los colores aunque CTH360 estuviera en claro). */
html[data-tema="oscuro"] .cth-dash .cth-dash-pausa-larga {
        color: #FCD34D;
    }

/* --- Cifras y barras que abren el detalle (DialogDetalleDD): se nota que se pueden tocar. --- */
.cth-dash .es-accion.cth-pa-dato,
.cth-dash .es-accion.cth-mp-cifra,
.cth-dash .es-accion.cth-kpi,
.cth-pa-dato.es-accion,
.cth-mp-cifra.es-accion,
.cth-kpi.es-accion {
    cursor: pointer;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .cth-pa-dato.es-accion:hover,
    .cth-pa-dato.es-accion:focus-visible,
    .cth-mp-cifra.es-accion:hover,
    .cth-mp-cifra.es-accion:focus-visible,
    .cth-kpi.es-accion:hover,
    .cth-kpi.es-accion:focus-visible {
        background-color: rgba(11, 60, 130, .06);
        box-shadow: 0 0 0 1px rgba(0, 119, 182, .28);
        outline: none;
        transform: translateY(-1px);
    }

.cth-pa-num.es-accion {
    cursor: pointer;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}

    .cth-pa-num.es-accion:hover {
        text-decoration-style: solid;
    }

.cth-pa-barra.es-accion,
.cth-mp-barra.es-accion {
    cursor: pointer;
}

    .cth-pa-barra.es-accion:hover .cth-mp-barra-pila,
    .cth-mp-barra.es-accion:hover .cth-mp-barra-pila {
        filter: brightness(1.12);
        box-shadow: 0 0 0 2px rgba(0, 119, 182, .35);
    }

@media (prefers-reduced-motion: reduce) {
    .cth-pa-dato.es-accion, .cth-mp-cifra.es-accion, .cth-kpi.es-accion { transition: none; }
    .cth-pa-dato.es-accion:hover, .cth-mp-cifra.es-accion:hover, .cth-kpi.es-accion:hover { transform: none; }
}

/* ---- Personalizar mi panel (DashObli, vista de administración) ---- */
.cth-perso { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.cth-perso-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font: inherit; font-size: .82rem; font-weight: 600;
    border: 1px solid var(--o-borde, #E5E7EB); background: var(--o-sup, #fff); color: var(--o-marca, #0B3C82); cursor: pointer; transition: border-color .15s, background .15s; }
.cth-perso-btn:hover, .cth-perso-btn.abierto { border-color: var(--o-marca, #0B3C82); background: var(--o-sup-2, #EFF6FF); }
.cth-perso-cuenta { padding: 1px 8px; border-radius: 999px; background: #E0F2FE; color: #075985; font-size: .72rem; }
.cth-perso-panel { margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: var(--o-sup, #fff); border: 1px solid var(--o-borde, #E5E7EB);
    box-shadow: 0 6px 20px rgba(11, 60, 130, .08); animation: cth-perso-entra .2s ease-out; }
.cth-perso-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.cth-perso-cab span { font-size: .8rem; color: var(--o-txt-3, #64748B); }
.cth-perso-cols { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
@media (max-width: 760px) { .cth-perso-cols { grid-template-columns: 1fr; } }
.cth-perso-sub { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--o-txt-3, #64748B); margin-bottom: 6px; }
.cth-perso-op { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; font-size: .86rem; cursor: pointer; }
.cth-perso-op:hover { background: var(--o-sup-2, #F8FAFC); }
.cth-perso-op input { width: 16px; height: 16px; accent-color: #0B3C82; }
.cth-perso-op small { display: block; font-size: .72rem; color: var(--o-txt-3, #94A3B8); }
.cth-perso-op:not(.on):not(.fija) span { color: var(--o-txt-3, #94A3B8); text-decoration: line-through; }
.cth-perso-op.fija { cursor: default; color: var(--o-txt-2, #334155); }
.cth-perso-op.fija .mud-icon-root { color: #B45309; }
.cth-perso-pie { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 10px; }
.cth-perso-link { border: 0; background: none; font: inherit; font-size: .82rem; color: var(--o-marca, #0B3C82); cursor: pointer; text-decoration: underline; }
.cth-perso-link:disabled { color: var(--o-txt-3, #94A3B8); cursor: default; text-decoration: none; }
@keyframes cth-perso-entra { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
