/* ==========================================================================
   NEVULA — compartidas.css
   VISTAS COMPARTIDAS (Calendario, Configuración, Notificaciones, Estadísticas, Recibo de sueldo, Mi equipo)

   Cómo enlazarlo en el <head> de cada vista (en este orden):
   <link rel="stylesheet" href="<?= BASE_URL ?>/resources/css/sidebar.css">
   <link rel="stylesheet" href="<?= BASE_URL ?>/resources/css/compartidas.css">
   (Login y Recuperar contraseña no cargan el sidebar: ahí va solo compartidas.css.)
   Clases de alcance que necesita cada vista en <html>/<body>:
   pg-calendario, pg-notif, pg-equipo, pg-recibo, pg-ajustes (Configuración), pg-reportes (Estadísticas),
   pg-pass, pg-login, pg-recuperar, pg-licencia y pg-lider-legacy (Detalle de empleado).
   ========================================================================== */

.content:has(.nf-wrap) {
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.nf-wrap {
    --nf-bg: #fff;
    --nf-surface-2: #f8f7ff;
    --nf-text: #1e1b2e;
    --nf-text-2: #4b4660;
    --nf-muted: #867f9c;
    --nf-primary: #7c69ef;
    --nf-line: #e9e9f0;
    --nf-wash: rgba(124,105,239,.055);
    --nf-rojo: #e5484d;
    --nf-amarillo: #e59a0b;
    --nf-verde: #20a36a;
}

:root[data-theme="dark"] .nf-wrap,
body.dark-mode .nf-wrap {
    --nf-bg: #14111f;
    --nf-surface-2: #241f38;
    --nf-text: #f3f1fb;
    --nf-text-2: #cfc9e6;
    --nf-muted: #9d97b6;
    --nf-primary: #9b8cff;
    --nf-line: rgba(167,155,255,.16);
    --nf-wash: rgba(167,155,255,.07);
    --nf-rojo: #ff7a80;
    --nf-amarillo: #f5b24d;
    --nf-verde: #43c796;
}

.nf-wrap {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: var(--nf-text);
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.nf-wrap *,
.nf-wrap *::before,
.nf-wrap *::after {
    box-sizing: border-box;
}

.nf-wrap .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

.nf-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--nf-line);
}

.nf-hero p {
    margin: 0;
    font-size: 13px;
    color: var(--nf-muted);
}

.nf-kpis {
    display: grid;
    gap: 0;
}

.nf-wrap .nf-kpi {
    min-width: 0;
    padding: 2px 22px 0;
    border-left: 1px solid var(--nf-line);
    background: none;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

.nf-wrap .nf-kpi:first-child {
    padding-left: 0;
    border-left: 0;
}

.nf-box {
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
}

.nf-wrap .rojo {
    --c: var(--nf-rojo);
}

.nf-wrap .amarillo {
    --c: var(--nf-amarillo);
}

.nf-wrap .verde {
    --c: var(--nf-verde);
}

.nf-wrap .leida {
    --c: var(--nf-muted);
}

.nf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    font: 600 13px 'Inter', sans-serif;
    color: #fff;
    background: var(--nf-primary);
    border: 1px solid var(--nf-primary);
    cursor: pointer;
    transition: box-shadow .15s;
}

.nf-btn:hover:not(:disabled) {
    box-shadow: 0 10px 22px -8px var(--nf-primary);
}

.nf-btn:disabled {
    opacity: .45;
    cursor: default;
}

.nf-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nf-kpi {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    border-radius: 0;
    transition: background .15s;
}

.nf-kpi:hover {
    background: var(--nf-wash);
}

.nf-kpi.activa {
    background: var(--nf-wash);
}

.nf-ico {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--c, var(--nf-primary));
    background: color-mix(in srgb, var(--c, var(--nf-primary)) 14%, transparent);
}

.nf-ico .material-symbols-outlined {
    font-size: 18px;
}

.nf-kpi span.t {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--nf-muted);
}

.nf-kpi strong {
    display: block;
    font: 700 clamp(24px, 2vw, 30px)/1.1 'Inter', sans-serif;
    letter-spacing: -0.02em;
    color: var(--c, var(--nf-text));
}

.nf-kpi.todas strong {
    color: var(--nf-text);
}

.nf-panel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.nf-tabs {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid var(--nf-line);
}

.nf-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 2px;
    margin-bottom: -1px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    font: 600 14px 'Inter', sans-serif;
    color: var(--nf-muted);
    cursor: pointer;
}

.nf-tab span {
    padding: 1px 8px;
    border-radius: 99px;
    font-size: 11px;
    background: var(--nf-wash);
}

.nf-tab:hover {
    color: var(--nf-text);
}

.nf-tab.activa {
    color: var(--nf-primary);
    border-bottom-color: var(--nf-primary);
}

.nf-lista {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nf-lista::-webkit-scrollbar {
    display: none;
}

.nf-grupo {
    margin: 16px 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nf-muted);
}

.nf-grupo:first-child {
    margin-top: 4px;
}

.nf-item {
    --c: var(--nf-verde);
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 8px 14px 18px;
    border-bottom: 1px solid var(--nf-line);
    cursor: pointer;
    transition: background .15s;
}

.nf-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 3px;
    background: var(--c);
}

.nf-item:hover {
    background: var(--nf-wash);
}

.nf-item.leida {
    opacity: .75;
}

.nf-cuerpo {
    flex: 1;
    min-width: 0;
}

.nf-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 3px;
}

.nf-tag {
    padding: 2px 9px;
    border-radius: 99px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
}

.nf-tipo {
    font-size: 12px;
    font-weight: 600;
    color: var(--nf-muted);
}

.nf-msg {
    font-size: 14px;
    line-height: 1.45;
    color: var(--nf-text);
    overflow-wrap: anywhere;
}

.nf-fecha {
    margin-top: 3px;
    font-size: 12px;
    color: var(--nf-muted);
}

.nf-fecha b {
    font-weight: 600;
    color: var(--c);
}

.nf-acc {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.nf-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    font: 600 13px 'Inter', sans-serif;
    color: var(--nf-primary);
    background: transparent;
    border: 1px solid var(--nf-line);
    cursor: pointer;
    white-space: nowrap;
}

.nf-mini:hover {
    background: var(--nf-primary);
    border-color: var(--nf-primary);
    color: #fff;
}

.nf-mini .material-symbols-outlined {
    font-size: 18px;
}

.nf-mini.sec {
    color: var(--nf-text-2);
}

.nf-vacio {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 50px 20px;
    text-align: center;
    color: var(--nf-muted);
    font-size: 14px;
}

.nf-vacio .material-symbols-outlined {
    font-size: 44px;
    opacity: .5;
}

@media (max-width: 1099px) {
    .nf-wrap {
        flex: none;
    }

    .nf-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 14px;
    }

    .nf-wrap .nf-kpi:nth-child(2n+1) {
        padding-left: 0;
        border-left: 0;
    }

    .nf-lista {
        overflow: visible;
    }
}

@media (max-width: 640px) {
    .nf-hero .nf-btn {
        width: 100%;
        justify-content: center;
    }

    .nf-item {
        flex-wrap: wrap;
    }

    .nf-item > .nf-ico {
        display: none;
    }

    .nf-acc {
        width: 100%;
    }

    .nf-acc .nf-mini {
        flex: 1;
        justify-content: center;
    }
}

.nf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7c69ef;
}

.nf-eyebrow .material-symbols-outlined {
    font-size: 17px;
    line-height: 1;
}

:root[data-theme="dark"] .nf-eyebrow,
body.dark-mode .nf-eyebrow {
    color: #9b8cff;
}

.content:has(.rs-wrap) {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.rs-wrap {
    --rs-surface:   #ffffff;
    --rs-surface-2: #f8f7ff;
    --rs-text:      #1e1b2e;
    --rs-text-2:    #4b4660;
    --rs-muted:     #867f9c;
    --rs-primary:   #7c69ef;
    --rs-primary-2: #6652df;
    --rs-line:      #e9e9f0;
    --rs-wash:      rgba(124, 105, 239, 0.07);
    --rs-ok:        #20a36a;
    --rs-warn:      #f59e0b;
    flex: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 4px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: var(--rs-text);
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

:root[data-theme="dark"] .rs-wrap,
body.dark-mode .rs-wrap {
    --rs-surface:   #1c182b;
    --rs-surface-2: #241f38;
    --rs-text:      #f3f1fb;
    --rs-text-2:    #cfc9e6;
    --rs-muted:     #9d97b6;
    --rs-primary:   #9b8cff;
    --rs-primary-2: #8575f5;
    --rs-line:      rgba(167, 155, 255, 0.16);
    --rs-wash:      rgba(167, 155, 255, 0.09);
    --rs-ok:        #43c796;
    --rs-warn:      #f5b24d;
}

.rs-wrap *,
.rs-wrap *::before,
.rs-wrap *::after {
    box-sizing: border-box;
}

.rs-wrap .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

.rs-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--rs-line);
}

.rs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rs-primary);
}

.rs-eyebrow .material-symbols-outlined {
    font-size: 17px;
}

.rs-hero h1 {
    transform: none;
}

.rs-hero p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--rs-muted);
}

.rs-item:focus-visible {
    outline: 2px solid var(--rs-primary);
    outline-offset: 2px;
}

.rs-layout {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.rs-box {
    border: 1px solid var(--rs-line);
    border-radius: 18px;
    background: var(--rs-surface);
    min-width: 0;
}

.rs-historial {
    position: sticky;
    top: 0;
    max-height: calc(100vh - 190px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rs-historial-cab {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--rs-line);
}

.rs-historial-cab h2 {
    margin: 0;
    font: 700 15px/1.3 'Inter', sans-serif;
    color: var(--rs-text);
}

.rs-historial-cab p {
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--rs-muted);
}

.rs-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 105, 239, .28) transparent;
}

.rs-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 14px 18px;
    text-align: left;
    cursor: pointer;
    border: 1px solid var(--rs-line);
    border-radius: 14px;
    background: transparent;
    color: var(--rs-text);
    font-family: 'Inter', sans-serif;
    transition: border-color .15s, background .15s, transform .15s;
}

.rs-item::before {
    content: "";
    position: absolute;
    inset: 10px auto 10px 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--rs-primary);
    opacity: 0;
    transition: opacity .15s;
}

.rs-item:hover {
    border-color: var(--rs-primary);
    transform: translateY(-1px);
}

.rs-item.activo {
    border-color: var(--rs-primary);
    background: var(--rs-wash);
}

.rs-item.activo::before {
    opacity: 1;
}

.rs-item-ico {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--rs-primary);
    background: var(--rs-wash);
}

.rs-item-txt {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rs-item-txt span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--rs-muted);
}

.rs-item-txt strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--rs-text);
}

.rs-item-total {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rs-item-total span {
    font-size: 11px;
    font-weight: 600;
    color: var(--rs-muted);
}

.rs-item-total strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--rs-primary);
    white-space: nowrap;
}

.rs-vacio {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 24px;
    text-align: center;
    min-height: 320px;
}

.rs-vacio .rs-vacio-ico {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    color: var(--rs-primary);
    background: var(--rs-wash);
    margin-bottom: 6px;
}

.rs-vacio .rs-vacio-ico .material-symbols-outlined {
    font-size: 28px;
}

.rs-vacio h2 {
    margin: 0;
    font: 700 17px/1.3 'Inter', sans-serif;
    color: var(--rs-text);
}

.rs-vacio p {
    margin: 0;
    max-width: 420px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--rs-muted);
}

.rs-detalle {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.recibo-seleccionado {
    width: 100%;
    min-width: 0;
}

.recibo-acciones {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 14px;
}

.recibo-pdf {
    width: 100%;
}

.btn-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    cursor: pointer;
    font: 600 13px 'Inter', sans-serif;
    color: #fff;
    background: var(--rs-primary);
    border: 1px solid var(--rs-primary);
    transition: box-shadow .15s, transform .15s;
}

.btn-pdf:hover {
    box-shadow: 0 8px 20px -8px var(--rs-primary);
    transform: translateY(-1px);
}

.btn-pdf:focus-visible {
    outline: 2px solid var(--rs-primary);
    outline-offset: 2px;
}

.rs-wrap .recibo-documento {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 44px;
    background: #fff;
    color: #1e1b2e;
    font-family: 'Inter', sans-serif;
    border: 1px solid #e9e9f0;
    border-radius: 18px;
    overflow: visible;
}

.rs-wrap .recibo-documento * {
    box-sizing: border-box;
}

.rs-wrap .recibo-encabezado {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
}

.rs-wrap .empresa {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.rs-wrap .logo-nevula {
    font: 800 26px 'Inter', sans-serif;
    letter-spacing: 3px;
    color: #7c69ef;
}

.rs-wrap .empresa-info {
    font-size: 12px;
    color: #6b6580;
}

.rs-wrap .titulo-documento {
    text-align: right;
    min-width: 0;
}

.rs-wrap .titulo-documento h1 {
    margin: 0;
    font: 700 20px/1.2 'Inter', sans-serif;
    letter-spacing: .02em;
    color: #1e1b2e;
    transform: none;
}

.rs-wrap .titulo-documento p {
    margin: 6px 0 0;
    font-size: 12px;
    color: #6b6580;
}

.rs-wrap .linea-principal {
    height: 4px;
    margin: 24px 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #7c69ef, #9b8cff, #c1b8ff);
}

.rs-wrap .datos-periodo {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.rs-wrap .dato-periodo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #e9e9f0;
    border-radius: 12px;
    background: #f8f7ff;
}

.rs-wrap .dato-periodo span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #867f9c;
}

.rs-wrap .dato-periodo strong {
    font-size: 14px;
    font-weight: 700;
    color: #1e1b2e;
    overflow-wrap: anywhere;
}

.rs-wrap .seccion-recibo {
    margin-top: 24px;
    break-inside: avoid;
}

.rs-wrap .seccion-titulo {
    padding: 11px 16px;
    border: 1px solid rgba(124, 105, 239, .18);
    border-radius: 12px 12px 0 0;
    background: #f1eeff;
    color: #5b4bd0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.rs-wrap .datos-trabajador {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border: 1px solid #e9e9f0;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.rs-wrap .datos-trabajador > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 14px 16px;
}

.rs-wrap .datos-trabajador > div:first-child {
    border-right: 1px solid #e9e9f0;
}

.rs-wrap .datos-trabajador span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #867f9c;
}

.rs-wrap .datos-trabajador strong {
    font-size: 14px;
    font-weight: 700;
    color: #1e1b2e;
    overflow-wrap: anywhere;
}

.rs-wrap .tabla-recibo {
    border: 1px solid #e9e9f0;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.rs-wrap .fila-tabla {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 20px;
    padding: 13px 16px;
    border-bottom: 1px solid #efecf6;
    color: #4b4660;
    font-size: 13px;
    break-inside: avoid;
}

.rs-wrap .fila-tabla:last-child {
    border-bottom: 0;
}

.rs-wrap .fila-tabla > span,
.rs-wrap .fila-tabla > strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.rs-wrap .fila-tabla > strong {
    text-align: right;
    font-weight: 700;
    color: #1e1b2e;
}

.rs-wrap .encabezado-tabla {
    background: #f8f7ff;
    color: #867f9c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.rs-wrap .encabezado-tabla span:last-child {
    text-align: right;
}

.rs-wrap .fila-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 15px 16px;
    background: #f5f3ff;
    color: #1e1b2e;
    font-weight: 700;
    break-inside: avoid;
}

.rs-wrap .total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding: 20px 24px;
    border: 1px solid rgba(124, 105, 239, .3);
    border-radius: 14px;
    background: linear-gradient(135deg, #f1eeff, #faf9ff);
    break-inside: avoid;
}

.rs-wrap .total-final > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.rs-wrap .total-final span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    color: #1e1b2e;
}

.rs-wrap .total-final small {
    font-size: 11px;
    color: #6b6580;
}

.rs-wrap .total-final > strong {
    font-size: 27px;
    font-weight: 800;
    color: #7c69ef;
    white-space: nowrap;
}

.rs-wrap .recibo-pie {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 70px;
    break-inside: avoid;
}

.rs-wrap .firma {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
}

.rs-wrap .linea-firma {
    width: 180px;
    max-width: 100%;
    border-top: 1px solid #333;
    margin-bottom: 8px;
}

.rs-wrap .firma span {
    display: block;
    font-size: 11px;
    color: #4b4660;
}

.rs-wrap .firma small {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    color: #867f9c;
}

.rs-wrap .firma-responsable,
.rs-wrap .firma-empleado {
    display: block;
    width: 180px;
    height: 70px;
    max-width: 100%;
    margin: 0 auto 5px;
    object-fit: contain;
}

.rs-wrap .firma-nombre-recibo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 220px;
    min-height: 55px;
    padding: 10px 15px;
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 22px;
    color: #1e1b2e;
    border-bottom: 1px solid #333;
}

.rs-wrap .firma-predeterminada-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.rs-wrap .firma-predeterminada-preview > span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(32, 163, 106, .1);
    border: 1px solid rgba(32, 163, 106, .25);
    color: #20a36a;
}

.rs-wrap .firma-trabajador-contenedor {
    width: 220px;
    max-width: 100%;
    margin: 0 auto 8px;
}

.rs-wrap .firma-manual-oculta {
    width: 100%;
}

.rs-wrap .canvas-firma-empleado {
    display: block;
    width: 220px;
    max-width: 100%;
    height: 80px;
    background: #f8f7ff;
    border: 1.5px dashed rgba(124, 105, 239, .4);
    border-radius: 12px;
    cursor: crosshair;
    touch-action: none;
}

.rs-wrap .canvas-firma-empleado:hover {
    border-color: #7c69ef;
    background: #fff;
}

.rs-wrap .botones-firma-empleado {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}

.rs-wrap .btn-firma-limpiar,
.rs-wrap .btn-firma-guardar,
.rs-wrap .btn-firma-manual {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    cursor: pointer;
    font: 600 11px 'Inter', sans-serif;
    transition: transform .15s, background .15s, border-color .15s;
}

.rs-wrap .btn-firma-limpiar {
    background: #f8f7ff;
    border: 1px solid #e9e9f0;
    color: #4b4660;
}

.rs-wrap .btn-firma-guardar {
    background: #7c69ef;
    border: 1px solid #7c69ef;
    color: #fff;
}

.rs-wrap .btn-firma-manual {
    background: #f1eeff;
    border: 1px solid rgba(124, 105, 239, .25);
    color: #6652df;
}

.rs-wrap .btn-firma-limpiar:hover,
.rs-wrap .btn-firma-guardar:hover,
.rs-wrap .btn-firma-manual:hover {
    transform: translateY(-1px);
}

.rs-wrap .btn-firma-guardar:hover {
    background: #6652df;
    border-color: #6652df;
}

.rs-wrap .leyenda-documento {
    margin-top: 42px;
    padding-top: 14px;
    border-top: 1px solid #e9e9f0;
    text-align: center;
    break-inside: avoid;
}

.rs-wrap .leyenda-documento p {
    margin: 3px 0;
    font-size: 9px;
    line-height: 1.45;
    color: #867f9c;
}

@media (max-width: 1280px) {
    .rs-layout {
        grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 1024px) {
    .rs-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .rs-historial {
        position: static;
        max-height: none;
    }

    .rs-lista {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 14px;
    }

    .rs-item {
        flex: 0 0 min(280px, 78vw);
        width: auto;
    }

    .rs-wrap .recibo-documento {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .rs-wrap {
        gap: 18px;
    }

    .rs-hero {
        padding-bottom: 16px;
    }

    .btn-pdf {
        width: 100%;
    }

    .recibo-acciones {
        justify-content: stretch;
    }

    .rs-wrap .recibo-documento {
        padding: 24px;
        border-radius: 14px;
    }

    .rs-wrap .recibo-encabezado {
        flex-direction: column;
        gap: 16px;
    }

    .rs-wrap .titulo-documento {
        width: 100%;
        text-align: left;
    }

    .rs-wrap .datos-periodo {
        grid-template-columns: 1fr;
    }

    .rs-wrap .datos-trabajador {
        grid-template-columns: 1fr;
    }

    .rs-wrap .datos-trabajador > div:first-child {
        border-right: 0;
        border-bottom: 1px solid #e9e9f0;
    }

    .rs-wrap .fila-tabla {
        grid-template-columns: minmax(0, 1fr) 120px;
        gap: 10px;
        padding: 12px;
    }

    .rs-wrap .total-final {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .rs-wrap .total-final > strong {
        font-size: 23px;
    }

    .rs-wrap .recibo-pie {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-top: 52px;
    }

    .rs-wrap .firma-trabajador-contenedor,
.rs-wrap .canvas-firma-empleado {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .rs-wrap .recibo-documento {
        padding: 16px;
    }

    .rs-wrap .logo-nevula {
        font-size: 21px;
        letter-spacing: 2px;
    }

    .rs-wrap .fila-tabla {
        grid-template-columns: minmax(0, 1fr) 96px;
        font-size: 12px;
    }

    .rs-item {
        padding: 12px 12px 12px 16px;
        gap: 10px;
    }

    .rs-item-ico {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-item,
.btn-pdf,
.rs-wrap [class^="btn-firma"] {
        transition: none;
    }

    .rs-item:hover,
.btn-pdf:hover {
        transform: none;
    }
}

@media print {
    body {
        background: #fff !important;
    }

    .rs-hero,
.rs-historial,
.recibo-acciones,
.rs-vacio {
        display: none !important;
    }

    .rs-layout {
        display: block;
    }

    .rs-wrap .recibo-documento {
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .rs-wrap .linea-principal,
.rs-wrap .seccion-titulo,
.rs-wrap .dato-periodo,
.rs-wrap .fila-subtotal,
.rs-wrap .total-final {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

.content:has(.eq-wrap) {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.eq-wrap {
    --eq-surface:   #ffffff;
    --eq-surface-2: #f8f7ff;
    --eq-text:      #1e1b2e;
    --eq-text-2:    #4b4660;
    --eq-muted:     #867f9c;
    --eq-primary:   #7c69ef;
    --eq-line:      #e9e9f0;
    --eq-wash:      rgba(124, 105, 239, 0.07);
    --eq-ok:        #20a36a;
    flex: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 4px 0 24px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    gap: 22px;
    color: var(--eq-text);
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

:root[data-theme="dark"] .eq-wrap,
body.dark-mode .eq-wrap {
    --eq-surface:   #1c182b;
    --eq-surface-2: #241f38;
    --eq-text:      #f3f1fb;
    --eq-text-2:    #cfc9e6;
    --eq-muted:     #9d97b6;
    --eq-primary:   #9b8cff;
    --eq-line:      rgba(167, 155, 255, 0.16);
    --eq-wash:      rgba(167, 155, 255, 0.09);
    --eq-ok:        #43c796;
}

.eq-wrap *,
.eq-wrap *::before,
.eq-wrap *::after {
    box-sizing: border-box;
}

.eq-wrap .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

.eq-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--eq-line);
}

.eq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--eq-primary);
}

.eq-eyebrow .material-symbols-outlined {
    font-size: 17px;
}

.eq-hero p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--eq-muted);
}

.eq-hero p strong {
    color: var(--eq-text-2);
    font-weight: 600;
}

.eq-buscador {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.eq-input {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    min-width: 260px;
    padding: 0 12px;
    border: 1px solid var(--eq-line);
    border-radius: 12px;
    background: transparent;
    color: var(--eq-primary);
    cursor: text;
    transition: border-color .15s;
}

.eq-input:focus-within {
    border-color: var(--eq-primary);
}

.eq-input input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--eq-text);
    font: 500 13px 'Inter', sans-serif;
}

.eq-input input::placeholder {
    color: var(--eq-muted);
}

.eq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    white-space: nowrap;
    cursor: pointer;
    font: 600 13px 'Inter', sans-serif;
    color: #fff;
    background: var(--eq-primary);
    border: 1px solid var(--eq-primary);
    transition: box-shadow .15s, transform .15s;
}

.eq-btn:hover {
    box-shadow: 0 8px 20px -8px var(--eq-primary);
    transform: translateY(-1px);
}

.eq-btn-suave {
    color: var(--eq-primary);
    background: var(--eq-wash);
    border-color: transparent;
}

.eq-btn:focus-visible {
    outline: 2px solid var(--eq-primary);
    outline-offset: 2px;
}

.eq-box {
    border: 1px solid var(--eq-line);
    border-radius: 18px;
    background: var(--eq-surface);
    min-width: 0;
}

.eq-resumen {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.eq-stat {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.eq-stat span {
    font-size: 12px;
    font-weight: 600;
    color: var(--eq-muted);
}

.eq-stat strong {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--eq-text);
}

.eq-stat strong.ok {
    color: var(--eq-ok);
}

.eq-stat em {
    font-style: normal;
    font-size: 11.5px;
    color: var(--eq-muted);
}

.eq-seccion {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eq-seccion-cab {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eq-seccion-ico {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--eq-primary);
    background: var(--eq-wash);
    flex: 0 0 auto;
}

.eq-seccion-cab h2 {
    margin: 0;
    font: 700 15px/1.3 'Inter', sans-serif;
    color: var(--eq-text);
}

.eq-cuenta {
    margin-left: auto;
    min-width: 28px;
    padding: 3px 10px;
    border-radius: 99px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--eq-primary);
    background: var(--eq-wash);
}

.eq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.eq-persona {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--eq-line);
    border-radius: 14px;
    background: transparent;
    min-width: 0;
    transition: border-color .15s, transform .15s;
}

.eq-persona:hover {
    border-color: var(--eq-primary);
    transform: translateY(-1px);
}

.eq-persona.eq-actual {
    border-color: var(--eq-primary);
    background: var(--eq-wash);
}

.eq-avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--eq-primary);
    background: var(--eq-wash);
}

.eq-lider .eq-avatar {
    color: #fff;
    background: var(--eq-primary);
}

.eq-info {
    flex: 1;
    min-width: 0;
}

.eq-nombre {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--eq-text);
}

