[data-lead-form] .lead-optional { font-weight: 400; }
[data-lead-form] input[type=file] {
  min-width: 0;
  min-height: 44px;
  padding: 4px 8px;
  font-size: 16px;
}
[data-lead-form] input[type=file]::file-selector-button {
  min-height: 34px;
  margin-inline-end: 8px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
[data-lead-form] .lead-privacy { display: block; margin-top: 12px; font-size: 13px; }
[data-lead-form] button[type=submit] { margin-top: 14px; }
.offer-form > small { color: var(--mute); }

[data-lead-form] [role=status].lead-receipt {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-top: 18px;
  padding: clamp(14px, 2.5vw, 22px);
  border: 1px solid #88ae9b;
  border-radius: var(--radius, 12px);
  background: var(--good, #d6ede3);
  color: #143c2d;
  line-height: 1.45;
}
.lead-receipt > svg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #24654a;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lead-receipt span { display: block; overflow-wrap: anywhere; }
.lead-receipt strong { display: block; font-size: clamp(20px, 3vw, 25px); line-height: 1.15; }
.lead-receipt-reference { margin-block: 5px 8px; font-variant-numeric: tabular-nums; font-weight: 650; }
.lead-receipt-reference b { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .lead-receipt { animation: lead-receipt-in 220ms ease-out both; }
  .lead-receipt path { stroke-dasharray: 1; animation: lead-check-in 300ms 90ms ease-out both; }
  @keyframes lead-receipt-in { from { opacity: .55; transform: translateY(5px); } }
  @keyframes lead-check-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
