/* Verified Payout Feed */
/* ══════════════════════════════════════════════════════════════════════════════
   VERIFIED PAYOUT FEED — live activity ticker (Task #1008505)
   ══════════════════════════════════════════════════════════════════════════════ */
.vpf-wrap { background:#ffffff; border:1px solid #e2e8f0; border-radius:14px; padding:18px 20px; margin:0 auto 24px; box-shadow:0 1px 3px rgba(0,0,0,0.04),0 4px 12px rgba(0,0,0,0.03); }
.vpf-header { display:flex; align-items:center; gap:8px; margin-bottom:10px; padding-bottom:10px; border-bottom:1px solid #f1f5f9; }
.vpf-badge { display:inline-flex; align-items:center; gap:5px; background:#dbeafe; border:1px solid #93c5fd; border-radius:100px; padding:2px 8px; font-size:0.68rem; font-weight:800; color:#2563eb; text-transform:uppercase; letter-spacing:0.08em; flex-shrink:0; }
.vpf-dot { width:6px; height:6px; background:#2563eb; border-radius:50%; animation:lpt-dot-pulse 1.4s ease-in-out infinite; flex-shrink:0; }
.vpf-title { font-size:0.9rem; font-weight:700; color:#111827; }
.vpf-sub { font-size:0.75rem; color:#9ca3af; margin-left:auto; }

/* Feed list — fixed height container showing ~4 items, overflow hidden */
.vpf-list { position:relative; overflow:hidden; }

/* Individual feed item — compact single-line row */
.vpf-item {
  display:flex; align-items:center; gap:12px; padding:8px 4px;
  border-bottom:1px solid #f8fafc; transition:opacity 0.5s ease, transform 0.5s ease;
}
.vpf-item:last-child { border-bottom:none; }

/* Circular avatar badge */
.vpf-avatar {
  width:34px; height:34px; min-width:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:0.82rem; font-weight:700; color:#ffffff; letter-spacing:0.02em;
  flex-shrink:0;
}
/* Rotating color palette for avatars — applied via JS data-color attr */
.vpf-avatar[data-color="0"] { background:#2563eb; }
.vpf-avatar[data-color="1"] { background:#1d4ed8; }
.vpf-avatar[data-color="2"] { background:#3b82f6; }
.vpf-avatar[data-color="3"] { background:#1e40af; }
.vpf-avatar[data-color="4"] { background:#2563eb; }
.vpf-avatar[data-color="5"] { background:#1e3a8a; }

/* Body text — takes remaining space, single line with ellipsis */
.vpf-body {
  flex:1; min-width:0; font-size:0.84rem; color:#374151; line-height:1.45;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.vpf-name { font-weight:600; color:#111827; }
.vpf-amount { color:#2563eb; font-weight:700; }
.vpf-link { color:#374151; text-decoration:none; }
.vpf-link:hover { color:#2563eb; text-decoration:underline; }

/* Timestamp — right-aligned, muted */
.vpf-time { font-size:0.72rem; color:#9ca3af; white-space:nowrap; flex-shrink:0; }

/* New item animation — fade + slide in from top */
@keyframes vpfSlideIn {
  0% { opacity:0; transform:translateY(-12px); }
  100% { opacity:1; transform:translateY(0); }
}
.vpf-item-new { animation:vpfSlideIn 0.6s ease forwards; }

/* Fade-out for items being removed */
@keyframes vpfFadeOut {
  0% { opacity:1; max-height:52px; }
  100% { opacity:0; max-height:0; padding:0 4px; margin:0; border:none; }
}
.vpf-item-exit { animation:vpfFadeOut 0.5s ease forwards; overflow:hidden; }

/* Mobile: allow wrapping for body text */
@media (max-width: 640px) {
  .vpf-body { white-space:normal; font-size:0.8rem; }
  .vpf-avatar { width:30px; height:30px; min-width:30px; font-size:0.75rem; }
  .vpf-item { gap:10px; padding:7px 2px; }
  .vpf-wrap { padding:14px 14px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   UGC ANIMATED VIDEO CARDS — TikTok/Reels-style CSS motion graphics
   ══════════════════════════════════════════════════════════════════════════════ */
.ugc-video-section { padding:64px 24px; background:#0a0e1a; overflow:hidden; }
.ugc-video-inner { max-width:1100px; margin:0 auto; }
.ugc-video-header { text-align:center; margin-bottom:48px; }
.ugc-video-eyebrow { display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.15); border-radius:100px; padding:4px 14px; font-size:0.78rem; font-weight:700; color:#93c5fd; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:12px; }
.ugc-video-title { font-size:clamp(1.6rem,4vw,2.4rem); font-weight:800; color:#ffffff; line-height:1.2; margin-bottom:8px; }
.ugc-video-sub { font-size:1rem; color:#9ca3af; max-width:560px; margin:0 auto; line-height:1.6; }
.ugc-video-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; justify-items:center; margin-bottom:40px; }
.ugc-anim-card { display:flex; flex-direction:column; align-items:center; text-decoration:none; width:100%; max-width:280px; transition:transform 0.25s ease; cursor:pointer; }
.ugc-anim-card:hover { transform:translateY(-4px); }
.ugcv-frame { position:relative; width:100%; aspect-ratio:9/16; border-radius:20px; overflow:hidden; background:#0f172a; box-shadow:0 20px 60px rgba(0,0,0,0.5),0 0 0 1px rgba(255,255,255,0.06); flex-shrink:0; }
.ugcv-bg { position:absolute; inset:0; z-index:0; }
.ugcv-bg-1 { background:linear-gradient(160deg,#0f172a 0%,#1e3a5f 60%,#0c2a4a 100%); }
.ugcv-bg-2 { background:linear-gradient(160deg,#0a1628 0%,#1e3a8a 60%,#172554 100%); }
.ugcv-bg-3 { background:linear-gradient(160deg,#1a0a2e 0%,#4c1d95 60%,#2e1065 100%); }
@keyframes ugcv-scene-cycle { 0%{opacity:0;transform:translateY(8px) scale(0.97)} 3%{opacity:1;transform:translateY(0) scale(1)} 18%{opacity:1;transform:translateY(0) scale(1)} 20%{opacity:0;transform:translateY(-6px) scale(0.98)} 100%{opacity:0;transform:translateY(-6px) scale(0.98)} }
.ugcv-scene { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:24px 16px 68px; animation:ugcv-scene-cycle 15s both infinite; opacity:0; z-index:2; text-align:center; pointer-events:none; }
.ugcv-scene-emoji { font-size:clamp(2rem,6vw,3rem); line-height:1.2; margin-bottom:12px; }
.ugcv-scene-headline { font-size:clamp(1.1rem,3.5vw,1.5rem); font-weight:900; color:#ffffff; line-height:1.25; margin-bottom:8px; text-shadow:0 1px 6px rgba(0,0,0,0.4); }
.ugcv-scene-sub { font-size:clamp(0.75rem,2vw,0.9rem); color:rgba(255,255,255,0.75); line-height:1.4; margin-top:4px; }
.ugcv-green-text { color:#60a5fa; }
.ugcv-mock-search { background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2); border-radius:12px; padding:12px 14px; width:100%; max-width:220px; margin-top:12px; backdrop-filter:blur(4px); text-align:left; }
.ugcv-mock-brand { font-size:0.65rem; font-weight:700; color:#60a5fa; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:6px; }
.ugcv-mock-input { font-size:0.82rem; font-weight:600; color:#ffffff; border-bottom:1px solid rgba(255,255,255,0.3); padding-bottom:4px; }
.ugcv-mock-hint { font-size:0.65rem; color:rgba(255,255,255,0.5); margin-top:5px; }
@keyframes ugcv-cursor-blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }
.ugcv-cursor { animation:ugcv-cursor-blink 0.75s infinite; font-weight:300; }
@keyframes ugcv-check-pop { 0%{transform:scale(0);opacity:0} 60%{transform:scale(1.2);opacity:1} 80%{transform:scale(0.9)} 100%{transform:scale(1);opacity:1} }
.ugcv-check-pop { font-size:clamp(2rem,7vw,3.5rem); animation:ugcv-check-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; margin-bottom:8px; }
.ugcv-match-pills { display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-top:10px; }
.ugcv-pill { background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.25); border-radius:100px; padding:3px 10px; font-size:0.68rem; font-weight:700; color:#ffffff; white-space:nowrap; }
.ugcv-pill-purple { background:rgba(139,92,246,0.3); border-color:rgba(167,139,250,0.4); color:#c4b5fd; }
.ugcv-big-amount { font-size:clamp(3rem,10vw,5rem); font-weight:900; color:#60a5fa; line-height:1; text-shadow:0 0 40px rgba(37,99,235,0.4); letter-spacing:-0.02em; margin-bottom:8px; }
.ugcv-money-rain { font-size:1.5rem; letter-spacing:4px; opacity:0.8; margin-top:8px; }
.ugcv-cta-scene { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:16px; margin:8px; padding:20px 16px 72px; }
.ugcv-cta-logo { font-size:0.9rem; font-weight:800; color:#60a5fa; margin-bottom:10px; letter-spacing:-0.01em; }
.ugcv-cta-arrow { display:inline-block; background:rgba(37,99,235,0.3); border:1px solid rgba(59,130,246,0.5); border-radius:100px; padding:6px 14px; font-size:0.72rem; font-weight:700; color:#93c5fd; margin-top:10px; white-space:nowrap; }
.ugcv-stat-number { font-size:clamp(3rem,10vw,5rem); font-weight:900; color:#ffffff; line-height:1; letter-spacing:-0.02em; margin-bottom:8px; }
.ugcv-stat-plus { font-size:0.5em; vertical-align:super; }
.ugcv-stat-label { font-size:clamp(0.75rem,2vw,0.9rem); color:rgba(255,255,255,0.7); line-height:1.4; text-align:center; }
.ugcv-urgent-label { font-size:0.65rem; font-weight:800; color:#60a5fa; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:4px; }
.ugcv-warn-badge { font-size:2rem; margin-bottom:8px; }
.ugcv-step-num { font-size:0.6rem; font-weight:800; color:#60a5fa; text-transform:uppercase; letter-spacing:0.12em; margin-bottom:4px; }
.ugcv-step-icon { font-size:2.5rem; line-height:1; margin-bottom:8px; }
.ugcv-chrome { position:absolute; bottom:20px; left:0; right:0; display:flex; align-items:flex-end; justify-content:space-between; padding:0 12px; z-index:10; pointer-events:none; }
.ugcv-chrome-left { flex:1; min-width:0; margin-right:8px; }
.ugcv-username { font-size:0.75rem; font-weight:700; color:#ffffff; text-shadow:0 1px 4px rgba(0,0,0,0.5); margin-bottom:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ugcv-caption-text { font-size:0.68rem; color:rgba(255,255,255,0.9); text-shadow:0 1px 3px rgba(0,0,0,0.5); line-height:1.35; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.ugcv-music { font-size:0.6rem; color:rgba(255,255,255,0.65); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ugcv-chrome-right { display:flex; flex-direction:column; align-items:center; gap:10px; flex-shrink:0; }
.ugcv-action { display:flex; flex-direction:column; align-items:center; gap:2px; cursor:pointer; }
.ugcv-action span { font-size:0.58rem; font-weight:700; color:#ffffff; text-shadow:0 1px 3px rgba(0,0,0,0.5); }
.ugcv-progress { position:absolute; top:0; left:0; right:0; height:3px; background:rgba(255,255,255,0.15); z-index:10; overflow:hidden; }
@keyframes ugcv-progress-anim { from{transform:translateX(-100%)} to{transform:translateX(0)} }
.ugcv-progress-fill { height:100%; background:rgba(255,255,255,0.7); border-radius:0 2px 2px 0; animation:ugcv-progress-anim linear infinite; }
.ugcvpf-15 { animation-duration:15s; }
@keyframes ugcv-rec-blink { 0%,49%{opacity:1} 50%,100%{opacity:0.1} }
.ugcv-rec-badge { position:absolute; top:10px; right:10px; display:inline-flex; align-items:center; gap:4px; background:rgba(0,0,0,0.45); border:1px solid rgba(255,255,255,0.2); border-radius:4px; padding:2px 6px; font-size:0.58rem; font-weight:800; color:#ffffff; letter-spacing:0.08em; z-index:10; backdrop-filter:blur(4px); }
.ugcv-rec-blue { border-color:rgba(59,130,246,0.5); }
.ugcv-rec-purple { border-color:rgba(139,92,246,0.5); }
.ugcv-rec-dot { width:6px; height:6px; background:#3b82f6; border-radius:50%; animation:ugcv-rec-blink 1.2s infinite; flex-shrink:0; }
.ugcv-rec-dot-blue { background:#3b82f6; }
.ugcv-rec-dot-purple { background:#8b5cf6; }
.ugcv-frame::after { content:''; position:absolute; inset:0; background:linear-gradient(to bottom,rgba(0,0,0,0) 40%,rgba(0,0,0,0.55) 100%); z-index:5; pointer-events:none; }
.ugc-video-caption { padding:12px 4px 0; text-align:left; width:100%; }
.ugc-video-user { font-size:0.82rem; font-weight:700; color:#ffffff; margin-bottom:3px; }
.ugc-video-desc { font-size:0.75rem; color:rgba(255,255,255,0.65); line-height:1.45; margin-bottom:6px; }
.ugc-video-tag { display:inline-flex; align-items:center; gap:4px; border-radius:100px; padding:2px 10px; font-size:0.68rem; font-weight:700; }
.ugc-tag-green { background:rgba(37,99,235,0.2); border:1px solid rgba(96,165,250,0.3); color:#60a5fa; }
.ugc-tag-blue { background:rgba(37,99,235,0.2); border:1px solid rgba(96,165,250,0.3); color:#60a5fa; }
.ugc-tag-purple { background:rgba(109,40,217,0.2); border:1px solid rgba(167,139,250,0.3); color:#c4b5fd; }
.ugc-video-cta { text-align:center; padding-top:8px; }
.ugc-video-share-btn { display:inline-flex; align-items:center; justify-content:center; background:#2563eb; color:#ffffff; font-size:1rem; font-weight:700; padding:14px 28px; border-radius:12px; text-decoration:none; border:none; cursor:pointer; transition:background 0.2s,transform 0.15s; box-shadow:0 4px 16px rgba(37,99,235,0.35); }
.ugc-video-share-btn:hover { background:#1d4ed8; transform:translateY(-2px); }
.ugc-video-cta-note { font-size:0.8rem; color:rgba(255,255,255,0.5); margin-top:10px; }
@media (max-width:768px) { .ugc-video-grid{grid-template-columns:repeat(3,1fr);gap:12px} .ugc-anim-card{max-width:100%} .ugcv-frame{border-radius:14px} .ugc-video-section{padding:48px 16px} }
@media (max-width:560px) { .ugc-video-grid{grid-template-columns:1fr;max-width:300px;margin-left:auto;margin-right:auto} .ugc-anim-card{max-width:280px} }

/* ══════════════════════════════════════════════════════════════════════════════
   LIVE PAYOUT TICKER (lpt-)
   ══════════════════════════════════════════════════════════════════════════════ */
@keyframes lpt-dot-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.3)} }
@keyframes lpt-new-flash { 0%{background:rgba(37,99,235,0.25)} 100%{background:transparent} }
#live-payout-ticker { background:#0c1628; border-bottom:1px solid rgba(59,130,246,0.2); overflow:hidden; transition:opacity 0.4s ease,max-height 0.4s ease; max-height:48px; }
#live-payout-ticker.lpt-hidden { opacity:0; max-height:0; }
.lpt-inner { display:flex; align-items:center; height:40px; max-width:100%; position:relative; overflow:hidden; }
.lpt-live-badge { display:flex; align-items:center; gap:5px; background:#2563eb; color:#ffffff; font-size:0.62rem; font-weight:800; letter-spacing:0.1em; padding:3px 10px; border-right:1px solid rgba(255,255,255,0.15); flex-shrink:0; height:100%; white-space:nowrap; text-transform:uppercase; }
.lpt-dot { width:6px; height:6px; background:rgba(255,255,255,0.9); border-radius:50%; animation:lpt-dot-pulse 1.4s ease-in-out infinite; flex-shrink:0; }
.lpt-scroll-wrap { flex:1; overflow:hidden; position:relative; mask-image:linear-gradient(to right,transparent 0,#000 32px,#000 calc(100% - 32px),transparent 100%); -webkit-mask-image:linear-gradient(to right,transparent 0,#000 32px,#000 calc(100% - 32px),transparent 100%); }
.lpt-track { display:inline-flex; align-items:center; white-space:nowrap; will-change:transform; padding:0 24px; }
.lpt-item { display:inline-flex; align-items:center; font-size:0.75rem; color:#cbd5e1; padding:0 20px; border-right:1px solid rgba(255,255,255,0.06); gap:4px; flex-shrink:0; transition:background 0.5s ease; }
.lpt-item-amount { font-weight:800; color:#60a5fa; font-size:0.8rem; }
.lpt-item-connector { color:#64748b; }
.lpt-item-state { font-weight:700; color:#93c5fd; }
.lpt-item-name { font-weight:600; color:#e2e8f0; max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lpt-item-time { color:#475569; font-size:0.7rem; }
.lpt-new { animation:lpt-new-flash 1.5s ease forwards; }
.lpt-dismiss { display:flex; align-items:center; justify-content:center; background:transparent; border:none; padding:0 12px; cursor:pointer; height:100%; flex-shrink:0; opacity:0.45; transition:opacity 0.2s; }
.lpt-dismiss:hover { opacity:0.9; }
.lpt-dismiss svg { width:10px; height:10px; stroke:#94a3b8; stroke-width:2; stroke-linecap:round; fill:none; }
@media (max-width:480px) { .lpt-item{padding:0 14px;font-size:0.72rem} .lpt-live-badge{padding:3px 8px;font-size:0.58rem} }

/* ══════════════════════════════════════════════════════════════════════════════
   AUTH PAGES — Login / Register (aup-)
   Two-column layout: social proof panel + form card.
   Used by auth-login.ejs and auth-signup.ejs.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Page Layout ── */
.aup-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--color-bg-subtle);
}

.aup-page-footer {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 16px 40px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ── Social Proof Panel (left column) ── */
.aup-sp-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  background: var(--color-accent);
  color: var(--color-white);
}

.aup-sp-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--color-white);
}

.aup-sp-stat {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.aup-sp-stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
}

.aup-sp-stat-lbl {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  font-weight: 500;
}

.aup-sp-signals {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aup-sp-signal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.aup-sp-signal-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.aup-sp-signal-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aup-sp-signal-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
}

.aup-sp-signal-text span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ── Form Column ── */
.aup-form-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

/* ── Card ── */
.aup-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  padding: 40px 36px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
}

/* ── Logo ── */
.aup-logo {
  text-align: center;
  margin-bottom: 24px;
}

.aup-logo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
}

.aup-logo-badge {
  font-size: 1.4rem;
  line-height: 1;
}

/* ── Title / Subtitle ── */
.aup-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.aup-sub {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── Pill badge ── */
.aup-pill {
  text-align: center;
  margin-bottom: 20px;
}

.aup-pill span {
  display: inline-block;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
}

/* ── Tabs ── */
.aup-tabs {
  display: flex;
  background: var(--color-bg-muted);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}

.aup-tab {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.aup-tab:hover {
  color: var(--color-text-secondary);
}

.aup-tab.active {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ── Tab Panels ── */
.aup-panel {
  display: none;
}

.aup-panel.active {
  display: block;
}

/* ── Form Groups ── */
.aup-group {
  margin-bottom: 18px;
}

.aup-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.aup-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.aup-input::placeholder {
  color: var(--color-text-light);
}

.aup-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.aup-input--error {
  border-color: var(--color-error);
}

.aup-input--error:focus {
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

/* ── Password input wrapper ── */
.aup-input-wrap {
  position: relative;
}

.aup-input-wrap .aup-input {
  padding-right: 48px;
}

.aup-pw-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-light);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.aup-pw-toggle:hover {
  color: var(--color-text-secondary);
  background: var(--color-bg-muted);
}

/* ── Password strength ── */
.aup-strength-wrap {
  display: none;
  margin-top: 8px;
}

.aup-strength-bar {
  height: 4px;
  background: var(--color-bg-muted);
  border-radius: 4px;
  overflow: hidden;
}

.aup-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s, background 0.3s;
}

.aup-strength-label {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
}

.aup-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ── Forgot password ── */
.aup-forgot {
  display: block;
  text-align: right;
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 500;
  margin: -8px 0 18px;
  text-decoration: none;
}

.aup-forgot:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* ── Buttons ── */
.aup-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.aup-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.aup-btn:active {
  transform: translateY(0);
}

.aup-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.aup-btn-ghost {
  display: block;
  width: 100%;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent);
  background: transparent;
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.aup-btn-ghost:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* ── Divider ── */
.aup-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.aup-divider::before,
.aup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* ── Alerts ── */
.aup-error {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--color-error-dark);
  line-height: 1.4;
}

.aup-error.visible {
  display: flex;
}

.aup-error-icon {
  flex-shrink: 0;
  font-size: 1rem;
}

.aup-success {
  display: none;
  padding: 12px 16px;
  margin-bottom: 18px;
  background: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--color-info-text);
  line-height: 1.4;
}

.aup-success.visible {
  display: block;
}

.aup-info {
  padding: 12px 16px;
  margin-bottom: 18px;
  background: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--color-info-text);
  line-height: 1.4;
}

/* ── Trust Bar ── */
.aup-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}

.aup-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.aup-trust-icon {
  font-size: 0.8rem;
  line-height: 1;
}

/* ── TOS / Switch ── */
.aup-tos {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 18px;
  line-height: 1.5;
}

.aup-tos a {
  color: var(--color-accent);
  text-decoration: underline;
}

.aup-switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.aup-switch a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.aup-switch a:hover {
  text-decoration: underline;
}

/* ── Spinner ── */
@keyframes aup-spin {
  to { transform: rotate(360deg); }
}

.aup-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: aup-spin 0.6s linear infinite;
  vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════════════════════════
   AUTH — Claim Tracker Mode (ct-mode)
   ══════════════════════════════════════════════════════════════════════════════ */
.aup-page.ct-mode {
  grid-template-columns: 1.1fr 1fr;
}

/* ── Marketing Panel ── */
.aup-mkt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--color-white);
}

.aup-mkt-badge {
  display: inline-block;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(96,165,250,0.3);
  color: #93c5fd;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.aup-mkt-h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-white);
}

.aup-mkt-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 460px;
}

/* ── Dashboard Preview ── */
.aup-preview {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 28px;
}

.aup-preview-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.aup-preview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.aup-preview-stat {
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px 8px;
}

.aup-preview-stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
}

.aup-preview-stat-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
  font-weight: 500;
}

.aup-preview-claims {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aup-preview-claim {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 0.8125rem;
}

.aup-preview-claim-name {
  flex: 1;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.aup-preview-claim-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.aup-status-paid {
  background: rgba(37,99,235,0.2);
  color: #93c5fd;
}

.aup-status-approved {
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
}

.aup-status-filed {
  background: rgba(148,163,184,0.15);
  color: #94a3b8;
}

.aup-preview-claim-amt {
  font-weight: 700;
  color: var(--color-white);
  font-size: 0.875rem;
}

/* ── Features ── */
.aup-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.aup-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.aup-feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.aup-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aup-feature-text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white);
}

.aup-feature-text span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

/* ── Pricing CTA ── */
.aup-pricing {
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.aup-pricing-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.aup-pricing-amt {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
}

.aup-pricing-per {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.aup-pricing-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 16px;
}

.aup-pricing-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.35);
}

.aup-pricing-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.aup-pricing-trust {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
}

/* ── Social Proof (ct-mode) ── */
.aup-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

.aup-avatars {
  display: flex;
}

.aup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(15,23,42,0.8);
  margin-left: -8px;
}

.aup-avatar:first-child {
  margin-left: 0;
}

/* ══════════════════════════════════════════════════════════════════════════════
   AUTH — Mobile Responsive (≤768px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .aup-page {
    grid-template-columns: 1fr;
  }

  .aup-page.ct-mode {
    grid-template-columns: 1fr;
  }

  /* Form on top, social proof below */
  .aup-form-col {
    order: -1;
    padding: 24px 16px;
  }

  .aup-card {
    padding: 28px 20px 24px;
  }

  /* Standard social proof panel collapses */
  .aup-sp-panel {
    padding: 32px 24px;
    order: 1;
  }

  .aup-sp-title {
    font-size: 1.35rem;
    margin-bottom: 20px;
  }

  /* Claim tracker marketing panel */
  .aup-mkt {
    padding: 32px 24px;
    order: 1;
  }

  .aup-mkt-h2 {
    font-size: 1.5rem;
  }

  .aup-preview-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .aup-page-footer {
    padding: 16px 16px 32px;
  }
}

@media (max-width: 480px) {
  .aup-card {
    padding: 24px 16px 20px;
    border-radius: 12px;
  }

  .aup-title {
    font-size: 1.25rem;
  }

  .aup-trust {
    gap: 10px;
  }

  .aup-trust-item {
    font-size: 0.7rem;
  }

  .aup-sp-panel {
    padding: 24px 16px;
  }
}

/* ── SMS Consent (signup page) ── */
.aup-sms-consent {
  margin-bottom: 1.1rem;
  padding: 0.85rem 1rem;
  background: rgba(37,99,235,0.04);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 8px;
}

.aup-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.aup-checkbox {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.aup-checkbox-text {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  font-weight: 500;
}

.aup-sms-terms {
  margin: 0.55rem 0 0 1.65rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.aup-sms-terms a {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.aup-sms-terms a:hover {
  color: var(--color-accent-dark);
}

/* ── Utility color modifiers ── */
.aup-stat-amber {
  color: #2563eb;
}

/* ══════════════════════════════════════════════════════════════════════════════
   COUNTDOWN TIMERS — Top Deadline Timer (tdt-) & Detail Stats Timer (cd-)
   Bug #1003891: countdown was stacking vertically due to missing CSS
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Top Deadline Timer (top-of-page banner) ────────────────────────────── */
.top-deadline-timer {
  display:flex; align-items:center; gap:16px;
  padding:14px 20px; border-radius:12px; margin-bottom:16px;
  background:var(--surface, #f8fafc); border:1px solid var(--border, #e2e8f0);
}
.top-deadline-timer.tdt-safe { background:#eff6ff; border-color:#bfdbfe; }
.top-deadline-timer.tdt-warn { background:#eff6ff; border-color:#bfdbfe; }
.top-deadline-timer.tdt-critical { background:#eff6ff; border-color:#bfdbfe; }
.top-deadline-timer.tdt-emergency { background:#eff6ff; border-color:#60a5fa; animation:sr-deadline-pulse 2s ease-in-out infinite; }
.top-deadline-timer.tdt-expired { background:#f3f4f6; border-color:#d1d5db; }
.top-deadline-timer.tdt-unknown { background:#f8fafc; border-color:#e2e8f0; }

/* Countdown number block — inline flex row */
.tdt-countdown-block {
  display:flex; align-items:center; gap:8px; flex-shrink:0;
}
.tdt-seg {
  display:flex; flex-direction:column; align-items:center; min-width:40px;
}
.tdt-num {
  font-size:1.5rem; font-weight:800; line-height:1.1; color:#111827;
}
.tdt-lbl {
  font-size:0.7rem; font-weight:600; text-transform:uppercase; letter-spacing:0.05em;
  color:#6b7280; line-height:1;
}
.tdt-colon {
  font-size:1.3rem; font-weight:700; color:#9ca3af; line-height:1; margin-top:-6px;
}

/* Info block alongside countdown */
.tdt-info {
  display:flex; flex-direction:column; gap:2px; min-width:0;
}
.tdt-icon { font-size:1.2rem; flex-shrink:0; }
.tdt-title { font-size:0.95rem; font-weight:700; color:#111827; }
.tdt-dont-miss { font-size:0.9rem; font-weight:700; color:#111827; }
.tdt-msg { font-size:0.85rem; color:#4b5563; }
.tdt-sub { font-size:0.82rem; color:#6b7280; }

/* Urgency-specific number colors */
.tdt-safe .tdt-num { color:#2563eb; }
.tdt-warn .tdt-num { color:#1d4ed8; }
.tdt-critical .tdt-num { color:#1d4ed8; }
.tdt-emergency .tdt-num { color:#1d4ed8; }

/* ── Detail Stats Countdown Timer ───────────────────────────────────────── */
.deadline-countdown-block {
  display:flex; align-items:center; gap:8px; margin-top:8px;
}
.cd-segment {
  display:flex; flex-direction:column; align-items:center; min-width:36px;
}
.cd-num {
  font-size:1.35rem; font-weight:800; line-height:1.1; color:#111827;
}
.cd-label {
  font-size:0.65rem; font-weight:600; text-transform:uppercase; letter-spacing:0.05em;
  color:#6b7280; line-height:1;
}
.cd-sep {
  font-size:1.2rem; font-weight:700; color:#9ca3af; line-height:1; margin-top:-6px;
}

/* Urgency color states for detail timer */
.deadline-countdown-block.cd-safe .cd-num { color:#2563eb; }
.deadline-countdown-block.cd-warn .cd-num { color:#1d4ed8; }
.deadline-countdown-block.cd-urgent .cd-num { color:#1d4ed8; }
.deadline-countdown-block.cd-critical .cd-num { color:#1d4ed8; }
.deadline-countdown-block.cd-expired { opacity:0.5; }
.deadline-countdown-block.cd-expired .cd-num { color:#6b7280; }

/* ── Compact CTA Countdown (inside hero/CTA blocks) ────────────────────── */
.cta-countdown-mini {
  display:inline-flex; align-items:center; gap:4px;
  font-size:0.82rem; font-weight:600; padding:6px 14px;
  border-radius:8px; margin-bottom:8px;
}
.cta-cd-safe { background:#eff6ff; color:#1d4ed8; border:1px solid #bfdbfe; }
.cta-cd-warn { background:#eff6ff; color:#1e40af; border:1px solid #bfdbfe; }
.cta-cd-critical { background:#eff6ff; color:#1d4ed8; border:1px solid #bfdbfe; }
.cta-cd-emergency { background:#eff6ff; color:#1d4ed8; border:1px solid #60a5fa; animation:sr-deadline-pulse 2s ease-in-out infinite; }

/* ── Sidebar/Inline Urgency Countdown ───────────────────────────────────── */
.sidebar-urgency-countdown,
.urgency-countdown {
  display:flex; align-items:center; gap:6px;
  font-size:0.82rem; font-weight:600; padding:8px 14px;
  border-radius:8px; margin-bottom:10px;
  background:#eff6ff; color:#1e40af; border:1px solid #bfdbfe;
}
.urgency-countdown.safe { background:#eff6ff; color:#1d4ed8; border-color:#bfdbfe; }

/* ── Responsive: keep timers inline on mobile ───────────────────────────── */
@media (max-width:480px) {
  .top-deadline-timer { flex-wrap:wrap; padding:12px 14px; gap:10px; }
  .tdt-countdown-block { gap:6px; }
  .tdt-num { font-size:1.2rem; }
  .tdt-lbl { font-size:0.62rem; }
  .tdt-colon { font-size:1.1rem; }
  .tdt-seg { min-width:32px; }
  .tdt-dont-miss { font-size:0.82rem; }
  .tdt-sub { font-size:0.75rem; }
  .deadline-countdown-block { gap:6px; }
  .cd-num { font-size:1.1rem; }
  .cd-label { font-size:0.6rem; }
  .cd-sep { font-size:1rem; }
  .cd-segment { min-width:28px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   HOMEPAGE MISSING SECTIONS — Task #1004265
   Root cause: home.ejs referenced homepage-combined.min.css and 6 fallback CSS
   files (home-sections.css, homepage-pro.css, etc) that were NEVER CREATED.
   17+ sections had zero CSS. All styles consolidated here.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Benefits Section Inner Elements (sr-benefit-) ───────────────────────── */
.sr-benefits-header { text-align:center; margin-bottom:40px; max-width:1200px; margin-left:auto; margin-right:auto; }
.sr-benefits-title { font-size:clamp(1.5rem,4vw,2rem); font-weight:800; color:var(--color-ink); margin:0 0 0.5rem; }
.sr-benefits-sub { font-size:1rem; color:#6b7280; margin:0; max-width:640px; margin-left:auto; margin-right:auto; }
.sr-benefits-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; max-width:1200px; margin:0 auto; }
.sr-benefit-card { text-align:center; padding:32px 24px; background:#ffffff; border:1px solid #e5e7eb; border-radius:16px; transition:transform 0.2s,box-shadow 0.2s; }
.sr-benefit-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.08); }
.sr-benefit-icon { display:flex; align-items:center; justify-content:center; margin:0 auto 16px; width:52px; height:52px; background:rgba(37,99,235,0.08); border-radius:12px; }
.sr-benefit-title { font-size:1.1rem; font-weight:700; color:var(--color-ink); margin:0 0 8px; }
.sr-benefit-desc { font-size:0.88rem; color:#6b7280; line-height:1.6; margin:0 0 12px; }
.sr-benefit-highlight { display:inline-block; font-size:0.75rem; font-weight:700; color:var(--color-accent); background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:2px 12px; }

/* ── How It Works (hiw-) ─────────────────────────────────────────────────── */
.hiw-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.hiw-inner { max-width:1100px; margin:0 auto; }
.hiw-header { text-align:center; margin-bottom:48px; }
.hiw-title { font-size:clamp(1.5rem,4vw,2rem); font-weight:800; color:var(--color-ink); margin:0 0 0.5rem; }
.hiw-sub { font-size:1rem; color:#6b7280; margin:0; }
.hiw-steps { display:flex; align-items:flex-start; justify-content:center; gap:0; }
.hiw-step { flex:1; max-width:320px; text-align:center; padding:32px 24px; background:#f9fafb; border:1px solid #e5e7eb; border-radius:16px; transition:transform 0.2s,box-shadow 0.2s; opacity:1; }
.hiw-step:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.08); }
.hiw-step-icon { display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.hiw-step-num { font-size:0.72rem; font-weight:800; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:8px; }
.hiw-step-title { font-size:1.15rem; font-weight:800; color:var(--color-ink); margin:0 0 8px; }
.hiw-step-desc { font-size:0.88rem; color:#4b5563; line-height:1.6; margin:0; }
.hiw-connector { display:flex; align-items:center; padding:0 8px; flex-shrink:0; margin-top:60px; }
.hiw-footer { text-align:center; margin-top:40px; }
.hiw-trust { font-size:0.88rem; color:#6b7280; margin:0 0 16px; }
.hiw-cta-btn { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:1rem; font-weight:700; padding:14px 32px; border-radius:10px; text-decoration:none; box-shadow:0 4px 14px rgba(37,99,235,0.3); transition:background 0.2s,transform 0.15s; }
.hiw-cta-btn:hover { background:var(--color-accent-hover); transform:translateY(-2px); }
.hiw-visible { opacity:1; }

/* ── Trust & Social Proof Section (trust-proof-) ─────────────────────────── */
.trust-proof-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.trust-proof-inner { max-width:1100px; margin:0 auto; text-align:center; }
.trust-proof-headline { font-size:clamp(1.5rem,4vw,2.2rem); font-weight:800; color:var(--color-ink); margin:0 0 0.5rem; }
.trust-proof-sub { font-size:1rem; color:#6b7280; margin:0 0 2rem; }
.trust-stats-row { display:flex; align-items:center; justify-content:center; gap:24px; flex-wrap:wrap; margin-bottom:2rem; padding:24px; background:#f8faff; border:1px solid #e2e8f0; border-radius:16px; }
.trust-stat { display:flex; flex-direction:column; align-items:center; min-width:100px; }
.trust-stat-num { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:#1a1a2e; line-height:1.1; }
.trust-stat-label { font-size:0.78rem; font-weight:500; color:#6b7280; margin-top:4px; }
.trust-stat-divider { width:1px; height:32px; background:#e2e8f0; flex-shrink:0; }
.trust-badges-row { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.trust-proof-pill { display:inline-flex; align-items:center; gap:8px; background:#f0f4ff; border:1px solid #dbeafe; border-radius:100px; padding:6px 16px; font-size:0.82rem; font-weight:500; color:#374151; white-space:nowrap; }
.trust-proof-pill-icon { flex-shrink:0; }

/* ── Social Proof Bar (proof-stat, proof-divider) ────────────────────────── */
.social-proof-bar { background:#f8faff; border-top:1px solid #e2e8f0; border-bottom:1px solid #e2e8f0; padding:1rem 1.5rem; }
.social-proof-inner { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:16px; max-width:1100px; margin:0 auto; }
.proof-stat { display:flex; flex-direction:column; align-items:center; text-align:center; min-width:80px; }
.proof-stat-icon { font-size:1.1rem; margin-bottom:2px; }
.proof-stat-number { font-size:clamp(1rem,2.2vw,1.3rem); font-weight:800; color:#1a1a2e; line-height:1.1; }
.proof-stat-label { font-size:0.72rem; font-weight:500; color:#6b7280; text-transform:uppercase; letter-spacing:0.06em; margin-top:2px; white-space:nowrap; }
.proof-divider { width:1px; height:28px; background:#d1d5db; flex-shrink:0; }
.live-dot { display:inline-block; width:8px; height:8px; background:#2563eb; border-radius:50%; margin-right:4px; animation:lpt-dot-pulse 1.4s ease-in-out infinite; }

/* ── Freshness Badge Bar ─────────────────────────────────────────────────── */
.freshness-badge-bar { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px; padding:0.75rem 1.5rem; background:#f9fafb; border-bottom:1px solid #e5e7eb; }
.freshness-item { display:inline-flex; align-items:center; gap:5px; font-size:0.78rem; font-weight:600; color:#374151; white-space:nowrap; }

/* ── HM Banner Section ───────────────────────────────────────────────────── */
.hm-banner-section { padding:0; }
.hm-banner-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; padding:2.5rem clamp(1rem,4vw,2rem); }
.hm-banner-text { flex:1; min-width:260px; }
.hm-banner-label { font-size:0.78rem; font-weight:700; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:0.5rem; }
.hm-banner-heading { font-size:clamp(1.2rem,3vw,1.6rem); font-weight:800; color:var(--color-ink); line-height:1.25; margin-bottom:0.5rem; }
.hm-banner-desc { font-size:0.92rem; color:#4b5563; line-height:1.6; }
.hm-banner-cta-wrap { display:flex; flex-direction:column; align-items:center; gap:0.5rem; flex-shrink:0; }
.hm-banner-cta { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:1rem; font-weight:800; padding:0.85rem 1.75rem; border-radius:10px; text-decoration:none; box-shadow:0 4px 18px rgba(59,130,246,0.3); transition:background 0.2s,transform 0.15s; white-space:nowrap; }
.hm-banner-cta:hover { background:var(--color-accent-hover); transform:translateY(-2px); }
.hm-banner-fine { font-size:0.75rem; color:#6b7280; }

/* ── Community Wins (cw-) ────────────────────────────────────────────────── */
.community-wins-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.community-wins-inner { max-width:1200px; margin:0 auto; }
.community-wins-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.community-wins-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 4px; display:flex; align-items:center; gap:8px; }
.community-wins-live-dot { display:inline-block; width:8px; height:8px; background:#2563eb; border-radius:50%; animation:lpt-dot-pulse 1.4s ease-in-out infinite; }
.community-wins-sub { font-size:0.92rem; color:#6b7280; margin:0; }
.community-wins-see-all { font-size:0.88rem; font-weight:700; color:var(--color-accent); text-decoration:none; white-space:nowrap; }
.community-wins-see-all:hover { text-decoration:underline; }
.community-wins-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.cw-card { background:#f9fafb; border:1px solid #e5e7eb; border-radius:12px; padding:20px; transition:box-shadow 0.2s,transform 0.2s; }
.cw-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); }
.cw-card-top { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.cw-avatar { display:flex; align-items:center; justify-content:center; width:36px; height:36px; background:#dbeafe; color:#1d4ed8; border-radius:50%; font-size:0.85rem; font-weight:800; flex-shrink:0; }
.cw-card-meta { display:flex; flex-direction:column; gap:2px; }
.cw-location { font-size:0.78rem; font-weight:600; color:#374151; }
.cw-time { font-size:0.72rem; color:#9ca3af; }
.cw-payout { font-size:1.4rem; font-weight:800; color:#2563eb; margin-bottom:8px; }
.cw-settlement { margin-bottom:8px; }
.cw-settlement-link { font-size:0.88rem; font-weight:600; color:#1d4ed8; text-decoration:none; }
.cw-settlement-link:hover { text-decoration:underline; }
.cw-settlement-name { font-size:0.88rem; font-weight:600; color:#374151; }
.cw-status { display:flex; align-items:center; gap:6px; font-size:0.75rem; font-weight:600; color:#1d4ed8; }
.cw-status-dot { width:6px; height:6px; background:#2563eb; border-radius:50%; }

/* ── Latest Additions (la-) ──────────────────────────────────────────────── */
.latest-additions-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.latest-additions-inner { max-width:1200px; margin:0 auto; }
.latest-additions-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.latest-additions-title-row { display:flex; align-items:center; gap:10px; }
.latest-additions-icon::before { content:'🆕'; font-size:1.3rem; }
.latest-additions-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0; }
.latest-additions-sub { font-size:0.88rem; color:#6b7280; margin:0; }
.latest-additions-count { font-size:0.78rem; font-weight:700; color:var(--color-accent); background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:4px 12px; white-space:nowrap; }
.latest-additions-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.la-card { display:flex; flex-direction:column; background:#ffffff; border:1px solid #e5e7eb; border-radius:12px; padding:20px; text-decoration:none; color:inherit; transition:box-shadow 0.2s,transform 0.2s; position:relative; }
.la-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); }
.la-card-new-tag { position:absolute; top:12px; right:12px; background:var(--color-accent); color:#ffffff; font-size:0.65rem; font-weight:800; padding:2px 8px; border-radius:4px; letter-spacing:0.08em; }
.la-card-category { font-size:0.72rem; font-weight:700; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:6px; }
.la-card-title { font-size:1rem; font-weight:700; color:var(--color-ink); margin-bottom:4px; line-height:1.3; }
.la-card-company { font-size:0.82rem; color:#6b7280; margin-bottom:12px; }
.la-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:12px; border-top:1px solid #f3f4f6; }
.la-card-payout { font-size:0.88rem; font-weight:700; color:#1d4ed8; }
.la-card-date { font-size:0.75rem; color:#9ca3af; }

/* ── Browse by Category (bbc-) ───────────────────────────────────────────── */
.bbc-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.bbc-inner { max-width:1200px; margin:0 auto; }
.bbc-header { text-align:center; margin-bottom:32px; }
.bbc-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 0.5rem; }
.bbc-sub { font-size:0.95rem; color:#6b7280; margin:0; }
.bbc-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; margin-bottom:24px; }
.bbc-card { display:flex; flex-direction:column; background:#f9fafb; border:1px solid #e5e7eb; border-radius:12px; padding:20px; text-decoration:none; color:inherit; transition:box-shadow 0.2s,transform 0.2s,border-color 0.2s; }
.bbc-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); border-color:#bfdbfe; }
.bbc-icon { font-size:1.5rem; margin-bottom:8px; }
.bbc-name { font-size:1rem; font-weight:700; color:var(--color-ink); margin-bottom:6px; }
.bbc-desc { font-size:0.82rem; color:#6b7280; line-height:1.5; margin:0 0 12px; flex:1; }
.bbc-footer { display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.bbc-count { font-size:0.75rem; font-weight:600; color:#6b7280; }
.bbc-cta { font-size:0.82rem; font-weight:700; color:var(--color-accent); }

/* Browse by Company */
.bbc-company-grid { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:24px; }
.bbc-company-card { display:inline-flex; align-items:center; gap:6px; background:#f9fafb; border:1px solid #e5e7eb; border-radius:100px; padding:8px 18px; font-size:0.88rem; font-weight:600; color:#374151; text-decoration:none; transition:all 0.15s; white-space:nowrap; }
.bbc-company-card:hover { background:#eff6ff; border-color:#bfdbfe; color:#1d4ed8; }
.bbc-company-footer { text-align:center; padding-top:16px; }
.bbc-company-all-link { font-size:0.88rem; font-weight:700; color:var(--color-accent); text-decoration:none; }
.bbc-company-all-link:hover { text-decoration:underline; }

/* ── Full Quiz CTA Widget (fms-) ─────────────────────────────────────────── */
.fms-widget-section { padding:64px clamp(1rem,4vw,2rem); background:#f9fafb; border-top:1px solid #e5e7eb; border-bottom:1px solid #e5e7eb; }
.fms-widget-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; gap:40px; flex-wrap:wrap; }
.fms-widget-text { flex:1; min-width:280px; }
.fms-widget-eyebrow { font-size:0.78rem; font-weight:700; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:8px; }
.fms-widget-title { font-size:clamp(1.3rem,3vw,1.6rem); font-weight:800; color:var(--color-ink); margin:0 0 8px; }
.fms-widget-sub { font-size:0.92rem; color:#4b5563; line-height:1.6; margin:0 0 16px; }
.fms-widget-bullets { display:flex; flex-direction:column; gap:6px; }
.fms-widget-bullets span { font-size:0.88rem; color:#374151; font-weight:500; }
.fms-widget-cta-box { background:#ffffff; border:1px solid #e5e7eb; border-radius:16px; padding:32px; text-align:center; min-width:260px; box-shadow:0 2px 8px rgba(0,0,0,0.06); }
.fms-widget-stat { margin-bottom:16px; }
.fms-widget-stat-num { font-size:2rem; font-weight:800; color:var(--color-ink); display:block; }
.fms-widget-stat-label { font-size:0.78rem; color:#6b7280; display:block; }
.fms-widget-btn { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:1rem; font-weight:700; padding:14px 28px; border-radius:10px; text-decoration:none; margin-bottom:8px; box-shadow:0 4px 14px rgba(37,99,235,0.3); transition:background 0.2s,transform 0.15s; }
.fms-widget-btn:hover { background:var(--color-accent-hover); transform:translateY(-2px); }
.fms-widget-note { font-size:0.75rem; color:#9ca3af; margin:0; }

/* ── Settlement of the Week (sotw-) ──────────────────────────────────────── */
.sotw-section { padding:64px clamp(1rem,4vw,2rem); background:#f0f4ff; border-top:2px solid #3b82f6; border-bottom:1px solid #bfdbfe; }
.sotw-inner { max-width:1100px; margin:0 auto; }
.sotw-eyebrow { display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.sotw-trophy { font-size:1.3rem; }
.sotw-eyebrow-text { font-size:0.82rem; font-weight:800; color:#1e40af; text-transform:uppercase; letter-spacing:0.08em; }
.sotw-week-badge { font-size:0.75rem; font-weight:600; color:#1e40af; background:rgba(37,99,235,0.1); border:1px solid rgba(37,99,235,0.25); border-radius:100px; padding:2px 10px; }
.sotw-card { display:flex; gap:32px; background:#ffffff; border:1px solid #bfdbfe; border-radius:16px; padding:32px; flex-wrap:wrap; }
.sotw-card-left { flex:1; min-width:260px; }
.sotw-badges { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.sotw-category-badge { font-size:0.72rem; font-weight:700; color:var(--color-accent); background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:2px 10px; }
.sotw-no-proof-badge { font-size:0.72rem; font-weight:700; color:var(--color-info-text); background:var(--color-info-bg); border:1px solid var(--color-info-border); border-radius:100px; padding:2px 10px; }
.sotw-urgent-badge { font-size:0.72rem; font-weight:700; color:#1d4ed8; background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:2px 10px; }
.sotw-title { font-size:clamp(1.2rem,3vw,1.5rem); font-weight:800; color:var(--color-ink); margin:0 0 4px; line-height:1.3; }
.sotw-company { font-size:0.88rem; color:#6b7280; margin:0 0 8px; }
.sotw-summary { font-size:0.88rem; color:#4b5563; line-height:1.6; margin:0; }
.sotw-card-right { display:flex; flex-direction:column; align-items:center; min-width:200px; text-align:center; }
.sotw-payout-block { margin-bottom:16px; }
.sotw-payout-label { font-size:0.72rem; font-weight:700; color:#6b7280; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:4px; }
.sotw-payout-amount { font-size:1.6rem; font-weight:800; color:#2563eb; }
.sotw-deadline { font-size:0.82rem; color:#6b7280; margin-top:8px; }
.sotw-deadline-countdown { font-weight:600; }
.sotw-deadline-urgent { color:#1d4ed8; }
.sotw-cta-btn { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:1rem; font-weight:700; padding:14px 32px; border-radius:10px; text-decoration:none; box-shadow:0 4px 14px rgba(37,99,235,0.3); transition:background 0.2s,transform 0.15s; margin-bottom:8px; }
.sotw-cta-btn:hover { background:var(--color-accent-hover); transform:translateY(-2px); }
.sotw-archive-link { font-size:0.82rem; font-weight:600; color:var(--color-accent); text-decoration:none; }
.sotw-archive-link:hover { text-decoration:underline; }

/* ── Quick File Section (qf-) ────────────────────────────────────────────── */
.qf-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.qf-inner { max-width:1200px; margin:0 auto; }
.qf-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1.5rem; margin-bottom:32px; flex-wrap:wrap; }
.qf-header-left { flex:1; min-width:260px; }
.qf-eyebrow { font-size:0.78rem; font-weight:700; color:#2563eb; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:6px; }
.qf-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 6px; }
.qf-sub { font-size:0.92rem; color:#6b7280; margin:0; }
.qf-trust-pills { display:flex; flex-wrap:wrap; gap:8px; }
.qf-pill { font-size:0.78rem; font-weight:600; color:#374151; background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:4px 12px; white-space:nowrap; }
.qf-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; margin-bottom:24px; }
.qf-card { background:#ffffff; border:1px solid #e5e7eb; border-radius:12px; padding:20px; display:flex; flex-direction:column; transition:box-shadow 0.2s,transform 0.2s; }
.qf-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); }
.qf-card-top { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.qf-card-deadline { font-size:0.72rem; font-weight:700; color:#6b7280; background:#f3f4f6; border-radius:100px; padding:2px 10px; }
.qf-deadline-urgent { color:#1d4ed8; background:#eff6ff; border:1px solid #bfdbfe; }
.qf-deadline-soon { color:#1d4ed8; background:#eff6ff; border:1px solid #bfdbfe; }
.qf-deadline-expired { color:#9ca3af; background:#f9fafb; }
.qf-card-category { font-size:0.72rem; font-weight:700; color:var(--color-accent); background:#eff6ff; border-radius:100px; padding:2px 10px; }
.qf-card-body { flex:1; margin-bottom:16px; }
.qf-card-company { font-size:0.78rem; font-weight:600; color:#6b7280; margin-bottom:4px; }
.qf-card-title { font-size:1rem; font-weight:700; color:var(--color-ink); margin:0 0 8px; line-height:1.3; }
.qf-card-payout { display:flex; align-items:baseline; gap:6px; }
.qf-payout-label { font-size:0.75rem; color:#6b7280; }
.qf-payout-amount { font-size:1.1rem; font-weight:800; color:#2563eb; }
.qf-card-footer { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.qf-cta-btn { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:0.88rem; font-weight:700; padding:10px 20px; border-radius:8px; text-decoration:none; transition:background 0.2s; }
.qf-cta-btn:hover { background:var(--color-accent-hover); }
.qf-details-link { font-size:0.82rem; font-weight:600; color:var(--color-accent); text-decoration:none; }
.qf-details-link:hover { text-decoration:underline; }
.qf-footer-note { display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-size:0.82rem; color:#6b7280; }
.qf-see-all { font-size:0.82rem; font-weight:700; color:var(--color-accent); text-decoration:none; }
.qf-see-all:hover { text-decoration:underline; }

/* ── Most Shared Section (ms-) ───────────────────────────────────────────── */
.ms-section { padding:64px clamp(1rem,4vw,2rem); background:#f9fafb; }
.ms-inner { max-width:1200px; margin:0 auto; }
.ms-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.ms-header-left { flex:1; min-width:260px; }
.ms-eyebrow { font-size:0.78rem; font-weight:700; color:var(--color-accent); margin-bottom:6px; }
.ms-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 6px; }
.ms-sub { font-size:0.92rem; color:#6b7280; margin:0; }
.ms-see-all-top { font-size:0.88rem; font-weight:700; color:var(--color-accent); text-decoration:none; white-space:nowrap; }
.ms-see-all-top:hover { text-decoration:underline; }
.ms-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; margin-bottom:24px; }
.ms-card { display:flex; flex-direction:column; background:#ffffff; border:1px solid #e5e7eb; border-radius:12px; padding:20px; text-decoration:none; color:inherit; position:relative; transition:box-shadow 0.2s,transform 0.2s; }
.ms-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); }
.ms-card-rank { position:absolute; top:12px; left:12px; font-size:0.72rem; font-weight:800; color:var(--color-accent); background:#eff6ff; border:1px solid #bfdbfe; border-radius:8px; padding:2px 8px; }
.ms-share-badge { display:inline-flex; align-items:center; gap:4px; font-size:0.72rem; font-weight:600; color:#6b7280; margin-bottom:8px; margin-left:auto; }
.ms-card-body { flex:1; }
.ms-card-company { font-size:0.78rem; font-weight:600; color:#6b7280; margin-bottom:4px; }
.ms-card-title { font-size:1rem; font-weight:700; color:var(--color-ink); margin:0 0 8px; line-height:1.3; }
.ms-card-payout { font-size:0.88rem; font-weight:700; color:#2563eb; }
.ms-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:12px; padding-top:12px; border-top:1px solid #f3f4f6; }
.ms-deadline { font-size:0.75rem; font-weight:600; color:#6b7280; }
.ms-deadline-urgent { color:#1d4ed8; }
.ms-cta { font-size:0.82rem; font-weight:700; color:var(--color-accent); }
.ms-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.ms-footer-note { font-size:0.78rem; color:#9ca3af; }
.ms-see-all { font-size:0.82rem; font-weight:700; color:var(--color-accent); text-decoration:none; }
.ms-see-all:hover { text-decoration:underline; }

/* ── Closing Soon / Closing This Week (cs-) ──────────────────────────────── */
.cs-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; border-top:2px solid #3b82f6; }
.cs-inner { max-width:1200px; margin:0 auto; }
.cs-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.cs-eyebrow { font-size:0.78rem; font-weight:700; color:#1d4ed8; margin-bottom:6px; }
.cs-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 6px; }
.cs-sub { font-size:0.92rem; color:#6b7280; margin:0; }
.cs-see-all-link { font-size:0.88rem; font-weight:700; text-decoration:none; white-space:nowrap; }
.cs-see-all-link:hover { text-decoration:underline; }
.cs-grid { display:flex; flex-direction:column; gap:12px; }
.cs-card { display:flex; align-items:center; gap:20px; background:#ffffff; border:1px solid #e5e7eb; border-radius:12px; padding:20px; text-decoration:none; color:inherit; transition:box-shadow 0.2s,transform 0.2s; }
.cs-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-1px); }
.cs-card-urgent { border-color:#bfdbfe; background:#f0f4ff; }
.cs-card-warn { border-color:#bfdbfe; background:#f8faff; }
.cs-countdown-col { display:flex; flex-direction:column; align-items:center; min-width:56px; flex-shrink:0; }
.cs-days-big { font-size:1.8rem; font-weight:900; color:#1d4ed8; line-height:1; }
.cs-days-unit { font-size:0.68rem; font-weight:700; color:#1d4ed8; text-transform:uppercase; letter-spacing:0.08em; }
.cs-card-info { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.cs-card-company { font-size:0.78rem; font-weight:600; color:#6b7280; }
.cs-card-title { font-size:1rem; font-weight:700; color:var(--color-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cs-card-date { font-size:0.75rem; color:#9ca3af; }
.cs-arrow { font-size:1.2rem; color:#9ca3af; flex-shrink:0; }

/* ── Expiring Soon ───────────────────────────────────────────────────────── */
.expiring-soon-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.expiring-soon-inner { max-width:1200px; margin:0 auto; }
.expiring-soon-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.expiring-soon-title-row { display:flex; align-items:center; gap:10px; }
.expiring-soon-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0; }
.expiring-soon-sub { font-size:0.88rem; color:#6b7280; margin:0; }

/* ── 72-Hour Deadline Alert (c72-) ───────────────────────────────────────── */
.c72-inner { max-width:1200px; margin:0 auto; }
.c72-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:24px; flex-wrap:wrap; }
.c72-eyebrow { font-size:0.78rem; font-weight:700; color:#1d4ed8; margin-bottom:4px; }
.c72-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 6px; }
.c72-sub { font-size:0.92rem; color:#6b7280; margin:0; }
.c72-cta-header { font-size:0.88rem; font-weight:700; color:#1d4ed8; text-decoration:none; white-space:nowrap; }
.c72-cta-header:hover { text-decoration:underline; }
.c72-grid { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.c72-card { display:flex; align-items:center; gap:16px; background:#f0f4ff; border:1px solid #bfdbfe; border-radius:12px; padding:16px 20px; text-decoration:none; color:inherit; transition:box-shadow 0.2s; }
.c72-card:hover { box-shadow:0 4px 12px rgba(37,99,235,0.12); }
.c72-countdown { display:flex; flex-direction:column; align-items:center; min-width:48px; flex-shrink:0; }
.c72-days-num { font-size:1.6rem; font-weight:900; color:#1d4ed8; line-height:1; }
.c72-days-lbl { font-size:0.6rem; font-weight:700; color:#1d4ed8; text-transform:uppercase; letter-spacing:0.08em; }
.c72-info { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.c72-company { font-size:0.78rem; font-weight:600; color:#6b7280; }
.c72-name { font-size:0.95rem; font-weight:700; color:var(--color-ink); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.c72-no-proof { font-size:0.68rem; font-weight:700; color:#2563eb; background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:1px 8px; }
.c72-deadline { font-size:0.75rem; color:#9ca3af; }
.c72-arrow { font-size:1.2rem; color:#2563eb; flex-shrink:0; }
.c72-subscribe-nudge { text-align:center; font-size:0.82rem; color:#6b7280; }
.c72-subscribe-nudge a { color:var(--color-accent); font-weight:600; }

/* ── Homepage Quiz Section (hq-) ─────────────────────────────────────────── */
.hq-section { padding:64px clamp(1rem,4vw,2rem); background:#f9fafb; }
.hq-inner { max-width:700px; margin:0 auto; }

/* ── Household Money Calculator (hmc-) ───────────────────────────────────── */
.hmc-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.hmc-inner { max-width:700px; margin:0 auto; }

/* Bug #1007162: responsive button label toggle */
.hmc-btn-short { display:none; }
@media (max-width:480px) {
  .hmc-btn-full { display:none; }
  .hmc-btn-short { display:inline; }
}

/* Bug #1007162: slider tick labels */
.hmc-slider-ticks {
  display:flex;
  justify-content:space-between;
  font-size:0.72rem;
  color:#9ca3af;
  padding:0.25rem 0.15rem 0;
}

/* ── Mini Testimonials ───────────────────────────────────────────────────── */
.mini-testi-section { padding:48px clamp(1rem,4vw,2rem); background:#f9fafb; border-top:1px solid #e5e7eb; border-bottom:1px solid #e5e7eb; }
.mini-testi-inner { max-width:1100px; margin:0 auto; }

/* ── Claim Success Stories (css-) ────────────────────────────────────────── */
.css-section { padding:64px clamp(1rem,4vw,2rem); background:#f9fafb; }
.css-inner { max-width:1100px; margin:0 auto; }
.css-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:2rem; flex-wrap:wrap; }
.css-header-text { flex:1; min-width:0; }
.css-badge { display:inline-flex; align-items:center; gap:6px; background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.2); color:#1d4ed8; font-size:0.72rem; font-weight:800; padding:0.28rem 0.85rem; border-radius:20px; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:0.75rem; }
.css-title { font-size:clamp(1.5rem,3.5vw,2rem); font-weight:800; color:#0f172a; line-height:1.15; margin:0 0 0.5rem; letter-spacing:-0.02em; }
.css-sub { font-size:0.95rem; color:#6b7280; margin:0; line-height:1.55; }
.css-share-btn { flex-shrink:0; display:inline-flex; align-items:center; gap:6px; background:#ffffff; border:1.5px solid #e5e7eb; border-radius:10px; padding:0.55rem 1.1rem; font-size:0.85rem; font-weight:600; color:#374151; cursor:pointer; transition:border-color 0.15s, background 0.15s; white-space:nowrap; align-self:flex-start; }
.css-share-btn:hover { border-color:#3b82f6; color:#1d4ed8; background:#eff6ff; }
.css-carousel { display:flex; gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding-bottom:0.5rem; scrollbar-width:none; -ms-overflow-style:none; }
.css-carousel::-webkit-scrollbar { display:none; }
.css-card { flex:0 0 320px; background:#ffffff; border:1px solid #e5e7eb; border-radius:16px; padding:1.25rem; box-shadow:0 2px 8px rgba(0,0,0,0.05); display:flex; flex-direction:column; gap:0.75rem; scroll-snap-align:start; }
.css-card-header { display:flex; align-items:center; gap:0.75rem; }
.css-avatar { width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,#3b82f6,#1d4ed8); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1rem; font-weight:700; flex-shrink:0; }
.css-card-meta { display:flex; flex-direction:column; gap:2px; min-width:0; }
.css-card-name { font-size:0.88rem; font-weight:700; color:#111827; }
.css-card-amount { font-size:0.82rem; color:#6b7280; }
.css-card-amount strong { color:#1d4ed8; font-weight:700; }
.css-card-quote { font-size:0.9rem; color:#374151; line-height:1.55; margin:0; font-style:italic; flex:1; }
.css-card-settlement { display:flex; align-items:center; gap:0.4rem; margin-top:auto; flex-wrap:wrap; }
.css-card-settlement-label { font-size:0.72rem; font-weight:700; color:#9ca3af; text-transform:uppercase; letter-spacing:0.05em; white-space:nowrap; }
.css-card-settlement-name { font-size:0.82rem; font-weight:600; color:#374151; text-decoration:none; }
a.css-card-settlement-name:hover { color:#1d4ed8; text-decoration:underline; }
.css-card-footer-meta { display:flex; align-items:center; justify-content:space-between; gap:0.5rem; padding-top:0.6rem; border-top:1px solid #f3f4f6; flex-wrap:wrap; }
.css-card-date { font-size:0.75rem; color:#9ca3af; }
.css-card-verified { font-size:0.75rem; font-weight:600; color:#1d4ed8; display:inline-flex; align-items:center; gap:3px; }
.css-carousel-controls { display:flex; align-items:center; justify-content:center; gap:1rem; margin-top:1.25rem; }
.css-nav-btn { width:36px; height:36px; border-radius:50%; background:#ffffff; border:1.5px solid #e5e7eb; color:#374151; font-size:1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:border-color 0.15s, background 0.15s; }
.css-nav-btn:hover { border-color:#3b82f6; background:#eff6ff; color:#1d4ed8; }
.css-dots { display:flex; gap:6px; align-items:center; }
.css-dot { width:8px; height:8px; border-radius:50%; background:#e5e7eb; transition:background 0.2s, width 0.2s; }
.css-dot.active { background:#3b82f6; width:20px; border-radius:4px; }
.css-footer-cta { margin-top:1.75rem; text-align:center; }
.css-footer-text { font-size:0.9rem; color:#6b7280; margin:0 0 0.6rem; line-height:1.5; }
.css-footer-link { background:none; border:none; color:#3b82f6; font-weight:600; cursor:pointer; text-decoration:none; padding:0; font-size:inherit; font-family:inherit; }
.css-footer-link:hover { text-decoration:underline; }
.css-see-all-link { display:inline-block; font-size:0.88rem; font-weight:600; color:#3b82f6; text-decoration:none; }
.css-see-all-link:hover { text-decoration:underline; }
@media (max-width:640px) { .css-card { flex:0 0 280px; } .css-header { flex-direction:column; } .css-share-btn { align-self:auto; } }

/* ── SP Section centering fix ────────────────────────────────────────────── */
.sp-section { max-width:1200px; margin-left:auto; margin-right:auto; }

/* ── Filters Section ─────────────────────────────────────────────────────── */
.filters-section { padding:32px clamp(1rem,4vw,2rem); background:#ffffff; }
.filters-inner { max-width:1200px; margin:0 auto; }

/* ── Trust Badges / Near You / Featured Roundup ──────────────────────────── */
.trust-badges-section { padding:48px clamp(1rem,4vw,2rem); background:#f9fafb; }
.trust-badges-bridge { max-width:1200px; margin-left:auto; margin-right:auto; }
.near-you-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.near-you-inner { max-width:1200px; margin:0 auto; }
.featured-roundup-bar { padding:16px clamp(1rem,4vw,2rem); background:#f0f4ff; border-top:1px solid #bfdbfe; border-bottom:1px solid #bfdbfe; max-width:100%; }

/* ── Activity Ticker (LIVE bar — single-entry fade cycling, Task #1009175) ── */
.activity-ticker-wrap { background:#0c1628; border-bottom:1px solid rgba(59,130,246,0.2); overflow:hidden; padding:0; display:flex; align-items:center; min-height:40px; }
.activity-ticker-label { display:inline-flex; align-items:center; gap:6px; background:#2563eb; color:#ffffff; font-size:0.62rem; font-weight:800; letter-spacing:0.1em; padding:10px 14px; text-transform:uppercase; flex-shrink:0; white-space:nowrap; align-self:stretch; }
.ticker-live-dot { display:inline-block; width:6px; height:6px; background:#ffffff; border-radius:50%; animation:lpt-dot-pulse 1.4s ease-in-out infinite; }
.activity-ticker-slot { flex:1; overflow:hidden; position:relative; height:22px; margin:0 16px; }
.ticker-fade-item { position:absolute; top:0; left:0; right:0; font-size:0.82rem; color:#cbd5e1; line-height:22px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:0; transform:translateY(8px); transition:opacity 0.5s ease, transform 0.5s ease; pointer-events:none; }
.ticker-fade-item.ticker-fade-active { opacity:1; transform:translateY(0); pointer-events:auto; }
.ticker-fade-item.ticker-fade-exit { opacity:0; transform:translateY(-8px); }
.ticker-payout { color:#60a5fa; font-weight:800; }
.ticker-settlement { color:#e2e8f0; font-weight:600; font-style:normal; }
.ticker-time { font-size:0.72rem; color:#64748b; margin-left:6px; }
.activity-ticker-close { flex-shrink:0; padding:0 14px; color:#475569; font-size:1.2rem; cursor:pointer; line-height:1; transition:color 0.2s; }
.activity-ticker-close:hover { color:#94a3b8; }

/* ── MCW Share Row (calculator shares) ───────────────────────────────────── */
.mcw-share-row { display:flex; align-items:center; gap:8px; justify-content:center; flex-wrap:wrap; padding:12px 0; opacity:0; transition:opacity 0.3s; }
.mcw-share-row.show { opacity:1; }
.mcw-shr-btn { display:inline-flex; align-items:center; gap:4px; padding:8px 16px; border-radius:8px; font-size:0.82rem; font-weight:600; border:1px solid #e5e7eb; background:#ffffff; color:#374151; cursor:pointer; text-decoration:none; transition:all 0.15s; min-height:36px; }
.mcw-shr-btn:hover { border-color:#bfdbfe; background:#eff6ff; color:#1d4ed8; }
.mcw-shr-x { border-color:#1f2937; background:#1f2937; color:#ffffff; }
.mcw-shr-x:hover { background:#111827; }

/* ── CAS Explainer (SEO) ────────────────────────────────────────────────── */
.cas-explainer { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.cas-explainer-inner { max-width:860px; margin:0 auto; }

/* ── Responsive: All homepage sections ───────────────────────────────────── */
@media (max-width:768px) {
  .hiw-steps { flex-direction:column; align-items:center; gap:16px; }
  .hiw-connector { display:none; }
  .hiw-step { max-width:100%; }
  .trust-stats-row { gap:16px; padding:16px; }
  .trust-stat-divider { display:none; }
  .trust-badges-row { gap:8px; }
  .trust-proof-pill { font-size:0.75rem; padding:4px 12px; }
  .social-proof-inner { gap:12px; }
  .proof-divider { display:none; }
  .sotw-card { flex-direction:column; }
  .sotw-card-right { align-items:flex-start; text-align:left; }
  .fms-widget-inner { flex-direction:column; }
  .fms-widget-cta-box { width:100%; }
  .sr-benefits-grid { grid-template-columns:repeat(2,1fr); }
  .bbc-grid { grid-template-columns:repeat(2,1fr); }
  .community-wins-grid { grid-template-columns:repeat(2,1fr); }
  .qf-grid { grid-template-columns:repeat(2,1fr); }
  .ms-grid { grid-template-columns:repeat(2,1fr); }
  .cs-card { gap:12px; padding:14px; }
  .hstat-divider { display:none; }
  .hero-stat-bar-inner { gap:8px; }
  .hm-banner-inner { flex-direction:column; text-align:center; }
  .hm-banner-cta-wrap { align-items:center; }
}

@media (max-width:480px) {
  .hiw-step { padding:20px 16px; }
  .trust-stats-row { flex-direction:column; gap:12px; }
  .sr-benefits-grid { grid-template-columns:1fr; }
  .bbc-grid { grid-template-columns:1fr; }
  .bbc-company-grid { gap:6px; }
  .bbc-company-card { padding:6px 14px; font-size:0.82rem; }
  .community-wins-grid { grid-template-columns:1fr; }
  .latest-additions-grid { grid-template-columns:1fr; }
  .qf-grid { grid-template-columns:1fr; }
  .ms-grid { grid-template-columns:1fr; }
  .cs-countdown-col { min-width:40px; }
  .cs-days-big { font-size:1.4rem; }
  .ticker-fade-item { font-size:0.74rem; }
  .activity-ticker-slot { margin:0 10px; }
}

/* ═══════════════════════════════════════════════════════════
   Task #1005078: Payout Estimate Legal Disclaimer
   Reused across: homepage cards, /settlements, /settlements/[slug], /find-my-settlements
   ═══════════════════════════════════════════════════════════ */
.sr-payout-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 0.35rem;
}

/* Stat tooltip note — shown below the "$2.4B in settlement funds tracked" stat */
.sr-stat-tooltip-note {
  display: block;
  font-size: 0.68rem;
  color: #9ca3af;
  line-height: 1.4;
  margin-top: 0.2rem;
}
.sr-stat-tooltip-wrap {
  cursor: default;
  font-size: 0.75rem;
  vertical-align: middle;
}

/* Testimonial meta extras */
.testimonial-date { color: #6b7280; font-size: 0.78rem; }
.testimonial-verified-badge { color: #1d4ed8; font-size: 0.78rem; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════════
   CHAT BUBBLE — NUCLEAR AUTHORITATIVE STYLES (design-system.css)
   !important on EVERY property so chatbot-widget.js can NEVER override.
   The JS injects a <style> tag at runtime with same specificity — only
   !important guarantees the stylesheet wins regardless of load order.
   DO NOT REMOVE — see Tasks #1004213, #1005605, #1006353.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Animations ─────────────────────────────────────────────────────── */
/* Continuous soft glow pulse */
@keyframes ds-chat-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,99,235,0.50), 0 0 0 0 rgba(37,99,235,0.40); }
  50%      { box-shadow: 0 4px 20px rgba(37,99,235,0.70), 0 0 0 14px rgba(37,99,235,0); }
}
/* Slide-up entrance */
@keyframes ds-chat-enter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Idle attention bounce — fires once per 10s cycle */
@keyframes ds-chat-idle {
  0%, 86%, 100% { transform: scale(1) translateY(0); }
  90%           { transform: scale(1.08) translateY(-4px); }
  94%           { transform: scale(0.97) translateY(1px); }
  97%           { transform: scale(1) translateY(0); }
}
/* Radar sweep — subtle rotating line inside the button */
@keyframes ds-radar-sweep {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
/* Dots bop */
@keyframes ds-chat-dots {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

/* ── Chat bubble button — brand blue radar, ZERO GREEN ────────────── */
#sr-chat-bubble {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--color-accent, #2563eb) 0%, #1d4ed8 100%) !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 9000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 20px rgba(37,99,235,0.50), 0 0 0 0 rgba(37,99,235,0.40) !important;
  animation: ds-chat-pulse 2.5s ease-in-out infinite, ds-chat-enter 0.4s ease-out, ds-chat-idle 10s ease-in-out 5s infinite !important;
  transition: box-shadow 0.2s, filter 0.2s, bottom 0.38s cubic-bezier(0.34,1.56,0.64,1) !important;
  outline: none !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Radar sweep pseudo-element — subtle rotating wedge */
#sr-chat-bubble::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 60px !important;
  height: 60px !important;
  transform: translate(-50%,-50%) rotate(0deg) !important;
  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0.12) 0deg,
    rgba(255,255,255,0.03) 30deg,
    transparent 60deg,
    transparent 360deg
  ) !important;
  border-radius: 50% !important;
  animation: ds-radar-sweep 4s linear infinite !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Hover: scale + rotation + intensified glow */
#sr-chat-bubble:hover {
  transform: scale(1.1) rotate(8deg) !important;
  box-shadow: 0 8px 32px rgba(37,99,235,0.80), 0 0 0 8px rgba(37,99,235,0.15) !important;
  filter: brightness(1.12) !important;
  animation: ds-chat-pulse 2.5s ease-in-out infinite !important;
}
#sr-chat-bubble:focus-visible {
  outline: 3px solid rgba(37,99,235,0.5) !important;
  outline-offset: 3px !important;
}

/* ── Icon states ────────────────────────────────────────────────────── */
#sr-chat-bubble .sr-cb-open { display: block !important; position: relative !important; z-index: 1 !important; transition: transform 0.3s ease !important; }
#sr-chat-bubble .sr-cb-close { display: none !important; position: relative !important; z-index: 1 !important; }
#sr-chat-bubble.is-open .sr-cb-open { display: none !important; }
#sr-chat-bubble.is-open .sr-cb-close { display: block !important; }
#sr-chat-bubble.is-open { animation: ds-chat-pulse 2.5s ease-in-out infinite !important; }

/* SVG inside — white, correct size for radar icon */
#sr-chat-bubble svg { width: 28px !important; height: 28px !important; flex-shrink: 0 !important; position: relative !important; z-index: 1 !important; }

/* Typing dots (optional) */
#sr-chat-bubble .sr-cb-dots { display: none !important; }
#sr-chat-bubble.show-dots .sr-cb-dots { display: flex !important; gap: 3px !important; align-items: center !important; justify-content: center !important; }
#sr-chat-bubble .sr-cb-dot {
  width: 5px !important; height: 5px !important; border-radius: 50% !important;
  background: rgba(255,255,255,0.85) !important;
  animation: ds-chat-dots 1.2s infinite !important;
}
#sr-chat-bubble .sr-cb-dot:nth-child(2) { animation-delay: 0.2s !important; }
#sr-chat-bubble .sr-cb-dot:nth-child(3) { animation-delay: 0.4s !important; }

/* ── Bump above lead-magnet / pro-nudge bars ───────────────────────── */
/* Bug #1007865: Raise chat bubble above sticky bottom bars.
   Desktop: 88px clears the ~56px bar + 32px padding.
   body class set by app.js; :has() CSS fallback for any missed cases. */
body.lm-bar-visible #sr-chat-bubble  { bottom: 88px !important; }
body.pnb-visible #sr-chat-bubble     { bottom: 96px !important; }
body:has(#lm-sticky-bar.visible) #sr-chat-bubble  { bottom: 88px !important; }
body:has(.sticky-filing-bar.visible) #sr-chat-bubble { bottom: 88px !important; }

/* ── Notification teaser — Bug #1007123 fix 3 ─────────────────────── */
/* Reposition to LEFT of bubble so it doesn't cover page content.
   Bubble = 60px wide at right:24px → occupies right 24–84px.
   Teaser at right:92px sits to the left with 8px gap.
   Reduce max-width; rounded tail points toward the bubble (bottom-right). */
#sr-chat-notif {
  right: 92px !important;
  bottom: 28px !important;
  max-width: 200px !important;
  border-radius: 12px 12px 4px 12px !important;
  font-size: 0.8rem !important;
  padding: 8px 12px !important;
}

/* ── Mobile (≤768px) — Bug #1007865 ───────────────────────────────── */
/* Raise chat bubble to clear mobile bottom nav ("Go Pro" / "Sign In").
   Mobile nav bar is ~60px; 80px gives comfortable clearance. */
@media (max-width: 768px) {
  #sr-chat-bubble { bottom: 80px !important; right: 16px !important; width: 52px !important; height: 52px !important; }
  #sr-chat-notif  { display: none !important; }
  body.lm-bar-visible #sr-chat-bubble,
  body:has(#lm-sticky-bar.visible) #sr-chat-bubble { bottom: 140px !important; }
  body.pnb-visible #sr-chat-bubble,
  body:has(#srProNudgeBar.pnb-visible) #sr-chat-bubble { bottom: 152px !important; }
}

/* ── Z-index stack enforcement ─────────────────────────────────────── */
/* Toasts/notifications: z-index 10000 */
/* Modals: z-index 9500 */
/* Chat bubble: z-index 9000 */
/* Page content: default */

/* ── Toast ↔ Chat bubble spacing ─────────────────────────────────── */
/* When the subscription toast is visible, nudge it above the chat bubble */
#subscribeConfirmedToast,
#saveSignInPrompt {
  bottom: 96px;
  z-index: 10000;
}
@media (max-width: 768px) {
  #subscribeConfirmedToast,
  #saveSignInPrompt {
    bottom: 152px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUG #1007162 — Visual bug sweep fixes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Bug 7: Settlement urgency badge — blue, not red ──────────────────── */
.sr-urgent {
  display:inline-flex;
  align-items:center;
  gap:0.25rem;
  background:#dbeafe;
  border:1px solid #93c5fd;
  color:#1d4ed8;
  font-size:0.75rem;
  font-weight:700;
  padding:0.15rem 0.6rem;
  border-radius:100px;
  white-space:nowrap;
}
.card-deadline {
  display:inline-flex;
  align-items:center;
  gap:0.25rem;
  font-size:0.75rem;
  font-weight:600;
  padding:0.2rem 0.65rem;
  border-radius:100px;
  white-space:nowrap;
  background:#f3f4f6;
  color:#374151;
}
.card-deadline.urgent,
.card-deadline.last-chance {
  background:#dbeafe;
  border:1px solid #93c5fd;
  color:#1d4ed8;
  font-weight:700;
}
.card-deadline.warning {
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e40af;
}
.card-deadline.expired {
  background:#e5e7eb;
  color:#1f2937;
}

/* ── Bug 9: Onboarding Wizard — constrained modal overlay ────────────── */
.srwiz-backdrop {
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.3s ease;
}
.srwiz-backdrop.srwiz-open {
  opacity:1;
  pointer-events:all;
}
.srwiz-modal {
  background:#ffffff;
  border-radius:20px;
  max-width:480px;
  width:calc(100% - 32px);
  max-height:calc(100vh - 48px);
  overflow-y:auto;
  padding:2rem 1.75rem 1.5rem;
  position:relative;
  box-shadow:0 24px 64px rgba(0,0,0,0.2);
  transform:translateY(20px);
  transition:transform 0.3s ease;
}
.srwiz-backdrop.srwiz-open .srwiz-modal {
  transform:translateY(0);
}
.srwiz-close {
  position:absolute;
  top:0.75rem;
  right:0.75rem;
  width:36px;
  height:36px;
  border:none;
  background:#f3f4f6;
  border-radius:50%;
  font-size:1.25rem;
  color:#6b7280;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background 0.15s;
  line-height:1;
}
.srwiz-close:hover { background:#e5e7eb; color:#374151; }
.srwiz-header { text-align:center; margin-bottom:1.25rem; }
.srwiz-header-icon { font-size:2rem; margin-bottom:0.5rem; }
.srwiz-header h2 { font-size:1.35rem; font-weight:800; color:#111827; margin:0 0 0.4rem; letter-spacing:-0.02em; }
.srwiz-header p { font-size:0.88rem; color:#6b7280; margin:0; line-height:1.5; }

/* Progress */
.srwiz-progress { display:flex; gap:6px; margin-bottom:0.4rem; }
.srwiz-progress-step { flex:1; height:4px; background:#e5e7eb; border-radius:4px; transition:background 0.25s; }
.srwiz-progress-step.srwiz-active { background:#2563eb; }
.srwiz-progress-step.srwiz-done { background:#93c5fd; }
.srwiz-progress-label { font-size:0.72rem; color:#9ca3af; margin-bottom:1rem; text-align:center; }

/* Steps */
.srwiz-steps { min-height:200px; }
.srwiz-step { display:none; }
.srwiz-step.srwiz-active-step { display:block; animation:srwiz-fade-in 0.25s ease both; }
@keyframes srwiz-fade-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.srwiz-step-title { font-size:1rem; font-weight:700; color:#111827; margin-bottom:0.25rem; }
.srwiz-step-subtitle { font-size:0.82rem; color:#6b7280; margin-bottom:1rem; line-height:1.5; }

/* Checkboxes */
.srwiz-checks { display:flex; flex-direction:column; gap:0.5rem; }
.srwiz-check-item { display:flex; align-items:center; gap:0; }
.srwiz-check-item input[type="checkbox"] {
  width:18px;
  height:18px;
  flex-shrink:0;
  accent-color:#2563eb;
  margin:0;
  cursor:pointer;
}
.srwiz-check-label {
  display:flex;
  align-items:center;
  gap:0.5rem;
  font-size:0.9rem;
  color:#374151;
  cursor:pointer;
  padding:0.45rem 0.6rem;
  border-radius:8px;
  flex:1;
  transition:background 0.15s;
}
.srwiz-check-label:hover { background:#f3f4f6; }
.srwiz-check-icon { font-size:1.1rem; flex-shrink:0; }

/* Nav */
.srwiz-nav { display:flex; justify-content:space-between; align-items:center; margin-top:1.25rem; gap:0.75rem; }
.srwiz-btn-next {
  padding:0.6rem 1.25rem;
  background:#2563eb;
  color:#fff;
  border:none;
  border-radius:8px;
  font-size:0.88rem;
  font-weight:700;
  cursor:pointer;
  transition:background 0.15s;
}
.srwiz-btn-next:hover { background:#1d4ed8; }
.srwiz-btn-next:disabled { opacity:0.5; cursor:not-allowed; }
.srwiz-btn-back {
  padding:0.5rem 0.9rem;
  background:none;
  border:1px solid #e5e7eb;
  border-radius:8px;
  font-size:0.82rem;
  font-weight:600;
  color:#6b7280;
  cursor:pointer;
  transition:border-color 0.15s;
}
.srwiz-btn-back:hover { border-color:#9ca3af; }
.srwiz-btn-skip {
  background:none;
  border:none;
  color:#9ca3af;
  font-size:0.82rem;
  cursor:pointer;
  text-decoration:underline;
}
.srwiz-btn-skip:hover { color:#6b7280; }

/* Email */
.srwiz-email-field { margin-bottom:0.5rem; }
.srwiz-email-field label { display:block; font-size:0.82rem; font-weight:600; color:#374151; margin-bottom:0.4rem; }
.srwiz-email-input {
  width:100%;
  padding:0.7rem 0.9rem;
  border:1.5px solid #d1d5db;
  border-radius:8px;
  font-size:0.9rem;
  outline:none;
  transition:border-color 0.15s;
}
.srwiz-email-input:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,0.1); }
.srwiz-privacy-note { font-size:0.72rem; color:#9ca3af; margin:0.4rem 0 0; }

/* Loading + Results */
.srwiz-loading, .srwiz-results, .srwiz-empty { display:none; text-align:center; }
.srwiz-loading.srwiz-show, .srwiz-results.srwiz-show, .srwiz-empty.srwiz-show { display:block; }
.srwiz-spinner {
  width:32px; height:32px;
  border:3px solid #e5e7eb;
  border-top:3px solid #2563eb;
  border-radius:50%;
  animation:srwiz-spin 0.8s linear infinite;
  margin:1rem auto;
}
@keyframes srwiz-spin { to { transform:rotate(360deg); } }
.srwiz-results-header { margin-bottom:1rem; }
.srwiz-results-header h3 { font-size:1.1rem; font-weight:700; color:#111827; margin:0 0 0.3rem; }
.srwiz-results-header p { font-size:0.82rem; color:#6b7280; margin:0; }
.srwiz-settlement-list { display:flex; flex-direction:column; gap:0.5rem; margin-bottom:1rem; }
.srwiz-settlement-card {
  display:flex;
  align-items:center;
  gap:0.75rem;
  padding:0.7rem 0.9rem;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:10px;
  text-decoration:none;
  color:inherit;
  transition:border-color 0.15s;
}
.srwiz-settlement-card:hover { border-color:#93c5fd; }
.srwiz-settlement-badge { font-size:1.1rem; flex-shrink:0; }
.srwiz-settlement-info { flex:1; min-width:0; text-align:left; }
.srwiz-settlement-title { font-size:0.85rem; font-weight:600; color:#111827; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.srwiz-settlement-meta { font-size:0.72rem; color:#6b7280; display:flex; gap:0.5rem; }
.srwiz-settlement-payout { color:#1d4ed8; font-weight:600; }
.srwiz-settlement-arrow { color:#9ca3af; font-size:1.2rem; flex-shrink:0; }
.srwiz-btn-browse {
  display:inline-block;
  padding:0.6rem 1.25rem;
  background:#2563eb;
  color:#fff;
  border-radius:8px;
  font-size:0.88rem;
  font-weight:700;
  text-decoration:none;
  margin-top:0.5rem;
  transition:background 0.15s;
}
.srwiz-btn-browse:hover { background:#1d4ed8; }

@media (max-width:480px) {
  .srwiz-modal { padding:1.5rem 1.25rem 1.25rem; border-radius:16px; max-width:100%; }
  .srwiz-header h2 { font-size:1.15rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FIND MY SETTLEMENTS QUIZ — Full Wizard Styles (Task #1007864, v2)
   Root cause: styles were referenced in find-my-settlements.ejs but never added
   to design-system.css. Only .fms-attr-* and .fms-widget-* existed.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Layout & Page ── */
.fms-wizard-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.fms-wizard-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.fms-wizard-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.fms-wizard-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  animation: fms-badge-pulse 1.5s ease-in-out infinite;
}
@keyframes fms-badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.fms-wizard-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.fms-wizard-sub {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Progress Bar ── */
.fms-progress-wrap {
  text-align: center;
  margin-bottom: 1.25rem;
}

.fms-progress-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.fms-progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e7eb;
  transition: background 0.25s, transform 0.25s;
}
.fms-progress-dot.active {
  background: #2563eb;
  transform: scale(1.2);
}
.fms-progress-dot.done {
  background: #93c5fd;
}

.fms-progress-label {
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 600;
}

/* ── Card / Steps ── */
.fms-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

@keyframes fms-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CRITICAL: Only show the active step (fms wizard fix) */
.fms-step {
  display: none;
}
.fms-step.active {
  display: block;
}

/* Hide duplicate "Step X of 4" eyebrow inside each step */
.fms-step-eyebrow {
  display: none;
}

.fms-step-question {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.4rem;
}

.fms-step-hint {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

/* ── State Select (Step 1) ── */
.fms-state-select {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  appearance: auto;
  margin-bottom: 1rem;
  transition: border-color 0.15s;
}
.fms-state-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

/* ── Navigation Row ── */
.fms-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fms-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1.5rem;
  background: #2563eb;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,99,235,0.25);
  transition: background 0.15s, transform 0.15s;
}
.fms-btn-next:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.fms-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.6rem 1rem;
  background: none;
  color: #6b7280;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.fms-btn-back:hover {
  background: #f9fafb;
  color: #374151;
}

.fms-btn-skip {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem;
  transition: color 0.15s;
}
.fms-btn-skip:hover {
  color: #2563eb;
}

/* ── Brand Step (Step 3) ── */
.fms-brand-selected-banner {
  display: none;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 0.75rem;
}
.fms-brand-selected-banner.visible {
  display: flex;
}

.fms-brand-search-wrap {
  position: relative;
  margin-bottom: 0.75rem;
}
.fms-brand-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}
.fms-brand-search {
  width: 100%;
  padding: 0.6rem 0.75rem 0.6rem 2.25rem;
  font-size: 0.9rem;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s;
}
.fms-brand-search:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.fms-brand-cats {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}
.fms-brand-cats::-webkit-scrollbar { width: 4px; }
.fms-brand-cats::-webkit-scrollbar-track { background: #f3f4f6; border-radius: 4px; }
.fms-brand-cats::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

.fms-brand-cat-group {
  margin-bottom: 0.75rem;
}
.fms-brand-cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.fms-brand-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fms-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.7rem;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #374151;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s;
}
.fms-brand-chip:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
.fms-brand-chip.selected {
  border-color: #2563eb;
  background: #dbeafe;
  color: #1e40af;
  font-weight: 600;
}
.fms-brand-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.fms-brand-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.15s;
}
.fms-brand-chip.selected .fms-brand-chip-dot {
  background: #2563eb;
}

/* ── Email Step (Step 4) ── */
.fms-email-lock-icon {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.fms-email-match-preview {
  text-align: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.fms-email-match-count {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
}
.fms-email-match-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}
.fms-email-match-amount {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-top: 0.25rem;
}

.fms-email-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.fms-email-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  transition: border-color 0.15s;
}
.fms-email-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.fms-email-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ── Loading State ── */
.fms-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 1rem;
  text-align: center;
}
.fms-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: fms-spin 0.7s linear infinite;
}
@keyframes fms-spin {
  to { transform: rotate(360deg); }
}
.fms-loading-text {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 500;
}

/* ── Results Page ── */
.fms-results-page {
  display: none;
}
.fms-results-page.visible {
  display: block;
}

.fms-results-hero-card {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 1.25rem;
}
.fms-results-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  margin-bottom: 0.5rem;
}
.fms-results-hero-count {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.fms-results-hero-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.25rem;
}
.fms-results-hero-amount {
  font-size: 1rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 1rem;
}
.fms-results-hero-cta {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
  transition: background 0.15s, transform 0.15s;
}
.fms-results-hero-cta:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.fms-payout-disclaimer {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.fms-payout-disclaimer .payout-disclaimer-text {
  font-size: 0.72rem;
  color: #9ca3af;
  line-height: 1.5;
  margin: 0;
}

/* ── Match List ── */
.fms-matches-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.fms-matches-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}
.fms-matches-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.fms-matches-header-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.fms-match-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s;
}
.fms-match-item:last-child {
  border-bottom: none;
}
.fms-match-item:hover {
  background: #f9fafb;
}

.fms-match-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.fms-match-info {
  flex: 1;
  min-width: 0;
}
.fms-match-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fms-match-company {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 2px;
}

.fms-match-meta {
  text-align: right;
  flex-shrink: 0;
}
.fms-match-payout {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
}
.fms-match-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  margin-top: 3px;
}
.fms-match-badge.urgent {
  background: #fef3c7;
  color: #92400e;
}

.fms-matches-view-all {
  display: block;
  text-align: center;
  padding: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  border-top: 1px solid #f3f4f6;
  transition: background 0.12s;
}
.fms-matches-view-all:hover {
  background: #f9fafb;
}

/* ── No Results ── */
.fms-no-results {
  padding: 2rem 1.5rem;
  text-align: center;
}
.fms-no-results-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.fms-no-results-msg {
  font-size: 1.05rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.4rem;
}
.fms-no-results-sub {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* ── Pro Upsell ── */
.fms-pro-upsell {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 1.25rem;
}
.fms-pro-badge {
  display: inline-block;
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(251,191,36,0.3);
  margin-bottom: 0.75rem;
}
.fms-pro-headline {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.fms-pro-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.fms-pro-features {
  text-align: left;
  max-width: 360px;
  margin: 0 auto 1.25rem;
}
.fms-pro-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}
.fms-pro-feature-check {
  color: #60a5fa;
  font-weight: 700;
  flex-shrink: 0;
}

.fms-pro-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
  transition: background 0.15s, transform 0.15s;
  margin-bottom: 0.5rem;
}
.fms-pro-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}
.fms-pro-price-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ── Share Card ── */
.fms-share-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.fms-share-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
}
.fms-share-sub {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.fms-share-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.fms-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.fms-share-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .fms-wizard-page { padding: 1.25rem 1rem 2rem; }
  .fms-card { padding: 1.25rem 1rem; }
  .fms-wizard-title { font-size: 1.35rem; }
  .fms-step-question { font-size: 1.05rem; }
  .fms-results-hero-count { font-size: 2.25rem; }
  .fms-match-item { padding: 0.65rem 1rem; gap: 0.5rem; }
  .fms-match-avatar { width: 34px; height: 34px; font-size: 0.85rem; }
  .fms-share-btns { flex-direction: column; }
  .fms-share-btn { justify-content: center; }
}

/* ── Bug 10: Find My Settlements quiz — checkbox alignment ───────────── */
.fms-attr-grid {
  display:flex;
  flex-direction:column;
  gap:0.5rem;
}
.fms-attr-chip {
  display:flex;
  align-items:center;
  gap:0.6rem;
  padding:0.6rem 0.85rem;
  background:#f9fafb;
  border:1.5px solid #e5e7eb;
  border-radius:10px;
  cursor:pointer;
  transition:border-color 0.15s, background 0.15s;
  user-select:none;
}
.fms-attr-chip:hover { border-color:#93c5fd; background:#eff6ff; }
.fms-attr-chip.selected { border-color:#2563eb; background:#dbeafe; }
.fms-attr-chip input[type="checkbox"] {
  position:absolute;
  opacity:0;
  width:0;
  height:0;
  pointer-events:none;
}
.fms-attr-check {
  width:20px;
  height:20px;
  flex-shrink:0;
  border:2px solid #d1d5db;
  border-radius:4px;
  position:relative;
  transition:background 0.15s, border-color 0.15s;
}
.fms-attr-chip.selected .fms-attr-check {
  background:#2563eb;
  border-color:#2563eb;
}
.fms-attr-chip.selected .fms-attr-check::after {
  content:'';
  position:absolute;
  top:2px;
  left:5px;
  width:6px;
  height:10px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.fms-attr-icon { font-size:1.15rem; flex-shrink:0; }
.fms-attr-label { font-size:0.9rem; color:#374151; font-weight:500; }

/* ═══════════════════════════════════════════════════════════════════════════════
   HOMEPAGE SECTION STYLES — Task #1007469
   Root cause: styles were "moved" to home-sections.css / homepage-inline-extract.css
   but those files were deleted. All component CSS lives here now.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── 1. URGENCY STRIP (Closing Soon Ticker) ─────────────────────────────────── */
.urgency-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e40af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.urgency-strip-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  animation: urgency-pulse 1.5s ease-in-out infinite;
}
@keyframes urgency-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.urgency-sep {
  color: #d1d5db;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.urgency-strip-items {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
}
.urgency-strip-items::-webkit-scrollbar { display: none; }
.urgency-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.urgency-item:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  transform: translateY(-1px);
}
.urgency-item-days {
  font-weight: 700;
  color: #1e40af;
  font-size: 0.78rem;
}
.urgency-item-days.urgent {
  color: #1d4ed8;
}
.urgency-strip-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.urgency-strip-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ── 2. FEATURED SETTLEMENT HERO (Today's Featured Settlement / SOTD) ──────── */
#featured-settlement-hero {
  border-radius: 16px;
  overflow: hidden;
}
.fs-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.fs-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.fs-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fs-hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.fs-hero-archive-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.fs-hero-archive-link:hover {
  text-decoration: underline;
}
.fs-hero-body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.fs-hero-left {
  flex: 1;
  min-width: 280px;
}
.fs-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.fs-hero-cat-badge,
.fs-hero-noproof-badge,
.fs-hero-urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.fs-hero-title {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.fs-hero-company {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.fs-hero-why {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 8px;
}
.fs-hero-why-text {
  font-size: 0.9rem;
  line-height: 1.5;
}
.fs-hero-right {
  width: 280px;
  flex-shrink: 0;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fs-hero-payout-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.fs-hero-payout-amount {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}
.sr-payout-disclaimer {
  font-size: 0.68rem;
  color: #9ca3af;
  line-height: 1.4;
  margin-top: 4px;
}
.fs-hero-deadline-row {
  font-size: 0.88rem;
  line-height: 1.5;
}
.fs-hero-deadline-urgent {
  color: #1d4ed8;
  font-weight: 700;
}
.fs-hero-cta {
  display: inline-block;
  text-align: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.fs-hero-cta:hover {
  transform: translateY(-2px);
}
.fs-hero-share-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fs-hero-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.fs-hero-share-btn:hover {
  opacity: 0.85;
}
.fs-hero-share-btn.copied {
  background: #eff6ff;
  color: #1e40af;
  border-color: #93c5fd;
}
.fs-hero-rotates {
  font-size: 0.8rem;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .fs-hero-body {
    flex-direction: column;
  }
  .fs-hero-right {
    width: 100%;
  }
  .fs-hero-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 3. TOP SETTLEMENTS LEADERBOARD (sr-lb-*) ─────────────────────────────── */
.sr-leaderboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.sr-leaderboard-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0;
}
.sr-leaderboard-title span {
  color: var(--color-accent);
}
.sr-leaderboard-view-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}
.sr-leaderboard-view-all:hover {
  text-decoration: underline;
}
.sr-lb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sr-lb-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.sr-lb-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}
.sr-lb-card--gold {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}
.sr-lb-card--gold:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}
.sr-lb-rank {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}
.sr-lb-rank--n {
  font-size: 0.9rem;
  font-weight: 800;
  color: #6b7280;
}
.sr-lb-body {
  flex: 1;
  min-width: 0;
}
.sr-lb-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.sr-lb-company {
  font-size: 0.8rem;
  color: #6b7280;
}
.sr-lb-right {
  text-align: right;
  flex-shrink: 0;
}
.sr-lb-payout {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-accent);
  white-space: nowrap;
}
.sr-lb-payout-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .sr-lb-card {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
  }
  .sr-lb-rank {
    width: 32px;
    font-size: 1.2rem;
  }
  .sr-lb-right {
    width: 100%;
    text-align: left;
    padding-left: 48px;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .sr-lb-title {
    white-space: normal;
  }
}

/* ── 4. FEATURED SETTLEMENTS GRID (rs-card-*, rs-featured-*) ─────────────── */
.rs-featured-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.rs-featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.rs-featured-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rs-section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rs-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.rs-featured-view-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}
.rs-featured-view-all:hover {
  text-decoration: underline;
}

/* Card Grid */
.rs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Individual Card */
.rs-settlement-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.rs-settlement-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
}

/* Blue accent bar at top of card */
.rs-card-accent {
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* Card body */
.rs-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta row: category + badges */
.rs-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.rs-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
}
.rs-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rs-trending-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.rs-no-proof-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.rs-card-deadline {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.rs-card-deadline.urgent {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.rs-card-deadline.warning {
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.rs-card-deadline--soft {
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.rs-card-deadline--pulse {
  animation: urgency-pulse 1.5s ease-in-out infinite;
}

/* Company row */
.rs-card-company-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.rs-card-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}
.rs-card-company {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Title */
.rs-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.3;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Summary */
.rs-card-summary {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}

/* Footer: payout + CTA */
.rs-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}
.rs-card-payout-dual {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rs-card-payout-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rs-card-payout-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rs-card-payout-amount {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e3a8a;
}
.rs-payout-varies {
  color: #94a3b8;
  font-weight: 500;
}
.rs-payout-not-disclosed {
  color: #cbd5e1;
  font-weight: 400;
  font-size: 0.75rem;
}
.rs-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .rs-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .rs-card-grid {
    grid-template-columns: 1fr;
  }
  .rs-featured-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 5. BROWSE ALL CTA BUTTON (fix spacing) ──────────────────────────────── */
/* Ensure proper centering and spacing for the bottom CTA */
.rs-featured-section .btn.btn-primary {
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.rs-featured-section .btn.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* ── 6. ADDITIONAL MISSING HOMEPAGE STYLES ───────────────────────────────── */

/* Benefits section cards */
.sr-benefits-header {
  text-align: center;
  margin-bottom: 40px;
}
.sr-benefits-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 8px;
}
.sr-benefits-sub {
  font-size: 1rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
}
.sr-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sr-benefit-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sr-benefit-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}
.sr-benefit-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sr-benefit-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.sr-benefit-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .sr-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* How It Works section */
.hiw-section {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hiw-header {
  text-align: center;
  margin-bottom: 40px;
}
.hiw-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 8px;
}
.hiw-subtitle {
  font-size: 1rem;
  color: #6b7280;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: hiw-step;
}
.hiw-step {
  text-align: center;
  counter-increment: hiw-step;
}
.hiw-step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hiw-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.hiw-step-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Trust proof section */
.trust-proof-section {
  background: #ffffff;
}
.trust-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Trending section */
.sr-trending-section {
  max-width: 1200px;
  margin: 0 auto;
}
.sr-trending-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.sr-trending-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.sr-trending-title {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0;
}
.sr-trending-view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

/* Guides section */
.rs-guides-section {
  max-width: 1200px;
  margin: 0 auto;
}

/* Featured roundup bar */
.featured-roundup-bar {
  background: #eff6ff;
  border-top: 1px solid #bfdbfe;
  border-bottom: 1px solid #bfdbfe;
}

/* Filters section */
.filters-section {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

/* ── 7. GLOBAL SECTION SPACING FIX — collapse empty sections ─────────────── */
section:empty {
  display: none;
  padding: 0;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RELATED SETTLEMENTS — card grid + sidebar list styles
   Used by settlement-detail.ejs "You May Also Be Eligible For" section
   and sidebar "More [Category] Settlements" list.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Cross-sell heading ── */
.sr-crosssell-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2426;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

/* ── Related settlements card grid ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Individual related card ── */
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: inherit;
}
.related-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.related-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.related-card-category {
  font-size: 0.68rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.related-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1f2426;
  line-height: 1.35;
}

.related-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #6b7280;
  flex-wrap: wrap;
}
.related-card-payout {
  font-weight: 700;
  color: var(--primary, #2563eb);
}

.related-card-deadline {
  font-size: 0.75rem;
  color: #4b5563;
  margin-top: 0.15rem;
}

/* ── "See all" links below related grids ── */
.related-see-all {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--primary, #2563eb);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.related-see-all:hover {
  color: var(--primary-dark, #1e40af);
  text-decoration: underline;
}

/* ── Sidebar related list (compact list format) ── */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.related-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.related-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: #f0f7ff;
}
.related-item strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2426;
  line-height: 1.3;
}
.related-item span {
  font-size: 0.75rem;
  color: #6b7280;
}
.related-item-payout {
  font-size: 0.72rem;
  color: var(--primary, #2563eb);
  font-weight: 600;
}

/* ── Sidebar mini-card related list ── */
.sidebar-related-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.sidebar-related-card .sr-header {
  font-size: 0.78rem;
  font-weight: 800;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.sidebar-related-card .sr-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.sidebar-related-card .sr-item:last-child {
  border-bottom: none;
}
.sidebar-related-card .sr-item:hover {
  background: #f9fafb;
}
.sidebar-related-card .sr-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f2426;
  line-height: 1.3;
}
.sidebar-related-card .sr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #6b7280;
}
.sidebar-related-card .sr-payout {
  color: var(--primary, #2563eb);
  font-weight: 600;
}
.sidebar-related-card .sr-badge {
  color: #7c3aed;
  font-weight: 700;
}
.sidebar-related-card .sr-urgent {
  color: #dc2626;
  font-weight: 700;
}
