/* ============================================================
   account.css — /back-office/account-management (.acct).
   Rebuilt on the comms foundation: global house classes from
   styles.css (wrap, section-pad, h1/h2, lead, eyebrow, ios, btn,
   mono, arrow) for all structure/type; this file carries only the
   scoped .acct-* section craft. One soft-elevated stage per
   section; de-boxed proof lists with gradient-dot markers.
   Palette: sand-blue (page-scoped --indigo override so the house
   buttons/eyebrows follow), light paper surfaces, --mint reserved
   for the tiny paid/live dots only.
   Animation driver: /marketing/back-office/account.js (adds the
   per-stage `--js` classes; every stage reads fine statically).
   ============================================================ */

.acct {
  --ac: #5b7c99;
  --ac-deep: #3d5a77;
  --ac-lite: #9cb6cf;
  --ac-wash: #eaf0f6;
  /* sand-blue the house accents inside this page only */
  --indigo: #4f7192;
  --indigo-700: #33506b;
  --indigo-300: #bccddd;
  --periwinkle: #eaf0f6;
  --periwinkle-2: #dde7f0;
  position: relative;
  isolation: isolate;
}

/* ────────────────────────────────────────────────────────────
   shared frame: two-column section grid + copy column
   ──────────────────────────────────────────────────────────── */
.acct .acct-grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  gap: clamp(34px, 5.5vw, 84px);
  align-items: center;
}
.acct .acct-grid--flip {
  grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
}
.acct .acct-grid--flip .acct-copy { order: 2; }
.acct .acct-grid--flip .acct-stagecol { order: 1; }

.acct .acct-copy .eyebrow { color: var(--ac-deep); }
.acct .acct-copy .h2 { margin: 14px 0 12px; }
.acct .acct-copy .lead { max-width: 44ch; margin: 0; }

/* de-boxed proof points — gradient-dot markers, never cards */
.acct .acct-points {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(13px, 1.8vw, 19px);
}
.acct .acct-points li {
  position: relative;
  padding-left: 24px;
}
.acct .acct-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ac-lite), var(--ac-deep));
}
.acct .acct-points b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 2px;
}
.acct .acct-points span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 44ch;
}

/* stage column + ambient glow */
.acct .acct-stagecol {
  position: relative;
  min-width: 0;
}
.acct .acct-stagecol::before {
  content: "";
  position: absolute;
  inset: -8% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 50% at 68% 30%, color-mix(in srgb, var(--ac) 14%, transparent), transparent 72%),
    radial-gradient(48% 44% at 16% 84%, var(--ac-wash), transparent 70%);
}

