/* ================================================================
   Request plugin component CSS — v1.15.3
   Request/cart-specific presentation only. Shared form controls,
   validation, consent, confirmation and action hierarchy are owned by
   the active theme's assets/css/form-ui.css. Explicit full/compact
   variants replace the historical content-sensitive compatibility cascade.
   ================================================================ */

.tsg-request-page .tsg-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tsg-request-page .tsg-notice--with-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tsg-request-page .tsg-input-form small { color: #667085; font-size: 12px; font-weight: 500; }
@media (max-width: 640px) {
  .tsg-request-page .tsg-form-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Request cart UI v1.8 — design-system comp-cart adapted
   ================================================================ */
.tsg-request-page--cart-ui {
  max-width: 1200px;
}
.tsg-request-page--cart-ui .tsg-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.tsg-request-page--cart-ui .tsg-request-layout--input,
.tsg-request-page--cart-ui .tsg-request-layout--confirm {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.tsg-request-page--cart-ui .tsg-request-box {
  border-radius: var(--tsk-r-xl, 24px);
}
.tsg-request-step-label {
  margin: 0 0 6px;
  font-family: var(--tsk-font-mono, ui-monospace, monospace);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tsk-primary-700, #0b5a55);
  font-weight: 700;
}
.tsg-request-lead {
  margin: -6px 0 0;
  color: var(--tsk-ink-600, #556262);
  font-size: 14px;
  line-height: 1.8;
}
.tsg-request-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.tsg-request-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid var(--tsk-ink-100, #e7eceb);
  background: var(--tsk-bg-tint, #f4faf8);
  border-radius: var(--tsk-r-md, 12px);
  padding: 12px 14px;
  margin: 0 0 14px;
}
.tsg-request-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tsg-request-count__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 4px 10px;
  border-radius: var(--tsk-r-pill, 9999px);
  background: var(--tsk-primary-500, #169389);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.tsg-request-count__meta {
  color: var(--tsk-ink-600, #556262);
  font-size: 13px;
  font-weight: 700;
}
.tsg-request-link-button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: var(--tsk-primary-700, #0b5a55);
  font-family: var(--tsk-font-sans, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.tsg-text-button {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1.5px solid var(--tsk-ink-200, #d4dcdb);
  color: var(--tsk-danger-700, #8e2a26);
  font-family: var(--tsk-font-sans, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--tsk-r-sm, 8px);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--tsk-dur-fast, 120ms) var(--tsk-ease, ease);
}
.tsg-text-button:hover {
  background: var(--tsk-danger-bg, #fbe6e4);
  border-color: var(--tsk-danger-500, #c65c4d);
}
/* ----------------------------------------------------------------
   Request school lists
   The PHP renderer now emits explicit --full / --compact variants, so no
   content-dependent selectors or compatibility priority hacks are
   required here.
   ---------------------------------------------------------------- */
.tsg-request-page--cart-ui .tsg-request-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.tsg-request-page--cart-ui .tsg-request-item--full {
  display: grid;
  grid-template-columns: 28px 86px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--tsk-ink-100, #e7eceb);
  border-radius: var(--tsk-r-lg, 18px);
  box-shadow: var(--tsk-sh-1, 0 1px 2px rgba(20,40,40,.04));
  transition: border-color var(--tsk-dur-fast, 120ms) var(--tsk-ease, ease), box-shadow var(--tsk-dur-fast, 120ms) var(--tsk-ease, ease);
}
.tsg-request-page--cart-ui .tsg-request-item--full:hover {
  border-color: var(--tsk-primary-200, #addfd7);
  box-shadow: var(--tsk-sh-2, 0 2px 6px rgba(20,40,40,.05));
}
.tsg-request-page--cart-ui .tsg-request-item__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tsk-primary-500, #169389);
  color: #fff;
  box-shadow: 0 0 0 3px var(--tsk-primary-100, #d6efeb);
}
.tsg-request-page--cart-ui .tsg-request-item__check svg { width: 13px; height: 13px; }
.tsg-request-page--cart-ui .tsg-request-item--full .tsg-request-item__thumb {
  flex: unset;
  width: 86px;
  height: 66px;
  border-radius: var(--tsk-r-md, 12px);
  background: repeating-linear-gradient(135deg, var(--tsk-primary-100, #d6efeb) 0 10px, var(--tsk-primary-50, #eef8f6) 10px 20px);
  border: 1px solid var(--tsk-primary-200, #addfd7);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--tsk-primary-700, #0b5a55);
  font-size: 11px;
  font-family: var(--tsk-font-mono, ui-monospace, monospace);
  text-decoration: none;
}
.tsg-request-page--cart-ui .tsg-request-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tsg-request-page--cart-ui .tsg-request-item__body { min-width: 0; }
.tsg-request-page--cart-ui .tsg-request-item--full .tsg-request-item__body h3 {
  margin: 0 0 5px;
  font-family: var(--tsk-font-display, system-ui, sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}
.tsg-request-page--cart-ui .tsg-request-item__body h3 a { color: var(--tsk-ink-900, #1e2828); text-decoration: none; }
.tsg-request-page--cart-ui .tsg-request-item__body h3 a:hover { color: var(--tsk-primary-700, #0b5a55); text-decoration: underline; }
.tsg-request-page--cart-ui .tsg-request-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: var(--tsk-ink-600, #556262);
  font-size: 12px;
  line-height: 1.6;
}
.tsg-request-page--cart-ui .tsg-request-remove-form { justify-self: end; }
.tsg-request-page--cart-ui .tsg-request-remove-button,
.tsg-request-page--cart-ui .tsg-request-list .tsg-text-button.tsg-request-remove-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--tsk-ink-400, #8e9999);
  box-shadow: none;
}
.tsg-request-page--cart-ui .tsg-request-remove-button:hover { background: var(--tsk-danger-bg, #fbe6e4); color: var(--tsk-danger-700, #8e2a26); }
.tsg-request-page--cart-ui .tsg-request-remove-button span {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.tsg-request-page--cart-ui .tsg-request-list--compact {
  gap: 0;
  border: 1px solid var(--tsk-ink-100, #e7eceb);
  border-radius: var(--tsk-r-lg, 18px);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--tsk-sh-1, 0 1px 2px rgba(20,40,40,.04));
}
.tsg-request-page--cart-ui .tsg-request-list--compact .tsg-request-item--compact {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--tsk-ink-100, #e7eceb);
  border-radius: 0;
  box-shadow: none;
}
.tsg-request-page--cart-ui .tsg-request-list--compact .tsg-request-item--compact:last-child { border-bottom: 0; }
.tsg-request-page--cart-ui .tsg-request-list--compact .tsg-request-item__thumb {
  flex: unset;
  width: 56px;
  height: 44px;
  border-radius: var(--tsk-r-xs, 4px);
  background: repeating-linear-gradient(135deg, var(--tsk-primary-100, #d6efeb) 0 10px, var(--tsk-primary-50, #eef8f6) 10px 20px);
  border: 1px solid var(--tsk-primary-200, #addfd7);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--tsk-primary-700, #0b5a55);
  font-size: 11px;
  font-family: var(--tsk-font-mono, ui-monospace, monospace);
  text-decoration: none;
}
.tsg-request-page--cart-ui .tsg-request-list--compact .tsg-request-item__body h3 {
  margin: 0 0 2px;
  font-family: var(--tsk-font-display, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.tsg-request-page--cart-ui .tsg-request-list--compact .tsg-request-item__meta { gap: 3px 8px; font-size: 11px; }
.tsg-request-summary-card {
  position: sticky;
  top: 96px;
  z-index: 20;
  isolation: isolate;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--tsk-ink-100, #e7eceb);
  border-radius: var(--tsk-r-lg, 18px);
  box-shadow: var(--tsk-sh-2, 0 2px 6px rgba(20,40,40,.05));
}
.tsg-request-summary-card h3 {
  margin: 0 0 14px;
  font-family: var(--tsk-font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tsk-primary-700, #0b5a55);
}
.tsg-request-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--tsk-ink-200, #d4dcdb);
  font-size: 14px;
}
.tsg-request-summary-line strong {
  white-space: nowrap;
}
.tsg-request-free {
  color: var(--tsk-success-700, #226e45);
}
.tsg-request-summary-note {
  margin: 12px 0 4px;
  padding: 9px 12px;
  border-radius: var(--tsk-r-sm, 8px);
  background: var(--tsk-bg-tint, #f4faf8);
  color: var(--tsk-ink-700, #3f4d4d);
  font-size: 12px;
  line-height: 1.7;
  font-weight: 700;
}
.tsg-request-summary-line--total {
  align-items: baseline;
  border-bottom: 0;
}
.tsg-request-summary-line--total strong {
  font-family: var(--tsk-font-display, system-ui, sans-serif);
  font-size: 24px;
}
.tsg-request-summary-main,
.tsg-request-summary-sub {
  width: 100%;
  margin-top: 12px;
}
.tsg-request-summary-help {
  margin: 12px 0 0;
  color: var(--tsk-ink-600, #556262);
  font-size: 13px;
  line-height: 1.8;
}
.tsg-request-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tsg-request-empty {
  text-align: center;
  padding: 56px 24px;
  border-style: dashed;
}
.tsg-request-empty__art {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tsk-primary-50, #eef8f6);
  color: var(--tsk-primary-500, #169389);
}
.tsg-request-empty h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.tsg-request-empty h2::after {
  display: none;
}
.tsg-request-empty p {
  margin: 0 auto 18px;
  max-width: 440px;
  color: var(--tsk-ink-600, #556262);
}
.tsg-request-subsection {
  margin-top: 24px;
}
.tsg-request-subsection h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.tsg-request-consent {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: var(--tsk-r-md, 12px);
  background: var(--tsk-warning-bg, #fdf3da);
  color: var(--tsk-warning-700, #8e6210);
  font-size: 13px;
  line-height: 1.8;
}
.tsg-request-consent-block {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--tsk-warning-500, #d69921);
  border-radius: var(--tsk-r-md, 12px);
  background: var(--tsk-warning-bg, #fdf3da);
}
.tsg-request-consent-block .tsg-request-consent {
  margin: 0 0 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.tsg-request-complete-card {
  max-width: 820px;
  margin: 0 auto;
}
.tsg-request-complete-lead {
  font-size: 15px;
}
.tsg-cart-toast {
  position: fixed; z-index: 10050; display: inline-flex; align-items: center; max-width: calc(100vw - 24px); padding: 8px 12px;
  border-radius: 999px; background: #154f4b; color: #fff; box-shadow: 0 8px 22px rgba(23,67,64,.20);
  font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; opacity: 0; transform: translateY(5px) scale(.98);
  pointer-events: none; transition: opacity 160ms ease, transform 160ms ease;
}
.tsg-cart-toast::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.tsg-cart-toast.is-below::after { top: -5px; bottom: auto; }
.tsg-cart-toast.is-error { max-width: min(360px, calc(100vw - 24px)); border-radius: 10px; background: #8f3732; white-space: normal; }
.tsg-cart-toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) { .tsg-cart-toast { transition: none; transform: none; } }
/* Request list destructive action: visually interactive without competing with the primary CTA. */
.tsg-request-link-button--danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--tsk-danger-700, #8e2a26);
  text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, transform 100ms ease;
}
.tsg-request-link-button--danger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.tsg-request-link-button--danger:hover {
  color: var(--tsk-danger-700, #7c211e);
  background: var(--tsk-danger-bg, #fde8e8);
  border-color: var(--tsk-danger-200, #efb8b2);
}
.tsg-request-link-button--danger:focus-visible {
  outline: 3px solid rgba(198, 92, 77, .24);
  outline-offset: 2px;
}
.tsg-request-link-button--danger:active {
  transform: translateY(1px);
}
.tsg-request-link-button--danger[aria-busy="true"] {
  opacity: .65;
  cursor: wait;
}

/* Address errors use the full composite-field width instead of the narrow postal-code column. */
.tsg-input-form .tsg-address-errors {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-width: 0;
}
.tsg-input-form .tsg-address-errors .tsg-field-error {
  width: 100%;
  margin-top: 0;
}


/* ----------------------------------------------------------------
   Request-only layout details relocated from the theme.
   ---------------------------------------------------------------- */
.tsg-request-summary-line:last-of-type { border-bottom: 0; }

.tsg-request-side-list__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.tsg-request-side-list__head h2 { margin: 0; }
.tsg-request-side-list__count {
  flex: 0 0 auto;
  color: var(--tsk-primary-700, #0b5a55);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* Address is a single semantic fieldset. */
.tsg-input-form .tsg-address-fieldset {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--tsk-ink-100, #e7eceb);
}
.tsg-input-form .tsg-address-fieldset legend {
  float: left;
  width: 170px;
  padding: 11px 20px 0 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--tsk-font-sans, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tsk-ink-700, #3f4d4d);
}
.tsg-input-form .tsg-address-fieldset legend em {
  font-style: normal;
  font-family: var(--tsk-font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  background: var(--tsk-danger-bg, #fbe6e4);
  color: var(--tsk-danger-700, #8e2a26);
  padding: 2px 5px;
  border-radius: var(--tsk-r-xs, 4px);
  margin-left: 6px;
}
.tsg-input-form .tsg-address-fields { display: grid; grid-column: 2; gap: 12px; }
.tsg-input-form .tsg-form-grid--address-top {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  border: 0;
}
.tsg-input-form .tsg-address-fields label,
.tsg-input-form .tsg-form-grid--address-top > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
.tsg-input-form .tsg-address-fields label > span:not(.tsg-field-error),
.tsg-input-form .tsg-form-grid--address-top > label > span:not(.tsg-field-error) {
  display: block;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--tsk-ink-600, #556262);
  line-height: 1.4;
}
.tsg-input-form .tsg-address-fields label > .tsg-field-error,
.tsg-input-form .tsg-form-grid--address-top > label > .tsg-field-error {
  padding: 0;
}
.tsg-input-form .tsg-address-fieldset::after { content: ""; display: block; clear: both; }

/* Request cart secondary/destructive action hierarchy. */
.tsg-request-actions .tsg-button--ghost,
.tsg-request-actions form .tsg-button--ghost {
  background: transparent;
  color: var(--tsk-danger-700, #8e2a26);
  border: 1.5px solid var(--tsk-danger-500, #c65c4d);
  box-shadow: none;
  font-size: 13px;
}
.tsg-request-actions .tsg-button--ghost:hover,
.tsg-request-actions form .tsg-button--ghost:hover {
  background: var(--tsk-danger-bg, #fbe6e4);
  border-color: var(--tsk-danger-700, #8e2a26);
  transform: none;
}

/* Request input primary action keeps the slightly stronger request-page shadow. */
.tsg-form-ui--request [data-tsg-request-form] > .tsg-form-primary-action {
  box-shadow: 0 3px 0 var(--tsk-primary-700, #0b5a55);
}

/* Planned-school side panel: only the school list scrolls. */
@media (min-width: 901px) {
  .tsg-request-layout--input .tsg-request-side--input {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 120px);
    min-height: 0;
    padding: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tsk-ink-100, #e7eceb);
    box-shadow: var(--tsk-sh-2, 0 2px 6px rgba(20,40,40,.05));
  }
  .tsg-request-layout--input .tsg-request-side-list__head { flex: 0 0 auto; margin-bottom: 0; }
  .tsg-request-layout--input .tsg-request-side--input .tsg-request-summary-note,
  .tsg-request-layout--input .tsg-request-side--input .tsg-request-summary-help { flex: 0 0 auto; }
  .tsg-request-layout--input .tsg-request-side-list__scroll {
    flex: 1 1 auto;
    min-height: 220px;
    max-height: min(54vh, 560px);
    margin-top: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    border: 1px solid var(--tsk-ink-100, #e7eceb);
    border-radius: var(--tsk-r-md, 12px);
    background: #fff;
  }
  .tsg-request-layout--input .tsg-request-side-list__scroll:focus-visible {
    outline: 3px solid rgba(87, 200, 138, .22);
    outline-offset: 2px;
  }
  .tsg-request-layout--input .tsg-request-side-list__scroll .tsg-request-list--compact {
    gap: 0;
    margin-bottom: 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .tsg-request-layout--input .tsg-request-side-list__scroll .tsg-request-item--compact {
    border: 0;
    border-bottom: 1px solid var(--tsk-ink-100, #e7eceb);
    border-radius: 0;
    box-shadow: none;
  }
  .tsg-request-layout--input .tsg-request-side-list__scroll .tsg-request-item--compact:last-child { border-bottom: 0; }
}

@media (max-width: 900px) {
  .tsg-request-page--cart-ui .tsg-request-layout,
  .tsg-request-page--cart-ui .tsg-request-layout--input,
  .tsg-request-page--cart-ui .tsg-request-layout--confirm { grid-template-columns: 1fr; }
  .tsg-request-summary-card { position: static; }
  .tsg-request-layout--input .tsg-request-side--input { position: static; padding: 20px; }
  .tsg-request-layout--input .tsg-request-side-list__scroll {
    max-height: 440px;
    margin-top: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--tsk-ink-100, #e7eceb);
    border-radius: var(--tsk-r-md, 12px);
  }
  .tsg-request-layout--input .tsg-request-side-list__scroll .tsg-request-list--compact {
    margin-bottom: 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 760px) {
  .tsg-form-ui--request [data-tsg-request-form] > .tsg-form-primary-action {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .tsg-request-page--cart-ui .tsg-request-item--full {
    grid-template-columns: 24px 72px minmax(0, 1fr);
    gap: 10px;
  }
  .tsg-request-page--cart-ui .tsg-request-item--full .tsg-request-item__thumb { width: 72px; height: 56px; }
  .tsg-request-page--cart-ui .tsg-request-remove-form { grid-column: 1 / -1; justify-self: end; }
  .tsg-request-page--cart-ui .tsg-request-list--compact .tsg-request-item--compact {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }
  .tsg-request-cart-head { align-items: stretch; flex-direction: column; }
  .tsg-request-clear-form { width: 100%; }
  .tsg-input-form .tsg-address-fieldset { display: block; }
  .tsg-input-form .tsg-address-fieldset legend { float: none; width: auto; padding: 0 0 8px; }
  .tsg-input-form .tsg-address-fields { grid-column: auto; }
  .tsg-input-form .tsg-form-grid--address-top { grid-template-columns: 1fr; }
}

/* Cloudflare Turnstile (shown only when enabled in settings). */
.tsg-turnstile-wrap{margin:18px auto 6px;display:flex;flex-direction:column;align-items:center;text-align:center}.tsg-turnstile-wrap .cf-turnstile{margin:0 auto}.tsg-turnstile-note{margin:7px 0 0;font-size:.875em;text-align:center}
