﻿/* ===========================================================
   QROMA CIHS 2026-2028 | CAPA VISUAL 01
   Se carga DESPUES de site.css. No cambia lógica electoral.
   Paleta: #005CBD | #00C13A | #FFFFFF + neutros legibles.
   =========================================================== */
:root {
    --qroma-blue: #005CBD;
    --qroma-dark-blue: #003D7A;
    --qroma-fuchsia: #005CBD; /* Compatibilidad con estilos anteriores */
    --qroma-orange: #005CBD; /* Evita incorporar un nuevo color de marca */
    --qroma-green: #00C13A;
    --qroma-green-dark: #176A36;
    --qroma-background: #F5F8FC;
    --qroma-text: #18324A;
    --qroma-border: #DDE7F0;
    --qroma-muted: #52677B;
}

html {
    font-size: 16px;
}

body.qroma-page {
    color: var(--qroma-text);
    background: var(--qroma-background);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Salto accesible al contenido con teclado. */
.qroma-skip-link {
    position: absolute;
    z-index: 10000;
    top: -80px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--qroma-dark-blue);
    color: #FFFFFF;
    font-weight: 700;
}

    .qroma-skip-link:focus {
        top: 12px;
        color: #FFFFFF;
    }

/* ENCABEZADO COMPARTIDO */
.qroma-header {
    background: #FFFFFF;
    color: var(--qroma-text);
    border-top: 4px solid var(--qroma-green);
    border-bottom: 1px solid var(--qroma-border);
    box-shadow: 0 3px 18px rgba(0, 61, 122, 0.045);
}

.qroma-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 13px;
    padding-bottom: 13px;
}

.qroma-header-identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 20px;
}

.qroma-brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 160px;
    min-height: 60px;
    padding-right: 18px;
    border-right: 1px solid var(--qroma-border);
}

.qroma-brand-logo {
    display: block;
    width: 152px;
    height: 56px;
    object-fit: contain;
}

.qroma-header-copy {
    min-width: 0;
}

.qroma-header-kicker {
    color: var(--qroma-blue);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 4px;
}

.qroma-header-title {
    color: var(--qroma-dark-blue);
    font-size: clamp(1rem, 1.7vw, 1.17rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 4px;
}

.qroma-header-subtitle {
    color: var(--qroma-muted);
    font-size: 0.77rem;
    line-height: 1.4;
    margin: 0;
    max-width: 450px;
}

.qroma-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.qroma-environment {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    background: #EDF8F0;
    color: var(--qroma-green-dark);
    border: 1px solid #BDE7C8;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.025em;
}

.qroma-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

    .qroma-nav a {
        color: var(--qroma-dark-blue);
        border-radius: 9px;
        padding: 10px 11px;
        text-decoration: none;
        font-size: 0.82rem;
        font-weight: 700;
    }

        .qroma-nav a:hover, .qroma-nav a:focus-visible {
            background: #ECF4FF;
            color: var(--qroma-blue);
        }

/* CONTENEDOR Y PIE COMPARTIDO */
.qroma-main {
    flex: 1;
    padding-top: 44px;
    padding-bottom: 64px;
}

.qroma-footer {
    border-top: 1px solid var(--qroma-border);
    background: #FFFFFF;
    color: var(--qroma-muted);
    font-size: 0.75rem;
    padding: 20px 0;
}

.qroma-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
}

/* PANTALLA DE ACCESO — GRID RESPONSIVE */
.qroma-access-shell {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
    gap: 24px;
}

.qroma-access-intro {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 525px;
    padding: clamp(30px, 4.4vw, 55px);
    overflow: hidden;
    border-radius: 23px;
    color: #FFFFFF;
    background: linear-gradient(142deg, #005CBD 0%, #004888 63%, #003D7A 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 16px 36px rgba(0, 60, 122, 0.12);
}

    .qroma-access-intro::after {
        content: "";
        position: absolute;
        z-index: -1;
        width: 350px;
        height: 350px;
        right: -160px;
        top: -170px;
        border-radius: 50%;
        border: 55px solid rgba(0, 193, 58, 0.23);
    }

.qroma-access-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #EAF5FF;
    font-size: 0.75rem;
    letter-spacing: 0.085em;
    font-weight: 800;
    margin: 0 0 20px;
}

.qroma-accent-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--qroma-green);
    flex: 0 0 auto;
}

.qroma-access-intro h2 {
    font-size: clamp(2rem, 3.4vw, 2.95rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    max-width: 490px;
    margin: 0 0 20px;
}

.qroma-access-lead {
    max-width: 440px;
    color: #E6F1FF;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.qroma-journey-heading {
    font-size: 0.84rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 18px;
}

.qroma-journey-list {
    list-style: none;
    display: grid;
    gap: 17px;
    padding: 0;
    margin: 0;
}

    .qroma-journey-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
    }