.eq-nombre span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eq-vos {
    flex: 0 0 auto;
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 99px;
    color: #fff;
    background: var(--eq-primary);
}

.eq-cargo {
    margin-top: 2px;
    font-size: 12px;
    color: var(--eq-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eq-cargo i {
    font-style: normal;
    margin: 0 2px;
}

.eq-estado {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    color: var(--eq-muted);
    background: var(--eq-surface-2);
}

.eq-estado b {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.eq-estado.presente {
    color: var(--eq-ok);
    background: color-mix(in srgb, var(--eq-ok) 12%, transparent);
}

.eq-vacio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px;
    border: 1px dashed var(--eq-line);
    border-radius: 14px;
    font-size: 13px;
    color: var(--eq-muted);
}

@media (max-width: 900px) {
    .eq-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 700px) {
    .eq-wrap {
        gap: 18px;
    }

    .eq-hero {
        padding-bottom: 16px;
    }

    .eq-buscador {
        width: 100%;
    }

    .eq-input {
        flex: 1 1 100%;
        min-width: 0;
    }

    .eq-btn {
        flex: 1 1 auto;
    }

    .eq-resumen {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .eq-stat {
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 4px 10px;
    }

    .eq-stat em {
        margin-left: auto;
    }

    .eq-seccion {
        padding: 16px;
    }

    .eq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .eq-persona {
        flex-wrap: wrap;
    }

    .eq-estado {
        margin-left: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eq-persona,
.eq-btn,
.eq-input {
        transition: none;
    }

    .eq-persona:hover,
.eq-btn:hover {
        transform: none;
    }
}

html.pg-calendario #vista-empleado .cal-page {
    --cl-line: #e9e9f0;
    --cl-wash: rgba(124, 105, 239, 0.08);
    --cl-ok:   #20a36a;
    font-family: 'Inter', sans-serif;
}

html.pg-calendario[data-theme="dark"] #vista-empleado .cal-page,
html.pg-calendario.dark-mode #vista-empleado .cal-page,
body.dark-mode #vista-empleado .cal-page {
    --cl-line: rgba(167, 155, 255, 0.16);
    --cl-wash: rgba(167, 155, 255, 0.10);
    --cl-ok:   #43c796;
}

html.pg-calendario #vista-empleado .cal-page .cal-hero {
    padding-bottom: 20px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--cl-line);
}

html.pg-calendario #vista-empleado .cal-page .cal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--primary);
}

html.pg-calendario #vista-empleado .cal-page .cal-eyebrow .material-symbols-outlined {
    font-size: 17px;
    line-height: 1;
}

html.pg-calendario #vista-empleado .cal-page .cal-hero p {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted);
}

html.pg-calendario #vista-empleado .cal-page .week-card {
    border-radius: 18px;
    border: 1px solid var(--cl-line);
    box-shadow: none;
}

html.pg-calendario #vista-empleado .cal-page .cal-toolbar {
    border-bottom-color: var(--cl-line);
}

html.pg-calendario #vista-empleado .cal-page .cal-toolbar .nvh-range {
    font-family: 'Inter', sans-serif;
    letter-spacing: -.01em;
}

html.pg-calendario #vista-empleado .cal-page .cal-toolbar .btn-nuevo-evento {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    box-shadow: none;
}

html.pg-calendario #vista-empleado .cal-page .cal-toolbar .btn-nuevo-evento:hover {
    box-shadow: 0 8px 20px -8px var(--primary);
    transform: translateY(-1px);
    filter: none;
}

html.pg-calendario #vista-empleado .cal-page .dash-card {
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid var(--cl-line);
    background: var(--bg-card);
    box-shadow: none;
}

html.pg-calendario #vista-empleado .cal-page .dashboard-row .dash-card:nth-child(1) {
    border: 1px solid var(--cl-line);
}

html.pg-calendario #vista-empleado .cal-page .dash-card h3,
html.pg-calendario #vista-empleado .cal-page .avisos-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font: 700 12px/1.2 'Inter', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

html.pg-calendario #vista-empleado .cal-page .dash-tit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

html.pg-calendario #vista-empleado .cal-page .dash-ico {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    color: var(--primary);
    background: var(--cl-wash);
}

html.pg-calendario #vista-empleado .cal-page .dash-ico .material-symbols-outlined {
    font-size: 17px;
    line-height: 1;
}

html.pg-calendario #vista-empleado .cal-page .dash-card .dash-main {
    font: 700 16px/1.3 'Inter', sans-serif;
    color: var(--text);
}

html.pg-calendario #vista-empleado .cal-page .dash-card .dash-sub {
    font-size: 12.5px;
    color: var(--text-muted);
}

html.pg-calendario #vista-empleado .cal-page .dash-card .dash-empty {
    font-size: 13px;
    color: var(--text-muted);
}

html.pg-calendario #vista-empleado .cal-page .dash-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
    color: var(--cl-ok);
    background: color-mix(in srgb, var(--cl-ok) 12%, transparent);
}

html.pg-calendario #vista-empleado .cal-page .team-list li {
    border-radius: 10px;
}

html.pg-calendario #vista-empleado .cal-page .team-name {
    font-size: 13px;
}

html.pg-calendario #vista-empleado .cal-page .avisos-card {
    background: var(--bg-card);
    border: 1px solid var(--cl-line);
    border-radius: 18px;
    padding: 14px 20px;
}

html.pg-calendario #vista-empleado .cal-page .avisos-card h3 {
    justify-content: space-between;
    margin-bottom: 6px;
}

html.pg-calendario #vista-empleado .cal-page .avisos-ver-todas {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--primary);
}

html.pg-calendario #vista-empleado .cal-page .avisos-ver-todas:hover {
    text-decoration: underline;
}

html.pg-calendario #vista-empleado .cal-page .aviso-msg {
    font-size: 13px;
    color: var(--text);
}

html.pg-calendario #vista-empleado .cal-page .avisos-empty {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 760px) {
    html.pg-calendario #vista-empleado .cal-page .cal-hero {
        padding-bottom: 14px;
    }

    html.pg-calendario #vista-empleado .cal-page .dash-card {
        padding: 14px 16px;
    }
}

@media (min-width: 761px) {
    html.pg-calendario.ntb-bar-on #vista-empleado .layout .content.cal-page {
        margin-top: var(--ntb-h, 72px) !important;
        height: calc(100vh - var(--ntb-h, 72px)) !important;
        min-height: 0 !important;
        padding-top: 18px !important;
    }

    html.pg-calendario #vista-empleado .cal-page .cal-hero {
        padding-right: 0;
    }
}

:where(.pg-licencia)[data-theme="dark"],
:where(.pg-licencia) body.dark-mode,
:where(.pg-licencia) body[data-theme="dark"] {
    --empleado-primary: #9b8cff;
    --empleado-primary-dark: #7c69ef;
    --empleado-primary-light: rgba(155, 140, 255, 0.12);
    --empleado-bg: #14111f;
    --empleado-surface: #1c182b;
    --empleado-surface-soft: #242036;
    --empleado-text: #f3f1fb;
    --empleado-text-secondary: #b8b2cd;
    --empleado-text-muted: #89839a;
    --empleado-border: #2e2845;
    --empleado-success: #2ecc71;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --empleado-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.2);
    --empleado-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    --empleado-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.5);
}

:where(.pg-licencia) .form-group input[type="file"] {
    background: var(--empleado-surface-soft);
    border: 1px solid var(--empleado-border);
}

:where(.pg-licencia) .form-group input[type="file"]::file-selector-button {
    box-shadow: var(--empleado-shadow-sm);
}

:where(.pg-licencia) .form-group input[type="file"]::file-selector-button:hover {
    background: var(--empleado-primary-light);
    border-color: rgba(124, 105, 239, 0.4);
}

:where(.pg-licencia) .nv-minical {
    --nv-primary: #6c5ce7;
    --nv-primary-hover: #5a4bd1;
    --nv-light: #e8e4ff;
    --nv-text: #2d3436;
    --nv-muted: #8d8383;
    --nv-border: #eee;
    --nv-ok: #22c55e;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--nv-text);
    box-sizing: border-box;
}

:where(.pg-licencia) .nv-minical * {
    box-sizing: border-box;
}

:where(.pg-licencia) #vista-empleado {
    --primary: #7c69ef;
    --primary-hover: #6854e8;
    --primary-light: rgba(124, 105, 239, 0.12);
    --primary-soft: rgba(124, 105, 239, 0.08);
    --bg-card: #ffffff;
    --bg-alt: #fafafa;
    --text: #1e1b2e;
    --text-muted: #8b85a0;
    --muted: #8b85a0;
    --light: #f5f3ff;
    --ok: #10b981;
    --info: #17a2b8;
    --border-color: rgba(124, 105, 239, 0.12);
    --border: #e2e8f0;
    --line: #e2e8f0;
    --radius-md: 16px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
}

:where(.pg-licencia)[data-theme="dark"] #vista-empleado,
:where(.pg-licencia) #vista-empleado[data-theme="dark"],
:where(.pg-licencia) #vista-empleado.dark-mode,
:where(.pg-licencia) .dark-mode #vista-empleado {
    --bg-card: #1e1b2e;
    --bg-alt: #252238;
    --text: #e2e8f0;
    --text-muted: #a09aba;
    --muted: #a09aba;
    --light: #252238;
    --border-color: rgba(124, 105, 239, 0.25);
    --border: #2e2a45;
    --line: #2e2a45;
    --primary-soft: rgba(124, 105, 239, 0.2);
    --primary-light: rgba(124, 105, 239, 0.25);
}

:where(.pg-licencia) #vista-empleado .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 15px;
}

:where(.pg-licencia) #vista-empleado .cal-header p {
    margin: 4px 0 0;
    color: var(--text);
    font-size: .86rem;
    font-weight: 500;
}

:where(.pg-licencia) #vista-empleado .team-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 90px;
    overflow-y: auto;
}

:where(.pg-licencia) #vista-empleado .team-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--line);
    font-size: .78rem;
}

:where(.pg-licencia) #vista-empleado .team-list li:last-child {
    border-bottom: none;
}

:where(.pg-licencia) #vista-empleado .team-name {
    color: var(--text);
    font-weight: 700;
}

:where(.pg-licencia) #vista-empleado .team-role {
    color: var(--muted);
    font-size: .71rem;
    margin-left: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .02em;
}

:where(.pg-licencia) #vista-empleado .team-status {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

:where(.pg-licencia) #vista-empleado .team-status.activo {
    background: var(--primary-soft);
    color: var(--primary);
}

:where(.pg-licencia) #vista-empleado .team-turno {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:2px;
    flex-shrink:0;
}

:where(.pg-licencia) #vista-empleado .team-hours {
    font-size:11px;
    color:#8d8383;
}

:where(.pg-licencia) #vista-empleado .team-status[class*="st-"] {
    padding:2px 9px;
    border-radius:20px;
    font-size:11px;
    font-weight:600;
}

html:where(.pg-licencia):has(#vista-empleado),
:where(.pg-licencia) body#vista-empleado {
    height: 100%;
    overflow: hidden;
}

:where(.pg-licencia) #vista-empleado .layout .content.cal-page {
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    flex: 1 1 0;
    min-width: 0;
    height: 100vh;
    box-sizing: border-box;
    padding: 20px 28px 16px !important;
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    overflow-x: hidden;
    overflow-y: auto;
}

:where(.pg-licencia) #vista-empleado .cal-page .cal-header {
    flex: 0 0 auto;
    position: relative;
    z-index: 2000;
}

:where(.pg-licencia) #vista-empleado .cal-page .team-list {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    grid-template-columns: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

:where(.pg-licencia) #vista-empleado .cal-page .team-list li {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 8px 2px !important;
    font-size: 13px;
}

:where(.pg-licencia) #vista-empleado .cal-page .team-list li:last-child {
    border-bottom: 0 !important;
}

:where(.pg-licencia) #vista-empleado .cal-page .team-list li:hover {
    background: var(--primary-soft) !important;
}

:where(.pg-licencia) #vista-empleado .cal-page .team-name {
    font-weight: 600;
    margin-right: 6px;
}

:where(.pg-licencia) #vista-empleado .cal-page .team-role {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

:where(.pg-licencia) #vista-empleado .cal-page .team-turno {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

:where(.pg-licencia) #vista-empleado .cal-page,
:where(.pg-licencia) #vista-empleado .cal-page * {
    scrollbar-width: thin;
    scrollbar-color: rgba(124,105,239,.45) transparent;
}

:where(.pg-licencia) #vista-empleado .cal-page *::-webkit-scrollbar,
:where(.pg-licencia) #vista-empleado .layout .content.cal-page::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

:where(.pg-licencia) #vista-empleado .cal-page *::-webkit-scrollbar-track,
:where(.pg-licencia) #vista-empleado .layout .content.cal-page::-webkit-scrollbar-track {
    background: transparent;
}

:where(.pg-licencia) #vista-empleado .cal-page *::-webkit-scrollbar-thumb,
:where(.pg-licencia) #vista-empleado .layout .content.cal-page::-webkit-scrollbar-thumb {
    background: rgba(124,105,239,.4);
    border-radius: 8px;
}

:where(.pg-licencia) #vista-empleado .cal-page *::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

:where(.pg-licencia) #vista-empleado .cal-page *::-webkit-scrollbar-button {
    display: none;
}

@media (max-width: 1100px) {
    html:where(.pg-licencia):has(#vista-empleado),
:where(.pg-licencia) body#vista-empleado {
        overflow: auto;
    }

    :where(.pg-licencia) #vista-empleado .layout .content.cal-page {
        height: auto;
        overflow: visible;
    }

    :where(.pg-licencia) #vista-empleado .cal-page .cal-header {
        padding-right: 0;
    }
}

:where(.pg-licencia) #vista-empleado .cal-page .nvb {
    position: absolute;
    left: 3px;
    right: 3px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    line-height: 1.3;
    z-index: 2;
    transition: height .26s ease, width .26s ease, left .26s ease, box-shadow .2s ease;
}

:where(.pg-licencia) #vista-empleado .cal-page .nvb:hover {
    box-shadow: 0 4px 14px rgba(40,30,90,.14);
}

:where(.pg-licencia) #vista-empleado .cal-page .cal-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    flex-wrap: wrap;
}

:where(.pg-licencia) #vista-empleado .cal-page .cal-title p {
    margin: 0;
}

:where(.pg-licencia) #vista-empleado .cal-page .cal-header {
    padding-right: 130px;
    margin-bottom: -6px;
}

:where(.pg-licencia) #vista-empleado .cal-page .cal-main {
    flex: 1 1 0;
    min-height: 300px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    border: 1px solid #e6e3f3;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(60,40,140,.07);
}

:where(.pg-licencia) #vista-empleado .cal-page .cal-toolbar {
    flex: 0 0 auto;
    position: relative;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-bottom: 1px solid #efedf7;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, #fbfaff, #fff);
}

@media (max-width: 1100px) {
    :where(.pg-licencia) #vista-empleado .cal-page .cal-main {
        flex: 0 0 auto;
    }
}

:where(.pg-licencia)[data-theme="dark"] .nv-minical {
    --nv-light: #3a3360;
    --nv-text: #e2e8f0;
    --nv-muted: #a09aba;
    --nv-border: #2e2a45;
    --nv-primary: #9b8cff;
}

:where(:where(.pg-licencia)[data-theme="dark"]) #vista-empleado .team-hours {
    color: #a09aba;
}

:where(:where(.pg-licencia)[data-theme="dark"]) #vista-empleado .cal-page .cal-main {
    background: #1e1b2e;
    border-color: #2e2a45;
}

:where(:where(.pg-licencia)[data-theme="dark"]) #vista-empleado .cal-page .cal-toolbar {
    border-bottom-color: #2e2a45;
    background: linear-gradient(180deg, #221e33, #1e1b2e);
}

:where(.pg-licencia):root {
    --empleado-primary: #7c69ef;
    --empleado-primary-dark: #6652df;
    --empleado-primary-light: #eeeaff;
    --empleado-bg: #f7f6fc;
    --empleado-surface: #ffffff;
    --empleado-surface-soft: #fbfaff;
    --empleado-text: #211d32;
    --empleado-text-secondary: #514c61;
    --empleado-text-muted: #89839a;
    --empleado-border: #e8e4f1;
    --empleado-success: #20a36a;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --empleado-shadow-sm: 0 4px 14px rgba(42, 31, 84, 0.05);
    --empleado-shadow: 0 12px 35px rgba(42, 31, 84, 0.08);
    --empleado-shadow-hover: 0 18px 40px rgba(72, 53, 150, 0.13);
    --empleado-radius-sm: 12px;
    --empleado-radius: 18px;
    --empleado-radius-lg: 26px;
    --empleado-font: 'Inter', sans-serif;
    --empleado-display: 'Syne', sans-serif;
}

:where(.pg-licencia) body.dark-mode,
:where(.pg-licencia) body[data-theme="dark"] {
    --empleado-primary: #9b8cff;
    --empleado-primary-dark: #7c69ef;
    --empleado-primary-light: rgba(155, 140, 255, 0.12);
    --empleado-bg: #14111f;
    --empleado-surface: #1c182b;
    --empleado-surface-soft: #242036;
    --empleado-text: #f3f1fb;
    --empleado-text-secondary: #b8b2cd;
    --empleado-text-muted: #89839a;
    --empleado-border: #2e2845;
    --empleado-success: #2ecc71;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --empleado-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.2);
    --empleado-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    --empleado-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.5);
}

:where(.pg-licencia) * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html:where(.pg-licencia),
:where(.pg-licencia) body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

html:where(.pg-licencia) {
    scroll-behavior: smooth;
}

:where(.pg-licencia) body {
    min-height: 100vh;
    background: var(--empleado-bg);
    color: var(--empleado-text);
    font-family: var(--empleado-font);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

:where(.pg-licencia) .layout,
:where(.pg-licencia) .layouts {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: 
        radial-gradient(circle at 85% 10%, rgba(124, 105, 239, 0.08), transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(124, 105, 239, 0.045), transparent 30%),
        var(--empleado-bg);
}

:where(.pg-licencia) .content {
    position: relative;
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100vh;
    min-height: 0;
    padding: 46px clamp(28px, 4vw, 68px) 60px;
    overflow-y: auto;
    overflow-x: hidden;
}

:where(.pg-licencia) .content::-webkit-scrollbar {
    width: 8px;
}

:where(.pg-licencia) .content::-webkit-scrollbar-track {
    background: transparent;
}

:where(.pg-licencia) .content::-webkit-scrollbar-thumb {
    background: rgba(124, 105, 239, 0.28);
    border-radius: 999px;
}

:where(.pg-licencia) .content::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 105, 239, 0.45);
}

:where(.pg-licencia) .content {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 105, 239, 0.28) transparent;
}

:where(.pg-licencia) .content > p {
    color: var(--empleado-text-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

:where(.pg-licencia) .metrics-grid-lider {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 24px;
}

:where(.pg-licencia) .metrics-grid-lider .card {
    background: var(--empleado-surface);
    border: 1px solid rgba(124, 105, 239, 0.15);
    border-radius: var(--empleado-radius);
    padding: 22px 24px;
    box-shadow: var(--empleado-shadow-sm);
    position: relative;
    overflow: hidden;
}

:where(.pg-licencia) .metrics-grid-lider .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--empleado-primary);
}

:where(.pg-licencia) .metrics-grid-lider .card h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--empleado-text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}

:where(.pg-licencia) .valor-principal {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--empleado-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--empleado-text);
    line-height: 1;
}

:where(.pg-licencia) .form-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 42px 42px;
    background: var(--empleado-surface);
    border: 1px solid rgba(124, 105, 239, 0.15);
    border-radius: var(--empleado-radius-lg);
    box-shadow: var(--empleado-shadow);
}

:where(.pg-licencia) .form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--empleado-primary), #9b8cff, #c1b8ff);
    border-top-left-radius: var(--empleado-radius-lg);
    border-top-right-radius: var(--empleado-radius-lg);
}

:where(.pg-licencia) .form-container header {
    margin-top: 10px;
    margin-bottom: 28px;
}

:where(.pg-licencia) .form-container header p {
    color: var(--empleado-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

:where(.pg-licencia) .team-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--empleado-font);
    font-weight: 700;
    border-radius: 999px;
}

:where(.pg-licencia) .team-status.activo {
    background: var(--empleado-primary-light);
    color: var(--empleado-primary);
    border: 1px solid rgba(124, 105, 239, 0.3);
}

:where(.pg-licencia) .turns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

:where(.pg-licencia) .turn-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
    background: var(--empleado-surface-soft);
    border: 1px solid var(--empleado-border);
    border-radius: var(--empleado-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

:where(.pg-licencia) .turn-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

:where(.pg-licencia) .turn-card-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

:where(.pg-licencia) .turn-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

:where(.pg-licencia) .turn-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--empleado-text);
}

:where(.pg-licencia) .turn-type-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: var(--empleado-text-secondary);
}

:where(.pg-licencia) .turn-card:hover {
    border-color: rgba(124, 105, 239, 0.4);
    background: var(--empleado-primary-light);
}

:where(.pg-licencia) .turn-card:has(input[type="radio"]:checked) {
    background: var(--empleado-primary-light);
    border-color: var(--empleado-primary);
    box-shadow: var(--empleado-shadow-sm);
}

:where(.pg-licencia) .turn-card:has(input[type="radio"]:checked) .turn-time {
    color: var(--empleado-primary);
}

:where(.pg-licencia) .empleados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

:where(.pg-licencia) .vos {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: var(--empleado-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
}

:where(.pg-licencia) .estado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    flex-shrink: 0;
}

:where(.pg-licencia) .form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

:where(.pg-licencia) .form-group {
    margin-bottom: 20px;
}

:where(.pg-licencia) .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--empleado-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

:where(.pg-licencia) .form-group input[type="datetime-local"],
:where(.pg-licencia) .form-group input[type="date"],
:where(.pg-licencia) .form-group input[type="number"],
:where(.pg-licencia) .form-group input[type="file"],
:where(.pg-licencia) .form-group input[type="text"],
:where(.pg-licencia) .form-group select,
:where(.pg-licencia) .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--empleado-font);
    font-size: 14px;
    color: var(--empleado-text);
    background: var(--empleado-surface-soft);
    border: 1px solid var(--empleado-border);
    border-radius: var(--empleado-radius-sm);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:where(.pg-licencia) .form-group input:focus,
:where(.pg-licencia) .form-group select:focus,
:where(.pg-licencia) .form-group textarea:focus {
    border-color: var(--empleado-primary);
    box-shadow: 0 0 0 3px rgba(124, 105, 239, 0.15);
    background: var(--empleado-surface);
}

:where(.pg-licencia) .form-group input[type="file"] {
    padding: 10px 14px;
    cursor: pointer;
}

:where(.pg-licencia) .form-group textarea {
    resize: vertical;
}

:where(.pg-licencia) .form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--empleado-border);
}

:where(.pg-licencia) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--empleado-font);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--empleado-radius-sm);
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

:where(.pg-licencia) .btn-cancel {
    background: var(--empleado-surface-soft);
    color: var(--empleado-text-secondary);
    border: 1px solid var(--empleado-border);
}

:where(.pg-licencia) .btn-cancel:hover {
    background: var(--empleado-border);
    color: var(--empleado-text);
}

:where(.pg-licencia) .btn-primary {
    background: var(--empleado-primary);
    color: #ffffff;
    box-shadow: var(--empleado-shadow-sm);
}

:where(.pg-licencia) .btn-primary:hover {
    background: var(--empleado-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--empleado-shadow-hover);
}

:where(.pg-licencia) ::selection {
    background: rgba(124, 105, 239, 0.20);
    color: var(--empleado-text);
}

@media (max-width: 1150px) {
    :where(.pg-licencia) .content {
        padding: 38px 34px 50px;
    }
}

@media (max-width: 900px) {
    :where(.pg-licencia) .sidebar,
:where(.pg-licencia) .layouts .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 285px !important;
        min-width: 285px !important;
        max-width: 285px !important;
        height: 100vh !important;
        z-index: 10000 !important;
        padding: 1.4rem 0.85rem !important;
        background: var(--empleado-surface) !important;
        transform: translateX(-110%) !important;
        transition: transform 0.3s ease-in-out !important;
        pointer-events: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-shadow: 8px 0 30px rgba(42, 31, 84, 0.12) !important;
    }

    :where(.pg-licencia) .sidebar.mobile-open,
:where(.pg-licencia) .layouts .sidebar.mobile-open {
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }

    :where(.pg-licencia) .sidebar .toggle-button {
        display: none !important;
    }

    html:where(.pg-licencia),
:where(.pg-licencia) body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    :where(.pg-licencia) .layout,
:where(.pg-licencia) .layouts {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    :where(.pg-licencia) .content {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 75px 16px 40px !important;
    }

    :where(.pg-licencia) .content > *,
:where(.pg-licencia) .form-container {
        max-width: 100% !important;
        padding: 24px 18px !important;
        margin-left: 0;
        margin-right: 0;
    }

    :where(.pg-licencia) .metrics-grid-lider,
:where(.pg-licencia) .empleados,
:where(.pg-licencia) .form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    :where(.pg-licencia) .form-actions {
        flex-direction: column-reverse;
        width: 100%;
        gap: 10px;
    }

    :where(.pg-licencia) .form-actions .btn,
:where(.pg-licencia) .form-actions button,
:where(.pg-licencia) .btn,
:where(.pg-licencia) .btn-primary,
:where(.pg-licencia) .btn-cancel {
        width: 100%;
        justify-content: center;
    }

    :where(.pg-licencia) .turns-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 800px) {
    :where(.pg-licencia) .content {
        padding: 30px 24px 45px;
    }

    :where(.pg-licencia) .form-container,
:where(.pg-licencia) .metrics-grid-lider {
        max-width: 100%;
    }

    :where(.pg-licencia) .form-container {
        padding: 38px 28px 28px;
        border-radius: 22px;
    }
}

