#autopay, #autopay-support { scroll-margin-top: 180px; }
.autopay-review { --autopay-line: #d5dfe6; }
.autopay-review header { display: grid; gap: 12px; margin-bottom: 24px; }
.autopay-review header p { max-width: 67ch; }
.autopay-demo-note { padding: 12px 16px; border-radius: 10px; color: #44360a; background: #fbf1cf; }
.autopay-review-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border: 1px solid var(--autopay-line); border-radius: 14px; background: #fff; }
.autopay-schedule, .autopay-controls { min-width: 0; padding: clamp(16px, 3vw, 32px); }
.autopay-schedule { border-right: 1px solid var(--autopay-line); }
.autopay-review h3 { margin: 0 0 8px; font-size: clamp(1.15rem, 2vw, 1.35rem); }
.autopay-review p { margin: 0; line-height: 1.55; }
.autopay-review :is(.autopay-schedule, .autopay-help) p { color: var(--ink-soft, #334154); }
.autopay-review table { width: 100%; margin: 16px 0 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.autopay-review :is(th, td) { padding: 9px 4px; border-bottom: 1px solid var(--autopay-line); text-align: left; }
.autopay-review tbody th { font-weight: 500; }
.autopay-review :is(th, td):last-child { text-align: right; white-space: nowrap; }
.autopay-review tfoot td { font-weight: 750; }
.autopay-review details { margin-bottom: 12px; }
.autopay-review summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: #164b86; font-weight: 700; }
.autopay-review details p + p { margin-top: 8px; }
.autopay-consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 12px; border: 1px solid var(--autopay-line); border-radius: 10px; color: #18222c; line-height: 1.5; cursor: pointer; }
.autopay-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #162d49; }
.autopay-demo-button { min-height: 44px; margin: 12px 0 8px; padding: 8px 16px; border: 1px solid transparent; border-radius: 10px; background: #162d49; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.autopay-demo-button:hover:not(:disabled) { background: #26476a; }
.autopay-demo-button:disabled { background: #e5ebef; color: #46586a; cursor: default; }
.autopay-review [hidden] { display: none; }
.autopay-review [role=status] { font-size: .92rem; color: #405266; }
.autopay-help { margin-top: 24px; }
.autopay-help p { max-width: 67ch; }
.autopay-help div { display: flex; flex-wrap: wrap; gap: 0 20px; }
.autopay-help a { display: inline-flex; align-items: center; min-height: 44px; color: #164b86; font-weight: 700; overflow-wrap: anywhere; }
.autopay-review :is(a, button, input, summary):focus-visible { outline: 2px solid #1a5fa0; outline-offset: 3px; }
@media (max-width: 760px) {
  .autopay-review-grid { grid-template-columns: minmax(0, 1fr); }
  .autopay-schedule { border-right: 0; border-bottom: 1px solid var(--autopay-line); }
}