.qroma-journey-number {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 7px 8px;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.qroma-journey-list strong {
    display: block;
    font-size: 0.87rem;
    margin-bottom: 3px;
}

.qroma-journey-list li div span {
    display: block;
    color: #DAEBFF;
    font-size: 0.78rem;
    line-height: 1.45;
}

/* FORMULARIO DE ACCESO */
.qroma-access-card {
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
    padding: clamp(28px, 3.3vw, 42px);
    border: 1px solid var(--qroma-border);
    border-radius: 23px;
    background: #FFFFFF;
    box-shadow: 0 14px 34px rgba(16, 50, 83, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qroma-access-card-heading {
    margin-bottom: 28px;
}

.qroma-access-icon {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 17px;
    background: #ECF4FF;
    color: var(--qroma-blue);
}

.qroma-access-overline {
    color: var(--qroma-blue);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.105em;
    margin: 0 0 8px;
}

.qroma-access-card .qroma-form-title {
    color: var(--qroma-dark-blue);
    font-size: clamp(1.6rem, 2vw, 1.9rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.qroma-access-card .qroma-form-description {
    font-size: 0.91rem;
    line-height: 1.5;
    color: var(--qroma-muted);
    margin: 0;
}

.qroma-access-form {
    display: grid;
    gap: 17px;
}

.qroma-field {
    min-width: 0;
}

.qroma-access-card .qroma-label {
    display: block;
    color: #203C57;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 9px;
}

.qroma-access-card .qroma-input {
    width: 100%;
    min-height: 52px;
    border-radius: 11px;
    border: 1px solid #BCCDDC;
    background: #FFFFFF;
    color: var(--qroma-text);
    font-size: 1rem;
    padding: 12px 15px;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

    .qroma-access-card .qroma-input::placeholder {
        color: #6B7C8C;
        opacity: 1;
    }

    .qroma-access-card .qroma-input:focus {
        border-color: var(--qroma-blue);
        box-shadow: 0 0 0 4px rgba(0, 92, 189, 0.14);
    }

    .qroma-access-card .qroma-input.input-validation-error {
        border-color: #B42318;
    }

.qroma-access-card .field-validation-error {
    display: block;
    margin-top: 5px;
}

.qroma-access-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 54px;
    margin-top: 7px;
    border-radius: 11px;
    background: var(--qroma-blue);
    font-size: 0.95rem;
    box-shadow: 0 8px 19px rgba(0, 92, 189, 0.17);
    transition: background-color 130ms ease, transform 130ms ease;
}

    .qroma-access-submit:hover {
        background: var(--qroma-dark-blue);
        transform: translateY(-1px);
    }

    .qroma-access-submit:focus-visible {
        outline: 3px solid var(--qroma-blue);
        outline-offset: 3px;
    }

.qroma-access-assistance {
    border-top: 1px solid #E9EFF5;
    margin-top: 27px;
    padding-top: 19px;
    text-align: center;
    color: var(--qroma-muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

.qroma-form-alert {
    border-radius: 11px;
    border: 1px solid #F3D7D5;
    background: #FFF7F6;
    color: #8F2D28;
    padding: 13px 15px;
    margin-bottom: 18px;
    font-size: 0.86rem;
    line-height: 1.5;
}

/* COHERENCIA GLOBAL CON VISTAS PREEXISTENTES */
.qroma-button {
    background-color: var(--qroma-blue);
}

    .qroma-button:hover {
        background-color: var(--qroma-dark-blue);
    }

    .qroma-button:focus-visible, .qroma-outline-button:focus-visible {
        outline: 3px solid var(--qroma-blue);
        outline-offset: 3px;
    }

.qroma-step {
    background: #EAF4FF;
    color: var(--qroma-dark-blue);
}

.qroma-dashboard-header {
    background: var(--qroma-dark-blue);
}

.qroma-metric-value {
    color: var(--qroma-blue);
}

/* TABLETA */
@media (max-width: 991.98px) {
    .qroma-header-inner {
        flex-wrap: wrap;
    }

    .qroma-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .qroma-access-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 16px;
    }

    .qroma-access-intro {
        padding: 30px;
    }

    .qroma-access-card {
        padding: 28px;
    }
}

/* MÓVIL — acceso primero; información contextual después. */
@media (max-width: 767.98px) {
    .qroma-main {
        padding-top: 22px;
        padding-bottom: 40px;
    }

    .qroma-access-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .qroma-access-card {
        order: 0;
    }

    .qroma-access-intro {
        order: 1;
        min-height: 0;
        padding: 26px;
    }

        .qroma-access-intro h2 {
            font-size: 1.7rem;
        }

    .qroma-journey-list {
        gap: 11px;
    }

    .qroma-header-inner {
        gap: 12px;
    }

    .qroma-header-identity {
        gap: 12px;
    }

    .qroma-brand-mark {
        min-width: 117px;
        min-height: 50px;
        padding-right: 12px;
    }

    .qroma-brand-logo {
        width: 105px;
        height: 47px;
    }

    .qroma-header-kicker {
        font-size: 0.58rem;
    }

    .qroma-header-title {
        font-size: 0.98rem;
    }

    .qroma-header-subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .qroma-header-inner {
        flex-direction: row;
        text-align: left;
    }

    .qroma-header-identity {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .qroma-header-actions {
        width: 100%;
    }

    .qroma-access-card {
        padding: 23px 20px;
        border-radius: 16px;
    }

    .qroma-access-intro {
        border-radius: 16px;
    }

    .qroma-access-card-heading {
        margin-bottom: 23px;
    }

    .qroma-footer-inner {
        justify-content: center;
        text-align: center;
    }

    .qroma-header-subtitle {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qroma-access-submit, .qroma-access-card .qroma-input {
        transition: none;
    }

        .qroma-access-submit:hover {
            transform: none;
        }
}

/* =========================================================
   QROMA CIHS | ETAPA 02: DECLARACION JURADA
   PEGAR AL FINAL de wwwroot/css/qroma-ui.css
   No afecta el controlador ni las otras vistas.
   ========================================================= */
.qroma-dj-page {
    max-width: 1060px;
    margin: 0 auto;
}

.qroma-dj-heading {
    margin-bottom: 24px;
}

.qroma-dj-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--qroma-blue, #005CBD);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .09em;
    margin: 0 0 12px;
}

.qroma-dj-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--qroma-green, #00C13A);
}

.qroma-dj-heading h1 {
    color: var(--qroma-dark-blue, #003D7A);
    font-weight: 800;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    letter-spacing: -.025em;
    margin: 0 0 10px;
}

.qroma-dj-intro {
    max-width: 740px;
    color: #52677B;
    line-height: 1.65;
    margin: 0;
}

.qroma-dj-progress {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    margin: 0 0 24px;
    background: #FFFFFF;
    border: 1px solid #DDE7F0;
    border-radius: 15px;
}

    .qroma-dj-progress li {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        padding: 10px 12px;
        border-radius: 10px;
        color: #52677B;
        font-size: .84rem;
        font-weight: 650;
    }

.qroma-dj-progress-number {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #EEF3F8;
    color: #52677B;
    font-size: .82rem;
    font-weight: 800;
}

.qroma-dj-progress .qroma-dj-progress-done {
    color: #176A36;
}

.qroma-dj-progress-done .qroma-dj-progress-number {
    background: #E7F9EB;
    color: #176A36;
}

.qroma-dj-progress .qroma-dj-progress-active {
    background: #EAF3FF;
    color: #003D7A;
}

.qroma-dj-progress-active .qroma-dj-progress-number {
    background: #005CBD;
    color: #FFFFFF;
}

.qroma-dj-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr);
    align-items: stretch;
    gap: 20px;
    margin-bottom: 20px;
}

.qroma-dj-document,
.qroma-dj-aside,
.qroma-dj-form {
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #DDE7F0;
    border-radius: 17px;
    box-shadow: 0 8px 26px rgba(0, 61, 122, .045);
}

.qroma-dj-document {
    padding: clamp(23px, 3vw, 36px);
}

.qroma-dj-document-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.qroma-dj-document-label {
    color: #005CBD;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.qroma-dj-document h2 {
    color: #003D7A;
    font-weight: 750;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.35;
    margin: 0 0 20px;
}

.qroma-dj-document-text {
    color: #30485E;
    line-height: 1.85;
}

    .qroma-dj-document-text p {
        margin-bottom: 16px;
    }

.qroma-dj-review-note {
    border-top: 1px solid #E5ECF3;
    padding-top: 17px;
    margin: 26px 0 0;
    color: #52677B;
    line-height: 1.55;
    font-size: .8rem;
}

.qroma-dj-aside {
    padding: clamp(23px, 2.5vw, 30px);
    background: linear-gradient(165deg, #F7FBFF, #FFFFFF);
}

.qroma-dj-aside-icon {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    border-radius: 14px;
    margin-bottom: 22px;
    background: #EAF3FF;
    color: #005CBD;
}

.qroma-dj-aside h2 {
    font-size: 1.13rem;
    color: #003D7A;
    font-weight: 800;
    margin: 0 0 12px;
}

.qroma-dj-aside p {
    color: #52677B;
    line-height: 1.7;
    font-size: .9rem;
    margin: 0;
}

.qroma-dj-aside-divider {
    border-top: 1px solid #DDE7F0;
    margin: 24px 0;
}

.qroma-dj-alert {
    padding: 15px 18px;
    border: 1px solid #D5E5F3;
    border-left: 4px solid #005CBD;
    background: #F5FAFF;
    border-radius: 10px;
    color: #234A67;
    line-height: 1.55;
    margin-bottom: 18px;
    font-size: .88rem;
}

.qroma-dj-form {
    padding: clamp(22px, 3vw, 30px);
}

.qroma-dj-consent {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #DDE7F0;
    border-radius: 12px;
    padding: 18px;
    background: #F8FBFF;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

    .qroma-dj-consent:hover {
        border-color: #005CBD;
        background: #F2F8FF;
    }

.qroma-dj-checkbox.form-check-input {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    border: 2px solid #71869B;
    cursor: pointer;
}

    .qroma-dj-checkbox.form-check-input:checked {
        border-color: #005CBD;
        background-color: #005CBD;
    }

    .qroma-dj-checkbox.form-check-input:focus-visible {
        outline: 3px solid #00C13A;
        outline-offset: 3px;
    }

.qroma-dj-consent-label {
    color: #1B3D59;
    cursor: pointer;
    font-size: .95rem;
    line-height: 1.6;
    font-weight: 650;
}

@media (max-width: 800px) {
    .qroma-dj-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .qroma-dj-progress {
        gap: 5px;
        padding: 7px;
    }

        .qroma-dj-progress li {
            gap: 5px;
            padding: 8px 4px;
            flex-direction: column;
            text-align: center;
            font-size: .71rem;
            line-height: 1.2;
        }

    .qroma-dj-progress-number {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .qroma-dj-heading {
        margin-bottom: 20px;
    }

    .qroma-dj-consent {
        padding: 15px;
    }
}

.qroma-otp-page {
    max-width: 1060px;
    margin: 0 auto;
}

.qroma-otp-heading {
    margin: 0 0 24px;
}

    .qroma-otp-heading h1 {
        color: var(--qroma-dark-blue, #003D7A);
        font-size: clamp(1.9rem, 3vw, 2.5rem);
        font-weight: 800;
        letter-spacing: -.025em;
        margin: 0 0 10px;
    }

.qroma-otp-intro {
    color: #52677B;
    line-height: 1.65;
    max-width: 750px;
    margin: 0;
}

.qroma-otp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
    gap: 20px;
    align-items: stretch;
}

.qroma-otp-panel,
.qroma-otp-aside {
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #DDE7F0;
    border-radius: 17px;
    padding: clamp(23px, 3vw, 36px);
    box-shadow: 0 8px 26px rgba(0, 61, 122, .045);
}

.qroma-otp-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.qroma-otp-symbol,
.qroma-otp-aside-icon {
    display: grid;
    place-items: center;
    color: #005CBD;
    background: #EAF3FF;
    border-radius: 14px;
    margin-bottom: 21px;
}

.qroma-otp-symbol {
    width: 61px;
    height: 61px;
}

.qroma-otp-aside-icon {
    width: 53px;
    height: 53px;
}

.qroma-otp-overline {
    color: #005CBD;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .09em;
    margin: 0 0 8px;
}

.qroma-otp-panel-title {
    color: #003D7A;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.28;
    margin: 0 0 12px;
}

.qroma-otp-panel-copy {
    color: #52677B;
    font-size: .95rem;
    line-height: 1.7;
    margin: 0 0 25px;
}

.qroma-otp-form {
    width: 100%;
    margin-top: auto;
}

.qroma-otp-label {
    display: block;
    font-weight: 750;
    font-size: .88rem;
    color: #203C57;
    margin-bottom: 9px;
}

.qroma-otp-field {
    margin-bottom: 19px;
}

.qroma-otp-input.form-control {
    min-height: 62px;
    border: 1px solid #BCCDDC;
    border-radius: 12px;
    font-size: clamp(1.45rem, 2.5vw, 1.75rem);
    font-weight: 650;
    text-align: center;
    letter-spacing: .35em;
    font-variant-numeric: tabular-nums;
    padding: 9px 12px 9px calc(12px + .35em);
    color: #18324A;
}

    .qroma-otp-input.form-control::placeholder {
        color: #8DA0B3;
        opacity: 1;
    }

    .qroma-otp-input.form-control:focus {
        border-color: #005CBD;
        box-shadow: 0 0 0 4px rgba(0, 92, 189, .14);
    }

.qroma-otp-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 54px;
    border-radius: 11px;
    padding: 11px 19px;
    background: #005CBD;
    color: #FFFFFF;
    font-size: .94rem;
    font-weight: 750;
}

    .qroma-otp-submit:hover {
        background: #003D7A;
    }

    .qroma-otp-submit:focus-visible {
        outline: 3px solid #005CBD;
        outline-offset: 3px;
    }

    .qroma-otp-submit svg {
        flex: 0 0 auto;
    }

.qroma-otp-aside {
    background: linear-gradient(165deg, #F7FBFF, #FFFFFF);
}

    .qroma-otp-aside h2 {
        font-size: 1.15rem;
        color: #003D7A;
        font-weight: 800;
        margin: 0 0 18px;
    }

.qroma-otp-tips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

    .qroma-otp-tips li {
        display: grid;
        gap: 4px;
        padding-left: 17px;
        border-left: 3px solid #00C13A;
    }

    .qroma-otp-tips strong {
        color: #1B3D59;
        font-size: .9rem;
    }

    .qroma-otp-tips span {
        color: #52677B;
        font-size: .85rem;
        line-height: 1.5;
    }

.qroma-otp-aside-divider {
    border-top: 1px solid #DDE7F0;
    margin: 23px 0;
}

.qroma-otp-assistance {
    color: #52677B;
    font-size: .86rem;
    line-height: 1.6;
    margin: 0;
}

.qroma-otp-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 18px;
    margin: 0 0 20px;
    border: 1px solid #D5E5F3;
    border-left: 4px solid #005CBD;
    border-radius: 11px;
    background: #F5FAFF;
    color: #234A67;
    line-height: 1.6;
    font-size: .89rem;
}

.qroma-otp-alert-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #005CBD;
    color: #FFFFFF;
    font-weight: 800;
    font-style: normal;
    line-height: 1;
    margin-top: 1px;
}

@media (max-width: 800px) {
    .qroma-otp-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .qroma-otp-heading {
        margin-bottom: 20px;
    }

    .qroma-otp-panel, .qroma-otp-aside {
        padding: 23px 20px;
    }

    .qroma-otp-input.form-control {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .qroma-otp-submit {
        transition: background-color .18s ease, transform .18s ease;
    }

        .qroma-otp-submit:hover {
            transform: translateY(-1px);
        }
}
.qroma-vote-page {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    min-width: 0;
}

.qroma-vote-heading {
    margin: 0 0 23px;
}

    .qroma-vote-heading h1 {
        color: #003D7A;
        font-size: clamp(1.85rem, 3.2vw, 2.55rem);
        font-weight: 800;
        letter-spacing: -0.025em;
        line-height: 1.2;
        margin: 0 0 10px;
    }

.qroma-vote-intro {
    color: #52677B;
    font-size: .96rem;
    line-height: 1.65;
    max-width: 780px;
    margin: 0;
}

/* Progreso: mismas señales visuales que DJ y OTP. */
.qroma-vote-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    padding: 12px;
    margin: 0 0 20px;
    background: #FFFFFF;
    border: 1px solid #DDE7F0;
    border-radius: 15px;
}

    .qroma-vote-progress li {
        display: flex;
        align-items: center;
        gap: 9px;
        min-width: 0;
        padding: 10px 11px;
        border-radius: 10px;
        color: #52677B;
        font-weight: 650;
        font-size: .83rem;
    }

.qroma-vote-progress-number {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #EEF3F8;
    color: #52677B;
    font-weight: 800;
    font-size: .8rem;
}

.qroma-vote-progress .qroma-vote-progress-done {
    color: #176A36;
}

.qroma-vote-progress-done .qroma-vote-progress-number {
    color: #176A36;
    background: #E7F9EB;
}

.qroma-vote-progress .qroma-vote-progress-active {
    color: #003D7A;
    background: #EAF3FF;
}

.qroma-vote-progress-active .qroma-vote-progress-number {
    color: #FFFFFF;
    background: #005CBD;
}

/* Nota instructiva: sin sugerir que ya se registró el voto. */
.qroma-vote-guidance {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 17px 19px;
    margin-bottom: 23px;
    background: #F3F9FF;
    border: 1px solid #D4E5F5;
    border-left: 4px solid #005CBD;
    border-radius: 12px;
}

.qroma-vote-guidance-icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #E2F0FF;
    color: #005CBD;
}

.qroma-vote-guidance strong {
    color: #173C5D;
    display: block;
    font-weight: 800;
    margin: 0 0 4px;
    font-size: .94rem;
}

.qroma-vote-guidance p {
    color: #3E5E79;
    line-height: 1.6;
    font-size: .87rem;
    margin: 0;
}

.qroma-vote-form {
    min-width: 0;
}

.qroma-vote-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.qroma-vote-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #DDE7F0;
    border-radius: 17px;
    box-shadow: 0 8px 26px rgba(0, 61, 122, .045);
}

.qroma-vote-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 26px 26px 21px;
    border-bottom: 1px solid #E7EDF4;
}

.qroma-vote-card-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #005CBD;
    background: #EAF3FF;
    font-size: .85rem;
    font-weight: 800;
}

.qroma-vote-card-title-group {
    min-width: 0;
    flex: 1 1 auto;
}

    .qroma-vote-card-title-group h2 {
        font-size: clamp(1.1rem, 1.7vw, 1.35rem);
        font-weight: 800;
        line-height: 1.25;
        color: #003D7A;
        margin: 0 0 5px;
    }

    .qroma-vote-card-title-group p {
        font-size: .79rem;
        color: #52677B;
        line-height: 1.55;
        margin: 0;
    }

.qroma-vote-card-count {
    flex: 0 0 auto;
    padding: 6px 10px;
    background: #F0F6FC;
    color: #31536E;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.qroma-vote-card-body {
    display: grid;
    gap: 24px;
    padding: 27px 26px;
    flex: 1 1 auto;
}

.qroma-vote-field {
    min-width: 0;
}

.qroma-vote-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #203C57;
    font-size: .9rem;
    font-weight: 750;
    margin-bottom: 11px;
}

.qroma-vote-label-number {
    display: inline-grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: #E9F9EE;
    color: #176A36;
    border-radius: 50%;
    font-size: .76rem;
    font-weight: 800;
}

.qroma-vote-select.form-select {
    width: 100%;
    min-height: 53px;
    padding: 12px 44px 12px 14px;
    color: #18324A;
    background-color: #FFFFFF;
    border: 1px solid #B9CCDD;
    border-radius: 11px;
    font-size: .93rem;
    line-height: 1.5;
    cursor: pointer;
    text-overflow: ellipsis;
}

    .qroma-vote-select.form-select:focus {
        border-color: #005CBD;
        box-shadow: 0 0 0 4px rgba(0, 92, 189, .14);
    }

.qroma-vote-select.input-validation-error {
    border-color: #B42318;
}

.qroma-vote-card-footnote {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 15px 26px;
    background: #F8FBFF;
    border-top: 1px solid #E7EDF4;
    color: #52677B;
    font-size: .8rem;
    line-height: 1.6;
    margin: 0;
}

    .qroma-vote-card-footnote svg {
        flex: 0 0 17px;
        margin-top: 1px;
        color: #005CBD;
    }

/* Botón lleva a revisión; no es la confirmación final. */
.qroma-vote-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 24px 26px;
    margin-top: 21px;
    border: 1px solid #DDE7F0;
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: 0 8px 26px rgba(0, 61, 122, .04);
}

