/* ═══════════════════════════════════════════════════════════════════
   CASH IN FLASH — portal design "Bento" (owner approved 2026-10-06)

   Ported from the design kit (bento.css, components.css, desktop.css).
   Used only by pages that carry <html data-skin="bento">, which only the
   customers in PORTAL_V2_CIDS see. Every class starts with b- and every
   variable with --b-, so nothing here can meet dashboard.css (still
   loaded beside it for the shared popups until they are restyled).

   No global resets: base rules are scoped to html[data-skin="bento"] and
   the page's own .b-app container. Phone first; from 960px the same
   markup becomes the desktop grid (sidebar, 3 column bento).
   House rules: no dashed or dotted lines, no capital labels, no line
   textures. Sizes in cqw always follow a px fallback (iOS 15).
   ═══════════════════════════════════════════════════════════════════ */

html[data-skin="bento"] {
  --b-bg: #F4F2ED;
  --b-surface: #FFFFFF;
  --b-ink: #121815;
  --b-ink-2: #4A514E;
  --b-ink-3: #646B68;
  --b-green: #0E8741;
  --b-green-hi: #13A052;
  --b-green-lo: #0A6B33;
  --b-green-tint: #E7F4EC;
  --b-gold: #D9C27A;
  --b-gold-lo: #B99B45;
  --b-amber-ink: #7A5212;
  --b-amber-tint: #FBF0D9;
  --b-red-ink: #A3271C;
  --b-red-tint: #FCE6E3;
  --b-r-tile: 24px;
  --b-r-inner: 12px;
  --b-gap: 12px;
  --b-pad: 20px;
  --b-line: rgba(18, 24, 21, .06);
  --b-shadow-tile: 0 1px 1px rgba(18, 24, 21, .03), 0 2px 6px rgba(18, 24, 21, .04), 0 12px 28px -8px rgba(18, 24, 21, .12);
  --b-safe-top: env(safe-area-inset-top, 0px);
  --b-safe-bottom: env(safe-area-inset-bottom, 0px);
  --b-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--b-bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html[data-skin="bento"] body {
  margin: 0;
  background: var(--b-bg);
  color: var(--b-ink);
  font-family: var(--b-font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}

/* Scoped resets: only inside the page's own container and the Home sheet */
:where(.b-app, .b-tabbar, .b-sheet-root) :where(*, *::before, *::after) { box-sizing: border-box; }
:where(.b-app, .b-tabbar, .b-sheet-root) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(.b-app, .b-tabbar, .b-sheet-root) :where(a, button) {
  font: inherit; color: inherit; text-decoration: none; border: 0; background: none; padding: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
:where(.b-app, .b-tabbar, .b-sheet-root) :where(img, svg) { display: block; }
:where(.b-app, .b-sheet-root) [hidden] { display: none !important; }
:where(.b-app, .b-tabbar, .b-sheet-root) :where(a, button):focus-visible { outline: 3px solid rgba(14, 135, 65, .45); outline-offset: 2px; }
.b-num { font-variant-numeric: tabular-nums; }
.b-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.b-mask { letter-spacing: -0.2em; margin-right: .2em; }

/* ── Shell (phone) ─────────────────────────────────────────────────── */
.b-app { min-height: 100vh; }
.b-side { display: none; }
.b-main { max-width: 560px; margin: 0 auto; padding: calc(10px + var(--b-safe-top)) 0 calc(120px + var(--b-safe-bottom)); }
.b-top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo actions" "hello hello";
  align-items: center; padding: 0 var(--b-pad);
}
.b-logo-link { grid-area: logo; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
.b-logo { height: 22px; width: auto; }
.b-actions { grid-area: actions; display: flex; gap: 10px; align-items: center; }
.b-hello { grid-area: hello; padding: 12px 0 14px; min-width: 0; }
.b-date { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--b-ink-3); }
.b-hello h1 { font-size: 29px; line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; margin-top: 4px; }
.b-iconbtn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--b-surface); color: var(--b-ink);
  box-shadow: 0 1px 2px rgba(18, 24, 21, .06), 0 6px 14px -6px rgba(18, 24, 21, .18);
}
.b-avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-weight: 800; font-size: 15px; letter-spacing: .02em; color: var(--b-ink);
  background: radial-gradient(80% 80% at 30% 20%, #F1E3B4 0%, var(--b-gold) 55%, #C8AE5E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 14px -6px rgba(120, 95, 20, .45);
}

/* Tab bar (phone) */
.b-tabbar-fade {
  position: fixed; left: 0; right: 0; bottom: 0; height: calc(104px + var(--b-safe-bottom)); pointer-events: none; z-index: 40;
  background: linear-gradient(180deg, rgba(244, 242, 237, 0) 0%, rgba(244, 242, 237, .9) 40%, var(--b-bg) 100%);
}
.b-tabbar {
  position: fixed; z-index: 41; left: 50%; transform: translateX(-50%); bottom: calc(20px + var(--b-safe-bottom));
  width: calc(100% - 32px); max-width: 528px; height: 66px; border-radius: 33px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 1px 2px rgba(18, 24, 21, .06), 0 14px 34px -10px rgba(18, 24, 21, .22), inset 0 0 0 1px rgba(18, 24, 21, .04);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; gap: 4px; box-sizing: border-box;
}
.b-tab {
  border-radius: 27px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 12px; font-weight: 700; color: var(--b-ink-3);
}
.b-tab[aria-current="page"] { background: var(--b-green-tint); color: var(--b-green-lo); }
body.cif-modal-open .b-tabbar, body.cif-modal-open .b-tabbar-fade, body.b-sheet-open .b-tabbar, body.b-sheet-open .b-tabbar-fade { display: none; }

/* ── Bento grid (phone: two columns) ───────────────────────────────── */
.b-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--b-gap); padding: 0 var(--b-pad); }
.b-grid > * { min-width: 0; }
.b-span2 { grid-column: span 2; }
.b-square { aspect-ratio: 1 / 1; }
.b-smalls { display: contents; }

/* Tiles */
.b-tile {
  position: relative; display: flex; flex-direction: column; text-align: left; overflow: hidden;
  padding: 16px; border-radius: var(--b-r-tile); background: var(--b-surface); color: var(--b-ink);
  box-shadow: var(--b-shadow-tile);
}
.b-tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 21, .04), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.b-label { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--b-ink-3); display: flex; align-items: center; gap: 6px; }
:where(.b-tile) :where(h2), .b-ttitle { font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -0.015em; }
.b-tsub { font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--b-ink-3); margin-top: 2px; }
.b-foot { margin-top: auto; }
.b-foot b { display: block; font-size: 16px; line-height: 20px; font-weight: 800; letter-spacing: -0.01em; }
.b-foot span { display: block; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--b-ink-3); margin-top: 1px; }
.b-foot .b-link { display: none; }

