/* save.css — cancel save screen (prefix cx-). One visual language: white card, one serif headline, plain sans body,
   one tinted offer panel per screen (the focal point), rules only inside lists. */
.cx {
  --cx-ink: #1C1917; --cx-ink-2: #57534E; --cx-ink-3: #78716C; --cx-line: #E7E0D5; --cx-paper: #FFFDF9;
  --cx-forest: #2D6A4F; --cx-forest-dk: #1B4332; --cx-tint: #EFF6F1; --cx-tint-line: #CFE3D6; --cx-sienna: #B2471F;
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif; color: var(--cx-ink);
  padding: 40px 16px 64px; box-sizing: border-box; width: 100%;
}
.cx *, .cx *::before, .cx *::after { box-sizing: border-box; }
.cx-card {
  max-width: 560px; margin: 0 auto; background: var(--cx-paper); border: 1px solid var(--cx-line); border-radius: 16px;
  box-shadow: 0 12px 32px rgba(28,25,23,.07); padding: 36px 40px 32px;
}
.cx-h { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 10px; color: var(--cx-ink); text-wrap: balance; }
.cx-lede { font-size: 16px; line-height: 1.55; color: var(--cx-ink-2); margin: 0 0 24px; text-wrap: pretty; }
.cx-sub { font-size: 14px; font-weight: 700; color: var(--cx-ink); margin: 0 0 8px; }
.cx-fine { font-size: 13px; line-height: 1.5; color: var(--cx-ink-3); margin: 10px 0 0; }
.cx-fine--center { text-align: center; margin-top: 6px; }

/* back link */
.cx-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 10px 8px 10px 0; margin: -10px 0 10px; min-height: 44px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--cx-ink-3); cursor: pointer; }
.cx-back:hover { color: var(--cx-ink); }

/* reasons */
.cx-reasons { display: flex; flex-direction: column; gap: 10px; margin: 0 0 8px; }
.cx-reason { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 14px 16px 14px 18px;
  background: #fff; border: 1px solid var(--cx-line); border-radius: 12px; font: inherit; font-size: 16px; font-weight: 600; color: var(--cx-ink);
  text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.cx-reason svg { flex: none; color: var(--cx-ink-3); }
.cx-reason:hover, .cx-reason:focus-visible { border-color: var(--cx-forest); background: var(--cx-tint); }
.cx-reason:hover svg { color: var(--cx-forest); }

/* the offer panel: the one focal point */
.cx-offer { background: var(--cx-tint); border: 1px solid var(--cx-tint-line); border-radius: 14px; padding: 20px; margin: 0 0 24px; }
.cx-offer__title { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--cx-forest-dk); }
.cx-offer__body { font-size: 15px; line-height: 1.55; color: var(--cx-ink-2); margin: 0 0 14px; }
.cx-offer .cx-input { margin-bottom: 12px; }
.cx-offer .cx-fine { margin-top: 10px; }

/* buttons */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 12px 18px; border-radius: 10px;
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s ease, border-color .2s ease; text-align: center; }
.cx-btn--primary { background: var(--cx-forest); color: #fff; border: 1px solid var(--cx-forest); }
.cx-btn--primary:hover { background: var(--cx-forest-dk); }
.cx-btn--quiet { background: #fff; color: var(--cx-forest-dk); border: 1px solid var(--cx-tint-line); }
.cx-btn--quiet:hover { border-color: var(--cx-forest); }
.cx-btn--plain { background: #fff; color: var(--cx-ink); border: 1px solid var(--cx-line); }
.cx-btn--plain:hover { border-color: var(--cx-ink-3); }
.cx-btn--small { width: auto; min-height: 44px; font-size: 14px; padding: 8px 16px; }
.cx-alt { margin: -8px 0 20px; }
.cx-pair { display: flex; gap: 10px; margin-top: 24px; }
.cx-pair .cx-btn { flex: 1 1 0; }

/* the exit: always visible, never styled as a trap */
.cx-exit { text-align: center; margin-top: 8px; }
.cx-link { background: none; border: 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--cx-ink-2); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: #C9C1B5; cursor: pointer; min-height: 44px; padding: 10px 12px; }
.cx-link:hover { color: var(--cx-ink); text-decoration-color: currentColor; }
.cx-textlink { background: none; border: 0; padding: 10px 0; margin: -6px 0 18px; min-height: 44px; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--cx-forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* program list */
.cx-block { margin: 0 0 24px; }
.cx-progs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cx-line); }
.cx-prog { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--cx-line); }
.cx-prog__name { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--cx-ink); min-width: 0; overflow-wrap: anywhere; }
.cx-prog__amt { font-size: 14px; font-weight: 600; color: var(--cx-ink); text-align: right; white-space: nowrap; }
.cx-prog__status { grid-column: 1 / -1; font-size: 13px; color: var(--cx-ink-3); }
.cx-prog--soon .cx-prog__status { color: var(--cx-sienna); font-weight: 700; }
.cx-prog--more { display: block; font-size: 14px; color: var(--cx-ink-3); }

