.home-form .spot-form.signup {
  grid-template-columns: 1fr;
  align-content: start;
}
.signup .step[hidden],
.signup .self-birth[hidden],
.signup .child-birth[hidden],
.signup .child-extra[hidden] {
  display: none !important;
}
.signup .child-birth,
.signup .child-extra,
.signup .self-birth,
.signup .time-group {
  display: grid;
  gap: 10px;
}
.signup .step {
  display: grid;
  gap: 10px;
}
.signup .step-kicker {
  margin: 0;
  color: var(--brand);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.signup h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}
.signup h3:focus {
  outline: none;
}
.signup h3.person-name {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}
.signup .step-nav button[hidden] {
  display: none !important;
}
.signup .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.signup .for-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #f3f3f7;
  border-radius: 12px;
  background: #fff;
  box-shadow: -1px 2px 6px 1px #0000001c;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}
.signup .for-child:has(input:checked) {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px #17b4ac55;
}
.signup .for-child input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #0f766e;
  flex: none;
}
.signup .date-field,
.home-form .signup .date-field {
  display: grid;
  gap: 6px;
}
.signup .date-field > span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}
.signup .date-parts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.4fr);
  align-items: center;
  min-width: 0;
  border: 1px solid #f3f3f7;
  border-radius: 12px;
  background: #fff;
  box-shadow: -1px 2px 6px 1px #0000001c;
  overflow: hidden;
}
.signup .date-parts:focus-within {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px #17b4ac55;
}
.signup .date-slash {
  color: #9a9a9a;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.home-form .signup .date-field .date-part {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 8px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #333;
  text-align: center;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.home-form .signup .date-field .date-part:hover,
.home-form .signup .date-field .date-part:active,
.home-form .signup .date-field .date-part:focus-visible {
  transform: none;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
}
.signup .step-error {
  min-height: 1.2em;
  margin: 0;
  color: #9a3412;
  font-family: var(--sans);
  font-size: 14px;
}
.signup .step-error:empty {
  display: none;
}
.signup .times-for,
.signup .slot-empty,
.signup .day-name {
  margin: 0;
  font-family: var(--sans);
}
.signup .times-for,
.signup .slot-empty {
  color: var(--muted);
  font-size: 15px;
}
.signup .times-for {
  color: #161411;
  font-weight: 700;
}
.signup .slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.signup .day-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.signup .day-col {
  display: grid;
  gap: 8px;
  align-content: start;
}
.signup .slot {
  display: grid;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #f3f3f7;
  border-radius: 12px;
  background: #fff;
  box-shadow: -1px 2px 6px 1px #0000001c;
  color: #111;
  cursor: pointer;
  text-align: left;
  text-transform: none;
}
.signup .slot-time {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
}
.signup .class-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
}
.signup .slot.is-picked {
  border-color: #0f766e;
  background: #e7f8f6;
  box-shadow: 0 0 0 2px #17b4ac;
}
.signup .slot-date {
  color: #5e584f;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}
.signup .week-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.signup .week-bar[hidden] {
  display: none;
}
.signup .week-shift {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid #d9d4cc;
  border-radius: 8px;
  background: #fff;
  color: #161411;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.signup .week-shift:disabled {
  cursor: default;
  opacity: 0.4;
}
.signup .class-date {
  flex: 1 1 auto;
  margin: 0;
  color: #161411;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.signup .confirm-note {
  margin: 0;
  color: #161411;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.signup .confirm-list {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.signup .confirm-person {
  margin: 0;
  color: #161411;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
}
.signup .confirm-when {
  margin: 2px 0 0;
  color: #161411;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}
.signup.is-confirmed .form-promise,
.signup.is-confirmed .form-status {
  display: none;
}
@media (max-width: 560px) {
  .signup .week-bar {
    flex-wrap: nowrap;
  }
  .signup .class-date {
    flex: 1 1 auto;
    order: 0;
  }
}
.signup .step-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}
.signup .step-nav .back,
.signup .step-nav .spot-submit {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}
.signup .slot-grid.groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.home-form .signup .spot-submit,
.home-form .signup .back {
  width: 100%;
  min-height: 48px;
  margin: 0;
  font-size: 18px;
}
.signup .back {
  border: 1px solid #d9d4cc;
  border-radius: 8px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-family: "Palatino Linotype", Palatino, "Liberation Serif", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .signup .pair,
  .signup .slot-grid {
    grid-template-columns: 1fr;
  }
}

.signup-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 28px 8px 28px 28px;
}
#visit.home-form .visit-panel,
#enroll.home-form .visit-panel {
  min-height: 220px;
}
@media (min-width: 861px) {
  #visit.home-form .enroll-grid,
  #enroll.home-form .enroll-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  #visit.home-form .visit-panel,
  #enroll.home-form .visit-panel {
    min-height: 280px;
  }
}
.signup-launch .btn {
  min-height: 52px;
  padding: 16px 28px;
}
.signup-dialog {
  width: min(520px, calc(100vw - 24px));
  max-height: min(92dvh, 900px);
  margin: auto;
  padding: 8px 22px 22px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #161411;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  overflow: auto;
}
.signup-dialog::backdrop {
  background: rgba(7, 7, 8, 0.72);
}
.signup-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  height: 40px;
  margin: 0 -8px 0 0;
  background: linear-gradient(#fff 65%, rgb(255 255 255 / 0));
}
.signup-close {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #111;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}
.signup-close:hover,
.signup-close:focus-visible {
  background: #f3efe8;
}
#visit .signup-dialog .spot-form,
#enroll .signup-dialog .spot-form {
  width: 100%;
  margin: 0;
  justify-self: stretch;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.signup-dialog .step,
.signup-dialog .pair,
.signup-dialog .field,
.signup-dialog .form-title,
.signup-dialog h3,
.signup-dialog .step-kicker {
  min-width: 0;
  max-width: 100%;
}
.signup-dialog .field input {
  min-width: 0;
  width: 100%;
}