/* the one soft-elevated panel per section */
.acct .acct-stage {
  position: relative;
  z-index: 1;
  margin: 0;
  background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  padding: clamp(18px, 2vw, 26px);
}
.acct .acct-stagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.acct .acct-stagehead-note {
  font-size: 12px;
  color: var(--ink-40);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* live pill — the tiny dot is the only teal on the page */
.acct .acct-live {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ac-deep);
  background: var(--ac-wash);
  border: 1px solid color-mix(in srgb, var(--ac) 24%, #fff);
  border-radius: var(--r-pill);
  padding: 5px 11px;
}
.acct .acct-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: acct-blink 1.8s ease-in-out infinite;
}
@keyframes acct-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* floating pill badge overlapping a stage edge */
.acct .acct-float {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -17px 0 0 clamp(16px, 2.4vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px 9px 13px;
  box-shadow: var(--shadow-2);
  font-size: 12.5px;
  color: var(--ink-60);
}
.acct .acct-float b { font-weight: 600; color: var(--ink); }
.acct .acct-float-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac-deep);
}
.acct .acct-float-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ac-deep);
  animation: acct-ping 1.9s ease-out infinite;
}
@keyframes acct-ping {
  0%        { transform: scale(0.45); opacity: 0.7; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ────────────────────────────────────────────────────────────
   HERO (.acct-hero) — copy + the living ledger
   ──────────────────────────────────────────────────────────── */
.acct .acct-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 5vw, 80px);
  background: linear-gradient(180deg, #edf1f7, var(--paper) 62%, #fff);
}
.acct .acct-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.acct .acct-aur {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
}
.acct .acct-aur--a {
  width: 46vw; height: 46vw;
  left: -12vw; top: -18vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--ac) 22%, transparent), transparent 65%);
}
.acct .acct-aur--b {
  width: 40vw; height: 40vw;
  right: -10vw; top: -8vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--ac-lite) 30%, transparent), transparent 65%);
}
.acct .acct-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 10fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}
.acct .acct-hero .eyebrow { color: var(--ac-deep); }
.acct .acct-hero .h1 { margin: 14px 0 18px; font-size: clamp(40px, 6vw, 80px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.acct .acct-hero .h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--ac-deep), var(--ac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.acct .acct-hero .lead { max-width: 44ch; margin: 0 0 26px; }
.acct .acct-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.acct .acct-hero-stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(26px, 3.5vw, 42px);
  padding-top: clamp(18px, 2.5vw, 28px);
  border-top: 1px solid var(--line);
}
.acct .acct-hero-stat b {
  display: block;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.acct .acct-hero-stat > span {
  display: block;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-40);
  max-width: 15ch;
}

/* the living ledger */
.acct .acct-ledger { padding: 0; overflow: hidden; }
.acct .acct-lg-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px clamp(16px, 2vw, 22px) 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.acct .acct-lg-av {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ac-deep), var(--ac));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.acct .acct-lg-who {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  margin-right: auto;
}
.acct .acct-lg-who b {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.acct .acct-lg-who i {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-40);
}
.acct .acct-lg-rows {
  list-style: none;
  margin: 0;
  padding: 6px clamp(10px, 1.4vw, 14px);
  display: flex;
  flex-direction: column;
}
/* JS mode: fixed-height viewport so the loop never reflows the page */
.acct .acct-ledger--js .acct-lg-rows {
  height: 288px;
  overflow: hidden;
  justify-content: flex-start;
}
.acct .acct-lg-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 8px;
  border-radius: var(--r-mid);
}
.acct .acct-lg-row + .acct-lg-row { border-top: 1px dashed var(--line-2); }
.acct .acct-lg-kind {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ac-deep);
  background: var(--ac-wash);
  border-radius: var(--r-pill);
  padding: 4px 0;
}
.acct .acct-lg-what { min-width: 0; }
.acct .acct-lg-what b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acct .acct-lg-what span {
  display: block;
  font-size: 12px;
  color: var(--ink-40);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acct .acct-lg-amt {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.acct .acct-lg-amt[data-neg] { color: var(--ac-deep); }

/* JS reveal: rows hidden until posted in */
.acct .acct-ledger--js .acct-lg-row { display: none; }
.acct .acct-ledger--js .acct-lg-row.is-on {
  display: grid;
  animation: acct-post 0.44s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes acct-post {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.acct .acct-lg-bal {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px clamp(16px, 2vw, 22px) 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.acct .acct-lg-bal-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-right: auto;
}
.acct .acct-lg-bal-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.acct .acct-lg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--mint) 68%, var(--ink));
  background: color-mix(in srgb, var(--mint) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--mint) 26%, #fff);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.acct .acct-ledger:not(.acct-ledger--js) .acct-lg-chip,
.acct .acct-ledger.is-settled .acct-lg-chip {
  opacity: 1;
  transform: none;
}
.acct .acct-ledger.is-settled .acct-lg-bal-num { color: var(--ac-deep); }

/* ────────────────────────────────────────────────────────────
   TEXT-TO-PAY (.acct-pay) — one phone, three moments
   ──────────────────────────────────────────────────────────── */
.acct .acct-pay { background: #fff; }
.acct .acct-pay .acct-stagecol { display: grid; justify-items: center; }

.acct .acct-phone {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(320px, 86vw);
  border-radius: 44px;
  background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid var(--line);
  box-shadow:
    inset 0 0 0 6px #0d1322,
    inset 0 0 0 7px #2a3350,
    var(--shadow-float);
  padding: 14px;
}
.acct .acct-phone-top {
  display: grid;
  place-items: center;
  padding: 6px 0 10px;
}
.acct .acct-phone-top i {
  width: 86px;
  height: 22px;
  border-radius: var(--r-pill);
  background: #0d1322;
}
.acct .acct-phone-screens {
  position: relative;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-2);
}
.acct .acct-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.acct .acct-screen.is-on {
  opacity: 1;
  transform: none;
}

/* screen 1 — the SMS */
.acct .acct-screen--sms { background: linear-gradient(180deg, var(--paper), #fff); }
.acct .acct-sms-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 14px;
}
.acct .acct-sms-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ac-deep), var(--ac));
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
.acct .acct-sms-head b { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.acct .acct-sms-head span { font-size: 10px; color: var(--ink-40); }
.acct .acct-sms-bubble {
  align-self: flex-start;
  max-width: 92%;
  background: var(--line-2);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  padding: 10px 13px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-70);
}
.acct .acct-sms-bubble b { font-weight: 600; color: var(--ink); }
.acct .acct-sms-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ac-deep);
  background: var(--ac-wash);
  border: 1px solid color-mix(in srgb, var(--ac) 24%, #fff);
  border-radius: var(--r-pill);
  padding: 8px 13px;
}
.acct .acct-sms-time {
  margin-top: auto;
  text-align: center;
  font-size: 10px;
  color: var(--ink-40);
}
/* the tap ring — pulses on the link while the SMS screen is live */
.acct .acct-sms-tap {
  position: relative;
  width: 10px;
  height: 10px;
  flex: none;
}
.acct .acct-sms-tap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ac);
}
.acct .acct-screen--sms.is-on .acct-sms-tap::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--ac);
  animation: acct-ping 1.4s ease-out infinite;
}

