#booking {
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

#booking .dialog-eyebrow { margin-bottom: 1rem; }
#booking h2 { margin-bottom: .75rem; }

.lead-form {
  display: grid;
  gap: .85rem;
  margin-block: 1rem;
  text-align: left;
}

.lead-form[hidden], #lead-status[hidden] { display: none; }
.lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.lead-form label { font-size: .875rem; line-height: 1.4; }
.lead-form label > input { margin-top: .3rem; }

.lead-form input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  min-height: 2.8rem;
  padding: .55rem .65rem;
  border: 1px solid #a0a89e;
  border-radius: .45rem;
  background: #0e120f;
  color: #f4f5ed;
  color-scheme: dark;
  font: inherit;
  font-size: 16px;
}

.lead-consent { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .6rem; }
.lead-consent input { width: 1.125rem; height: 1.125rem; margin-top: .15rem; accent-color: #ff6826; }
.lead-consent a { color: #ffad87; text-decoration: underline; font-size: .875rem; }
.lead-optional { color: #c0c8bd; }
.lead-trap { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
#booking .lead-form .button { width: 100%; margin: 0; justify-content: center; }
#booking .lead-form .button:disabled { opacity: .65; cursor: wait; }
#booking #lead-status { margin-block: .75rem; }
#booking #lead-status[data-state="error"] { color: #ffbc9e; }
#booking #lead-status[data-state="sent"] { color: #d2f6c6; }

@media (max-width: 430px) {
  .lead-fields { grid-template-columns: 1fr; }
}
