/* Comp-vault prompt modal — feature-scoped .cvp-*. */
.cvp-modal {
    position: fixed;
    inset: 0;
    z-index: 10070;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cvp-modal.is-open { display: flex; }
.cvp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.cvp-modal__panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    color: #0f172a;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    padding: 28px 28px 22px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.cvp-modal__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ea580c;
    margin-bottom: 8px;
}
.cvp-modal__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}
.cvp-modal__lede {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.55;
    color: #334155;
}
.cvp-modal__bullets {
    margin: 0 0 18px;
    padding: 14px 14px 14px 30px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    border-radius: 10px;
    list-style: disc;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
}
.cvp-modal__bullets li { margin: 0 0 6px; }
.cvp-modal__bullets li:last-child { margin-bottom: 0; }
.cvp-modal__bullets strong { color: #0f172a; }

.cvp-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.cvp-btn {
    appearance: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: filter 0.15s ease, background 0.15s ease, transform 0.05s ease;
}
.cvp-btn--primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(234, 88, 12, 0.32);
}
.cvp-btn--primary:hover { filter: brightness(1.05); color: #fff; }
.cvp-btn--primary:active { transform: translateY(1px); }
.cvp-btn--ghost {
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 14px;
}
.cvp-btn--ghost:hover { color: #0f172a; background: #f1f5f9; }

.cvp-modal__fineprint {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

@media (max-width: 560px) {
    .cvp-modal { padding: 0; align-items: stretch; }
    .cvp-modal__panel {
        max-width: none;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        padding: 22px 18px 26px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        -webkit-overflow-scrolling: touch;
    }
    .cvp-modal__title { font-size: 20px; }
    .cvp-btn--primary { font-size: 16px; padding: 16px 20px; }
}
