.quick-lead-dialog {
 position: fixed;
 inset: auto;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: min(520px, calc(100vw - 32px));
 max-width: none;
 max-height: min(92dvh, 760px);
 height: auto;
 margin: 0;
 box-sizing: border-box;
 padding: 0;
 overflow: auto;
 overscroll-behavior: contain;
 border: 1px solid #dfe5df;
 border-radius: 20px;
 background: #fff;
 color: #202b32;
 box-shadow: 0 24px 80px #10201838;
}
.quick-lead-dialog[open] { animation: quick-lead-enter .2s ease-out; }
@keyframes quick-lead-enter {
 from { opacity: 0; transform: translate(-50%, calc(-50% + 10px)) scale(.99); }
 to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.quick-lead-dialog::backdrop { background: #14221dcc; backdrop-filter: blur(3px); }
.quick-lead-form { display: grid; gap: 13px; margin: 0; padding: 20px; border: 0; }
.quick-lead-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.quick-lead-head h2 { margin: 0; color: #202b32; font-size: clamp(22px, 5vw, 29px); line-height: 1.18; }
.quick-lead-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #dfe5df; border-radius: 50%; background: #f5f3ee; color: #202b32; font-size: 25px; cursor: pointer; }
.quick-lead-context { margin: 0; padding: 13px 15px; border-radius: 12px; background: #f5f3ee; color: #465158; font-size: 14px; line-height: 1.5; }
.quick-lead-form > label:not(.quick-lead-consent):not(.quick-lead-trap) { display: grid; gap: 7px; margin: 0; color: #202b32; font-size: 14px; font-weight: 650; }
.quick-lead-form input:not([type=checkbox]), .quick-lead-form textarea { width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #cbd4ce; border-radius: 10px; background: #fff; color: #202b32; font: inherit; font-size: 16px; }
.quick-lead-form textarea { min-height: 90px; resize: vertical; }
.quick-lead-form input:focus-visible, .quick-lead-form textarea:focus-visible, .quick-lead-close:focus-visible, .quick-lead-submit:focus-visible { outline: 3px solid #e28512; outline-offset: 2px; }
.quick-lead-consent { display: flex; align-items: flex-start; gap: 10px; color: #465158; font-size: 13px; line-height: 1.5; }
.quick-lead-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #417453; }
.quick-lead-consent a { color: #315d3d; text-underline-offset: 3px; }
.quick-lead-submit { min-height: 52px; padding: 12px 18px; border: 0; border-radius: 12px; background: #417453; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.quick-lead-submit:hover { background: #315d3d; }
.quick-lead-submit:disabled { opacity: .65; cursor: wait; }
.quick-lead-help, .quick-lead-status { margin: 0; color: #606a6e; font-size: 12px; line-height: 1.5; }
.quick-lead-status:empty { display: none; }
.quick-lead-error { margin: 0; padding: 11px 13px; border-radius: 10px; background: #fff0ed; color: #8d291d; font-size: 14px; line-height: 1.5; }
.quick-lead-success { display: grid; gap: 12px; padding: 26px; }
.quick-lead-success h3 { margin: 0; font-size: 23px; }
.quick-lead-success p { margin: 0; line-height: 1.6; }
.quick-lead-success a { color: #315d3d; font-weight: 700; }
.quick-lead-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.cart-quote-action { display: grid; gap: 7px; margin: 14px 0; }
.cart-quote-action button { min-height: 48px; width: 100%; padding: 11px 14px; border: 1px solid #417453; border-radius: 11px; background: #fff; color: #315d3d; font: inherit; font-weight: 700; cursor: pointer; }
.cart-quote-action p { margin: 0; color: #626d70; font-size: 12px; line-height: 1.45; }
.hero-actions [data-lead-open] { min-height: 48px; padding: 12px 16px; border: 1px solid #417453; border-radius: 10px; background: #fff; color: #315d3d; font: inherit; font-weight: 700; cursor: pointer; }
.hero-actions [data-lead-open]:hover, .cart-quote-action button:hover { background: #f5f3ee; }
.quick-lead-inline { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-top: 12px; padding: 10px 15px; border: 1px solid #417453; border-radius: 10px; background: #fff; color: #315d3d; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.quick-lead-inline:hover { background: #f5f3ee; }
.chat-lead-action { min-height: 44px; margin-top: 10px; padding: 9px 13px; border: 1px solid #417453; border-radius: 10px; background: #fff; color: #315d3d; font: inherit; font-weight: 650; cursor: pointer; }
:where([hidden]) { display: none !important; }
@media (max-width: 480px) {
 .quick-lead-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px); border-radius: 16px; }
 .quick-lead-form { gap: 11px; padding: 16px; }
 .quick-lead-success { padding: 20px; }
 .hero-actions [data-lead-open] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 .quick-lead-dialog::backdrop { backdrop-filter: none; }
 .quick-lead-dialog[open] { animation: none; }
}