@media (max-width: 600px) {
    :where(.pg-licencia) .form-container {
        margin-bottom: 22px;
        padding: 28px 16px 20px;
        border-radius: 20px;
    }

    :where(.pg-licencia) .turn-card-body {
        gap: 12px;
    }
}

:where(.pg-licencia)[data-theme="dark"] {
    color-scheme: dark;
    --empleado-primary: #9b8cff;
    --empleado-primary-dark: #7c69ef;
    --empleado-primary-light: rgba(155, 140, 255, 0.12);
    --empleado-bg: #14111f;
    --empleado-surface: #1c182b;
    --empleado-surface-soft: #242036;
    --empleado-text: #f3f1fb;
    --empleado-text-secondary: #b8b2cd;
    --empleado-text-muted: #89839a;
    --empleado-border: #2e2845;
    --empleado-success: #2ecc71;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --empleado-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.2);
    --empleado-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    --empleado-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.5);
}

:where(.pg-licencia) body.dark-mode,
:where(.pg-licencia) body[data-theme="dark"] {
    color-scheme: dark;
}

:is(:where(.pg-licencia)[data-theme="dark"], :where(.pg-licencia) body.dark-mode) .logo-container a img:first-child:not(:only-child) {
    display: none;
}

:is(:where(.pg-licencia)[data-theme="dark"], :where(.pg-licencia) body.dark-mode) .sidebar {
    background: var(--empleado-surface);
    border-color: var(--empleado-border);
}

@media (max-width: 900px) {
    :is(:where(.pg-licencia)[data-theme="dark"], :where(.pg-licencia) body.dark-mode) .sidebar,
:is(:where(.pg-licencia)[data-theme="dark"], :where(.pg-licencia) body.dark-mode) .layouts .sidebar {
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.4) !important;
    }
}

:is(:where(.pg-licencia)[data-theme="dark"], :where(.pg-licencia) body.dark-mode) .nv-minical {
    --nv-light: #3a3360;
    --nv-text: #e2e8f0;
    --nv-muted: #a09aba;
    --nv-border: #2e2a45;
    --nv-primary: #9b8cff;
}

:where(.pg-licencia) .btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--empleado-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: var(--empleado-radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

:where(.pg-licencia) .btn-cancel:focus-visible {
    outline: 2px solid var(--empleado-primary);
    outline-offset: 2px;
}

:where(.pg-licencia) .form-group select {
    cursor: pointer;
}

:where(.pg-licencia) .form-group textarea {
    min-height: 130px;
    line-height: 1.6;
}

:where(.pg-licencia) .form-group input::placeholder,
:where(.pg-licencia) .form-group textarea::placeholder {
    color: var(--empleado-text-muted);
}

:where(.pg-licencia) form[name="formulario_urgencia"] {
    --urgencia: #e5484d;
    --urgencia-dark: #cf3a3f;
    --urgencia-light: rgba(229, 72, 77, 0.09);
}

:is(:where(.pg-licencia)[data-theme="dark"], :where(.pg-licencia) body.dark-mode) form[name="formulario_urgencia"] {
    --urgencia: #ff6b70;
    --urgencia-dark: #e5484d;
    --urgencia-light: rgba(255, 107, 112, 0.12);
}

:where(.pg-licencia) form[name="formulario_urgencia"] .form-group input:focus,
:where(.pg-licencia) form[name="formulario_urgencia"] .form-group select:focus,
:where(.pg-licencia) form[name="formulario_urgencia"] .form-group textarea:focus {
    border-color: var(--urgencia);
    box-shadow: 0 0 0 3px var(--urgencia-light);
}

:where(.pg-licencia) .form-container > section.form-group > label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--empleado-primary);
    font-family: var(--empleado-display);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

:where(.pg-licencia) .metrics-grid-lider,
:where(.pg-licencia) .form-container {
    --primary: var(--empleado-primary);
    --ok: var(--empleado-success);
    --text-muted: var(--empleado-text-muted);
    --bg-main: var(--empleado-border);
}

:where(.pg-licencia) .valor-principal strong {
    font-weight: 800;
    letter-spacing: -0.5px;
}

:where(.pg-licencia) .form-container > header {
    flex-wrap: wrap;
    gap: 12px;
}

:where(.pg-licencia) .form-container > header .team-status {
    white-space: nowrap;
}

:where(.pg-licencia) .form-group .turns-grid .turn-card {
    display: flex;
    margin-bottom: 0;
    letter-spacing: 0;
    text-transform: none;
    font-size: inherit;
}

:where(.pg-licencia) .turn-card-body > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--empleado-surface);
    border: 1px solid var(--empleado-border);
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

:where(.pg-licencia) .turn-card:hover .turn-card-body > i {
    border-color: rgba(124, 105, 239, 0.3);
}

:where(.pg-licencia) .turn-card:has(input[type="radio"]:checked) .turn-card-body > i {
    background: var(--empleado-primary);
    border-color: var(--empleado-primary);
    color: #ffffff !important;
}

:where(.pg-licencia) .turn-card:has(input[type="radio"]:focus-visible) {
    outline: 2px solid var(--empleado-primary);
    outline-offset: 2px;
}

:where(.pg-licencia) .form-group input[type="date"] {
    cursor: pointer;
}

:where(.pg-licencia) .form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

:where(.pg-licencia) .form-group input[type="file"] {
    color: var(--empleado-text-secondary);
    font-size: 13px;
}

:where(.pg-licencia) .form-group input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 7px 14px;
    border: 1px solid var(--empleado-border);
    border-radius: 8px;
    background: var(--empleado-surface);
    color: var(--empleado-primary);
    font-family: var(--empleado-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

:where(.pg-licencia) .form-group input[type="file"]:hover::file-selector-button {
    background: var(--empleado-primary);
    border-color: var(--empleado-primary);
    color: #ffffff;
}

:where(.pg-licencia) .btn-primary i {
    transition: transform 0.2s ease;
}

:where(.pg-licencia) .btn-primary:hover i {
    transform: translateX(3px);
}

:where(.pg-licencia) .btn-primary:focus-visible,
:where(.pg-licencia) .btn-cancel:focus-visible {
    outline: 2px solid var(--empleado-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    :where(.pg-licencia) .btn-primary i,
:where(.pg-licencia) .turn-card-body > i {
        transition: none;
    }

    :where(.pg-licencia) .btn-primary:hover i {
        transform: none;
    }
}

@media print {
    @page { size: A4 landscape; margin: 10mm; }

    :where(.pg-licencia) body * {
        visibility: hidden !important;
    }
}

@media print {
    @page { size: A4 landscape; margin: 10mm; }
}

:where(.pg-calendario):root {
    --empleado-primary: #7c69ef;
    --empleado-primary-dark: #6652df;
    --empleado-primary-light: #eeeaff;
    --empleado-bg: #f7f6fc;
    --empleado-surface: #ffffff;
    --empleado-surface-soft: #fbfaff;
    --empleado-text: #211d32;
    --empleado-text-secondary: #514c61;
    --empleado-text-muted: #89839a;
    --empleado-border: #e8e4f1;
    --empleado-success: #20a36a;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --empleado-shadow-sm: 0 4px 14px rgba(42, 31, 84, 0.05);
    --empleado-shadow: 0 12px 35px rgba(42, 31, 84, 0.08);
    --empleado-shadow-hover: 0 18px 40px rgba(72, 53, 150, 0.13);
    --empleado-radius-sm: 12px;
    --empleado-radius: 18px;
    --empleado-radius-lg: 26px;
    --empleado-font: 'Inter', sans-serif;
    --empleado-display: 'Syne', sans-serif;
}

:where(.pg-calendario)[data-theme="dark"],
:where(.pg-calendario) body.dark-mode,
:where(.pg-calendario) body[data-theme="dark"] {
    --empleado-primary: #9b8cff;
    --empleado-primary-dark: #7c69ef;
    --empleado-primary-light: rgba(155, 140, 255, 0.12);
    --empleado-bg: #14111f;
    --empleado-surface: #1c182b;
    --empleado-surface-soft: #242036;
    --empleado-text: #f3f1fb;
    --empleado-text-secondary: #b8b2cd;
    --empleado-text-muted: #89839a;
    --empleado-border: #2e2845;
    --empleado-success: #2ecc71;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --empleado-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.2);
    --empleado-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    --empleado-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.5);
}

:where(.pg-calendario) * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html:where(.pg-calendario),
:where(.pg-calendario) body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

html:where(.pg-calendario) {
    scroll-behavior: smooth;
}

:where(.pg-calendario) body {
    min-height: 100vh;
    background: var(--empleado-bg);
    color: var(--empleado-text);
    font-family: var(--empleado-font);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

:where(.pg-calendario) .layout,
:where(.pg-calendario) .layouts {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: 
        radial-gradient(circle at 85% 10%, rgba(124, 105, 239, 0.08), transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(124, 105, 239, 0.045), transparent 30%),
        var(--empleado-bg);
}

:where(.pg-calendario) .content {
    position: relative;
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100vh;
    min-height: 0;
    padding: 46px clamp(28px, 4vw, 68px) 60px;
    overflow-y: auto;
    overflow-x: hidden;
}

:where(.pg-calendario) .content::-webkit-scrollbar {
    width: 8px;
}

:where(.pg-calendario) .content::-webkit-scrollbar-track {
    background: transparent;
}

:where(.pg-calendario) .content::-webkit-scrollbar-thumb {
    background: rgba(124, 105, 239, 0.28);
    border-radius: 999px;
}

:where(.pg-calendario) .content::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 105, 239, 0.45);
}

:where(.pg-calendario) .content {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 105, 239, 0.28) transparent;
}

:where(.pg-calendario) .content > p {
    color: var(--empleado-text-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

:where(.pg-calendario) .form-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 42px 42px;
    background: var(--empleado-surface);
    border: 1px solid rgba(124, 105, 239, 0.15);
    border-radius: var(--empleado-radius-lg);
    box-shadow: var(--empleado-shadow);
}

:where(.pg-calendario) .form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--empleado-primary), #9b8cff, #c1b8ff);
    border-top-left-radius: var(--empleado-radius-lg);
    border-top-right-radius: var(--empleado-radius-lg);
}

:where(.pg-calendario) .form-container header {
    margin-top: 10px;
    margin-bottom: 28px;
}

:where(.pg-calendario) .form-container header p {
    color: var(--empleado-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

:where(.pg-calendario) .team-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--empleado-font);
    font-weight: 700;
    border-radius: 999px;
}

:where(.pg-calendario) .team-status.activo {
    background: var(--empleado-primary-light);
    color: var(--empleado-primary);
    border: 1px solid rgba(124, 105, 239, 0.3);
}

:where(.pg-calendario) .empleados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

:where(.pg-calendario) .persona {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--empleado-surface-soft);
    border: 1px solid var(--empleado-border);
    border-radius: var(--empleado-radius-sm);
    transition: all 0.2s ease;
}

:where(.pg-calendario) .persona:hover {
    border-color: rgba(124, 105, 239, 0.3);
    background: var(--empleado-surface);
    box-shadow: var(--empleado-shadow-sm);
}

:where(.pg-calendario) .vos {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: var(--empleado-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
}

:where(.pg-calendario) .estado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    flex-shrink: 0;
}

:where(.pg-calendario) .form-group {
    margin-bottom: 20px;
}

:where(.pg-calendario) .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--empleado-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

:where(.pg-calendario) .form-group input[type="datetime-local"],
:where(.pg-calendario) .form-group input[type="date"],
:where(.pg-calendario) .form-group input[type="number"],
:where(.pg-calendario) .form-group input[type="file"],
:where(.pg-calendario) .form-group input[type="text"],
:where(.pg-calendario) .form-group select,
:where(.pg-calendario) .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--empleado-font);
    font-size: 14px;
    color: var(--empleado-text);
    background: var(--empleado-surface-soft);
    border: 1px solid var(--empleado-border);
    border-radius: var(--empleado-radius-sm);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:where(.pg-calendario) .form-group input:focus,
:where(.pg-calendario) .form-group select:focus,
:where(.pg-calendario) .form-group textarea:focus {
    border-color: var(--empleado-primary);
    box-shadow: 0 0 0 3px rgba(124, 105, 239, 0.15);
    background: var(--empleado-surface);
}

:where(.pg-calendario) .form-group input[type="file"] {
    padding: 8px 10px;
    cursor: pointer;
    color: var(--empleado-text-secondary);
    font-size: 14px;
    background: var(--empleado-surface-soft);
    border: 1px solid var(--empleado-border);
}

:where(.pg-calendario) .form-group input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 10px 18px;
    font-family: var(--empleado-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--empleado-primary);
    background: var(--empleado-surface);
    border: 1px solid var(--empleado-border);
    border-radius: var(--empleado-radius-sm);
    cursor: pointer;
    box-shadow: var(--empleado-shadow-sm);
    transition: background 0.2s ease, border-color 0.2s ease;
}

:where(.pg-calendario) .form-group input[type="file"]::file-selector-button:hover {
    background: var(--empleado-primary-light);
    border-color: rgba(124, 105, 239, 0.4);
}

:where(.pg-calendario) .form-group textarea {
    resize: vertical;
}

:where(.pg-calendario) .form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--empleado-border);
}

:where(.pg-calendario) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--empleado-font);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--empleado-radius-sm);
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

:where(.pg-calendario) .btn-cancel {
    background: var(--empleado-surface-soft);
    color: var(--empleado-text-secondary);
    border: 1px solid var(--empleado-border);
}

:where(.pg-calendario) .btn-cancel:hover {
    background: var(--empleado-border);
    color: var(--empleado-text);
}

:where(.pg-calendario) .btn-primary {
    background: var(--empleado-primary);
    color: #ffffff;
    box-shadow: var(--empleado-shadow-sm);
}

:where(.pg-calendario) .btn-primary:hover {
    background: var(--empleado-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--empleado-shadow-hover);
}

:where(.pg-calendario) ::selection {
    background: rgba(124, 105, 239, 0.20);
    color: var(--empleado-text);
}

@media (max-width: 1150px) {
    :where(.pg-calendario) .content {
        padding: 38px 34px 50px;
    }
}

@media (max-width: 900px) {
    :where(.pg-calendario) .sidebar,
:where(.pg-calendario) .layouts .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 285px !important;
        min-width: 285px !important;
        max-width: 285px !important;
        height: 100vh !important;
        z-index: 10000 !important;
        padding: 1.4rem 0.85rem !important;
        background: var(--empleado-surface) !important;
        transform: translateX(-110%) !important;
        transition: transform 0.3s ease-in-out !important;
        pointer-events: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-shadow: 8px 0 30px rgba(42, 31, 84, 0.12) !important;
    }

    :where(.pg-calendario) .sidebar.mobile-open,
:where(.pg-calendario) .layouts .sidebar.mobile-open {
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }

    :where(.pg-calendario) .sidebar .toggle-button {
        display: none !important;
    }

    html:where(.pg-calendario),
:where(.pg-calendario) body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    :where(.pg-calendario) .layout,
:where(.pg-calendario) .layouts {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    :where(.pg-calendario) .content {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 75px 16px 40px !important;
    }

    :where(.pg-calendario) .content > *,
:where(.pg-calendario) .form-container {
        max-width: 100% !important;
        padding: 24px 18px !important;
        margin-left: 0;
        margin-right: 0;
    }

    :where(.pg-calendario) .empleados {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    :where(.pg-calendario) .form-actions {
        flex-direction: column-reverse;
        width: 100%;
        gap: 10px;
    }

    :where(.pg-calendario) .form-actions .btn,
:where(.pg-calendario) .form-actions button,
:where(.pg-calendario) .btn,
:where(.pg-calendario) .btn-primary,
:where(.pg-calendario) .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 800px) {
    :where(.pg-calendario) .content {
        padding: 30px 24px 45px;
    }

    :where(.pg-calendario) .form-container {
        max-width: 100%;
    }

    :where(.pg-calendario) .form-container {
        padding: 38px 28px 28px;
        border-radius: 22px;
    }
}

@media (max-width: 600px) {
    :where(.pg-calendario) .form-container {
        margin-bottom: 22px;
        padding: 28px 16px 20px;
        border-radius: 20px;
    }
}

:where(.pg-calendario) .nv-minical {
    --nv-primary: #6c5ce7;
    --nv-primary-hover: #5a4bd1;
    --nv-light: #e8e4ff;
    --nv-text: #2d3436;
    --nv-muted: #8d8383;
    --nv-border: #eee;
    --nv-ok: #22c55e;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--nv-text);
    box-sizing: border-box;
}

:where(.pg-calendario) .nv-minical * {
    box-sizing: border-box;
}

:where(.pg-calendario) .nv-minical-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--nv-border, #e5e7eb);
    border-radius: 10px;
    background: white;
    color: var(--nv-primary);
    font-size: .78rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: .15s;
    white-space: nowrap;
}

:where(.pg-calendario) .nv-minical-btn:hover {
    background: var(--nv-light);
    border-color: var(--nv-primary);
}

:where(.pg-calendario) .sidebar-section .nv-minical-btn {
    width: 178px;
    justify-content: center;
}

:where(.pg-calendario) .nv-minical-trigger {
    position: relative;
    display: inline-block;
}

:where(.pg-calendario) .nv-minical.nv-minical--popover {
    position: absolute;
    top: calc(100% + 8px);
    right: -15px;
    width: 280px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    padding: 14px 12px;
    z-index: 1000;
    display: none;
    border: 1px solid var(--nv-border, #eee);
}

:where(.pg-calendario) .nv-minical.nv-minical--popover.is-open {
    display: block;
}

:where(.pg-calendario) .nv-minical-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

:where(.pg-calendario) .nv-minical-month {
    font-size: .82rem;
    font-weight: 700;
    color: var(--nv-text);
    text-transform: capitalize;
}

:where(.pg-calendario) .nv-minical-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

:where(.pg-calendario) .nv-minical-nav button {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    padding: 0 !important;
    border: none;
    background: transparent;
    color: var(--nv-muted);
    font-size: .85rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-calendario) .nv-minical-nav button:hover {
    background: var(--nv-light);
    color: var(--nv-primary);
}

:where(.pg-calendario) .nv-minical-weekdays,
:where(.pg-calendario) .nv-minical-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    width: 100%;
}

:where(.pg-calendario) .nv-minical-weekdays span {
    text-align: center;
    font-size: .62rem;
    font-weight: 700;
    color: var(--nv-muted);
    text-transform: uppercase;
    padding-bottom: 4px;
}

:where(.pg-calendario) .nv-minical-day {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    border-radius: 50%;
    cursor: pointer;
    color: var(--nv-text);
    background: transparent;
    border: none;
    font-family: inherit;
    padding: 0;
    line-height: 1;
}

:where(.pg-calendario) .nv-minical-day:hover {
    background: var(--nv-light);
}

:where(.pg-calendario) .nv-minical-day.is-muted {
    color: #c9c9d1;
}

:where(.pg-calendario) .nv-minical-day.is-today {
    background: var(--nv-primary);
    color: white;
    font-weight: 700;
}

:where(.pg-calendario) .nv-minical-day.is-selected:not(.is-today) {
    background: var(--nv-light);
    color: var(--nv-primary);
    font-weight: 700;
}

:where(.pg-calendario) .nv-minical-day .nv-dot {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--nv-primary);
}

:where(.pg-calendario) .nv-minical-day.is-today .nv-dot {
    background: white;
}

:where(.pg-calendario) .nv-minical-detail {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--nv-border, #eee);
    display: none;
}

:where(.pg-calendario) .nv-minical-detail.is-open {
    display: block;
}

:where(.pg-calendario) .nv-minical-detail-title {
    font-size: .7rem;
    font-weight: 700;
    color: var(--nv-text);
    margin-bottom: 6px;
    text-transform: capitalize;
}

:where(.pg-calendario) .nv-minical-detail-empty {
    font-size: .68rem;
    color: var(--nv-muted);
    font-style: italic;
}

:where(.pg-calendario) .nv-minical-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 5px 0;
    font-size: .68rem;
    border-bottom: 1px dashed var(--nv-border, #eee);
}

:where(.pg-calendario) .nv-minical-detail-item:last-child {
    border-bottom: none;
}

:where(.pg-calendario) .nv-minical-detail-dot {
    width: 7px;
    height: 7px;
    min-width: 7px;
    border-radius: 50%;
    margin-top: 3px;
    background: var(--nv-primary);
}

:where(.pg-calendario) .nv-minical-detail-dot.evento {
    background: var(--nv-ok);
}

:where(.pg-calendario) .nv-minical-detail-item-title {
    font-weight: 600;
    color: var(--nv-text);
    display: block;
}

:where(.pg-calendario) .nv-minical-detail-item-sub {
    color: var(--nv-muted);
    font-size: .64rem;
}

:where(.pg-calendario) .nv-minical-loading {
    font-size: .68rem;
    color: var(--nv-muted);
    padding: 6px 0;
}

:where(.pg-calendario) #vista-empleado {
    --primary: #7c69ef;
    --primary-hover: #6854e8;
    --primary-light: rgba(124, 105, 239, 0.12);
    --primary-soft: rgba(124, 105, 239, 0.08);
    --bg-card: #ffffff;
    --bg-alt: #fafafa;
    --text: #1e1b2e;
    --text-muted: #8b85a0;
    --muted: #8b85a0;
    --light: #f5f3ff;
    --ok: #10b981;
    --info: #17a2b8;
    --border-color: rgba(124, 105, 239, 0.12);
    --border: #e2e8f0;
    --line: #e2e8f0;
    --radius-md: 16px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
}

:where(.pg-calendario)[data-theme="dark"] #vista-empleado,
:where(.pg-calendario) #vista-empleado[data-theme="dark"],
:where(.pg-calendario) #vista-empleado.dark-mode,
:where(.pg-calendario) .dark-mode #vista-empleado {
    --bg-card: #1e1b2e;
    --bg-alt: #252238;
    --text: #e2e8f0;
    --text-muted: #a09aba;
    --muted: #a09aba;
    --light: #252238;
    --border-color: rgba(124, 105, 239, 0.25);
    --border: #2e2a45;
    --line: #2e2a45;
    --primary-soft: rgba(124, 105, 239, 0.2);
    --primary-light: rgba(124, 105, 239, 0.25);
}

:where(.pg-calendario) #vista-empleado .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 15px;
}

:where(.pg-calendario) #vista-empleado .cal-header p {
    margin: 4px 0 0;
    color: var(--text);
    font-size: .86rem;
    font-weight: 500;
}

:where(.pg-calendario) #vista-empleado .btn-nuevo-evento {
    padding: 9px 16px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
}

:where(.pg-calendario) #vista-empleado .btn-nuevo-evento:hover {
    background: var(--primary-hover);
}

:where(.pg-calendario) #vista-empleado .cal-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 56px;
    position: relative;
    z-index: 100;
}

:where(.pg-calendario) #vista-empleado .nv-minical-trigger {
    position: relative;
    display: inline-block;
}

:where(.pg-calendario) #vista-empleado .nv-minical.nv-minical--popover {
    position: absolute;
    top: calc(100% + 8px);
    right: -15px;
    width: 280px;
    background: var(--bg-card);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    padding: 14px 12px;
    z-index: 1000;
    display: none;
    border: 1px solid var(--border);
}

:where(.pg-calendario) #vista-empleado .nv-minical.nv-minical--popover.is-open {
    display: block;
}

:where(.pg-calendario) #vista-empleado .week-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

:where(.pg-calendario) #vista-empleado .week-grid {
    display: grid;
    grid-template-columns: 52px repeat(7, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;
    position: relative;
}

:where(.pg-calendario) #vista-empleado .week-grid-corner {
    position: sticky;
    top: 0;
    z-index: 6;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
}

:where(.pg-calendario) #vista-empleado .week-day-header {
    position: sticky;
    top: 0;
    z-index: 5;
    text-align: center;
    padding: 9px 4px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
}

:where(.pg-calendario) #vista-empleado .week-day-header .wdh-name {
    display: block;
    font-size: .62rem;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 800;
}

:where(.pg-calendario) #vista-empleado .week-day-header .wdh-num {
    display: inline-block;
    margin-top: 3px;
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    font-weight: 800;
    color: var(--text);
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
}

:where(.pg-calendario) #vista-empleado .week-day-header.is-today {
    background: var(--primary);
}

:where(.pg-calendario) #vista-empleado .week-day-header.is-today .wdh-name {
    color: #e8e4ff;
}

:where(.pg-calendario) #vista-empleado .week-day-header.is-today .wdh-num {
    background: white;
    color: var(--primary);
}

:where(.pg-calendario) #vista-empleado .week-time-col {
    border-right: 1px solid var(--line);
    background: var(--bg-alt);
}

:where(.pg-calendario) #vista-empleado .week-hour-label {
    height: 48px;
    padding-right: 6px;
    text-align: right;
    font-size: .62rem;
    color: var(--muted);
    transform: translateY(-6px);
    border-bottom: 1px solid transparent;
}

:where(.pg-calendario) #vista-empleado .week-day-col {
    position: relative;
    border-right: 1px solid var(--line);
    background-image: repeating-linear-gradient(
    to bottom,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 48px
  );
    cursor: pointer;
    overflow: visible;
}

:where(.pg-calendario) #vista-empleado .week-day-col.is-today {
    background-color: var(--primary-soft);
}

:where(.pg-calendario) #vista-empleado .nv-minical-btn.cal-mini-btn {
    height: 36px;
    width: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 8px;
    color: var(--muted);
    cursor: pointer;
    transition: .15s;
}

:where(.pg-calendario) #vista-empleado .nv-minical-btn.cal-mini-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

:where(.pg-calendario) #vista-empleado .nv-minical-btn.cal-mini-btn .cal-mini-ico {
    width: 17px;
    height: 17px;
}

:where(.pg-calendario) #vista-empleado .nv-minical-btn.cal-mini-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

:where(.pg-calendario) #vista-empleado .dashboard-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

:where(.pg-calendario) #vista-empleado .dash-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    min-height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

