#srfm-single-page-container .srfm-form-container-9067 {
  background: #fff !important;
}

#srfm-form-9067 .srfm-slug-package-benefits.hw27-package-benefits-replaced {
  display: none !important;
}

#srfm-form-9067 .srfm-slug-participation-option .srfm-block-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#srfm-form-9067 .srfm-slug-participation-option .srfm-multi-choice-single.hw27-package-card {
  position: relative;
  align-items: stretch;
  min-width: 0;
  border: 2px solid #d8dce5;
  border-radius: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#srfm-form-9067 .srfm-slug-participation-option .srfm-multi-choice-single.hw27-package-card:hover {
  border-color: #8191ff;
  box-shadow: 0 8px 24px rgba(17, 28, 68, .1);
  transform: translateY(-1px);
}

#srfm-form-9067 .srfm-slug-participation-option .srfm-multi-choice-single.hw27-package-card.is-selected {
  border-color: #304ffe;
  box-shadow: 0 0 0 3px rgba(48, 79, 254, .14);
}

#srfm-form-9067 .hw27-package-card .srfm-block-content-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 18px;
  box-sizing: border-box;
}

#srfm-form-9067 .hw27-package-card .srfm-option-container label {
  display: block;
  color: #111c44;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}

#srfm-form-9067 .hw27-package-card .srfm-icon-container {
  position: absolute;
  top: 18px;
  right: 18px;
}

#srfm-form-9067 .hw27-package-card-copy { display: flex; flex: 1; flex-direction: column; }
#srfm-form-9067 .hw27-package-team-count { color: #304ffe; font-weight: 700; margin: 10px 0; }
#srfm-form-9067 .hw27-package-highlights { margin: 0 0 12px; padding-left: 20px; color: #30374a; }
#srfm-form-9067 .hw27-package-highlights li + li { margin-top: 5px; }
#srfm-form-9067 .hw27-package-details { border-top: 1px solid #e7e9ef; margin-top: auto; padding-top: 12px; }
#srfm-form-9067 .hw27-package-details summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  color: #223bc5;
  cursor: pointer;
  font-weight: 700;
}
#srfm-form-9067 .hw27-package-details ul { margin: 10px 0 0; padding-left: 20px; color: #4a5263; }
#srfm-form-9067 .hw27-package-details li + li { margin-top: 6px; }

#srfm-form-9067 .hw27-team-toolbar,
#srfm-form-9067 .hw27-team-count-controls,
#srfm-form-9067 .hw27-current-team-tools,
#srfm-form-9067 .hw27-team-status-manager,
#srfm-form-9067 .hw27-review-summary,
#srfm-form-9067 .hw27-team-apparel-manager {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8dce5;
  border-radius: 10px;
  background: #fff;
  padding: 18px;
  margin: 0 0 18px;
}

#srfm-form-9067 .hw27-legacy-apparel-field,
#srfm-form-9067 .hw27-apparel-storage { display: none !important; }

