/* Shared AF2 type-0 navigation geometry. Native desktop/mobile visibility and navigation stay authoritative.
   The site uses a 10px root font size; use px for the navigation's minimum touch size.
   AF2 caps icon buttons at 45/50px. Remove those caps now that these buttons have labels. */
body.g26-journey .af2_form_wrapper.af2_form-type-0 .af2_form_bottombar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 48px !important;
  max-height: none !important;
  box-sizing: border-box;
}
body.g26-journey .af2_form_wrapper.af2_form-type-0 :is(.af2_form_back_button, .af2_form_foward_button) {
  /* Do not set display here: AF2 selects the appropriate mobile/desktop copy. */
  width: 100% !important;
  inline-size: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: none !important;
  max-inline-size: none !important;
  height: auto !important;
  min-height: 48px !important;
  min-block-size: 48px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  box-sizing: border-box !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  border: 1px solid #90a999 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #175b35 !important;
  box-shadow: none !important;
  font: 700 16px/1.4 Arial, sans-serif !important;
  text-transform: none !important;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
body.g26-journey .af2_form_wrapper.af2_form-type-0 .af2_form_back_button {
  grid-column: 1;
  grid-row: 1;
}
body.g26-journey .af2_form_wrapper.af2_form-type-0 .af2_form_foward_button {
  grid-column: 2;
  grid-row: 1;
  background: #007a2f !important;
  color: #fff !important;
  border-color: #007a2f !important;
}
body.g26-journey .af2_form_wrapper.af2_form-type-0 .af2_form_progress_bar {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  max-width: 100%;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}
body.g26-journey .af2_form_wrapper.af2_form-type-0 :is(.af2_form_back_button, .af2_form_foward_button)::after {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  order: 1;
  font: inherit !important;
  text-transform: none !important;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  flex: 0 1 auto;
}
body.g26-journey .af2_form_wrapper.af2_form-type-0 :is(.af2_form_back_button, .af2_form_foward_button) > svg {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
}
body.g26-journey .af2_form_wrapper.af2_form-type-0 .af2_form_foward_button > svg {order: 2;}
body.g26-journey .af2_form_wrapper.af2_form-type-0 :is(.af2_form_back_button, .af2_form_foward_button):is(.af2_disabled, [aria-disabled="true"], :disabled) {
  background: #edf1ee !important;
  color: #52645a !important;
  border-color: #c9d5ce !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}
body.g26-journey .af2_form_wrapper.af2_form-type-0 :is(.af2_form_back_button, .af2_form_foward_button):focus-visible {
  outline: 3px solid #17382a !important;
  outline-offset: 3px;
}
/* Give the complete label room at narrow widths; keep AF2 visibility untouched. */
@media (max-width: 360px) {
  body.g26-journey .af2_form_wrapper.af2_form-type-0 .af2_form_bottombar {
    grid-template-columns: minmax(0, 1fr);
  }
  body.g26-journey .af2_form_wrapper.af2_form-type-0 .af2_form_foward_button {
    grid-column: 1;
    grid-row: 2;
  }
  body.g26-journey .af2_form_wrapper.af2_form-type-0 .af2_form_progress_bar {
    grid-row: 3;
  }
}