:where(.pg-calendario) #vista-empleado .dash-card h3 {
    margin: 0 0 6px;
    font-size: .65rem;
    letter-spacing: .08em;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 800;
}

:where(.pg-calendario) #vista-empleado .dash-card .dash-main {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
    text-transform: uppercase;
}

:where(.pg-calendario) #vista-empleado .dash-card .dash-sub {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 500;
}

:where(.pg-calendario) #vista-empleado .dash-card .dash-empty {
    font-size: .8rem;
    color: var(--muted);
    font-style: italic;
}

:where(.pg-calendario) #vista-empleado .dashboard-row .dash-card:nth-child(1) {
    border: 1.5px solid var(--primary);
    box-shadow: 0 4px 14px rgba(108, 92, 231, .12);
    padding-right: 90px;
}

:where(.pg-calendario) #vista-empleado .dashboard-row .dash-card:nth-child(1) .dash-badge {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    margin-top: 0;
    font-size: .68rem;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

:where(.pg-calendario) #vista-empleado .dashboard-row .dash-card:nth-child(2) .dash-sub {
    display: block;
    margin-top: 4px;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .68rem;
    letter-spacing: .03em;
}

:where(.pg-calendario) #vista-empleado .dashboard-row .dash-card:nth-child(3) {
    padding-right: 36px;
}

:where(.pg-calendario) #vista-empleado .dashboard-row .dash-card:nth-child(3)::after {
    content: '\203A';
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--muted);
    pointer-events: none;
}

:where(.pg-calendario) #vista-empleado .team-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 90px;
    overflow-y: auto;
}

:where(.pg-calendario) #vista-empleado .team-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--line);
    font-size: .78rem;
}

:where(.pg-calendario) #vista-empleado .team-list li:last-child {
    border-bottom: none;
}

:where(.pg-calendario) #vista-empleado .team-name {
    color: var(--text);
    font-weight: 700;
}

:where(.pg-calendario) #vista-empleado .team-role {
    color: var(--muted);
    font-size: .71rem;
    margin-left: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .02em;
}

:where(.pg-calendario) #vista-empleado .team-status {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

:where(.pg-calendario) #vista-empleado .team-status.activo {
    background: var(--primary-soft);
    color: var(--primary);
}

:where(.pg-calendario) #vista-empleado .team-list-scroll {
    max-height:230px;
    overflow-y:auto;
}

:where(.pg-calendario) #vista-empleado .team-turno {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:2px;
    flex-shrink:0;
}

:where(.pg-calendario) #vista-empleado .team-hours {
    font-size:11px;
    color:#8d8383;
}

:where(.pg-calendario) #vista-empleado .team-status[class*="st-"] {
    padding:2px 9px;
    border-radius:20px;
    font-size:11px;
    font-weight:600;
}

html:where(.pg-calendario):has(#vista-empleado),
:where(.pg-calendario) body#vista-empleado {
    height: 100%;
    overflow: hidden;
}

:where(.pg-calendario) #vista-empleado .layout .content.cal-page {
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    flex: 1 1 0;
    min-width: 0;
    height: 100vh;
    box-sizing: border-box;
    padding: 20px 28px 16px !important;
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    overflow-x: hidden;
    overflow-y: auto;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-header {
    flex: 0 0 auto;
    position: relative;
    z-index: 2000;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-header-actions {
    position: relative;
    z-index: 2001;
}

:where(.pg-calendario) #vista-empleado .cal-page .week-card {
    flex: 1 1 0;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
}

:where(.pg-calendario) #vista-empleado .cal-page .week-card .week-grid {
    flex: 1 1 0;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    overflow-y: auto;
}

:where(.pg-calendario) #vista-empleado .cal-page .dashboard-row {
    flex: 0 0 auto;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 14px;
    margin: 0 !important;
}

:where(.pg-calendario) #vista-empleado .cal-page .dash-card {
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
}

:where(.pg-calendario) #vista-empleado .cal-page .dash-card .team-list {
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
}

:where(.pg-calendario) #vista-empleado .cal-page .avisos-card {
    flex: 0 0 auto;
    max-height: 130px;
    overflow-y: auto;
    background: #f4f2ff;
    border-radius: 12px;
    padding: 10px 16px;
    margin: 0 !important;
}

:where(.pg-calendario) #vista-empleado .cal-page .avisos-card h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 6px;
}

:where(.pg-calendario) #vista-empleado .cal-page .avisos-ver-todas {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary, #6058CF);
}

:where(.pg-calendario) #vista-empleado .cal-page .avisos-list {
    display: flex !important;
    flex-direction: column;
    gap: 4px !important;
    grid-template-columns: none !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(.pg-calendario) #vista-empleado .cal-page .avisos-list li {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 5px 4px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    min-height: 0 !important;
}

:where(.pg-calendario) #vista-empleado .cal-page .aviso-msg {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:where(.pg-calendario) #vista-empleado .cal-page .aviso-fecha {
    flex-shrink: 0;
    font-size: 12px;
    color: #8d8383;
}

:where(.pg-calendario) #vista-empleado .cal-page .aviso-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #2fb67c;
}

:where(.pg-calendario) #vista-empleado .cal-page .aviso-dot.amarillo {
    background: #f5a524;
}

:where(.pg-calendario) #vista-empleado .cal-page .aviso-dot.rojo {
    background: #e5484d;
}

:where(.pg-calendario) #vista-empleado .cal-page .dash-card {
    height: 180px;
}

:where(.pg-calendario) #vista-empleado .cal-page .team-list {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    grid-template-columns: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

:where(.pg-calendario) #vista-empleado .cal-page .team-list li {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 8px 2px !important;
    font-size: 13px;
}

:where(.pg-calendario) #vista-empleado .cal-page .team-list li:last-child {
    border-bottom: 0 !important;
}

:where(.pg-calendario) #vista-empleado .cal-page .team-list li:hover {
    background: var(--primary-soft) !important;
}

:where(.pg-calendario) #vista-empleado .cal-page .team-name {
    font-weight: 600;
    margin-right: 6px;
}

:where(.pg-calendario) #vista-empleado .cal-page .team-role {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

:where(.pg-calendario) #vista-empleado .cal-page .team-turno {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

:where(.pg-calendario) #vista-empleado .cal-page,
:where(.pg-calendario) #vista-empleado .cal-page * {
    scrollbar-width: thin;
    scrollbar-color: rgba(124,105,239,.45) transparent;
}

:where(.pg-calendario) #vista-empleado .cal-page *::-webkit-scrollbar,
:where(.pg-calendario) #vista-empleado .layout .content.cal-page::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

:where(.pg-calendario) #vista-empleado .cal-page *::-webkit-scrollbar-track,
:where(.pg-calendario) #vista-empleado .layout .content.cal-page::-webkit-scrollbar-track {
    background: transparent;
}

:where(.pg-calendario) #vista-empleado .cal-page *::-webkit-scrollbar-thumb,
:where(.pg-calendario) #vista-empleado .layout .content.cal-page::-webkit-scrollbar-thumb {
    background: rgba(124,105,239,.4);
    border-radius: 8px;
}

:where(.pg-calendario) #vista-empleado .cal-page *::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

:where(.pg-calendario) #vista-empleado .cal-page *::-webkit-scrollbar-button {
    display: none;
}

@media (max-width: 1100px) {
    html:where(.pg-calendario):has(#vista-empleado),
:where(.pg-calendario) body#vista-empleado {
        overflow: auto;
    }

    :where(.pg-calendario) #vista-empleado .layout .content.cal-page {
        height: auto;
        overflow: visible;
    }

    :where(.pg-calendario) #vista-empleado .cal-page .cal-header {
        padding-right: 0;
    }

    :where(.pg-calendario) #vista-empleado .cal-page .week-card {
        flex: 0 0 auto;
        height: 520px;
    }

    :where(.pg-calendario) #vista-empleado .cal-page .dashboard-row {
        grid-template-columns: 1fr;
    }

    :where(.pg-calendario) #vista-empleado .cal-page .dash-card {
        height: auto;
        min-height: 140px;
    }
}

:where(.pg-calendario) #vista-empleado .cal-page .week-card .week-grid {
    overflow-x: hidden;
}

:where(.pg-calendario) #vista-empleado .cal-page .week-day-col {
    position: relative;
    overflow: visible;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb {
    position: absolute;
    left: 3px;
    right: 3px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    line-height: 1.3;
    z-index: 2;
    transition: height .26s ease, width .26s ease, left .26s ease, box-shadow .2s ease;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-head {
    padding-right: 0;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--evento {
    left: 14px;
    z-index: 3;
    background: linear-gradient(160deg, #25915f, #1b6f49);
    color: #fff;
    border: 0;
    box-shadow: 0 2px 8px rgba(27,111,73,.28);
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb:hover {
    box-shadow: 0 4px 14px rgba(40,30,90,.14);
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--evento:hover {
    box-shadow: 0 4px 14px rgba(27,111,73,.4);
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb.is-open {
    z-index: 30;
    cursor: default;
    box-shadow: 0 12px 32px rgba(30,20,70,.26);
}

:where(.pg-calendario) #vista-empleado .nvb-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-right: 22px;
}

:where(.pg-calendario) #vista-empleado .nvb-title {
    font-weight: 700;
    font-size: 12.5px;
}

:where(.pg-calendario) #vista-empleado .nvb-sub {
    font-size: 11px;
    opacity: .75;
}

:where(.pg-calendario) #vista-empleado .nvb-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    background: var(--primary, #6058CF);
    color: #fff;
    vertical-align: middle;
}

:where(.pg-calendario) #vista-empleado .nvb-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

:where(.pg-calendario) #vista-empleado .nvb-avs {
    display: flex;
}

:where(.pg-calendario) #vista-empleado .nvb-av {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcd8f5;
    color: #4a41b8;
    font-size: 8.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f7f6fb;
    margin-left: -5px;
    box-sizing: border-box;
    flex-shrink: 0;
}

:where(.pg-calendario) #vista-empleado .nvb-avs .nvb-av:first-child {
    margin-left: 0;
}

:where(.pg-calendario) #vista-empleado .nvb--evento .nvb-av {
    background: rgba(255,255,255,.28);
    color: #fff;
    border-color: #1f8056;
}

:where(.pg-calendario) #vista-empleado .nvb-meta {
    font-size: 11px;
    opacity: .85;
}

:where(.pg-calendario) #vista-empleado .nvb-edit {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 6px;
    background: rgba(255,255,255,.2);
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .15s;
    padding: 0;
}

:where(.pg-calendario) #vista-empleado .nvb:hover .nvb-edit,
:where(.pg-calendario) #vista-empleado .nvb.is-open .nvb-edit {
    opacity: 1;
}

:where(.pg-calendario) #vista-empleado .nvb-edit:hover {
    background: rgba(255,255,255,.35);
}

:where(.pg-calendario) #vista-empleado .nvb-body {
    display: none;
    margin-top: 8px;
}

:where(.pg-calendario) #vista-empleado .nvb.is-open .nvb-body {
    display: block;
    animation: calendario-nvbIn .28s ease;
}

:where(.pg-calendario) #vista-empleado .nvb-medir .nvb-body {
    animation: none !important;
}

@keyframes calendario-nvbIn {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: none; }
}

:where(.pg-calendario) #vista-empleado .nvb-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .65;
    margin: 10px 0 4px;
}

:where(.pg-calendario) #vista-empleado .nvb-body > .nvb-label:first-child {
    margin-top: 0;
}

:where(.pg-calendario) #vista-empleado .nvb-desc {
    font-size: 12px;
    line-height: 1.4;
}

:where(.pg-calendario) #vista-empleado .nvb-empty {
    opacity: .65;
    font-style: italic;
}

:where(.pg-calendario) #vista-empleado .nvb-person {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}

:where(.pg-calendario) #vista-empleado .nvb-person .nvb-av {
    margin-left: 0;
    width: 22px;
    height: 22px;
}

:where(.pg-calendario) #vista-empleado .nvb-pname {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:where(.pg-calendario) #vista-empleado .nvb-prole {
    font-size: 10.5px;
    opacity: .65;
    white-space: nowrap;
}

:where(.pg-calendario) #vista-empleado .nvb-person.extra {
    display: none;
}

:where(.pg-calendario) #vista-empleado .nvb.show-all .nvb-person.extra {
    display: flex;
}

:where(.pg-calendario) #vista-empleado .nvb.show-all .nvb-more {
    display: none;
}

:where(.pg-calendario) #vista-empleado .nvb-more {
    border: 0;
    background: rgba(0,0,0,.06);
    color: inherit;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 11px;
    cursor: pointer;
    margin-top: 3px;
}

:where(.pg-calendario) #vista-empleado .nvb--evento .nvb-more {
    background: rgba(255,255,255,.2);
}

:where(.pg-calendario) #vista-empleado .nvb-docs {
    max-height: 112px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 2px;
}

:where(.pg-calendario) #vista-empleado .nvb-doc {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 6px;
    border-radius: 8px;
    background: rgba(255,255,255,.14);
}

:where(.pg-calendario) #vista-empleado .nvb-ext {
    flex-shrink: 0;
    min-width: 28px;
    text-align: center;
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 4px;
    border-radius: 4px;
    background: #fff;
    color: #1b6f49;
}

:where(.pg-calendario) #vista-empleado .nvb-ext.pdf {
    color: #d33c3c;
}

:where(.pg-calendario) #vista-empleado .nvb-ext.doc,
:where(.pg-calendario) #vista-empleado .nvb-ext.docx {
    color: #2b6bd6;
}

:where(.pg-calendario) #vista-empleado .nvb-ext.xls,
:where(.pg-calendario) #vista-empleado .nvb-ext.xlsx,
:where(.pg-calendario) #vista-empleado .nvb-ext.csv {
    color: #1f9d68;
}

:where(.pg-calendario) #vista-empleado .nvb-ext.ppt,
:where(.pg-calendario) #vista-empleado .nvb-ext.pptx {
    color: #d9772b;
}

:where(.pg-calendario) #vista-empleado .nvb-dname {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

:where(.pg-calendario) #vista-empleado .nvb-dname span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11.5px;
}

:where(.pg-calendario) #vista-empleado .nvb-dname small {
    font-size: 9.5px;
    opacity: .7;
}

:where(.pg-calendario) #vista-empleado .nvb-dbtn {
    flex-shrink: 0;
    background: #fff;
    color: #1b6f49 !important;
    font-weight: 700;
    font-size: 10.5px;
    padding: 3px 9px;
    border-radius: 6px;
    text-decoration: none;
}

:where(.pg-calendario) #vista-empleado .nvb-dicon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 6px;
    background: rgba(255,255,255,.18);
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 0;
}

:where(.pg-calendario) #vista-empleado .nvb-dicon:hover {
    background: rgba(255,255,255,.32);
}

:where(.pg-calendario) #vista-empleado .nvb-hint {
    text-align: center;
    font-size: 9.5px;
    opacity: .7;
    margin-top: 4px;
}

:where(.pg-calendario) #vista-empleado .nvb-attach {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 13px;
    border-radius: 8px;
    background: #fff;
    color: #1b6f49;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

:where(.pg-calendario) #vista-empleado .nvb-attach:hover {
    background: #effaf4;
}

:where(.pg-calendario) #vista-empleado .nvb-file {
    display: none;
}

:where(.pg-calendario) #vista-empleado .nvb-status {
    font-size: 10.5px;
    margin-top: 6px;
    opacity: .9;
}

:where(.pg-calendario) #vista-empleado .nvm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20,16,40,.5);
    padding: 16px;
}

:where(.pg-calendario) #vista-empleado .nvm-overlay.open {
    display: flex;
}

:where(.pg-calendario) #vista-empleado .nvm-box {
    width: 100%;
    max-height: 94vh;
    overflow-y: auto;
    background: #fff;
    color: #2b2735;
    border-radius: 18px;
    padding: 24px 28px 22px;
    box-shadow: 0 24px 60px rgba(20,16,40,.38);
    box-sizing: border-box;
    animation: calendario-nvbIn .2s ease;
}

:where(.pg-calendario) #vista-empleado .nvm-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #efedf7;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-head h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: #2b2735 !important;
}

:where(.pg-calendario) #vista-empleado .nvm-x {
    border: 0;
    background: #f1effa;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #6b6678;
}

:where(.pg-calendario) #vista-empleado .nvm-x:hover {
    background: #e6e2f7;
}

:where(.pg-calendario) #vista-empleado .nvm-box label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #4d4860;
    margin-bottom: 14px;
}

:where(.pg-calendario) #vista-empleado .nvm-box input[type=text],
:where(.pg-calendario) #vista-empleado .nvm-box input[type=date],
:where(.pg-calendario) #vista-empleado .nvm-box textarea {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 5px;
    padding: 10px 12px;
    border: 1px solid #dcd9ea;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #2b2735;
    background: #fff;
    resize: vertical;
}

:where(.pg-calendario) #vista-empleado .nvm-box ::placeholder {
    color: #a9a5b8;
    font-weight: 400;
}

:where(.pg-calendario) #vista-empleado .nvm-box input:focus,
:where(.pg-calendario) #vista-empleado .nvm-box textarea:focus {
    outline: 0;
    border-color: var(--primary, #6058CF);
    box-shadow: 0 0 0 3px rgba(96,88,207,.15);
}

:where(.pg-calendario) #vista-empleado .nvm-box input:disabled {
    background: #f4f3f9;
    color: #aaa;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    margin: 0 0 0 auto;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-check input {
    width: auto;
    margin: 0;
    accent-color: var(--primary, #6058CF);
}

:where(.pg-calendario) #vista-empleado .nvm-drop {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    border: 1.5px dashed #cfcae6;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    background: #faf9fd;
    color: #4a41b8 !important;
    font-size: 13px !important;
}

:where(.pg-calendario) #vista-empleado .nvm-drop:hover {
    background: #f3f1ff;
    border-color: var(--primary, #6058CF);
}

:where(.pg-calendario) #vista-empleado .nvm-drop small {
    font-weight: 500;
    color: #8a8599;
    font-size: 11px;
}

:where(.pg-calendario) #vista-empleado .nvm-drop input {
    display: none !important;
}

:where(.pg-calendario) #vista-empleado .nvm-files {
    font-size: 12px;
    color: #2b2735;
    font-weight: 600;
}

:where(.pg-calendario) #vista-empleado .nvm-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
}

:where(.pg-calendario) #vista-empleado .nvm-spacer {
    flex: 1;
}

:where(.pg-calendario) #vista-empleado .nvm-btn {
    border: 0;
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    background: #f1effa;
    color: #4a41b8;
}

:where(.pg-calendario) #vista-empleado .nvm-btn.primary {
    background: var(--primary, #6058CF);
    color: #fff;
    box-shadow: 0 4px 12px rgba(96,88,207,.3);
}

:where(.pg-calendario) #vista-empleado .nvm-btn.danger {
    background: #fdecec;
    color: #d33c3c;
    display: none;
}

:where(.pg-calendario) #vista-empleado .nvm-overlay.is-edit .nvm-btn.danger {
    display: inline-block;
}

:where(.pg-calendario) #vista-empleado .nvm-btn:disabled {
    opacity: .6;
    cursor: wait;
}

@media (max-width: 560px) {
    :where(.pg-calendario) #vista-empleado .nvm-box {
        padding: 20px 18px;
    }
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    flex-wrap: wrap;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-title p {
    margin: 0;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

:where(.pg-calendario) #vista-empleado .nvh-arrow {
    width: 30px;
    height: 30px;
    padding: 0 !important;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #4a41b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-calendario) #vista-empleado .nvh-arrow:hover {
    background: #f1effa;
}

:where(.pg-calendario) #vista-empleado .nvh-range {
    min-width: 150px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #2b2735;
    padding: 0 6px;
}

:where(.pg-calendario) #vista-empleado .nvh-today {
    border: 0;
    background: #f1effa;
    color: #4a41b8;
    font-weight: 800;
    font-size: 12px;
    border-radius: 8px;
    padding: 7px 14px !important;
    cursor: pointer;
    margin-left: 2px;
}

:where(.pg-calendario) #vista-empleado .nvh-today:hover {
    background: #e6e2f7;
}

:where(.pg-calendario) #vista-empleado .nvh-today.is-active {
    background: var(--primary, #6058CF);
    color: #fff;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-header .btn-nuevo-evento {
    padding: 11px 20px !important;
    border-radius: 12px !important;
    font-size: .82rem;
    text-transform: none;
    letter-spacing: .01em;
    box-shadow: 0 4px 14px rgba(96,88,207,.3);
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-header .btn-nuevo-evento:hover {
    filter: brightness(1.06);
}

@media (max-width: 760px) {
    :where(.pg-calendario) #vista-empleado .nvh-range {
        min-width: 0;
    }
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-head {
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #e9e6f6;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(60,40,140,.1);
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-chips {
    justify-content: center;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno.is-open {
    justify-content: flex-start;
    align-items: stretch;
    border: 1px solid #e6e4ef;
    border-left: 3px solid rgba(124,105,239,.5);
    border-radius: 10px;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno.is-open .nvb-head {
    align-items: flex-start;
    text-align: left;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno.is-open .nvb-chips {
    justify-content: flex-start;
}

:where(.pg-calendario) #vista-empleado .nvm-next {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary, #6058CF);
    margin: -6px 0 14px;
}

:where(.pg-calendario) #vista-empleado .nvm-next:empty {
    display: none;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno {
    display: block;
    left: 4px;
    right: 4px;
    padding: 8px 10px;
    background: #fff;
    color: #2b2735;
    border: 0;
    border-left: 3px solid #cfcce0;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(60,40,140,.12);
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno.en-curso {
    background: #fff;
    border-left-color: var(--primary, #6058CF);
    box-shadow: 0 1px 6px rgba(96,88,207,.22);
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-head,
:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno.is-open .nvb-head {
    align-items: flex-start;
    text-align: left;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-chips,
:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno.is-open .nvb-chips {
    justify-content: flex-start;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-title {
    font-weight: 700;
    font-size: 12.5px;
    color: #2b2735;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-sub {
    font-size: 11px;
    color: #6b6678;
    opacity: 1;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-meta {
    font-size: 11px;
    color: #6b6678;
    opacity: 1;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-av {
    width: 20px;
    height: 20px;
    font-size: 8.5px;
    background: #dcd8f5;
    color: #4a41b8;
    border: 2px solid #fff;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno .nvb-person .nvb-av {
    border-color: transparent;
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno:hover {
    box-shadow: 0 4px 14px rgba(40,30,90,.16);
}

:where(.pg-calendario) #vista-empleado .cal-page .nvb--turno.is-open {
    background: #fff;
    padding: 10px 12px;
    border-left-color: var(--primary, #6058CF);
    box-shadow: 0 12px 32px rgba(30,20,70,.26);
}

:where(.pg-calendario) #vista-empleado .nvm-box {
    max-width: 560px;
}

:where(.pg-calendario) #vista-empleado .nvm-box input.nvm-title {
    display: block;
    width: calc(100% - 36px);
    margin: 0 0 16px 36px;
    padding: 8px 0;
    font-size: 21px;
    font-weight: 600;
    border: 0;
    border-bottom: 2px solid #dcd9ea;
    border-radius: 0;
    background: transparent;
}

:where(.pg-calendario) #vista-empleado .nvm-box input.nvm-title:focus {
    border-bottom-color: var(--primary, #6058CF);
    box-shadow: none;
}

:where(.pg-calendario) #vista-empleado .nvm-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

:where(.pg-calendario) #vista-empleado .nvm-ico {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 9px;
    color: #6b6678;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-calendario) #vista-empleado .nvm-ico svg {
    width: 20px;
    height: 20px;
}

:where(.pg-calendario) #vista-empleado .nvm-when,
:where(.pg-calendario) #vista-empleado .nvm-grow {
    flex: 1 1 0;
    min-width: 0;
}

:where(.pg-calendario) #vista-empleado .nvm-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

:where(.pg-calendario) #vista-empleado .nvm-times {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

:where(.pg-calendario) #vista-empleado .nvm-dash {
    color: #6b6678;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-when .nvm-pill {
    display: inline-block;
    width: auto;
    margin: 0;
    border: 0 !important;
    border-radius: 8px;
    background: #f1effa !important;
    color: #2b2735 !important;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 14px !important;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
    text-align: left;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-when .nvm-pill:hover {
    background: #e6e2f7 !important;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-when .nvm-pill:focus {
    outline: 0;
    box-shadow: inset 0 0 0 2px var(--primary, #6058CF);
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-when input.nvm-pill--time {
    width: 104px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-when .nvm-pill--rep {
    margin-top: 12px;
}

:where(.pg-calendario) #vista-empleado .nvm-pill--rep::after {
    content: "\25BE";
    margin-left: 10px;
    font-size: 11px;
    color: #6b6678;
}

:where(.pg-calendario) #vista-empleado .nvm-opts {
    display: flex;
    align-items: center;
    gap: 8px 18px;
    flex-wrap: wrap;
    margin-top: 12px;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-opts .nvm-check {
    margin: 0;
}

:where(.pg-calendario) #vista-empleado .nvm-link {
    border: 0 !important;
    background: none !important;
    color: var(--primary, #6058CF) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 0 !important;
    cursor: pointer;
    text-transform: none;
    box-shadow: none;
}

:where(.pg-calendario) #vista-empleado .nvm-link:hover {
    text-decoration: underline;
}

:where(.pg-calendario) #vista-empleado .nvm-tzrow {
    margin-top: 10px;
}

:where(.pg-calendario) #vista-empleado .nvm-tzrow[hidden] {
    display: none;
}

:where(.pg-calendario) #vista-empleado .nvm-tzrow select {
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #dcd9ea;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 13px;
    color: #2b2735;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-next {
    margin: 10px 0 0;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-line input[type=text],
:where(.pg-calendario) #vista-empleado .nvm-box .nvm-line textarea {
    margin: 0;
    background: #f7f6fb;
    border-color: transparent;
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-line input[type=text]:focus,
:where(.pg-calendario) #vista-empleado .nvm-box .nvm-line textarea:focus {
    background: #fff;
    border-color: var(--primary, #6058CF);
}

:where(.pg-calendario) #vista-empleado .nvm-box .nvm-line .nvm-drop {
    margin-bottom: 0;
}

:where(.pg-calendario) #vista-empleado .nvm-pop {
    position: fixed;
    z-index: 100010;
    background: #fff;
    border: 1px solid #ebe9f3;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(30,20,70,.25);
    padding: 6px 0;
    max-height: 260px;
    overflow-y: auto;
    box-sizing: border-box;
}

:where(.pg-calendario) #vista-empleado .nvm-opt {
    padding: 8px 16px;
    font-size: 13.5px;
    color: #2b2735;
    cursor: pointer;
    white-space: nowrap;
}

:where(.pg-calendario) #vista-empleado .nvm-opt:hover {
    background: #f1effa;
}

:where(.pg-calendario) #vista-empleado .nvm-opt.is-sel {
    background: #e6e2f7;
    font-weight: 700;
}

:where(.pg-calendario) #vista-empleado .nvm-pop--cal {
    width: 270px;
    padding: 10px;
    max-height: none;
    overflow: visible;
}

:where(.pg-calendario) #vista-empleado .nvc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

:where(.pg-calendario) #vista-empleado .nvc-nav {
    width: 28px;
    height: 28px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    color: #4a41b8 !important;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

:where(.pg-calendario) #vista-empleado .nvc-nav:hover:not(:disabled) {
    background: #f1effa !important;
}