#srfm-form-9067 .hw27-team-apparel-manager[hidden] { display: none !important; }
#srfm-form-9067 .hw27-apparel-teams { display: grid; gap: 16px; margin-top: 18px; }
#srfm-form-9067 .hw27-apparel-team { border: 1px solid #d8dce5; border-radius: 10px; background: #f8f9fc; padding: 16px; }
#srfm-form-9067 .hw27-apparel-team-title { color: #111c44; margin: 0 0 8px; }
#srfm-form-9067 .hw27-apparel-team > label { display: grid; gap: 7px; font-weight: 600; margin: 14px 0; }
#srfm-form-9067 .hw27-apparel-products { display: grid; grid-template-columns: 1fr; gap: 16px; }
#srfm-form-9067 .hw27-apparel-product { min-width: 0; border: 1px solid #d8dce5; border-radius: 8px; background: #fff; padding: 12px; }
#srfm-form-9067 .hw27-apparel-product legend { color: #111c44; font-weight: 700; padding: 0 5px; }
#srfm-form-9067 .hw27-apparel-product-description { color: #4a5263; margin: 4px 0 10px; }
#srfm-form-9067 .hw27-apparel-product label { display: grid; gap: 6px; margin-top: 10px; font-weight: 600; }
#srfm-form-9067 .hw27-apparel-product input,
#srfm-form-9067 .hw27-apparel-product select,
#srfm-form-9067 [data-hw27-apparel-name] { width: 100%; box-sizing: border-box; border: 1px solid #aeb5c3; border-radius: 6px; background: #fff; color: #111; font: inherit; padding: 10px; }
#srfm-form-9067 .hw27-apparel-size-section { border-top: 1px solid #e7e9ef; margin-top: 16px; padding-top: 14px; }
#srfm-form-9067 .hw27-apparel-size-section[hidden] { display: none !important; }
#srfm-form-9067 .hw27-apparel-size-section h4 { color: #111c44; margin: 0; }
#srfm-form-9067 .hw27-apparel-size-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
#srfm-form-9067 .hw27-apparel-product [aria-invalid="true"],
#srfm-form-9067 [data-hw27-apparel-name][aria-invalid="true"] { border-color: #b42318; outline: 2px solid rgba(180, 35, 24, .16); }
#srfm-form-9067 .hw27-apparel-error { color: #b42318; font-weight: 600; margin: 12px 0 0; }
#srfm-form-9067 .hw27-apparel-pricing-summary { color: #111c44; font-size: 1.05em; font-weight: 700; margin: 18px 0 0; }
#srfm-form-9067 .hw27-apparel-clarification,
#srfm-form-9067 .hw27-included-apparel-note {
  border: 1px solid #cfd5e3; border-left: 4px solid #304ffe; border-radius: 8px;
  background: #f7f8fc; color: #303747; padding: 14px 16px; margin: 0 0 18px;
}
#srfm-form-9067 .hw27-apparel-clarification h3 { color: #111c44; font-size: 1.05rem; margin: 0 0 4px; }
#srfm-form-9067 .hw27-apparel-clarification h3:not(:first-child) { margin-top: 14px; }
#srfm-form-9067 .hw27-apparel-clarification p,
#srfm-form-9067 .hw27-included-apparel-note p { margin: 0; }
#srfm-form-9067 .hw27-included-apparel-note strong,
#srfm-form-9067 .hw27-included-apparel-note span { display: block; }
#srfm-form-9067 .hw27sf-tshirt-sample { border: 1px solid #d8dce5; border-radius: 10px; background: #f7f8fc; padding: 18px; }
#srfm-form-9067 .hw27sf-tshirt-sample h3 { color: #111c44; margin: 0 0 6px; }
#srfm-form-9067 .hw27sf-tshirt-sample > p { margin: 0 0 14px; }
#srfm-form-9067 .hw27sf-tshirt-sample-grid { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 780px; margin: 0 auto; }
#srfm-form-9067 .hw27sf-tshirt-sample-grid figure { margin: 0; }
#srfm-form-9067 .hw27sf-tshirt-crop { width: 100%; aspect-ratio: 790 / 893; overflow: hidden; border-radius: 7px; background: #fff; }
#srfm-form-9067 .hw27sf-tshirt-crop img { display: block; width: 156%; max-width: none; height: auto; }
#srfm-form-9067 .hw27sf-tshirt-sample-grid figcaption { color: #111c44; font-weight: 700; margin-top: 6px; text-align: center; }
#srfm-form-9067 .srfm-slug-included-uniform-colour .ts-dropdown [data-value="Blue"],
#srfm-form-9067 .srfm-slug-included-uniform-colour .ts-dropdown [data-value="Black"],
#srfm-form-9067 .srfm-slug-included-uniform-colour .ts-dropdown [data-value="White"] { display: none !important; }

#srfm-form-9067 .hw27-team-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#srfm-form-9067 .hw27-team-toolbar > strong { flex: 0 0 100%; color: #111c44; }
#srfm-form-9067 .hw27-team-count-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#srfm-form-9067 .hw27-team-count-controls > strong { margin-right: auto; color: #111c44; }
#srfm-form-9067 .hw27-team-count-controls button:disabled { cursor: not-allowed; opacity: .5; }

#srfm-form-9067 .hw27-secondary-button,
#srfm-form-9067 .hw27-team-status-link {
  min-height: 44px;
  border: 1px solid #304ffe;
  border-radius: 7px;
  background: #fff;
  color: #111c44;
  cursor: pointer;
  font: inherit;
}

#srfm-form-9067 .hw27-secondary-button { padding: 10px 14px; }
#srfm-form-9067 .hw27-team-status-list { display: grid; gap: 8px; }
#srfm-form-9067 .hw27-team-status-link { width: 100%; text-align: left; padding: 10px 12px; border-color: #d8dce5; }
#srfm-form-9067 .hw27-team-status-link.is-complete,
#srfm-form-9067 .srfm-repeater-item-header-left.is-complete::after { color: #167344; }

