.trial-native-form {
  position: relative;
  width: min(100%, 760px);
  margin: 32px auto 0;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid #e3ded7;
  background: #fff;
  color: #1f2933;
}

.trial-form-heading {
  margin-bottom: 30px;
  text-align: center;
}

.trial-form-heading .eyebrow,
.trial-complete .eyebrow {
  margin: 0 0 8px;
  color: #a71e25;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.trial-form-heading h2,
.trial-complete h2 {
  margin: 0;
  color: #112f50;
  font-size: clamp(22px, 4.8vw, 30px);
  line-height: 1.45;
  letter-spacing: 0;
}

.trial-form-heading > p:last-child {
  margin: 10px 0 0;
  color: #5e656c;
  font-size: 15px;
  line-height: 1.75;
}

.trial-line-entry-notice {
  margin: 14px auto 0;
  padding: 11px 14px;
  border: 1px solid #d7bcc0;
  border-radius: 5px;
  background: #fff8f8;
  color: #8f1d26;
  font-size: clamp(18px, 4.2vw, 20px);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.trial-line-entry-notice span,
.trial-line-entry-notice strong {
  display: block;
}

.trial-line-entry-title {
  color: #8f1d26;
  font-size: .78em;
}

.trial-line-entry-branch {
  margin-top: 8px;
  color: #112f50;
  font-size: 1.2em;
}

.trial-line-entry-days {
  margin-top: 8px;
  color: #28343f;
  font-size: .92em;
}

.trial-line-entry-note {
  margin: 8px 0 0;
  color: #66727e;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.trial-line-entry-notice.is-error {
  border-color: #d49b9f;
  background: #fff1f2;
  font-size: 14px;
  text-align: left;
  white-space: pre-line;
}

.trial-line-page .trial-line-header {
  justify-content: space-between;
}

.trial-line-header-label {
  margin: 0;
  color: #173b62;
  font-size: 14px;
  font-weight: 800;
}

.trial-line-form-hero {
  padding-top: 54px;
}

.trial-line-contact-note {
  margin: -2px 0 18px;
  color: #66727e;
  font-size: 13px;
  line-height: 1.65;
}

.trial-fieldset {
  margin: 0;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.trial-fieldset:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.trial-fieldset h3 {
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 4px solid #b3212a;
  color: #112f50;
  font-size: 20px;
  line-height: 1.45;
}

.trial-native-form label {
  display: block;
  margin: 18px 0 8px;
  color: #243645;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.trial-native-form input,
.trial-native-form select,
.trial-native-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #bcc5cc;
  border-radius: 6px;
  background: #fff;
  color: #17212b;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.trial-mobile-branch-picker {
  display: none;
}

.trial-native-form textarea {
  min-height: 122px;
  resize: vertical;
}

.trial-native-form input:focus,
.trial-native-form select:focus,
.trial-native-form textarea:focus {
  border-color: #b3212a;
  outline: 3px solid rgba(179, 33, 42, .14);
  outline-offset: 1px;
}

.trial-required {
  display: inline-block;
  margin-left: 4px;
  color: #b3212a;
  font-size: 12px;
  font-weight: 800;
}

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

.trial-field-row label {
  margin-top: 18px;
}

.trial-participant {
  margin: 0;
  padding: 18px;
  border: 1px solid #dde1e4;
  border-radius: 6px;
  background: #fcfcfb;
}

.trial-participant + .trial-participant {
  margin-top: 14px;
}

.trial-participant legend {
  padding: 0 7px;
  color: #b3212a;
  font-size: 15px;
  font-weight: 800;
}

.trial-participant > label:first-of-type,
.trial-participant .trial-field-row label {
  margin-top: 4px;
}

.trial-participant-actions {
  margin-top: 14px;
  text-align: center;
}

.trial-secondary-button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #173b62;
  border-radius: 5px;
  background: #fff;
  color: #173b62;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.trial-secondary-button:hover,
.trial-secondary-button:focus-visible {
  background: #f2f6f9;
}

.trial-participant-note {
  margin: 8px 0 0;
  color: #626b72;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-line;
}

.trial-remove-participant {
  display: block;
  width: auto;
  margin: 16px 0 0 auto;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #7b2229;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.trial-calendar {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  background: #fdfdfc;
}

.trial-calendar-top {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 6px;
}

.trial-calendar-top h4 {
  margin: 0;
  color: #173b62;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
}

.trial-calendar-nav {
  min-height: 40px;
  padding: 6px;
  border: 1px solid #aebbc5;
  border-radius: 4px;
  background: #fff;
  color: #173b62;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.trial-calendar-nav:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.trial-calendar-help,
.trial-calendar-status {
  margin: 12px 0 0;
  color: #5a646d;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.trial-calendar-weekdays,
.trial-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.trial-calendar-weekdays {
  margin-top: 14px;
}

.trial-calendar-weekdays span {
  color: #66727e;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.trial-calendar-grid {
  margin-top: 5px;
}

.trial-calendar-blank,
.trial-calendar-day {
  min-height: 47px;
}

.trial-calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 2px;
  border: 1px solid #e0e4e7;
  border-radius: 4px;
  background: #f3f4f5;
  color: #a4acb3;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.trial-calendar-day small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

.trial-calendar-day.is-available {
  border-color: #8bad99;
  background: #f1f8f2;
  color: #1f5734;
  cursor: pointer;
}

.trial-calendar-day.is-branch-available {
  border-color: #c8ddce;
  background: #f7fbf7;
  color: #3c7050;
}

.trial-calendar-day.is-unavailable {
  border-color: #e3bdc0;
  background: #fff4f4;
  color: #a5222c;
}

.trial-calendar-day.is-selected {
  border-color: #173b62;
  background: #173b62;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(23, 59, 98, .16);
}

.trial-calendar-day.is-past {
  opacity: .5;
}

.trial-calendar-day:focus-visible {
  outline: 3px solid rgba(179, 33, 42, .24);
  outline-offset: 1px;
}

.trial-date-result {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 15px;
  border-left: 4px solid #b3212a;
  background: #f8f5f2;
  color: #263541;
  line-height: 1.65;
}

.trial-date-result strong {
  color: #173b62;
  white-space: pre-line;
}

.trial-date-result span {
  font-size: 14px;
}

.trial-privacy-note {
  margin: 0 0 16px;
  color: #68717a;
  font-size: 13px;
  line-height: 1.65;
}

.trial-submit-button {
  min-height: 58px;
  margin: 0;
  background: #b3212a;
  font-size: 17px;
  font-weight: 800;
}

.trial-submit-button:hover,
.trial-submit-button:focus-visible {
  background: #921a22;
}

.trial-submit-button:disabled {
  cursor: wait;
  opacity: .62;
}

.trial-submit-status {
  min-height: 1.65em;
  margin: 14px 0 0;
  color: #7b2229;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.trial-submit-status.is-error {
  padding: 11px 13px;
  border: 1px solid #e5bfc2;
  background: #fff6f6;
}

.trial-complete {
  max-width: 540px;
  margin: 0 auto;
  padding: 16px 0 4px;
  text-align: center;
}

.trial-complete > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.85;
  text-align: left;
}

.trial-complete .button {
  margin-top: 28px;
}

.trial-honeypot,
.trial-gas-transport {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 480px) {
  .trial-native-form select#trial-branch {
    display: none;
  }

  .trial-mobile-branch-picker {
    position: relative;
    display: block;
  }

  .trial-mobile-branch-toggle,
  .trial-mobile-branch-options button {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #bcc5cc;
    border-radius: 6px;
    background: #fff;
    color: #17212b;
    font: inherit;
    text-align: left;
  }

  .trial-mobile-branch-toggle {
    display: flex;
    min-height: 52px;
    padding: 11px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .trial-mobile-branch-toggle strong,
  .trial-mobile-branch-toggle small,
  .trial-mobile-branch-options strong,
  .trial-mobile-branch-options small {
    display: block;
  }

  .trial-mobile-branch-toggle strong,
  .trial-mobile-branch-options strong {
    font-size: 16px;
    line-height: 1.45;
  }

  .trial-mobile-branch-toggle small,
  .trial-mobile-branch-options small {
    margin-top: 2px;
    color: #56616b;
    font-size: 14px;
    line-height: 1.45;
  }

  .trial-mobile-branch-chevron {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-right: 2px solid #59636d;
    border-bottom: 2px solid #59636d;
    transform: rotate(45deg) translateY(-3px);
  }

  .trial-mobile-branch-toggle[aria-expanded="true"] .trial-mobile-branch-chevron {
    transform: rotate(225deg) translate(-3px, -3px);
  }

  .trial-mobile-branch-options {
    position: absolute;
    z-index: 4;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    overflow: hidden;
    border: 1px solid #aab4bd;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(30, 41, 59, .16);
  }

  .trial-mobile-branch-options button {
    min-height: 64px;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
  }

  .trial-mobile-branch-options button + button {
    border-top: 1px solid #e5e7eb;
  }

  .trial-mobile-branch-options button[aria-selected="true"] {
    background: #fdf3f3;
    color: #9e2028;
  }

  .trial-line-page .trial-line-header {
    min-height: 80px;
  }

  .trial-line-header-label {
    font-size: 11px;
    white-space: nowrap;
  }

  .trial-native-form {
    width: 100%;
    margin-top: 22px;
    padding: 26px 18px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .trial-form-heading h2,
  .trial-complete h2 {
    font-size: 23px;
  }

  .trial-fieldset h3 {
    font-size: 19px;
  }

  .trial-participant {
    padding: 15px;
  }

  .trial-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trial-calendar {
    padding: 12px 8px;
  }

  .trial-calendar-top {
    grid-template-columns: 62px minmax(0, 1fr) 62px;
  }

  .trial-calendar-nav {
    font-size: 12px;
  }
}

@media (min-width: 720px) {
  .trial-native-form {
    box-shadow: 0 10px 30px rgba(30, 41, 59, .08);
  }

  .trial-fieldset h3 {
    font-size: 22px;
  }

  .trial-participant {
    padding: 22px;
  }
}