:where(.pg-calendario) #vista-empleado .nvc-nav:disabled {
    opacity: .3;
    cursor: default;
}

:where(.pg-calendario) #vista-empleado .nvc-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

:where(.pg-calendario) #vista-empleado .nvc-dow {
    font-size: 10.5px;
    font-weight: 700;
    color: #8a8599;
    padding: 4px 0;
}

:where(.pg-calendario) #vista-empleado .nvc-day {
    height: 30px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    color: #2b2735 !important;
    font-size: 12.5px;
    cursor: pointer;
}

:where(.pg-calendario) #vista-empleado .nvc-day:hover:not(:disabled) {
    background: #f1effa !important;
}

:where(.pg-calendario) #vista-empleado .nvc-day.is-today {
    box-shadow: inset 0 0 0 1.5px var(--primary, #6058CF);
}

:where(.pg-calendario) #vista-empleado .nvc-day.is-sel {
    background: var(--primary, #6058CF) !important;
    color: #fff !important;
}

:where(.pg-calendario) #vista-empleado .nvc-day:disabled {
    color: #c9c6d6 !important;
    cursor: default;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-header {
    padding-right: 130px;
    margin-bottom: -6px;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-main {
    flex: 1 1 0;
    min-height: 300px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    border: 1px solid #e6e3f3;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(60,40,140,.07);
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-main .week-card {
    flex: 1 1 0;
    min-height: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 0 18px 18px !important;
    padding: 0 12px 12px !important;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar {
    flex: 0 0 auto;
    position: relative;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-bottom: 1px solid #efedf7;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, #fbfaff, #fff);
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-tb-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar .cal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar .nvh-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid #e6e3f3;
    border-radius: 50%;
    background: #fff;
    font-size: 22px;
    padding: 0 0 2px !important;
    box-shadow: 0 1px 2px rgba(60,40,140,.06);
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar .nvh-arrow:hover {
    background: #f1effa;
    border-color: #d9d4f3;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar .nvh-range {
    min-width: 190px;
    text-align: left;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: none;
    padding: 0 8px;
    white-space: nowrap;
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar .nvh-today {
    margin: 0;
    padding: 8px 16px !important;
    border-radius: 20px;
    font-size: 12.5px;
}

:where(.pg-calendario) #vista-empleado .nvh-seg {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border-radius: 12px;
    background: #f1effa;
}

:where(.pg-calendario) #vista-empleado .nvh-seg-btn {
    border: 0;
    background: transparent;
    color: #6b6678;
    font-weight: 700;
    font-size: 12.5px;
    padding: 7px 14px !important;
    border-radius: 9px;
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
}

:where(.pg-calendario) #vista-empleado .nvh-seg-btn:hover {
    color: #4a41b8;
}

:where(.pg-calendario) #vista-empleado .nvh-seg-btn.is-active {
    background: #fff;
    color: #4a41b8;
    box-shadow: 0 1px 4px rgba(60,40,140,.18);
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar .btn-nuevo-evento {
    padding: 11px 20px !important;
    border-radius: 12px !important;
    font-size: .82rem;
    text-transform: none;
    letter-spacing: .01em;
    box-shadow: 0 4px 14px rgba(96,88,207,.3);
}

:where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar .btn-nuevo-evento:hover {
    filter: brightness(1.06);
}

@media (max-width: 1100px) {
    :where(.pg-calendario) #vista-empleado .cal-page .cal-main {
        flex: 0 0 auto;
    }

    :where(.pg-calendario) #vista-empleado .cal-page .cal-main .week-card {
        flex: 0 0 auto;
        height: 520px;
    }
}

@media (max-width: 760px) {
    :where(.pg-calendario) #vista-empleado .cal-page .cal-toolbar .nvh-range {
        min-width: 0;
        font-size: 16px;
    }
}

:where(.pg-calendario) #vista-empleado .nvt-wrap {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: min(92vw, 430px);
    pointer-events: none;
}

:where(.pg-calendario) #vista-empleado .nvt {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    background: #fff;
    color: #2b2735;
    border: 1px solid #ebe9f3;
    border-left: 4px solid #f5a524;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(30,20,70,.22);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: pre-line;
    cursor: pointer;
    animation: calendario-nvtIn .22s ease;
}

:where(.pg-calendario) #vista-empleado .nvt.error {
    border-left-color: #e5484d;
}

:where(.pg-calendario) #vista-empleado .nvt.ok {
    border-left-color: #2fb67c;
}

:where(.pg-calendario) #vista-empleado .nvt.out {
    animation: calendario-nvtOut .2s ease forwards;
}

:where(.pg-calendario) #vista-empleado .nvt-ico {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: #f5a524;
    margin-top: 1px;
}

:where(.pg-calendario) #vista-empleado .nvt.error .nvt-ico {
    background: #e5484d;
}

:where(.pg-calendario) #vista-empleado .nvt.ok .nvt-ico {
    background: #2fb67c;
}

:where(.pg-calendario) #vista-empleado .nvt-msg {
    flex: 1;
    min-width: 0;
}

@keyframes calendario-nvtIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: none; }
}

@keyframes calendario-nvtOut {
to { opacity: 0; transform: translateY(-8px); }
}

:where(.pg-calendario) #vista-empleado .nvt-confirm {
    position: fixed;
    inset: 0;
    z-index: 100100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,16,40,.45);
    padding: 16px;
}

:where(.pg-calendario) #vista-empleado .nvt-confirm-box {
    width: 100%;
    max-width: 360px;
    background: #fff;
    color: #2b2735;
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 24px 60px rgba(20,16,40,.38);
    animation: calendario-nvtIn .18s ease;
}

:where(.pg-calendario) #vista-empleado .nvt-confirm-box p {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

:where(.pg-calendario) #vista-empleado .nvt-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

:where(.pg-calendario) #vista-empleado .nvm-btn.nvm-btn--danger {
    background: #d33c3c;
    color: #fff;
    box-shadow: 0 4px 12px rgba(211,60,60,.3);
}

:where(.pg-calendario)[data-theme="dark"] .nv-minical {
    --nv-light: #3a3360;
    --nv-text: #e2e8f0;
    --nv-muted: #a09aba;
    --nv-border: #2e2a45;
    --nv-primary: #9b8cff;
}

:where(.pg-calendario)[data-theme="dark"] .nv-minical-btn {
    background: #1e1b2e;
}