.qroma-vote-actions-copy {
    min-width: 0;
}

    .qroma-vote-actions-copy strong {
        display: block;
        color: #003D7A;
        font-size: .96rem;
        font-weight: 800;
        margin: 0 0 5px;
    }

    .qroma-vote-actions-copy p {
        color: #52677B;
        font-size: .82rem;
        line-height: 1.6;
        margin: 0;
    }

.qroma-vote-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    flex: 0 0 auto;
    width: auto;
    min-height: 54px;
    border-radius: 11px;
    padding: 12px 24px;
    font-size: .94rem;
    font-weight: 750;
    box-shadow: 0 8px 19px rgba(0, 92, 189, .15);
}

    .qroma-vote-submit:hover {
        background: #003D7A;
    }

    .qroma-vote-submit:focus-visible {
        outline: 3px solid #005CBD;
        outline-offset: 3px;
    }

    .qroma-vote-submit svg {
        flex: 0 0 19px;
    }

@media (max-width: 1010px) {
    .qroma-vote-card-header {
        flex-wrap: wrap;
    }

    .qroma-vote-card-count {
        margin-left: 56px;
    }
}

@media (max-width: 820px) {
    .qroma-vote-sections {
        grid-template-columns: minmax(0, 1fr);
    }

    .qroma-vote-card-header {
        flex-wrap: nowrap;
    }

    .qroma-vote-card-count {
        margin-left: 0;
    }
}