/* screen 2 — hosted checkout */
.acct .acct-screen--pay { background: #fff; }
.acct .acct-payp-clinic {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.acct .acct-payp-for {
  text-align: center;
  font-size: 11px;
  color: var(--ink-40);
  margin-top: 16px;
}
.acct .acct-payp-amt {
  text-align: center;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 4px;
}
.acct .acct-payp-btn {
  margin-top: 22px;
  display: grid;
  place-items: center;
  background: #0d1322;
  color: #fff;
  border-radius: 14px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease;
}
.acct .acct-payp-btn-busy { display: none; }
.acct [data-acct-phone].is-charging .acct-payp-btn { transform: scale(0.97); }
.acct [data-acct-phone].is-charging .acct-payp-btn-label { display: none; }
.acct [data-acct-phone].is-charging .acct-payp-btn-busy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.acct .acct-payp-spin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: acct-spin 0.7s linear infinite;
}
@keyframes acct-spin { to { transform: rotate(360deg); } }
.acct .acct-payp-card {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-60);
}
.acct .acct-payp-card i {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ac-deep);
  background: var(--ac-wash);
  border-radius: 4px;
  padding: 2px 5px;
}
.acct .acct-payp-methods {
  margin-top: auto;
  text-align: center;
  font-size: 10px;
  color: var(--ink-40);
}

/* screen 3 — paid, posted */
.acct .acct-screen--paid {
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, #fff, var(--ac-wash));
}
.acct .acct-paid-check {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, var(--ac), var(--ac-deep));
  box-shadow: 0 14px 30px -14px var(--ac-deep);
  margin-bottom: 8px;
}
.acct .acct-screen--paid.is-on .acct-paid-check {
  animation: acct-pop 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
@keyframes acct-pop {
  from { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.12); }
  to   { transform: scale(1); opacity: 1; }
}
.acct .acct-paid-amt {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.acct .acct-paid-note { font-size: 12px; color: var(--ink-60); }
.acct .acct-paid-post {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--mint) 68%, var(--ink));
  background: color-mix(in srgb, var(--mint) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--mint) 26%, #fff);
  border-radius: var(--r-pill);
  padding: 5px 11px;
}
.acct .acct-paid-post i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: acct-blink 1.8s ease-in-out infinite;
}

/* progress dots under the phone */
.acct .acct-phone-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding-top: 12px;
}
.acct .acct-phone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}
.acct .acct-phone-dot.is-on {
  background: var(--ac-deep);
  transform: scale(1.25);
}

/* ────────────────────────────────────────────────────────────
   STATEMENTS (.acct-dun) — the dunning timeline
   ──────────────────────────────────────────────────────────── */
