/* GENERATED from newleadform.css by scripts/scope-newleadform-css.mjs — do not edit by hand. */
/* newleadform.css — The Mathologists trial-booking wizard.
   Self-contained. System fonts only. No frameworks, no CDN. */

.tm-trial-wizard {
  /* Brand — green primary */
  --grad-green: linear-gradient(90deg, #15b86a, #0f9d58);
  --green: #15b86a;
  --green-deep: #0f9d58;
  --green-tint: #f0fdf4;
  --green-text: #065f46;

  /* Neutrals */
  --ink: #1c1c1c;
  --ink-strong: #111;
  --ink-2: #374151;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --border: #d1d5db;
  --border-soft: #e5e7eb;
  --surface: #fff;

  /* Error */
  --error: #dc2626;

  /* Simulator (test strip) */
  --sim-bg: #fef3c7;
  --sim-border: #fcd34d;
  --sim-text: #78350f;
  --sim-text-2: #92400e;

  --radius-input: 10px;
  --radius-tile: 12px;
  --focus-ring: 0 0 0 3px rgba(21, 184, 106, .18);
}

.tm-trial-wizard * { box-sizing: border-box; }

.tm-trial-wizard { -webkit-text-size-adjust: 100%; }

.tm-trial-wizard {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Simulator strip (test-only) ---------- */
.tm-trial-wizard .sim-strip {
  background: var(--sim-bg);
  border-bottom: 1px solid var(--sim-border);
  color: var(--sim-text);
}
.tm-trial-wizard .sim-strip__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.tm-trial-wizard .sim-strip__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tm-trial-wizard .sim-strip__tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sim-text-2);
}
.tm-trial-wizard .sim-strip__hint {
  font-size: 12px;
  color: var(--sim-text-2);
  margin-right: auto;
}
.tm-trial-wizard .sim-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.tm-trial-wizard .sim-field label {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11px;
}
.tm-trial-wizard .sim-field input,
.tm-trial-wizard .sim-field select {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--sim-text);
  background: #fffdf5;
  border: 1px solid var(--sim-border);
  border-radius: 7px;
  padding: 5px 8px;
}
.tm-trial-wizard .sim-field input { width: 84px; }
.tm-trial-wizard .sim-field input:focus,
.tm-trial-wizard .sim-field select:focus {
  outline: none;
  border-color: var(--sim-text-2);
  box-shadow: 0 0 0 3px rgba(146, 64, 14, .15);
}

/* ---------- Page shell ---------- */
.tm-trial-wizard .page-wrap {
  padding: 40px 20px 64px;
  display: flex;
  justify-content: center;
}
.tm-trial-wizard .card {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 18px 40px -28px rgba(17, 17, 17, .25);
  padding: 30px 32px 32px;
}

/* ---------- Progress indicator ---------- */
.tm-trial-wizard .progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 2px 0 26px;
}
.tm-trial-wizard .progress__step {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
.tm-trial-wizard .progress__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  color: var(--muted);
  border: 1.5px solid var(--border);
  transition: background .2s, border-color .2s, color .2s;
}
.tm-trial-wizard .progress__label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}
.tm-trial-wizard .progress__line {
  flex: 1 1 auto;
  height: 1.5px;
  background: var(--border);
  margin: 0 10px;
  min-width: 14px;
}
.tm-trial-wizard .progress__step.is-active .progress__dot {
  background: var(--grad-green);
  border-color: transparent;
  color: #fff;
}
.tm-trial-wizard .progress__step.is-active .progress__label { color: var(--ink); }
.tm-trial-wizard .progress__step.is-done .progress__dot {
  background: var(--green-tint);
  border-color: var(--green);
  color: var(--green-deep);
}
.tm-trial-wizard .progress__step.is-done .progress__label { color: var(--ink-2); }

@media (max-width: 460px) {
  .tm-trial-wizard .progress__label { display: none; }
  .tm-trial-wizard .progress__line { margin: 0 6px; }
  .tm-trial-wizard .progress { justify-content: space-between; }
}

/* ---------- Headings ---------- */
.tm-trial-wizard .step-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.tm-trial-wizard .page-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink-strong);
  margin: 0 0 4px;
}
.tm-trial-wizard .page-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
}