@media (max-width: 650px) {
    .qroma-vote-progress {
        gap: 5px;
        padding: 7px;
    }

        .qroma-vote-progress li {
            flex-direction: column;
            text-align: center;
            justify-content: center;
            gap: 5px;
            padding: 8px 3px;
            font-size: .69rem;
            line-height: 1.25;
        }

    .qroma-vote-progress-number {
        width: 29px;
        height: 29px;
        flex: 0 0 29px;
    }

    .qroma-vote-guidance {
        padding: 15px;
        gap: 10px;
    }

    .qroma-vote-card-header {
        flex-wrap: wrap;
        padding: 21px 19px 18px;
    }

    .qroma-vote-card-symbol {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .qroma-vote-card-count {
        margin-left: 52px;
    }

    .qroma-vote-card-body {
        padding: 22px 19px;
        gap: 22px;
    }

    .qroma-vote-card-footnote {
        padding: 15px 19px;
    }

    .qroma-vote-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 21px 19px;
        gap: 17px;
    }

    .qroma-vote-submit {
        display: flex;
        width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .qroma-vote-submit {
        transition: background-color .18s ease, transform .18s ease;
    }

        .qroma-vote-submit:hover {
            transform: translateY(-1px);
        }
}

.qroma-review {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
}

.qroma-review-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 20px;
    margin: 0 0 24px;
    border: 1px solid #D5E5F5;
    border-left: 4px solid #005CBD;
    border-radius: 13px;
    background: #F3F9FF;
}

.qroma-review-note-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #005CBD;
    background: #E3F0FF;
}

.qroma-review-note strong {
    display: block;
    margin-bottom: 5px;
    color: #173C5D;
    font-size: .95rem;
    font-weight: 800;
}

.qroma-review-note p {
    margin: 0;
    color: #3E5E79;
    line-height: 1.65;
    font-size: .87rem;
}

.qroma-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    margin-bottom: 24px;
}

.qroma-review-card {
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #DDE7F0;
    border-radius: 17px;
    box-shadow: 0 8px 26px rgba(0, 61, 122, .045);
    overflow: hidden;
}

.qroma-review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 23px 24px;
    border-bottom: 1px solid #E7EDF4;
}

.qroma-review-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #EAF3FF;
    color: #005CBD;
    font-size: .82rem;
    font-weight: 800;
}

.qroma-review-card-name {
    min-width: 0;
    flex: 1 1 auto;
}

    .qroma-review-card-name > span {
        display: block;
        color: #52677B;
        font-size: .69rem;
        font-weight: 750;
        letter-spacing: .06em;
        margin-bottom: 2px;
    }

    .qroma-review-card-name h2 {
        margin: 0;
        color: #003D7A;
        font-size: 1.24rem;
        font-weight: 800;
    }

.qroma-review-card-count {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 99px;
    background: #F0F6FC;
    color: #31536E;
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.qroma-review-card-content {
    padding: 9px 24px;
}

.qroma-review-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 19px 0;
    min-width: 0;
}

    .qroma-review-choice + .qroma-review-choice {
        border-top: 1px solid #E7EDF4;
    }

.qroma-review-choice-number {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #E9F9EE;
    color: #176A36;
    font-size: .81rem;
    font-weight: 800;
}

.qroma-review-choice-text {
    min-width: 0;
}

.qroma-review-choice-label {
    display: block;
    margin-bottom: 6px;
    color: #52677B;
    font-size: .8rem;
    font-weight: 600;
}

.qroma-review-choice-value {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #173C5D;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 800;
}

.qroma-review-choice-blank {
    color: #496378;
    font-style: italic;
}

.qroma-review-confirm {
    padding: 26px;
    border: 1px solid #DCE7F0;
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: 0 8px 26px rgba(0, 61, 122, .045);
}

.qroma-review-confirm-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 21px;
}

.qroma-review-confirm-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: #176A36;
    background: #E7F9EB;
}

.qroma-review-confirm-heading h2 {
    margin: 0 0 7px;
    color: #003D7A;
    font-weight: 800;
    font-size: 1.24rem;
}

.qroma-review-confirm-heading p {
    margin: 0;
    color: #52677B;
    line-height: 1.6;
    font-size: .88rem;
}

.qroma-review-confirm-message,
.qroma-review-unavailable {
    padding: 14px 17px;
    margin-bottom: 21px;
    border-radius: 10px;
    font-size: .86rem;
    line-height: 1.6;
}

.qroma-review-confirm-message {
    color: #244F72;
    background: #F4F9FF;
    border: 1px solid #D7E8F7;
}

.qroma-review-unavailable {
    color: #675628;
    background: #FFFAEC;
    border: 1px solid #F0DFAD;
}

.qroma-review-actions {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
}

.qroma-review-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 53px;
    padding: 11px 20px;
    border: 1.5px solid #005CBD;
    border-radius: 11px;
    color: #005CBD;
    background: #FFFFFF;
    font-size: .91rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease;
}

    .qroma-review-back:hover {
        background: #EFF6FF;
        color: #003D7A;
    }

    .qroma-review-back:focus-visible,
    .qroma-review-submit:focus-visible {
        outline: 3px solid #005CBD;
        outline-offset: 3px;
    }

    .qroma-review-back svg {
        flex: 0 0 18px;
    }

.qroma-review-submit-form {
    margin: 0;
    flex: 0 1 325px;
}

.qroma-review-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    min-height: 53px;
    padding: 12px 18px;
    border-radius: 11px;
    color: #FFFFFF;
    background: #005CBD;
    font-size: .93rem;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
}

    .qroma-review-submit:hover:not(:disabled) {
        background: #003D7A;
    }

    .qroma-review-submit svg {
        flex: 0 0 19px;
    }

    .qroma-review-submit:disabled {
        color: #61788B;
        background: #E8EEF3;
        border: 1px solid #CEDBE6;
        opacity: 1;
        cursor: not-allowed;
        box-shadow: none;
    }

