.mcsp-overlay, .mcsp-overlay * { box-sizing: border-box; }
.mcsp-overlay { align-items: center; background: rgba(12,18,25,.68); display: flex; inset: 0; justify-content: center; overflow-y: auto; padding: 24px; position: fixed; z-index: 999999; }
.mcsp-overlay[hidden] { display: none; }
.mcsp-dialog { animation: mcsp-enter 180ms ease-out; background: #fff; border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.28); color: #17212b; font-family: inherit; max-width: 520px; padding: 42px; position: relative; width: 100%; }
.mcsp-close { align-items: center; background: transparent; border: 0; border-radius: 50%; color: #4b5563; cursor: pointer; display: flex; font-size: 30px; height: 38px; justify-content: center; line-height: 1; padding: 0; position: absolute; right: 12px; top: 10px; width: 38px; }
.mcsp-close:hover { background: #f1f3f5; color: #111827; }
.mcsp-dialog :focus-visible { outline: 3px solid #2271b1; outline-offset: 2px; }
.mcsp-content h2 { color: inherit; font-size: clamp(26px,4vw,36px); line-height: 1.15; margin: 0 0 12px; text-align: center; }
.mcsp-content > p { color: #56616d; font-size: 16px; line-height: 1.6; margin: 0 auto 26px; text-align: center; }
.mcsp-field { margin-bottom: 16px; }
.mcsp-field label { color: #27313b; display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.mcsp-field input { background: #fff; border: 1px solid #b7c0c8; border-radius: 6px; color: #17212b; font: inherit; font-size: 16px; height: 48px; margin: 0; padding: 10px 12px; width: 100%; }
.mcsp-field input:focus { border-color: #2271b1; }
.mcsp-submit { background: #17212b; border: 0; border-radius: 6px; color: #fff; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; min-height: 50px; padding: 12px 20px; width: 100%; }
.mcsp-submit:hover { background: #293847; }
.mcsp-submit:disabled { cursor: wait; opacity: .65; }
.mcsp-form-status { font-size: 14px; margin-top: 12px; min-height: 20px; text-align: center; }
.mcsp-form-status.is-success { color: #08752c; }
.mcsp-form-status.is-error { color: #b42318; }
.mcsp-honeypot { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
body.mcsp-popup-open { overflow: hidden !important; }
@keyframes mcsp-enter { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) { .mcsp-overlay { padding: 14px; } .mcsp-dialog { padding: 38px 22px 26px; } }
@media (prefers-reduced-motion: reduce) { .mcsp-dialog { animation: none; } }