/* ---------- Form fields ---------- */
.tm-trial-wizard .fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tm-trial-wizard .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
/* Two-up row: clean split, no flex-basis blowout on the vertical axis. */
.tm-trial-wizard .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .tm-trial-wizard .field-row { grid-template-columns: 1fr; }
}
.tm-trial-wizard .field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tm-trial-wizard .req { color: var(--green-deep); }
.tm-trial-wizard .field input[type="text"],
.tm-trial-wizard .field input[type="email"],
.tm-trial-wizard .field input[type="tel"] {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 11px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.tm-trial-wizard .field input::placeholder { color: var(--muted-2); }
.tm-trial-wizard .field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: var(--focus-ring);
}

/* ---------- School autocomplete (combobox) ---------- */
.tm-trial-wizard .combobox {
  position: relative;
  width: 100%;
}
.tm-trial-wizard .combobox__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 264px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .14);
}
.tm-trial-wizard .combobox__list[hidden] { display: none; }
.tm-trial-wizard .combobox__caption {
  padding: 8px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.tm-trial-wizard .combobox__option {
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.tm-trial-wizard .combobox__option.is-active,
.tm-trial-wizard .combobox__option:hover {
  background: var(--green-tint);
}
.tm-trial-wizard .combobox__name {
  font-size: 14px;
  color: var(--ink);
}
.tm-trial-wizard .combobox__option--other {
  margin-top: 4px;
  border-top: 1px solid var(--border-soft);
  font-weight: 600;
}
.tm-trial-wizard .combobox__option--other .combobox__name { color: var(--green-deep); }
.tm-trial-wizard .combobox__hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.tm-trial-wizard .combobox__hint[hidden] { display: none; }
.tm-trial-wizard .combobox__reset {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-deep);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- Contact preference radio group ---------- */
.tm-trial-wizard .pref-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tm-trial-wizard .pref-option {
  position: relative;
}
.tm-trial-wizard .pref-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.tm-trial-wizard .pref-option label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-tile);
  padding: 13px 15px;
  background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.tm-trial-wizard .pref-option__title { font-size: 15px; font-weight: 600; color: var(--ink); }
.tm-trial-wizard .pref-option__hint { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.tm-trial-wizard .pref-option label:hover { border-color: var(--green); background: var(--green-tint); }
.tm-trial-wizard .pref-option input:checked + label {
  border-color: var(--green);
  background: var(--green-tint);
  box-shadow: inset 0 0 0 1px var(--green);
}
.tm-trial-wizard .pref-option input:focus-visible + label {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ---------- Buttons ---------- */
.tm-trial-wizard .btn {
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter .15s, background .15s, border-color .15s, color .15s, opacity .15s;
  -webkit-appearance: none;
  appearance: none;
  white-space: nowrap;
}
.tm-trial-wizard .btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.tm-trial-wizard .btn--primary {
  background: var(--grad-green);
  color: #fff;
  border-color: transparent;
}
.tm-trial-wizard .btn--primary:hover:not(:disabled) { filter: brightness(1.06); }
.tm-trial-wizard .btn--secondary {
  background: #fff;
  color: var(--green-deep);
  border-color: var(--green);
}
.tm-trial-wizard .btn--secondary:hover:not(:disabled) { background: var(--green-tint); }
.tm-trial-wizard .btn--tertiary {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  font-weight: 600;
  padding: 11px 18px;
}
.tm-trial-wizard .btn--tertiary:hover:not(:disabled) { color: var(--ink-2); text-decoration: underline; }
.tm-trial-wizard .btn:disabled { opacity: .6; cursor: default; }

.tm-trial-wizard .footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.tm-trial-wizard .footer-actions .spacer { flex: 1 1 auto; }
.tm-trial-wizard .footer-actions .btn--primary { min-width: 120px; }

/* ---------- Inline error ---------- */
.tm-trial-wizard .form-error {
  display: none;
  color: var(--error);
  font-size: 13.5px;
  font-weight: 500;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 13px;
  margin: 0 0 18px;
}
.tm-trial-wizard .form-error.is-shown { display: block; }

/* ---------- Selectable tiles (subjects / campuses) ---------- */
.tm-trial-wizard .tile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tm-trial-wizard .tile-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tm-trial-wizard .tile-list--grid .tile { min-height: 56px; }
.tm-trial-wizard .tile--span { grid-column: 1 / -1; }
@media (max-width: 420px) {
  .tm-trial-wizard .tile-list--grid { grid-template-columns: 1fr; }
}

/* trial sub-step heading needs breathing room above the options */
.tm-trial-wizard #trial_content .page-title { margin-bottom: 16px; }

/* Year-level section heading in the grouped subject list. */
.tm-trial-wizard .group-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 22px 0 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.tm-trial-wizard .group-heading--first {
  margin-top: 2px;
  padding-top: 0;
  border-top: 0;
}
.tm-trial-wizard .group-heading + .tile-list { margin-bottom: 4px; }
.tm-trial-wizard .tile {
  font: inherit;
  text-align: left;
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-tile);
  padding: 14px 16px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.tm-trial-wizard .tile__label { font-size: 15px; font-weight: 600; }
.tm-trial-wizard .tile__check {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  transition: border-color .15s, background .15s;
}
.tm-trial-wizard .tile__check svg { width: 12px; height: 12px; opacity: 0; transition: opacity .12s; }
.tm-trial-wizard .tile:hover { border-color: var(--green); background: var(--green-tint); }
.tm-trial-wizard .tile:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.tm-trial-wizard .tile.is-selected {
  border-color: var(--green);
  background: var(--green-tint);
  box-shadow: inset 0 0 0 1px var(--green);
}
.tm-trial-wizard .tile.is-selected .tile__check {
  border-color: var(--green);
  background: var(--green);
}
.tm-trial-wizard .tile.is-selected .tile__check svg { opacity: 1; }
/* quiet / tertiary tile for "I'm not sure" returned options */
.tm-trial-wizard .tile--quiet {
  border-style: dashed;
  border-color: var(--border);
  color: var(--muted);
  background: #fff;
}
.tm-trial-wizard .tile--quiet .tile__label { font-weight: 500; }
.tm-trial-wizard .tile--quiet:hover { border-color: var(--muted-2); background: #fafafa; color: var(--ink-2); }

/* ---------- Class cards ---------- */
.tm-trial-wizard .class-card {
  font: inherit;
  text-align: left;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-tile);
  padding: 12px 16px;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.tm-trial-wizard .class-card__when {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: -.01em;
}
.tm-trial-wizard .class-card__label { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.tm-trial-wizard .class-card:hover {
  border-color: var(--green);
  background: var(--green-tint);
  box-shadow: 0 6px 18px -12px rgba(15, 157, 88, .4);
}
.tm-trial-wizard .class-card:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.tm-trial-wizard .class-card.is-selected {
  border-color: var(--green);
  background: var(--green-tint);
  box-shadow: inset 0 0 0 1px var(--green);
}

/* ---------- Date calendar ---------- */
.tm-trial-wizard .cal-wrap { display: flex; flex-direction: column; gap: 24px; }
.tm-trial-wizard .cal { width: 100%; max-width: 440px; margin: 0 auto; }
.tm-trial-wizard .cal__title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: .01em;
  margin-bottom: 12px;
}
.tm-trial-wizard .cal__grid {
  display: grid;
  grid-template-columns: 50px repeat(7, 1fr);
}
.tm-trial-wizard .cal__corner {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 12px 9px 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--border-soft);
}
.tm-trial-wizard .cal__wd {
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border-soft);
}
.tm-trial-wizard .cal__wk {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  padding-right: 12px;
  border-right: 1px solid var(--border-soft);
}
.tm-trial-wizard .cal__wk-cap {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tm-trial-wizard .cal__wk-num { font-size: 13.5px; font-weight: 700; color: var(--ink-2); line-height: 1; }
.tm-trial-wizard .cal__wk--break .cal__wk-cap { color: var(--muted-2); opacity: .75; }
.tm-trial-wizard .cal__cell {
  height: 50px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #f1f2f4;
}
.tm-trial-wizard .cal__cell.is-mb-b { border-bottom: 2px solid #c4cad2; }
.tm-trial-wizard .cal__cell.is-mb-r { border-right: 2px solid #c4cad2; }
.tm-trial-wizard .cal__day {
  font: inherit;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13.5px;
  border: 1.5px solid transparent;
  background: transparent;
  transition: background .15s, color .15s, box-shadow .15s;
}
.tm-trial-wizard .cal__day--off { color: #bcc0c8; }
.tm-trial-wizard .cal__day--off.is-today {
  color: var(--ink-2);
  font-weight: 700;
  border-color: #b3b9c2;
}
.tm-trial-wizard .cal__day--on {
  background: #eafaf1;
  border-color: #bfe6cf;
  color: var(--green-text);
  font-weight: 700;
  cursor: pointer;
}
.tm-trial-wizard .cal__day--on:hover { background: #d3f1e0; border-color: var(--green); }
.tm-trial-wizard .cal__day--on:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.tm-trial-wizard .cal__day--on.is-today { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #b3b9c2; }
.tm-trial-wizard .cal__day--on.is-selected {
  background: var(--grad-green);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(15, 157, 88, .5);
}
.tm-trial-wizard .cal__legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
}
.tm-trial-wizard .cal__leg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.tm-trial-wizard .cal__leg-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid transparent;
}
.tm-trial-wizard .cal__leg-dot--on { background: #eafaf1; border-color: #bfe6cf; }
.tm-trial-wizard .cal__leg-dot--today { background: #fff; border-color: #b3b9c2; }

/* ---------- Confirmation summary (date step) ---------- */
.tm-trial-wizard .summary {
  margin-top: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 6px 16px 8px;
  background: #fcfdfc;
}
.tm-trial-wizard .summary__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 0 4px;
}
.tm-trial-wizard .summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
}
.tm-trial-wizard .summary__label {
  font-size: 12.5px;
  color: var(--muted);
  flex: 0 0 auto;
}
.tm-trial-wizard .summary__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  text-wrap: pretty;
}
.tm-trial-wizard .summary__value.is-empty { color: var(--muted-2); font-weight: 500; }
.tm-trial-wizard .summary__value.is-set { color: var(--green-text); }

/* ---------- Status: loading / empty / error ---------- */
.tm-trial-wizard .status {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-tile);
  padding: 22px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.tm-trial-wizard .status--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}
.tm-trial-wizard .status__spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--green);
  animation: spin .7s linear infinite;
}
.tm-trial-wizard .status--error { color: var(--error); border-color: #fecaca; background: #fef2f2; }
.tm-trial-wizard .status--error .status__retry {
  display: inline-block;
  margin-top: 12px;
}
.tm-trial-wizard .status__title { font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.tm-trial-wizard .status--error .status__title { color: var(--error); }
.tm-trial-wizard .status__body { font-size: 13.5px; margin: 0; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Trial sub-step back row ---------- */
.tm-trial-wizard .substep-head {
  margin-bottom: 18px;
}
.tm-trial-wizard .back-link {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  padding: 4px 0;
  margin: 0 0 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tm-trial-wizard .back-link:hover { color: var(--green-deep); }
.tm-trial-wizard .back-link:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
.tm-trial-wizard .back-link::before { content: "←"; font-size: 14px; }

/* ---------- Thank-you panel ---------- */
.tm-trial-wizard .thanks {
  text-align: center;
  padding: 14px 8px 8px;
}
.tm-trial-wizard .thanks__mark {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-green);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.tm-trial-wizard .thanks__mark svg { width: 28px; height: 28px; }
.tm-trial-wizard .thanks__title {
  font-size: 23px;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0 0 10px;
}
.tm-trial-wizard .thanks__body {
  font-size: 15.5px;
  color: var(--ink-2);
  max-width: 380px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* programmatic focus targets (headings moved to on step change) — no visible box */
.tm-trial-wizard .page-title:focus,
.tm-trial-wizard [data-page-heading]:focus,
.tm-trial-wizard .thanks__title:focus { outline: none; }

.tm-trial-wizard [hidden] { display: none !important; }

@media (max-width: 520px) {
  .tm-trial-wizard .card { padding: 24px 20px 26px; border-radius: 14px; }
  .tm-trial-wizard .page-wrap { padding: 24px 12px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .tm-trial-wizard * { transition: none !important; animation: none !important; }
  .tm-trial-wizard .status__spinner { animation: spin 1.1s linear infinite !important; }
}

/* Field help bubble (Graduation Year "?" tooltip — hover on desktop, tap on mobile). */
.tm-trial-wizard .field-help {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  margin-left: 6px;
}
.tm-trial-wizard .field-help__btn {
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: 700 11px/1 inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
}
.tm-trial-wizard .field-help__btn:hover,
.tm-trial-wizard .field-help.is-open .field-help__btn {
  opacity: 1;
}
.tm-trial-wizard .field-help__bubble {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  max-width: 70vw;
  padding: 9px 11px;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font: 400 12px/1.45 inherit;
  text-transform: none;
  letter-spacing: normal;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}
.tm-trial-wizard .field-help__bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1f2937;
}
.tm-trial-wizard .field-help:hover .field-help__bubble,
.tm-trial-wizard .field-help.is-open .field-help__bubble {
  opacity: 1;
  visibility: visible;
}
