.web-modal {
    width: min(1000px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: auto;
}

.web-modal-close {
    display: grid;
    flex: 0 0 44px;
    align-self: flex-start;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: 400 1.65rem/1 system-ui, sans-serif;
    cursor: pointer;
}

.web-modal-close:hover { background: transparent; opacity: .7; }
.web-modal-close:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