.acct .acct-dun { background: linear-gradient(180deg, #fff, var(--paper) 40%, #fff); }

.acct .acct-dun-lane {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px) 6px 8px;
}
.acct .acct-dun-rail {
  position: absolute;
  left: 7%;
  right: 7%;
  top: calc(clamp(20px, 2.4vw, 30px) + 17px);
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.acct .acct-dun-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ac-lite), var(--ac-deep));
  transform-origin: left center;
  transition: width 0.9s cubic-bezier(0.3, 0, 0.2, 1);
}
.acct .acct-dun--js .acct-dun-fill { width: 0; }
.acct .acct-dun-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.acct .acct-dun-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  transition: opacity 0.4s ease;
}
.acct .acct-dun--js .acct-dun-step { opacity: 0.32; }
.acct .acct-dun--js .acct-dun-step.is-on { opacity: 1; }
.acct .acct-dun-node {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ac-deep);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.acct .acct-dun-step.is-now .acct-dun-node {
  border-color: var(--ac);
  transform: scale(1.08);
}
.acct .acct-dun-step.is-now .acct-dun-node::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--ac);
  animation: acct-ping 1.6s ease-out infinite;
}
.acct .acct-dun-step--paid .acct-dun-node {
  background: linear-gradient(135deg, var(--ac), var(--ac-deep));
  border-color: transparent;
  color: #fff;
}
.acct .acct-dun-day {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.acct .acct-dun-t {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: -3px;
}
.acct .acct-dun-ch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.acct .acct-dun-ch span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--ac-deep);
  background: var(--ac-wash);
  border-radius: var(--r-pill);
  padding: 3px 8px;
}
.acct .acct-dun-step--paid .acct-dun-ch span {
  color: color-mix(in srgb, var(--mint) 68%, var(--ink));
  background: color-mix(in srgb, var(--mint) 12%, #fff);
}
.acct .acct-dun-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(16px, 2vw, 22px);
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-60);
}
.acct .acct-dun-note b { font-weight: 600; color: var(--ink); }
.acct .acct-dun-note .acct-live-dot { flex: none; }
.acct .acct-dun--js .acct-dun-note {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.acct .acct-dun--js.is-paid .acct-dun-note {
  opacity: 1;
  transform: none;
}

/* ────────────────────────────────────────────────────────────
   AUTO-PAY & PLANS (.acct-plan) — the plan meter
   ──────────────────────────────────────────────────────────── */
.acct .acct-plan { background: #fff; }

.acct .acct-plan-bal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px, 1.8vw, 20px) 4px 4px;
}
.acct .acct-plan-bal span {
  font-size: 13px;
  color: var(--ink-60);
}
.acct .acct-plan-bal b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.acct .acct-plan-split {
  padding: 0 4px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ac-deep);
}
.acct .acct-plan-meter {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 0 4px;
}
.acct .acct-plan-seg {
  position: relative;
  height: 46px;
  border-radius: 10px;
  background: var(--ac-wash);
  border: 1px solid color-mix(in srgb, var(--ac) 16%, #fff);
  overflow: hidden;
}
.acct .acct-plan-seg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ac), var(--ac-deep));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.3, 0, 0.2, 1);
}
.acct .acct-plan-seg::after {
  content: "$190";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ac-deep);
  transition: color 0.3s ease;
}
.acct .acct-plan-seg.is-paid::before { transform: scaleY(1); }
.acct .acct-plan-seg.is-paid::after { content: "✓"; color: #fff; font-size: 13px; }
.acct .acct-plan-read {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 4px 0;
  font-size: 13px;
  color: var(--ink-60);
}
.acct .acct-plan-read b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.acct .acct-plan-read i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-40);
  margin-left: auto;
}
.acct .acct-plan-auto {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: var(--r-mid);
  background: var(--paper);
  border: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-60);
}
.acct .acct-plan-auto b { font-weight: 600; color: var(--ink); }
.acct .acct-plan-done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--mint) 68%, var(--ink));
  background: color-mix(in srgb, var(--mint) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--mint) 26%, #fff);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.acct [data-acct-plan].is-complete .acct-plan-done {
  opacity: 1;
  transform: none;
}
/* financing chips under the stage */
.acct .acct-plan-fin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}
.acct .acct-plan-fin-label {
  font-size: 12.5px;
  color: var(--ink-40);
}
.acct .acct-chip {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ac-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 13px;
  box-shadow: var(--shadow-1);
}

/* ────────────────────────────────────────────────────────────
   MONEY IN MOTION (.acct-recon) — payout = ledger, day closed
   ──────────────────────────────────────────────────────────── */