#srfm-form-9067 .srfm-repeater-item { border: 1px solid #d8dce5; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
#srfm-form-9067 .srfm-repeater-item-header { align-items: center; background: #f5f7fb; min-height: 58px; padding: 8px 10px; cursor: pointer; }
#srfm-form-9067 .srfm-repeater-item-header-left { flex: 1 1 auto; display: block !important; }
#srfm-form-9067 .srfm-repeater-item-header-left .srfm-repeater-label-container,
#srfm-form-9067 .srfm-repeater-item-header-left .srfm-description { display: none !important; }

#srfm-form-9067 .srfm-repeater-item-header-left::before {
  content: attr(data-hw27-title);
  display: block;
  color: #111c44;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}
#srfm-form-9067 .srfm-repeater-item-header-left::after {
  content: attr(data-hw27-status) ' ▾';
  display: block;
  color: #a04422;
  font-size: .9em;
  font-weight: 600;
  line-height: 1.35;
}
#srfm-form-9067 .srfm-repeater-item-header[aria-expanded="false"] .srfm-repeater-item-header-left::after {
  content: attr(data-hw27-status) ' ▸';
}
#srfm-form-9067 .hw27-team-collapsed > .srfm-repeater-item-content { display: none !important; }
#srfm-form-9067 .hw27-team-expanded > .srfm-repeater-item-content { display: flex; }

#srfm-form-9067 .hw27-current-team-tools {
  flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px; margin: 0 0 18px; border: 1px solid #d8dce5; border-radius: 8px; background: #f5f7fb;
}
#srfm-form-9067 .hw27-same-previous { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
#srfm-form-9067 .hw27-same-previous input { width: 20px; height: 20px; }
#srfm-form-9067 .hw27-hidden { display: none !important; }
#srfm-form-9067 .srfm-repeater-item-controls { display: none !important; }

#srfm-form-9067 .hw27-review-row,
#srfm-form-9067 .hw27-review-team {
  display: grid; grid-template-columns: minmax(155px, .35fr) 1fr; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #e7e9ef;
}
#srfm-form-9067 .hw27-review-teams { display: grid; gap: 8px; }
#srfm-form-9067 .hw27-review-team { grid-template-columns: 1fr; border: 1px solid #e7e9ef; border-radius: 8px; padding: 12px; }

#srfm-form-9067 .srfm-page-break[data="Review"] .srfm-slug-review-note,
#srfm-form-9067 .srfm-page-break[data="Review"] .srfm-slug-base-package-price,
#srfm-form-9067 .srfm-page-break[data="Review"] .srfm-slug-included-teams,
#srfm-form-9067 .srfm-page-break[data="Review"] .srfm-slug-additional-team-charges,
#srfm-form-9067 .srfm-page-break[data="Review"] .srfm-slug-apparel-total,
#srfm-form-9067 .srfm-page-break[data="Review"] .srfm-slug-subtotal,
#srfm-form-9067 .srfm-page-break[data="Review"] .srfm-slug-hst,
#srfm-form-9067 .srfm-page-break[data="Review"] .srfm-slug-total { display: none !important; }

#srfm-form-9067 .hw27-review-intro { color: #4a5263; margin: 0 0 16px; }
#srfm-form-9067 .hw27-review-section { border: 1px solid #d8dce5; border-radius: 9px; background: #fff; padding: 14px 16px; }
#srfm-form-9067 .hw27-review-section + .hw27-review-section { margin-top: 12px; }
#srfm-form-9067 .hw27-review-section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
#srfm-form-9067 .hw27-review-section-header h3 { color: #111c44; font-size: 1.08rem; margin: 0; }
#srfm-form-9067 .hw27-review-edit { min-height: 44px; border: 0; background: transparent; color: #223bc5; cursor: pointer; font: inherit; font-weight: 700; padding: 8px; text-decoration: underline; }
#srfm-form-9067 .hw27-review-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #111c44; font-size: 1.16rem; padding: 14px 0 2px; border-top: 2px solid #111c44; margin-top: 8px; }

#srfm-form-9067 .hw27-payment-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 2px solid #111c44; border-radius: 10px; background: #f7f8fc; color: #111c44; font-size: 1.1rem; padding: 16px 18px; margin: 0 0 18px; }
#srfm-form-9067 .hw27-payment-summary strong { font-size: 1.3rem; }
#srfm-form-9067 .hw27sf-interac { border: 1px solid #cfd5e3; border-left: 4px solid #304ffe; border-radius: 9px; background: #f7f8fc; color: #303747; padding: 16px; }
#srfm-form-9067 .hw27sf-interac h3 { color: #111c44; margin: 0 0 12px; }
#srfm-form-9067 .hw27sf-interac dl { display: grid; grid-template-columns: minmax(145px, .35fr) 1fr; gap: 8px 14px; margin: 0; }
#srfm-form-9067 .hw27sf-interac dt { color: #111c44; font-weight: 700; }
#srfm-form-9067 .hw27sf-interac dd { margin: 0; }

