.srp27-overlay[hidden] {
    display: none !important;
}


.srp27-overlay {
    position: fixed;

    inset: 0;

    z-index: 100700;

    display: grid;

    place-items: center;

    padding: 20px;

    background:
        rgba(
            8,
            20,
            33,
            .56
        );
}


.srp27-dialog {
    width:
        min(
            500px,
            100%
        );

    max-height: 78vh;

    overflow: auto;

    border:
        1px solid #d7dfe6;

    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 24px 65px
        rgba(
            0,
            0,
            0,
            .22
        );
}


.srp27-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        15px 18px;

    border-bottom:
        1px solid #e2e7ec;
}


.srp27-header h2 {
    margin: 0;

    color: #173b62;

    font-size: .88rem;

    font-weight: 900;
}


.srp27-close {
    width: 34px;

    height: 34px;

    border:
        1px solid #ddc4c7;

    border-radius: 8px;

    background: #ffffff;

    color: #7f1724;

    font-size: 1.08rem;

    font-weight: 900;

    cursor: pointer;
}


.srp27-body {
    padding: 18px;
}


.srp27-context {
    margin:
        0 0 10px;

    color: #17202b;

    font-size: .75rem;

    font-weight: 900;
}


.srp27-text {
    color: #344454;

    font-size: .7rem;

    line-height: 1.65;

    white-space: pre-wrap;
}


@media (
    max-width:
    560px
) {

    .srp27-overlay {
        align-items: end;

        padding: 0;
    }


    .srp27-dialog {
        width: 100%;

        max-height: 86vh;

        border-radius:
            14px 14px 0 0;
    }

}