/* Skeleton while the first read is on its way */
.b-skel { border-radius: var(--b-r-tile); background: linear-gradient(100deg, #ECEAE4 30%, #F6F5F1 50%, #ECEAE4 70%) 0 0 / 300% 100%;
  animation: b-shimmer 1.4s ease-in-out infinite; }
.b-skel--hero { min-height: 262px; }
.b-skel--tile { min-height: 168px; }
@keyframes b-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ── Hero (satin tile) ─────────────────────────────────────────────── */
.b-hero {
  color: #fff; padding: 20px;
  background:
    radial-gradient(120% 85% at 100% 0%, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(110% 100% at 0% 100%, rgba(5, 62, 29, .55) 0%, rgba(5, 62, 29, 0) 62%),
    linear-gradient(160deg, #12984B 0%, #0E8741 48%, #0B7036 100%);
  box-shadow: 0 2px 4px rgba(10, 107, 51, .18), 0 22px 44px -16px rgba(10, 107, 51, .60);
}
.b-hero::before {
  content: ""; position: absolute; width: 520px; height: 140px; left: 40px; top: -36px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .20) 0%, rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(-22deg); filter: blur(10px);
}
.b-hero::after { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -18px 36px -18px rgba(0, 0, 0, .18); }
.b-fold {
  position: absolute; width: 460px; height: 90px; left: 120px; top: 150px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 40, 18, .22), rgba(0, 40, 18, 0)); transform: rotate(-22deg); filter: blur(8px);
}
.b-hero > *:not(.b-fold) { position: relative; }
.b-hero--amber {
  background: radial-gradient(120% 85% at 100% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 52%),
    linear-gradient(160deg, #C98A1C 0%, #A8700F 55%, #855609 100%);
  box-shadow: 0 2px 4px rgba(133, 86, 9, .2), 0 22px 44px -16px rgba(133, 86, 9, .6);
}
.b-hero--red {
  background: radial-gradient(120% 85% at 100% 0%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 52%),
    linear-gradient(160deg, #C9463A 0%, #A9342A 55%, #84251D 100%);
  box-shadow: 0 2px 4px rgba(132, 37, 29, .2), 0 22px 44px -16px rgba(132, 37, 29, .6);
}
.b-hero--ink {
  background: radial-gradient(120% 85% at 100% 0%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 52%),
    linear-gradient(160deg, #24302A 0%, #161D19 100%);
  box-shadow: 0 22px 44px -16px rgba(18, 24, 21, .6);
}
.b-hero .b-label { color: #fff; font-size: 16px; line-height: 20px; }
.b-hero .b-label, .b-htitle, .b-hsub, .b-amount, .b-due, .b-hfoot { text-shadow: 0 1px 2px rgba(0, 30, 12, .18); }
.b-hero--amber .b-label, .b-hero--amber .b-amount, .b-hero--amber .b-due, .b-hero--amber .b-hnote { text-shadow: 0 1px 2px rgba(70, 40, 0, .30); }
.b-hero--red .b-label, .b-hero--red .b-amount, .b-hero--red .b-due, .b-hero--red .b-hnote { text-shadow: 0 1px 2px rgba(80, 10, 5, .25); }
.b-hrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.b-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; flex: none; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: #fff; background: rgba(4, 52, 25, .30); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .20);
}
.b-chip i { width: 7px; height: 7px; border-radius: 50%; background: #B9F2CF; box-shadow: 0 0 0 3px rgba(185, 242, 207, .25); }
.b-chip svg { flex: none; margin-left: -2px; }
.b-chip--gold { color: #3F3006; background: linear-gradient(180deg, #F8EFCD 0%, #EBD796 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 14px -6px rgba(0, 30, 12, .45); }
.b-chip--gold i { background: #A9801A; box-shadow: 0 0 0 3px rgba(169, 128, 26, .22); }
.b-chip--warm i { background: #F7D985; box-shadow: 0 0 0 3px rgba(247, 217, 133, .28); }
.b-chip--coral i { background: #FFB7AB; box-shadow: 0 0 0 3px rgba(255, 183, 171, .28); }
.b-chip--soft i { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
.b-hero--amber .b-chip { background: rgba(72, 42, 0, .26); }
.b-hero--amber .b-chip i { background: #FFE3A6; box-shadow: 0 0 0 3px rgba(255, 227, 166, .28); }
.b-hero--red .b-chip { background: rgba(84, 12, 6, .26); }
.b-hero--red .b-chip i { background: #FFD3CC; box-shadow: 0 0 0 3px rgba(255, 211, 204, .28); }
.b-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.b-glass {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none; color: #fff;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.b-hero > .b-glass { margin-bottom: 16px; }
.b-hrow + .b-htitle { margin-top: 14px; }
.b-hrow--glass { margin-bottom: 16px; }
.b-hrow--glass + .b-htitle { margin-top: 0; }

.b-amount { margin-top: 8px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; display: flex; align-items: flex-start; font-variant-numeric: proportional-nums lining-nums; }
.b-amount .b-cur { font-size: 26px; margin-top: 6px; margin-right: 2px; }
.b-amount .b-whole { font-size: 54px; }
.b-amount .b-cents { font-size: 26px; margin-top: 6px; margin-left: 2px; }
.b-due { margin-top: 10px; font-size: 16px; line-height: 22px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.b-due svg { flex: none; }
.b-hpay {
  margin-top: 18px; min-height: 52px; border-radius: 999px; background: #fff; color: var(--b-green-lo); width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 800; padding: 0 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 20px -8px rgba(4, 50, 24, .55);
}
.b-hpay svg { flex: none; }
.b-hpay[disabled] { opacity: .75; cursor: default; }
.b-hero--amber .b-hpay { color: #6B4507; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 20px -8px rgba(70, 40, 0, .55); }
.b-hero--red .b-hpay { color: #962A20; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 20px -8px rgba(80, 10, 5, .55); }
.b-htitle { font-size: 27px; line-height: 1.16; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.b-hsub { font-size: 16px; line-height: 1.45; font-weight: 600; margin-top: 8px; color: #fff; text-wrap: balance; }
.b-hsub b { font-weight: 800; }
.b-hero--text .b-hsub { text-wrap: wrap; max-width: 292px; }
.b-hhint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; text-align: center; }
.b-hhint svg { flex: none; opacity: .9; }

/* Notes inside the hero (past due, bank payment) */
.b-hnote {
  margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px;
  font-size: 15px; line-height: 1.45; font-weight: 600; color: #fff; text-wrap: pretty;
  background: rgba(3, 44, 20, .30); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.b-hnote > svg { flex: none; margin-top: 1px; }
.b-hnote b { font-weight: 800; }
.b-hnote .b-nic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; margin-top: 1px; background: rgba(255, 255, 255, .16); }
.b-hnote--wide { padding: 14px 16px 14px 14px; border-radius: 18px; gap: 12px; }
.b-hnote--coral .b-nic { background: rgba(255, 183, 171, .22); color: #FFD3CB; }
.b-hero--amber .b-hnote { background: rgba(72, 42, 0, .24); }
.b-hero--red .b-hnote { background: rgba(84, 12, 6, .24); }
.b-hnote + .b-hpay { margin-top: 16px; }
/* On the phone the due line reads before the note (the desktop puts the note on the right) */
.b-hero--noted .b-hnote { order: 1; }
.b-hero--noted .b-hpay { order: 2; margin-top: 16px; }

/* Status lines inside the hero (signing link sent, details emailed) */
.b-sentpill {
  margin-top: 18px; min-height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px;
  font-size: 16px; font-weight: 800; color: #fff; background: rgba(4, 52, 25, .30); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.b-ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; color: var(--b-green); box-shadow: 0 4px 10px -4px rgba(0, 30, 12, .5); }
.b-hsent {
  margin-top: 18px; display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .92);
}
.b-hsent svg { flex: none; }

/* ── Ring (time left, days late, loans paid) ───────────────────────── */
.b-ring-tile { background: linear-gradient(165deg, #F3FAF5 0%, #FFFFFF 60%); }
.b-ring-tile--gold { background: linear-gradient(165deg, #FBF6E6 0%, #FFFFFF 60%); }
.b-ring-tile--amber { background: linear-gradient(165deg, #FFF6E6 0%, #FFFFFF 60%); }
.b-ring-tile--red { background: linear-gradient(165deg, #FFF1EE 0%, #FFFFFF 60%); }
.b-ring { position: relative; width: 108px; height: 108px; margin: auto auto 0; flex: none; }
.b-ring svg { width: 100%; height: 100%; }
.b-ring-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.b-ring-c b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.b-ring-c b.b-word { font-size: 28px; }
.b-ring-c span { font-size: 12px; font-weight: 700; color: var(--b-ink-2); margin-top: 2px; }
.b-ring-tile--full .b-ring-c b { font-size: 36px; }
.b-ring-foot { display: none; }

/* ── Journey (loan from cash received to due date) ─────────────────── */
.b-vd { padding: 18px 20px; }
.b-vhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.b-vhead h2 { font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -0.015em; }
.b-vhead .b-sub { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--b-ink-3); }
.b-track { position: relative; height: 22px; margin: 50px 10px 0; }
.b-line { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 999px; background: #E8EEEA; }
.b-line i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #13A052, #0E8741); }
.b-line b { position: absolute; top: 0; bottom: 0; right: 0; border-radius: 999px; }
.b-line b.b-amber { background: linear-gradient(90deg, #E2AE45, #B07413); }
.b-line b.b-red { background: linear-gradient(90deg, #DE6A5E, #B3362B); }
.b-dot { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; }
.b-dot--done { background: var(--b-green); box-shadow: 0 0 0 4px var(--b-green-tint); }
.b-dot--now { width: 22px; height: 22px; margin: -11px 0 0 -11px; box-shadow: 0 0 0 5px var(--b-green) inset, 0 3px 8px rgba(10, 107, 51, .35); }
.b-dot--end { box-shadow: 0 0 0 4px var(--b-gold) inset, 0 0 0 4px #FBF5E3; }
.b-dot--due.b-amber { box-shadow: 0 0 0 4px #C08419 inset, 0 0 0 4px var(--b-amber-tint); }
.b-dot--due.b-red { box-shadow: 0 0 0 4px #BF3D31 inset, 0 0 0 4px var(--b-red-tint); }
.b-dot--now.b-amber { box-shadow: 0 0 0 5px #B07413 inset, 0 3px 8px rgba(133, 86, 9, .35); }
.b-dot--now.b-red { box-shadow: 0 0 0 5px #B3362B inset, 0 3px 8px rgba(132, 37, 29, .35); }
.b-mark { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #D39B26; box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(211, 155, 38, .22); }
.b-tip {
  position: absolute; bottom: 24px; transform: translateX(-50%); padding: 4px 10px; border-radius: 9px; z-index: 1;
  background: var(--b-ink); color: #fff; font-size: 13px; font-weight: 700; font-style: normal; white-space: nowrap; line-height: 1.3;
}
.b-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; border-radius: 2px; transform: rotate(45deg); z-index: -1; }
.b-tip--start { transform: translateX(-16px); }
.b-tip--start::after { left: 16px; }
.b-tip--end { transform: translateX(calc(-100% + 16px)); }
.b-tip--end::after { left: auto; right: 11px; margin-left: 0; }
.b-tip--warm { background: var(--b-amber-tint); color: var(--b-amber-ink); }
.b-stops { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.b-stops > div { display: flex; flex-direction: column; min-width: 0; }
.b-stops .b-r { align-items: flex-end; text-align: right; }
.b-stops span { font-size: 13px; font-weight: 600; color: var(--b-ink-3); }
.b-stops b { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.b-stops .b-r.b-amber span { color: var(--b-amber-ink); }
.b-stops .b-r.b-red span { color: var(--b-red-ink); }
.b-vd--app .b-stops b { font-size: 16px; }

/* Loan facts (new loan waiting to sign, being funded or set up) */
.b-facts-tile { padding: 18px 20px; }
.b-facts { display: grid; grid-template-columns: 1fr 1.16fr .84fr; margin-top: 16px; padding: 14px 0 2px; border-top: 1px solid rgba(18, 24, 21, .07); }
.b-facts > div { display: flex; flex-direction: column; min-width: 0; }
.b-facts > div + div { padding-left: 14px; border-left: 1px solid rgba(18, 24, 21, .07); }
.b-facts .b-fi { display: none; }
.b-facts p { display: flex; flex-direction: column; min-width: 0; }
.b-facts .b-l { display: block; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--b-ink-3); white-space: nowrap; }
.b-facts b { font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -0.015em; margin-top: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.b-facts .b-short { display: inline; }
.b-facts .b-long { display: none; }
/* two big figures and the due date as a row (signing) */
.b-facts--row { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
.b-facts--row > div:nth-child(1), .b-facts--row > div:nth-child(2) { padding-bottom: 14px; }
.b-facts--row .b-l { font-size: 14px; }
.b-facts--row b { font-size: 22px; line-height: 28px; letter-spacing: -0.02em; }
.b-facts--row > div:nth-child(3) {
  grid-column: 1 / 3; flex-direction: row; align-items: center; justify-content: space-between; min-height: 52px;
  padding-left: 0; border-left: 0; border-top: 1px solid rgba(18, 24, 21, .07);
}
.b-facts--row > div:nth-child(3) .b-fi { display: grid; color: var(--b-green-lo); }
.b-facts--row > div:nth-child(3) p { display: contents; }
.b-facts--row > div:nth-child(3) .b-l { font-size: 16px; color: var(--b-ink-3); flex: 1; padding-left: 8px; }
.b-facts--row > div:nth-child(3) b { font-size: 16px; line-height: 22px; font-weight: 700; margin-top: 0; letter-spacing: 0; }
.b-facts--row .b-short { display: none; }
.b-facts--row .b-long { display: inline; }

/* Getting your cash steps */
.b-steps-tile { background: linear-gradient(165deg, #F3FAF5 0%, #FFFFFF 60%); }
.b-steps { list-style: none; margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.b-steps li { position: relative; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--b-ink-3); }
.b-steps li i { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px #D3D9D5; color: #fff; }
.b-steps li + li::before { content: ""; position: absolute; left: 9px; top: -14px; width: 2px; height: 14px; border-radius: 2px; background: #E1E6E2; }
.b-steps li.b-done { color: var(--b-ink-2); }
.b-steps li.b-done i { background: var(--b-green); box-shadow: 0 0 0 3px var(--b-green-tint); }
.b-steps li.b-done + li::before { background: var(--b-green); }
.b-steps li.b-now { color: var(--b-ink); font-weight: 800; }
.b-steps li.b-now i { box-shadow: inset 0 0 0 5.5px var(--b-green), 0 0 0 4px var(--b-green-tint); }
.b-steps li.b-now.b-sign i { box-shadow: inset 0 0 0 5.5px var(--b-gold-lo), 0 0 0 4px #FBF3DC; }

/* Repay by calendar */
.b-cal {
  width: 58px; height: 62px; margin-top: 10px; border-radius: 14px; overflow: hidden; background: #fff; flex: none;
  display: flex; flex-direction: column; align-items: center; transform: rotate(-2.5deg);
  box-shadow: inset 0 0 0 1px rgba(18, 24, 21, .06), 0 2px 4px rgba(18, 24, 21, .08), 0 12px 20px -8px rgba(18, 24, 21, .30);
}
.b-cal .b-m { width: 100%; height: 20px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #13A052, #0E8741); }
.b-cal b { font-size: 26px; line-height: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--b-ink); }
.b-cal + .b-foot { padding-top: 10px; }

/* Icon squares (bank account, questions, a card we can not name) */
.b-glyph {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-top: 14px; flex: none;
  background: linear-gradient(160deg, #EDF7F1 0%, #D9EFE2 100%); color: var(--b-green-lo);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(10, 107, 51, .06), 0 8px 16px -10px rgba(10, 107, 51, .45);
}
.b-glyph--blue { background: linear-gradient(160deg, #EEF4FC 0%, #DCE8F8 100%); color: #1D4F8C; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(29, 79, 140, .06), 0 8px 16px -10px rgba(29, 79, 140, .45); }
.b-glyph img { width: 30px; height: 30px; border-radius: 8px; }
.b-glyph + .b-foot { padding-top: 10px; }

/* ── Wallet cards (metal finish, no line textures) ─────────────────── */
.b-wcard {
  position: relative; container-type: inline-size; aspect-ratio: 680 / 428; border-radius: 4.8% / 7.6%; overflow: hidden; flex: none; max-width: 100%;
  background: #1E2422 center / cover no-repeat; color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 6px 14px -6px rgba(0, 0, 0, .35), 0 22px 36px -18px rgba(0, 0, 0, .45);
}
.b-wcard--chase { background-image: url(/images/cards/chase.png?v=1); }
.b-wcard--bofa { background-image: url(/images/cards/bofa.png?v=1); }
.b-wcard--wells { background-image: url(/images/cards/wells.jpg?v=1); }
.b-wcard--capone { background-image: url(/images/cards/capone.jpg?v=1); }
.b-wcard--navy { background-image: url(/images/cards/navy.jpg?v=1); }
.b-wcard--schoolsfirst { background-image: url(/images/cards/schoolsfirst.jpg?v=1); }
.b-wcard--citi { background-image: url(/images/cards/citi.jpg?v=1); }
.b-wcard--usbank { background-image: url(/images/cards/usbank.jpg?v=1); }
.b-wcard--sofi { background-image: url(/images/cards/sofi.jpg?v=1); }
.b-wcard--chime { background-image: url(/images/cards/chime.jpg?v=1); }
.b-wcard--golden1 { background-image: url(/images/cards/golden1.jpg?v=1); }
.b-wcard--bmo { background-image: url(/images/cards/bmo.jpg?v=1); }
.b-wcard--valleystrong { background-image: url(/images/cards/valleystrong.jpg?v=1); }
.b-wcard--current { background-image: url(/images/cards/current.jpg?v=1); }
.b-wcard--varo { background-image: url(/images/cards/varo.jpg?v=1); }
.b-wcard--ally { background-image: url(/images/cards/ally.jpg?v=1); }
.b-wcard--arrowhead { background-image: url(/images/cards/arrowhead.jpg?v=1); }
.b-wcard--ink > .b-wl { color: #1C2430; text-shadow: none; }
.b-wcard--ink::after { box-shadow: inset 0 0 0 1px rgba(16, 37, 26, .10), inset 0 1.5px 0 rgba(255, 255, 255, .6), inset 0 -2px 3px rgba(0, 0, 0, .08); }
.b-wcard--metal {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .20) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(90% 120% at 100% 100%, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(135deg, #4B5450 0%, #2C3330 45%, #1A1F1D 100%);
}
.b-wcard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: screen;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, .16) 44%, rgba(255, 255, 255, .04) 52%, rgba(255, 255, 255, 0) 64%),
    radial-gradient(60% 50% at 18% 8%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 70%);
}
.b-wcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1.5px 0 rgba(255, 255, 255, .45), inset 0 -2px 3px rgba(0, 0, 0, .22);
}
.b-wcard > span { position: absolute; z-index: 1; color: #fff; white-space: nowrap; }
.b-wl { left: 5.2%; bottom: 6.6%; font-size: 14px; font-size: 4.3cqw; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); }
.b-wl::before { content: "\2022\2022\2022\2022"; letter-spacing: .12em; margin-right: .7em; }
.b-wb { left: 5.2%; top: 7%; font-size: 16px; font-size: 5cqw; font-weight: 800; letter-spacing: -0.01em; display: flex; align-items: center; }
.b-wb img { height: 30px; width: 30px; height: 9cqw; width: 9cqw; border-radius: 7px; border-radius: 2.2cqw; background: #fff; margin-right: 8px; margin-right: 2.4cqw; }
.b-wb--logo img { height: 36px; width: 36px; height: 11.5cqw; width: 11.5cqw; margin-right: 0; padding: 3px; padding: .9cqw; object-fit: contain;
  border-radius: 9px; border-radius: 2.8cqw; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.b-wd { right: 5.2%; top: 8%; color: rgba(255, 255, 255, .9) !important; font-size: 13px; font-size: 4cqw; font-weight: 700; }
.b-wn { right: 5.2%; bottom: 5.5%; font-size: 29px; font-size: 9cqw; font-weight: 800; font-style: italic; letter-spacing: -0.02em; line-height: 1; }
.b-wn--word { font-size: 16px; font-size: 5cqw; font-style: normal; letter-spacing: 0; bottom: 7%; }
.b-wmc { right: 5.2%; bottom: 6%; display: flex; }
.b-wmc i { width: 20px; height: 20px; width: 7.4cqw; height: 7.4cqw; border-radius: 50%; display: block; }
.b-wmc i:first-child { background: #EB001B; }
.b-wmc i:last-child { background: #F79E1B; margin-left: -8px; margin-left: -2.8cqw; mix-blend-mode: screen; }

/* Card tile on the phone: a small card leaning in the square */
.b-pw .b-wcard { width: 112px; margin-top: 10px; border-radius: 9px; transform: rotate(-2.5deg); transform-origin: 50% 50%; }
.b-pw .b-wcard .b-wl { font-size: 5px; font-size: 4.6cqw; }
.b-pw .b-wcard + .b-foot { padding-top: 10px; }
.b-pw .b-foot b, .b-pw .b-foot span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-pw--generic .b-glyph + .b-foot { padding-top: 10px; }
/* One card sits in the middle; two or more stack like the Payments wallet,
   the others peeking above the card in front (the one the customer picked) */
.b-pw > .b-wcard { align-self: center; }
.b-pwstack { position: relative; display: block; align-self: center; width: 112px; margin-top: 10px; transform: rotate(-2.5deg); }
.b-pwstack--2 { width: 101px; padding-top: 7px; }
.b-pwstack--3 { width: 90px; padding-top: 14px; }
.b-pwback, .b-pwfront { display: block; isolation: isolate; }
.b-pwback { position: absolute; left: 0; right: 0; top: 0; }
.b-pwstack--3 .b-pwback--2 { top: 7px; z-index: 1; }
.b-pwfront { position: relative; z-index: 2; }
.b-pw .b-pwstack .b-wcard { width: 100%; margin-top: 0; transform: none; }
.b-pwback + .b-pwback .b-wcard, .b-pwfront .b-wcard { box-shadow: 0 -3px 8px -5px rgba(0, 0, 0, .4), 0 1px 1px rgba(0, 0, 0, .08), 0 6px 14px -6px rgba(0, 0, 0, .35), 0 22px 36px -18px rgba(0, 0, 0, .45); }
.b-pwstack + .b-foot { padding-top: 10px; }
/* The stack shows how many cards; the words say it where there is room */
.b-foot span.b-pwmore { display: none; }

/* ── Small tiles (Documents, Help, Profile, Questions) ─────────────── */
.b-small { flex-direction: row; align-items: center; gap: 12px; padding: 14px; min-height: 72px; }
.b-small .b-ic { width: 44px; height: 44px; border-radius: var(--b-r-inner); display: grid; place-items: center; flex: none; background: var(--b-green-tint); color: var(--b-green-lo); }
.b-small > b, .b-small .b-tx b { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; flex: 1; min-width: 0; }
.b-small .b-tx { flex: 1; min-width: 0; }
.b-small .b-tx b { display: block; }
.b-small .b-tx > span { display: block; font-size: 14px; font-weight: 600; color: var(--b-ink-3); margin-top: 2px; }
.b-chev { color: #8C9390; flex: none; display: none !important; }
/* Questions tile: a square on the phone, a row on the desktop */
.b-q { flex-direction: column; align-items: stretch; gap: 0; padding: 16px; }
.b-q .b-ic { display: none; }
.b-q .b-qglyph { display: grid; }
.b-q .b-tx { margin-top: auto; padding-top: 10px; flex: none; }
.b-q .b-tx b { font-variant-numeric: tabular-nums; }
.b-q .b-label { display: flex; }
.b-qglyph { display: none; }

/* ── Other tiles ───────────────────────────────────────────────────── */
.b-btn {
  min-height: 54px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 0 20px;
  font-size: 17px; font-weight: 800; letter-spacing: -0.005em;
}
.b-btn svg { flex: none; }
.b-btn--primary { color: #fff; background: linear-gradient(180deg, #13A052 0%, #0E8741 55%, #0B7A3B 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 4px rgba(10, 107, 51, .2), 0 14px 26px -12px rgba(10, 107, 51, .65); }
.b-btn--secondary { background: #fff; color: var(--b-ink); box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, .12); }
.b-pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 700; flex: none; white-space: nowrap; background: var(--b-green-tint); color: var(--b-green-lo); }
.b-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.b-pill--amber { background: var(--b-amber-tint); color: var(--b-amber-ink); }

.b-talk { padding: 18px 20px 20px; }
.b-talk .b-tsub { margin-top: 4px; }
.b-talk .b-btn { margin-top: 16px; }
.b-talk .b-glyphc { display: none; }

.b-acct { padding: 16px 20px 8px; }
.b-acct-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.b-acct-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 0 4px; }
.b-acct-row .b-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #E5EFFB; color: #1D4F8C; }
.b-acct-row .b-ic img { width: 28px; height: 28px; border-radius: 7px; }
.b-acct-row .b-tx { flex: 1; min-width: 0; }
.b-acct-row .b-tx b { display: block; font-size: 16px; font-weight: 700; }
.b-acct-row .b-tx span { display: block; font-size: 14px; font-weight: 600; color: var(--b-ink-3); margin-top: 1px; }
.b-acct-row .b-chev2 { color: #8C9390; flex: none; }
.b-acct .b-glyphc, .b-acct .b-dfoot { display: none; }

.b-oops { padding: 20px; }
.b-oops .b-oic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; background: var(--b-amber-tint); color: var(--b-amber-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.b-oops h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.b-oops .b-tsub { font-size: 15px; margin-top: 6px; }
.b-oops .b-btn { margin-top: 18px; }

/* ── Recent activity ───────────────────────────────────────────────── */
.b-act { grid-column: span 2; margin-top: 6px; }
.b-act-head { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin-bottom: 2px; }
.b-act-head h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.015em; }
.b-see { font-size: 15px; font-weight: 700; color: var(--b-green-lo); min-height: 44px; display: flex; align-items: center; padding: 0 2px; }
.b-act-list { padding: 0; }
.b-act-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.b-act-row + .b-act-row::before { content: ""; position: absolute; top: 0; left: 72px; right: 16px; height: 1px; background: rgba(18, 24, 21, .07); }
.b-act-row .b-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--b-green-tint); color: var(--b-green-lo); }
.b-act-row .b-ic--gold { background: #FBF3DC; color: #7A5A12; }
.b-act-row .b-ic--amber { background: var(--b-amber-tint); color: var(--b-amber-ink); }
.b-act-row .b-ic--red { background: var(--b-red-tint); color: var(--b-red-ink); }
.b-act-row .b-t { flex: 1; min-width: 0; }
.b-act-row .b-t b { display: block; font-size: 16px; font-weight: 700; }
.b-act-row .b-t span { display: block; font-size: 14px; font-weight: 600; color: var(--b-ink-3); margin-top: 2px; }
.b-act-row .b-amt { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; flex: none; }
.b-act-row .b-amt--muted { color: var(--b-ink-3); font-weight: 700; }

/* ── Service notice (cif-notice.js draws it on this skin) ──────────── */
.b-notice { position: relative; display: flex; gap: 12px; align-items: flex-start; margin: 0 var(--b-pad) 12px; padding: 16px; border-radius: 20px; background: #fff; box-shadow: var(--b-shadow-tile); }
.b-notice .b-nic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.b-notice .b-ntx { flex: 1; min-width: 0; }
.b-notice .b-ntx > b { display: block; font-size: 16px; font-weight: 800; line-height: 1.3; padding-top: 1px; }
.b-notice.b-closable .b-ntx > b { padding-right: 34px; }
.b-notice .b-ntx > p { font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--b-ink-2); margin-top: 4px; text-wrap: pretty; }
.b-nmeta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.b-nmeta span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .85); }
.b-nx { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--b-ink-3); }
.b-notice--issue { background: #FFF8EA; box-shadow: var(--b-shadow-tile), inset 0 0 0 1px rgba(168, 112, 15, .16); }
.b-notice--issue .b-nic { background: #FBEBC6; color: var(--b-amber-ink); }
.b-notice--issue .b-nmeta span { color: var(--b-amber-ink); box-shadow: inset 0 0 0 1px rgba(122, 82, 18, .16); }
.b-notice--info { background: #F1F6FD; box-shadow: var(--b-shadow-tile), inset 0 0 0 1px rgba(29, 79, 140, .12); }
.b-notice--info .b-nic { background: #DCE9FA; color: #1D4F8C; }
.b-notice--info .b-nmeta span { color: #1D4F8C; box-shadow: inset 0 0 0 1px rgba(29, 79, 140, .14); }
.b-notice--ok { background: #F1F8F3; box-shadow: var(--b-shadow-tile), inset 0 0 0 1px rgba(10, 107, 51, .12); }
.b-notice--ok .b-nic { background: var(--b-green-tint); color: var(--b-green-lo); }
.b-notice--ok .b-nmeta span { color: var(--b-green-lo); box-shadow: inset 0 0 0 1px rgba(10, 107, 51, .14); }

/* ── Sheet (phone) / dialog (desktop): pay your current loan first ── */
.b-scrim { position: fixed; inset: 0; z-index: 900; background: rgba(12, 18, 15, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.b-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 901; max-width: 560px; margin: 0 auto; background: #fff; color: var(--b-ink);
  border-radius: 32px 32px 0 0; padding: 10px var(--b-pad) calc(34px + var(--b-safe-bottom)); box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .35);
  font-family: var(--b-font);
}
.b-grab { width: 40px; height: 5px; border-radius: 999px; background: #D7DCD9; margin: 0 auto 14px; }
.b-shead { margin-bottom: 18px; }
.b-shead h2 { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; padding-top: 6px; text-wrap: balance; }
.b-shead p { font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--b-ink-3); margin-top: 4px; text-wrap: balance; }
.b-owe { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: #F6F8F5; box-shadow: inset 0 0 0 1px rgba(18, 24, 21, .04); }
.b-owe .b-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; background: radial-gradient(80% 80% at 30% 20%, #2DBA68, #0E8741 60%, #0A6B33); box-shadow: 0 10px 18px -8px rgba(10, 107, 51, .6); }
.b-owe .b-tx { flex: 1; min-width: 0; }
.b-owe .b-tx b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.b-owe .b-tx span { display: block; font-size: 14px; font-weight: 600; color: var(--b-ink-3); margin-top: 2px; }
.b-owe strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.b-sactions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

/* ── New loan: the agreement with its Sign here tab ────────────────── */
.b-htitle em { font-style: normal; color: #F8EBC0; }
.b-doc { position: relative; margin: 20px 2px 0; }
.b-doc-back { position: absolute; inset: 8px 4px -7px 10px; border-radius: 14px; background: rgba(255, 255, 255, .42); transform: rotate(2.6deg); box-shadow: 0 10px 24px -14px rgba(0, 30, 12, .55); }
.b-paper {
  position: relative; background: #fff; color: var(--b-ink); border-radius: 14px; padding: 16px 16px 14px; transform: rotate(-1.1deg); text-shadow: none;
  box-shadow: 0 1px 2px rgba(0, 30, 12, .12), 0 6px 14px -6px rgba(0, 30, 12, .28), 0 24px 40px -18px rgba(0, 30, 12, .62);
}
.b-phead { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(18, 24, 21, .08); }
.b-pf { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; background: linear-gradient(160deg, #13A052, #0B7036); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.b-phead div b { display: block; font-size: 16px; line-height: 20px; font-weight: 800; letter-spacing: -0.01em; }
.b-phead div span { display: block; font-size: 13px; line-height: 17px; font-weight: 600; color: var(--b-ink-3); }
.b-prows { list-style: none; margin-top: 4px; }
.b-prows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 34px; font-size: 14px; }
.b-prows li + li { border-top: 1px solid rgba(18, 24, 21, .06); }
.b-prows .b-k { color: var(--b-ink-3); font-weight: 600; }
.b-prows .b-v { font-weight: 800; letter-spacing: -0.005em; font-variant-numeric: tabular-nums; text-align: right; }
.b-psign { position: relative; display: flex; align-items: flex-end; margin-top: 14px; padding-left: 104px; min-height: 46px; }
.b-flagwrap { position: absolute; left: -24px; bottom: 16px; filter: drop-shadow(0 3px 4px rgba(90, 64, 6, .35)); }
.b-flag {
  height: 32px; padding: 0 22px 0 14px; display: flex; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 800; letter-spacing: -0.005em; color: #3A2C05;
  background: linear-gradient(180deg, #F7E9B9 0%, #E6CD7E 55%, #CFB062 100%);
  -webkit-clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 0 100%); clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 0 100%);
  border-radius: 3px 0 0 3px;
}
.b-flag-fold { position: absolute; left: 0; top: 32px; width: 0; height: 0; border-top: 6px solid #8C6B1E; border-left: 8px solid transparent; }
.b-pline { flex: 1; min-width: 0; }
.b-x { display: flex; align-items: flex-end; height: 36px; padding: 0 0 5px 10px; border-bottom: 1.5px solid #A8AFAB; border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #FFFCF2 0%, #FBF1D2 100%); font-size: 20px; line-height: 1; font-weight: 600; color: #8C9390; }
.b-pline span { display: block; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--b-ink-3); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-pdue { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border-radius: 10px; background: #FBF4E1; color: #6E4B10; font-size: 14px; line-height: 18px; font-weight: 700; }
.b-pdue svg { flex: none; }
.b-pdue b { font-weight: 800; white-space: nowrap; }
.b-hfoot2 { display: flex; flex-direction: column-reverse; }
.b-hero--sign .b-hpay { margin-top: 22px; }

/* After you sign: where the cash goes */
.b-after { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
.b-pw.b-after .b-wcard { width: 104px; transform: rotate(-4deg); margin: 4px 0 0 2px; }
.b-after .b-tx { flex: 1; min-width: 0; }
.b-after .b-tx > b { display: block; font-size: 18px; line-height: 23px; font-weight: 800; letter-spacing: -0.015em; margin-top: 4px; text-wrap: balance; }
.b-after .b-s { display: block; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--b-ink-3); margin-top: 4px; }
.b-after .b-label svg { color: var(--b-green); flex: none; }

/* Being funded: the email confetti and a big amount */
.b-hero--cel { padding-bottom: 16px; }
.b-band { position: relative; height: 136px; margin: 6px -20px 0; display: grid; place-items: center; }
.b-cf {
  position: absolute; inset: 0; pointer-events: none; background: url(/images/bento/burst-paid.png) center top / auto 136px no-repeat;
  -webkit-mask-image: radial-gradient(64px 58px at 50% 50%, rgba(0, 0, 0, 0) 0 92%, #000 100%), linear-gradient(180deg, #000 72%, rgba(0, 0, 0, 0) 96%);
  mask-image: radial-gradient(64px 58px at 50% 50%, rgba(0, 0, 0, 0) 0 92%, #000 100%), linear-gradient(180deg, #000 72%, rgba(0, 0, 0, 0) 96%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.b-bloom { position: absolute; left: 50%; top: 50%; width: 220px; height: 170px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 255, 232, .30), rgba(220, 255, 232, .08) 60%, rgba(220, 255, 232, 0)); }
.b-coin { position: relative; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 0 0 18px rgba(255, 255, 255, .06), inset 0 -3px 0 rgba(10, 107, 51, .08), 0 18px 30px -12px rgba(0, 30, 12, .7); }
.b-coin svg { margin-left: 2px; }
.b-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.b-kick { margin-top: 8px; font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 1px 2px rgba(0, 30, 12, .18); }
.b-hero--cel .b-amount { justify-content: center; margin-top: 10px; }
.b-hero--cel .b-amount .b-cur, .b-hero--cel .b-amount .b-cents { font-size: 30px; margin-top: 8px; }
.b-hero--cel .b-amount .b-whole { font-size: 68px; }
.b-chip--live i { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .24); position: relative; }
.b-chip--live i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); opacity: 0; animation: b-ping 1.8s ease-out infinite; }
@keyframes b-ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
/* The moment a new loan's cash goes out (owner, 2026-10-09): a white chip with a green tick. */
.b-chip--sent { color: #0B5B2C; background: #fff; box-shadow: 0 6px 14px -6px rgba(0, 30, 12, .45); }
.b-chip--sent svg { color: #0E8741; margin-left: -3px; }
.b-dest { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px; border-radius: 18px; text-align: left;
  background: rgba(4, 52, 25, .26); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .12); }
.b-dest .b-wcard, .b-hdest .b-wcard { width: 70px; transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 10px 18px -8px rgba(0, 20, 8, .7); }
.b-dest .b-wcard .b-wd, .b-hdest .b-wcard .b-wd { font-size: 6px; font-size: 8cqw; }
.b-dest .b-tx, .b-hdest .b-tx { min-width: 0; }
.b-dest b, .b-dest span { text-shadow: 0 1px 2px rgba(0, 30, 12, .18); }
.b-dest b { display: block; font-size: 16px; line-height: 21px; font-weight: 800; }
.b-dest .b-tx > span { display: block; font-size: 14px; line-height: 19px; font-weight: 600; margin-top: 2px; text-wrap: balance; }
.b-hdest { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(4, 52, 25, .26); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.b-hdest .b-wcard { width: 64px; transform: none; }
.b-hdest .b-tx span { display: block; font-size: 14px; line-height: 18px; font-weight: 600; color: #fff; }
.b-hdest .b-tx b { display: block; font-size: 16px; line-height: 21px; font-weight: 800; letter-spacing: -0.01em; margin-top: 1px; }
.b-facts--two { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
.b-facts--two .b-l { font-size: 14px; }
.b-facts--two b { font-size: 22px; line-height: 28px; letter-spacing: -0.02em; }
.b-facts--two > div + div { padding-left: 16px; }
.b-cal--gold { width: 74px; height: auto; margin: 12px 0 0; border-radius: 16px; transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(18, 24, 21, .08), 0 12px 22px -10px rgba(120, 95, 20, .35), inset 0 0 0 1px rgba(18, 24, 21, .05); }
.b-cal--gold .b-m { height: 24px; font-size: 13px; color: #3F3006; background: linear-gradient(180deg, #F3E4B0 0%, #E3CB80 100%); }
.b-cal--gold b { font-size: 34px; line-height: 44px; }

/* Steps with a line under each (wide steps tile) */
.b-st { display: block; min-width: 0; }
.b-st b { font: inherit; }
.b-st small { display: none; }

/* ── First visit: the welcome kit ──────────────────────────────────── */
.b-wk { padding: 0 20px 20px; align-items: center; text-align: center;
  background: radial-gradient(70% 46% at 50% 22%, #E3F3E9 0%, rgba(227, 243, 233, 0) 100%), #fff; }
.b-burst { position: absolute; top: 6px; height: 150px; width: 210px; background: url(/images/bento/burst-paid.png) 0 0 / 512px 150px no-repeat; pointer-events: none; }
.b-burst--l { left: -84px; }
.b-burst--r { right: -84px; background-position: -302px 0; }
.b-stage { position: relative; width: 100%; height: 196px; display: grid; place-items: center; }
.b-stage::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 190px; height: 22px; margin-left: -95px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 60, 30, .28), rgba(10, 60, 30, 0)); filter: blur(2px); }
.b-wk .b-wcard { width: 222px; transform: rotate(-7deg); z-index: 1; margin-top: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 10px 18px -8px rgba(6, 60, 28, .45), 0 30px 44px -22px rgba(6, 60, 28, .55); }
.b-tile.b-wk h2 { margin-top: 6px; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.b-wk h2 em { font-style: normal; color: var(--b-green); }
.b-wk p { margin-top: 10px; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--b-ink-2); max-width: 300px; text-wrap: balance; }
.b-wk .b-btn { margin-top: 20px; }
.b-wcard--cif {
  background: url(/images/bento/f-mark.svg) right -14% top 50% / 72% auto no-repeat,
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 46%),
    radial-gradient(90% 120% at 100% 100%, rgba(0, 30, 12, .50) 0%, rgba(0, 0, 0, 0) 56%),
    linear-gradient(135deg, #18A653 0%, #0E8741 46%, #075326 100%);
}
.b-cif-logo { position: absolute; left: 6.5%; top: 9%; width: 40%; height: auto; z-index: 1; filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0, 0, 0, .18)); }
.b-wcard > .b-cif-chip { left: 6.5%; top: 41%; width: 13%; height: 15.5%; border-radius: 5px; border-radius: 2.2cqw;
  background: linear-gradient(135deg, #F6E9BF 0%, #D9C27A 48%, #B99B45 100%); box-shadow: inset 0 0 0 1px rgba(120, 95, 30, .35), 0 1px 2px rgba(0, 0, 0, .25); }
.b-cif-chip::before { content: ""; position: absolute; inset: 30% 0; border-top: 1px solid rgba(120, 95, 30, .35); border-bottom: 1px solid rgba(120, 95, 30, .35); }
.b-cif-chip::after { content: ""; position: absolute; inset: 0 38%; border-left: 1px solid rgba(120, 95, 30, .35); border-right: 1px solid rgba(120, 95, 30, .35); }
.b-wcard > .b-cif-nfc { left: 22.5%; top: 42%; width: 7%; height: 13%; opacity: .85;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8.5 7.5a6 6 0 0 1 0 9M12 5a10 10 0 0 1 0 14M5 10a2.5 2.5 0 0 1 0 4'/%3E%3C/svg%3E") center / contain no-repeat; }
.b-wcard > .b-cif-line { left: 6.5%; right: 6.5%; bottom: 10%; height: 1px; height: .5cqw; border-radius: 2px; border-radius: 1cqw;
  background: linear-gradient(90deg, rgba(217, 194, 122, 0), rgba(217, 194, 122, .75) 30%, rgba(217, 194, 122, 0)); }

/* How your first loan works (satin) */
.b-jr { padding: 20px; }
.b-jr h3 { font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -0.015em; text-shadow: 0 1px 2px rgba(0, 30, 12, .18); }
.b-jr .b-sub { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: #fff; }
.b-jtrack { position: relative; height: 40px; margin: 52px 0 0; }
.b-jline { position: absolute; left: 20px; right: 20px; top: 50%; height: 4px; margin-top: -2px; border-radius: 999px; background: rgba(255, 255, 255, .26); }
.b-jdot { position: absolute; top: 0; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: #127E40; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.b-jdot--first { left: 20px; background: #fff; color: var(--b-green-lo); box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), 0 6px 14px -4px rgba(0, 30, 12, .5); }
.b-jdot--mid { left: 50%; }
.b-jdot--end { left: calc(100% - 20px); color: #3D2F07; background: radial-gradient(80% 80% at 30% 20%, #F6E9BF 0%, #E2CB82 55%, #C8AE5E 100%); box-shadow: 0 0 0 6px rgba(226, 203, 130, .22), 0 6px 14px -4px rgba(0, 30, 12, .5); }
.b-jtip { position: absolute; z-index: 2; bottom: 52px; left: 0; padding: 4px 10px; border-radius: 9px; background: #fff; color: var(--b-green-lo);
  font-size: 13px; font-weight: 800; font-style: normal; white-space: nowrap; line-height: 1.3; box-shadow: 0 6px 14px -6px rgba(0, 30, 12, .5); }
.b-jtip::after { content: ""; position: absolute; left: 20px; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: #fff; border-radius: 2px; transform: rotate(45deg); z-index: -1; }
.b-jstops { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.b-jstops div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.b-jstops div:first-child { align-items: flex-start; text-align: left; }
.b-jstops div:last-child { align-items: flex-end; text-align: right; }
.b-jstops b { font-size: 15px; line-height: 20px; font-weight: 800; letter-spacing: -0.01em; }
.b-jstops span { font-size: 14px; line-height: 18px; font-weight: 600; color: #fff; margin-top: 1px; }
.b-jnote { margin-top: 18px; align-items: center; text-align: left; }
.b-jnote .b-nic { width: 36px; height: 36px; border-radius: 12px; }

/* What you will need, and the call row */
.b-need { padding: 18px 16px 6px; }
.b-need h2 { padding: 0 4px; }
.b-list { margin-top: 4px; }
.b-lrow { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 0; }
.b-lrow + .b-lrow { border-top: 1px solid rgba(18, 24, 21, .06); }
.b-lic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--b-green-lo);
  background: linear-gradient(160deg, #EDF7F1 0%, #D9EFE2 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(10, 107, 51, .06); }
.b-lrow .b-tx, .b-callrow .b-tx { flex: 1; min-width: 0; }
.b-lrow .b-tx b, .b-callrow .b-tx b { display: block; font-size: 16px; font-weight: 700; }
.b-lrow .b-tx span, .b-callrow .b-tx span { display: block; font-size: 14px; font-weight: 600; color: var(--b-ink-3); margin-top: 1px; }
.b-callrow { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; min-height: 76px; }
.b-callrow .b-tx b { font-variant-numeric: tabular-nums; }
.b-chev2 { color: #8C9390; flex: none; margin-left: auto; }

/* Phone only and desktop only bits of the same markup */
@media (max-width: 959.98px) {
  .b-d-only, .b-d-tile { display: none !important; }
  html[data-skin="bento"] .cifchat .cifchat-launch { bottom: calc(98px + var(--b-safe-bottom)); }
}

/* ═══ Desktop: sidebar, top bar and a three column bento ══════════════ */
@media (min-width: 960px) {
  .b-app { display: grid; grid-template-columns: 264px minmax(0, 1fr); }
  .b-tabbar, .b-tabbar-fade { display: none; }
  .b-side {
    position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 28px 18px 22px; z-index: 2;
    background: #FFFFFF; box-shadow: 1px 0 0 rgba(18, 24, 21, .06), 12px 0 40px -30px rgba(18, 24, 21, .25);
  }
  .b-side .b-logo { height: 24px; width: auto; align-self: flex-start; margin: 0 10px 26px; }
  .b-nav { display: flex; flex-direction: column; gap: 4px; }
  .b-nav a { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 14px; border-radius: 14px; font-size: 16px; font-weight: 700; color: var(--b-ink-2); }
  .b-nav a svg { flex: none; color: var(--b-ink-3); }
  .b-nav a:hover { background: #F4F5F3; }
  .b-nav a[aria-current="page"] { background: var(--b-green-tint); color: var(--b-green-lo); }
  .b-nav a[aria-current="page"] svg { color: var(--b-green); }
  .b-help { margin-top: auto; padding: 18px; border-radius: 20px; background: linear-gradient(160deg, #F1F8F3, #E6F3EB); }
  .b-help b { display: block; font-size: 15px; font-weight: 800; }
  .b-help p { font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--b-ink-2); margin-top: 4px; }
  .b-help a { font-weight: 800; color: var(--b-green-lo); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .b-out { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; margin-top: 10px; border-radius: 14px; font-size: 15px; font-weight: 700; color: var(--b-ink-3); }
  .b-out svg { flex: none; }

  /* clip, not hidden (2026-10-08): a hidden box can still be scrolled by
     scrollIntoView (the background shapes reach past its foot), which left
     the page cut off at the top after adding a bank account. */
  .b-main { position: relative; overflow: hidden; overflow: clip; max-width: none; margin: 0; min-width: 0; padding: 30px 48px 64px; min-height: 100vh; }
  .b-main::before, .b-main::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
  .b-main::before { width: 520px; height: 520px; top: -160px; right: -160px; background: url(/images/bento/blob-green.svg) center / contain no-repeat; transform: rotate(18deg); }
  .b-main::after { width: 380px; height: 380px; bottom: -120px; left: -110px; background: url(/images/bento/blob-gold.svg) center / contain no-repeat; transform: rotate(-12deg); }
  .b-wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }

  .b-top { grid-template-areas: "hello actions"; align-items: end; gap: 24px; padding: 0; margin-bottom: 26px; }
  .b-logo-link { display: none; }
  .b-hello { padding: 0; }
  .b-hello h1 { font-size: 34px; letter-spacing: -0.03em; }

  .b-notice { margin: 0 0 20px; gap: 16px; padding: 20px 72px 20px 20px; border-radius: 24px; }
  .b-notice .b-nic { width: 44px; height: 44px; }
  .b-notice.b-closable .b-ntx > b { padding-right: 0; }
  .b-notice .b-ntx > b { font-size: 17px; }
  .b-notice .b-ntx > p { margin-top: 3px; font-size: 16px; }
  .b-nmeta { gap: 8px; }
  .b-nmeta span { height: 30px; padding: 0 12px 0 10px; }
  .b-nx { top: 14px; right: 14px; }

  /* The grid: areas per page state, the same markup as the phone */
  .b-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; align-items: stretch;
    grid-template-areas: "hero hero a" "main main b" "act act side";
  }
  .b-grid--nomain { grid-template-areas: "hero hero a" "act act b" "side side b"; }
  .b-grid--app { grid-template-areas: "hero hero a" "side side side"; }
  .b-grid--error { grid-template-areas: "hero hero b" "side side side"; }
  .b-span2, .b-act { grid-column: auto; }
  .b-square { aspect-ratio: auto; }
  .b-at-hero { grid-area: hero; }
  .b-at-a { grid-area: a; }
  .b-at-main { grid-area: main; }
  .b-at-b { grid-area: b; }
  .b-at-act { grid-area: act; }
  .b-smalls { grid-area: side; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  .b-grid--nomain .b-smalls, .b-grid--app .b-smalls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-grid--error .b-smalls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-grid--app .b-smalls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-skel--hero { min-height: 252px; }
  .b-skel--tile { min-height: 252px; }

  .b-tile { padding: 24px; isolation: isolate; }
  .b-tile:not(.b-hero)::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: url(/images/bento/blob-green.svg) right -70px bottom -84px / 230px 230px no-repeat,
      url(/images/bento/blob-gold.svg) right 96px bottom -40px / 96px 96px no-repeat;
  }
  .b-tile.b-small::before, .b-tile.b-plain::before { background: none; }
  .b-ring-tile::before, .b-side-tile::before { background: url(/images/bento/blob-green.svg) right -92px top -100px / 190px 190px no-repeat,
      url(/images/bento/blob-gold.svg) left -42px bottom -48px / 96px 96px no-repeat !important; }
  .b-act::before { background: url(/images/bento/blob-green.svg) right 230px bottom -84px / 230px 230px no-repeat !important; }

  /* Hero: amount left, action bottom right */
  .b-hero { padding: 28px 30px; min-height: 252px; }
  .b-hero .b-fold { width: 460px; height: 460px; left: auto; right: -120px; top: -150px; border-radius: 0; filter: none;
    background: url(/images/bento/blob-white.svg) center / contain no-repeat; transform: rotate(-14deg); }
  .b-hero--amount, .b-hero--text, .b-hero--headline { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; column-gap: 24px; }
  .b-hero--amount .b-hrow, .b-hero--headline .b-hrow { grid-column: 1 / 3; grid-row: 1; }
  .b-hero--amount .b-amount { grid-column: 1; grid-row: 2; margin-top: 14px; align-self: start; }
  .b-hero .b-amount .b-whole { font-size: 76px; }
  .b-hero .b-amount .b-cur, .b-hero .b-amount .b-cents { font-size: 34px; margin-top: 10px; }
  .b-hero--amount .b-due { grid-column: 1; grid-row: 3; align-self: end; font-size: 17px; margin-top: 20px; }
  .b-hero--amount .b-hpay { grid-column: 2; grid-row: 3; align-self: end; margin-top: 0; width: 280px; min-height: 56px; }
  .b-hero--noted { grid-template-columns: minmax(0, 1fr) 340px; }
  .b-hero--noted .b-hnote { grid-column: 2; grid-row: 2; align-self: start; margin-top: 16px; }
  .b-hero--noted .b-hpay { width: 100%; }
  .b-hero--noted .b-hnote + .b-hpay { margin-top: 16px; }
  .b-hero--wait { grid-template-columns: minmax(0, 1fr) 380px; }
  .b-hero--wait .b-hnote { grid-column: 2; grid-row: 2 / 4; align-self: end; margin-top: 16px; }

  /* Text heroes (no balance): title, line, action */
  .b-hero--text { grid-template-rows: auto 1fr auto auto auto; min-height: 296px; }
  .b-hero--text .b-chips, .b-hero--text > .b-glass { grid-column: 1 / 3; grid-row: 1; margin-bottom: 0; }
  .b-hero--text .b-hrow--glass { margin-bottom: 0; }
  .b-hero--text .b-glass { width: 52px; height: 52px; }
  .b-hero--text .b-chips { gap: 10px; align-self: start; }
  .b-hero--text .b-htitle { grid-column: 1 / 3; grid-row: 3; padding-top: 24px; margin-top: 0; font-size: 34px; line-height: 1.12; letter-spacing: -0.03em; }
  .b-hero--text .b-hsub { grid-column: 1; grid-row: 4; align-self: center; font-size: 17px; max-width: 470px; margin-top: 10px; }
  .b-hero--text .b-hsub.b-wide { grid-column: 1 / 3; max-width: 600px; }
  .b-hero--text .b-hpay { grid-column: 2; grid-row: 4; align-self: end; margin-top: 14px; width: 280px; min-height: 56px; }
  .b-hero--text .b-hsent { grid-column: 1 / 3; grid-row: 5; margin-top: 20px; padding-top: 18px; }

  /* Headline heroes (new loan): a big title, the action bottom right */
  .b-hero--headline { grid-template-rows: auto auto auto 1fr; }
  .b-hero--headline .b-htitle { grid-column: 1 / 3; grid-row: 2; font-size: 40px; line-height: 1.1; letter-spacing: -0.032em; max-width: 640px; margin-top: 16px; }
  .b-hero--headline .b-hsub { grid-column: 1 / 3; grid-row: 3; font-size: 18px; margin-top: 10px; max-width: 600px; }
  .b-hero--headline .b-hpay, .b-hero--headline .b-sentpill { grid-column: 2; grid-row: 4; align-self: end; margin-top: 26px; width: 280px; min-height: 56px; }
  .b-hero--headline .b-sentpill { width: auto; padding: 0 24px 0 16px; }
  .b-hero--headline .b-hhint, .b-hero--headline .b-due { grid-column: 1; grid-row: 4; align-self: end; justify-content: flex-start; margin-top: 26px; min-height: 56px; font-size: 16px; }

  /* Ring tile */
  .b-ring { width: 132px; height: 132px; margin: 12px auto 4px; }
  .b-ring-c b { font-size: 40px; }
  .b-ring-c b.b-word { font-size: 34px; }
  .b-ring-foot { display: block; text-align: center; font-size: 14px; font-weight: 600; color: var(--b-ink-3); margin-top: 8px; }
  .b-ring-tile--amber .b-ring-foot { color: var(--b-amber-ink); }
  .b-ring-tile--red .b-ring-foot { color: var(--b-red-ink); }
  .b-ring-tile--full .b-ring { margin: auto; }
  .b-ring-tile--full .b-ring-c b { font-size: 44px; }

  /* Journey */
  .b-vd { padding: 26px 30px; }
  .b-vd .b-track { margin-top: 56px; }
  .b-vd--app { padding: 24px; }
  .b-vd--app .b-vhead { margin-bottom: 52px; }
  .b-vd--app .b-track { margin-top: auto; }

  /* Facts */
  .b-facts-tile { padding: 26px 30px; }
  .b-facts { margin-top: 20px; padding-top: 18px; grid-template-columns: 1fr 1fr 1.15fr; }
  .b-facts > div + div { padding-left: 24px; }
  .b-facts .b-l { font-size: 14px; }
  .b-facts b { font-size: 22px; line-height: 28px; margin-top: 4px; }
  .b-facts .b-short { display: none; }
  .b-facts .b-long { display: inline; }
  .b-facts--row { flex: 1; display: grid; grid-template-columns: 1fr 1fr 1.32fr; gap: 14px; margin-top: 22px; padding: 0; border-top: 0; }
  .b-facts--row > div, .b-facts--row > div + div, .b-facts--row > div:nth-child(3) {
    grid-column: auto; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; min-height: 0;
    padding: 20px 22px; border: 0; border-radius: 18px; background: linear-gradient(165deg, #F3FAF5 0%, #FBFDFB 100%); box-shadow: inset 0 0 0 1px rgba(10, 107, 51, .08);
  }
  .b-facts--row > div:nth-child(3) { background: linear-gradient(165deg, #FBF6E6 0%, #FFFDF7 100%); box-shadow: inset 0 0 0 1px rgba(185, 155, 69, .16); }
  .b-facts--row .b-fi, .b-facts--row > div:nth-child(3) .b-fi { display: grid; width: 42px; height: 42px; border-radius: 13px; place-items: center; background: #fff; color: var(--b-green-lo); box-shadow: 0 6px 14px -8px rgba(10, 107, 51, .4); }
  .b-facts--row > div:nth-child(3) .b-fi { color: #7A5A12; }
  .b-facts--row p, .b-facts--row > div:nth-child(3) p { display: block; }
  .b-facts--row .b-l, .b-facts--row > div:nth-child(3) .b-l { display: block; padding-left: 0; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--b-ink-3); }
  .b-facts--row b, .b-facts--row > div:nth-child(3) b { display: block; margin-top: 4px; font-size: 32px; line-height: 38px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
  .b-facts--row > div:nth-child(3) b { font-size: 26px; letter-spacing: -0.025em; }

  /* Steps */
  .b-steps-tile { padding: 24px 28px; }
  .b-steps { margin: auto 0; gap: 24px; padding-top: 6px; }
  .b-steps li { font-size: 17px; line-height: 24px; gap: 14px; }
  .b-steps li i { width: 24px; height: 24px; }
  .b-steps li + li::before { left: 11px; top: -24px; height: 24px; }
  .b-steps li.b-now i { box-shadow: inset 0 0 0 6.5px var(--b-green), 0 0 0 5px var(--b-green-tint); }
  .b-steps li.b-now.b-sign i { box-shadow: inset 0 0 0 6.5px var(--b-gold-lo), 0 0 0 5px #FBF3DC; }

  /* Card tile: the full card, name left, Manage right */
  .b-pw { gap: 14px; }
  .b-pw .b-wcard { width: 100%; margin-top: 0; border-radius: 4.8% / 7.6%; transform: none; }
  .b-pw .b-wcard .b-wl { font-size: 14px; font-size: 4.3cqw; }
  .b-pw .b-wcard + .b-foot { padding-top: 0; }
  /* The stack keeps the single card's height: each peek narrows the cards */
  .b-pwstack { width: 100%; margin-top: 0; transform: none; }
  .b-pwstack--2 { width: calc(100% - 46px); padding-top: 29px; }
  .b-pwstack--3 { width: calc(100% - 92px); padding-top: 58px; }
  .b-pwstack--3 .b-pwback--2 { top: 29px; }
  .b-foot span.b-pwmore { display: inline; margin-top: 0; }
  .b-pwstack + .b-foot { padding-top: 0; }
  .b-pw .b-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
  .b-pw .b-foot > div { min-width: 0; }
  .b-foot .b-link { display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--b-ink-3); flex: none; }
  .b-side-tile { justify-content: flex-start; }
  .b-side-tile .b-glyph { width: 92px; height: 92px; border-radius: 50%; margin: auto; box-shadow: 0 0 0 10px #F3F9F5, inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 26px -14px rgba(10, 107, 51, .45);
    background: radial-gradient(80% 80% at 30% 20%, #F3FAF6 0%, #DDF0E4 100%); }
  .b-side-tile .b-glyph svg { width: 34px; height: 34px; }
  .b-side-tile .b-glyph + .b-foot { margin-top: 0; padding-top: 18px; text-align: center; }
  .b-side-tile .b-foot b { font-size: 17px; line-height: 22px; }
  .b-side-tile .b-foot span { font-size: 15px; line-height: 20px; }

  /* Small tiles become rows with a chevron */
  .b-small { min-height: 84px; padding: 24px; gap: 16px; }
  .b-chev { display: block !important; margin-left: auto; }
  .b-q { flex-direction: row; align-items: center; gap: 16px; padding: 20px 24px; }
  .b-q .b-ic { display: grid; }
  .b-q .b-qglyph, .b-q .b-label { display: none; }
  .b-q .b-tx { margin-top: 0; padding-top: 0; flex: 1; }

  .b-talk { padding: 24px; display: flex; flex-direction: column; }
  .b-talk .b-tsub { margin-top: 6px; font-size: 15px; }
  .b-talk .b-glyphc { display: grid; margin: auto; }
  .b-talk .b-btn { margin-top: 0; }
  .b-glyphc { width: 92px; height: 92px; border-radius: 50%; place-items: center; flex: none; color: var(--b-green-lo);
    background: radial-gradient(80% 80% at 30% 20%, #F3FAF6 0%, #DDF0E4 100%);
    box-shadow: 0 0 0 10px #F3F9F5, inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 26px -14px rgba(10, 107, 51, .45); }
  .b-glyphc--blue { color: #1D4F8C; background: radial-gradient(80% 80% at 30% 20%, #F2F7FD 0%, #DCE8F8 100%);
    box-shadow: 0 0 0 10px #F4F8FD, inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 26px -14px rgba(29, 79, 140, .45); }
  .b-glyphc img { width: 44px; height: 44px; border-radius: 12px; }
  .b-acct { padding: 24px; }
  .b-acct .b-acct-row { display: none; }
  .b-acct .b-glyphc { display: grid; margin: auto; }
  .b-acct .b-dfoot { display: block; text-align: center; }
  .b-acct .b-dfoot b { display: block; font-size: 17px; line-height: 22px; font-weight: 800; }
  .b-acct .b-dfoot span { display: block; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--b-ink-3); margin-top: 1px; }

  .b-oops { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto; column-gap: 24px; padding: 28px 30px; min-height: 252px; }
  .b-oops .b-oic { grid-column: 1 / 3; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 0; }
  .b-oops h2 { grid-column: 1 / 3; grid-row: 3; padding-top: 24px; font-size: 32px; line-height: 1.15; letter-spacing: -0.03em; }
  .b-oops .b-tsub { grid-column: 1; grid-row: 4; align-self: center; font-size: 17px; margin-top: 8px; }
  .b-oops .b-btn { grid-column: 2; grid-row: 4; align-self: end; width: 280px; min-height: 56px; margin-top: 14px; }

  /* Activity becomes one tile with its own heading */
  .b-act { margin-top: 0; padding: 8px 24px; }
  .b-act-head { padding: 14px 0 6px; margin: 0; min-height: 0; }
  .b-act-list { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .b-act-list::after, .b-act-list::before { content: none !important; }
  .b-act-row { padding: 14px 0; }
  .b-act-row + .b-act-row::before { content: none; }
  .b-act-row + .b-act-row { border-top: 1px solid rgba(18, 24, 21, .06); }
  .b-grid--nomain .b-act { flex: 1; }

  /* Sheet becomes a centered dialog */
  .b-sheet { left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: 520px; max-width: calc(100vw - 48px);
    border-radius: 28px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(18, 24, 21, .04); }
  .b-grab { display: none; }
  .b-shead h2 { font-size: 24px; padding-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .b-skel, .b-chip--live i::after { animation: none; }
}

/* ═══ Desktop, continued: the new loan, first visit and activity tiles ═ */
@media (min-width: 960px) {
  .b-m-only { display: none !important; }
  .b-hero--text .b-hrow { grid-column: 1 / 3; grid-row: 1; }
  .b-hero--headline .b-hdest { grid-column: 1 / 3; grid-row: 4; align-self: end; justify-self: start; margin-top: 26px; min-width: 420px; }

  .b-act { position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; padding: 8px 24px;
    border-radius: var(--b-r-tile); background: var(--b-surface); box-shadow: var(--b-shadow-tile); }
  .b-act::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(18, 24, 21, .04), inset 0 1px 0 rgba(255, 255, 255, .9); }
  .b-act::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
  .b-tile.b-act-list { padding: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; isolation: auto; }

  /* New loan, ready to sign: the hero runs two rows */
  .b-grid--sign { grid-template-areas: "hero hero a" "hero hero b" "act act side"; grid-template-rows: 1fr auto auto; }
  .b-hero--sign { display: flex; flex-direction: column; padding: 28px 32px; }
  .b-hero--sign .b-label { font-size: 17px; }
  .b-hero--sign .b-chip--gold { height: 30px; padding: 0 13px; font-size: 14px; }
  .b-hero--sign .b-htitle { font-size: 40px; line-height: 1.12; letter-spacing: -0.035em; margin-top: 16px; max-width: 600px; }
  .b-doc { width: 540px; max-width: 100%; margin: 24px auto 0; }
  .b-doc-back { inset: 10px 4px -9px 12px; border-radius: 16px; transform: rotate(2.4deg); box-shadow: 0 12px 28px -14px rgba(0, 30, 12, .55); }
  .b-paper { border-radius: 16px; padding: 22px 26px 20px; transform: rotate(-1deg); box-shadow: 0 1px 2px rgba(0, 30, 12, .12), 0 8px 18px -8px rgba(0, 30, 12, .28), 0 30px 48px -20px rgba(0, 30, 12, .62); }
  .b-phead { gap: 12px; padding-bottom: 14px; }
  .b-pf { width: 40px; height: 40px; border-radius: 11px; }
  .b-pf svg { width: 24px; height: 24px; }
  .b-phead div b { font-size: 18px; line-height: 23px; }
  .b-phead div span { font-size: 14px; line-height: 18px; }
  .b-prows li { min-height: 42px; font-size: 16px; }
  .b-psign { margin-top: 12px; padding-left: 168px; min-height: 58px; }
  .b-flagwrap { left: -34px; bottom: 20px; }
  .b-flag { height: 38px; padding: 0 26px 0 18px; font-size: 16px;
    -webkit-clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%); clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%); }
  .b-flag-fold { top: 38px; border-top-width: 7px; border-left-width: 9px; }
  .b-x { height: 44px; padding: 0 0 7px 12px; border-radius: 8px 8px 0 0; font-size: 24px; }
  .b-pline span { font-size: 13px; line-height: 17px; margin-top: 6px; }
  .b-pdue { gap: 9px; margin-top: 16px; padding: 11px 14px; border-radius: 11px; font-size: 15px; line-height: 20px; }
  .b-hfoot2 { margin-top: auto; padding-top: 26px; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .b-hfoot2 .b-hhint { margin-top: 0; justify-content: flex-start; text-align: left; font-size: 16px; line-height: 22px; gap: 9px; }
  .b-hero--sign .b-hfoot2 .b-hpay { width: 280px; min-height: 56px; margin: 0; flex: none; }

  /* Steps tile with a line under each step */
  .b-steps-tile--wide .b-steps { gap: 24px; padding: 6px 0 4px; }
  .b-steps-tile--wide .b-steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-items: start; }
  .b-steps-tile--wide .b-steps li i { width: 28px; height: 28px; }
  .b-steps-tile--wide .b-st b { display: block; font-size: 17px; line-height: 24px; font-weight: 800; letter-spacing: -0.01em; color: var(--b-ink-3); }
  .b-steps-tile--wide .b-st small { display: block; font-size: 14px; line-height: 19px; font-weight: 600; color: var(--b-ink-3); text-wrap: balance; }
  .b-steps-tile--wide .b-steps li + li::before { left: 13px; top: -38px; height: 32px; }
  .b-steps-tile--wide .b-steps li.b-now .b-st b { color: var(--b-ink); }
  .b-steps-tile--wide .b-steps li.b-now .b-st small { color: var(--b-ink-2); }
  .b-steps-tile--wide .b-steps li.b-now.b-sign i { box-shadow: inset 0 0 0 7.5px #C29A3A, 0 0 0 5px #FBF3DC; }
  .b-d-tile { display: flex; }

  /* After you sign, cash goes to: the card */
  .b-after { flex-direction: column; align-items: stretch; gap: 14px; padding: 24px; }
  .b-after .b-tx { order: -1; flex: none; }
  .b-pw.b-after .b-wcard { width: 100%; transform: none; margin: 0; }
  .b-after .b-foot { margin-top: 2px; }

  /* Being funded / set up */
  .b-hero--cel { padding: 28px 30px; }
  .b-cal--gold { margin-top: 18px; }

  /* First visit */
  .b-grid--first { grid-template-areas: "hero hero a" "main main b"; }
  .b-grid--first .b-jr { min-height: 0; }
  .b-wk { padding: 0 30px 30px; }
  .b-jr { padding: 28px 30px; }
}

/* ═══ Desktop: being funded, being set up, first visit ════════════════ */
@media (min-width: 960px) {
  .b-m-tile { display: none !important; }

  /* Being funded: the celebration runs two rows, the steps and the repay
     date stack on the right, the loan figures run full width */
  .b-grid--fund { grid-template-areas: "hero hero a" "hero hero b" "main main main" "act act side"; }
  .b-hero--cel { display: flex; flex-direction: column; justify-content: center; padding: 28px 32px 30px; }
  .b-hero--cel .b-hrow { position: absolute; left: 32px; right: 32px; top: 28px; }
  .b-hero--cel .b-label { font-size: 17px; }
  .b-hero--cel .b-chip { height: 30px; padding: 0 13px; font-size: 14px; }
  .b-hero--cel .b-band { height: 156px; margin: 34px -32px 0; }
  .b-hero--cel .b-cf { background-size: auto 156px; }
  .b-hero--cel .b-bloom { width: 260px; height: 190px; }
  .b-hero--cel .b-coin { width: 88px; height: 88px; }
  .b-hero--cel .b-amount .b-cur, .b-hero--cel .b-amount .b-cents { font-size: 36px; margin-top: 10px; }
  .b-hero--cel .b-amount .b-whole { font-size: 84px; }
  .b-hero--cel .b-dest { width: 480px; max-width: 100%; margin: 24px auto 0; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 20px; }
  .b-hero--cel .b-dest .b-wcard { width: 92px; }
  .b-hero--cel .b-dest b { font-size: 17px; line-height: 22px; }
  .b-hero--cel .b-dest .b-tx > span { font-size: 15px; line-height: 20px; }
  .b-facts-tile--wide { display: grid; grid-template-columns: 1.15fr 2fr; align-items: center; gap: 24px; padding: 24px 30px; }
  .b-facts-tile--wide .b-facts--two { margin-top: 0; padding: 0; border-top: 0; grid-template-columns: 1fr 1fr; }
  .b-facts-tile--wide .b-facts--two > div, .b-facts-tile--wide .b-facts--two > div + div { padding-left: 28px; border-left: 1px solid rgba(18, 24, 21, .07); }
  .b-facts-tile--wide .b-facts--two .b-l { font-size: 15px; line-height: 20px; }
  .b-facts-tile--wide .b-facts--two b { font-size: 28px; line-height: 36px; letter-spacing: -0.025em; margin-top: 4px; }
  .b-cal-tile--row { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 22px; align-items: center; }
  .b-cal-tile--row .b-label { grid-column: 1 / 3; align-self: start; }
  .b-cal-tile--row .b-cal--gold { width: 84px; margin: 16px 0 4px 4px; border-radius: 18px; }
  .b-cal-tile--row .b-cal--gold .b-m { height: 28px; font-size: 14px; }
  .b-cal-tile--row .b-cal--gold b { font-size: 40px; line-height: 54px; }
  .b-cal-tile--row .b-foot { margin-top: 12px; padding-top: 0; }
  .b-cal-tile--row .b-foot b { font-size: 18px; line-height: 23px; }

  /* Being set up: the calendar sits in the loan tile's corner */
  .b-facts-tile .b-vhead .b-cal { margin-top: 0; }

  /* First visit: copy left, the brand card right; the journey runs down */
  .b-wk { display: grid; grid-template-columns: minmax(0, 1fr) 296px; grid-template-rows: 1fr auto auto auto 1fr; column-gap: 8px; align-items: center;
    padding: 32px 36px; text-align: left; }
  .b-tile.b-wk::before { background: none; }
  .b-wk .b-stage { grid-column: 2; grid-row: 1 / 6; height: 300px; }
  .b-wk h2, .b-tile.b-wk h2 { grid-column: 1; grid-row: 2; margin-top: 0; font-size: 42px; line-height: 1.1; letter-spacing: -0.035em; white-space: nowrap; }
  .b-wk p { grid-column: 1; grid-row: 3; margin-top: 14px; font-size: 17px; max-width: 340px; text-wrap: wrap; }
  .b-wk .b-btn { grid-column: 1; grid-row: 4; margin-top: 26px; width: 260px; min-height: 56px; }
  .b-wk .b-burst { top: 18px; height: 180px; background-size: 614px 180px; }
  .b-wk .b-burst--l { left: -52px; width: 230px; }
  .b-wk .b-burst--r { right: -88px; width: 250px; background-position: -364px 0; }
  .b-wk .b-stage::after { bottom: 40px; width: 236px; height: 26px; margin-left: -118px; }
  .b-wk .b-wcard { width: 272px; margin-top: 0; }
  .b-jr { padding: 26px 26px 24px; display: flex; flex-direction: column; }
  .b-jr h3 { font-size: 19px; }
  .b-jr .b-sub { margin-top: 3px; font-size: 15px; line-height: 1.4; }
  .b-jv { list-style: none; position: relative; margin-top: 26px; display: flex; flex-direction: column; gap: 26px; }
  .b-jv::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 4px; margin-left: -2px; border-radius: 999px; background: rgba(255, 255, 255, .26); }
  .b-jv::after { content: ""; position: absolute; left: 19px; top: 20px; height: 34px; width: 4px; margin-left: -2px; border-radius: 999px; background: #fff; }
  .b-jv li { position: relative; z-index: 1; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; min-height: 40px; }
  .b-jv .b-jdot { position: static; grid-row: span 2; margin: 0; }
  .b-jv b { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 21px; font-weight: 800; letter-spacing: -0.01em; }
  .b-jv span:not(.b-jdot) { font-size: 14px; line-height: 19px; font-weight: 600; color: #fff; }
  .b-jv .b-jtip { position: static; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; }
  .b-jv .b-jtip::after { content: none; }
  .b-jr .b-jnote { margin-top: auto; padding: 13px 14px 13px 12px; }
  .b-jr .b-jv + .b-jnote { margin-top: 24px; }
  .b-need { padding: 24px 28px 22px; }
  .b-need h2 { padding: 0; }
  .b-need .b-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; }
  .b-need .b-lrow { min-height: 64px; padding: 4px 0; }
  .b-need .b-lrow + .b-lrow { border-top: 0; padding-left: 24px; border-left: 1px solid rgba(18, 24, 21, .07); }
  .b-need .b-lic { width: 48px; height: 48px; }
  .b-callrow { padding: 20px 24px; }
  .b-callrow .b-tx b { font-size: 17px; line-height: 22px; font-weight: 800; }
  .b-tile.b-callrow::before { background: none; }
}

/* ═══ The loan's figures at the foot of the loan tile (owner, 2026-10-08) ═══
   On a computer the loan tile is as tall as Pay with beside it and its journey
   leaves room at the foot: Loan amount, Loan fee and Total to repay fill it
   (v2-home.js), three soft cells, the total in mint. From 1280px only: a
   narrower window or a phone has no room to fill (the phone's tile is as tall
   as its words, and its journey already shows the amount received and due). */
.b-lfacts { display: none; }
@media (min-width: 1280px) {
  .b-vd--facts .b-lfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: 10px; }
  .b-lfacts > div { min-width: 0; padding: 8px 14px; border-radius: 16px; background: #F7F8F6; box-shadow: inset 0 0 0 1px rgba(18, 24, 21, .05); }
  .b-lfacts span { display: block; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--b-ink-3); white-space: nowrap; }
  .b-lfacts b { display: block; margin-top: 1px; font-size: 17px; line-height: 21px; font-weight: 800; letter-spacing: -0.015em; color: var(--b-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .b-lfacts .b-lf-total { background: #F1F8F3; box-shadow: inset 0 0 0 1px rgba(10, 107, 51, .10); }
  .b-lfacts .b-lf-total span { color: var(--b-green-lo); }
}
@media (min-width: 1440px) {
  .b-vd--facts .b-lfacts { padding-top: 16px; }
  .b-lfacts > div { padding: 12px 16px; }
  .b-lfacts span { font-size: 14px; line-height: 18px; }
  .b-lfacts b { margin-top: 2px; font-size: 20px; line-height: 26px; }
}

/* No loan (paid off): the Payment methods tile is as tall as the two rows
   beside it; its card and name sit centered in the room under the label
   (owner, 2026-10-09: "a ton of space under the cards"). */
@media (min-width: 960px) {
  .b-grid--nomain .b-pw > .b-wcard, .b-grid--nomain .b-pw > .b-pwstack { margin-top: auto; }
  .b-grid--nomain .b-pw > .b-foot { margin-bottom: auto; }
}

/* ═══ No loan Home, the right column (owner, 2026-10-09) ═════════════
   "Your last loan" (owner picked B over "Paid in full" and a count) and
   "Your cards" (a bold title, the count, Default and Manage, in place of
   the small "Payment methods" label). Phone first: the two tiles are as
   tall as their content needs (a square was too short for the card and
   two lines under it). The narrow desktop (960 to 1279px, a slim third
   column) keeps a simple foot; from 1280px the full tile. Every gap is
   measured by eqh/render_tiles.py (centering, room under the card). */
.b-wtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; }
.b-wtitle { display: block; min-width: 0; font-size: 15px; line-height: 19px; font-weight: 800; letter-spacing: -0.015em; color: var(--b-ink); }
.b-wcount, .b-wdef, .b-foot .b-wmanage, .b-lwhen, .b-lfoot, .b-lname { display: none; }
.b-grid--nomain .b-last, .b-grid--nomain .b-pw--wallet, .b-grid--error .b-pw--wallet { aspect-ratio: auto; }
.b-wskel { width: 100px; aspect-ratio: 1.59; margin: 14px auto 0; border-radius: 9px; }
.b-pw--wallet > .b-wcard { width: 100px; margin-top: 14px; }
.b-pw--wallet .b-pwstack { width: 100px; margin-top: 14px; }
.b-pw--wallet .b-pwstack--2 { width: 92px; padding-top: 6px; }
.b-pw--wallet .b-pwstack--3 { width: 84px; padding-top: 12px; }
.b-pw--wallet .b-pwstack--3 .b-pwback--2 { top: 6px; }
.b-pw--wallet .b-wcard + .b-foot, .b-pw--wallet .b-pwstack + .b-foot { margin-top: 0; padding-top: 16px; }
.b-pw--wallet .b-foot b { display: block; font-size: 14px; line-height: 18px; }
.b-wname { display: block; font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-wend { display: flex; align-items: center; gap: 6px; margin-top: 1px; font-size: 13px; line-height: 17px; font-weight: 600; color: var(--b-ink-3); white-space: nowrap; }
.b-pw--wallet.b-side-tile .b-glyph { align-self: center; margin: 14px auto 0; }
.b-pw--wallet.b-side-tile .b-glyph + .b-foot { padding-top: 14px; }
.b-last { display: flex; flex-direction: column; }
.b-lmid { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; padding: 8px 0; }
.b-lrc { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; text-align: center; min-width: 0; }
.b-lpill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; line-height: 1; font-weight: 800; color: var(--b-green-lo); background: var(--b-green-tint); white-space: nowrap; }
.b-lpill svg { margin-left: -1px; }
.b-lamt { display: block; font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--b-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-lno { white-space: nowrap; }
@media (min-width: 600px) and (max-width: 959.98px) {
  /* A tablet: the same tiles, wider, so the card and the amount grow with them. */
  .b-wtitle { font-size: 18px; line-height: 24px; }
  .b-pw--wallet > .b-wcard, .b-pw--wallet .b-pwstack { width: 58%; }
  .b-pw--wallet .b-pwstack--2 { width: 53%; padding-top: 10px; }
  .b-pw--wallet .b-pwstack--3 { width: 48%; padding-top: 20px; }
  .b-pw--wallet .b-pwstack--3 .b-pwback--2 { top: 10px; }
  .b-pw--wallet .b-foot b { font-size: 16px; line-height: 21px; }
  .b-wend { font-size: 14px; line-height: 18px; }
  .b-lrc { gap: 8px; }
  .b-lpill { height: 28px; padding: 0 11px; gap: 5px; font-size: 13px; }
  .b-lamt { font-size: 34px; line-height: 40px; }
  .b-lname { display: block; max-width: 100%; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--b-ink-3); text-wrap: balance; }
}
@media (min-width: 960px) {
  .b-wtitle { font-size: 18px; line-height: 24px; }
  .b-wskel { width: 100%; margin: auto 0; border-radius: 4.8% / 7.6%; }
  .b-pw--wallet > .b-wcard { width: 100%; margin-top: 0; }
  .b-pw--wallet .b-pwstack { width: 100%; margin-top: 0; }
  .b-pw--wallet .b-pwstack--2 { width: calc(100% - 46px); padding-top: 29px; }
  .b-pw--wallet .b-pwstack--3 { width: calc(100% - 92px); padding-top: 58px; }
  .b-pw--wallet .b-pwstack--3 .b-pwback--2 { top: 29px; }
  .b-grid--nomain .b-pw--wallet > .b-wcard, .b-grid--nomain .b-pw--wallet > .b-pwstack { margin-top: auto; }
  /* The card and its words sit a little above the middle of the room under
     the title (owner, 2026-10-09: "the card stack sits a little low"). */
  .b-grid--nomain .b-pw--wallet > .b-foot { padding-bottom: 28px; }
  .b-pw--wallet .b-wcard + .b-foot, .b-pw--wallet .b-pwstack + .b-foot { padding-top: 6px; }
  .b-pw--wallet .b-foot b { font-size: 16px; line-height: 21px; }
  .b-wend { margin-top: 2px; font-size: 14px; line-height: 18px; }
  .b-pw--wallet.b-side-tile .b-wtop { margin-bottom: 14px; }
  .b-pw--wallet.b-side-tile .b-glyph { margin: auto; }
  .b-pw--wallet.b-side-tile .b-glyph + .b-foot { padding-top: 18px; }
  .b-lmid { padding: 16px 0; }
  .b-lrc { gap: 8px; padding: 20px 14px; border-radius: 18px; background: #fff;
    box-shadow: 0 1px 2px rgba(18, 24, 21, .06), 0 14px 28px -18px rgba(18, 24, 21, .4), inset 0 0 0 1px rgba(18, 24, 21, .05); }
  .b-lpill { height: 28px; padding: 0 11px; gap: 5px; font-size: 13px; }
  .b-lamt { font-size: 30px; line-height: 34px; }
  .b-lname { display: block; max-width: 100%; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--b-ink-3); text-wrap: balance; }
  .b-lfoot { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--b-ink-2); }
  .b-llink { display: none; }
}
@media (min-width: 1280px) {
  .b-wtitle { font-size: 20px; line-height: 26px; }
  .b-wcount { display: inline-flex; flex: none; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--b-green-lo); background: var(--b-green-tint); }
  .b-pw--wallet .b-foot b { font-size: 18px; line-height: 22px; }
  .b-wend { gap: 8px; margin-top: 3px; font-size: 15px; line-height: 19px; }
  .b-wdef { display: inline-flex; flex: none; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 800; color: var(--b-green-lo); background: var(--b-green-tint); }
  .b-foot .b-wmanage { display: inline-flex; flex: none; align-items: center; gap: 4px; height: 40px; padding: 0 14px 0 18px; border-radius: 999px; font-style: normal; font-size: 15px; font-weight: 800; color: #fff;
    background: linear-gradient(180deg, var(--b-green-hi) 0%, var(--b-green) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 16px -8px rgba(10, 107, 51, .7); }
  .b-lrc { gap: 10px; padding: 22px 18px; border-radius: 20px; }
  .b-lpill { height: 30px; padding: 0 12px; gap: 6px; font-size: 14px; }
  .b-lamt { font-size: 38px; line-height: 42px; }
  .b-lname { font-size: 14px; line-height: 19px; }
  .b-lfoot { justify-content: space-between; font-size: 15px; }
  .b-llink { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; color: var(--b-green-lo); }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
  /* Too narrow for the word beside "Ending 1234 Default": a round arrow. */
  .b-pw--wallet .b-foot { gap: 10px; }
  .b-pw--wallet .b-foot b { font-size: 16px; line-height: 21px; }
  .b-foot .b-wmanage { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .b-wmtx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.b-wmtx { font-style: normal; }
@media (min-width: 1440px) {
  .b-lwhen { display: inline; }
  .b-lamt { font-size: 40px; line-height: 44px; }
}

/* ── The card refused the money (owner, 2026-10-09): v2-home.js buildRefused ── */
.b-fix { padding: 18px 16px 6px; }
.b-fix h2 { padding: 0 4px; }
.b-hero--text.b-hero--refused .b-hsub { max-width: none; }
.b-hero--refused .b-hsent { align-items: flex-start; }
.b-hero--refused .b-hsent svg { margin-top: 1px; }
.b-hero--refused .b-hsent b { font-weight: 800; color: #fff; }
@media (min-width: 960px) {
  .b-fix { padding: 24px 24px 14px; display: flex; flex-direction: column; }
  .b-fix h2 { padding: 0; }
  .b-fix .b-list { margin-top: 10px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
  .b-hero--refused .b-hsub { max-width: 440px; }
}
