/* Static-hosting fallbacks for the preserved HB Windows site. */
@media screen and (min-width: 1280px) {
  #MainstageV1 .anm_hlf-r,
  #MainstageV1 .anm_seq-itm > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

.hb-appt .scd-rs {
  min-height: 440px;
}

.hb-appt button {
  border: 0;
  cursor: pointer;
}

.hb-appt button[hidden] {
  display: none !important;
}

.hb-appt button svg {
  width: 24px;
  height: 24px;
  margin-left: 18px;
}

.hb-appt .hb-appt-back svg {
  margin: 0 18px 0 0;
}

.hb-appt-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-appt-progress li {
  position: relative;
  padding: 24px 10px;
  border-bottom: 3px solid #e1e1e1;
  color: #aaa;
  text-align: center;
}

.hb-appt-progress li.is-active,
.hb-appt-progress li.is-complete {
  border-bottom-color: #426bd0;
  color: #426bd0;
}

.hb-appt-panel {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
}

.hb-appt-panel.is-active {
  display: block;
}

.hb-appt-panel h1 {
  padding-bottom: 24px;
  border-bottom: 3px solid #dedede;
}

.hb-appt-fields {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

.hb-appt-fields-compact {
  max-width: 760px;
  margin: 0 auto;
}

.hb-appt-field {
  display: grid;
  grid-column: span 3;
  gap: 8px;
}

.hb-appt-field-wide {
  grid-column: span 6;
}

.hb-appt-field-third {
  grid-column: span 2;
}

.hb-appt-field b {
  color: #d43b45;
}

.hb-appt-field input,
.hb-appt-field select,
.hb-appt-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid #dedede;
  border-radius: 4px;
  background: #fff;
  color: #292929;
  font: inherit;
}

.hb-appt-field textarea {
  min-height: 120px;
  resize: vertical;
}

.hb-appt-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.hb-appt-options label {
  position: relative;
}

.hb-appt-options input {
  position: absolute;
  opacity: 0;
}

.hb-appt-options span {
  display: grid;
  min-height: 110px;
  place-items: center;
  padding: 20px;
  border: 2px solid #426bd0;
  color: #17328f;
  font-weight: 700;
  cursor: pointer;
}

.hb-appt-options input:checked + span {
  background: #17328f;
  color: #fff;
}

.hb-appt-note {
  max-width: 760px;
  margin: 28px auto 0;
}

.hb-appt-summary {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
  text-align: left;
}

.hb-appt-summary div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
}

.hb-appt-consent {
  display: flex;
  gap: 12px;
  max-width: 900px;
  margin: 28px auto 0;
  text-align: left;
}

.hb-appt-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hb-appt-actions {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 0 0 30px;
}

.hb-appt-actions button,
.hb-appt-top-next {
  display: inline-flex;
  align-items: center;
}

.hb-appt-status {
  min-height: 28px;
  margin: 20px 0 0;
  color: #17328f;
  font-weight: 700;
}

@media screen and (max-width: 1279px) {
  .hb-appt-top-next {
    display: none !important;
  }

  .hb-appt-progress {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
  }

  .hb-appt .scd-rs {
    min-height: 0;
  }
}

@media screen and (max-width: 700px) {
  .hb-appt-fields,
  .hb-appt-options {
    grid-template-columns: 1fr;
  }

  .hb-appt-field,
  .hb-appt-field-wide,
  .hb-appt-field-third {
    grid-column: 1;
  }

  .hb-appt-summary div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hb-appt-actions {
    justify-content: space-between;
  }
}