:where(.pg-calendario)[data-theme="dark"] .nv-minical.nv-minical--popover {
    background: #1e1b2e;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}

:where(.pg-calendario)[data-theme="dark"] .nv-minical-day.is-muted {
    color: #5d5878;
}

:where(.pg-calendario)[data-theme="dark"] .nv-minical-day.is-today {
    color: #14111f;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .team-hours {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .avisos-card {
    background: #252238;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .aviso-fecha {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvb-av {
    background: #3a3360;
    color: #b8adff;
    border-color: #1e1b2e;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box {
    background: #1e1b2e;
    color: #e2e8f0;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-head {
    border-bottom-color: #2e2a45;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box .nvm-head h3 {
    color: #e2e8f0 !important;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-x {
    background: #2d2848;
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-x:hover {
    background: #3a3360;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box label {
    color: #cfc9e6;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box input[type=text],
:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box input[type=date],
:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box textarea {
    border-color: #3a3560;
    color: #e2e8f0;
    background: #1e1b2e;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box ::placeholder {
    color: #6f6a88;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box input:disabled {
    background: #252238;
    color: #8b85a0;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-drop {
    border-color: #4a4470;
    background: #252238;
    color: #b8adff !important;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-drop:hover {
    background: #2d2848;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-drop small {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-files {
    color: #e2e8f0;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-btn {
    background: #2d2848;
    color: #b8adff;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-btn.danger {
    background: rgba(229,72,77,.16);
    color: #ff7b80;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-arrow {
    color: #b8adff;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-arrow:hover {
    background: #2d2848;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-range {
    color: #e2e8f0;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-today {
    background: #2d2848;
    color: #b8adff;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-today:hover {
    background: #3a3360;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .nvb--turno.is-open {
    border-top-color: #2e2a45;
    border-right-color: #2e2a45;
    border-bottom-color: #2e2a45;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .nvb--turno {
    background: #252238;
    color: #e2e8f0;
    border-left-color: #4a4470;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .nvb--turno.en-curso {
    background: #252238;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .nvb--turno .nvb-title {
    color: #e2e8f0;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .nvb--turno .nvb-sub {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .nvb--turno .nvb-meta {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .nvb--turno .nvb-av {
    background: #3a3360;
    color: #b8adff;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .nvb--turno.is-open {
    background: #252238;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box input.nvm-title {
    border-bottom-color: #3a3560;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-ico {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-dash {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box .nvm-when .nvm-pill {
    background: #2d2848 !important;
    color: #e2e8f0 !important;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box .nvm-when .nvm-pill:hover {
    background: #3a3360 !important;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-pill--rep::after {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-tzrow select {
    border-color: #3a3560;
    background: #1e1b2e;
    color: #e2e8f0;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box .nvm-line input[type=text],
:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box .nvm-line textarea {
    background: #252238;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box .nvm-line input[type=text]:focus,
:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-box .nvm-line textarea:focus {
    background: #1e1b2e;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-pop {
    background: #1e1b2e;
    border-color: #2e2a45;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-opt {
    color: #e2e8f0;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-opt:hover {
    background: #2d2848;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvm-opt.is-sel {
    background: #3a3360;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvc-nav {
    color: #b8adff !important;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvc-nav:hover:not(:disabled) {
    background: #2d2848 !important;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvc-dow {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvc-day {
    color: #e2e8f0 !important;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvc-day:hover:not(:disabled) {
    background: #2d2848 !important;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .cal-main {
    background: #1e1b2e;
    border-color: #2e2a45;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .cal-toolbar {
    border-bottom-color: #2e2a45;
    background: linear-gradient(180deg, #221e33, #1e1b2e);
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .cal-toolbar .nvh-arrow {
    border-color: #2e2a45;
    background: #1e1b2e;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .cal-page .cal-toolbar .nvh-arrow:hover {
    background: #2d2848;
    border-color: #4a4470;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-seg {
    background: #2d2848;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-seg-btn {
    color: #a09aba;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-seg-btn:hover {
    color: #b8adff;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvh-seg-btn.is-active {
    background: #1e1b2e;
    color: #b8adff;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvt {
    background: #1e1b2e;
    color: #e2e8f0;
    border-top-color: #2e2a45;
    border-right-color: #2e2a45;
    border-bottom-color: #2e2a45;
}

:where(:where(.pg-calendario)[data-theme="dark"]) #vista-empleado .nvt-confirm-box {
    background: #1e1b2e;
    color: #e2e8f0;
}

:where(.pg-pass):root {
    --primary: #7c69ef;
    --primary-hover: #6854e8;
    --primary-light: rgba(124, 105, 239, 0.12);
    --primary-soft: rgba(124, 105, 239, 0.08);
    --accent-light: #e8e4ff;
    --accent: #7c69ef;
    --danger: #dc3545;
    --danger-hover: #bb2d3b;
    --success: #198754;
    --success-hover: #157347;
    --info: #17a2b8;
    --info-hover: #138496;
    --warning: #fbc02d;
    --warning-bg: #fff9c4;
    --bg-main: #f7f6fc;
    --bg: #f7f6fc;
    --bg-card: #ffffff;
    --bg-alt: #fafafa;
    --text-dark: #1e1b2e;
    --text-main: #2d3436;
    --text-muted: #8b85a0;
    --text: #1e1b2e;
    --muted: #8b85a0;
    --light: #f5f3ff;
    --ok: #10b981;
    --border-color: rgba(124, 105, 239, 0.12);
    --border-alt: #e5e7eb;
    --border: #e2e8f0;
    --line: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-card: 32px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 25px 50px -15px rgba(124, 105, 239, 0.15);
    --font-family: 'Inter', sans-serif;
    --font-logo: 'Syne', sans-serif;
}

:where(.pg-pass)[data-theme="dark"] {
    --bg-main: #12111a;
    --bg: #12111a;
    --bg-card: #1e1b2e;
    --bg-alt: #252238;
    --text-dark: #f7f6fc;
    --text-main: #e2e8f0;
    --text-muted: #a09aba;
    --text: #e2e8f0;
    --muted: #a09aba;
    --border-color: rgba(124, 105, 239, 0.25);
    --border-alt: #2e2a45;
    --border: #2e2a45;
    --line: #2e2a45;
    --primary-soft: rgba(124, 105, 239, 0.2);
    --primary-light: rgba(124, 105, 239, 0.25);
    --light: #252238;
}

:where(.pg-pass) *,
:where(.pg-pass) *::before,
:where(.pg-pass) *::after {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

:where(.pg-pass) body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

:where(.pg-pass) .layout,
:where(.pg-pass) .layouts {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

:where(.pg-pass) .content {
    flex: 1;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}

:where(.pg-pass) h2 {
    font-family: var(--font-logo) !important;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}

:where(.pg-pass) h2 {
    font-size: 2rem;
}

:where(.pg-pass) h3 {
    font-family: var(--font-family);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 10px;
}

:where(.pg-pass) p {
    font-family: var(--font-family);
    margin: 6px 0 18px;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.7;
}

:where(.pg-pass) strong {
    font-family: var(--font-family);
    font-size: 0.9rem;
    color: var(--primary);
}

:where(.pg-pass) hr {
    border: none;
    height: 2px;
    background: var(--primary-light);
    margin: 35px 0;
}

:where(.pg-pass) .content ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
    padding: 0;
    width: 100%;
}

:where(.pg-pass) .content ul li {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 18px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, background 0.25s ease;
}

:where(.pg-pass) .content ul li:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

:where(.pg-pass) .form-container {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 0;
    margin-bottom: 30px;
    width: 100%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

:where(.pg-pass) form {
    background: var(--bg-card);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

:where(.pg-pass) header {
    margin-bottom: 30px;
}

:where(.pg-pass) header h2 {
    margin: 0;
    font-family: var(--font-logo) !important;
    font-size: 2.3rem;
    color: var(--primary);
}

:where(.pg-pass) header p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

:where(.pg-pass) .form-group {
    margin-bottom: 20px;
    width: 100%;
}

:where(.pg-pass) label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

:where(.pg-pass) input[type="text"],
:where(.pg-pass) input[type="password"],
:where(.pg-pass) input[type="date"],
:where(.pg-pass) input[type="datetime-local"],
:where(.pg-pass) input[type="number"],
:where(.pg-pass) input:not([type]),
:where(.pg-pass) select,
:where(.pg-pass) textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    margin-top: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
}

:where(.pg-pass) input[readonly] {
    background-color: var(--bg-main);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: var(--border);
}

:where(.pg-pass) select {
    appearance: none;
}

:where(.pg-pass) textarea {
    min-height: 130px;
    resize: vertical;
}

:where(.pg-pass) input[type="text"]:focus:not([readonly]),
:where(.pg-pass) input[type="password"]:focus,
:where(.pg-pass) input[type="date"]:focus,
:where(.pg-pass) input[type="datetime-local"]:focus,
:where(.pg-pass) input[type="number"]:focus,
:where(.pg-pass) input:not([type]):focus,
:where(.pg-pass) select:focus,
:where(.pg-pass) textarea:focus {
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px var(--primary-light);
}

:where(.pg-pass) input::placeholder {
    color: var(--text-muted);
}

:where(.pg-pass) .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

:where(.pg-pass) input[type="file"] {
    padding: 10px 14px;
    font-size: 0.85rem;
    cursor: pointer;
}

:where(.pg-pass) input[type="file"]::file-selector-button {
    background: var(--primary-soft);
    color: var(--primary);
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    margin-right: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

:where(.pg-pass) input[type="file"]::file-selector-button:hover {
    background: var(--primary-light);
}

:where(.pg-pass) button,
:where(.pg-pass) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 16px;
    padding: 12px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

:where(.pg-pass) button[type="submit"] {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 20px -4px rgba(124, 105, 239, 0.35);
    gap: 10px;
}

:where(.pg-pass) button[type="submit"]:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -4px rgba(124, 105, 239, 0.5);
}

:where(.pg-pass) button[type="submit"]:active {
    transform: translateY(0);
}

:where(.pg-pass) button[type="reset"] {
    background-color: var(--border);
    color: var(--text-dark);
}

:where(.pg-pass) button[type="reset"]:hover {
    background-color: var(--border-alt);
}

:where(.pg-pass) body:has(#galaxyCanvas) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    overflow: hidden;
    background:
    radial-gradient(
      circle at 15% 20%,
      rgba(124, 105, 239, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(124, 105, 239, 0.10),
      transparent 35%
    ),
    var(--bg-main);
}

@media (max-width: 900px) {
    :where(.pg-pass) .content {
        padding: 20px;
    }

    :where(.pg-pass) form {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    :where(.pg-pass) body:has(#galaxyCanvas) {
        overflow-y: auto;
        min-height: 100vh;
        height: auto;
        padding: 25px 0;
    }
}

:where(.pg-pass) .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background-color: var(--bg-main);
    padding: 20px 40px;
}

:where(.pg-pass) .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 15px;
}

:where(.pg-pass) .cal-header p {
    margin: 4px 0 0;
    color: var(--text);
    font-size: .86rem;
    font-weight: 500;
}

:where(.pg-pass):root {
    --purple:#534AB7;
    --purple-dark:#463DA1;
    --purple-tint:#F1EFFC;
    --green:#1E8E5A;
    --green-tint:#E8F7EF;
    --red:#C64545;
    --red-tint:#FBEAEA;
    --amber:#B8791A;
    --teal:#0F8C86;
}

:where(.pg-pass) .logo-nevula {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
}

@media print {
    :where(.pg-pass) .sidebar {
        display:none !important;
    }

    :where(.pg-pass) body {
        background:#fff;
    }

    :where(.pg-pass) .contenido {
        padding:0;
    }

    :where(.pg-pass) .card {
        border:none;
        padding:0;
    }
}

:where(.pg-pass) .vos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #6d28d9;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    vertical-align: middle;
    box-shadow:
        0 4px 10px rgba(109, 40, 217, 0.20);
}

:where(.pg-pass) .empleados {
    position: relative;
    margin-left: 32px;
    padding-left: 32px;
    border-left: 1px solid rgba(109, 40, 217, 0.18);
}

:where(.pg-pass) .empleados::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 1px;
    height: 38px;
    background: rgba(109, 40, 217, 0.30);
}

:where(.pg-pass) .estado {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

@media (max-width: 650px) {
    :where(.pg-pass) .vos {
        padding: 3px 7px;
        margin-left: 5px;
        font-size: 9px;
    }

    :where(.pg-pass) .empleados {
        margin-left: 13px;
        padding-left: 22px;
    }

    :where(.pg-pass) .estado {
        padding: 5px 8px;
        font-size: 9px;
    }
}

@media (max-width: 450px) {
    :where(.pg-pass) .estado {
        display: none;
    }

    :where(.pg-pass) .vos {
        font-size: 8px;
        padding: 3px 6px;
    }
}

html:where(.pg-pass),
:where(.pg-pass) body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

:where(.pg-pass) *,
:where(.pg-pass) *::before,
:where(.pg-pass) *::after {
    box-sizing: border-box;
}

:where(.pg-pass) .configuracion-page {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    padding:
        42px
        clamp(20px, 4vw, 40px)
        60px;
    box-sizing: border-box;
    color:
        var(
            --empleado-text,
            #211d32
        );
    font-family:
        var(
            --empleado-font,
            'Inter',
            sans-serif
        );
}

:where(.pg-pass) .configuracion-header {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 1200px;
    margin:
        0 auto 30px;
}

:where(.pg-pass) .configuracion-header-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background:
        var(
            --empleado-primary-light,
            #eeeaff
        );
    border:
        1px solid
        rgba(124, 105, 239, 0.16);
    box-shadow:
        0 8px 24px
        rgba(42, 31, 84, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

:where(.pg-pass) .configuracion-header-icon:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 28px
        rgba(72, 53, 150, 0.10);
}

:where(.pg-pass) .configuracion-header-icon .material-symbols-outlined {
    color:
        var(
            --empleado-primary,
            #7c69ef
        );
    font-size: 29px;
    font-variation-settings:
        'FILL' 0,
        'wght' 600,
        'GRAD' 0,
        'opsz' 24;
}

:where(.pg-pass) .configuracion-eyebrow {
    display: block;
    margin-bottom: 5px;
    color:
        var(
            --empleado-primary,
            #7c69ef
        );
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

:where(.pg-pass) .configuracion-header h1 {
    overflow-wrap: anywhere;
}

:where(.pg-pass) .configuracion-header p {
    width: 100%;
    max-width: 700px;
    margin: 8px 0 0;
    color:
        var(
            --empleado-text-secondary,
            #514c61
        );
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

:where(.pg-pass) .configuracion-card {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 26px;
    border:
        1px solid
        var(
            --empleado-border,
            #e8e4f1
        );
    border-radius:
        var(
            --empleado-radius,
            18px
        );
    background:
        var(
            --empleado-surface,
            #ffffff
        );
    box-shadow:
        var(
            --empleado-shadow-sm,
            0 4px 14px
            rgba(42, 31, 84, 0.05)
        );
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

:where(.pg-pass) .configuracion-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(
                --empleado-primary,
                #7c69ef
            ),
            #9b8cff,
            #c1b8ff
        );
    opacity: 0.9;
}

:where(.pg-pass) .configuracion-card:hover {
    transform: translateY(-3px);
    border-color:
        rgba(124, 105, 239, 0.22);
    box-shadow:
        var(
            --empleado-shadow-hover,
            0 18px 40px
            rgba(72, 53, 150, 0.13)
        );
}

:where(.pg-pass) .configuracion-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    margin-bottom: 22px;
}

:where(.pg-pass) .configuracion-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background:
        var(
            --empleado-primary-light,
            #eeeaff
        );
    border:
        1px solid
        rgba(124, 105, 239, 0.14);
}

:where(.pg-pass) .configuracion-icon .material-symbols-outlined {
    color:
        var(
            --empleado-primary,
            #7c69ef
        );
    font-size: 22px;
    font-variation-settings:
        'FILL' 0,
        'wght' 600,
        'GRAD' 0,
        'opsz' 24;
}

:where(.pg-pass) .configuracion-card-header h2 {
    min-width: 0;
    margin: 0;
    color:
        var(
            --empleado-text,
            #211d32
        );
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

:where(.pg-pass) .configuracion-card-header p {
    margin: 4px 0 0;
    color:
        var(
            --empleado-text-muted,
            #89839a
        );
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

:where(.pg-pass) .configuracion-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 41px;
    max-width: 100%;
    padding: 0 16px;
    flex-shrink: 0;
    border:
        1px solid
        rgba(124, 105, 239, 0.18);
    border-radius: 11px;
    background:
        var(
            --empleado-primary-light,
            #eeeaff
        );
    color:
        var(
            --empleado-primary,
            #7c69ef
        );
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

:where(.pg-pass) .configuracion-button:hover {
    background:
        rgba(124, 105, 239, 0.16);
    border-color:
        rgba(124, 105, 239, 0.32);
    color:
        var(
            --empleado-primary-dark,
            #6652df
        );
    transform: translateY(-1px);
    box-shadow:
        0 8px 20px
        rgba(72, 53, 150, 0.10);
}

:where(.pg-pass) .configuracion-button:active {
    transform: translateY(0);
    box-shadow: none;
}

:where(.pg-pass) .configuracion-button .material-symbols-outlined {
    color: currentColor;
    font-size: 18px;
}

:where(.pg-pass) .configuracion-button.logout {
    background:
        rgba(239, 68, 68, 0.065);
    border-color:
        rgba(239, 68, 68, 0.18);
    color:
        #b91c1c;
}

:where(.pg-pass) .configuracion-button.logout:hover {
    background:
        rgba(239, 68, 68, 0.12);
    border-color:
        rgba(239, 68, 68, 0.30);
    color:
        #991b1b;
    box-shadow:
        0 8px 20px
        rgba(185, 28, 28, 0.10);
}

:where(.pg-pass) .configuracion-card form {
    width: 100%;
    max-width: 100%;
}

:where(.pg-pass) .configuracion-card label {
    display: block;
    margin-bottom: 7px;
    color:
        var(
            --empleado-text,
            #211d32
        );
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

:where(.pg-pass) .configuracion-card input,
:where(.pg-pass) .configuracion-card select,
:where(.pg-pass) .configuracion-card textarea {
    width: 100%;
    max-width: 100%;
    min-height: 43px;
    padding: 11px 14px;
    box-sizing: border-box;
    border:
        1px solid
        var(
            --empleado-border,
            #e8e4f1
        );
    border-radius: 11px;
    outline: none;
    background:
        var(
            --empleado-surface-soft,
            #fbfaff
        );
    color:
        var(
            --empleado-text,
            #211d32
        );
    font-family:
        var(
            --empleado-font,
            'Inter',
            sans-serif
        );
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

:where(.pg-pass) .configuracion-card textarea {
    resize: vertical;
}

:where(.pg-pass) .configuracion-card input:focus,
:where(.pg-pass) .configuracion-card select:focus,
:where(.pg-pass) .configuracion-card textarea:focus {
    border-color:
        var(
            --empleado-primary,
            #7c69ef
        );
    background:
        var(
            --empleado-surface,
            #ffffff
        );
    box-shadow:
        0 0 0 3px
        rgba(124, 105, 239, 0.12);
}

:where(.pg-pass) .configuracion-card input::placeholder,
:where(.pg-pass) .configuracion-card textarea::placeholder {
    color:
        var(
            --empleado-text-muted,
            #89839a
        );
}

:where(.pg-pass) .configuracion-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin:
        0 auto 20px;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

:where(.pg-pass) .configuracion-alert.error {
    background:
        rgba(229, 72, 77, 0.08);
    border:
        1px solid
        rgba(229, 72, 77, 0.18);
    color:
        #b91c1c;
}

:where(.pg-pass) .configuracion-alert.warning {
    background:
        rgba(245, 158, 11, 0.09);
    border:
        1px solid
        rgba(245, 158, 11, 0.20);
    color:
        #a16207;
}

:where(.pg-pass) .configuracion-button:focus-visible,
:where(.pg-pass) .configuracion-card input:focus-visible,
:where(.pg-pass) .configuracion-card select:focus-visible,
:where(.pg-pass) .configuracion-card textarea:focus-visible {
    outline:
        3px solid
        rgba(124, 105, 239, 0.25);
    outline-offset: 3px;
}

@media (max-width: 1000px) {
    :where(.pg-pass) .configuracion-page {
        width: 100%;
        max-width: 100%;
        padding:
                35px
                28px
                50px;
    }

    :where(.pg-pass) .configuracion-header,
:where(.pg-pass) .configuracion-alert {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 750px) {
    :where(.pg-pass) .configuracion-page {
        width: 100%;
        max-width: 100%;
        padding:
                30px
                22px
                45px;
    }

    :where(.pg-pass) .configuracion-header {
        align-items: flex-start;
        width: 100%;
    }

    :where(.pg-pass) .configuracion-card {
        width: 100%;
        padding: 23px;
    }
}

@media (max-width: 600px) {
    :where(.pg-pass) .configuracion-page {
        width: 100%;
        max-width: 100%;
        padding:
                24px
                16px
                40px;
    }

    :where(.pg-pass) .configuracion-header {
        width: 100%;
        gap: 13px;
        margin-bottom: 24px;
    }

    :where(.pg-pass) .configuracion-header-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    :where(.pg-pass) .configuracion-header-icon .material-symbols-outlined {
        font-size: 24px;
    }

    :where(.pg-pass) .configuracion-eyebrow {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    :where(.pg-pass) .configuracion-header p {
        width: 100%;
        font-size: 13px;
    }

    :where(.pg-pass) .configuracion-card {
        width: 100%;
        padding: 20px;
        border-radius: 16px;
    }

    :where(.pg-pass) .configuracion-card-header {
        gap: 11px;
        margin-bottom: 18px;
    }

    :where(.pg-pass) .configuracion-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    :where(.pg-pass) .configuracion-icon .material-symbols-outlined {
        font-size: 20px;
    }

    :where(.pg-pass) .configuracion-card-header h2 {
        font-size: 16px;
    }

    :where(.pg-pass) .configuracion-button {
        width: 100%;
    }

    :where(.pg-pass) .configuracion-alert {
        width: 100%;
    }
}

@media (max-width: 420px) {
    :where(.pg-pass) .configuracion-page {
        width: 100%;
        max-width: 100%;
        padding:
                20px
                13px
                35px;
    }

    :where(.pg-pass) .configuracion-header {
        gap: 10px;
    }

    :where(.pg-pass) .configuracion-header-icon {
        width: 43px;
        height: 43px;
    }

    :where(.pg-pass) .configuracion-header p {
        font-size: 12px;
    }

    :where(.pg-pass) .configuracion-card {
        width: 100%;
        padding: 17px;
    }

    :where(.pg-pass) .configuracion-button {
        min-width: 0;
        white-space: normal;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    :where(.pg-pass) .configuracion-card,
:where(.pg-pass) .configuracion-header-icon,
:where(.pg-pass) .configuracion-button {
        transition: none;
    }

    :where(.pg-pass) .configuracion-card:hover,
:where(.pg-pass) .configuracion-header-icon:hover,
:where(.pg-pass) .configuracion-button:hover {
        transform: none;
    }
}

:where(.pg-login, .pg-recuperar):root {
    --primary: #7c69ef;
    --primary-hover: #6854e8;
    --primary-light: rgba(124, 105, 239, 0.12);
    --primary-soft: rgba(124, 105, 239, 0.08);
    --accent-light: #e8e4ff;
    --accent: #7c69ef;
    --danger: #dc3545;
    --danger-hover: #bb2d3b;
    --success: #198754;
    --success-hover: #157347;
    --info: #17a2b8;
    --info-hover: #138496;
    --warning: #fbc02d;
    --warning-bg: #fff9c4;
    --bg-main: #f7f6fc;
    --bg: #f7f6fc;
    --bg-card: #ffffff;
    --bg-alt: #fafafa;
    --text-dark: #1e1b2e;
    --text-main: #2d3436;
    --text-muted: #8b85a0;
    --text: #1e1b2e;
    --muted: #8b85a0;
    --light: #f5f3ff;
    --ok: #10b981;
    --border-color: rgba(124, 105, 239, 0.12);
    --border-alt: #e5e7eb;
    --border: #e2e8f0;
    --line: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-card: 32px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 25px 50px -15px rgba(124, 105, 239, 0.15);
    --font-family: 'Inter', sans-serif;
    --font-logo: 'Syne', sans-serif;
}

:where(.pg-login, .pg-recuperar)[data-theme="dark"] {
    --bg-main: #12111a;
    --bg: #12111a;
    --bg-card: #1e1b2e;
    --bg-alt: #252238;
    --text-dark: #f7f6fc;
    --text-main: #e2e8f0;
    --text-muted: #a09aba;
    --text: #e2e8f0;
    --muted: #a09aba;
    --border-color: rgba(124, 105, 239, 0.25);
    --border-alt: #2e2a45;
    --border: #2e2a45;
    --line: #2e2a45;
    --primary-soft: rgba(124, 105, 239, 0.2);
    --primary-light: rgba(124, 105, 239, 0.25);
    --light: #252238;
}

:where(.pg-login, .pg-recuperar) *,
:where(.pg-login, .pg-recuperar) *::before,
:where(.pg-login, .pg-recuperar) *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

:where(.pg-login, .pg-recuperar) body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

:where(.pg-login, .pg-recuperar) .layout,
:where(.pg-login, .pg-recuperar) .layouts {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

:where(.pg-login, .pg-recuperar) .content {
    flex: 1;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}

:where(.pg-login, .pg-recuperar) h1,
:where(.pg-login, .pg-recuperar) h2 {
    font-family: var(--font-logo) !important;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}

:where(.pg-login, .pg-recuperar) h1 {
    font-size: 2.2rem;
}

:where(.pg-login, .pg-recuperar) h2 {
    font-size: 2rem;
}

:where(.pg-login, .pg-recuperar) h3 {
    font-family: var(--font-family);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 10px;
}

:where(.pg-login, .pg-recuperar) p {
    font-family: var(--font-family);
    margin: 6px 0 18px;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.7;
}

:where(.pg-login, .pg-recuperar) strong {
    font-family: var(--font-family);
    font-size: 0.9rem;
    color: var(--primary);
}

:where(.pg-login, .pg-recuperar) hr {
    border: none;
    height: 2px;
    background: var(--primary-light);
    margin: 35px 0;
}

:where(.pg-login, .pg-recuperar) .content ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
    padding: 0;
    width: 100%;
}

:where(.pg-login, .pg-recuperar) .content ul li {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 18px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, background 0.25s ease;
}

:where(.pg-login, .pg-recuperar) .content ul li:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

:where(.pg-login, .pg-recuperar) .form-container {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 0;
    margin-bottom: 30px;
    width: 100%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

:where(.pg-login, .pg-recuperar) form {
    background: var(--bg-card);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

:where(.pg-login, .pg-recuperar) header {
    margin-bottom: 30px;
}

:where(.pg-login, .pg-recuperar) header h2,
:where(.pg-login, .pg-recuperar) header h1 {
    margin: 0;
    font-family: var(--font-logo) !important;
    font-size: 2.3rem;
    color: var(--primary);
}

:where(.pg-login, .pg-recuperar) header p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

:where(.pg-login, .pg-recuperar) .form-group,
:where(.pg-login, .pg-recuperar) .input-group {
    margin-bottom: 20px;
    width: 100%;
}

:where(.pg-login, .pg-recuperar) label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

:where(.pg-login, .pg-recuperar) input[type="text"],
:where(.pg-login, .pg-recuperar) input[type="password"],
:where(.pg-login, .pg-recuperar) input[type="date"],
:where(.pg-login, .pg-recuperar) input[type="datetime-local"],
:where(.pg-login, .pg-recuperar) input[type="number"],
:where(.pg-login, .pg-recuperar) input:not([type]),
:where(.pg-login, .pg-recuperar) select,
:where(.pg-login, .pg-recuperar) textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    margin-top: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
}

:where(.pg-login, .pg-recuperar) input[readonly] {
    background-color: var(--bg-main);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: var(--border);
}

:where(.pg-login, .pg-recuperar) select {
    appearance: none;
}

:where(.pg-login, .pg-recuperar) textarea {
    min-height: 130px;
    resize: vertical;
}

:where(.pg-login, .pg-recuperar) input[type="text"]:focus:not([readonly]),
:where(.pg-login, .pg-recuperar) input[type="password"]:focus,
:where(.pg-login, .pg-recuperar) input[type="date"]:focus,
:where(.pg-login, .pg-recuperar) input[type="datetime-local"]:focus,
:where(.pg-login, .pg-recuperar) input[type="number"]:focus,
:where(.pg-login, .pg-recuperar) input:not([type]):focus,
:where(.pg-login, .pg-recuperar) select:focus,
:where(.pg-login, .pg-recuperar) textarea:focus {
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px var(--primary-light);
}

:where(.pg-login, .pg-recuperar) input::placeholder {
    color: var(--text-muted);
}

:where(.pg-login, .pg-recuperar) .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

:where(.pg-login, .pg-recuperar) input[type="file"] {
    padding: 10px 14px;
    font-size: 0.85rem;
    cursor: pointer;
}

:where(.pg-login, .pg-recuperar) input[type="file"]::file-selector-button {
    background: var(--primary-soft);
    color: var(--primary);
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    margin-right: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

:where(.pg-login, .pg-recuperar) input[type="file"]::file-selector-button:hover {
    background: var(--primary-light);
}

:where(.pg-login, .pg-recuperar) button,
:where(.pg-login, .pg-recuperar) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 16px;
    padding: 12px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

:where(.pg-login, .pg-recuperar) button[type="submit"] {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 20px -4px rgba(124, 105, 239, 0.35);
    gap: 10px;
}

:where(.pg-login, .pg-recuperar) button[type="submit"]:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -4px rgba(124, 105, 239, 0.5);
}

:where(.pg-login, .pg-recuperar) button[type="submit"]:active {
    transform: translateY(0);
}

:where(.pg-login, .pg-recuperar) button[type="reset"] {
    background-color: var(--border);
    color: var(--text-dark);
}

:where(.pg-login, .pg-recuperar) button[type="reset"]:hover {
    background-color: var(--border-alt);
}

:where(.pg-login, .pg-recuperar) body:has(#galaxyCanvas) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    overflow: hidden;
    background:
    radial-gradient(
      circle at 15% 20%,
      rgba(124, 105, 239, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(124, 105, 239, 0.10),
      transparent 35%
    ),
    var(--bg-main);
}

:where(.pg-login, .pg-recuperar) #galaxyCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

:where(.pg-login, .pg-recuperar) .login-card {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(1050px, 92vw);
    min-height: 560px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow:
    0 25px 60px rgba(45, 36, 80, 0.13),
    0 8px 25px rgba(124, 105, 239, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: login-fadeInCard 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes login-fadeInCard {
from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

:where(.pg-login, .pg-recuperar) .login-form-side {
    flex: 1.08;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 70px;
    background: var(--bg-main);
}

:where(.pg-login, .pg-recuperar) .login-content {
    width: 100%;
    max-width: 390px;
}

:where(.pg-login, .pg-recuperar) .login-form-side .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
}

:where(.pg-login, .pg-recuperar) .login-form-side .logo-container img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 14px;
    filter: drop-shadow(0 5px 12px rgba(124, 105, 239, 0.18));
}

:where(.pg-login, .pg-recuperar) .login-form-side .logo-text {
    margin: 0;
    font-family: var(--font-logo);
    font-size: 2.45rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--text-dark);
}

:where(.pg-login, .pg-recuperar) .login-form-side .logo-text span {
    color: var(--primary);
}

:where(.pg-login, .pg-recuperar) .login-form-side .brand-subtitle {
    margin: 0 0 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

:where(.pg-login, .pg-recuperar) .login-normal {
    width: 100%;
}

:where(.pg-login, .pg-recuperar) .login-normal form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

:where(.pg-login, .pg-recuperar) .login-normal .input-group {
    width: 100%;
    margin-bottom: 19px;
}

:where(.pg-login, .pg-recuperar) .login-normal label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 600;
}

:where(.pg-login, .pg-recuperar) .login-normal input[type="text"],
:where(.pg-login, .pg-recuperar) .login-normal input[type="password"],
:where(.pg-login, .pg-recuperar) .login-normal input[type="date"] {
    width: 100%;
    height: 49px;
    margin: 0;
    padding: 0 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 13px;
    color: var(--text-dark);
    font-size: 0.9rem;
    outline: none;
    box-shadow: 0 2px 8px rgba(45, 36, 80, 0.025);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:where(.pg-login, .pg-recuperar) .login-normal input:hover {
    border-color: var(--primary);
}

:where(.pg-login, .pg-recuperar) .login-normal input:focus {
    border-color: var(--primary);
    box-shadow:
    0 0 0 3px var(--primary-light),
    0 4px 12px rgba(124, 105, 239, 0.07);
}

:where(.pg-login, .pg-recuperar) .login-normal input::placeholder {
    color: var(--text-muted);
}

:where(.pg-login, .pg-recuperar) .login-normal .password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

:where(.pg-login, .pg-recuperar) .login-normal .password-wrapper input {
    padding-right: 48px;
}

:where(.pg-login, .pg-recuperar) .login-normal .toggle-password {
    position: absolute;
    right: 9px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: 9px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
}

:where(.pg-login, .pg-recuperar) .login-normal .toggle-password:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-50%);
}

:where(.pg-login, .pg-recuperar) .login-normal form > button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 49px;
    margin: 8px 0 0;
    padding: 0 20px;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), #8979ed);
    color: #ffffff;
    border: none;
    border-radius: 13px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(124, 105, 239, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

:where(.pg-login, .pg-recuperar) .login-normal form > button[type="submit"] i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

:where(.pg-login, .pg-recuperar) .login-normal form > button[type="submit"]:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 11px 23px rgba(124, 105, 239, 0.28);
}

:where(.pg-login, .pg-recuperar) .login-normal form > button[type="submit"]:hover i {
    transform: translateX(3px);
}

:where(.pg-login, .pg-recuperar) .login-normal form > button[type="submit"]:active {
    transform: translateY(0);
}

:where(.pg-login, .pg-recuperar) .login-card > .login-brand-side {
    position: relative;
    flex: 0.92;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 55px;
    text-align: center;
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    overflow: hidden;
}

:where(.pg-login, .pg-recuperar) .login-card > .login-brand-side::before,
:where(.pg-login, .pg-recuperar) .login-card > .login-brand-side::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

:where(.pg-login, .pg-recuperar) .login-card > .login-brand-side::before {
    width: 260px;
    height: 260px;
    top: -150px;
    right: -120px;
    background: rgba(124, 105, 239, 0.08);
    filter: blur(10px);
}

:where(.pg-login, .pg-recuperar) .login-card > .login-brand-side::after {
    width: 220px;
    height: 220px;
    bottom: -140px;
    left: -110px;
    background: rgba(124, 105, 239, 0.055);
    filter: blur(15px);
}

:where(.pg-login, .pg-recuperar) .qr-login {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

:where(.pg-login, .pg-recuperar) .qr-login h2 {
    margin: 0 0 7px;
    color: var(--text-dark);
    font-family: var(--font-logo) !important;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
}

:where(.pg-login, .pg-recuperar) .qr-login > p:first-of-type {
    max-width: 290px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

:where(.pg-login, .pg-recuperar) #qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 190px;
    margin: 23px auto 16px;
    padding: 13px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(45, 36, 80, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

:where(.pg-login, .pg-recuperar) #qrcode:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(124, 105, 239, 0.13);
}

:where(.pg-login, .pg-recuperar) #qrcode img,
:where(.pg-login, .pg-recuperar) #qrcode canvas {
    display: block;
    width: 164px !important;
    height: 164px !important;
    border-radius: 3px;
}

:where(.pg-login, .pg-recuperar) #qr-timer {
    margin: 0 !important;
    color: var(--text-muted) !important;
    font-size: 0.76rem !important;
    line-height: 1.4;
}

:where(.pg-login, .pg-recuperar) #qr-status {
    min-height: 20px;
    margin: 6px 0 0 !important;
    color: var(--primary) !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    line-height: 1.4;
}

:where(.pg-login, .pg-recuperar) .login-error {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 60, 60, 0.65);
    border-radius: 10px;
    background: rgba(180, 20, 20, 0.16);
    box-shadow:
        0 0 15px rgba(255, 40, 40, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

:where(.pg-recuperar) .login-normal > .login-error {
    margin: 0 0 20px;
}

:where(.pg-login, .pg-recuperar) .login-normal .login-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
    padding: 12px 20px;
    border: 1px solid #dedcf4;
    border-radius: 10px;
    background: #f8f7ff;
    color: #6058cf;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}

:where(.pg-login, .pg-recuperar) .login-normal .login-back-link:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

:where(.pg-recuperar) .recovery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 190px;
    margin: 23px auto 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(45, 36, 80, 0.09);
    color: var(--primary);
    font-size: 4.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

:where(.pg-recuperar) .recovery-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(124, 105, 239, 0.13);
}

:where(.pg-recuperar) .recovery-step {
    min-height: 20px;
    margin: 6px 0 0;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 480px) {
    :where(.pg-recuperar) .recovery-icon {
        width: 175px;
        height: 175px;
        margin-top: 19px;
        font-size: 3.6rem;
    }
}

@media (max-width: 900px) {
    :where(.pg-login, .pg-recuperar) .content {
        padding: 20px;
    }

    :where(.pg-login, .pg-recuperar) form {
        padding: 20px;
    }

    :where(.pg-login, .pg-recuperar) .login-card {
        width: 94vw;
    }

    :where(.pg-login, .pg-recuperar) .login-form-side {
        padding: 45px 50px;
    }

    :where(.pg-login, .pg-recuperar) .login-card > .login-brand-side {
        padding: 45px 40px;
    }
}

@media (max-width: 768px) {
    :where(.pg-login, .pg-recuperar) body:has(#galaxyCanvas) {
        overflow-y: auto;
        min-height: 100vh;
        height: auto;
        padding: 25px 0;
    }

    :where(.pg-login, .pg-recuperar) .login-card {
        flex-direction: column;
        width: calc(100% - 30px);
        max-width: 480px;
        min-height: auto;
        margin: auto;
        border-radius: 24px;
    }

    :where(.pg-login, .pg-recuperar) .login-form-side {
        padding: 40px 30px;
    }

    :where(.pg-login, .pg-recuperar) .login-card > .login-brand-side {
        padding: 40px 30px;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    :where(.pg-login, .pg-recuperar) .login-form-side .logo-container {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    :where(.pg-login, .pg-recuperar) .login-form-side .brand-subtitle {
        text-align: center;
    }

    :where(.pg-login, .pg-recuperar) .login-content {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    :where(.pg-login, .pg-recuperar) .login-card {
        width: calc(100% - 22px);
    }

    :where(.pg-login, .pg-recuperar) .login-form-side,
:where(.pg-login, .pg-recuperar) .login-card > .login-brand-side {
        padding: 32px 22px;
    }

    :where(.pg-login, .pg-recuperar) .login-form-side .logo-text {
        font-size: 2.1rem;
    }

    :where(.pg-login, .pg-recuperar) .login-form-side .logo-container img {
        width: 42px;
        height: 42px;
    }

    :where(.pg-login, .pg-recuperar) .login-form-side .brand-subtitle {
        font-size: 0.84rem;
        margin-bottom: 25px;
    }

    :where(.pg-login, .pg-recuperar) #qrcode {
        width: 175px;
        height: 175px;
        margin-top: 19px;
    }

    :where(.pg-login, .pg-recuperar) #qrcode img,
:where(.pg-login, .pg-recuperar) #qrcode canvas {
        width: 149px !important;
        height: 149px !important;
    }
}

@media (max-height: 700px) and (min-width: 769px) {
    :where(.pg-login, .pg-recuperar) .login-card {
        min-height: 500px;
    }

    :where(.pg-login, .pg-recuperar) .login-form-side {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    :where(.pg-login, .pg-recuperar) .login-card > .login-brand-side {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    :where(.pg-login, .pg-recuperar) .login-form-side .brand-subtitle {
        margin-bottom: 23px;
    }

    :where(.pg-login, .pg-recuperar) .login-normal .input-group {
        margin-bottom: 14px;
    }

    :where(.pg-login, .pg-recuperar) #qrcode {
        width: 165px;
        height: 165px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    :where(.pg-login, .pg-recuperar) #qrcode img,
:where(.pg-login, .pg-recuperar) #qrcode canvas {
        width: 139px !important;
        height: 139px !important;
    }
}

:where(.pg-login, .pg-recuperar) .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background-color: var(--bg-main);
    padding: 20px 40px;
}

:where(.pg-login, .pg-recuperar) .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 15px;
}

:where(.pg-login, .pg-recuperar) .cal-header h1 {
    margin: 0;
    font-family: 'Syne', sans-serif !important;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    color: var(--primary);
}

:where(.pg-login, .pg-recuperar) .cal-header p {
    margin: 4px 0 0;
    color: var(--text);
    font-size: .86rem;
    font-weight: 500;
}

:where(.pg-login, .pg-recuperar):root {
    --purple:#534AB7;
    --purple-dark:#463DA1;
    --purple-tint:#F1EFFC;
    --green:#1E8E5A;
    --green-tint:#E8F7EF;
    --red:#C64545;
    --red-tint:#FBEAEA;
    --amber:#B8791A;
    --teal:#0F8C86;
}

:where(.pg-login, .pg-recuperar) .logo-nevula {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
}

@media print {
    :where(.pg-login, .pg-recuperar) .sidebar {
        display:none !important;
    }

    :where(.pg-login, .pg-recuperar) body {
        background:#fff;
    }

    :where(.pg-login, .pg-recuperar) .contenido {
        padding:0;
    }

    :where(.pg-login, .pg-recuperar) .card {
        border:none;
        padding:0;
    }
}

:where(.pg-login, .pg-recuperar) .vos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #6d28d9;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    vertical-align: middle;
    box-shadow:
        0 4px 10px rgba(109, 40, 217, 0.20);
}

:where(.pg-login, .pg-recuperar) .empleados {
    position: relative;
    margin-left: 32px;
    padding-left: 32px;
    border-left: 1px solid rgba(109, 40, 217, 0.18);
}

:where(.pg-login, .pg-recuperar) .empleados::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 1px;
    height: 38px;
    background: rgba(109, 40, 217, 0.30);
}

:where(.pg-login, .pg-recuperar) .estado {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

:where(.pg-login, .pg-recuperar) .estado.presente {
    color: #15803d !important;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.20);
}

:where(.pg-login, .pg-recuperar) .estado.offline {
    color: #64748b !important;
    background: rgba(100, 116, 139, 0.09);
    border: 1px solid rgba(100, 116, 139, 0.18);
}

@media (max-width: 650px) {
    :where(.pg-login, .pg-recuperar) .vos {
        padding: 3px 7px;
        margin-left: 5px;
        font-size: 9px;
    }

    :where(.pg-login, .pg-recuperar) .empleados {
        margin-left: 13px;
        padding-left: 22px;
    }

    :where(.pg-login, .pg-recuperar) .estado {
        padding: 5px 8px;
        font-size: 9px;
    }
}

@media (max-width: 450px) {
    :where(.pg-login, .pg-recuperar) .estado {
        display: none;
    }

    :where(.pg-login, .pg-recuperar) .vos {
        font-size: 8px;
        padding: 3px 6px;
    }
}

html.pg-pass {
    --empleado-primary: var(--primary);
    --empleado-primary-dark: var(--primary-hover);
    --empleado-primary-light: var(--primary-light);
    --empleado-surface: var(--bg-card);
    --empleado-surface-soft: var(--bg-alt);
    --empleado-text: var(--text-dark);
    --empleado-text-secondary: var(--text-main);
    --empleado-text-muted: var(--text-muted);
    --empleado-border: var(--border);
    --empleado-font: var(--font-family);
    --empleado-display: var(--font-logo);
}

html.pg-pass .content.configuracion-page {
    display: block;
    max-width: none;
    padding: 44px clamp(18px, 4vw, 40px) 60px;
}

html.pg-pass .configuracion-page > .configuracion-header,
html.pg-pass .configuracion-page > .configuracion-card {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

html.pg-pass .configuracion-page > .configuracion-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

html.pg-pass .configuracion-header p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

html.pg-pass .configuracion-page > .configuracion-card {
    padding: 30px;
}

html.pg-pass .configuracion-page > .configuracion-card:hover {
    transform: none;
}

html.pg-pass .configuracion-card-header {
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--empleado-border);
}

html.pg-pass .configuracion-card-header > div:last-child {
    flex: 1;
    min-width: 0;
}

html.pg-pass .configuracion-card-header h2 {
    margin: 0;
    padding: 0;
    font-family: var(--font-family) !important;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--empleado-text);
}

html.pg-pass .configuracion-card-header h2::before,
html.pg-pass .configuracion-card-header h2::after {
    content: none !important;
}

html.pg-pass .configuracion-card-header p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--empleado-text-muted);
}

html.pg-pass .configuracion-card form {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

html.pg-pass .pass-field {
    margin: 0 0 18px;
    width: 100%;
}

html.pg-pass .pass-field:last-of-type {
    margin-bottom: 0;
}

html.pg-pass .pass-field label {
    display: block;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: none;
    color: var(--empleado-text-secondary);
}

html.pg-pass .pass-field input[type="password"] {
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 12px 14px;
    border: 1.5px solid var(--empleado-border);
    border-radius: 12px;
    background: var(--empleado-surface-soft);
    color: var(--empleado-text);
    font-family: var(--font-family);
    font-size: 14px;
    letter-spacing: 0.04em;
    box-shadow: none;
}

html.pg-pass .pass-field input[type="password"]:focus {
    border-color: var(--empleado-primary);
    background: var(--empleado-surface);
    box-shadow: 0 0 0 4px var(--primary-light);
}

html.pg-pass .pass-hint {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--empleado-text-muted);
}

html.pg-pass .pass-divider {
    height: 1px;
    margin: 22px 0;
    background: var(--empleado-border);
}

html.pg-pass .pass-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--empleado-border);
}

html.pg-pass .pass-actions .configuracion-button {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin: 0;
}

html.pg-pass .pass-actions .pass-btn-cancel {
    background: transparent;
    border: 1.5px solid var(--empleado-border);
    color: var(--empleado-text-secondary);
    box-shadow: none;
}

html.pg-pass .pass-actions .pass-btn-cancel:hover {
    background: var(--empleado-surface-soft);
    border-color: var(--empleado-primary);
    color: var(--empleado-text);
    transform: none;
}

html.pg-pass .pass-actions .pass-btn-primary {
    background: var(--primary);
    border: 1.5px solid var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(124, 105, 239, 0.5);
}

html.pg-pass .pass-actions .pass-btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

html.pg-pass .pass-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

html.pg-pass .pass-alert.success {
    background: rgba(25, 135, 84, 0.10);
    border: 1px solid rgba(25, 135, 84, 0.25);
    color: #15803d;
}

html.pg-pass .pass-alert.error {
    background: rgba(220, 53, 69, 0.09);
    border: 1px solid rgba(220, 53, 69, 0.25);
    color: #b91c1c;
}

html.pg-pass[data-theme="dark"] .pass-alert.success {
    color: #6ee7a8;
}

html.pg-pass[data-theme="dark"] .pass-alert.error {
    color: #fca5a5;
}

@media (max-width: 560px) {
    html.pg-pass .configuracion-page > .configuracion-card {
        padding: 22px 18px;
    }

    html.pg-pass .pass-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    html.pg-pass .pass-actions .configuracion-button {
        width: 100%;
    }
}

:where(.pg-pass) {
    --empleado-primary: #7c69ef;
    --empleado-primary-dark: #6652df;
    --empleado-primary-light: #eeeaff;
    --empleado-bg: #f7f6fc;
    --empleado-surface: #ffffff;
    --empleado-surface-soft: #fbfaff;
    --empleado-text: #211d32;
    --empleado-text-secondary: #514c61;
    --empleado-text-muted: #89839a;
    --empleado-border: #e8e4f1;
    --empleado-success: #20a36a;
    --empleado-shadow-sm: 0 4px 14px rgba(42, 31, 84, 0.05);
    --empleado-shadow: 0 12px 35px rgba(42, 31, 84, 0.08);
    --empleado-shadow-hover: 0 18px 40px rgba(72, 53, 150, 0.13);
}

:where(.pg-pass)[data-theme="dark"],
:where(.pg-pass) body.dark-mode,
:where(.pg-pass) body[data-theme="dark"] {
    color-scheme: dark;
    --empleado-primary: #9b8cff;
    --empleado-primary-dark: #7c69ef;
    --empleado-primary-light: rgba(155, 140, 255, 0.14);
    --empleado-bg: #14111f;
    --empleado-surface: #1c182b;
    --empleado-surface-soft: #242036;
    --empleado-text: #f3f1fb;
    --empleado-text-secondary: #b8b2cd;
    --empleado-text-muted: #9a94ae;
    --empleado-border: #2e2845;
    --empleado-success: #2ecc71;
    --empleado-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.20);
    --empleado-shadow: 0 12px 35px rgba(0, 0, 0, 0.40);
    --empleado-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.50);
}

html.pg-pass[data-theme="dark"],
html.pg-pass[data-theme="dark"] body,
html.pg-pass[data-theme="dark"] .layout,
html.pg-pass[data-theme="dark"] .content {
    background: var(--empleado-bg);
    color: var(--empleado-text);
}

html.pg-pass[data-theme="dark"] .configuracion-card input,
html.pg-pass[data-theme="dark"] .configuracion-card select,
html.pg-pass[data-theme="dark"] .configuracion-card textarea {
    background: var(--empleado-surface-soft);
    color: var(--empleado-text);
    border-color: var(--empleado-border);
}

html.pg-calendario #notiftb-calendar-wrapper {
    display: none !important;
}

html.pg-calendario #vista-empleado .nv-minical-btn.cal-mini-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #54656f;
}

html.pg-calendario #vista-empleado .nv-minical-btn.cal-mini-btn:hover {
    background: rgba(124, 105, 239, 0.08);
    border-color: #7c69ef;
    color: #7c69ef;
}

html.pg-calendario[data-theme="dark"] #vista-empleado .nv-minical-btn.cal-mini-btn {
    background: #1e1b2e;
    border-color: #3a3560;
    color: #c9c3e6;
}

