:root{--ss-rescue-blue:#0d58e3;--ss-rescue-ink:#101828;--ss-rescue-muted:#596579}.ss-rescue-modal[hidden]{display:none!important}.ss-rescue-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:18px}.ss-rescue-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.58);backdrop-filter:blur(3px);cursor:pointer}.ss-rescue-dialog{position:relative;width:min(520px,100%);padding:30px;border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.3);text-align:left;color:var(--ss-rescue-ink)}.ss-rescue-close{position:absolute;right:14px;top:10px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f5f9;color:#334155;font-size:26px;line-height:1;cursor:pointer}.ss-rescue-eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eaf2ff;color:var(--ss-rescue-blue);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.ss-rescue-dialog h2,.ss-rescue-hero h1{margin:14px 0 10px;line-height:1.08;letter-spacing:-.03em;color:var(--ss-rescue-ink)}.ss-rescue-dialog h2{font-size:clamp(27px,5vw,38px)}.ss-rescue-dialog p,.ss-rescue-hero>p{color:var(--ss-rescue-muted);font-weight:650;line-height:1.55}.ss-rescue-points{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.ss-rescue-points span{padding:10px;border-radius:12px;background:#f4f7fb;color:#344054;font-size:12px;font-weight:850;text-align:center}.ss-rescue-primary,.ss-rescue-secondary{display:flex;width:100%;align-items:center;justify-content:center;min-height:48px;border-radius:13px;font-weight:950;text-decoration:none;box-sizing:border-box;cursor:pointer}.ss-rescue-primary{border:2px solid var(--ss-rescue-blue);background:var(--ss-rescue-blue);color:#fff!important}.ss-rescue-secondary{margin-top:9px;border:0;background:transparent;color:#667085}.ss-rescue-dialog small,.ss-rescue-hero small{display:block;margin-top:10px;color:#667085;font-weight:700;text-align:center}.ss-rescue-active-strip{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:99990;width:min(820px,calc(100% - 24px));display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;border:1px solid #bfdbfe;border-radius:16px;background:#fff;box-shadow:0 16px 44px rgba(15,23,42,.2);box-sizing:border-box}.ss-rescue-active-strip div{display:flex;flex-direction:column}.ss-rescue-active-strip strong{color:#172033}.ss-rescue-active-strip span{color:#667085;font-size:13px;font-weight:700}.ss-rescue-active-strip a{padding:10px 14px;border-radius:11px;background:var(--ss-rescue-blue);color:#fff!important;text-decoration:none;font-weight:900;white-space:nowrap}.ss-rescue-page{min-height:70vh;padding:50px 18px;background:#f6f8fc}.ss-rescue-hero{max-width:900px;margin:0 auto;padding:42px;border:1px solid #dfe6ef;border-radius:28px;background:#fff;box-shadow:0 18px 55px rgba(15,23,42,.08);text-align:center}.ss-rescue-hero h1{font-size:clamp(34px,6vw,60px)}.ss-rescue-hero .ss-rescue-primary{width:auto;display:inline-flex;padding:0 26px;margin-top:16px}.ss-rescue-state{display:flex;flex-direction:column;gap:5px;margin:22px auto 4px;padding:16px;border-radius:15px;background:#f4f7fb;color:#344054;max-width:620px}.ss-rescue-state.is-active{background:#ecfdf3;color:#11643a}.ss-rescue-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:32px;text-align:left}.ss-rescue-feature-grid div{padding:18px;border-radius:16px;background:#f7f9fc}.ss-rescue-feature-grid strong,.ss-rescue-feature-grid span{display:block}.ss-rescue-feature-grid span{margin-top:6px;color:#667085;font-weight:650;font-size:14px}@media(max-width:680px){.ss-rescue-dialog{padding:24px 18px}.ss-rescue-points,.ss-rescue-feature-grid{grid-template-columns:1fr}.ss-rescue-active-strip{align-items:stretch;flex-direction:column}.ss-rescue-active-strip a{text-align:center}.ss-rescue-hero{padding:28px 18px}}

/* Phase 5.1: dismissible active strip and two upgrade choices. */
.ss-rescue-active-strip{padding-right:52px}
.ss-rescue-strip-copy{min-width:170px}
.ss-rescue-strip-actions{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-end;gap:8px;flex:1}
.ss-rescue-strip-actions a{display:inline-flex;align-items:center;justify-content:center}
.ss-rescue-strip-actions a.is-secondary{background:#eff6ff;color:var(--ss-rescue-blue)!important;border:1px solid #bfdbfe}
.ss-rescue-strip-close{position:absolute;right:10px;top:9px;width:32px;height:32px;border:0;border-radius:50%;background:#f1f5f9;color:#475569;font-size:23px;line-height:1;cursor:pointer}
.ss-rescue-strip-close:hover{background:#e2e8f0;color:#0f172a}
.ss-rescue-upgrade-options{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:16px}
.ss-rescue-upgrade-options .ss-rescue-primary{margin-top:0}
.ss-rescue-upgrade-options .ss-rescue-primary.is-outline{background:#fff;color:var(--ss-rescue-blue)!important}
@media(max-width:680px){.ss-rescue-active-strip{padding-right:46px}.ss-rescue-strip-actions{width:100%;flex-direction:column!important;align-items:stretch}.ss-rescue-strip-actions a{width:100%;box-sizing:border-box}.ss-rescue-strip-close{right:8px;top:8px}}

/* Phase 5.4: show the real value of both continuation offers. */
.ss-rescue-active-strip{
  width:min(1120px,calc(100% - 24px));
  align-items:stretch;
  padding:14px 52px 14px 16px;
}
.ss-rescue-strip-copy{
  flex:0 1 290px;
  justify-content:center;
}
.ss-rescue-strip-copy strong{font-size:15px;line-height:1.25}
.ss-rescue-strip-copy span{margin-top:4px;line-height:1.35}
.ss-rescue-strip-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(230px,1fr));
  gap:9px;
  align-items:stretch;
}
.ss-rescue-strip-actions .ss-rescue-upgrade-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-height:68px;
  padding:10px 13px;
  white-space:normal;
  text-align:left;
  line-height:1.25;
}
.ss-rescue-upgrade-card .ss-rescue-upgrade-plan{
  color:rgba(255,255,255,.82);
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.ss-rescue-upgrade-card strong{margin-top:3px;color:inherit;font-size:15px}
.ss-rescue-upgrade-card small{display:block;margin-top:3px;color:rgba(255,255,255,.82);font-size:11px;font-weight:750}
.ss-rescue-strip-actions .ss-rescue-upgrade-card.is-secondary{
  background:#eff6ff;
  color:var(--ss-rescue-blue)!important;
  border:1px solid #bfdbfe;
}
.ss-rescue-upgrade-card.is-secondary .ss-rescue-upgrade-plan,
.ss-rescue-upgrade-card.is-secondary small{color:#48617f}
@media(max-width:900px){
  .ss-rescue-active-strip{flex-direction:column;align-items:stretch}
  .ss-rescue-strip-copy{flex-basis:auto}
  .ss-rescue-strip-actions{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .ss-rescue-active-strip{max-height:calc(100vh - 24px);overflow:auto}
  .ss-rescue-strip-actions{grid-template-columns:1fr}
  .ss-rescue-strip-actions .ss-rescue-upgrade-card{width:100%}
}
