.legacy-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.52);backdrop-filter:blur(3px)}
.legacy-modal-card{width:min(100%,30rem);border:1px solid #cbd5e1;border-radius:1.25rem;background:#fff;padding:1.5rem;box-shadow:0 24px 70px rgba(15,23,42,.26);color:#0f172a}
.legacy-modal-card h3{margin:.25rem 0 .5rem;font-size:1.3rem;font-weight:800}
.legacy-modal-card p{margin:0 0 1.25rem;color:#64748b;line-height:1.45}
.legacy-modal-kicker{color:#059669;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.legacy-modal-danger .legacy-modal-kicker{color:#e11d48}
.legacy-modal-card label{display:grid;gap:.4rem;margin-top:.9rem;color:#334155;font-size:.8rem;font-weight:700}
.legacy-modal-card input{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:.7rem;background:#f8fafc;padding:.72rem .8rem;color:#0f172a;font:inherit;outline:none}
.legacy-modal-card input:focus{border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.14)}
.legacy-modal-error{margin-top:.65rem;color:#be123c;font-size:.78rem;font-weight:700}
.legacy-modal-actions{display:flex;justify-content:flex-end;gap:.65rem;margin-top:1.35rem}
.legacy-modal-actions button{border:0;border-radius:.7rem;padding:.72rem 1rem;font:inherit;font-weight:800;cursor:pointer}
.legacy-modal-secondary{border:1px solid #cbd5e1!important;background:#fff;color:#334155}
.legacy-modal-primary{background:#059669;color:#fff}
.legacy-modal-danger-button{background:#e11d48;color:#fff}
@media(max-width:520px){.legacy-modal-card{padding:1.2rem;border-radius:1rem}.legacy-modal-actions{display:grid;grid-template-columns:1fr}.legacy-modal-actions button{width:100%}}