@media (max-width: 767px) {
  #srfm-form-9067 .srfm-slug-participation-option .srfm-block-wrap { grid-template-columns: 1fr; }
  #srfm-form-9067 { box-sizing: border-box !important; padding-left: 16px !important; padding-right: 16px !important; }
  #srfm-form-9067 .hw27-team-toolbar,
  #srfm-form-9067 .hw27-team-count-controls,
  #srfm-form-9067 .hw27-current-team-tools,
  #srfm-form-9067 .hw27-team-status-manager,
  #srfm-form-9067 .hw27-review-summary,
  #srfm-form-9067 .hw27-team-apparel-manager { padding: 14px; }
  #srfm-form-9067 .hw27-team-toolbar .hw27-secondary-button,
  #srfm-form-9067 .hw27-team-count-controls .hw27-secondary-button,
  #srfm-form-9067 .hw27-current-team-tools .hw27-secondary-button { width: 100%; }
  #srfm-form-9067 .hw27-review-row { grid-template-columns: 1fr; gap: 3px; }
  #srfm-form-9067 .hw27-review-section { padding: 12px; }
  #srfm-form-9067 .hw27-review-total,
  #srfm-form-9067 .hw27-payment-summary { align-items: flex-start; flex-direction: column; gap: 5px; }
  #srfm-form-9067 .hw27sf-interac dl { grid-template-columns: 1fr; gap: 3px; }
  #srfm-form-9067 .hw27sf-interac dd + dt { margin-top: 9px; }
  #srfm-form-9067 .hw27-apparel-products { grid-template-columns: 1fr; }
  #srfm-form-9067 .hw27sf-tshirt-sample-grid { grid-template-columns: 1fr; }
  #srfm-form-9067 .hw27-apparel-size-grid { grid-template-columns: 1fr; }
  #srfm-form-9067 .srfm-repeater-item-header { align-items: flex-start; }
  #srfm-form-9067 .srfm-page-break-buttons { width: 100%; min-width: 0; }
  #srfm-form-9067 .srfm-save-resume-page-break-ctn { flex: 1 1 auto; flex-wrap: wrap; min-width: 0; max-width: 100%; }
  #srfm-form-9067 .srfm-save-resume-page-break-ctn > * { min-width: 0; }
  #srfm-form-9067 .srfm-save-resume-page-break-ctn > div { flex: 1 1 100%; }
  #srfm-form-9067 .srfm-save-resume-page-break-ctn .srfm-nxt-btn { margin-left: auto; }
}

