/**
 * Modale d’accès hub Prod — tokens rose #EA5199 / bleu #029DDE
 */
.unsa-outils-gate {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top, 0px));
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}
.unsa-outils-gate[hidden] {
    display: none !important;
}
.unsa-outils-gate-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
}
.unsa-outils-gate-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    max-height: min(90dvh, 90vh);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    padding: 28px 24px 24px;
    box-sizing: border-box;
}
.unsa-outils-gate-box:focus {
    outline: none;
}
.unsa-outils-gate-box:focus-visible {
    outline: 3px solid #029DDE;
    outline-offset: 2px;
}
.unsa-outils-gate-close {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(234, 81, 153, 0.12);
    color: #c43d7a;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.unsa-outils-gate-close:hover {
    background: rgba(234, 81, 153, 0.22);
}
.unsa-outils-gate-close:focus-visible {
    outline: 3px solid #029DDE;
    outline-offset: 2px;
}
.unsa-outils-gate-kicker {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #029DDE;
}
.unsa-outils-gate-title {
    margin: 0 0 12px;
    padding-right: 40px;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1f2937;
}
.unsa-outils-gate-text {
    margin: 0 0 22px;
    font-size: 1rem;
    line-height: 1.55;
    color: #4b5563;
}
.unsa-outils-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.unsa-outils-gate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}
.unsa-outils-gate-btn:focus-visible {
    outline: 3px solid #029DDE;
    outline-offset: 2px;
}
.unsa-outils-gate-btn--primary {
    background: #EA5199;
    color: #fff;
    border: 2px solid #EA5199;
}
.unsa-outils-gate-btn--primary:hover,
.unsa-outils-gate-btn--primary:visited {
    color: #fff;
    background: #c43d7a;
    border-color: #c43d7a;
}
.unsa-outils-gate-btn--secondary {
    background: #fff;
    color: #0277a8;
    border: 2px solid #029DDE;
}
.unsa-outils-gate-btn--secondary:hover,
.unsa-outils-gate-btn--secondary:visited {
    color: #0277a8;
    background: rgba(2, 157, 222, 0.08);
}
button.unsa-outils-gate-btn {
    font-family: inherit;
    cursor: pointer;
    width: 100%;
}
.unsa-outils-gate-btn[hidden] {
    display: none !important;
}
.unsa-outils-tabs-enabled--guest .unsa-outils-tabs-layout {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 480px) {
    .unsa-outils-gate {
        padding: 10px;
        align-items: flex-end;
    }
    .unsa-outils-gate-box {
        max-width: none;
        border-radius: 16px 16px 0 0;
        padding: 24px 16px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .unsa-outils-gate,
    .unsa-outils-gate-box,
    .unsa-outils-gate-btn {
        transition: none;
    }
}
