/* ═══════════════════════════════════════════════════════════════════
   CASH IN FLASH — the shared popups in the "Bento" design
   (release S2, owner approved mockups 2026-10-06)

   Restyles the popups other scripts draw at run time, on Bento pages
   only: every rule starts with html[data-skin="bento"], so the current
   pages never see any of it. Phone first: each popup is a bottom sheet
   (grab handle, 32px top corners). From 960px it is a centered dialog
   (28px corners), the chat a panel down the right side.

     signing sheet        cif-esign.js   .cif-esign-modal, .cif-esign-strip
     stay signed in       session.js     .cif-session-modal
     bank payment         cif-ach.js     .cif-ach-modal, .cif-ach-strip
     30 day wait          cif-reapply-gate.js  .cif-rg-*
     chat                 cif-chat.js    .cifchat*

   dashboard.css (still loaded beside bento.css) and the scripts' own
   injected styles use !important in places; those few properties are
   answered with !important here too, always under the skin, so the
   current pages keep theirs. House rules: no dashed or dotted lines, no
   capital labels, no line textures.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Signing sheet: "Finish signing in the new tab", then "You're all set" ── */
html[data-skin="bento"] .cif-esign-modal { font-family: var(--b-font); color: var(--b-ink); }
html[data-skin="bento"] .cif-esign-modal .cif-esign-backdrop {
  background: rgba(12, 18, 15, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-card {
  left: 0; right: 0; top: auto; bottom: 0; transform: translateY(24px);
  width: auto; max-width: 560px; height: auto; max-height: calc(100% - 24px); margin: 0 auto;
  display: block; overflow-x: hidden; overflow-y: auto; box-sizing: border-box;
  background: #fff; 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);
}
html[data-skin="bento"] .cif-esign-modal.is-open .cif-esign-card { transform: none; }
html[data-skin="bento"] .cif-esign-modal .cif-esign-card::before {
  content: ""; display: block; width: 40px; height: 5px; border-radius: 999px; background: #D7DCD9; margin: 0 auto 14px;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 0; margin: 0 0 14px; border: 0;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-head h3 {
  margin: 0; padding-top: 6px; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em;
  color: var(--b-ink); text-wrap: balance;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-x {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: #F1F3F1; color: var(--b-ink-2); line-height: 0; cursor: pointer;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-x:hover { background: #E7EAE7; color: var(--b-ink); }
html[data-skin="bento"] .cif-esign-modal .cif-esign-x svg { width: 20px; height: 20px; }
html[data-skin="bento"] .cif-esign-modal .cif-esign-body { padding: 0; overflow: visible; }

html[data-skin="bento"] .cif-esign-modal .cif-esign-wait { padding: 0; text-align: center; }
html[data-skin="bento"] .cif-esign-modal .cif-esign-wait-ico {
  display: grid; place-items: center; width: 100%; height: 172px; margin: 0 0 20px; border-radius: 22px; color: var(--b-green);
  background: radial-gradient(90% 120% at 50% 0%, #E6F4EB 0%, rgba(230, 244, 235, 0) 70%), linear-gradient(180deg, #F4FAF6, #FBFCFA);
  box-shadow: inset 0 0 0 1px rgba(14, 135, 65, .08);
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-wait-ico svg { display: block; max-width: 100%; height: auto; }
html[data-skin="bento"] .cif-esign-modal .cif-esign-wait h4 {
  margin: 0; padding: 0 4px; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em;
  color: var(--b-ink); text-wrap: balance;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-wait p {
  max-width: none; margin: 8px 0 0; padding: 0 4px; font-size: 16px; line-height: 1.5; font-weight: 500;
  color: var(--b-ink-2); text-wrap: balance;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-submit--link,
html[data-skin="bento"] .cif-esign-modal .cif-esign-submit--link:hover {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; box-sizing: border-box;
  margin: 22px 0 0; padding: 0 20px; border: 0 !important; border-radius: 999px; text-decoration: none;
  font-family: var(--b-font); font-size: 17px; font-weight: 800; letter-spacing: -0.005em; color: #fff !important;
  background: linear-gradient(180deg, #13A052 0%, #0E8741 55%, #0B7A3B 100%) !important;
  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);
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-submit--link:hover { filter: brightness(1.04); }
html[data-skin="bento"] .cif-esign-modal .cif-esign-submit--link svg { flex: none; }
html[data-skin="bento"] .cif-esign-modal .cif-esign-wait .cif-esign-wait-hint {
  display: flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  max-width: none !important; margin: 12px 0 0 !important; padding: 0 16px; border-radius: 18px; background: #F4F6F3;
  font-size: 15px !important; line-height: 1.35; font-weight: 700; color: var(--b-ink-2) !important;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-wait-hint::before {
  content: ""; flex: none; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%;
  border: 2.6px solid #D6EADD; border-top-color: #0E8741; animation: b-esign-spin .9s linear infinite;
}
@keyframes b-esign-spin { to { transform: rotate(360deg); } }

html[data-skin="bento"] .cif-esign-modal .cif-esign-card:has(.cif-esign-done) .cif-esign-head { display: none; }
html[data-skin="bento"] .cif-esign-modal .cif-esign-done {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 8px 6px;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-done svg {
  width: 76px; height: 76px; padding: 8px; box-sizing: border-box; flex: none; margin: 0 0 16px; overflow: visible;
  border-radius: 50%; color: #fff; background: radial-gradient(80% 80% at 30% 20%, #2DBA68, #0E8741 60%, #0A6B33);
  box-shadow: 0 0 0 10px var(--b-green-tint), 0 16px 30px -12px rgba(10, 107, 51, .6);
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-done svg circle { display: none; }
html[data-skin="bento"] .cif-esign-modal .cif-esign-done svg path { stroke-width: 1.6; }
html[data-skin="bento"] .cif-esign-modal .cif-esign-done h4 {
  margin: 0; font-size: 27px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: var(--b-ink); text-wrap: balance;
}
html[data-skin="bento"] .cif-esign-modal .cif-esign-done p {
  max-width: none; margin: 8px 0 0; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--b-ink-2); text-wrap: balance;
}
/* "Taking you to your dashboard": the bar fills over the 1.5 s before Home opens. */
html[data-skin="bento"] .cif-esign-modal .cif-esign-done::after {
  content: ""; display: block; width: 132px; height: 6px; margin: 24px auto 0; border-radius: 999px;
  background: linear-gradient(90deg, #13A052, #0E8741) left center / 64% 100% no-repeat, #E3EFE7;
  animation: b-esign-redirect 1.5s linear both;
}
@keyframes b-esign-redirect { from { background-size: 8% 100%, auto; } to { background-size: 100% 100%, auto; } }

/* The prompt strip other pages show under the loan card */
html[data-skin="bento"] .cif-esign-strip {
  gap: 14px; margin: 0; padding: 16px; border: 0; border-radius: var(--b-r-tile); background: #fff;
  box-shadow: var(--b-shadow-tile); font-family: var(--b-font);
}
html[data-skin="bento"] .cif-esign-strip .cif-esign-ico { width: 44px; height: 44px; border-radius: 12px; background: #FBF3DC; color: #7A5A12; }
html[data-skin="bento"] .cif-esign-strip .cif-esign-strip-text { color: var(--b-ink); font-size: 16px; line-height: 1.35; }
html[data-skin="bento"] .cif-esign-strip .cif-esign-strip-text strong { font-weight: 800; letter-spacing: -0.01em; }
html[data-skin="bento"] .cif-esign-strip .cif-esign-strip-text small { margin-top: 3px; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--b-ink-3); }
html[data-skin="bento"] .cif-esign-strip .cif-esign-cta,
html[data-skin="bento"] .cif-esign-strip .cif-esign-cta:hover {
  min-height: 46px; padding: 0 20px; border-radius: 999px; font-family: var(--b-font); font-size: 16px; font-weight: 800;
  color: #fff !important; background: linear-gradient(180deg, #13A052 0%, #0E8741 55%, #0B7A3B 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 20px -12px rgba(10, 107, 51, .65);
}

/* ── Stay signed in? ──────────────────────────────────────────────── */
html[data-skin="bento"] .cif-session-modal { align-items: flex-end; font-family: var(--b-font); color: var(--b-ink); }
html[data-skin="bento"] .cif-session-modal .cif-session-modal-backdrop {
  background: rgba(12, 18, 15, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
html[data-skin="bento"] .cif-session-modal .cif-session-modal-card {
  display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: 100%; overflow-y: auto; box-sizing: border-box; text-align: center;
  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);
}
html[data-skin="bento"] .cif-session-modal .cif-session-modal-card::before {
  content: ""; order: -2; display: block; flex: none; width: 40px; height: 5px; border-radius: 999px; background: #D7DCD9; margin: 0 auto 14px;
}
html[data-skin="bento"] .cif-session-modal .cif-session-modal-card h3 {
  margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: var(--b-ink); text-wrap: balance;
}
html[data-skin="bento"] .cif-session-modal .cif-session-modal-card p {
  margin: 8px 0 0; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--b-ink-2); text-wrap: balance;
}
/* The countdown sits on top in a gold ring: "Sign out in" over "1:00". */
html[data-skin="bento"] .cif-session-modal .cif-session-modal-card .cif-session-countdown {
  order: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
  width: 121px; height: 121px; box-sizing: border-box; margin: 4px auto 21px !important; border-radius: 50%;
  border: 10px solid transparent;
  background: linear-gradient(#FFFDF7, #FFFDF7) padding-box, linear-gradient(135deg, #E7D290, #B99B45) border-box;
  font-size: 13px; line-height: 1.2; font-weight: 700; color: var(--b-ink-2) !important;
}
html[data-skin="bento"] .cif-session-modal .cif-session-countdown strong {
  display: block; margin-top: 2px; font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em;
  color: var(--b-ink); font-variant-numeric: tabular-nums;
}
html[data-skin="bento"] .cif-session-modal .cif-session-actions {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 26px;
}
html[data-skin="bento"] .cif-session-modal .cif-session-actions .btn-login,
html[data-skin="bento"] .cif-session-modal .cif-session-actions .btn-apply {
  display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 54px; box-sizing: border-box;
  margin: 0; padding: 0 12px; border: 0; border-radius: 999px; transform: none;
  font-family: var(--b-font); font-size: 17px; line-height: 1; font-weight: 800; letter-spacing: -0.005em; white-space: nowrap;
}
html[data-skin="bento"] .cif-session-modal .cif-session-actions .btn-login,
html[data-skin="bento"] .cif-session-modal .cif-session-actions .btn-login:hover {
  background: #fff; color: var(--b-ink); box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, .12);
}
html[data-skin="bento"] .cif-session-modal .cif-session-actions .btn-apply,
html[data-skin="bento"] .cif-session-modal .cif-session-actions .btn-apply:hover {
  color: #fff !important; background: linear-gradient(180deg, #13A052 0%, #0E8741 55%, #0B7A3B 100%) !important;
  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);
}
html[data-skin="bento"] .cif-session-modal .cif-session-actions button:disabled { opacity: .55; cursor: default; }

/* ── Bank payment in progress (and the strip under a loan card) ──── */
html[data-skin="bento"] .cif-ach-modal { align-items: flex-end !important; padding: 0; font-family: var(--b-font); color: var(--b-ink); }
html[data-skin="bento"] .cif-ach-modal .profile-modal-backdrop {
  background: rgba(12, 18, 15, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
html[data-skin="bento"] .cif-ach-modal .profile-modal-card {
  width: 100% !important; max-width: 560px; max-height: calc(100% - 24px) !important; align-self: flex-end !important;
  display: block; overflow-x: hidden; overflow-y: auto; box-sizing: border-box; transform: translateY(24px);
  border-radius: 32px 32px 0 0 !important; padding: 10px var(--b-pad) calc(34px + var(--b-safe-bottom));
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .35);
}
html[data-skin="bento"] .cif-ach-modal.is-open .profile-modal-card { transform: none; }
html[data-skin="bento"] .cif-ach-modal .profile-modal-card::before {
  content: ""; display: block; width: 40px; height: 5px; border-radius: 999px; background: #D7DCD9; margin: 0 auto 14px;
}
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-hero {
  display: flex; flex-direction: column; align-items: center; padding: 18px 8px 0; background: none; color: var(--b-ink); text-align: center;
}
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-hero::after { content: none; display: none; }
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-ico {
  width: 76px; height: 76px; margin: 0 0 16px; border-radius: 50%; display: grid; place-items: center;
  color: var(--b-green-lo); background: var(--b-green-tint); box-shadow: 0 0 0 10px #F1F8F3;
}
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-ico svg { width: 34px; height: 34px; }
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-eyebrow {
  margin: 0; opacity: 1; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: var(--b-ink); text-wrap: balance;
}
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-amount {
  margin: 10px 0 0; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; color: var(--b-ink);
  font-variant-numeric: tabular-nums;
}
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-sub { margin-top: 6px; opacity: 1; font-size: 15px; font-weight: 600; color: var(--b-ink-3); }
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-body { padding: 0 4px; background: none; }
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-note {
  margin: 14px 0 0; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--b-ink-2); text-align: center; text-wrap: pretty;
}
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-note strong { font-weight: 800; color: var(--b-ink); }
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-actions { margin-top: 22px; }
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-btn,
html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-btn:hover {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; padding: 0 20px; border-radius: 999px;
  font-family: var(--b-font); font-size: 17px; font-weight: 800; letter-spacing: -0.005em; color: #fff !important; filter: none;
  background: linear-gradient(180deg, #13A052 0%, #0E8741 55%, #0B7A3B 100%) !important;
  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);
}

html[data-skin="bento"] .cif-ach-strip {
  align-items: flex-start; gap: 12px; margin: 0; padding: 16px; border: 0; border-radius: 20px; background: #FFF8EA;
  font-family: var(--b-font); font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--b-ink-2);
}
html[data-skin="bento"] .cif-ach-strip svg {
  width: 40px; height: 40px; padding: 10px; box-sizing: border-box; border-radius: 12px; background: #FBEBC6; color: #7A5212;
}
html[data-skin="bento"] .cif-ach-strip span { padding-top: 1px; }
html[data-skin="bento"] .cif-ach-strip strong { font-weight: 800; color: var(--b-ink); }
html[data-skin="bento"] .cif-ach-strip.is-returned { background: #FFF1EF; color: var(--b-ink-2); }
html[data-skin="bento"] .cif-ach-strip.is-returned svg { background: #FAD9D4; color: #A3271C; }

/* ── We can't accept a new application yet (30 day wait) ─────────── */
html[data-skin="bento"] .cif-rg-overlay {
  align-items: flex-end; padding: 0; font-family: var(--b-font);
  background: rgba(12, 18, 15, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
html[data-skin="bento"] .cif-rg-overlay .cif-rg-card {
  width: 100%; max-width: 560px; max-height: calc(100% - 24px); box-sizing: border-box; color: var(--b-ink); background: #fff;
  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); transform: translateY(24px);
}
html[data-skin="bento"] .cif-rg-overlay.is-open .cif-rg-card { transform: none; }
html[data-skin="bento"] .cif-rg-overlay .cif-rg-card::before {
  content: ""; display: block; width: 40px; height: 5px; border-radius: 999px; background: #D7DCD9; margin: 0 auto 14px;
}
html[data-skin="bento"] .cif-rg-overlay .cif-rg-hero { padding: 0; background: none; color: var(--b-ink); text-align: center; overflow: visible; }
html[data-skin="bento"] .cif-rg-overlay .cif-rg-hero::after { content: none; display: none; }
/* A calendar page: the month on a gold band, the day under it. */
html[data-skin="bento"] .cif-rg-overlay .cif-rg-ico {
  width: 78px; height: 86px; margin: 22px auto; border-radius: 20px; overflow: hidden; background: #fff; color: #7A5A12;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px #FBF6E6, 0 16px 30px -12px rgba(120, 95, 20, .45), inset 0 0 0 1px rgba(18, 24, 21, .05);
}
html[data-skin="bento"] .cif-rg-overlay .cif-rg-ico--cal { justify-content: flex-start; color: var(--b-ink); }
html[data-skin="bento"] .cif-rg-overlay .cif-rg-ico--cal span {
  display: block; width: 100%; height: 28px; line-height: 28px; text-align: center; font-size: 14px; font-weight: 800; color: var(--b-ink);
  background: radial-gradient(80% 160% at 30% 0%, #F1E3B4 0%, var(--b-gold) 60%, #C8AE5E 100%);
}
html[data-skin="bento"] .cif-rg-overlay .cif-rg-ico--cal b {
  font-size: 36px; line-height: 56px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
html[data-skin="bento"] .cif-rg-overlay .cif-rg-title {
  margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: var(--b-ink); text-wrap: balance;
}
html[data-skin="bento"] .cif-rg-overlay .cif-rg-body { padding: 0 4px; background: none; text-align: center; }
html[data-skin="bento"] .cif-rg-overlay .cif-rg-text {
  margin: 8px 0 0; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--b-ink-2); text-wrap: balance;
}
html[data-skin="bento"] .cif-rg-overlay .cif-rg-text strong { font-weight: 800; color: var(--b-ink); }
html[data-skin="bento"] .cif-rg-overlay .cif-rg-btn,
html[data-skin="bento"] .cif-rg-overlay .cif-rg-btn:hover {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; margin-top: 22px; padding: 0 20px;
  border: 0 !important; border-radius: 999px; filter: none;
  font-family: var(--b-font); font-size: 17px; font-weight: 800; letter-spacing: -0.005em; color: #fff !important;
  background: linear-gradient(180deg, #13A052 0%, #0E8741 55%, #0B7A3B 100%) !important;
  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);
}

/* ── Pay your current loan first (the Home sheet from release S1) ── */
@media (max-width: 959.98px) {
  html[data-skin="bento"] .b-sheet .b-shead p { text-wrap: wrap; }
}

/* ── Keyboard focus inside every popup: the Bento ring ───────────── */
html[data-skin="bento"] :is(.cif-esign-modal, .cif-session-modal, .cif-ach-modal, .cif-rg-overlay, .cifchat) :is(a, button, input):focus-visible {
  outline: 3px solid rgba(14, 135, 65, .45); outline-offset: 2px;
}
html[data-skin="bento"] :is(.cif-esign-modal, .cif-session-modal, .cif-ach-modal, .cif-rg-overlay) :is(a, button):focus:not(:focus-visible) { outline: none; }
html[data-skin="bento"] .cifchat .cifchat-input input:focus-visible { outline: none; }

/* ── Chat ("Answers right away") ──────────────────────────────────── */
html[data-skin="bento"] .cifchat { font-family: var(--b-font); color: var(--b-ink); }
html[data-skin="bento"] .cifchat .cifchat-launch {
  font-family: var(--b-font); background-color: #0E8741;
  background-image: 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 -10px rgba(10, 107, 51, .65);
}
html[data-skin="bento"] .cifchat .cifchat-launch:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 8px rgba(10, 107, 51, .22), 0 18px 32px -10px rgba(10, 107, 51, .7);
}
html[data-skin="bento"] .cifchat .cifchat-launch-ic { background: rgba(255, 255, 255, .16); }
html[data-skin="bento"] .cifchat .cifchat-launch-tx { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
html[data-skin="bento"] .cifchat .cifchat-launch-sub { font-size: 13px; font-weight: 600; color: #D3F1DF; }
/* On a phone the button clears the tab bar by 12px. The bar is 20px off
   the bottom and 78px tall as drawn (66px plus its 6px padding, content
   box), so the button's bottom edge sits at 20 + 78 + 12. */
@media (max-width: 959.98px) {
  html[data-skin="bento"] .cifchat .cifchat-launch { bottom: calc(98px + var(--b-safe-bottom)); }
}
/* Nothing floats over a sheet or a dialog. */
html[data-skin="bento"] body.b-sheet-open .cifchat .cifchat-launch,
html[data-skin="bento"] body.cif-modal-open .cifchat .cifchat-launch { display: none; }

html[data-skin="bento"] .cifchat .cifchat-veil {
  background: rgba(12, 18, 15, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
html[data-skin="bento"] .cifchat .cifchat-panel {
  left: 0; right: 0; top: auto; bottom: 0; margin: 0 auto; width: 100%; max-width: 560px;
  height: 88vh; height: 88dvh; max-height: none; padding-top: 10px; border: 0; border-radius: 32px 32px 0 0;
  background: #fff; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .35);
}
html[data-skin="bento"] .cifchat .cifchat-panel::before {
  content: ""; display: block; flex: none; width: 40px; height: 5px; border-radius: 999px; background: #D7DCD9; margin: 0 auto 14px;
}
html[data-skin="bento"] .cifchat .cifchat-head {
  padding: 0 var(--b-pad) 14px; color: var(--b-ink); background: none; overflow: visible; box-shadow: 0 1px 0 rgba(18, 24, 21, .06);
}
html[data-skin="bento"] .cifchat .cifchat-head::after { content: none; display: none; }
html[data-skin="bento"] .cifchat .cifchat-head-row { gap: 12px; }
html[data-skin="bento"] .cifchat .cifchat-avatar { width: 44px; height: 44px; background: var(--b-green-tint); color: var(--b-green-lo); }
html[data-skin="bento"] .cifchat .cifchat-avatar svg { width: 22px; height: 22px; }
html[data-skin="bento"] .cifchat .cifchat-head strong { font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
html[data-skin="bento"] .cifchat .cifchat-head small {
  gap: 7px; margin-top: 2px; opacity: 1; font-size: 14px; font-weight: 700; color: var(--b-green-lo);
}
html[data-skin="bento"] .cifchat .cifchat-dot { background: var(--b-green); box-shadow: 0 0 0 3px rgba(14, 135, 65, .16); }
html[data-skin="bento"] .cifchat .cifchat-dot.is-off { background: #C5CBC8; box-shadow: none; }
html[data-skin="bento"] .cifchat .cifchat-x { width: 44px; height: 44px; background: #F1F3F1; color: var(--b-ink-2); }
html[data-skin="bento"] .cifchat .cifchat-x:hover { background: #E7EAE7; color: var(--b-ink); }

html[data-skin="bento"] .cifchat .cifchat-body { padding: 16px var(--b-pad) 8px; gap: 12px; background: #fff; }
html[data-skin="bento"] .cifchat .cifchat-row { gap: 8px; }
html[data-skin="bento"] .cifchat .cifchat-pic { width: 28px; height: 28px; margin-bottom: 0; background: var(--b-green-tint); color: var(--b-green-lo); }
/* The assistant's words sit in a soft bubble; a card it sends sits under them. */
html[data-skin="bento"] .cifchat .cifchat-row:not(.is-me) .cifchat-msg {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0;
  max-width: calc(92% - 36px); padding: 0; border: 0; border-radius: 0; background: none;
}
html[data-skin="bento"] .cifchat .cifchat-row:not(.is-me) .cifchat-text,
html[data-skin="bento"] .cifchat .cifchat-row:not(.is-me) .cifchat-typing {
  display: block; padding: 12px 15px; border-radius: 20px 20px 20px 6px; background: #F2F3EF; color: var(--b-ink);
  font-size: 16px; line-height: 1.45; font-weight: 500;
}
html[data-skin="bento"] .cifchat .cifchat-row:not(.is-me) .cifchat-typing { display: inline-flex; padding: 17px 16px; }
html[data-skin="bento"] .cifchat .cifchat-row:not(.is-me) .cifchat-text:empty { display: none; }
html[data-skin="bento"] .cifchat .cifchat-row.is-me .cifchat-msg {
  max-width: 80%; padding: 12px 15px; border: 0; border-radius: 20px 20px 6px 20px; color: #fff;
  font-size: 16px; line-height: 1.45; font-weight: 600;
  background: linear-gradient(180deg, #13A052 0%, #0E8741 60%, #0B7A3B 100%); box-shadow: 0 8px 16px -10px rgba(10, 107, 51, .6);
}
html[data-skin="bento"] .cifchat .cifchat-chips { gap: 8px; margin: 0 0 0 36px; }
html[data-skin="bento"] .cifchat .cifchat-chip {
  height: 44px; padding: 0 16px; border: 0; border-radius: 999px; font-family: var(--b-font); font-size: 15px; font-weight: 700;
  color: var(--b-green-lo); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(10, 107, 51, .22);
}
html[data-skin="bento"] .cifchat .cifchat-chip:hover { background: var(--b-green-tint); box-shadow: inset 0 0 0 1.5px rgba(10, 107, 51, .3); }
html[data-skin="bento"] .cifchat .cifchat-chip:active {
  color: #fff; background: linear-gradient(180deg, #13A052 0%, #0E8741 60%, #0B7A3B 100%); box-shadow: none; transform: none;
}
/* Cards: a soft tile; the loan card is a small copy of the Home hero. */
html[data-skin="bento"] .cifchat .cifchat-card {
  margin-top: 0; padding: 14px 16px; border: 0; border-radius: 20px; background: #F6F8F5; box-shadow: inset 0 0 0 1px rgba(18, 24, 21, .04);
  font-size: 15px;
}
html[data-skin="bento"] .cifchat .cifchat-card small {
  text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--b-ink-3);
}
html[data-skin="bento"] .cifchat .cifchat-amount { margin-top: 4px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--b-ink); }
html[data-skin="bento"] .cifchat .cifchat-div { background: rgba(18, 24, 21, .07); }
html[data-skin="bento"] .cifchat .cifchat-line { font-size: 15px; color: var(--b-ink-3); font-weight: 600; }
html[data-skin="bento"] .cifchat .cifchat-line b { font-weight: 800; color: var(--b-ink); }
html[data-skin="bento"] .cifchat .cifchat-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--b-green-lo); background: var(--b-green-tint);
}
html[data-skin="bento"] .cifchat .cifchat-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html[data-skin="bento"] .cifchat .cifchat-card:has(> .cifchat-amount) {
  width: 248px; max-width: 100%; box-sizing: border-box; padding: 14px 16px 16px; color: #fff;
  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);
}
html[data-skin="bento"] .cifchat .cifchat-card:has(> .cifchat-amount) small { color: rgba(255, 255, 255, .92); }
html[data-skin="bento"] .cifchat .cifchat-card:has(> .cifchat-amount) .cifchat-amount { font-size: 34px; color: #fff; }
html[data-skin="bento"] .cifchat .cifchat-card:has(> .cifchat-amount) .cifchat-div { background: rgba(255, 255, 255, .18); margin: 12px 0 10px; }
html[data-skin="bento"] .cifchat .cifchat-card:has(> .cifchat-amount) .cifchat-line { font-size: 14px; color: rgba(255, 255, 255, .92); }
html[data-skin="bento"] .cifchat .cifchat-card:has(> .cifchat-amount) .cifchat-line b { color: #fff; }
html[data-skin="bento"] .cifchat .cifchat-card:has(> .cifchat-amount) .cifchat-pill {
  color: #fff; background: rgba(4, 52, 25, .30); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .20);
}
html[data-skin="bento"] .cifchat .cifchat-card:has(> .cifchat-amount) .cifchat-pill::before { background: #B9F2CF; box-shadow: 0 0 0 3px rgba(185, 242, 207, .25); }
html[data-skin="bento"] .cifchat .cifchat-prow { padding: 10px 0; border-top-color: rgba(18, 24, 21, .07); font-size: 15px; }
html[data-skin="bento"] .cifchat .cifchat-prow:first-child { border-top: 0; }
html[data-skin="bento"] .cifchat .cifchat-pmid { font-size: 14px; color: var(--b-ink-3); }
html[data-skin="bento"] .cifchat .cifchat-track-head b { color: var(--b-ink); }
html[data-skin="bento"] .cifchat .cifchat-step { color: var(--b-ink-3); font-size: 13px; }
html[data-skin="bento"] .cifchat .cifchat-step.is-done,
html[data-skin="bento"] .cifchat .cifchat-step.is-current { color: var(--b-green-lo); }
html[data-skin="bento"] .cifchat .cifchat-step.is-done i,
html[data-skin="bento"] .cifchat .cifchat-step.is-current i { background: var(--b-green); border-color: var(--b-green); }
html[data-skin="bento"] .cifchat .cifchat-step.is-done:not(:last-child)::after,
html[data-skin="bento"] .cifchat .cifchat-step.is-current:not(:last-child)::after { background: var(--b-green); }
html[data-skin="bento"] .cifchat .cifchat-notice { gap: 12px; padding: 14px 16px; border: 0; border-radius: 20px; background: #FFF8EA; }
html[data-skin="bento"] .cifchat .cifchat-notice-ic { width: 32px; height: 32px; border-radius: 10px; background: #FBEBC6; color: #7A5212; }
html[data-skin="bento"] .cifchat .cifchat-notice strong { font-size: 15px; font-weight: 800; color: var(--b-ink); }
html[data-skin="bento"] .cifchat .cifchat-notice span span { font-size: 15px; color: var(--b-ink-2); }
html[data-skin="bento"] .cifchat .cifchat-promise { font-size: 15px; color: var(--b-ink-2); }
html[data-skin="bento"] .cifchat .cifchat-hand {
  gap: 7px; height: 44px; margin-top: 0; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 800;
  color: var(--b-green-lo); background-color: var(--b-green-tint); background-image: none; box-shadow: none;
}
html[data-skin="bento"] .cifchat .cifchat-hand:hover { background-color: #DCEFE3; box-shadow: none; transform: none; }

html[data-skin="bento"] .cifchat .cifchat-foot {
  padding: 10px var(--b-pad) calc(22px + var(--b-safe-bottom)); border-top: 0; background: #fff; box-shadow: 0 -1px 0 rgba(18, 24, 21, .06);
}
html[data-skin="bento"] .cifchat .cifchat-input {
  height: 54px; box-sizing: border-box; gap: 8px; padding: 0 5px 0 18px; border: 0; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, .12);
}
html[data-skin="bento"] .cifchat .cifchat-input:focus-within { box-shadow: inset 0 0 0 2px var(--b-green), 0 0 0 4px rgba(14, 135, 65, .12); }
html[data-skin="bento"] .cifchat .cifchat-input input { padding: 0; font-family: var(--b-font); font-size: 16px; font-weight: 500; color: var(--b-ink); }
html[data-skin="bento"] .cifchat .cifchat-input input::placeholder { color: #747B78; opacity: 1; }
html[data-skin="bento"] .cifchat .cifchat-send {
  width: 44px; height: 44px; background-color: #0E8741; background-image: linear-gradient(180deg, #13A052 0%, #0E8741 55%, #0B7A3B 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 12px -8px rgba(10, 107, 51, .65);
}
html[data-skin="bento"] .cifchat .cifchat-legal {
  margin-top: 10px; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--b-ink-3); text-wrap: balance;
}

/* Between the phone layout and the desktop one the chat is still a sheet. */
@media (min-width: 700.02px) and (max-width: 959.98px) {
  html[data-skin="bento"] .cifchat .cifchat-veil { display: block; position: fixed; inset: 0; z-index: 985; width: 100%; padding: 0; border: 0; }
}

/* ═══ Desktop: centered dialogs, the chat a panel down the right ═════ */
@media (min-width: 960px) {
  html[data-skin="bento"] .cif-esign-modal .cif-esign-card {
    left: 50%; top: 50%; right: auto; bottom: auto; width: 560px; max-width: calc(100vw - 48px); max-height: calc(100vh - 48px);
    margin: 0; padding: 28px; border-radius: 28px; transform: translate(-50%, -48%);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(18, 24, 21, .04);
  }
  html[data-skin="bento"] .cif-esign-modal.is-open .cif-esign-card { transform: translate(-50%, -50%); }
  html[data-skin="bento"] .cif-esign-modal .cif-esign-card::before { display: none; }
  html[data-skin="bento"] .cif-esign-modal .cif-esign-head { margin-bottom: 18px; }
  html[data-skin="bento"] .cif-esign-modal .cif-esign-head h3 { font-size: 24px; }
  html[data-skin="bento"] .cif-esign-modal .cif-esign-wait-ico { height: 180px; }
  html[data-skin="bento"] .cif-esign-modal .cif-esign-card:has(.cif-esign-done) { width: 460px; padding-bottom: 32px; }

  html[data-skin="bento"] .cif-session-modal { align-items: center; padding: 24px; }
  html[data-skin="bento"] .cif-session-modal .cif-session-modal-card {
    width: 520px; max-width: calc(100vw - 48px); padding: 28px; border-radius: 28px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(18, 24, 21, .04);
  }
  html[data-skin="bento"] .cif-session-modal .cif-session-modal-card::before { display: none; }
  html[data-skin="bento"] .cif-session-modal .cif-session-modal-card h3 { font-size: 28px; }
  html[data-skin="bento"] .cif-session-modal .cif-session-modal-card .cif-session-countdown { margin: 11px auto 21px !important; }

  html[data-skin="bento"] .cif-ach-modal { align-items: center !important; padding: 24px; }
  html[data-skin="bento"] .cif-ach-modal .profile-modal-card {
    width: 520px !important; max-width: calc(100vw - 48px); max-height: calc(100vh - 48px) !important; align-self: center !important;
    padding: 28px; border-radius: 28px !important; transform: translateY(12px);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(18, 24, 21, .04);
  }
  html[data-skin="bento"] .cif-ach-modal.is-open .profile-modal-card { transform: none; }
  html[data-skin="bento"] .cif-ach-modal .profile-modal-card::before { display: none; }
  html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-hero { padding-top: 10px; }
  html[data-skin="bento"] .cif-ach-modal .cif-ach-modal-eyebrow { font-size: 28px; }

  html[data-skin="bento"] .cif-rg-overlay { align-items: center; padding: 24px; }
  html[data-skin="bento"] .cif-rg-overlay .cif-rg-card {
    width: 520px; max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); padding: 28px; border-radius: 28px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(18, 24, 21, .04); transform: translateY(12px);
  }
  html[data-skin="bento"] .cif-rg-overlay .cif-rg-card::before { display: none; }
  html[data-skin="bento"] .cif-rg-overlay .cif-rg-ico { margin-top: 18px; }
  html[data-skin="bento"] .cif-rg-overlay .cif-rg-title { font-size: 28px; }

  html[data-skin="bento"] .cifchat .cifchat-veil { display: none; }
  html[data-skin="bento"] .cifchat .cifchat-panel {
    left: auto; top: 20px; right: 20px; bottom: 20px; width: 420px; max-width: calc(100vw - 40px); height: auto; margin: 0;
    padding-top: 20px; border-radius: 28px;
    box-shadow: 0 0 0 1px rgba(18, 24, 21, .05), 0 12px 30px -12px rgba(18, 24, 21, .22), 0 40px 90px -30px rgba(18, 24, 21, .45);
  }
  html[data-skin="bento"] .cifchat .cifchat-panel::before { display: none; }
  html[data-skin="bento"] .cifchat .cifchat-head { padding: 0 18px 16px 22px; }
  html[data-skin="bento"] .cifchat .cifchat-body { padding: 18px 22px 12px; }
  /* The conversation grows up from the composer, and still scrolls. */
  html[data-skin="bento"] .cifchat .cifchat-body > :first-child { margin-top: auto; }
  html[data-skin="bento"] .cifchat .cifchat-foot { padding: 12px 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-skin="bento"] .cif-esign-modal .cif-esign-wait-hint::before { animation: none; }
  html[data-skin="bento"] .cif-esign-modal .cif-esign-done::after { animation: none; background-size: 100% 100%, auto; }
}

/* 30 day wait: the phone line under the message */
html[data-skin="bento"] .cif-rg-overlay .cif-rg-call { margin: 10px 0 0; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--b-ink-3); text-align: center; }
html[data-skin="bento"] .cif-rg-overlay .cif-rg-call a { display: block; color: var(--b-green); font-weight: 800; text-decoration: none; }

/* Chat: a chip already asked stays tinted; the team link under the box */
html[data-skin="bento"] .cifchat .cifchat-chip.is-used { background: var(--b-green-tint); box-shadow: inset 0 0 0 1.5px rgba(10, 107, 51, .18); }
html[data-skin="bento"] .cifchat .cifchat-team { display: flex; width: max-content; align-items: center; gap: 6px; margin: 8px auto 0; font-size: 14px; font-weight: 800; color: var(--b-green); text-decoration: none; }
html[data-skin="bento"] .cifchat .cifchat-team svg { width: 16px; height: 16px; }
html[data-skin="bento"] .cifchat .cifchat-team::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
