.demo-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 30px; overflow-y: auto; border: 1px solid #e7e1e6; border-radius: 24px; color: var(--ink); background: #fff; box-shadow: 0 24px 90px #17192540; }
.demo-dialog::backdrop { background: #17192599; backdrop-filter: blur(5px); }
.demo-dialog[open] { animation: demo-enter .18s ease-out; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-eyebrow { color: var(--plum); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.demo-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f7f5f7; color: var(--ink); font: 26px/1 system-ui; cursor: pointer; }
.demo-dialog h2 { margin: 12px 0 8px; font: 800 28px/1.25 Manrope, sans-serif; letter-spacing: -.035em; }
.demo-dialog #demo-description { margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.demo-form { display: flex; flex-direction: column; }
.demo-form label { margin-bottom: 7px; color: var(--ink); font-size: 14px; font-weight: 700; }
.demo-form input, .demo-form select { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #d6d2d8; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.demo-form input:focus, .demo-form select:focus { border-color: var(--plum); outline: 3px solid #6d315c20; }
.demo-form #demo-admin { margin-bottom: 18px; }
.demo-address { margin: 8px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.demo-address output { color: var(--plum); font-weight: 700; }
.demo-plan { margin: 20px 0 16px; padding: 12px 14px; border-radius: 10px; background: #f7f2f6; color: var(--plum-dark); font-size: 13px; line-height: 1.5; }
.demo-submit { width: 100%; justify-content: center; }
.demo-dialog button:disabled { opacity: .6; cursor: wait; }
.demo-error { margin: 0 0 16px; padding: 12px; border-radius: 10px; background: #fff1f2; color: #a32237; font-size: 14px; line-height: 1.5; }
.demo-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.demo-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.demo-success { padding: 24px 0 0; text-align: center; }
.demo-success-icon { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 16px; border-radius: 50%; background: #e8f7ef; color: #247c52; font-size: 26px; }
.demo-success h3 { margin: 0; font: 800 22px/1.4 Manrope, sans-serif; }
.demo-success p { color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.demo-success .demo-success-name { color: var(--ink); font-weight: 700; }
.demo-success-link { color: var(--plum); font-weight: 700; }
.demo-done { margin-top: 10px; }
.demo-dialog [hidden] { display: none !important; }
@keyframes demo-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) { .demo-dialog { padding: 22px; border-radius: 18px; } .demo-dialog h2 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .demo-dialog[open] { animation: none; } }
button.button { border: 0; font-family: inherit; cursor: pointer; }
button.button:not(.button-small) { font-size: 16px; }

.demo-location-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.demo-location-fields label { min-width: 0; }
.demo-location-fields select { margin-top: 7px; }
.demo-location-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 480px) { .demo-location-fields { grid-template-columns: 1fr; gap: 8px; } }
