.external-modal-links {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9999;
    font-family: inherit;
}

.external-modal-links.is-open {
    opacity: 1;
    pointer-events: auto;
}

.external-modal-links__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
}

.external-modal-links__dialog {
    position: relative;
    width: min(90vw, 960px);
    height: min(85vh, 720px);
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

.external-modal-links__close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.external-modal-links__close:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.external-modal-links__iframe-wrapper {
    flex: 1;
}

.external-modal-links__iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

body.external-modal-links--locked {
    overflow: hidden;
}