.qroma-review-footer-note {
    margin: 20px 0 0;
    color: #61788B;
    font-size: .77rem;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 820px) {
    .qroma-review-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 650px) {
    .qroma-review-note {
        padding: 15px;
        gap: 10px;
    }

    .qroma-review-card-header {
        flex-wrap: wrap;
        padding: 20px 19px;
    }

    .qroma-review-card-count {
        margin-left: 55px;
    }

    .qroma-review-card-content {
        padding-inline: 19px;
    }

    .qroma-review-confirm {
        padding: 21px 18px;
    }

    .qroma-review-confirm-heading {
        gap: 11px;
    }

    .qroma-review-actions {
        flex-direction: column-reverse;
    }

    .qroma-review-back,
    .qroma-review-submit,
    .qroma-review-submit-form {
        max-width: none;
        width: 100%;
        flex-basis: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qroma-review-back {
        transition: none;
    }
}

.qroma-confirmation {
    width: 100%;
    max-width: 730px;
    margin: 18px auto 0;
}

.qroma-confirmation-panel {
    background: #FFFFFF;
    border: 1px solid #E1EAF2;
    border-top: 5px solid #00C13A;
    border-radius: 22px;
    box-shadow: 0 16px 48px rgba(15, 43, 76, 0.07);
    padding: 52px 54px 38px;
    text-align: center;
}

.qroma-confirmation-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007C26;
    background: #E9FAEE;
    border: 2px solid #A9E8BD;
    border-radius: 50%;
}

.qroma-confirmation-step {
    display: inline-block;
    margin-bottom: 14px;
    color: #005CBD;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.qroma-confirmation-title {
    color: #073B73;
    font-size: clamp(25px, 3.2vw, 35px);
    line-height: 1.22;
    font-weight: 800;
    margin: 0 auto 16px;
    max-width: 560px;
    text-wrap: balance;
}

.qroma-confirmation-description {
    max-width: 515px;
    color: #4C6174;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto 26px;
}

.qroma-confirmation-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #17692F;
    background: #EDF9F0;
    border: 1px solid #BFE9CC;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
    margin-bottom: 35px;
}

.qroma-confirmation-reference {
    padding: 22px 24px;
    text-align: left;
    border: 1px solid #DCE8F3;
    border-radius: 14px;
    background: #F7FBFF;
}

.qroma-confirmation-reference-heading {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    margin-bottom: 13px;
}

.qroma-confirmation-reference-label {
    font-size: 14px;
    font-weight: 750;
    color: #19456F;
}

.qroma-confirmation-reference-hint {
    font-size: 12px;
    color: #526D83;
}

.qroma-confirmation-code {
    color: #173D62;
    font-size: 15px;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-weight: 700;
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
    user-select: all;
    margin: 0;
}

.qroma-confirmation-end {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    color: #536779;
    border-top: 1px solid #E5EDF4;
    padding-top: 25px;
    margin-top: 32px;
    text-align: left;
}

    .qroma-confirmation-end svg {
        flex: 0 0 auto;
        color: #005CBD;
        margin-top: 2px;
    }

    .qroma-confirmation-end p {
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

@media (max-width: 767.98px) {
    .qroma-confirmation {
        margin-top: 0;
    }

    .qroma-confirmation-panel {
        padding: 36px 23px 28px;
        border-radius: 18px;
    }

    .qroma-confirmation-icon {
        width: 76px;
        height: 76px;
    }

    .qroma-confirmation-description {
        font-size: 15px;
    }

    .qroma-confirmation-reference {
        padding: 18px;
    }

    .qroma-confirmation-code {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .qroma-confirmation-panel {
        padding: 29px 16px 24px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .qroma-confirmation-panel {
        animation: qroma-confirmation-appear 350ms ease-out both;
    }
}

@keyframes qroma-confirmation-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qroma-rrhh-dashboard {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    color: #20364D;
}

    .qroma-rrhh-dashboard *,
    .qroma-rrhh-dashboard *::before,
    .qroma-rrhh-dashboard *::after {
        box-sizing: border-box;
    }

/* Cabecera corporativa */
.qroma-rrhh-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    padding: clamp(25px, 3.5vw, 42px);
    margin-bottom: 20px;
    border-radius: 20px;
    background: linear-gradient(120deg, #005CBD 0%, #004685 100%);
    color: #FFFFFF;
    box-shadow: 0 14px 34px rgba(0, 68, 139, .12);
}

.qroma-rrhh-hero-main {
    min-width: 0;
    flex: 1 1 auto;
}

.qroma-rrhh-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #CBE4FF;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .105em;
}

.qroma-rrhh-hero h1 {
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.2;
    letter-spacing: -.03em;
    font-weight: 800;
}

.qroma-rrhh-process {
    margin: 0 0 13px;
    color: #E7F3FF;
    font-size: .96rem;
    font-weight: 650;
}

.qroma-rrhh-hero-description {
    max-width: 650px;
    margin: 0;
    color: #D7E9FB;
    font-size: .9rem;
    line-height: 1.65;
}

.qroma-rrhh-hero-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 47px;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 10px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: .85rem;
    font-weight: 750;
    transition: background .15s ease, border-color .15s ease;
}

    .qroma-rrhh-hero-action:hover {
        color: #FFFFFF;
        background: rgba(255,255,255,.13);
        border-color: #FFFFFF;
    }

    .qroma-rrhh-hero-action:focus-visible,
    .qroma-rrhh-outline-link:focus-visible {
        outline: 3px solid #00C13A;
        outline-offset: 3px;
    }

/* Estado del proceso */
.qroma-rrhh-status {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 105px;
    padding: 22px 24px;
    margin-bottom: 29px;
    background: #FFFFFF;
    border: 1px solid #DCE6F0;
    border-radius: 15px;
}

.qroma-rrhh-status-symbol,
.qroma-rrhh-results-locked-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #EAF3FF;
    color: #005CBD;
}

    .qroma-rrhh-status-symbol svg,
    .qroma-rrhh-results-locked-icon svg {
        width: 26px;
        height: 26px;
    }

.qroma-rrhh-status-body {
    flex: 1 1 auto;
    min-width: 0;
}

.qroma-rrhh-status h2 {
    margin: 0 0 5px;
    font-weight: 750;
    font-size: .87rem;
    color: #536A80;
}

.qroma-rrhh-status p {
    margin: 0;
    font-weight: 800;
    font-size: 1.17rem;
    line-height: 1.4;
    color: #143E68;
}

.qroma-rrhh-status-caption {
    color: #718398;
    font-size: .76rem;
    text-align: right;
    max-width: 160px;
}

/* Encabezados de sección */
.qroma-rrhh-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

.qroma-rrhh-section-eyebrow {
    display: block;
    color: #005CBD;
    font-weight: 800;
    font-size: .71rem;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.qroma-rrhh-section-heading h2 {
    margin: 0 0 7px;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 800;
    color: #103B64;
}

.qroma-rrhh-section-heading p {
    margin: 0;
    color: #60768B;
    font-size: .89rem;
    line-height: 1.55;
}

/* Métricas */
.qroma-rrhh-overview {
    margin-bottom: 35px;
}

.qroma-rrhh-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 15px;
}

.qroma-rrhh-metric {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 178px;
    padding: 22px;
    background: #FFFFFF;
    border: 1px solid #DDE7F0;
    border-radius: 16px;
    box-shadow: 0 5px 16px rgba(0,61,122,.035);
}

.qroma-rrhh-metric--accent {
    border-top: 3px solid #00C13A;
    padding-top: 20px;
}

.qroma-rrhh-metric--percentage {
    border-top: 3px solid #005CBD;
    padding-top: 20px;
}

.qroma-rrhh-metric-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.qroma-rrhh-metric-label {
    font-size: .85rem;
    font-weight: 700;
    color: #49637C;
    line-height: 1.4;
}

.qroma-rrhh-metric-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    background: #F0F6FC;
    color: #005CBD;
    font-size: .73rem;
    font-weight: 800;
}

.qroma-rrhh-metric--accent .qroma-rrhh-metric-icon {
    color: #087D2D;
    background: #EDF9F0;
}

