#zsp-popups-root { position: relative; z-index: 99999; }

.zsp-popup-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.55);
    padding: 16px;
}

.zsp-popup-overlay.is-open { display: flex; }

.zsp-popup {
    width: min(720px, 100%);
    max-height: min(85vh, 900px);
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    position: relative;
}

.zsp-popup-close {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    background: linear-gradient(#fff, rgba(255,255,255,.7));
    backdrop-filter: blur(6px);
}

.zsp-popup-close button {
    border: 0;
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.zsp-popup-body { padding: 14px 16px 18px; }