.acct .acct-recon { background: linear-gradient(180deg, #fff, #edf1f7); }

.acct .acct-recon-payout {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: clamp(12px, 1.6vw, 18px) 4px 12px;
  border-bottom: 1px solid var(--line);
}
.acct .acct-recon-payout span {
  font-size: 13px;
  color: var(--ink-60);
  margin-right: auto;
}
.acct .acct-recon-payout b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.acct .acct-recon-rows {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}
.acct .acct-recon--js .acct-recon-rows {
  height: 186px;
  overflow: hidden;
}
.acct .acct-recon-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 4px;
}
.acct .acct-recon-row + .acct-recon-row { border-top: 1px dashed var(--line-2); }
.acct .acct-recon--js .acct-recon-row { display: none; }
.acct .acct-recon--js .acct-recon-row.is-on {
  display: flex;
  animation: acct-post 0.44s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.acct .acct-recon-kind {
  flex: none;
  width: 52px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ac-deep);
  background: var(--ac-wash);
  border-radius: var(--r-pill);
  padding: 4px 0;
}
.acct .acct-recon-src {
  min-width: 0;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}
.acct .acct-recon-src b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.acct .acct-recon-src span {
  font-size: 11.5px;
  color: var(--ink-40);
}
.acct .acct-recon-amt {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.acct .acct-recon-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 4px;
  border-top: 1px solid var(--line);
}
.acct .acct-recon-total span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-right: auto;
}
.acct .acct-recon-total b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.acct .acct-recon-delta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border-radius: var(--r-mid);
  background: var(--paper);
  border: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-60);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.acct .acct-recon-delta b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
  margin-left: auto;
}
.acct .acct-recon-closed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--mint) 68%, var(--ink));
  background: color-mix(in srgb, var(--mint) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--mint) 26%, #fff);
  border-radius: var(--r-pill);
  padding: 5px 11px;
}
.acct .acct-recon--js .acct-recon-closed {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.acct [data-acct-recon].is-closed .acct-recon-closed {
  opacity: 1;
  transform: none;
}
.acct [data-acct-recon].is-closed .acct-recon-delta {
  background: color-mix(in srgb, var(--mint) 8%, #fff);
  border-color: color-mix(in srgb, var(--mint) 30%, #fff);
}
.acct .acct-recon-closed i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

/* ────────────────────────────────────────────────────────────
   CTA (.acct-cta) — tight closing band
   ──────────────────────────────────────────────────────────── */
.acct .acct-cta {
  background:
    radial-gradient(60% 90% at 50% 0%, var(--ac-wash), transparent 70%),
    linear-gradient(180deg, #edf1f7, var(--paper));
  border-top: 1px solid var(--line);
  text-align: center;
}
.acct .acct-cta-inner { max-width: 680px; margin-inline: auto; }
.acct .acct-cta .eyebrow { color: var(--ac-deep); }
.acct .acct-cta .h2 { margin: 14px 0 12px; }
.acct .acct-cta-sub {
  font-size: clamp(15.5px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 46ch;
  margin: 0 auto 26px;
}
.acct .acct-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ────────────────────────────────────────────────────────────
   responsive
   ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .acct .acct-grid,
  .acct .acct-grid--flip,
  .acct .acct-hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .acct .acct-grid--flip .acct-copy { order: 1; }
  .acct .acct-grid--flip .acct-stagecol { order: 2; }
  .acct .acct-copy .lead,
  .acct .acct-points span { max-width: none; }
}
@media (max-width: 560px) {
  .acct .acct-hero-stats { flex-wrap: wrap; gap: 18px; }
  .acct .acct-lg-row { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 8px; }
  .acct .acct-dun-steps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .acct .acct-dun-rail { display: none; }
  .acct .acct-float { margin-left: 10px; }
}

/* ────────────────────────────────────────────────────────────
   phone hardening — same fixes as the 560px pass, widened so
   larger phones (561-700px) get them too; nothing here touches
   >700px desktop/tablet layout.
   ──────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .acct .acct-hero-stats { flex-wrap: wrap; gap: 18px; }
  .acct .acct-lg-row { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 8px; }
  .acct .acct-dun-steps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .acct .acct-dun-rail { display: none; }
  .acct .acct-float { margin-left: 10px; }
  .acct .acct-phone { width: min(300px, 84vw); }
  .acct .acct-phone-screens { height: 360px; }
}
@media (max-width: 460px) {
  .acct .acct-dun-steps { grid-template-columns: 1fr; row-gap: 16px; }
  .acct .acct-hero-stats { gap: 14px 22px; }
  .acct .acct-lg-row { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 6px; }
  .acct .acct-lg-kind,
  .acct .acct-recon-kind { padding: 4px 4px; font-size: 8.5px; }
}

/* ────────────────────────────────────────────────────────────
   reduced motion — everything static, all states resolved
   ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .acct *,
  .acct *::before,
  .acct *::after {
    animation: none !important;
    transition: none !important;
  }
  .acct .acct-recon--js .acct-recon-row { display: flex; }
  .acct .acct-ledger--js .acct-lg-row { display: grid; }
  .acct .acct-ledger--js .acct-lg-rows,
  .acct .acct-recon--js .acct-recon-rows { height: auto; overflow: visible; }
  .acct .acct-dun--js .acct-dun-step { opacity: 1; }
  .acct .acct-dun--js .acct-dun-fill { width: 100%; }
  .acct .acct-dun--js .acct-dun-note,
  .acct .acct-lg-chip,
  .acct .acct-plan-done,
  .acct .acct-recon--js .acct-recon-closed { opacity: 1; transform: none; }
}