html.pg-calendario[data-theme="dark"] #vista-empleado .nv-minical-btn.cal-mini-btn:hover {
    background: rgba(155, 140, 255, 0.18);
    border-color: #9b8cff;
    color: #b8adff;
}

html.pg-calendario #vista-empleado .nv-minical-btn.cal-mini-btn.is-active,
html.pg-calendario[data-theme="dark"] #vista-empleado .nv-minical-btn.cal-mini-btn.is-active {
    background: #7c69ef;
    border-color: #7c69ef;
    color: #ffffff;
}

html.pg-calendario #vista-empleado .nv-minical-btn.cal-mini-btn svg,
html.pg-calendario #vista-empleado .nv-minical-btn.cal-mini-btn svg * {
    stroke: currentColor;
}

html.pg-licencia .dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 30px 20px;
    text-align: center;
    background: var(--empleado-surface-soft);
    border: 2px dashed var(--empleado-border);
    border-radius: var(--empleado-radius);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

html.pg-licencia .dropzone .dz-icon,
html.pg-licencia .dropzone .material-symbols-outlined {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: var(--empleado-primary-light);
    color: var(--empleado-primary);
    font-size: 28px;
}

html.pg-licencia .dropzone .dz-icon svg {
    width: 26px;
    height: 26px;
}

html.pg-licencia .dropzone p {
    margin: 0;
    color: var(--empleado-text);
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

html.pg-licencia .dropzone small {
    color: var(--empleado-text-muted);
    font-size: 12px;
}

html.pg-licencia .dropzone:hover,
html.pg-licencia .dropzone:focus-visible,
html.pg-licencia .dropzone.dragover {
    border-color: var(--empleado-primary);
    background: var(--empleado-primary-light);
    outline: none;
}

html.pg-licencia .dropzone.dragover {
    border-style: solid;
}

html.pg-licencia .dropzone.has-file {
    border-style: solid;
    border-color: var(--empleado-primary);
    background: var(--empleado-primary-light);
}

html.pg-licencia .dropzone .dz-remove {
    margin-top: 6px;
    padding: 6px 14px;
    background: var(--empleado-surface);
    color: var(--empleado-text-secondary);
    border: 1px solid var(--empleado-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

html.pg-licencia .dropzone .dz-remove:hover {
    color: #e5484d;
    border-color: #e5484d;
}

html.pg-licencia .dropzone .dz-error {
    margin-top: 4px;
    color: #e5484d;
    font-size: 12px;
    font-weight: 600;
}

html.pg-licencia .dropzone [hidden] {
    display: none !important;
}

html.pg-licencia .form-group label .optional {
    margin-left: 4px;
    color: var(--empleado-text-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

@media (min-width: 901px) {
    html .content:not(.cal-page):not(:has(> .ct-page)) {
        padding-top: 28px;
        padding-bottom: 48px;
        padding-left: clamp(18px, 2.4vw, 40px);
        padding-right: clamp(18px, 2.4vw, 40px);
    }

    html .form-container,
html .metrics-grid-lider {
        max-width: 1240px;
    }

    html #notif-app,
html .detalle-page {
        max-width: 1200px;
    }
}

.aj-wrap {
    --aj-bg:        #ffffff;
    --aj-surface:   #ffffff;
    --aj-surface-2: #f8f7ff;
    --aj-text:      #1e1b2e;
    --aj-text-2:    #4b4660;
    --aj-muted:     #867f9c;
    --aj-primary:   #7c69ef;
    --aj-primary-2: #a79bff;
    --aj-ok:        #20a36a;
    --aj-warn:      #f59e0b;
    --aj-bad:       #e5484d;
    --aj-info:      #3b82f6;
    --aj-line:      #e9e9f0;
    --aj-wash:      rgba(124, 105, 239, 0.07);
    --aj-shadow:    0 1px 2px rgba(30, 27, 46, 0.04), 0 14px 30px -18px rgba(124, 105, 239, 0.30);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 4px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    color: var(--aj-text);
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

:root[data-theme="dark"] .aj-wrap,
body.dark-mode .aj-wrap {
    --aj-bg:        #14111f;
    --aj-surface:   #1c182b;
    --aj-surface-2: #241f38;
    --aj-text:      #f3f1fb;
    --aj-text-2:    #cfc9e6;
    --aj-muted:     #9d97b6;
    --aj-primary:   #9b8cff;
    --aj-primary-2: #c1b8ff;
    --aj-ok:        #43c796;
    --aj-warn:      #f5b24d;
    --aj-bad:       #ff7a80;
    --aj-info:      #6aa3ff;
    --aj-line:      rgba(167, 155, 255, 0.16);
    --aj-wash:      rgba(167, 155, 255, 0.09);
    --aj-shadow:    0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 30px -18px rgba(0, 0, 0, 0.6);
}

.aj-wrap *,
.aj-wrap *::before,
.aj-wrap *::after {
    box-sizing: border-box;
}

.aj-wrap .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

.aj-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--aj-line);
}

.aj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--aj-primary);
}

.aj-eyebrow .material-symbols-outlined {
    font-size: 17px;
}

.aj-hero p {
    margin: 0;
    max-width: 680px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--aj-muted);
}

.aj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    font: 600 13px 'Inter', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}

.aj-btn--ghost {
    color: var(--aj-primary);
    background: var(--aj-surface);
    border: 1px solid var(--aj-line);
}

.aj-btn--ghost:hover {
    background: var(--aj-wash);
    border-color: var(--aj-primary);
}

.aj-btn--solid {
    color: #fff;
    background: var(--aj-primary);
    border: 1px solid var(--aj-primary);
}

.aj-btn--solid:hover {
    box-shadow: 0 8px 20px -8px var(--aj-primary);
    transform: translateY(-1px);
}

.aj-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.aj-sec {
    grid-column: span 6;
    min-width: 0;
}

.aj-sec--full {
    grid-column: span 12;
}

.aj-card-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--aj-line);
    border-radius: 18px;
    background: var(--aj-surface);
    box-shadow: var(--aj-shadow);
    overflow: hidden;
}

.aj-sec-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: var(--aj-surface-2);
    border-bottom: 1px solid var(--aj-line);
}

.aj-ico {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--aj-primary);
    background: var(--aj-wash);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--aj-primary) 18%, transparent);
}

.aj-sec-head h2 {
    margin: 0 0 2px;
    font: 700 15.5px 'Inter', sans-serif;
    letter-spacing: -0.01em;
    color: var(--aj-text);
}

.aj-sec-head p {
    margin: 0;
    font-size: 12.5px;
    color: var(--aj-muted);
}

.aj-body {
    padding: 8px 22px 18px;
    flex: 1;
}

.aj-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 24px;
    border: 1px solid var(--aj-line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--aj-primary) 16%, transparent), transparent 55%),
        var(--aj-surface);
    box-shadow: var(--aj-shadow);
}

.aj-avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    font: 700 24px 'Inter', sans-serif;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(135deg, var(--aj-primary), var(--aj-primary-2));
    box-shadow: 0 12px 24px -12px var(--aj-primary);
}

.aj-profile-info {
    min-width: 0;
    flex: 1;
}

.aj-profile-info h2 {
    margin: 0 0 6px;
    font: 700 20px 'Inter', sans-serif;
    letter-spacing: -0.01em;
    color: var(--aj-text);
}

.aj-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
}

.aj-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--aj-text-2);
    background: var(--aj-surface-2);
    border: 1px solid var(--aj-line);
}

.aj-chip .material-symbols-outlined {
    font-size: 15px;
    color: var(--aj-primary);
}

.aj-data {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.aj-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--aj-line);
}

.aj-row:last-child {
    border-bottom: 0;
}

.aj-row dt {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--aj-muted);
}

.aj-row dt .material-symbols-outlined {
    font-size: 18px;
    color: color-mix(in srgb, var(--aj-primary) 70%, var(--aj-muted));
}

.aj-row dd {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--aj-text);
    text-align: right;
    word-break: break-word;
}

.aj-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--aj-primary);
    background: var(--aj-wash);
    text-transform: capitalize;
}

.aj-badge--ok {
    color: var(--aj-ok);
    background: color-mix(in srgb, var(--aj-ok) 13%, transparent);
}

.aj-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 22px;
}

.aj-action h3 {
    margin: 0 0 3px;
    font: 600 14px 'Inter', sans-serif;
    color: var(--aj-text);
}

.aj-action p {
    margin: 0;
    max-width: 460px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--aj-muted);
}

html {
    scroll-behavior: smooth;
}

.aj-wrap section[id] {
    scroll-margin-top: 20px;
}

@media (max-width: 1000px) {
    .aj-sec {
        grid-column: span 12;
    }
}

@media (max-width: 640px) {
    .aj-wrap {
        gap: 20px;
    }

    .aj-sec-head,
.aj-action {
        padding-left: 16px;
        padding-right: 16px;
    }

    .aj-body {
        padding: 6px 16px 14px;
    }

    .aj-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .aj-row dd {
        text-align: left;
    }

    .aj-action .aj-btn {
        width: 100%;
    }
}

html.pg-calendario #vista-empleado .cal-page,
html.pg-calendario #vista-empleado .cal-main,
html.pg-calendario #vista-empleado .week-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    html.pg-calendario #vista-empleado .cal-page .cal-header {
        flex-wrap: wrap;
    }

    html.pg-calendario #vista-empleado .cal-page .dashboard-row {
        grid-template-columns: 1fr 1fr !important;
    }

    html.pg-calendario #vista-empleado .cal-page .dashboard-row .dash-card:nth-child(3) {
        grid-column: 1 / -1;
    }

    html.pg-calendario #vista-empleado .cal-page .dash-card {
        height: auto !important;
        min-height: 120px;
    }

    html.pg-calendario #vista-empleado .cal-page .avisos-card {
        max-height: none;
    }
}

@media (max-width: 760px) {
    html.pg-calendario #vista-empleado .layout .content.cal-page {
        padding: 70px 12px 28px !important;
        gap: 12px;
    }

    html.pg-calendario #vista-empleado .cal-page .cal-header {
        padding-right: 0 !important;
        margin-bottom: 0;
    }

    html.pg-calendario #vista-empleado .cal-page .cal-toolbar {
        padding: 10px 12px;
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    html.pg-calendario #vista-empleado .cal-tb-left {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        width: 100%;
    }

    html.pg-calendario #vista-empleado .nvh-range {
        flex: 1;
        min-width: 0;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html.pg-calendario #vista-empleado .cal-page .cal-header-actions {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: center;
    }

    html.pg-calendario #vista-empleado .nvh-seg {
        flex: 0 0 auto;
    }

    html.pg-calendario #vista-empleado .cal-page .btn-nuevo-evento {
        flex: 1 1 auto;
        min-width: 0;
        padding: 10px 12px !important;
        white-space: nowrap;
    }

    html.pg-calendario #vista-empleado .cal-page .week-card {
        padding: 6px;
        height: auto !important;
        min-height: 0;
    }

    html.pg-calendario #vista-empleado .cal-page .week-card .week-grid {
        grid-template-columns: 42px repeat(7, minmax(92px, 1fr));
        overflow-x: auto !important;
        overflow-y: auto;
        height: 68vh !important;
        min-height: 420px;
        max-height: 640px !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    html.pg-calendario #vista-empleado .week-grid-corner {
        left: 0;
        z-index: 8;
    }

    html.pg-calendario #vista-empleado .week-time-col {
        position: sticky;
        left: 0;
        z-index: 4;
    }

    html.pg-calendario #vista-empleado .week-hour-label {
        font-size: .58rem;
        padding-right: 4px;
    }

    html.pg-calendario #vista-empleado .week-day-header {
        padding: 7px 2px;
    }

    html.pg-calendario #vista-empleado .week-day-header .wdh-name {
        font-size: .56rem;
        letter-spacing: .04em;
    }

    html.pg-calendario #vista-empleado .cal-page .nvb {
        padding: 5px 6px;
        font-size: 11px;
        border-radius: 8px;
    }

    html.pg-calendario #vista-empleado .nvb-title {
        font-size: 11.5px;
        overflow-wrap: anywhere;
    }

    html.pg-calendario #vista-empleado .nvb-sub,
html.pg-calendario #vista-empleado .nvb-meta {
        font-size: 10px;
    }

    html.pg-calendario #vista-empleado .cal-page .nvb--evento {
        left: 8px;
    }

    html.pg-calendario #vista-empleado .cal-page .dashboard-row {
        grid-template-columns: 1fr !important;
    }

    html.pg-calendario #vista-empleado .cal-page .dashboard-row .dash-card:nth-child(3) {
        grid-column: auto;
    }

    html.pg-calendario #vista-empleado .cal-page .team-list li {
        flex-wrap: wrap;
    }

    html.pg-calendario #vista-empleado .cal-page .aviso-msg {
        white-space: normal;
    }

    html.pg-calendario #vista-empleado .nv-minical.nv-minical--popover {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%);
        width: min(92vw, 340px);
        max-height: 88vh;
        overflow-y: auto;
        z-index: 100001;
    }

    html.pg-calendario #vista-empleado .nvm-overlay {
        padding: 8px;
        align-items: flex-end;
    }

    html.pg-calendario #vista-empleado .nvm-box {
        max-width: 100%;
        max-height: 92vh;
        padding: 18px 14px 16px;
        border-radius: 18px 18px 12px 12px;
    }

    html.pg-calendario #vista-empleado .nvm-pills,
html.pg-calendario #vista-empleado .nvm-times,
html.pg-calendario #vista-empleado .nvm-opts {
        flex-wrap: wrap;
        gap: 8px;
    }

    html.pg-calendario #vista-empleado .nvm-when,
html.pg-calendario #vista-empleado .nvm-grow {
        min-width: 0;
        flex: 1 1 0;
    }

    html.pg-calendario #vista-empleado .nvm-actions {
        flex-wrap: wrap;
    }

    html.pg-calendario #vista-empleado .nvm-actions .nvm-spacer {
        display: none;
    }

    html.pg-calendario #vista-empleado .nvm-actions .nvm-btn {
        flex: 1 1 calc(50% - 10px);
        padding: 12px 10px;
    }

    html.pg-calendario #vista-empleado .nvm-box input,
html.pg-calendario #vista-empleado .nvm-box textarea,
html.pg-calendario #vista-empleado .nvm-box select {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    html.pg-calendario #vista-empleado .cal-page .cal-header-actions {
        flex-wrap: wrap;
    }

    html.pg-calendario #vista-empleado .cal-page .btn-nuevo-evento {
        flex: 1 1 100%;
        order: 3;
    }

    html.pg-calendario #vista-empleado .cal-page .week-card .week-grid {
        grid-template-columns: 38px repeat(7, minmax(86px, 1fr));
    }
}

.rp-wrap {
    --rp-surface:   #ffffff;
    --rp-surface-2: #f8f7ff;
    --rp-border:    rgba(124, 105, 239, 0.15);
    --rp-text:      #1e1b2e;
    --rp-text-2:    #4b4660;
    --rp-muted:     #867f9c;
    --rp-primary:   #7c69ef;
    --rp-primary-2: #a79bff;
    --rp-ok:        #20a36a;
    --rp-warn:      #f59e0b;
    --rp-bad:       #e5484d;
    --rp-info:      #3b82f6;
    --rp-grid:      rgba(124, 105, 239, 0.10);
    --rp-cell-0:    rgba(124, 105, 239, 0.07);
    --rp-shadow:    0 1px 2px rgba(30, 27, 46, 0.04), 0 14px 34px -16px rgba(124, 105, 239, 0.28);
    --rp-bg:        #ffffff;
    --rp-line:      #e9e9f0;
    --rp-wash:      rgba(124, 105, 239, 0.055);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--rp-text);
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

:root[data-theme="dark"] .rp-wrap,
body.dark-mode .rp-wrap {
    --rp-surface:   #1c182b;
    --rp-surface-2: #241f38;
    --rp-border:    rgba(167, 155, 255, 0.16);
    --rp-text:      #f3f1fb;
    --rp-text-2:    #cfc9e6;
    --rp-muted:     #9d97b6;
    --rp-primary:   #9b8cff;
    --rp-primary-2: #c1b8ff;
    --rp-ok:        #43c796;
    --rp-warn:      #f5b24d;
    --rp-bad:       #ff7a80;
    --rp-info:      #6aa3ff;
    --rp-grid:      rgba(255, 255, 255, 0.07);
    --rp-cell-0:    rgba(255, 255, 255, 0.05);
    --rp-shadow:    0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 34px -16px rgba(0, 0, 0, 0.6);
    --rp-bg:        #14111f;
    --rp-line:      rgba(167, 155, 255, 0.16);
    --rp-wash:      rgba(167, 155, 255, 0.07);
}

.rp-wrap *,
.rp-wrap *::before,
.rp-wrap *::after {
    box-sizing: border-box;
}

.rp-wrap .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

.rp-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--rp-line);
}

.rp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rp-primary);
}

.rp-eyebrow .material-symbols-outlined {
    font-size: 17px;
}

.rp-hero p {
    margin: 0;
    font-size: 13px;
    color: var(--rp-muted);
}

.rp-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.rp-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    background: transparent;
    color: var(--rp-primary);
}

.rp-select select {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--rp-text);
    font: 600 14px 'Inter', sans-serif;
    cursor: pointer;
}

.rp-select select option {
    color: #1e1b2e;
}

.rp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    font: 600 13px 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

.rp-btn--ghost {
    color: var(--rp-primary);
    background: transparent;
    border: 1px solid var(--rp-line);
}

.rp-btn--ghost:hover {
    background: var(--rp-wash);
}

.rp-btn--solid {
    color: #fff;
    background: linear-gradient(135deg, #7c69ef, #6652df);
    border: 1px solid transparent;
    box-shadow: 0 8px 18px -8px rgba(102, 82, 223, 0.7);
}

.rp-btn--solid:hover {
    box-shadow: 0 10px 22px -8px rgba(102, 82, 223, 0.85);
}

.rp-kpis {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 28px;
}

.rp-kpi {
    --rp-tone: var(--rp-primary);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 2px 22px 0;
    border-left: 1px solid var(--rp-line);
}

.rp-kpi:first-child {
    padding-left: 0;
    border-left: 0;
}

.rp-kpi--bad {
    --rp-tone: var(--rp-bad);
}

.rp-kpi--warn {
    --rp-tone: var(--rp-warn);
}

.rp-kpi--primary {
    --rp-tone: var(--rp-primary);
}

.rp-kpi--info {
    --rp-tone: var(--rp-info);
}

.rp-kpi--ok {
    --rp-tone: var(--rp-ok);
}

.rp-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.rp-kpi-ico {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--rp-tone);
    background: color-mix(in srgb, var(--rp-tone) 14%, transparent);
}

.rp-kpi-ico .material-symbols-outlined {
    font-size: 18px;
}

.rp-kpi-delta {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.rp-kpi-delta:empty {
    display: none;
}

.rp-kpi-delta.is-up {
    color: var(--rp-bad);
    background: color-mix(in srgb, var(--rp-bad) 13%, transparent);
}

.rp-kpi-delta.is-down {
    color: var(--rp-ok);
    background: color-mix(in srgb, var(--rp-ok) 13%, transparent);
}

.rp-kpi-delta.is-flat {
    color: var(--rp-muted);
    background: var(--rp-cell-0);
}

.rp-kpi-delta.is-neutral {
    color: var(--rp-primary);
    background: color-mix(in srgb, var(--rp-primary) 13%, transparent);
}

.rp-kpi-value {
    font: 700 clamp(24px, 2vw, 30px)/1.1 'Inter', sans-serif;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--rp-text);
}

.rp-kpi-label {
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--rp-text-2);
}

.rp-kpi-note {
    font-size: 12px;
    color: var(--rp-muted);
}

