.aaa-prescreening {
  padding: 56px 0 72px;
  background: var(--aa-band);
}
.aaa-prescreening__inner {
  max-width: 860px;
}
.aaa-prescreening__intro {
  margin: 0 0 24px;
  color: var(--aa-ink);
  font-size: 18px;
  line-height: 1.6;
}
.aaa-prescreening__form {
  padding: 32px;
  background: var(--aa-white);
  border: 1px solid var(--aa-line);
  box-shadow: var(--aa-shadow);
}
.aaa-prescreening__note {
  margin: 0 0 24px;
  color: var(--aa-grey-dark);
  font-size: 14px;
}
.aaa-prescreening__required {
  margin-left: 12px;
  color: var(--aa-navy);
  font-weight: 700;
}
.aaa-prescreening__section {
  margin: 0 0 32px;
}
.aaa-prescreening__section h2 {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--aa-line);
  color: var(--aa-navy);
  font-family: var(--aa-serif);
  font-size: 28px;
  font-weight: 400;
}
.aaa-prescreening__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.aaa-prescreening__field {
  min-width: 0;
}
.aaa-prescreening__field label {
  display: block;
  margin: 0 0 7px;
  color: var(--aa-ink);
  font: 700 14px/1.4 var(--aa-sans);
}
.aaa-prescreening__field input,
.aaa-prescreening__field select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--aa-grey-dark);
  background: var(--aa-white);
  color: var(--aa-ink);
  font: 16px/1.4 var(--aa-sans);
  border-radius: 0;
}
.aaa-prescreening__field input:focus,
.aaa-prescreening__field select:focus {
  outline: 3px solid var(--aa-teal);
  outline-offset: 1px;
  border-color: var(--aa-teal);
}
.aaa-prescreening__hint {
  min-height: 18px;
  margin-top: 5px;
  color: var(--aa-grey-dark);
  font-size: 13px;
  line-height: 1.4;
}
.aaa-prescreening__hint--error {
  color: #8a1f1f;
}
.aaa-prescreening__submit {
  min-width: 180px;
  justify-content: center;
  text-align: center;
}
.aaa-prescreening__date {
  position: relative;
}
.aaa-prescreening__date input[type="text"] {
  padding-right: 48px;
}
.aaa-prescreening__date-button {
  position: absolute;
  top: 1px;
  right: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: calc(100% - 2px);
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--aa-line);
  background: var(--aa-white);
  color: var(--aa-navy);
  cursor: pointer;
}
.aaa-prescreening__date-button:hover {
  background: var(--aa-band);
}
.aaa-prescreening__date-button:focus-visible {
  outline: 3px solid var(--aa-teal);
  outline-offset: -3px;
}
.aaa-prescreening__field .aaa-prescreening__date-picker {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 44px;
  height: calc(100% - 2px);
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.aaa-prescreening__errors,
.aaa-prescreening__result {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--aa-teal);
  background: var(--aa-sky);
  color: var(--aa-navy);
}
.aaa-prescreening__errors {
  border-left-color: #8a1f1f;
  background: #f8e6e6;
  color: #5c1414;
}
.aaa-prescreening__result--ineligible,
.aaa-prescreening__result--duplicate,
.aaa-prescreening__result--unavailable {
  border-left-color: #8a1f1f;
  background: #f8e6e6;
  color: #5c1414;
}
.aaa-prescreening__result--eligible {
  border-left-color: var(--aa-teal);
  background: var(--aa-sky);
  color: var(--aa-navy);
}
.aaa-prescreening__result p:first-child {
  margin-top: 0;
}
.aaa-prescreening__result p:last-child {
  margin-bottom: 0;
}
.aaa-prescreening__reasons {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.aaa-prescreening__reasons li {
  margin-bottom: 6px;
}
.aaa-prescreening__locked {
  opacity: .7;
}
@media (max-width: 700px) {
  .aaa-prescreening__form { padding: 22px; }
  .aaa-prescreening__grid { grid-template-columns: 1fr; }
  .aaa-prescreening__section h2 { font-size: 24px; }
}

.aaa-prescreening__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.aaa-prescreening__result--preview {
  border-left-color: var(--aa-grey-dark);
  background: var(--aa-band);
  color: var(--aa-ink);
}