.qroma-rrhh-metric-value {
    display: block;
    margin: 14px 0 8px;
    color: #005CBD;
    font-size: clamp(1.8rem, 2.7vw, 2.35rem);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.035em;
}

.qroma-rrhh-metric--accent .qroma-rrhh-metric-value {
    color: #087B2F;
}

.qroma-rrhh-metric-description {
    margin: auto 0 0;
    color: #718398;
    font-size: .76rem;
    line-height: 1.55;
}

.qroma-rrhh-participation-track {
    height: 7px;
    width: 100%;
    overflow: hidden;
    margin: 2px 0 13px;
    background: #E8F0F7;
    border-radius: 99px;
}

.qroma-rrhh-participation-fill {
    display: block;
    height: 100%;
    background: #00C13A;
    border-radius: inherit;
}

.qroma-rrhh-followup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    margin-top: 16px;
    background: #F5F9FD;
    border: 1px solid #DCE7F1;
    border-radius: 14px;
}

    .qroma-rrhh-followup strong {
        font-size: .94rem;
        font-weight: 800;
        color: #1A4267;
    }

    .qroma-rrhh-followup p {
        margin: 5px 0 0;
        color: #657A8D;
        font-size: .83rem;
        line-height: 1.6;
    }

.qroma-rrhh-outline-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    min-height: 44px;
    color: #005CBD;
    text-decoration: none;
    border: 1px solid #AFCDE9;
    border-radius: 9px;
    background: #FFFFFF;
    font-weight: 750;
    font-size: .83rem;
}

    .qroma-rrhh-outline-link:hover {
        color: #004687;
        background: #EDF6FF;
    }

/* Aviso de disponibilidad */
.qroma-rrhh-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
    margin: 0 0 28px;
    border-radius: 12px;
}

.qroma-rrhh-notice--warning {
    background: #FFF9EE;
    border: 1px solid #F1D9A8;
    color: #72501A;
}

.qroma-rrhh-notice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    height: 26px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: .9rem;
    font-weight: 800;
}

.qroma-rrhh-notice strong {
    display: block;
    font-size: .9rem;
    margin-bottom: 5px;
}

.qroma-rrhh-notice p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.6;
}

/* Resultados: 2 secciones */
.qroma-rrhh-scrutiny {
    margin-bottom: 23px;
}

.qroma-rrhh-results-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: 245px;
    padding: 34px;
    border: 1px dashed #BBD1E4;
    border-radius: 17px;
    background: #FFFFFF;
}

    .qroma-rrhh-results-locked h3 {
        margin: 0;
        color: #153D61;
        font-size: 1.18rem;
        font-weight: 800;
    }

    .qroma-rrhh-results-locked p {
        margin: 0;
        color: #556C81;
        font-size: .94rem;
        line-height: 1.5;
        max-width: 660px;
        overflow-wrap: anywhere;
    }

    .qroma-rrhh-results-locked > span {
        color: #78899B;
        font-size: .79rem;
    }

.qroma-rrhh-scrutiny-guide {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 14px 17px;
    margin-bottom: 17px;
    border-radius: 11px;
    background: #EDF9F1;
    color: #256338;
    border: 1px solid #D5EDDA;
}

.qroma-rrhh-scrutiny-guide-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: #00C13A;
}

.qroma-rrhh-scrutiny-guide p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.6;
}

.qroma-rrhh-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
    align-items: start;
}

.qroma-rrhh-results-card {
    min-width: 0;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #DDE7F0;
    border-radius: 17px;
    box-shadow: 0 6px 20px rgba(0,61,122,.045);
    --rrhh-bar-color: #005CBD;
}

.qroma-rrhh-results--green {
    --rrhh-bar-color: #00A632;
}

.qroma-rrhh-results-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 23px;
    background: #F3F8FF;
    border-bottom: 1px solid #E2EAF3;
}

.qroma-rrhh-results--green .qroma-rrhh-results-header {
    background: #F0FBF3;
}

.qroma-rrhh-results-header span:not(.qroma-rrhh-results-pill) {
    display: block;
    margin-bottom: 5px;
    color: #5C7591;
    font-weight: 800;
    font-size: .68rem;
    letter-spacing: .07em;
}

.qroma-rrhh-results-header h3 {
    margin: 0;
    color: #143D64;
    font-size: 1.21rem;
    font-weight: 800;
}

.qroma-rrhh-results-pill {
    padding: 7px 10px;
    border-radius: 99px;
    background: #FFFFFF;
    border: 1px solid #D5E3EF;
    color: #375875;
    font-size: .74rem;
    font-weight: 750;
}

.qroma-rrhh-results-body {
    padding: 23px;
}

.qroma-rrhh-results-totals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 11px;
    margin: 0 0 25px;
}

    .qroma-rrhh-results-totals > div {
        min-width: 0;
        padding: 14px 16px;
        background: #F7FAFD;
        border: 1px solid #E7EFF6;
        border-radius: 11px;
    }

    .qroma-rrhh-results-totals dt {
        font-size: .76rem;
        font-weight: 700;
        color: #617991;
        margin-bottom: 6px;
    }

    .qroma-rrhh-results-totals dd {
        font-size: 1.35rem;
        font-weight: 800;
        color: #15446F;
        margin: 0;
        font-variant-numeric: tabular-nums;
    }

.qroma-rrhh-results-body h4 {
    font-size: .91rem;
    font-weight: 800;
    color: #234C71;
    margin: 0 0 18px;
}

.qroma-rrhh-results-empty {
    margin: 0;
    color: #637A8F;
    font-size: .86rem;
}

.qroma-rrhh-candidates {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.qroma-rrhh-candidate {
    min-width: 0;
}

.qroma-rrhh-candidate-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 15px;
    margin-bottom: 9px;
}

.qroma-rrhh-candidate-name {
    color: #243F59;
    font-size: .86rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.qroma-rrhh-candidate-count {
    color: #65798B;
    font-size: .8rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

    .qroma-rrhh-candidate-count strong {
        color: #234A6C;
        font-weight: 800;
    }

.qroma-rrhh-candidate-track {
    height: 10px;
    width: 100%;
    overflow: hidden;
    border-radius: 99px;
    background: #EAF0F5;
}

.qroma-rrhh-candidate-fill {
    height: 100%;
    display: block;
    border-radius: 99px;
    background: var(--rrhh-bar-color);
}

.qroma-rrhh-results-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #E7EFF6;
    padding: 15px 23px;
    font-size: .79rem;
    background: #FCFDFE;
    color: #5A7187;
}

    .qroma-rrhh-results-footer strong {
        font-size: .9rem;
        color: #214868;
        font-variant-numeric: tabular-nums;
    }

.qroma-rrhh-results-explainer {
    margin: 18px 0 0;
    color: #63788B;
    font-size: .83rem;
    line-height: 1.65;
}

.qroma-rrhh-page-footer {
    margin: 27px 0 7px;
    padding-top: 18px;
    border-top: 1px solid #DEE8F1;
    color: #778899;
    text-align: center;
    font-size: .78rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .qroma-rrhh-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .qroma-rrhh-metrics {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .qroma-rrhh-results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .qroma-rrhh-hero {
        padding: 26px 21px;
        border-radius: 15px;
    }

    .qroma-rrhh-hero-action {
        width: 100%;
    }

    .qroma-rrhh-status {
        flex-wrap: wrap;
        padding: 18px;
        align-items: flex-start;
    }

    .qroma-rrhh-status-symbol {
        width: 44px;
        height: 44px;
    }

    .qroma-rrhh-status-caption {
        text-align: left;
        margin-left: 61px;
        max-width: none;
    }

    .qroma-rrhh-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .qroma-rrhh-metric {
        min-height: 152px;
        padding: 18px;
    }

    .qroma-rrhh-metric--accent, .qroma-rrhh-metric--percentage {
        padding-top: 16px;
    }

    .qroma-rrhh-metric-value {
        font-size: 2rem;
    }

    .qroma-rrhh-followup {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .qroma-rrhh-outline-link {
        width: 100%;
    }

    .qroma-rrhh-results-header, .qroma-rrhh-results-body {
        padding: 19px;
    }

    .qroma-rrhh-results-totals {
        gap: 9px;
    }

        .qroma-rrhh-results-totals > div {
            padding: 11px;
        }

    .qroma-rrhh-results-header h3 {
        font-size: 1.1rem;
    }

    .qroma-rrhh-results-locked {
        padding: 27px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qroma-rrhh-hero-action {
        transition: none;
    }
}

.rrhh-part {
    width: 100%;
    min-width: 0;
    max-width: 1200px;
    margin: 0 auto 30px;
    color: #20364D;
}

    .rrhh-part *,
    .rrhh-part *::before,
    .rrhh-part *::after {
        box-sizing: border-box;
    }

/* Cabecera y retorno */
.rrhh-part__hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: clamp(25px, 3.5vw, 42px);
    border-radius: 20px;
    color: #FFFFFF;
    background: linear-gradient(120deg, #005CBD 0%, #004685 100%);
    box-shadow: 0 14px 34px rgba(0, 68, 139, .12);
}

.rrhh-part__hero-content {
    min-width: 0;
}

.rrhh-part__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #CBE4FF;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .095em;
}

.rrhh-part__hero h1 {
    margin: 0 0 11px;
    color: #FFFFFF;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.2;
    letter-spacing: -.03em;
    font-weight: 800;
}

.rrhh-part__hero p {
    max-width: 710px;
    margin: 0;
    color: #E6F2FF;
    font-size: .94rem;
    line-height: 1.7;
}

.rrhh-part__hero-icon {
    display: grid;
    place-items: center;
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 23px;
    background: rgba(255,255,255,.13);
}

    .rrhh-part__hero-icon svg {
        width: 40px;
        height: 40px;
        color: #FFFFFF;
    }

.rrhh-part__back {
    margin: 19px 0 24px;
}

    .rrhh-part__back a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 40px;
        color: #005CBD;
        text-decoration: none;
        font-size: .87rem;
        font-weight: 750;
    }

        .rrhh-part__back a:hover {
            color: #004687;
            text-decoration: underline;
        }

/* Tarjetas y encabezados de sección */
.rrhh-part__panel {
    min-width: 0;
    padding: clamp(19px, 2.3vw, 30px);
    margin-bottom: 19px;
    background: #FFFFFF;
    border: 1px solid #DCE7F0;
    border-radius: 17px;
    box-shadow: 0 5px 17px rgba(0,61,122,.035);
}

.rrhh-part__panel-heading,
.rrhh-part__results-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 23px;
}

.rrhh-part__panel-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #005CBD;
    font-size: .68rem;
    letter-spacing: .08em;
    font-weight: 800;
}