/* facts (what we matched you on / summary after an action) */
.cx-facts { margin: 0 0 8px; padding: 0; border-top: 1px solid var(--cx-line); }
.cx-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--cx-line); }
.cx-facts dt { font-size: 14px; color: var(--cx-ink-3); }
.cx-facts dd { margin: 0; font-size: 15px; font-weight: 600; text-align: right; }
.cx-facts--plain { margin: 16px 0 4px; }

/* inputs */
.cx-input { display: block; width: 100%; font: inherit; font-size: 16px; line-height: 1.5; color: var(--cx-ink); background: #fff;
  border: 1px solid #D6CEC2; border-radius: 10px; padding: 12px 14px; resize: none; }
.cx-input::placeholder { color: #A8A29E; }
.cx-input:focus { outline: 2px solid var(--cx-forest); outline-offset: 1px; border-color: var(--cx-forest); }
.cx-notelink { display: block; margin: 0 auto 4px; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--cx-forest);
  min-height: 44px; padding: 10px 12px; cursor: pointer; }
.cx-note { display: block; margin: 0 0 12px; }
.cx-note__label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 8px; }

/* pause length */
.cx-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 14px; }
.cx-seg__opt { min-height: 48px; border-radius: 10px; border: 1px solid var(--cx-tint-line); background: #fff; font: inherit; font-size: 15px; font-weight: 600;
  color: var(--cx-ink); cursor: pointer; }
.cx-seg__opt.is-on { border: 2px solid var(--cx-forest-dk); color: var(--cx-forest-dk); background: #DCEBE1; font-weight: 700; }

/* request chips */
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.cx-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--cx-tint-line);
  background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--cx-ink); cursor: pointer; text-align: left; }
.cx-chip.is-on { border: 2px solid var(--cx-forest); color: var(--cx-forest-dk); padding: 7px 13px; }
.cx-chip svg { flex: none; color: var(--cx-forest); width: 16px; height: 16px; }

/* keep list + funding file */
.cx-keep { list-style: none; margin: 0; padding: 0; }
.cx-keep li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15px; line-height: 1.45; }
.cx-keep svg { flex: none; color: var(--cx-forest); margin-top: 2px; }
.cx-file { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--cx-line);
  border-radius: 12px; background: #fff; margin: 0 0 8px; }
.cx-file > svg { color: var(--cx-forest); align-self: start; margin-top: 2px; }
.cx-file__title { margin: 0 0 2px; font-size: 15px; font-weight: 700; }
.cx-file__body { margin: 0; font-size: 14px; line-height: 1.45; color: var(--cx-ink-2); }

/* accepted */
.cx-done { width: 48px; height: 48px; border-radius: 50%; background: var(--cx-tint); color: var(--cx-forest); display: grid; place-items: center; margin: 0 0 16px; }
.cx-done svg { width: 24px; height: 24px; }
.cx[data-step="accepted"] .cx-btn--quiet { margin-top: 20px; }

