:root {
  color-scheme: light;
  --brand: #1466a8;
  --brand-dark: #0a3f63;
  --brand-soft: #e9f3fc;
  --ink: #152f40;
  --muted: #5f7180;
  --line: #c9d9e5;
  --paper: #ffffff;
  --page: #edf4f8;
  --teal: #2f796d;
  --amber: #a45d1d;
  --danger: #a63a3a;
  --shadow: 0 24px 60px rgb(15 56 82 / 14%);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 22px auto 48px;
}

.paper-form {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-masthead {
  display: grid;
  grid-template-columns: 112px 1fr 112px;
  gap: 26px;
  align-items: center;
  min-height: 150px;
  padding: 24px 34px 18px;
  background:
    linear-gradient(90deg, rgb(20 102 168 / 8%), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border-bottom: 4px solid var(--brand);
}

.club-logo {
  width: 110px;
  height: auto;
  display: block;
}

.masthead-copy {
  min-width: 0;
  text-align: center;
}

.masthead-copy h1 {
  margin: 4px 0 8px;
  color: #446fc3;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.masthead-copy p {
  margin: 0;
  color: var(--muted);
}

.kicker {
  color: #8fb7df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.identity-box {
  margin: 24px 34px 0;
  padding: 18px 18px 20px;
  border: 4px solid #4a75c2;
}

.identity-box h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--brand-dark);
}

.profile-box {
  background: #f8fbfd;
}

.profile-box h2 {
  margin-bottom: 4px;
}

.upload-section {
  background: #f8fbfd;
}

.upload-intro {
  margin: 0 0 14px;
  color: #2e4353;
}

.upload-slots {
  display: grid;
  gap: 12px;
}

