/* v6: Leads, Formulare, Newsletter */
.lf .lf-req { color: var(--red); font-weight: 600; }
.lf-lab { font-size: .9rem; font-weight: 500; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-err:empty { display: none; }
.lf-err a { color: inherit; font-weight: 500; }
.lf .input[aria-invalid="true"], .lf .select[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.lf .check input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.lf .check a { text-decoration: underline; text-underline-offset: 3px; }
.lf .select:disabled { background: var(--bg-2); color: var(--ink-3); }
.lf-ta { height: auto; min-height: 132px; padding: 12px 14px; line-height: 1.45; resize: vertical; font-family: inherit; }
.lf-actions { justify-content: space-between; margin-top: 6px; }
.lf-actions .btn[type="submit"] { margin-left: auto; }
.lf .seg button { min-height: 44px; }
.lf-dealer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--bg-2); border-radius: 2px; }
.lf-dealer .s { font-size: .88rem; color: var(--ink-3); }
.lf-dealer .tlink { flex: none; font-size: .92rem; }
.lf-more { border: 1px solid var(--line); border-radius: 2px; }
.lf-more summary { padding: 14px 16px; font-weight: 500; font-size: .95rem; cursor: pointer; }
.lf-more > div { padding: 0 16px 16px; }
.lf-done { scroll-margin-top: calc(var(--hdr) + 16px); }
.lf-done h2:focus { outline: none; }
#tdFlow { scroll-margin-top: calc(var(--hdr) + 16px); }
@media (max-width: 519px) { .lf-actions .btn { flex: 1 1 auto; } }

/* Published forms opened from the site CTAs */
.hsf { display: grid; gap: 10px; max-width: 560px; }
.hsf h3 { margin: 0; }
.hsf-sub { color: var(--ink-2); font-size: .95rem; }
#ftr .hsf h3 { color: #fff; }
#ftr .hsf-sub { color: #b9b7b2; }
#ftr .hsf .btn { background: #fff; border-color: #fff; color: var(--ink); }
#ftr .hsf .btn:hover { background: #e9e7e3; border-color: #e9e7e3; }
.embed-form {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0 clamp(16px, 4vw, 32px) clamp(16px, 4vw, 32px);
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  overscroll-behavior: contain;
}
.embed-form::backdrop { background: rgb(0 0 0 / .65); }
.embed-form-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px 16px;
  background: var(--bg);
}
.embed-form-head button { flex: none; }
.embed-form-content { margin-top: 18px; min-width: 0; }
.embed-form-content > iframe { display: block; width: 100%; height: min(70dvh, 720px); border: 0; }
