.reg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 72rem;
}
@media (min-width: 54rem) {
  .reg-layout {
    grid-auto-flow: column;
    grid-auto-columns: minmax(16rem, .42fr);
  }
}
.reg-finder-help {
  padding: clamp(1.15rem, 2.3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
.reg-finder-help h2 {
  margin-bottom: .5rem;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.reg-finder-help a {font-size: .95rem;}
.reg-finder-help .reg-finder-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 1rem 0 .65rem;
  padding: .55rem 1rem;
  border: 1px solid #087170;
  border-radius: 999px;
  color: #075d5b;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.reg-finder-link:hover, .reg-finder-link:focus-visible {background: #edf7f7;}
.reg-finder-shortcut {display: none;}
@media (width < 54rem) {
  .reg-finder-shortcut {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #075d5b;
    font-weight: 600;
  }
  .rh-registration .reg-finder-shortcut + .reg-section {margin-block-start: .45rem;}
  .rh-registration + .reg-finder-help {padding: 0; border: 0;}
  .rh-registration + .reg-finder-help :is(h2, p, .reg-finder-link) {display: none;}
}

.rh-registration {
  --reg-teal: #087170;
  --reg-danger: #902f24;
  --reg-muted: var(--muted, #555b62);
  --reg-line: var(--line, #dedfe3);
  --reg-ink: var(--ink, #191b1d);
  container: registration / inline-size;
  width: 100%;
  min-width: 0;
  color: var(--reg-ink);
  line-height: 1.5;
}
.rh-registration *, .rh-registration *::before, .rh-registration *::after { box-sizing: border-box; }
.rh-registration [hidden] { display: none !important; }
.rh-registration :is(input, select, textarea, button) { font: inherit; }
.rh-registration :is(input, select, textarea, button, a, [tabindex]) {
  scroll-margin-block: 6.25rem 1rem;
}
.rh-registration :is(input, select, textarea, button, a, [tabindex]):focus-visible {
  outline: 3px solid var(--reg-ink);
  outline-offset: 3px;
}
.rh-registration .reg-panel {
  margin: 0;
  min-width: 0;
  padding: clamp(1.1rem, 5cqw, 2.5rem);
  border: 1px solid var(--reg-line);
  border-radius: clamp(1.25rem, 4cqw, 1.8rem);
  background: #fff;
  box-shadow: 0 2px 7px rgb(24 28 33 / 4%);
}
.rh-registration .reg-panel h2 {
  max-width: 26ch;
  margin: 0;
  color: var(--reg-ink);
  font-size: clamp(1.58rem, 5.4cqw, 2.35rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.rh-registration .reg-panel h2 + p,
.rh-registration .reg-panel > p + p { margin-block-start: .65rem; }
.rh-registration .reg-note {
  max-width: 63ch;
  color: var(--reg-muted);
  font-size: .94rem;
  line-height: 1.5;
}
.rh-registration .reg-stepper {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: .4rem;
  padding: 0;
  margin: 0 0 1.6rem;
}
.rh-registration .reg-stepper li {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: .48rem .05rem 0;
  border-block-start: 4px solid #d6dadc;
  color: var(--reg-muted);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.32;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.rh-registration .reg-stepper li:has(~ [aria-current="step"]) { border-color: var(--reg-teal); }
.rh-registration .reg-stepper li[aria-current="step"] {
  color: var(--reg-ink);
  border-color: var(--reg-ink);
  font-weight: 700;
}
.rh-registration .reg-section {
  display: block;
  min-inline-size: 0;
  margin: 1.6rem 0 0;
  padding: 0;
  border: 0;
}
.rh-registration .reg-section + .reg-section {
  margin-block-start: 1.9rem;
  border-block-start: 1px solid var(--reg-line);
}
.rh-registration .reg-section > legend {
  float: left;
  width: 100%;
  min-width: 0;
  margin: 0 0 .8rem;
  padding: 0;
  color: var(--reg-ink);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
}
.rh-registration .reg-section + .reg-section > legend { padding-block-start: 1.45rem; }
.rh-registration .reg-section > legend + * { clear: both; }
.rh-registration .reg-section.reg-date {
  margin: 0;
  border: 0;
}
.rh-registration .reg-date > legend {
  margin-block-end: .5rem;
  font-size: 1rem;
  letter-spacing: 0;
}
.rh-registration .reg-date-grid {
  display: grid;
  grid-template-columns: minmax(0, 4rem) minmax(0, 4rem) minmax(0, 5.6rem);
  gap: .5rem;
}
.rh-registration .reg-date-grid .reg-field > label { color: var(--reg-muted); font-size: .875rem; }
.rh-registration .reg-panel [data-reg-action="example"] { margin-block: .8rem .25rem; }
.rh-registration .reg-section [data-reg-action="example"] { margin-block-end: 1rem; }
.rh-registration .reg-note.reg-legal-links {
  margin: .05rem 0 .65rem 1.9rem;
  overflow-wrap: anywhere;
}
.rh-registration .reg-legal-links a {
  color: var(--reg-teal);
  text-decoration: underline;
  text-underline-offset: .19em;
}
.rh-registration .reg-check > label { flex: 1; min-width: 0; cursor: pointer; }
.rh-registration .reg-summary-group + .reg-note { margin-block-start: 1rem; }
.rh-registration .reg-summary-group p + p { margin-block-start: .45rem; }
.rh-registration .reg-panel .reg-actions > a.reg-inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
}
@container registration (max-width: 28rem) {
  .rh-registration .reg-panel .reg-actions > a.reg-inline-link { justify-content: center; }
}
.rh-registration .reg-grid,
.rh-registration .reg-choices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem 1rem;
}
.rh-registration .reg-choices { gap: .65rem; }
.rh-registration .reg-salutation {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.reg-salutation legend {padding: 0; margin-bottom: .38rem; font-weight: 650;}
.reg-salutation-options {display: flex; flex-wrap: wrap; gap: .25rem;}
.reg-salutation-options label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 3rem;
  padding: .35rem .45rem;
  border: 1px solid #b9bfc3;
  border-radius: .5rem;
  cursor: pointer;
}
.reg-salutation-options input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--reg-teal);
}
.reg-salutation-options label:has(:checked) {border-color: var(--reg-teal); background: #edf7f6;}
.reg-salutation-options label:has(:focus-visible) {outline: 3px solid var(--reg-ink); outline-offset: 2px;}
.rh-registration .reg-salutation-options input:focus-visible {outline: none;}
.reg-salutation-options label:has([aria-invalid="true"]) {border-color: var(--reg-danger);}
@container registration (min-width: 34rem) {
  .rh-registration .reg-grid,
  .rh-registration .reg-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-registration .reg-full,
  .rh-registration .reg-salutation,
  .rh-registration .reg-date {grid-column: 1 / -1;}
}
@container registration (18.75rem <= width < 48rem) {
  .rh-registration .reg-address {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: .35rem;
  }
  .rh-registration .reg-address > :first-child,
  .rh-registration .reg-address > :last-child {grid-column: span 5;}
  .rh-registration .reg-address > :nth-child(2),
  .rh-registration .reg-address > :nth-child(3) {grid-column: span 3;}
}
@container registration (min-width: 48rem) {
  .rh-registration .reg-address {grid-template-columns: minmax(0, 1.5fr) minmax(6rem, .65fr) minmax(6.5rem, .65fr) minmax(0, 1.25fr);}
}
@container registration (min-width: 58rem) {
  .rh-registration .reg-person {grid-template-columns: max-content repeat(2, minmax(0, 1fr)) minmax(14rem, 1.15fr);}
  .rh-registration .reg-salutation,
  .rh-registration .reg-date {grid-column: auto;}
}
.rh-registration .reg-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .38rem;
  min-width: 0;
  margin: 0;
  color: var(--reg-ink);
  font-weight: 650;
}
.rh-registration .reg-field :is(label, span, small) { overflow-wrap: anywhere; }
.rh-registration .reg-field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 3rem;
  border: 1px solid #7a8085;
  border-radius: .75rem;
  padding: .66rem .8rem;
  background-color: #fff;
  color: var(--reg-ink);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.4;
}
.rh-registration .reg-field textarea { min-height: 6rem; resize: vertical; }
.rh-registration .reg-field input[type="date"] { display: block; text-align: start; }
.rh-registration .reg-field input::placeholder,
.rh-registration .reg-field textarea::placeholder { color: #60676d; opacity: 1; }
.rh-registration .reg-field select {
  appearance: none;
  padding-inline-end: 2.6rem;
  background-image: linear-gradient(45deg, transparent 45%, #42484c 48% 63%, transparent 66%),
                    linear-gradient(135deg, transparent 37%, #42484c 40% 55%, transparent 58%);
  background-repeat: no-repeat;
  background-position: right 1.16rem center, right .83rem center;
  background-size: .38rem .45rem;
}
.rh-registration .reg-field small,
.rh-registration .reg-choice small {
  color: var(--reg-muted);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.4;
}
.rh-registration .reg-choice,
.rh-registration .reg-check {
  display: flex;
  align-items: flex-start;
  gap: .72rem;
  min-height: 2.85rem;
  min-width: 0;
  padding: .7rem 0;
  color: var(--reg-ink);
  overflow-wrap: anywhere;
  cursor: pointer;
}
.rh-registration .reg-choice {
  padding: .92rem 1rem;
  border: 1px solid var(--reg-line);
  border-radius: .9rem;
  background-color: #f7f8f8;
}
.rh-registration .reg-choice:has(input:checked) {
  border-color: var(--reg-teal);
  box-shadow: inset 0 0 0 1px var(--reg-teal);
  background-color: #edf9f8;
}
.rh-registration .reg-choice :is(strong, small) { display: block; }
.rh-registration .reg-choice strong { line-height: 1.35; }
.rh-registration .reg-choice small { margin-block-start: .2rem; }
.rh-registration .reg-check :is(a, button), .rh-registration .reg-inline-link {
  color: var(--reg-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .19em;
}
.rh-registration .reg-inline-link:is(button) {
  border: 0;
  padding: .42rem .1rem;
  background: transparent;
  cursor: pointer;
}
.rh-registration :is(.reg-choice, .reg-check) input {
  flex: 0 0 auto;
  width: 1.18rem;
  height: 1.18rem;
  margin: .15rem 0 0;
  accent-color: var(--reg-teal);
}
.rh-registration .reg-error, .rh-registration .reg-field .reg-error {
  margin: 0;
  color: var(--reg-danger);
  font-size: .9rem;
  font-weight: 600;
}
.rh-registration .reg-field :is(input, select, textarea)[aria-invalid="true"],
.rh-registration .reg-choice:has(input[aria-invalid="true"]) { border: 2px solid var(--reg-danger); }
.rh-registration .reg-check:has(input[aria-invalid="true"]) { color: var(--reg-danger); }
.rh-registration .reg-summary-group {
  min-width: 0;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--reg-line);
}
.rh-registration .reg-summary-group h3 {
  margin: 0 0 .5rem;
  color: var(--reg-ink);
  font-size: 1.07rem;
  line-height: 1.35;
  font-weight: 700;
}
.rh-registration .reg-summary, .rh-registration .reg-summary :is(dt, dd) { margin: 0; }
.rh-registration .reg-summary > div {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: .15rem .8rem;
  padding-block: .28rem;
}
.rh-registration .reg-summary :is(dt, dd) {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.rh-registration .reg-summary dt { color: var(--reg-muted); }
.rh-registration .reg-summary dd { font-weight: 600; }
.rh-registration .reg-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-block-start: 1.65rem;
}
.rh-registration :is(.reg-primary, .reg-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  min-height: 3rem;
  padding: .67rem 1.32rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.rh-registration .reg-primary { color: #0e1b1d; background: var(--accent, #16acab); }
.rh-registration .reg-secondary { color: var(--reg-ink); background: white; border-color: #bcc1c4; }
.rh-registration :is(.reg-primary, .reg-secondary):disabled { opacity: .6; cursor: default; }
.rh-registration .reg-pause-back { margin-block-start: 1.25rem; }
.rh-registration .reg-actions + .reg-note { margin-block-start: 1.15rem; }
@container registration (max-width: 28rem) {
  .rh-registration .reg-stepper { gap: .25rem; margin-bottom: 1.2rem; }
  .rh-registration .reg-stepper li { font-size: .8rem; }
  .rh-registration .reg-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .rh-registration .reg-summary > div { grid-template-columns: minmax(0, 1fr); padding-block: .4rem; }
}
@media (hover: hover) {
  .rh-registration .reg-choice:hover { border-color: #727a7e; }
  .rh-registration .reg-primary:hover { background: #24b8b7; }
  .rh-registration .reg-secondary:hover { border-color: #737b80; background: #f7f8f8; }
  .rh-registration .reg-inline-link:hover { text-decoration-thickness: 2px; }
}
@media (forced-colors: active) {
  .rh-registration .reg-field select { appearance: auto; background-image: none; }
  .rh-registration :is(.reg-primary, .reg-secondary), .rh-registration .reg-stepper li { border-color: ButtonText; }
  .rh-registration .reg-stepper li[aria-current="step"],
  .rh-registration .reg-choice:has(input:checked) { border-color: Highlight; }
}

.rh-registration .reg-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-block: 1.25rem .3rem;
}
.rh-registration .reg-choice-card {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: .45rem;
  min-width: 0;
  padding: clamp(1rem, 3cqw, 1.5rem);
  border: 1px solid var(--reg-line);
  border-radius: 1rem;
  background: var(--soft);
  color: var(--reg-ink);
  text-align: left;
}
.rh-registration .reg-choice-card:hover {
  background: var(--tint);
  border-color: var(--reg-teal);
}
.rh-registration .reg-choice-card strong {
  font-size: 1.25rem;
  line-height: 1.16;
}
.rh-registration .reg-choice-copy {
  display: grid;
  justify-items: start;
  gap: .45rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.rh-registration .reg-choice-detail {
  color: var(--reg-muted);
}
.rh-registration .reg-choice-badge {
  padding: .18rem .55rem;
  border: 1px solid var(--reg-teal);
  border-radius: 999px;
  background: var(--tint);
  color: #075d5b;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.2;
}
.rh-registration .reg-motif {
  width: clamp(5rem, 26cqw, 8rem);
  height: auto;
  aspect-ratio: 120 / 76;
  display: block;
  margin-block: .4rem;
  background: var(--tint);
  border-radius: .8rem;
}
@container registration (max-width: 30rem) {
  .rh-registration .reg-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rh-registration .reg-choice-card {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: .75rem;
    align-content: center;
  }
  .rh-registration .reg-choice-card .reg-motif {
    align-self: center;
    margin: 0;
  }
}

.rh-registration .reg-course {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .3rem 1rem;
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  background: #edf7f5;
  border-inline-start: 3px solid var(--reg-teal);
  border-radius: .5rem;
  overflow-wrap: anywhere;
}
.rh-registration .reg-course p { margin: .15rem 0; }
.rh-registration .reg-course small { color: var(--reg-muted); }
.rh-registration .reg-course .reg-inline-link { min-height: 44px; }
.rh-registration .reg-course-timing { color: #075d5b; font-weight: 600; }
.rh-registration .reg-panel > .reg-course { margin-block-start: 1rem; }
