/* Use the same local map and project card as the newer quizzes. */
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) :is(#mapFrame,#phoneVis,.livepill,.m-hero-tip){display:none!important}
.bp-legacy-contact .sf-contact{font-family:var(--f,system-ui)}
.bp-legacy-contact .sf-message-icon img{width:100%;height:100%;object-fit:contain}
.bp-legacy-contact .sf-message-preview{padding:38px 18px 18px}
.bp-legacy-contact .sf-message-card{margin:0;max-width:580px;width:min(100%,580px)}
.bp-legacy-contact .sf-message-details>div{padding:9px 0}
.bp-legacy-contact .sf-message-details dt{font-size:11px;line-height:1.3}
.bp-legacy-contact .sf-message-details dd{font-size:14px;line-height:1.35}
.bp-legacy-contact .sf-message-brand b{font-size:20px}
.bp-legacy-contact .sf-message-brand small{font-size:11px}
.bp-legacy-contact .sf-message-icon{width:38px;height:38px}
.bp-legacy-contact .sf-message-footer{font-size:11px;padding:10px}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .q-card{height:300px!important;transition:none}
.bp-legacy-contact[data-step=phone] .q-card{height:365px!important}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .q-head .tip{display:none}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .q-help{white-space:normal;overflow:visible}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .q-scroll{flex:1;display:flex;overflow:auto;justify-content:center;padding:10px 6px 6px}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .inwrap{flex:0 0 auto;gap:6px;padding:0;min-height:0}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .inwrap .inp{flex:none;width:520px;max-width:100%;height:56px;min-height:56px;padding:10px 16px;font-size:24px;border:1.5px solid #d8dee8}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .inhint:empty{display:none}
.bp-legacy-contact .sf-input-label{margin:0;font-size:13px;color:#64748b}
.bp-legacy-contact .bp-consent{margin:3px auto 0;flex:none}
.bp-legacy-contact .sf-contact-note{margin:4px 0;text-align:center;font-size:11px;color:#7c8796;flex:none}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .m-preview{height:clamp(230px,36svh,350px);max-height:none}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .m-qpanel{justify-content:flex-start;overflow-y:auto;gap:9px;padding-top:18px}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .m-qpanel>*{flex-shrink:0}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .m-inwrap{flex:0 0 auto;padding:8px 0 0;gap:7px}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .m-field{height:54px;min-height:54px;width:min(100%,520px);padding:10px 14px;font-size:23px;flex:none}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .m-title{font-size:21px;line-height:1.2}
.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .m-help{font-size:13px;line-height:1.4}
.bp-legacy-contact .results{overflow:auto;padding:0;align-items:flex-start;justify-content:center}
.bp-legacy-contact .results.show{display:flex}
.bp-legacy-contact :is(.results-card,.r-card){display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;width:min(100%,760px);height:auto;min-height:100dvh;max-height:none;background:#fff;border:0;border-radius:0;padding:20px 20px max(30px,env(safe-area-inset-bottom));gap:12px;box-shadow:none}
.bp-legacy-contact .results .r-contractor{display:none}
html[data-bp-partner="resolved"] .bp-legacy-contact .results .r-contractor{display:block}
.bp-legacy-contact .results .r-atticbox{display:block;width:100%;max-width:640px;aspect-ratio:3/2;height:auto;max-height:none;flex-shrink:0;background:#f3f5f8;border-radius:20px;overflow:hidden;box-shadow:none}
.bp-legacy-contact .results .r-atticbox img{display:block;width:100%;height:100%;object-fit:contain}
.bp-legacy-contact .results .r-title{font-size:28px;line-height:1.2;margin:0}
.bp-legacy-contact .results .r-kicker{margin:0}
.bp-legacy-contact .results .reset{margin-top:12px;min-height:44px}
.bp-legacy-contact .results .bp-completion{margin:8px auto}
.bp-result-summary{width:100%;max-width:600px;margin:16px auto;text-align:left;padding:0 12px}
.bp-result-summary>div{display:grid;grid-template-columns:1fr 1.2fr;gap:14px;padding:10px 0;border-bottom:1px solid #e4e8ee;font:500 .85rem/1.5 var(--f,system-ui)}
.bp-result-summary dt{color:#64748b}.bp-result-summary dd{margin:0;font-weight:700;color:#243249;overflow-wrap:anywhere}
.bp-result-review{min-height:44px;padding:10px 16px;border:1px solid #d8dee8;background:#fff;border-radius:10px;font:700 14px var(--f,system-ui);color:#243249;cursor:pointer}
.bp-result-review:focus-visible{outline:3px solid var(--bp-brand,#2563eb);outline-offset:3px}
@media(min-width:1101px){
 .bp-legacy-contact .results{padding:32px}
 .bp-legacy-contact .results .results-card{width:540px;border:1px solid #e4e8ee;border-radius:28px;box-shadow:0 1px 2px #1e293b0d,0 40px 90px -40px #1e293b66}
}
@media(max-width:600px){
 .bp-legacy-contact .sf-message-preview{padding:28px 12px 10px}
 .bp-legacy-contact .sf-message-card{padding:12px 13px 0;border-radius:17px}
 .bp-legacy-contact .sf-message-brand b{font-size:16px}
 .bp-legacy-contact .sf-message-brand{margin-bottom:8px}
 .bp-legacy-contact .sf-message-details>div{padding:6px 0}
 .bp-legacy-contact .sf-message-details dt{font-size:10px}
 .bp-legacy-contact .sf-message-details dd{font-size:12px}
 .bp-legacy-contact .sf-message-footer{margin:6px -13px 0;padding:8px;font-size:10px}
 .bp-legacy-contact .sf-message-icon{width:30px;height:30px}
 .bp-legacy-contact .sf-contact-kicker{top:9px;font-size:8px}
}
@media(max-height:650px){.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .m-preview{height:190px;min-height:190px}.bp-legacy-contact .sf-message-preview{overflow:auto;align-items:flex-start}.bp-legacy-contact .sf-message-card{flex-shrink:0}}
