/* Scoped to accepted v2 forms. Contact form and page design remain unchanged. */
.lf-pref-v2-active>:not(.lf-pref-v2){display:none!important}
.lf-pref-v2-scope .lf-dialog-actions,.lf-pref-v2-scope .lf-skip-preferences,.lf-pref-v2-scope .lf-edit-preferences{display:none!important}
.lf-pref-v2{color:inherit;padding:4px 0 12px;max-width:620px;margin:0 auto}
.lf-pref-v2 h3{font-family:inherit!important;font-size:clamp(25px,5vw,32px)!important;line-height:1.2!important;font-weight:500!important;margin:8px 0 20px!important;letter-spacing:-.015em!important;outline:none}
.lf-pref-v2 h3::before,.lf-pref-v2 h3::after,.lf-pref-v2 button::before,.lf-pref-v2 button::after{content:none!important}
.lf-pv-kicker{font:inherit;font-size:13px;line-height:1.4;margin:0 0 8px}
.lf-pv-intro{font:inherit;font-size:15px;line-height:1.5;margin:0 0 18px}
.lf-pv-options{display:grid;gap:9px}
.lf-pv-options button{font:inherit!important;letter-spacing:normal!important;text-transform:none!important;line-height:1.35!important;font-size:17px!important;text-align:left!important;padding:13px 16px!important;min-height:48px!important;height:auto!important;width:100%!important;cursor:pointer;border:1px solid color-mix(in srgb,currentColor 30%,transparent)!important;border-radius:3px!important;background:transparent!important;color:inherit!important;box-shadow:none!important}
.lf-pv-options button:hover,.lf-pv-options button[aria-pressed=true]{border-color:currentColor!important;background:color-mix(in srgb,currentColor 7%,transparent)!important}
.lf-pv-zone{display:flex!important;align-items:center;justify-content:space-between;gap:14px;margin:18px 0!important;font-size:14px!important}
.lf-pv-zone select{font:inherit!important;font-size:14px!important;background:transparent!important;color:inherit!important;padding:9px!important;max-width:75%;min-height:44px!important;border:1px solid color-mix(in srgb,currentColor 25%,transparent)!important}
.lf-pv-nav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px;font-size:13px}
.lf-pref-v2 .lf-pv-text,.lf-pref-v2 [data-pv-retry]{font:inherit!important;font-size:13px!important;letter-spacing:normal!important;text-transform:none!important;min-height:44px!important;height:auto!important;padding:10px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;text-decoration:underline;cursor:pointer}
.lf-pv-status{font-size:13px;line-height:1.5;min-height:22px;margin-top:6px}.lf-pv-status button{margin-left:12px}
.lf-pv-brief{display:grid}.lf-pv-brief button{font:inherit!important;display:grid;grid-template-columns:1fr 1.6fr auto;gap:12px;align-items:center;min-height:52px!important;padding:12px 0!important;border:0!important;border-bottom:1px solid color-mix(in srgb,currentColor 18%,transparent)!important;border-radius:0!important;background:transparent!important;color:inherit!important;text-align:left!important;letter-spacing:normal!important;text-transform:none!important;cursor:pointer;font-size:14px!important;line-height:1.5!important}.lf-pv-brief strong{font-weight:500;overflow-wrap:anywhere}.lf-pv-brief small{font-size:12px;text-decoration:underline}.lf-pv-known{margin-top:8px;font-size:14px}.lf-pv-known summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.lf-pref-v2 button:focus-visible,.lf-pref-v2 select:focus-visible,.lf-pv-known summary:focus-visible{outline:2px solid currentColor!important;outline-offset:3px}
@media(max-width:400px){.lf-pref-v2 h3{font-size:25px!important;margin-bottom:17px!important}.lf-pv-options{gap:8px}.lf-pv-options button{padding:12px!important}.lf-pv-brief button{grid-template-columns:1fr 1.3fr auto;gap:7px;font-size:13px!important}}

.lf-pref-v2 button:disabled{cursor:default!important;opacity:.55}.lf-pv-brief button:disabled small{visibility:hidden}
/* Accepted contact no longer asks the visitor to leave their details. */
.lf-pref-v2-scope #lf-dialog-title,.lf-pref-v2-scope [data-request-copy],.lf-pref-v2-scope.sv-lead-card>h2,.lf-pref-v2-scope.sv-lead-card>.sv-card-intro{display:none!important}
.lf-pref-v2 .lf-pv-zone{flex-direction:row!important;text-align:left!important}

/* Keep the callback, timezone and navigation within a small phone. */
@media(max-width:400px){.lf-pref-v2 h3{font-size:22px!important;margin:4px 0 10px!important;outline:none!important}.lf-pv-kicker{font-size:12px;margin-bottom:6px}.lf-pv-intro{font-size:14px;line-height:1.4;margin-bottom:10px}.lf-pv-options{gap:6px}.lf-pv-options button{font-size:16px!important;min-height:44px!important;padding:9px 12px!important}.lf-pref-v2 .lf-pv-zone{margin:8px 0!important}.lf-pv-nav{margin-top:4px}.lf-pref-v2 .lf-pv-text{padding:6px 0!important}.lf-pv-status:empty{min-height:0;margin:0}}

/* Keep Sobha inline submit stationary when focus changes during a press. */
html:has(body.sh form[data-preview-form]:focus-within){scroll-behavior:auto!important}

/* The inline section heading theme must not recolor the light-panel heading. */
.lf-pref-v2-active .lf-pref-v2 h3{color:inherit!important;text-transform:none!important;outline:none!important}

/* Mercedes has a 44px offer strip below its sticky header. */
body[data-page="mercedes-benz-places"] form[data-form-mount] .lf-pref-v2{scroll-margin-top:56px}

/* Closed native dialogs must never retain an accepted-state surface. */
html body dialog.lf-dialog:not([open]){display:none!important}