.rp-kpi-spark {
    margin-top: auto;
    padding-top: 10px;
    height: 38px;
    display: block;
}

.rp-kpi-spark svg {
    width: 100%;
    height: 26px;
    display: block;
    overflow: visible;
}

.rp-insights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px;
    border-radius: 20px;
    background: var(--rp-wash);
}

.rp-insights:empty {
    display: none;
}

.rp-insight {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 16px;
    border-left: 1px solid var(--rp-line);
}

.rp-insight:first-child {
    border-left: 0;
}

.rp-insight-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #7c69ef, #a79bff);
}

.rp-insight small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--rp-muted);
}

.rp-insight b {
    display: block;
    font-size: 14px;
    color: var(--rp-text);
    line-height: 1.3;
}

.rp-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 40px;
}

.rp-span-4 {
    grid-column: span 4;
}

.rp-span-6 {
    grid-column: span 6;
}

.rp-span-8 {
    grid-column: span 8;
}

.rp-span-12 {
    grid-column: span 12;
}

.rp-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--rp-line);
}

.rp-panel-head {
    margin-bottom: 16px;
}

.rp-panel-head h3 {
    margin: 0 0 3px;
    font: 600 15px 'Inter', sans-serif;
    letter-spacing: -0.01em;
    color: var(--rp-text);
}

.rp-panel-head span {
    font-size: 12px;
    color: var(--rp-muted);
}

.rp-panel[data-panel="tendencia"] {
    padding: 22px 26px 18px;
    border-top: 0;
    border-radius: 24px;
    background: var(--rp-wash);
}

.rp-box {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

.rp-box--norm {
    height: 290px;
    min-height: 290px;
    flex: 0 0 auto;
}

.rp-box--tall {
    height: 340px;
    min-height: 340px;
    flex: 0 0 auto;
}

.rp-box--auto {
    height: auto;
    min-height: 150px;
}

.rp-box canvas {
    position: absolute;
    inset: 0;
}

.rp-empty {
    display: none;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 150px;
    text-align: center;
    font-size: 13px;
    color: var(--rp-muted);
}

.rp-empty .material-symbols-outlined {
    font-size: 34px;
    opacity: .5;
}

.rp-panel.is-empty .rp-box {
    display: none;
}

.rp-panel.is-empty .rp-empty {
    display: flex;
}

.rp-rank {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.rp-rank li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 10px;
}

.rp-rank-pos {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    color: var(--rp-primary);
    background: color-mix(in srgb, var(--rp-primary) 14%, transparent);
}

.rp-rank li:nth-child(1) .rp-rank-pos {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #e5484d);
}

.rp-rank-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--rp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rp-rank-val {
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--rp-text);
}

.rp-rank-bar {
    grid-column: 2 / 4;
    height: 7px;
    border-radius: 99px;
    background: var(--rp-cell-0);
    overflow: hidden;
}

.rp-rank-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c69ef, #a79bff);
}

.rp-rank-more {
    margin-top: 12px;
    font-size: 12px;
    color: var(--rp-muted);
}

.rp-cal {
    overflow-x: auto;
    padding-bottom: 4px;
}

.rp-cal-inner {
    min-width: 680px;
}

.rp-cal-months {
    display: grid;
    margin-left: 30px;
    margin-bottom: 6px;
    font-size: 11px;
    color: var(--rp-muted);
}

.rp-cal-body {
    display: flex;
    gap: 8px;
}

.rp-cal-days {
    display: grid;
    grid-template-rows: repeat(7, clamp(12px, 1.05vw, 22px));
    align-content: start;
    gap: 4px;
    width: 22px;
    font-size: 10px;
    color: var(--rp-muted);
}

.rp-cal-days span {
    display: flex;
    align-items: center;
}

.rp-cal-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-rows: repeat(7, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px;
}

.rp-cal-cell {
    height: clamp(12px, 1.05vw, 22px);
    min-width: 0;
    border-radius: 4px;
    background: var(--rp-cell-0);
    transition: transform .12s ease;
}

.rp-cal-cell.is-out {
    visibility: hidden;
}

.rp-cal-cell:not(.is-out):hover {
    transform: scale(1.35);
    outline: 2px solid var(--rp-primary);
    z-index: 2;
}

.rp-l1 {
    background: color-mix(in srgb, var(--rp-primary) 28%, transparent);
}

.rp-l2 {
    background: color-mix(in srgb, var(--rp-primary) 52%, transparent);
}

.rp-l3 {
    background: color-mix(in srgb, var(--rp-primary) 76%, transparent);
}

.rp-l4 {
    background: var(--rp-primary);
}

.rp-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--rp-muted);
}

.rp-legend i {
    width: 13px;
    height: 13px;
    border-radius: 4px;
    background: var(--rp-cell-0);
}

.rp-scroll {
    overflow-x: auto;
}

.rp-mx {
    min-width: 520px;
    display: grid;
    grid-template-columns: 34px repeat(12, minmax(0, 1fr));
    gap: 5px;
    align-items: stretch;
}

.rp-mx-h,
.rp-mx-r {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--rp-muted);
}

.rp-mx-r {
    justify-content: flex-start;
}

.rp-mx-c {
    height: clamp(28px, 2.2vw, 40px);
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--rp-text-2);
    background: var(--rp-cell-0);
    transition: transform .12s ease;
}

.rp-mx-c:hover {
    transform: scale(1.12);
    outline: 2px solid var(--rp-primary);
    z-index: 2;
}

.rp-mx-c.rp-l1 {
    background: color-mix(in srgb, var(--rp-primary) 28%, transparent);
}

.rp-mx-c.rp-l2 {
    background: color-mix(in srgb, var(--rp-primary) 52%, transparent);
}

.rp-mx-c.rp-l3 {
    background: color-mix(in srgb, var(--rp-primary) 76%, transparent);
    color: #fff;
}

.rp-mx-c.rp-l4 {
    background: var(--rp-primary);
    color: #fff;
}

.rp-tip {
    position: fixed;
    z-index: 100000;
    pointer-events: none;
    opacity: 0;
    max-width: 240px;
    padding: 8px 12px;
    border-radius: 10px;
    font: 500 12px/1.4 'Inter', sans-serif;
    color: #fff;
    background: #211d32;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
    transition: opacity .1s ease;
}

.rp-tip.is-on {
    opacity: 1;
}

@media (min-width: 2200px) {
    .rp-box--norm {
        height: 340px;
        min-height: 340px;
    }

    .rp-box--tall {
        height: 400px;
        min-height: 400px;
    }
}

@media (max-width: 1500px) {
    .rp-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rp-kpi:nth-child(3n+1) {
        padding-left: 0;
        border-left: 0;
    }

    .rp-insights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-insight:nth-child(2n+1) {
        border-left: 0;
    }

    .rp-insight:nth-child(n+3) {
        border-top: 1px solid var(--rp-line);
    }
}

@media (max-width: 1200px) {
    .rp-grid {
        column-gap: 32px;
    }

    .rp-span-8,
.rp-span-4 {
        grid-column: span 6;
    }

    .rp-span-6 {
        grid-column: span 12;
    }

    .rp-panel[data-panel="tendencia"] {
        grid-column: span 12;
    }
}

@media (max-width: 900px) {
    .rp-span-8,
.rp-span-4,
.rp-span-6 {
        grid-column: span 12;
    }

    .rp-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-kpi:nth-child(n) {
        padding-left: 18px;
        border-left: 1px solid var(--rp-line);
    }

    .rp-kpi:nth-child(2n+1) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .rp-wrap {
        padding-top: 64px;
        gap: 26px;
    }

    .rp-hero {
        padding-bottom: 18px;
    }

    .rp-actions {
        width: 100%;
    }

    .rp-actions .rp-btn,
.rp-actions .rp-select {
        flex: 1 1 auto;
        justify-content: center;
    }

    .rp-kpis {
        row-gap: 22px;
    }

    .rp-kpi-delta {
        font-size: 10px;
        padding: 2px 6px;
    }

    .rp-insights {
        grid-template-columns: 1fr;
    }

    .rp-insight:nth-child(n) {
        border-left: 0;
    }

    .rp-insight:nth-child(n+2) {
        border-top: 1px solid var(--rp-line);
    }

    .rp-grid {
        row-gap: 30px;
    }

    .rp-panel[data-panel="tendencia"] {
        padding: 18px 14px 14px;
        border-radius: 20px;
    }

    .rp-box--norm {
        height: 260px;
        min-height: 260px;
    }

    .rp-box--tall {
        height: 280px;
        min-height: 280px;
    }

    .rp-cal-inner {
        min-width: 620px;
    }
}

@media (max-width: 380px) {
    .rp-kpis {
        grid-template-columns: 1fr;
    }

    .rp-kpi:nth-child(n) {
        padding-left: 0;
        border-left: 0;
    }
}

.pg-reportes .rp-wrap {
    padding-top: 0;
}

#notiftb-root.ntb-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    z-index: 99999;
    width: 100%;
    height: 72px;
    margin: 0;
    padding: 0 40px;
    box-sizing: border-box;
    gap: 8px;
    pointer-events: auto;
    background: #ffffff;
    border-bottom: 1px solid #e9e9f0;
    box-shadow: none;
}

#notiftb-root.ntb-bar #notiftb-calendar-wrapper {
    width: auto;
    height: 40px;
}

#notiftb-root.ntb-bar #notiftb-calendar-btn {
    width: auto;
    height: 40px;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: var(--text-muted, #8b85a0);
    font: 500 12px 'Inter', sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

#notiftb-root.ntb-bar #notiftb-calendar-btn:hover {
    background: var(--primary-soft, rgba(124, 105, 239, 0.08));
}

#ntb-date-main {
    color: var(--text-dark, #1e1b2e);
    font-weight: 600;
}

#ntb-date-week::before {
    content: " | ";
    opacity: .6;
}

#notiftb-root.ntb-bar #notiftb-calendar-wrapper #notiftb-mini-calendar {
    left: 0;
    transform: none;
    top: 46px;
}

html.ntb-bar-on .sidebar-container.pr {
    z-index: 100000;
}

html.ntb-bar-on .toggle-button {
    position: fixed;
    top: 21px;
    left: var(--ntb-left, 40px);
    right: auto;
    z-index: 100001;
}

#notiftb-root.ntb-bar #notiftb-theme-btn {
    margin-left: auto;
}

#notiftb-root.ntb-bar .ntb-user {
    position: relative;
    margin-left: 6px;
    padding-left: 14px;
    border-left: 1px solid #e9e9f0;
}

#ntb-user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}

#ntb-user-btn:hover {
    background: var(--primary-soft, rgba(124, 105, 239, 0.08));
}

#ntb-user-btn[aria-expanded="true"] #notiftb-user-caret {
    transform: rotate(180deg);
}

#notiftb-user-caret {
    transition: transform .18s ease;
}

#ntb-user-menu {
    position: absolute;
    top: 52px;
    right: 0;
    width: 220px;
    padding: 8px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    background: var(--bg-card, #ffffff);
    box-shadow: 0 18px 40px -14px rgba(30, 27, 46, 0.35);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

#ntb-user-menu[hidden] {
    display: none;
}

#ntb-user-menu .ntb-menu-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

#ntb-user-menu .ntb-menu-head strong {
    font-size: 13px;
    color: var(--text-dark, #1e1b2e);
}

#ntb-user-menu .ntb-menu-head small {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted, #8b85a0);
}

#ntb-user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main, #2d3436);
    text-decoration: none;
}

#ntb-user-menu a:hover {
    background: var(--primary-soft, rgba(124, 105, 239, 0.08));
    color: var(--primary, #7c69ef);
}

#ntb-user-menu a.is-danger {
    color: #e5484d;
}

#ntb-user-menu a.is-danger:hover {
    background: rgba(229, 72, 77, 0.1);
    color: #e5484d;
}

[data-theme="dark"] #notiftb-root.ntb-bar,
body.dark-mode #notiftb-root.ntb-bar {
    background: #1e1b2e;
    border-bottom-color: rgba(167, 155, 255, 0.16);
}

[data-theme="dark"] #notiftb-root.ntb-bar .ntb-user,
body.dark-mode #notiftb-root.ntb-bar .ntb-user {
    border-left-color: rgba(167, 155, 255, 0.16);
}

[data-theme="dark"] #ntb-user-menu,
body.dark-mode #ntb-user-menu {
    background: #241f38;
    border-color: rgba(167, 155, 255, 0.18);
}

[data-theme="dark"] #ntb-date-main,
[data-theme="dark"] #ntb-user-menu .ntb-menu-head strong,
body.dark-mode #ntb-date-main,
body.dark-mode #ntb-user-menu .ntb-menu-head strong {
    color: #f3f1fb;
}

[data-theme="dark"] #ntb-user-menu a,
body.dark-mode #ntb-user-menu a {
    color: #cfc9e6;
}

@media (max-width: 900px) {
    html.ntb-bar-on .mobile-sidebar-button {
        top: 7px;
        left: 10px;
        z-index: 100001;
        box-shadow: none;
    }
}

@media (max-width: 640px) {
    #notiftb-root.ntb-bar {
        height: 60px;
        gap: 4px;
    }

    #ntb-date-week {
        display: none;
    }

    #notiftb-root.ntb-bar .ntb-user {
        margin-left: 2px;
        padding-left: 6px;
    }

    #notiftb-root.ntb-bar #notiftb-user-name {
        max-width: 64px;
    }
}

html.ntb-bar-on body,
html.ntb-bar-on .layout,
html.ntb-bar-on .content {
    background: #ffffff;
}

html.ntb-bar-on .sidebar {
    box-shadow: none;
}

html.ntb-bar-on .content {
    margin-top: var(--ntb-h, 72px) !important;
    height: calc(100vh - var(--ntb-h, 72px)) !important;
    min-height: 0 !important;
    padding-top: 18px !important;
    overflow-y: auto !important;
    box-sizing: border-box;
}

html[data-theme="dark"].ntb-bar-on body,
html[data-theme="dark"].ntb-bar-on .layout,
html[data-theme="dark"].ntb-bar-on .content,
html.ntb-bar-on body.dark-mode,
html.ntb-bar-on body.dark-mode .layout,
html.ntb-bar-on body.dark-mode .content {
    background: #14111f;
}

@media (min-width: 901px) {
    html.ntb-bar-on {
        --ntb-left: 300px;
    }

    html.ntb-bar-on #notiftb-root.ntb-bar {
        left: 260px;
        width: calc(100% - 260px);
        padding-left: 84px;
    }

    html.sb-c.ntb-bar-on {
        --ntb-left: 118px;
    }

    html.sb-c.ntb-bar-on #notiftb-root.ntb-bar {
        left: 78px;
        width: calc(100% - 78px);
    }

    html.sb-c .sidebar {
        width: 78px;
    }

    html.sb-c .sidebar .nav-text,
html.sb-c .sidebar .section-title,
html.sb-c .sidebar .logo-text {
        display: none;
    }
}

:root.pg-lider-legacy {
    --empleado-primary: #7c69ef;
    --empleado-primary-dark: #6652df;
    --empleado-primary-light: #eeeaff;
    --empleado-bg: #f7f6fc;
    --empleado-surface: #ffffff;
    --empleado-surface-soft: #fbfaff;
    --empleado-text: #211d32;
    --empleado-text-secondary: #514c61;
    --empleado-text-muted: #89839a;
    --empleado-border: #e8e4f1;
    --empleado-success: #20a36a;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --empleado-shadow-sm: 0 4px 14px rgba(42, 31, 84, 0.05);
    --empleado-shadow: 0 12px 35px rgba(42, 31, 84, 0.08);
    --empleado-shadow-hover: 0 18px 40px rgba(72, 53, 150, 0.13);
    --empleado-radius-sm: 12px;
    --empleado-radius: 18px;
    --empleado-radius-lg: 26px;
    --empleado-font: 'Inter', sans-serif;
    --empleado-display: 'Syne', sans-serif;
}

:where(.pg-lider-legacy) body[data-theme="dark"] {
    --empleado-primary: #9b8cff;
    --empleado-primary-dark: #7c69ef;
    --empleado-primary-light: rgba(155, 140, 255, 0.12);
    --empleado-bg: #14111f;
    --empleado-surface: #1c182b;
    --empleado-surface-soft: #242036;
    --empleado-text: #f3f1fb;
    --empleado-text-secondary: #b8b2cd;
    --empleado-text-muted: #89839a;
    --empleado-border: #2e2845;
    --empleado-success: #2ecc71;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --empleado-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.2);
    --empleado-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    --empleado-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.5);
}

:where(html.pg-lider-legacy) * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html.pg-lider-legacy,
:where(.pg-lider-legacy) body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

html.pg-lider-legacy {
    scroll-behavior: smooth;
}

:where(.pg-lider-legacy) body {
    min-height: 100vh;
    background: var(--empleado-bg);
    color: var(--empleado-text);
    font-family: var(--empleado-font);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

:where(html.pg-lider-legacy) .layout,
:where(html.pg-lider-legacy) .layouts {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: 
        radial-gradient(circle at 85% 10%, rgba(124, 105, 239, 0.08), transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(124, 105, 239, 0.045), transparent 30%),
        var(--empleado-bg);
}

:where(html.pg-lider-legacy) .content {
    position: relative;
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100vh;
    min-height: 0;
    padding: 46px clamp(28px, 4vw, 68px) 60px;
    overflow-y: auto;
    overflow-x: hidden;
}

:where(html.pg-lider-legacy) .content::-webkit-scrollbar {
    width: 8px;
}

:where(html.pg-lider-legacy) .content::-webkit-scrollbar-track {
    background: transparent;
}

:where(html.pg-lider-legacy) .content::-webkit-scrollbar-thumb {
    background: rgba(124, 105, 239, 0.28);
    border-radius: 999px;
}

:where(html.pg-lider-legacy) .content::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 105, 239, 0.45);
}

:where(html.pg-lider-legacy) .content {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 105, 239, 0.28) transparent;
}

:where(html.pg-lider-legacy) .content > p {
    color: var(--empleado-text-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

:where(html.pg-lider-legacy) .form-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 42px 42px;
    background: var(--empleado-surface);
    border: 1px solid rgba(124, 105, 239, 0.15);
    border-radius: var(--empleado-radius-lg);
    box-shadow: var(--empleado-shadow);
}

:where(html.pg-lider-legacy) .form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--empleado-primary), #9b8cff, #c1b8ff);
    border-top-left-radius: var(--empleado-radius-lg);
    border-top-right-radius: var(--empleado-radius-lg);
}

:where(html.pg-lider-legacy) .form-container header {
    margin-top: 10px;
    margin-bottom: 28px;
}

:where(html.pg-lider-legacy) .form-container header p {
    color: var(--empleado-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

:where(html.pg-lider-legacy) .empleados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

:where(html.pg-lider-legacy) .estado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    flex-shrink: 0;
}

:where(html.pg-lider-legacy) .form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--empleado-border);
}

:where(html.pg-lider-legacy) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--empleado-font);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--empleado-radius-sm);
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

:where(html.pg-lider-legacy) .btn-primary {
    background: var(--empleado-primary);
    color: #ffffff;
    box-shadow: var(--empleado-shadow-sm);
}

:where(html.pg-lider-legacy) .btn-primary:hover {
    background: var(--empleado-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--empleado-shadow-hover);
}

:where(html.pg-lider-legacy) ::selection {
    background: rgba(124, 105, 239, 0.20);
    color: var(--empleado-text);
}

@media (max-width: 1150px) {
    :where(html.pg-lider-legacy) .content {
        padding: 38px 34px 50px;
    }
}

@media (max-width: 900px) {
    :where(html.pg-lider-legacy) .sidebar,
:where(html.pg-lider-legacy) .layouts .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 285px !important;
        min-width: 285px !important;
        max-width: 285px !important;
        height: 100vh !important;
        z-index: 10000 !important;
        padding: 1.4rem 0.85rem !important;
        background: var(--empleado-surface) !important;
        transform: translateX(-110%) !important;
        transition: transform 0.3s ease-in-out !important;
        pointer-events: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-shadow: 8px 0 30px rgba(42, 31, 84, 0.12) !important;
    }

    html.pg-lider-legacy,
:where(.pg-lider-legacy) body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    :where(html.pg-lider-legacy) .layout,
:where(html.pg-lider-legacy) .layouts {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    :where(html.pg-lider-legacy) .content {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 75px 16px 40px !important;
    }

    :where(html.pg-lider-legacy) .content > *,
:where(html.pg-lider-legacy) .form-container {
        max-width: 100% !important;
        padding: 24px 18px !important;
        margin-left: 0;
        margin-right: 0;
    }

    :where(html.pg-lider-legacy) .empleados {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    :where(html.pg-lider-legacy) .form-actions {
        flex-direction: column-reverse;
        width: 100%;
        gap: 10px;
    }

    :where(html.pg-lider-legacy) .form-actions .btn,
:where(html.pg-lider-legacy) .form-actions button,
:where(html.pg-lider-legacy) .btn,
:where(html.pg-lider-legacy) .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 800px) {
    :where(html.pg-lider-legacy) .content {
        padding: 30px 24px 45px;
    }

    :where(html.pg-lider-legacy) .form-container {
        max-width: 100%;
    }

    :where(html.pg-lider-legacy) .form-container {
        padding: 38px 28px 28px;
        border-radius: 22px;
    }
}

@media (max-width: 600px) {
    :where(html.pg-lider-legacy) .form-container {
        margin-bottom: 22px;
        padding: 28px 16px 20px;
        border-radius: 20px;
    }
}

html.pg-lider-legacy[data-theme="dark"] {
    color-scheme: dark;
    --empleado-primary: #9b8cff;
    --empleado-primary-dark: #7c69ef;
    --empleado-primary-light: rgba(155, 140, 255, 0.12);
    --empleado-bg: #14111f;
    --empleado-surface: #1c182b;
    --empleado-surface-soft: #242036;
    --empleado-text: #f3f1fb;
    --empleado-text-secondary: #b8b2cd;
    --empleado-text-muted: #89839a;
    --empleado-border: #2e2845;
    --empleado-success: #2ecc71;
    --empleado-offline: #89839a;
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --empleado-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.2);
    --empleado-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    --empleado-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.5);
}

:where(.pg-lider-legacy) body[data-theme="dark"] {
    color-scheme: dark;
}

:where(html.pg-lider-legacy) .detalle-page {
    max-width: 900px;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-header {
    margin-bottom: 28px;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-card {
    overflow: hidden;
    border-radius: var(--empleado-radius);
    background: var(--empleado-surface-soft);
    border: 1px solid var(--empleado-border);
    box-shadow: var(--empleado-shadow-sm);
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    background:
        linear-gradient(135deg, var(--empleado-primary-light), transparent 70%);
    border-bottom: 1px solid var(--empleado-border);
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--empleado-primary), var(--empleado-primary-dark));
    color: #ffffff;
    font-family: var(--empleado-display);
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(124, 105, 239, 0.35);
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-nombre {
    flex: 1;
    min-width: 0;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-titulo {
    margin: 4px 0 0;
    font-family: var(--empleado-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--empleado-text);
    overflow-wrap: anywhere;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-sublabel {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--empleado-text-muted);
}

:where(html.pg-lider-legacy) .detalle-page .badge-rol {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--empleado-primary-light);
    color: var(--empleado-primary);
    border: 1px solid rgba(124, 105, 239, 0.25);
}

:where(html.pg-lider-legacy) .detalle-page .badge-estado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    background: rgba(32, 163, 106, 0.1);
    color: var(--empleado-success);
    border: 1px solid rgba(32, 163, 106, 0.2);
}

:where(html.pg-lider-legacy) .detalle-page .badge-estado::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 24px 28px 28px;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--empleado-radius-sm);
    background: var(--empleado-surface);
    border: 1px solid var(--empleado-border);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-item:hover {
    border-color: var(--empleado-primary);
    transform: translateY(-2px);
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-icono {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 20px;
    background: var(--empleado-primary-light);
    color: var(--empleado-primary);
}

:where(html.pg-lider-legacy) .detalle-page .detalle-empleado-item p {
    margin: 3px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--empleado-text);
    overflow-wrap: anywhere;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-acciones {
    display: flex;
    justify-content: flex-start;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--empleado-border);
}

:where(html.pg-lider-legacy) .detalle-page .detalle-acciones .btn,
:where(html.pg-lider-legacy) .detalle-page .detalle-vacio .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-acciones .btn .material-symbols-rounded,
:where(html.pg-lider-legacy) .detalle-page .detalle-vacio .btn .material-symbols-rounded {
    font-size: 18px;
}

:where(html.pg-lider-legacy) .detalle-page .detalle-vacio {
    padding: 48px 40px;
    text-align: center;
    border-radius: var(--empleado-radius-sm);
    background: var(--empleado-surface-soft);
    border: 1px dashed var(--empleado-border);
    color: var(--empleado-text-muted);
}

:where(html.pg-lider-legacy) .detalle-page .detalle-vacio > .material-symbols-rounded {
    display: block;
    margin-bottom: 10px;
    font-size: 44px;
    color: var(--empleado-primary);
}

:where(html.pg-lider-legacy) .detalle-page .detalle-vacio p {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 700px) {
    :where(html.pg-lider-legacy) .detalle-page .detalle-empleado-header {
        flex-wrap: wrap;
        padding: 22px;
    }

    :where(html.pg-lider-legacy) .detalle-page .detalle-empleado-grid {
        grid-template-columns: 1fr;
        padding: 18px 22px 22px;
    }
}

@media (min-width: 901px) {
    html.pg-lider-legacy .content:not(.cal-page):not(:has(> .ct-page)) {
        padding-top: 28px;
        padding-bottom: 48px;
        padding-left: clamp(18px, 2.4vw, 40px);
        padding-right: clamp(18px, 2.4vw, 40px);
    }

    html.pg-lider-legacy .form-container {
        max-width: 1240px;
    }

    html.pg-lider-legacy .detalle-page {
        max-width: 1200px;
    }
}