.rrhh-part__panel-heading h2,
.rrhh-part__results-heading h2 {
    margin: 0 0 7px;
    color: #103B64;
    font-size: clamp(1.18rem, 2vw, 1.48rem);
    font-weight: 800;
}

.rrhh-part__panel-heading p,
.rrhh-part__results-heading p {
    margin: 0;
    max-width: 620px;
    color: #657B8E;
    font-size: .84rem;
    line-height: 1.6;
}

.rrhh-part__filter-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    background: #EAF3FF;
    color: #005CBD;
    border-radius: 12px;
}

    .rrhh-part__filter-symbol svg {
        width: 23px;
        height: 23px;
    }

/* Formulario de filtros */
.rrhh-part__form {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    gap: 13px;
    align-items: end;
}

.rrhh-part__field {
    min-width: 0;
}

    .rrhh-part__field label {
        display: block;
        margin-bottom: 9px;
        color: #39566F;
        font-size: .8rem;
        font-weight: 750;
    }

    .rrhh-part__field input,
    .rrhh-part__field select {
        display: block;
        width: 100%;
        min-height: 48px;
        padding: 11px 13px;
        border: 1px solid #BECFDF;
        border-radius: 10px;
        outline: none;
        background: #FFFFFF;
        color: #20364D;
        font: inherit;
        font-size: .88rem;
        transition: border-color .16s ease, box-shadow .16s ease;
    }

        .rrhh-part__field input::placeholder {
            color: #7A8FA1;
        }

        .rrhh-part__field input:focus,
        .rrhh-part__field select:focus {
            border-color: #005CBD;
            box-shadow: 0 0 0 3px rgba(0,92,189,.13);
        }

.rrhh-part__filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.rrhh-part__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 11px 18px;
    border: 1px solid #005CBD;
    border-radius: 10px;
    background: #005CBD;
    color: #FFFFFF;
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease;
}

    .rrhh-part__button:hover {
        background: #004687;
        border-color: #004687;
    }

.rrhh-part__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 5px;
    color: #005CBD;
    text-decoration: none;
    font-size: .81rem;
    font-weight: 750;
}

    .rrhh-part__clear:hover {
        color: #004687;
        text-decoration: underline;
    }

    .rrhh-part__button:focus-visible,
    .rrhh-part__clear:focus-visible,
    .rrhh-part__back a:focus-visible,
    .rrhh-part__pagination a:focus-visible {
        outline: 3px solid #00C13A;
        outline-offset: 3px;
    }

/* Metadatos y contador */
.rrhh-part__results-count {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 11px 14px;
    background: #EDF9F1;
    border: 1px solid #D7EDDE;
    border-radius: 10px;
    color: #196334;
    white-space: nowrap;
}

    .rrhh-part__results-count strong {
        font-size: 1.18rem;
        font-weight: 850;
        font-variant-numeric: tabular-nums;
    }

    .rrhh-part__results-count span {
        font-size: .77rem;
        font-weight: 700;
    }

.rrhh-part__meta {
    margin: 0 0 17px;
    color: #657B8E;
    font-size: .82rem;
}

    .rrhh-part__meta strong {
        color: #214B6F;
    }

.rrhh-part__meta-separator {
    margin: 0 6px;
}

/* Tabla en pantallas amplias; tarjetas apiladas en móvil */
.rrhh-part__table-wrap {
    width: 100%;
    min-width: 0;
}

.rrhh-part__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .rrhh-part__table th {
        padding: 15px 14px;
        background: #F2F7FC;
        color: #435E77;
        text-align: left;
        font-size: .76rem;
        font-weight: 800;
        border-bottom: 1px solid #DCE8F2;
    }

        .rrhh-part__table th:first-child {
            border-top-left-radius: 10px;
        }

        .rrhh-part__table th:last-child {
            border-top-right-radius: 10px;
        }

    .rrhh-part__table td {
        padding: 16px 14px;
        border-bottom: 1px solid #E7EEF5;
        color: #2A465E;
        text-align: left;
        font-size: .86rem;
        line-height: 1.5;
        vertical-align: middle;
        overflow-wrap: anywhere;
    }

    .rrhh-part__table tbody tr:last-child td {
        border-bottom: 0;
    }

    .rrhh-part__table tbody tr:hover {
        background: #F8FBFF;
    }

.rrhh-part__code {
    font-variant-numeric: tabular-nums;
    color: #285780;
    font-weight: 800;
}

.rrhh-part__worker {
    font-weight: 750;
    color: #25445F;
}

.rrhh-part__raw-state {
    font-size: .78rem;
    color: #657A8E;
}

.rrhh-part__status {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 7px;
    padding: 6px 11px;
    border-radius: 99px;
    background: #EFF3F7;
    color: #4A5C6E;
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}

    .rrhh-part__status::before {
        content: "";
        width: 6px;
        height: 6px;
        flex: 0 0 6px;
        background: currentColor;
        border-radius: 50%;
    }

.rrhh-part__status--si {
    background: #E5F8EB;
    color: #14682E;
}

.rrhh-part__status--proceso {
    background: #FFF4DC;
    color: #805A13;
}

.rrhh-part__status--no {
    background: #EFF3F7;
    color: #40566A;
}

.rrhh-part__status--revision {
    background: #EAF3FF;
    color: #12518F;
}

/* Disponibilidad y búsqueda vacía */
.rrhh-part__alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px;
    border: 1px solid #E9CBAE;
    border-radius: 11px;
    background: #FFF7EF;
    color: #714A2C;
}

    .rrhh-part__alert > span {
        display: grid;
        place-items: center;
        flex: 0 0 25px;
        height: 25px;
        border: 2px solid currentColor;
        border-radius: 50%;
        font-size: .85rem;
        font-weight: 800;
    }

    .rrhh-part__alert p {
        margin: 0;
        line-height: 1.65;
        font-size: .89rem;
        overflow-wrap: anywhere;
    }

