/* Solvpath demo · Retention + Returns flow drawer (flows.js). Additive; brand tokens only (no Solvpath colors inside the customer flow). */
.fl-root .co-drawer { width: min(560px, 100%); }
.fl-root .co-head { gap: 10px; justify-content: flex-start; }
.fl-root .co-head h3 { flex: 1; min-width: 0; font-family: var(--font-heading, inherit); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-root .co-head .co-x { margin-left: auto; }
.fl-back { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border, #e3e8eb); background: var(--surface, #fff); color: var(--text, #13232e); display: grid; place-items: center; cursor: pointer; }
.fl-back[hidden] { display: none; }
.fl-back:hover { background: var(--primaryTint, #f2f6f8); }
.fl-root .co-body { position: relative; }
.fl-root .co-foot { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #e8eef1; background: var(--surface, #fff); }
.fl-root .co-foot:empty { display: none; }

/* progress + presenter source tag */
.fl-prog span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-src { display: block; margin: 0 0 12px; padding: 4px 10px; border-radius: 6px; background: #eef7f9; color: #163549; border: 1px dashed #8fd3de; font: 600 12px/1.4 Inter, system-ui, sans-serif; }
.fl-src b { color: #0f7f92; }

/* item header */
.fl-ihead { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.fl-ihead .pimg, .fl-ihead .pimg-ph, .fl-ihead img { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.fl-ihead b { display: block; font-size: 16px; line-height: 1.3; }
.fl-ihead small { display: block; font-size: 14px; color: var(--muted, #6e7b84); margin-top: 2px; }

/* survey */
.fl-q { margin-top: 4px; }
.fl-reasons .ss-opt { grid-template-columns: 26px 1fr; min-height: 56px; padding: 12px 14px; }
.fl-reasons .ss-opt b { font-size: 16.5px; font-weight: 700; }
.fl-extra { margin-top: 12px; }

/* offer card (reuses .ret-offer) */
.fl-offer { padding: 18px 16px 16px; margin-bottom: 0; }
.fl-offer h4 { font-size: 19px; line-height: 1.3; margin: 10px 0 6px; font-family: var(--font-heading, inherit); }
.fl-offer > p { margin-bottom: 12px; }
.fl-badge { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; max-width: 100%; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--strip, var(--solid, var(--primary))); color: var(--stripInk, var(--onSolid, #fff)); }
.fl-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--surface, #fff); border: 1.5px solid var(--border, #e3e8eb); }
.fl-big b { font-size: 34px; line-height: 1; font-weight: 800; color: var(--solid, var(--primaryInk, var(--primary))); font-family: var(--font-heading, inherit); }
.fl-big span { font-size: 15px; font-weight: 600; color: var(--muted, #55636c); }
.fl-kv { margin: 0; background: var(--surface, #fff); border: 1.5px solid var(--border, #e3e8eb); }
.fl-chips { grid-template-columns: repeat(3, 1fr); }
.fl-chips .vchip { flex-direction: column; gap: 2px; min-height: 60px; }
.fl-chips .vchip em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted, #6e7b84); }
.fl-vg { margin-top: 8px; } .fl-vg small { display: block; font-size: 13px; font-weight: 700; color: var(--muted, #6e7b84); margin-bottom: 6px; }
.fl-pick .pick-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fl-pick .pick img, .fl-pick .pick .pimg, .fl-pick .pick-img .pimg, .fl-pick .pick-img img { height: 110px; }
.fl-pick .pick b { font-size: 14px; }
.fl-pick .ex-settle { margin-top: 10px; }
.fl-tips { margin: 0; padding: 0; list-style: none; counter-reset: t; display: flex; flex-direction: column; gap: 8px; }
.fl-tips li { counter-increment: t; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; padding: 10px 12px; background: var(--surface, #fff); border: 1.5px solid var(--border, #e3e8eb); border-radius: 12px; font-size: 15px; font-weight: 600; }
.fl-tips li::before { content: counter(t); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--solid, var(--primary)); color: var(--onSolid, #fff); font-size: 13px; font-weight: 800; }
.fl-quote { display: flex; align-items: center; gap: 10px; } .fl-stars { color: #e0a100; letter-spacing: 2px; font-size: 18px; } .fl-quote small { color: var(--muted, #6e7b84); font-weight: 600; }
.fl-t-testimonial h4 { font-style: italic; }
.fl-gift { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--surface, #fff); border: 1.5px solid var(--border, #e3e8eb); border-radius: 12px; }
.fl-gift .pimg, .fl-gift img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.fl-gift small { display: block; color: #1e7a45; font-weight: 800; } .fl-gift s { color: var(--muted, #6e7b84); font-weight: 500; margin-right: 4px; }

/* consent + confirmation */
.fl-consent, .fl-confirm { text-align: center; padding: 8px 4px 0; }
.fl-ci { width: 64px; height: 64px; margin: 6px auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--primaryTint, #f2f6f8); color: var(--solid, var(--primary)); }
.fl-ci.warn { background: #fdf1ef; color: #b3261e; }
.fl-consent h4, .fl-confirm h4 { margin: 0 0 6px; font-size: 21px; font-family: var(--font-heading, inherit); }
.fl-consent p, .fl-confirm p { margin: 0 auto 14px; max-width: 420px; color: var(--muted, #55636c); font-size: 15.5px; }

/* footer links: "No thanks" + always-visible cancel link */
.fl-root .btn.link.fl-no { color: var(--muted, #55636c); text-decoration: none; font-weight: 700; }
.fl-root .btn.link.fl-no:hover { color: var(--text, #13232e); text-decoration: underline; }
.fl-root .btn.link.fl-yes { color: #b3261e; text-decoration: underline; }
.fl-out { display: block; margin: 2px auto 0; padding: 8px 10px; min-height: 40px; background: none; border: none; color: var(--muted, #6e7b84); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.fl-out:hover { color: #b3261e; }

/* result + reactivation lane */
.fl-done { padding-top: 12px; }
.fl-done p { color: var(--muted, #55636c); }
.fl-react { margin-top: 8px; padding: 16px; border: 2px solid var(--solid, var(--primary)); border-radius: 14px; background: var(--primaryTint, #f2f6f8); text-align: left; }
.fl-react h4 { margin: 10px 0 4px; font-size: 18px; font-family: var(--font-heading, inherit); } .fl-react p { margin: 0 0 12px; color: var(--muted, #55636c); font-size: 15px; }
.fl-resp { margin-top: 4px !important; font-size: 14px !important; }

/* busy overlay over the whole drawer (React omp-drawer-loading-overlay) */
.fl-busy { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(255,255,255,.86); backdrop-filter: blur(2px); font-size: 17px; }
.fl-busy .spinner { width: 44px; height: 44px; border-width: 4px; }

@media (max-width: 960px) {
  .fl-root .co-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .fl-pick .pick-grid { grid-template-columns: repeat(2, 1fr); }
  .fl-offer h4 { font-size: 18px; }
  .fl-big b { font-size: 30px; }
}
@media (max-width: 380px) { .fl-chips { grid-template-columns: repeat(2, 1fr); } }