/* Consolidated apparel presentation: original inputs and calculations retained. */
#srfm-form-9067 .hw27-repeated-apparel-copy,
#srfm-form-9067 .hw27-included-apparel-intro[hidden],
#srfm-form-9067 .hw27-included-team-panel[hidden],
#srfm-form-9067 .hw27-sponsor-apparel-skipped > * { display: none !important; }
#srfm-form-9067 .hw27-included-apparel-intro { background: #fff; border: 1px solid #d8dce5; border-radius: 10px; padding: 20px; margin: 0 0 18px; }
#srfm-form-9067 .hw27-included-apparel-intro h3 { margin: 0 0 8px; font-size: 1.2rem; }
#srfm-form-9067 .hw27-included-apparel-intro > p { margin: 0 0 14px; line-height: 1.5; }
#srfm-form-9067 .hw27-included-apparel-intro .hw27sf-apparel-preview { margin: 0; }
#srfm-form-9067 .hw27-included-team-panel { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; min-width: 0; box-sizing: border-box; padding: 20px; margin: 16px 0; border: 1px solid #d8dce5; border-radius: 10px; background: #fff; }
#srfm-form-9067 .hw27-included-team-panel > h4 { flex: 0 0 100%; margin: 0; font-size: 1.1rem; }
#srfm-form-9067 .hw27-included-team-panel > .hw27-included-badge { flex: 0 0 100%; margin: -6px 0 0; color: #166534; font-weight: 600; }
#srfm-form-9067 .hw27-included-team-panel > .srfm-block { width: calc(50% - 8px); margin: 0; min-width: 0; }
#srfm-form-9067 .hw27-included-team-panel > .srfm-slug-included-uniform-sizes { width: 100%; }
#srfm-form-9067 .hw27-team-toolbar > p { flex: 0 0 100%; margin: 0; line-height: 1.5; }
#srfm-form-9067 .hw27sf-apparel-preview > p > img { max-width: 160px; height: auto; }
@media (max-width: 600px) {
 #srfm-form-9067 .hw27-included-team-panel, #srfm-form-9067 .hw27-included-apparel-intro { padding: 14px; }
 #srfm-form-9067 .hw27-included-team-panel > .srfm-block { width: 100%; }
}
/* Keep the form opaque over the site's photographic background. */
#srfm-form-9067, #srfm-form-9067 .srfm-page-break { background-color: #fff !important; }
#srfm-form-9067 .hw27-included-apparel-intro .hw27sf-apparel-preview > p { display: block; position: static; height: auto; line-height: 1.5 !important; margin: 12px 0 !important; }
.srfm-form-container-9067 { background-color: #fff !important; }
#srfm-form-9067 .hw27-included-team-panel > .srfm-block { flex: 0 0 calc(50% - 8px) !important; max-width: 100%; }
#srfm-form-9067 .hw27-included-team-panel > .hw27-field-included-uniform-sizes { flex-basis: 100% !important; width: 100% !important; }
@media (max-width: 600px) {
 #srfm-form-9067 .hw27-included-team-panel > .srfm-block { flex: 0 0 100% !important; width: 100% !important; }
}
#srfm-form-9067 .hw27-team-apparel-manager p { line-height: 1.5 !important; height: auto; }
#srfm-form-9067 .hw27-apparel-team-title { font-size: 1.15rem; line-height: 1.4; }
/* Sponsor preview must not inherit the repeater's zero line-height. */
#srfm-form-9067 .hw27-included-apparel-intro { line-height: 1.5 !important; }
#srfm-form-9067 .hw27-included-apparel-intro summary { display: list-item; line-height: 1.5 !important; min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; }
#srfm-form-9067 .hw27-included-apparel-intro figcaption { line-height: 1.5 !important; margin-top: 8px; }

/* Included sponsor apparel: structured quantities, stored in existing form fields. */
#srfm-form-9067 .hw27-included-size-storage,
#srfm-form-9067 .hw27-included-quantity-storage,
#srfm-form-9067 .hw27-included-size-entry[hidden] { display: none !important; }
#srfm-form-9067 .hw27-included-team-panel { background: #f8f9fc; }
#srfm-form-9067 .hw27-included-size-entry { flex: 0 0 100%; width: 100%; box-sizing: border-box; border: 1px solid #d8dce5; border-radius: 8px; background: #fff; padding: 16px; }
#srfm-form-9067 .hw27-included-size-entry h4 { font-size: 1.1rem; margin: 0 0 8px; }
#srfm-form-9067 .hw27-included-size-entry p { line-height: 1.5 !important; margin: 8px 0 14px; }
#srfm-form-9067 .hw27-included-size-entry label { display: grid; gap: 6px; margin: 12px 0; font-weight: 600; }
#srfm-form-9067 .hw27-included-size-entry input,
#srfm-form-9067 .hw27-included-size-entry textarea,
#srfm-form-9067 [data-hw27-included-quantity] { width: 100%; box-sizing: border-box; border: 1px solid #aeb5c3; border-radius: 6px; padding: 10px; background: #fff; color: #111; font: inherit; min-height: 44px; }
#srfm-form-9067 .hw27-included-size-total { color: #166534; font-weight: 600; }
#srfm-form-9067 .hw27-size-mismatch .hw27-included-size-total { color: #b42318; }

/* Shared registration-confirmation layout, independent of the page background. */
.hw27-registration-confirmation { background: #fff !important; color: #202633; box-sizing: border-box; }
.hw27-registration-confirmation p, .hw27-registration-confirmation td, .hw27-registration-confirmation th { line-height: 1.5 !important; }
.hw27-registration-confirmation table, .hw27-registration-confirmation th, .hw27-registration-confirmation td { border: 0; }
.srfm-form-container-9067:has(.hw27-registration-confirmation),
.srfm-form-container-9067 .srfm-success-box:has(.hw27-registration-confirmation) { background: #fff !important; padding: 0; }
@media (max-width: 600px) {
 .hw27-registration-confirmation { padding: 16px !important; }
 .hw27-registration-confirmation h1 { font-size: 25px !important; }
 .hw27-registration-confirmation h2 { font-size: 19px !important; }
 .hw27-registration-confirmation .hw27-confirmation-team { padding: 12px !important; }
}
