/* Submission choices lead the existing forms; shared/legacy pages stay unchanged. */
.unified-submit .submit-choices {
  min-inline-size: 0;
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-color: #85502d;
  background: #161616;
}

.unified-submit .submit-choices legend {
  max-inline-size: 100%;
  padding-inline: .5rem;
  color: #f7f7f7;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
}

.unified-submit .submit-choices label {
  min-height: 56px;
  padding: .75rem;
  gap: .75rem;
  border: 1px solid #4a4a4a;
  color: #f4f4f4;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.unified-submit .submit-choices label:hover {
  border-color: #c57a3a;
}

.unified-submit .submit-choices label:has(input:checked) {
  border-color: #f58220;
  background: #302116;
}

.unified-submit .submit-choices label:focus-within {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.unified-submit :is(#submit-event-panel, #submit-event-photos-panel, #submit-rider-photos-panel) > h2 {
  margin: 0 0 .75rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

@media (max-width: 600px) {
  .unified-submit .submit-choices {
    padding: 1rem;
    gap: .625rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .unified-submit .submit-choices legend {
    font-size: 1.375rem;
  }

  .unified-submit .submit-choices label {
    min-height: 52px;
  }
}

/* Use the site's reading face for phone choices, retaining the existing geometry. */
@media (max-width: 600px) {
  .unified-submit .submit-choices legend {
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-weight: 700;
  }

  .unified-submit .submit-choices label {
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-weight: 600;
  }
}