.upload-file-row {
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.upload-file-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.upload-file-copy strong {
  color: var(--brand-dark);
}

.upload-file-copy small {
  color: var(--muted);
}

.upload-status {
  color: var(--muted);
}

.upload-input {
  width: 100%;
  min-width: 0;
}

.upload-input::file-selector-button {
  min-height: 40px;
  margin-right: 12px;
  padding: 0 14px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 820;
  cursor: pointer;
}

.upload-status {
  margin: 12px 0 0;
  font-weight: 650;
}

.upload-status[data-tone="error"] {
  color: var(--danger);
}

.upload-status[data-tone="success"] {
  color: var(--teal);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid--identity {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid--identity .field:nth-child(3) {
  grid-column: span 2;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.radio-block legend {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #b9ccda;
  border-radius: 6px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(20 102 168 / 15%);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgb(166 58 58 / 12%);
}

.form-band {
  margin-top: 16px;
  padding: 13px 24px;
  color: #fff;
  background: var(--brand);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 850;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  padding: 26px 34px 34px;
}

.main-flow {
  min-width: 0;
  display: grid;
  gap: 26px;
}

.form-section {
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-child {
  border-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.section-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 50%;
  font-weight: 850;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.choice-block {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.choice-block h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: .96rem;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-choice {
  position: relative;
  display: inline-flex;
}

.pill-choice input,
.price-card input,
.section-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-choice span {
  min-width: 148px;
  padding: 12px 16px;
  background: #f6fafc;
  border: 1px solid #b9ccda;
  border-radius: 6px;
  text-align: center;
  font-weight: 780;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.pill-choice input:focus-visible + span,
.price-card input:focus-visible + .price-card__head {
  outline: 3px solid rgb(20 102 168 / 28%);
  outline-offset: 3px;
}

.pill-choice input:checked + span {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.affiliation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.section-choice {
  position: relative;
  display: block;
  min-width: 0;
}

.section-choice__body {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 94px;
  padding: 16px 52px 16px 18px;
  background:
    linear-gradient(135deg, rgb(20 102 168 / 9%), transparent 58%),
    #f8fbfd;
  border: 1px solid #b9ccda;
  border-radius: 6px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.section-choice__body::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #9eb8c9;
  border-radius: 999px;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.section-choice__body strong {
  color: var(--brand-dark);
  font-size: 1.04rem;
  line-height: 1.15;
}

.section-choice__body span {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.2;
}

.section-choice input:focus-visible + .section-choice__body {
  outline: 3px solid rgb(20 102 168 / 28%);
  outline-offset: 3px;
}

.section-choice input:checked + .section-choice__body {
  color: #fff;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 16%), transparent 62%),
    var(--brand);
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgb(20 102 168 / 18%);
}

.section-choice input:checked + .section-choice__body strong,
.section-choice input:checked + .section-choice__body span {
  color: #fff;
}

.section-choice input:checked + .section-choice__body::after {
  background: #fff;
  border-color: #fff;
  box-shadow: inset 0 0 0 5px var(--brand);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pricing-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 680;
}

.price-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  min-height: 134px;
  padding: 16px;
  background: #fbfdff;
  border: 1px solid #b9ccda;
  border-radius: 8px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.price-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgb(15 56 82 / 12%);
  transform: translateY(-1px);
}

.price-card:has(input:checked) {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand), 0 12px 30px rgb(20 102 168 / 15%);
}

.price-card__head {
  display: grid;
  gap: 4px;
}

.price-card__head strong {
  font-size: 1rem;
}

.price-card__head span,
.price-card__meta {
  color: var(--muted);
  font-size: .9rem;
}

.price-card__meta {
  align-self: end;
  grid-column: 1 / -1;
}

.price-card__amount {
  align-self: start;
  padding: 6px 9px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 6px;
  font-size: 1.25rem;
  font-weight: 900;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-list article {
  padding-left: 14px;
  border-left: 4px solid var(--brand);
}

.info-list h3,
.info-list p {
  margin: 0;
}

.info-list h3 {
  font-size: 1rem;
  text-decoration: underline;
}

.info-list h3 span {
  color: var(--muted);
  font-weight: 600;
}

.info-list p {
  margin-top: 5px;
  color: #263c4d;
}

.payment-box {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #f8fbfd;
  border: 1px dashed var(--brand);
  border-radius: 8px;
}

.payment-box strong {
  color: var(--brand-dark);
}

.payment-box small {
  color: var(--muted);
}

.check-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 14px 0;
}

.check-line input,
.radio-block input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.radio-block {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.radio-block p {
  margin: 0;
  color: var(--muted);
}

.radio-block label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
}

.privacy-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #f6fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.privacy-box p {
  margin: 0;
  color: #2e4353;
}

.side-panel {
  position: sticky;
  top: 18px;
  align-self: start;
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #f9fcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.document-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 21px;
}

.document-list li::marker {
  color: var(--brand);
}

.notice {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
}

.notice strong {
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.notice span {
  color: #274052;
}

.notice--important {
  background: #e7f1fa;
  border: 1px solid #9ec4e1;
}

.notice--epeak {
  background: #eaf6f3;
  border: 1px solid #9dccbf;
}

.notice--quiet {
  background: #fff6e9;
  border: 1px solid #e3b170;
}

.summary-box {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 8px;
}

.summary-label {
  color: rgb(255 255 255 / 78%);
  font-size: .88rem;
}

.summary-box strong {
  font-size: 2.2rem;
  line-height: 1;
}

.summary-box p {
  margin: 0;
  color: rgb(255 255 255 / 82%);
}

.form-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px;
  background: #f5f9fc;
  border-top: 1px solid var(--line);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.form-status[data-tone="success"] {
  color: var(--teal);
}

.form-status[data-tone="error"] {
  color: var(--danger);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 820;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
  box-shadow: none;
}

.button--primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgb(20 102 168 / 18%);
}

.button--primary:hover {
  background: #0f5793;
}

.button--secondary {
  color: var(--brand-dark);
  background: #fff;
  border-color: #adc7d9;
}

.button--secondary:hover {
  background: var(--brand-soft);
}

.button--danger {
  color: #fff;
  background: var(--danger);
}

.button--danger:hover {
  background: #a92f35;
}

.button--compact {
  min-height: 38px;
  padding: 0 12px;
  font-size: .9rem;
}

.admin-body {
  background: #eef4f8;
}

.admin-shell {
  width: min(1320px, calc(100% - 28px));
  margin: 18px auto 48px;
}

.admin-header,
.admin-toolbar,
.admin-stats,
.admin-login,
.admin-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgb(15 56 82 / 8%);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 4px solid var(--brand);
}

.admin-brand {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.admin-logo {
  width: 72px;
  height: auto;
}

.admin-brand h1 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0;
}

.admin-session {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.admin-login {
  width: min(440px, 100%);
  margin: 28px auto 0;
  padding: 24px;
}

.admin-login-form {
  display: grid;
  gap: 16px;
}

.admin-login-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 750;
}

.admin-login-separator span {
  height: 1px;
  background: var(--line);
}

.admin-login-form h2,
.admin-toolbar h2 {
  margin: 0;
  color: var(--brand-dark);
}

.admin-mfa-help {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.admin-mfa-code {
  display: grid;
  gap: 12px;
}

.admin-recaptcha {
  min-height: 78px;
}

.admin-dashboard {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.admin-toolbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.admin-toolbar p[data-tone="error"],
.admin-login .form-status[data-tone="error"] {
  color: var(--danger);
}

.admin-toolbar p[data-tone="success"],
.admin-login .form-status[data-tone="success"] {
  color: var(--teal);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.admin-search input {
  width: min(300px, 42vw);
  min-height: 38px;
  padding: 8px 11px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #b9ccda;
  border-radius: 6px;
  outline: none;
}

.admin-search input:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(20 102 168 / 15%);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.admin-stats div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
}

.admin-stats span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
}

.admin-stats strong {
  color: var(--brand-dark);
  font-size: 1.45rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--brand-dark);
  background: #f6fafc;
  font-size: .84rem;
  text-transform: uppercase;
}

.admin-table td {
  color: #1f3544;
}

.admin-table td > strong,
.admin-table td > span,
.admin-table td > small {
  display: block;
}

.admin-table small {
  margin-top: 3px;
  color: var(--muted);
}

.admin-download,
.admin-delete {
  margin: 0 6px 6px 0;
}

.admin-empty {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.confirmation-page {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 48px 34px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.confirmation-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
  letter-spacing: .04em;
}

.confirmation-page h1 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.confirmation-lead {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.confirmation-email-status {
  width: min(680px, 100%);
  margin: 0;
  padding: 12px 14px;
  color: #235747;
  background: #eaf6f3;
  border: 1px solid #9dccbf;
  border-radius: 8px;
  font-weight: 720;
}

.confirmation-email-status[data-tone="warning"] {
  color: #724816;
  background: #fff6e9;
  border-color: #e3b170;
}

.confirmation-reference {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  gap: 12px;
  margin: 8px 0 0;
}

.confirmation-reference div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #f6fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.confirmation-reference dt {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.confirmation-reference dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.confirmation-next {
  width: min(680px, 100%);
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #eaf6f3;
  border: 1px solid #9dccbf;
  border-radius: 8px;
  text-align: left;
}

.confirmation-next h2,
.confirmation-next p {
  margin: 0;
}

.confirmation-next h2 {
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.confirmation-next p {
  color: #274052;
}

@media (max-width: 980px) {
  .form-masthead {
    grid-template-columns: 86px 1fr;
  }

  .club-logo--desktop {
    display: none;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: 100%;
    margin: 0;
  }

  .admin-shell {
    width: 100%;
    margin: 0;
  }

  .admin-header,
  .admin-toolbar,
  .admin-session,
  .admin-actions {
    display: grid;
  }

  .admin-header,
  .admin-toolbar {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .admin-brand {
    align-items: start;
  }

  .admin-logo {
    width: 58px;
  }

  .admin-session,
  .admin-actions,
  .admin-search input,
  .admin-session .button,
  .admin-actions .button {
    width: 100%;
  }

  .admin-login {
    width: calc(100% - 28px);
    padding: 18px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .admin-table-wrap {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .paper-form {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .form-masthead {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 18px 16px;
    text-align: left;
  }

  .club-logo {
    width: 64px;
  }

  .masthead-copy {
    text-align: left;
  }

  .masthead-copy h1 {
    font-size: clamp(1.7rem, 8vw, 2rem);
  }

  .identity-box {
    margin: 18px 16px 0;
    padding: 14px;
  }

  .upload-file-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .upload-clear {
    width: 100%;
  }

  .field-grid--identity,
  .price-grid,
  .affiliation-grid {
    grid-template-columns: 1fr;
  }

  .field-grid--identity .field:nth-child(3) {
    grid-column: auto;
  }

  .choice-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .choice-row .pill-choice:nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  .pill-choice {
    width: 100%;
  }

  .pill-choice span {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 10px 12px;
    font-size: .96rem;
    line-height: 1.15;
  }

  .content-layout {
    padding: 22px 16px 28px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-number {
    width: 38px;
    height: 38px;
  }

  .form-actions {
    display: grid;
    padding: 18px 16px;
  }

  .confirmation-page {
    min-height: 100vh;
    padding: 40px 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .confirmation-reference {
    grid-template-columns: 1fr;
  }

  .action-row,
  .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .admin-login {
    width: 100%;
    padding: 7px;
  }

  .form-masthead {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 14px 14px;
  }

  .club-logo {
    width: 54px;
  }

  .masthead-copy h1 {
    font-size: 1.55rem;
  }

  .identity-box {
    margin-right: 12px;
    margin-left: 12px;
    padding: 12px;
  }

  .content-layout,
  .form-actions {
    padding-right: 12px;
    padding-left: 12px;
  }

  .pill-choice span {
    min-height: 52px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: .9rem;
  }

  .section-choice__body {
    min-height: 86px;
    padding: 14px 46px 14px 14px;
  }

  .section-choice__body::after {
    top: 15px;
    right: 14px;
  }
}