/* phones: its own layout, not desktop squeezed */
@media (max-width: 600px) {
  .cx { padding: 0; }
  .cx-card { border: 0; border-radius: 0; box-shadow: none; padding: 20px 20px 28px; background: var(--cx-paper); }
  .cx-h { font-size: 24px; }
  .cx-lede { font-size: 15px; margin-bottom: 20px; }
  .cx-offer { padding: 16px; }
  .cx-card { min-height: calc(100vh - 56px); }
  .cx-pair { flex-direction: column; }
  .cx-file { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .cx-block { margin-bottom: 18px; }
  .cx-file > svg { display: none; }
  .cx-file .cx-btn--small { width: 100%; }
  .cx-facts > div { flex-direction: column; gap: 2px; }
  .cx-facts dd { text-align: left; }
}

/* inline text actions + the closing-soon callout (round 2) */
.cx-inline { display: inline; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--cx-forest); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; padding: 12px 0; margin: -12px 0; }
.cx-soon { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--cx-ink-2); }
.cx-soon strong { color: var(--cx-ink); }
.cx-soon__when { color: var(--cx-sienna); font-weight: 700; }
.cx-after { margin: 16px 0 0; font-size: 15px; line-height: 1.5; color: var(--cx-ink); }
.cx-keep--loss svg { color: var(--cx-ink-3); }
.cx-keep--loss li { color: var(--cx-ink-2); }
.cx-next { margin-top: 20px; }
.cx-offer__body strong { color: var(--cx-forest-dk); }

/* round 4: the bill strip (one visual for a money offer) */
.cx-strip { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cx-strip--two { grid-template-columns: repeat(2, 1fr); }
.cx-strip li { background: #fff; border: 1px solid var(--cx-tint-line); border-radius: 10px; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.cx-strip__when { font-size: 13px; color: var(--cx-ink-3); }
.cx-strip__now { font-size: 24px; font-weight: 700; color: var(--cx-forest-dk); line-height: 1.2; }
.cx-strip__now--plain { color: var(--cx-ink-2); font-weight: 600; }
.cx-strip__was { font-size: 15px; color: #57534E; text-decoration-color: #B2471F; text-decoration-thickness: 1.5px; }
.cx-strip li.is-free { background: #DCEBE1; border-color: #B9D6C3; }
.cx-strip li.is-later { background: transparent; border-style: dashed; }
.cx-strip li.is-later .cx-strip__now { font-size: 18px; font-weight: 600; color: var(--cx-ink-2); }
.cx-strip__row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .cx-strip__now { font-size: 20px; } .cx-strip li { padding: 10px; } .cx-strip__row { flex-direction: column; align-items: flex-start; gap: 0; } }

.cx-after-note { margin-top: 12px; text-align: center; }
.cx-after-note .cx-notelink { color: var(--cx-ink-3); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #C9C1B5; }
.cx-lede { hyphens: manual; }

/* the page (cancel.html) — states the mock could not show */
.cx-page { background: #F7F4EE; min-height: 100vh; display: block; }
a.cx-btn { text-decoration: none; }
a.cx-inline { display: inline-block; padding: 12px 0; margin: -12px 0; line-height: 20px; }
.cx-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #FBEAE4; color: #8A2E12; font-size: 15px; line-height: 1.5; }
.cx-pay { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--cx-line); border-radius: 12px; background: #fff; }
.cx-pay p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.cx-btn[disabled] { opacity: .6; cursor: progress; }

/* "Find my subscription" (2026-11-25): a payer who can't reach the account that pays enters the address they paid with */
.cx-find__alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--cx-line); }
.cx-find__alt .cx-lede { margin-bottom: 0; }
.cx-find__label { display: block; margin: 18px 0 6px; font-size: 14px; font-weight: 600; color: var(--cx-ink); }
.cx-find { display: flex; flex-direction: column; gap: 12px; }
.cx-find .cx-find__input { width: 100%; box-sizing: border-box; min-height: 50px; margin: 0; padding: 12px 14px; font-size: 16px; resize: none; }
.cx-find + .cx-fine { margin-top: 14px; }
.cx-find__sent { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; margin: 6px 0 0; padding: 14px 16px;
  background: var(--cx-tint); border: 1px solid var(--cx-tint-line); border-radius: 12px; font-size: 15px; line-height: 1.5; color: var(--cx-forest-dk); }
.cx-find__sent svg { margin-top: 2px; color: var(--cx-forest); }
.cx-find__sent b { font-weight: 700; overflow-wrap: anywhere; }
