.doc-version-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
}

.doc-version-modal--no-scroll {
    overflow: hidden;
}

.doc-version-modal__backdrop.is-open {
    display: flex;
}

.doc-version-modal__panel {
    width: min(900px, 100%);
    height: min(620px, 85vh);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.doc-version-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    gap: 10px;
}

.doc-version-modal__title {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
}

.doc-version-modal__close {
    appearance: none;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 10px;
    font: inherit;
    cursor: pointer;
    color: #111827;
}

.doc-version-modal__close:hover {
    background: #f9fafb;
}

.doc-version-modal__frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #ffffff;
}