.rrhh-part__empty {
    padding: 38px 18px;
    text-align: center;
    background: #F8FBFE;
    border-radius: 12px;
}

.rrhh-part__empty-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 15px;
    background: #EAF3FF;
    color: #005CBD;
}

    .rrhh-part__empty-icon svg {
        width: 26px;
        height: 26px;
    }

.rrhh-part__empty strong {
    color: #244867;
    font-size: 1rem;
}

.rrhh-part__empty p {
    margin: 8px 0 0;
    font-size: .84rem;
    color: #657B8E;
}

/* Paginación y nota de confidencialidad */
.rrhh-part__pagination {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #E5ECF3;
}

.rrhh-part__pagination-edge--next {
    text-align: right;
}

.rrhh-part__pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #D4E2EF;
    border-radius: 9px;
    background: #F3F8FE;
    color: #005CBD;
    text-decoration: none;
    font-size: .81rem;
    font-weight: 800;
}

    .rrhh-part__pagination a:hover {
        background: #E5F1FE;
        border-color: #B5D2EE;
    }

.rrhh-part__pagination-text {
    color: #62798D;
    font-size: .81rem;
    text-align: center;
    white-space: nowrap;
}

.rrhh-part__footer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    margin: 24px auto 0;
    padding: 0 10px;
    color: #697E8F;
    text-align: center;
    font-size: .77rem;
    line-height: 1.7;
}

.rrhh-part__footer-icon {
    color: #13843A;
    font-weight: 900;
}

/* Responsivo: 3 columnas -> 2 columnas -> 1 columna */
@media (max-width: 991.98px) {
    .rrhh-part__form {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .rrhh-part__filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 699.98px) {
    .rrhh-part__hero {
        padding: 25px 21px;
        border-radius: 16px;
    }

    .rrhh-part__hero-icon {
        display: none;
    }

    .rrhh-part__form {
        grid-template-columns: 1fr;
    }

    .rrhh-part__filter-actions {
        grid-column: auto;
    }

    .rrhh-part__button {
        flex: 1 1 100%;
    }

    .rrhh-part__clear {
        flex: 1 1 100%;
    }

    .rrhh-part__results-heading {
        align-items: flex-start;
    }

    /* Conserva la tabla semántica, presenta cada fila como tarjeta legible. */
    .rrhh-part__table,
    .rrhh-part__table tbody {
        display: block;
        width: 100%;
    }

        .rrhh-part__table thead {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .rrhh-part__table tbody tr {
            display: block;
            margin-bottom: 13px;
            padding: 11px 14px;
            border: 1px solid #DDE7F0;
            border-radius: 12px;
            background: #FFFFFF;
        }

            .rrhh-part__table tbody tr:last-child {
                margin-bottom: 0;
            }

            .rrhh-part__table tbody tr:hover {
                background: #FFFFFF;
            }

        .rrhh-part__table td {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 9px 13px;
            padding: 10px 0;
            border-bottom: 1px solid #EBF0F5;
            font-size: .82rem;
            text-align: right;
        }

            .rrhh-part__table td:last-child {
                border-bottom: 0;
            }

            .rrhh-part__table td::before {
                content: attr(data-label);
                flex: 0 0 42%;
                color: #627A8F;
                text-align: left;
                font-size: .77rem;
                font-weight: 750;
            }

            .rrhh-part__table td > span {
                flex: 1 1 auto;
                min-width: 0;
                text-align: right;
            }

        .rrhh-part__table .rrhh-part__status {
            flex: 0 0 auto;
        }
}

@media (max-width: 479.98px) {
    .rrhh-part__panel {
        padding: 18px 15px;
    }

    .rrhh-part__pagination {
        grid-template-columns: repeat(2,minmax(0,1fr));
        row-gap: 14px;
    }

    .rrhh-part__pagination-text {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .rrhh-part__pagination-edge {
        grid-row: 2;
    }

    .rrhh-part__pagination-edge--next {
        grid-column: 2;
    }

    .rrhh-part__pagination a {
        padding: 8px 10px;
        font-size: .77rem;
    }

    .rrhh-part__meta-separator {
        display: none;
    }

    .rrhh-part__meta {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rrhh-part__button,
    .rrhh-part__field input,
    .rrhh-part__field select {
        transition: none;
    }
}

/* Botón con apariencia de enlace debajo del checkbox */
.qroma-dj-privacy {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.qroma-dj-privacy-link {
    background: none;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #0056b3;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
}

    .qroma-dj-privacy-link:hover {
        text-decoration: underline;
    }

/* Estilos del Pop-up (Dialog) */
.qroma-dj-modal {
    width: min(92vw, 900px);
    height: 85vh;
    border: none;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    background-color: #ffffff;
    overflow: hidden;
}

    .qroma-dj-modal[open] {
        display: flex;
        flex-direction: column;
    }

    /* Fondo oscuro detrás del Pop-up */
    .qroma-dj-modal::backdrop {
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(3px);
    }

.qroma-dj-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.qroma-dj-modal-title-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qroma-dj-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
}

.qroma-dj-modal-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

    .qroma-dj-modal-close:hover {
        background-color: #e2e8f0;
        color: #0f172a;
    }

.qroma-dj-modal-body {
    flex: 1;
    background-color: #525659;
    overflow: hidden;
}

.qroma-dj-pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.qroma-rrhh-dashboard .qroma-rrhh-results-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.qroma-rrhh-dashboard .qroma-rrhh-phase-badge,
.qroma-rrhh-dashboard .qroma-rrhh-scrutiny-phase {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 750;
    border-radius: 999px;
    border: 1px solid;
}

.qroma-rrhh-dashboard .qroma-rrhh-phase-badge {
    font-size: .72rem;
    padding: 6px 10px;
    white-space: nowrap;
    letter-spacing: 0;
    margin-bottom: 0;
}

    .qroma-rrhh-dashboard .qroma-rrhh-phase-badge svg,
    .qroma-rrhh-dashboard .qroma-rrhh-scrutiny-phase svg {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
    }

.qroma-rrhh-dashboard .qroma-rrhh-phase-badge--open,
.qroma-rrhh-dashboard .qroma-rrhh-scrutiny-phase--open {
    color: #005CBD;
    background: #EAF3FF;
    border-color: #BEDAFF;
}

.qroma-rrhh-dashboard .qroma-rrhh-phase-badge--closed,
.qroma-rrhh-dashboard .qroma-rrhh-scrutiny-phase--closed {
    color: #176A36;
    background: #EAF8EE;
    border-color: #BDE7C8;
}

.qroma-rrhh-dashboard .qroma-rrhh-scrutiny-phase {
    border-radius: 12px;
    padding: 11px 14px;
    margin-bottom: 13px;
    font-size: .82rem;
}

.qroma-rrhh-dashboard .qroma-rrhh-scrutiny-phase-icon {
    display: inline-flex;
}

.qroma-rrhh-dashboard .qroma-rrhh-results-header .qroma-rrhh-phase-badge span {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: normal;
}

.qroma-rrhh-dashboard .qroma-rrhh-results-header span.qroma-rrhh-phase-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.2;
    vertical-align: middle;
}

.qroma-rrhh-dashboard .qroma-rrhh-results-header .qroma-rrhh-results-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.qroma-rrhh-dashboard .qroma-rrhh-results-header .qroma-rrhh-results-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.2;
}

.qroma-rrhh-section-heading--export {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.qroma-rrhh-export-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid #005CBD;
    border-radius: 10px;
    background-color: #005CBD;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .qroma-rrhh-export-button:hover {
        background-color: #004A98;
        border-color: #004A98;
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(0, 92, 189, 0.18);
        transform: translateY(-1px);
    }

    .qroma-rrhh-export-button:focus-visible {
        outline: 3px solid #00C13A;
        outline-offset: 3px;
    }

    .qroma-rrhh-export-button:active {
        transform: translateY(0);
    }

    .qroma-rrhh-export-button svg {
        flex-shrink: 0;
    }

@media (max-width: 768px) {
    .qroma-rrhh-section-heading--export {
        align-items: stretch;
        flex-direction: column;
    }

    .qroma-rrhh-export-button {
        width: 100%;
    }
}