/*
 * SSSC Engage: public front end. Everything is scoped under .sssc-engage (the mount and the dialog layers).
 * Base palette: SSSC's indigo (#230070) and mint (#7ad9c4) on warm paper, with gold and coral for accents.
 * Org accents arrive per card as --org / --org-2 / --org-ink (all pass AA with their ink).
 */

.sssc-engage {
  --se-paper: #fbf8f3;
  --se-surface: #ffffff;
  --se-sand: #f4efe6;
  --se-sand-2: #ece5d8;
  --se-line: #e8e1d5;
  --se-line-2: #d6ccbb;
  --se-field: #8f8574;          /* input borders: 3.6:1 on white */
  --se-ink: #1e1934;
  --se-ink-2: #4a4360;
  --se-ink-3: #6a6378;          /* 5:1 on sand */
  --se-brand: #2a1680;          /* SSSC indigo, lifted slightly for UI */
  --se-brand-2: #3b25a6;
  --se-brand-soft: #eeeafb;
  --se-brand-soft-2: #e1dbf7;
  --se-mint: #7ad9c4;
  --se-mint-soft: #e5f6f1;
  --se-mint-ink: #0b5a4a;
  --se-gold: #a88e2e;
  --se-gold-soft: #f7f0dc;
  --se-gold-ink: #6a5512;
  --se-coral: #f2643b;
  --se-coral-soft: #fde9e2;
  --se-coral-ink: #9c3416;
  --se-amber-soft: #fdf3dc;
  --se-amber-ink: #7a5410;
  --se-focus: #2a1680;
  --se-r-lg: 28px;
  --se-r: 18px;
  --se-r-sm: 12px;
  --se-shadow-sm: 0 1px 2px rgba(30, 25, 52, .06);
  --se-shadow: 0 1px 2px rgba(30, 25, 52, .05), 0 12px 32px -16px rgba(30, 25, 52, .22);
  --se-shadow-lg: 0 2px 6px rgba(30, 25, 52, .08), 0 32px 80px -24px rgba(30, 25, 52, .45);
  --se-font: var(--global-body-font-family, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif), "PingFang SC", "Hiragino Sans GB", "Hiragino Sans", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Yu Gothic", "Malgun Gothic", sans-serif;
  --se-ease: cubic-bezier(.2, .7, .2, 1);

  color: var(--se-ink);
  font-family: var(--se-font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-align: start;
}
.sssc-engage *, .sssc-engage *::before, .sssc-engage *::after { box-sizing: border-box; }
/* Neutralise theme spacing on our own elements (class weight (0,2,0) beats theme rules like .entry-content p). */
.sssc-engage.sssc-engage :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, fieldset, legend, figure, blockquote, form) { margin: 0; padding: 0; }
.sssc-engage.sssc-engage :where(ul, ol) { list-style: none; }
.sssc-engage.sssc-engage :where(fieldset) { border: 0; min-width: 0; }
.sssc-engage.sssc-engage :where(h1, h2, h3, h4) {
  font-family: var(--global-heading-font-family, inherit);
  color: var(--se-ink);
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
}
.sssc-engage :where(img, svg) { max-width: 100%; }
.sssc-engage [hidden] { display: none !important; }
.sssc-engage .se-i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.sssc-engage .se-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sssc-engage :focus { outline: none; }
.sssc-engage :focus-visible { outline: 3px solid var(--se-focus); outline-offset: 2px; }
.sssc-engage [tabindex="-1"]:focus-visible { outline: none; }

/* ---------- buttons: one base for every button we render (beats theme button/hover styles) ---------- */
.sssc-engage :is(.se-btn, .se-iconbtn, .se-fbtn, .se-chip, .se-gchip, .se-qr, .se-card__open, .se-chat__send, .se-others__toggle, .se-msg__update) {
  -webkit-appearance: none; appearance: none; margin: 0; font: inherit; text-transform: none; letter-spacing: normal;
  box-shadow: none; text-decoration: none; cursor: pointer; line-height: 1.25; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sssc-engage .se-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .62em 1.15em; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--se-brand); color: #fff; font-weight: 650; font-size: .95rem;
}
.sssc-engage .se-btn--primary { background: var(--se-brand); color: #fff; border-color: var(--se-brand); }
.sssc-engage .se-btn--primary:hover { background: var(--se-brand-2); border-color: var(--se-brand-2); color: #fff; box-shadow: 0 8px 20px -10px rgba(42, 22, 128, .7); }
.sssc-engage .se-btn--soft { background: var(--se-brand-soft); color: var(--se-brand); border-color: transparent; }
.sssc-engage .se-btn--soft:hover { background: var(--se-brand-soft-2); color: var(--se-brand); }
.sssc-engage .se-btn--dark { background: var(--se-ink); color: #fff; border-color: var(--se-ink); }
.sssc-engage .se-btn--dark:hover { background: #352e52; color: #fff; }
.sssc-engage .se-btn--text { background: transparent; color: var(--se-brand); border-color: transparent; padding-inline: .8em; }
.sssc-engage .se-btn--text:hover { background: var(--se-brand-soft); color: var(--se-brand); }
.sssc-engage .se-btn--sm { min-height: 36px; padding: .4em .95em; font-size: .88rem; }
.sssc-engage .se-btn--lg { min-height: 50px; padding: .7em 1.4em; font-size: 1rem; }
.sssc-engage .se-btn--xl { min-height: 58px; padding: .8em 1.7em; font-size: 1.08rem; }
.sssc-engage .se-btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.sssc-engage .se-btn.is-busy { cursor: progress; }
.sssc-engage .se-iconbtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%;
  border: 0; background: transparent; color: var(--se-ink-2); flex: none;
}
.sssc-engage .se-iconbtn:hover { background: var(--se-sand); color: var(--se-ink); }
.sssc-engage .se-iconbtn .se-i { width: 22px; height: 22px; }

/* ---------- app layout ---------- */
.sssc-engage .se-app { container: se / inline-size; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
/* The page uses Kadence's full-width layout (no container padding), so the app brings its own gutter + max width. */
.sssc-engage { box-sizing: border-box; width: 100%; max-width: 1340px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); padding-block: clamp(16px, 3vw, 32px) clamp(32px, 5vw, 64px); }

/* ---------- hero ---------- */
.sssc-engage .se-hero {
  position: relative; display: grid; gap: 28px; align-items: start;
  padding: clamp(18px, 5cqi, 56px); border-radius: var(--se-r-lg); border: 1px solid var(--se-line);
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(122, 217, 196, .38) 0%, rgba(122, 217, 196, 0) 55%),
    radial-gradient(80% 110% at 0% 100%, rgba(42, 22, 128, .09) 0%, rgba(42, 22, 128, 0) 60%),
    var(--se-paper);
  overflow: hidden;
}
.sssc-engage .se-hero::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -90px; border-radius: 50%;
  border: 1.5px solid rgba(168, 142, 46, .35); pointer-events: none;
}
.sssc-engage .se-hero__text { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; min-width: 0; }
.sssc-engage .se-hero__title { font-size: clamp(2rem, 1.35rem + 2.6cqi, 3.2rem); line-height: 1.06; font-weight: 750; letter-spacing: -0.02em; max-width: 14ch; overflow-wrap: break-word; }
.sssc-engage .se-hero__lead { font-size: clamp(1.02rem, .95rem + .35cqi, 1.18rem); color: var(--se-ink-2); max-width: 46ch; }
.sssc-engage .se-hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; font-size: .9rem; color: var(--se-ink-2); font-weight: 600; padding-top: 4px; }
.sssc-engage .se-hero__dots { display: inline-flex; padding-inline-start: 6px; }
.sssc-engage .se-hero__dot {
  width: 18px; height: 18px; border-radius: 50%; margin-inline-start: -6px;
  background: linear-gradient(135deg, var(--org) 0 55%, var(--org-2) 55% 100%); box-shadow: 0 0 0 2px var(--se-paper);
}
.sssc-engage .se-hero__cta { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sssc-engage .se-hero__note { color: var(--se-ink-3); font-size: .92rem; }
.sssc-engage .se-hero__browse { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--se-line); width: 100%; }
.sssc-engage .se-hero__browselabel { font-size: .88rem; font-weight: 650; color: var(--se-ink-2); }
.sssc-engage .se-hero__groups { display: flex; flex-wrap: wrap; gap: 8px; }
.sssc-engage .se-gchip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--se-line-2); background: var(--se-surface); color: var(--se-ink); font-size: .92rem; font-weight: 650;
}
.sssc-engage .se-gchip:hover { border-color: var(--se-brand); background: var(--se-surface); color: var(--se-brand); }
.sssc-engage .se-gchip[aria-pressed="true"] { border-color: var(--se-brand); background: var(--se-brand); color: #fff; }
@container se (min-width: 900px) {
  .sssc-engage .se-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; }
  .sssc-engage .se-hero__cta { align-self: center; align-items: center; text-align: center; padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, .72); border: 1px solid var(--se-line); box-shadow: var(--se-shadow); }
  .sssc-engage .se-hero__groups { justify-content: center; }
}

/* ---------- chat ---------- */
.sssc-engage .se-chat { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sssc-engage .se-chat__log {
  display: flex; flex-direction: column; gap: 12px; max-height: min(420px, 60vh); overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 2px 2px; scroll-behavior: smooth;
}
.sssc-engage .se-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 92%; animation: se-rise .25s var(--se-ease) both; }
.sssc-engage .se-msg__body { padding: 10px 14px; border-radius: 18px; font-size: .97rem; line-height: 1.5; overflow-wrap: anywhere; }
.sssc-engage .se-msg--user { align-self: flex-end; }
.sssc-engage .se-msg--user .se-msg__body { background: var(--se-brand); color: #fff; border-bottom-right-radius: 6px; }
.sssc-engage .se-msg--assistant .se-msg__body { background: var(--se-surface); color: var(--se-ink); border: 1px solid var(--se-line); border-bottom-left-radius: 6px; box-shadow: var(--se-shadow-sm); }
.sssc-engage .se-msg__avatar {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: var(--se-mint); color: #0b3d33;
}
.sssc-engage .se-msg__avatar .se-i { width: 16px; height: 16px; }
.sssc-engage .se-msg--note { align-self: center; max-width: 100%; }
.sssc-engage .se-msg--note .se-msg__body { padding: 0; }
.sssc-engage .se-msg__update {
  border: 0; border-radius: 999px; padding: 7px 14px; background: var(--se-mint-soft); color: var(--se-mint-ink);
  font-size: .86rem; font-weight: 650;
}
.sssc-engage .se-msg__update:hover { background: #d3efe7; color: var(--se-mint-ink); }
.sssc-engage .se-typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.sssc-engage .se-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--se-ink-3); animation: se-dot 1.2s infinite ease-in-out; }
.sssc-engage .se-typing span:nth-child(2) { animation-delay: .15s; }
.sssc-engage .se-typing span:nth-child(3) { animation-delay: .3s; }
.sssc-engage .se-chat__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.sssc-engage .se-qr {
  border: 1.5px solid var(--se-brand-soft-2); background: var(--se-surface); color: var(--se-brand);
  border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 600; text-align: start;
}
.sssc-engage .se-qr:hover { background: var(--se-brand-soft); border-color: var(--se-brand); color: var(--se-brand); }
.sssc-engage .se-chat__alert {
  display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: var(--se-r-sm);
  background: var(--se-coral-soft); color: var(--se-coral-ink); font-size: .93rem;
}
.sssc-engage .se-chat__alert p { display: flex; gap: 8px; align-items: flex-start; }
.sssc-engage .se-chat__alertbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.sssc-engage .se-chat__composer {
  display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 14px; border-radius: 22px;
  background: var(--se-surface); border: 1px solid var(--se-line); box-shadow: var(--se-shadow);
}
.sssc-engage .se-chat__composer:focus-within { border-color: var(--se-brand-soft-2); box-shadow: 0 0 0 4px rgba(42, 22, 128, .08), var(--se-shadow); }
.sssc-engage .se-chat__label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; color: var(--se-ink); }
.sssc-engage .se-chat__label .se-i {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--se-mint); color: #0b3d33;
}
.sssc-engage .se-chat__box { display: flex; align-items: flex-end; gap: 10px; }
.sssc-engage .se-chat__input.se-chat__input {
  flex: 1; min-width: 0; min-height: 56px; max-height: 220px; resize: none; margin: 0;
  border: 0; border-radius: 12px; padding: 8px 4px; background: transparent; box-shadow: none;
  font: inherit; font-size: 1.02rem; line-height: 1.5; color: var(--se-ink); outline: none; overflow-y: hidden;
}
.sssc-engage .se-chat__input.se-chat__input:focus { box-shadow: none; border: 0; outline: none; }
.sssc-engage .se-chat__input::placeholder { color: var(--se-ink-3); opacity: 1; }
.sssc-engage .se-chat__input:disabled { cursor: not-allowed; }
.sssc-engage .se-chat__send {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; flex: none;
  border: 0; background: var(--se-brand); color: #fff;
}
.sssc-engage .se-chat__send:hover { background: var(--se-brand-2); color: #fff; transform: translateX(1px); }
.sssc-engage .se-chat__send:disabled { background: var(--se-sand-2); color: var(--se-ink-3); cursor: not-allowed; transform: none; }
.sssc-engage .se-chat.is-busy .se-chat__send { cursor: progress; }
.sssc-engage .se-chat__example { font-size: .86rem; color: var(--se-ink-3); }
.sssc-engage .se-chat__turns { font-size: .86rem; color: var(--se-amber-ink); font-weight: 600; }
.sssc-engage .se-chat__foot { display: flex; flex-direction: column; gap: 10px; padding-inline: 4px; }
.sssc-engage .se-chat__notice { font-size: .84rem; color: var(--se-ink-3); }
.sssc-engage .se-chat__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .92rem; color: var(--se-ink-2); }
.sssc-engage .se-chat.is-blocked .se-chat__composer { background: var(--se-sand); box-shadow: none; }

/* ---------- notices / states ---------- */
.sssc-engage .se-notice {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--se-r-sm);
  background: var(--se-gold-soft); color: var(--se-gold-ink); font-weight: 550;
}
.sssc-engage .se-error {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 22px 24px; border-radius: var(--se-r);
  background: var(--se-coral-soft); color: var(--se-coral-ink);
}
.sssc-engage .se-error > div:nth-child(2) { flex: 1 1 240px; }
.sssc-engage .se-error__icon .se-i { width: 32px; height: 32px; }
.sssc-engage .se-error__title { font-weight: 700; font-size: 1.08rem; }
.sssc-engage .se-error__hint { color: var(--se-ink-2); }

/* ---------- your-fit strip ---------- */
.sssc-engage .se-fit {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; border-radius: var(--se-r);
  background: var(--se-surface); border: 1px solid var(--se-line); box-shadow: var(--se-shadow-sm);
  animation: se-rise .3s var(--se-ease) both; scroll-margin-top: 90px;
}
.sssc-engage .se-fit__head { display: flex; flex-direction: column; gap: 2px; flex: none; }
.sssc-engage .se-fit__title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 750; }
.sssc-engage .se-fit__title .se-i { color: var(--se-gold); }
.sssc-engage .se-fit__saved { font-size: .78rem; color: var(--se-ink-3); }
.sssc-engage .se-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; min-width: 0; }
.sssc-engage .se-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 8px 6px 13px; border-radius: 999px;
  border: 1px solid var(--se-line-2); background: var(--se-paper); color: var(--se-ink); font-size: .88rem; font-weight: 600; text-align: start;
}
.sssc-engage .se-chip span { overflow-wrap: anywhere; }
.sssc-engage .se-chip .se-i { width: 16px; height: 16px; padding: 2px; border-radius: 50%; color: var(--se-ink-3); }
.sssc-engage .se-chip:hover { border-color: var(--se-coral-ink); background: var(--se-coral-soft); color: var(--se-coral-ink); }
.sssc-engage .se-chip:hover .se-i { color: var(--se-coral-ink); }
.sssc-engage .se-chip--ai { background: var(--se-brand-soft); border-color: var(--se-brand-soft-2); color: var(--se-brand); }
.sssc-engage .se-fit__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-inline-start: auto; }

/* ---------- filters ---------- */
.sssc-engage .se-filters { display: flex; flex-direction: column; gap: 12px; }
.sssc-engage .se-fbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sssc-engage .se-search { position: relative; flex: 1 1 260px; min-width: 0; }
.sssc-engage .se-search__i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--se-ink-3); pointer-events: none; }
.sssc-engage .se-search__input.se-search__input {
  width: 100%; max-width: none; min-height: 46px; margin: 0; padding: 10px 16px 10px 44px; border-radius: 999px;
  border: 1.5px solid var(--se-field); background: var(--se-surface); color: var(--se-ink); font: inherit; font-size: .97rem; box-shadow: none;
  -webkit-appearance: none; appearance: none;
}
.sssc-engage .se-search__input::placeholder { color: var(--se-ink-3); opacity: 1; }
.sssc-engage .se-search__input.se-search__input:focus { border-color: var(--se-brand); outline: 3px solid rgba(42, 22, 128, .25); outline-offset: 1px; box-shadow: none; }
.sssc-engage .se-fbar__pops { display: flex; flex-wrap: wrap; gap: 8px; }
.sssc-engage .se-fpop { position: relative; }
.sssc-engage .se-fbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 8px 12px 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--se-line-2); background: var(--se-surface); color: var(--se-ink); font-size: .93rem; font-weight: 600;
}
.sssc-engage .se-fbtn:hover { border-color: var(--se-ink-3); background: var(--se-surface); color: var(--se-ink); }
.sssc-engage .se-fbtn .se-i { width: 18px; height: 18px; color: var(--se-ink-3); transition: transform .2s ease; }
.sssc-engage .se-fpop.is-open .se-fbtn .se-i { transform: rotate(180deg); }
.sssc-engage .se-fbtn:has(.se-fbtn__n:not([hidden])) { border-color: var(--se-brand); background: var(--se-brand-soft); color: var(--se-brand); }
.sssc-engage .se-fbtn__n {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--se-brand); color: #fff; font-size: .75rem; font-weight: 700;
}
.sssc-engage .se-fbtn--sheet { display: none; padding-inline: 14px 16px; }
.sssc-engage .se-fbtn--sheet .se-i { color: currentColor; }
.sssc-engage .se-fpop__panel {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: max-content; min-width: 270px; max-width: min(380px, 92vw);
  padding: 8px; border-radius: var(--se-r); background: var(--se-surface); border: 1px solid var(--se-line); box-shadow: var(--se-shadow-lg);
  animation: se-pop .16s var(--se-ease) both;
}
.sssc-engage .se-fpop__panel.is-right { left: auto; right: 0; }
.sssc-engage .se-fs__opts { display: flex; flex-direction: column; gap: 2px; max-height: min(52vh, 440px); overflow-y: auto; overscroll-behavior: contain; padding: 4px; }
.sssc-engage .se-fpop__foot { display: flex; justify-content: space-between; gap: 8px; padding: 8px 4px 2px; border-top: 1px solid var(--se-line); margin-top: 4px; }
.sssc-engage .se-opthint { font-size: .82rem; color: var(--se-ink-3); padding: 4px 10px 6px; max-width: 32ch; }
.sssc-engage .se-optlabel { font-size: .8rem; font-weight: 700; color: var(--se-ink-3); padding: 12px 10px 4px; }
.sssc-engage .se-opt {
  position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 10px;
  cursor: pointer; font-weight: 500; font-size: .94rem; color: var(--se-ink); line-height: 1.35;
}
.sssc-engage .se-opt:hover { background: var(--se-sand); }
.sssc-engage .se-opt input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; left: 10px; top: 8px; }
.sssc-engage .se-opt__mark {
  display: grid; place-items: center; width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--se-field); background: var(--se-surface); color: transparent;
}
.sssc-engage .se-opt__mark .se-i { width: 14px; height: 14px; stroke-width: 3; }
.sssc-engage .se-opt input[type="radio"] + .se-opt__mark { border-radius: 50%; }
.sssc-engage .se-opt input:checked + .se-opt__mark { background: var(--se-brand); border-color: var(--se-brand); color: #fff; }
.sssc-engage .se-opt input:focus-visible + .se-opt__mark { outline: 3px solid var(--se-focus); outline-offset: 2px; }
.sssc-engage .se-opt__text { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sssc-engage .se-optgroup > .se-opt { font-weight: 700; }
.sssc-engage .se-optgroup__sub { padding-inline-start: 26px; padding-bottom: 4px; }
.sssc-engage .se-optgroup__sub .se-opt { font-size: .9rem; padding-block: 6px; }
.sssc-engage .se-optgroup__sub .se-opt input { top: 6px; }
.sssc-engage .se-dot {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--org) 0 55%, var(--org-2) 55% 100%);
}
.sssc-engage .se-dot--lg { width: 22px; height: 22px; }
.sssc-engage .se-fbar2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; min-height: 36px; }
.sssc-engage .se-count { margin-inline-start: auto; font-weight: 700; color: var(--se-ink-2); font-size: .95rem; font-variant-numeric: tabular-nums; }
.sssc-engage .se-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--se-ink); position: relative; }
.sssc-engage .se-switch input { position: absolute; opacity: 0; width: 42px; height: 26px; margin: 0; left: 0; top: 50%; transform: translateY(-50%); cursor: pointer; }
.sssc-engage .se-switch__track {
  position: relative; width: 42px; height: 26px; flex: none; border-radius: 999px; background: var(--se-sand-2);
  border: 1.5px solid var(--se-field); transition: background-color .18s ease, border-color .18s ease;
}
.sssc-engage .se-switch__thumb {
  position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(30, 25, 52, .3); transition: transform .18s var(--se-ease);
}
.sssc-engage .se-switch input:checked + .se-switch__track { background: var(--se-brand); border-color: var(--se-brand); }
.sssc-engage .se-switch input:checked + .se-switch__track .se-switch__thumb { transform: translateX(16px); }
.sssc-engage .se-switch input:focus-visible + .se-switch__track { outline: 3px solid var(--se-focus); outline-offset: 2px; }
@container se (max-width: 520px) {
  .sssc-engage .se-hero { border-radius: 22px; }
  .sssc-engage .se-chat__composer { padding: 14px 12px 12px 14px; border-radius: 18px; }
  .sssc-engage .se-chat__input.se-chat__input { min-height: 96px; }
  .sssc-engage .se-hero::after { display: none; }
  .sssc-engage .se-fit { padding: 14px; }
  .sssc-engage .se-fit__actions { margin-inline-start: 0; }
  .sssc-engage .se-chips { gap: 6px; }
  .sssc-engage .se-chip { padding: 5px 6px 5px 11px; font-size: .84rem; }
}
@container se (max-width: 699.98px) {
  .sssc-engage .se-fbar__pops { display: none; }
  .sssc-engage .se-fbtn--sheet { display: inline-flex; }
  .sssc-engage .se-search { flex-basis: 100%; }
  .sssc-engage .se-count { margin-inline-start: 0; flex-basis: 100%; }
}

/* ---------- results + cards ---------- */
.sssc-engage .se-results { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.sssc-engage .se-results__title { font-size: 1.3rem; font-weight: 750; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.sssc-engage .se-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@container se (min-width: 700px) { .sssc-engage .se-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container se (min-width: 1100px) { .sssc-engage .se-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sssc-engage .se-card {
  position: relative; display: flex; flex-direction: column; gap: 11px; min-width: 0;
  padding: 0 20px 20px; border-radius: var(--se-r); background: var(--se-surface);
  border: 1px solid var(--se-line); box-shadow: var(--se-shadow-sm); overflow: hidden;
  transition: transform .2s var(--se-ease), box-shadow .2s var(--se-ease), border-color .2s ease;
}
.sssc-engage .se-card::before {
  content: ""; display: block; height: 5px; margin: 0 -20px 9px; flex: none;
  background: linear-gradient(90deg, var(--org) 0%, var(--org) 62%, var(--org-2) 100%);
}
.sssc-engage .se-card:hover { transform: translateY(-3px); box-shadow: var(--se-shadow); border-color: var(--se-line-2); }
.sssc-engage .se-card:focus-within { outline: 3px solid var(--se-focus); outline-offset: 3px; }
.sssc-engage .se-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -3px; }
.sssc-engage .se-pill {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 11px; border-radius: 999px;
  background: var(--org); color: var(--org-ink); font-size: .78rem; font-weight: 750; letter-spacing: .01em; line-height: 1.3;
}
.sssc-engage .se-pill--big { font-size: .86rem; padding: 5px 13px; }
/* Org marks: square 160px PNGs (trimmed, centred, transparent) in a white badge: 48px in the card footer, 60px in the modal header. */
/* Card footer: org mark + full name, pinned to the bottom so footers line up across a row. */
.sssc-engage .se-card__org { display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--se-line); }
.sssc-engage .se-card__orgname { font-size: .92rem; font-weight: 650; line-height: 1.3; color: var(--se-ink-2); overflow-wrap: anywhere; }
.sssc-engage .se-logo--mono { background: var(--org); color: var(--org-ink); border: 0; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.sssc-engage .se-logo {
  display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--se-line); box-shadow: 0 1px 3px rgba(30, 25, 52, .10);
}
.sssc-engage .se-logo img { width: 42px; height: 42px; object-fit: contain; display: block; }
.sssc-engage .se-logo--big { width: 60px; height: 60px; border: 0; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.sssc-engage .se-logo--big img { width: 53px; height: 53px; }
.sssc-engage .se-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.sssc-engage .se-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.sssc-engage .se-badge .se-i { width: 13px; height: 13px; }
.sssc-engage .se-badge--forming { background: var(--se-amber-soft); color: var(--se-amber-ink); }
.sssc-engage .se-badge--closing { background: var(--se-coral-soft); color: var(--se-coral-ink); }
.sssc-engage .se-badge--closed { background: var(--se-sand-2); color: #57525f; }
.sssc-engage .se-badge--lead { background: var(--se-gold-soft); color: var(--se-gold-ink); }
.sssc-engage .se-card__title { font-size: 1.16rem; font-weight: 720; line-height: 1.3; letter-spacing: -0.005em; }
.sssc-engage .se-card__open {
  display: inline; padding: 0; border: 0; background: none; color: var(--se-ink); font-weight: inherit; text-align: start;
  line-height: inherit; overflow-wrap: break-word;
}
.sssc-engage .se-card__open:hover { background: none; color: var(--se-ink); }
.sssc-engage .se-card__open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.sssc-engage .se-card__open:focus-visible { outline: none; }
.sssc-engage .se-card:hover .se-card__open { color: var(--se-brand); }
.sssc-engage .se-card__summary {
  color: var(--se-ink-2); font-size: .95rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sssc-engage .se-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; color: var(--se-ink-2); }
.sssc-engage .se-facts li { display: inline-flex; align-items: flex-start; gap: 5px; min-width: 0; }
.sssc-engage .se-facts li span { overflow-wrap: anywhere; }
.sssc-engage .se-facts .se-i { width: 16px; height: 16px; margin-top: 1px; color: var(--se-ink-3); }
.sssc-engage .se-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sssc-engage .se-tags li { padding: 3px 10px; border-radius: 999px; background: var(--se-sand); color: var(--se-ink-2); font-size: .78rem; font-weight: 600; }
.sssc-engage .se-card__elig { font-size: .84rem; color: var(--se-ink-3); font-weight: 600; }
.sssc-engage .se-card__fit, .sssc-engage .se-card__why {
  display: flex; gap: 8px; align-items: flex-start; margin-top: auto; padding: 9px 12px; border-radius: var(--se-r-sm);
  font-size: .87rem; line-height: 1.4; font-weight: 600;
}
.sssc-engage .se-card__fit { background: var(--se-mint-soft); color: var(--se-mint-ink); }
.sssc-engage .se-card__fit.is-pick { background: var(--se-brand-soft); color: var(--se-brand); }
.sssc-engage .se-card__why { background: var(--se-sand); color: var(--se-ink-2); font-weight: 550; }
.sssc-engage .se-card__fit .se-i, .sssc-engage .se-card__why .se-i { width: 17px; height: 17px; margin-top: 1px; }
.sssc-engage .se-card--pick { border-color: var(--se-brand-soft-2); }

/* Greyed "other" cards: decoration fades and desaturates; text keeps AA contrast. */
.sssc-engage .se-card--other { background: #faf8f4; box-shadow: none; border-style: dashed; }
.sssc-engage .se-card--other::before { opacity: .45; filter: saturate(.3); }
.sssc-engage .se-card--other .se-pill, .sssc-engage .se-card--other .se-logo { filter: grayscale(.85); }
.sssc-engage .se-card--other .se-tags, .sssc-engage .se-card--other .se-badges, .sssc-engage .se-card--other .se-facts .se-i { opacity: .6; }
.sssc-engage .se-card--other .se-card__open { color: var(--se-ink-2); }
.sssc-engage .se-card--other:hover { background: var(--se-surface); border-style: solid; }
.sssc-engage .se-card--other:hover::before, .sssc-engage .se-card--other:hover .se-tags, .sssc-engage .se-card--other:hover .se-badges { opacity: 1; filter: none; }
.sssc-engage .se-card--other:hover .se-pill, .sssc-engage .se-card--other:hover .se-logo { filter: none; }

.sssc-engage .se-empty { padding: 28px; border-radius: var(--se-r); background: var(--se-paper); border: 1px dashed var(--se-line-2); text-align: center; color: var(--se-ink-2); }
.sssc-engage .se-empty__title { font-weight: 750; font-size: 1.1rem; color: var(--se-ink); margin-bottom: 4px; }

/* skeletons */
.sssc-engage .se-card--skel { padding-top: 22px; min-height: 260px; }
.sssc-engage .se-card--skel::before { display: none; }
.sssc-engage .se-skel {
  height: 12px; border-radius: 8px;
  background: linear-gradient(90deg, var(--se-sand) 0%, #faf7f1 40%, var(--se-sand) 80%) 0 0 / 300% 100%;
  animation: se-shimmer 1.4s linear infinite;
}
.sssc-engage .se-skel--pill { width: 72px; height: 22px; border-radius: 999px; }
.sssc-engage .se-skel--title { width: 80%; height: 20px; margin: 6px 0 8px; }
.sssc-engage .se-skel--short { width: 45%; }

/* others */
.sssc-engage .se-others { display: flex; flex-direction: column; gap: 18px; }
.sssc-engage .se-others__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 20px;
  border-radius: var(--se-r); border: 1.5px dashed var(--se-line-2); background: var(--se-paper); color: var(--se-ink); text-align: start;
}
.sssc-engage .se-others__toggle:hover { background: var(--se-sand); border-color: var(--se-ink-3); color: var(--se-ink); }
.sssc-engage .se-others__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sssc-engage .se-others__label { font-weight: 700; font-size: 1rem; }
.sssc-engage .se-others__note { font-size: .86rem; color: var(--se-ink-3); }
.sssc-engage .se-others__chev { width: 22px; height: 22px; color: var(--se-ink-3); transition: transform .2s ease; }
.sssc-engage .se-others.is-open .se-others__chev { transform: rotate(180deg); }

/* ======================================================================
 * Dialog layers (opportunity modal, questions, phone filter sheet)
 * ==================================================================== */
.sssc-engage.se-layer {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  padding: 24px; color: var(--se-ink);
}
.sssc-engage .se-layer__backdrop {
  position: absolute; inset: 0; background: rgba(24, 19, 44, .56); opacity: 0; transition: opacity .2s ease;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.sssc-engage.se-layer.is-open .se-layer__backdrop { opacity: 1; }
.sssc-engage .se-dialog {
  position: relative; display: flex; flex-direction: column; width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  border-radius: 26px; background: var(--se-surface); box-shadow: var(--se-shadow-lg); overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .22s ease, transform .26s var(--se-ease);
}
.sssc-engage.se-layer.is-open .se-dialog { opacity: 1; transform: none; }
.sssc-engage .se-dialog:focus-visible { outline: none; }
.sssc-engage .se-dialog--opp { max-width: 780px; }
.sssc-engage .se-dialog--quiz { max-width: 660px; min-height: min(620px, calc(100dvh - 48px)); }
.sssc-engage .se-dialog--sheet { max-width: 520px; }
.sssc-engage .se-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 10px 24px; flex: none; }
.sssc-engage .se-dialog__title { font-size: 1.2rem; font-weight: 750; }
.sssc-engage .se-dialog__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 20px; display: flex; flex-direction: column; gap: 18px; }
.sssc-engage .se-dialog__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; flex: none;
  padding: 14px 20px; border-top: 1px solid var(--se-line); background: var(--se-surface);
}
.sssc-engage .se-fs--sheet { display: flex; flex-direction: column; gap: 4px; }
.sssc-engage .se-fs__legend { font-weight: 750; font-size: 1rem; padding: 6px 0; }
.sssc-engage .se-fs--sheet .se-fs__opts { max-height: none; overflow: visible; padding: 0; }
.sssc-engage .se-dialog--sheet .se-switch { padding: 6px 0; }

/* opportunity modal */
.sssc-engage .se-m__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none;
  padding: 14px 14px 14px 24px; background: var(--org); color: var(--org-ink); border-bottom: 4px solid var(--org-2);
}
.sssc-engage .se-m__org { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sssc-engage .se-m__head .se-pill { background: var(--org-ink); color: var(--org); }
.sssc-engage .se-m__orgname { font-weight: 650; font-size: .95rem; color: var(--org-ink); overflow-wrap: anywhere; }
.sssc-engage .se-iconbtn--onorg { color: var(--org-ink); }
.sssc-engage .se-iconbtn--onorg:hover { background: rgba(255, 255, 255, .18); color: var(--org-ink); }
.sssc-engage .se-iconbtn--onorg:focus-visible { outline-color: var(--org-ink); }
.sssc-engage .se-m__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 24px; }
.sssc-engage .se-m__intro { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sssc-engage .se-m__title { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.05rem); font-weight: 760; line-height: 1.15; letter-spacing: -0.015em; }
.sssc-engage .se-m__summary { font-size: 1.08rem; color: var(--se-ink-2); }
.sssc-engage .se-m__intro .se-card__fit, .sssc-engage .se-m__intro .se-card__why { margin-top: 0; }
.sssc-engage .se-m__forming { padding: 10px 14px; border-radius: var(--se-r-sm); background: var(--se-amber-soft); color: var(--se-amber-ink); font-size: .92rem; font-weight: 550; }
.sssc-engage .se-m__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.sssc-engage .se-fact { padding: 12px 14px; border-radius: var(--se-r-sm); background: var(--se-paper); border: 1px solid var(--se-line); min-width: 0; }
.sssc-engage .se-fact dt { font-size: .78rem; font-weight: 700; color: var(--se-ink-3); }
.sssc-engage .se-fact dd { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.sssc-engage .se-m__sec { display: flex; flex-direction: column; gap: 10px; }
.sssc-engage .se-m__h { font-size: 1.02rem; font-weight: 750; }
.sssc-engage .se-prose { color: var(--se-ink-2); font-size: 1rem; line-height: 1.65; overflow-wrap: break-word; }
.sssc-engage.sssc-engage .se-prose > * + * { margin-top: .8em; }
.sssc-engage.sssc-engage .se-prose ul, .sssc-engage.sssc-engage .se-prose ol { padding-inline-start: 1.3em; }
.sssc-engage.sssc-engage .se-prose ul { list-style: disc; }
.sssc-engage.sssc-engage .se-prose ol { list-style: decimal; }
.sssc-engage .se-prose a { color: var(--se-brand); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.sssc-engage .se-list { display: flex; flex-direction: column; gap: 8px; }
.sssc-engage .se-list li { display: flex; gap: 10px; align-items: flex-start; }
.sssc-engage .se-list .se-i { width: 18px; height: 18px; margin-top: 3px; }
.sssc-engage .se-list--check .se-i { color: var(--se-mint-ink); }
.sssc-engage .se-list--gain .se-i { color: var(--se-gold-ink); }
.sssc-engage .se-req { flex: none; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; margin-top: 2px; }
.sssc-engage .se-req--req { background: var(--se-coral-soft); color: var(--se-coral-ink); }
.sssc-engage .se-req--help { background: var(--se-mint-soft); color: var(--se-mint-ink); }
.sssc-engage .se-m__lead { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; padding: 14px 16px; border-radius: var(--se-r-sm); background: var(--se-sand); }
.sssc-engage .se-m__leadlabel { color: var(--se-ink-3); font-weight: 600; font-size: .9rem; }
.sssc-engage .se-m__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: none; padding: 14px 20px;
  border-top: 1px solid var(--se-line); background: var(--se-surface);
}
.sssc-engage .se-m__status { font-size: .88rem; font-weight: 600; color: var(--se-ink-2); overflow-wrap: anywhere; }
.sssc-engage .se-m__status.is-ok { color: var(--se-mint-ink); }
.sssc-engage .se-m__interest { scroll-margin-top: 12px; }

/* interest form */
.sssc-engage .se-form { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--se-r); background: var(--se-paper); border: 1px solid var(--se-line); }
.sssc-engage .se-form__title { font-size: 1.25rem; font-weight: 750; }
.sssc-engage .se-form__intro { color: var(--se-ink-2); margin-top: -8px; }
.sssc-engage .se-form__alert { padding: 10px 14px; border-radius: var(--se-r-sm); background: var(--se-coral-soft); color: var(--se-coral-ink); font-weight: 600; }
.sssc-engage .se-form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .sssc-engage .se-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sssc-engage .se-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sssc-engage .se-label { font-weight: 650; font-size: .93rem; color: var(--se-ink); }
.sssc-engage .se-label__opt { font-weight: 500; color: var(--se-ink-3); }
.sssc-engage .se-input.se-input {
  width: 100%; max-width: none; min-height: 48px; margin: 0; padding: 11px 14px; border-radius: var(--se-r-sm);
  border: 1.5px solid var(--se-field); background: var(--se-surface); color: var(--se-ink); font: inherit; font-size: 1rem; line-height: 1.4;
  box-shadow: none; -webkit-appearance: none; appearance: none;
}
.sssc-engage .se-input.se-input:focus { border-color: var(--se-brand); outline: 3px solid rgba(42, 22, 128, .25); outline-offset: 1px; box-shadow: none; color: var(--se-ink); }
.sssc-engage .se-input[aria-invalid="true"] { border-color: var(--se-coral-ink); }
.sssc-engage .se-textarea.se-textarea { min-height: 110px; resize: vertical; }
.sssc-engage .se-select.se-select {
  padding-inline-end: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4360' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.sssc-engage .se-hint { font-size: .84rem; color: var(--se-ink-3); }
.sssc-engage .se-err { font-size: .86rem; font-weight: 650; color: var(--se-coral-ink); }
.sssc-engage .se-form__note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: var(--se-r-sm); background: var(--se-gold-soft); color: var(--se-gold-ink); font-size: .9rem; font-weight: 550; }
.sssc-engage .se-check { display: flex; gap: 12px; align-items: flex-start; }
.sssc-engage .se-check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--se-brand); cursor: pointer; }
.sssc-engage .se-check label { font-weight: 600; font-size: .95rem; cursor: pointer; }
.sssc-engage .se-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sssc-engage .se-form__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sssc-engage .se-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 28px 22px; border-radius: var(--se-r); background: var(--se-mint-soft); color: var(--se-mint-ink); animation: se-rise .3s var(--se-ease) both; }
.sssc-engage .se-success__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--se-mint); color: #0b3d33; }
.sssc-engage .se-success__icon .se-i { width: 28px; height: 28px; stroke-width: 2.4; }
.sssc-engage .se-success__title { font-size: 1.35rem; font-weight: 760; color: var(--se-mint-ink); }
.sssc-engage .se-success p { color: var(--se-ink); max-width: 46ch; }

/* questions */
.sssc-engage .se-quiz__head { padding-bottom: 4px; }
.sssc-engage .se-quiz__kicker { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--se-brand); }
.sssc-engage .se-quiz__kicker .se-i { color: var(--se-gold); }
.sssc-engage .se-quiz__progress { display: flex; align-items: center; gap: 14px; padding: 0 24px 8px; flex: none; }
.sssc-engage .se-dots { display: flex; gap: 6px; }
.sssc-engage .se-dots li { width: 28px; height: 6px; border-radius: 999px; background: var(--se-sand-2); transition: background-color .2s ease, width .25s var(--se-ease); }
.sssc-engage .se-dots li.is-done { background: var(--se-mint); }
.sssc-engage .se-dots li.is-current { background: var(--se-brand); width: 40px; }
.sssc-engage .se-quiz__step { font-size: .85rem; color: var(--se-ink-3); font-weight: 600; }
.sssc-engage .se-quiz__body > div { display: flex; flex-direction: column; gap: 12px; }
.sssc-engage .se-quiz__q { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); font-weight: 760; letter-spacing: -0.015em; line-height: 1.2; padding-top: 6px; }
.sssc-engage .se-quiz__hint { color: var(--se-ink-2); font-size: .97rem; }
.sssc-engage .se-quiz__sub { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.sssc-engage .se-quiz__subq { font-weight: 700; font-size: 1rem; }
.sssc-engage .se-quiz__foot { justify-content: flex-start; }
.sssc-engage .se-quiz__spacer { flex: 1; }
.sssc-engage .se-choices { display: grid; gap: 10px; padding-top: 6px; }
.sssc-engage .se-choices--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sssc-engage .se-choices--orgs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.sssc-engage .se-choice { position: relative; display: block; cursor: pointer; min-width: 0; }
.sssc-engage .se-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sssc-engage .se-choice__box {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--se-line-2);
  background: var(--se-surface); transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.sssc-engage .se-choice:hover .se-choice__box { border-color: var(--se-ink-3); }
.sssc-engage .se-choice input:checked + .se-choice__box { border-color: var(--se-brand); background: var(--se-brand-soft); }
.sssc-engage .se-choice input:focus-visible + .se-choice__box { outline: 3px solid var(--se-focus); outline-offset: 2px; }
.sssc-engage .se-choice__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sssc-engage .se-choice__title { font-weight: 700; font-size: 1rem; color: var(--se-ink); overflow-wrap: anywhere; }
.sssc-engage .se-choice__desc { font-size: .87rem; color: var(--se-ink-2); }
.sssc-engage .se-choice__mark {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--se-field); color: transparent; background: var(--se-surface);
}
.sssc-engage .se-choice__mark .se-i { width: 15px; height: 15px; stroke-width: 3; }
.sssc-engage .se-choice input:checked + .se-choice__box .se-choice__mark { background: var(--se-brand); border-color: var(--se-brand); color: #fff; }
.sssc-engage .se-choices--chips .se-choice__box { padding: 9px 12px 9px 16px; border-radius: 999px; gap: 8px; }
.sssc-engage .se-choices--chips .se-choice__title { font-size: .94rem; font-weight: 650; }
.sssc-engage .se-choices--chips .se-choice__mark { width: 20px; height: 20px; }
.sssc-engage .se-choices--chips .se-choice__mark .se-i { width: 12px; height: 12px; }

/* phones: dialogs become bottom sheets */
@media (max-width: 640px) {
  .sssc-engage.se-layer { padding: 0; align-items: flex-end; }
  .sssc-engage .se-dialog { max-height: 94vh; max-height: 94dvh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
  .sssc-engage .se-dialog--quiz { min-height: 0; height: 94vh; height: 94dvh; }
  .sssc-engage .se-m__scroll { padding: 20px 18px 24px; }
  .sssc-engage .se-m__facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
  .sssc-engage .se-dialog__body { padding: 6px 18px 18px; }
  .sssc-engage .se-dialog__head { padding-inline-start: 18px; }
  .sssc-engage .se-quiz__progress { padding-inline: 18px; }
  .sssc-engage .se-m__head { padding-inline-start: 18px; }
  .sssc-engage .se-m__actions { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  .sssc-engage .se-m__actions .se-btn--lg { flex: 1 1 100%; }
  .sssc-engage .se-dialog__foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .sssc-engage .se-form { padding: 18px 16px; }
  .sssc-engage .se-dots li { width: 18px; }
  .sssc-engage .se-dots li.is-current { width: 28px; }
}

@keyframes se-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes se-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes se-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes se-shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

@media (prefers-reduced-motion: reduce) {
  .sssc-engage *, .sssc-engage *::before, .sssc-engage *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .sssc-engage .se-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .sssc-engage .se-card, .sssc-engage .se-chip, .sssc-engage .se-fbtn, .sssc-engage .se-choice__box, .sssc-engage .se-dialog { border: 1px solid CanvasText; }
  .sssc-engage .se-opt__mark, .sssc-engage .se-choice__mark { forced-color-adjust: auto; }
}

/* ---------- two tiers: Start here | Go deeper (owner 10-12) ---------- */
.sssc-engage .se-panel { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sssc-engage .se-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px; border-radius: var(--se-r-lg); background: var(--se-sand); border: 1px solid var(--se-line); scroll-margin-top: 90px; }
.sssc-engage .se-tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 12px 18px; border-radius: var(--se-r); border: 1.5px solid transparent;
  background: transparent; color: var(--se-ink-2); text-align: center; cursor: pointer; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.sssc-engage .se-tab:hover { background: var(--se-surface); color: var(--se-ink); }
.sssc-engage .se-tab[aria-selected="true"] { background: var(--se-surface); border-color: var(--se-brand); color: var(--se-ink); box-shadow: var(--se-shadow-sm); }
.sssc-engage .se-tab__title { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.08rem; font-weight: 750; }
.sssc-engage .se-tab__n { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--se-sand-2); color: var(--se-ink-2); font-size: .78rem; font-weight: 750; }
.sssc-engage .se-tab[aria-selected="true"] .se-tab__n { background: var(--se-brand); color: #fff; }
.sssc-engage .se-tab__note { font-size: .85rem; color: var(--se-ink-3); font-weight: 550; }
@container se (max-width: 520px) { .sssc-engage .se-tab__note { display: none; } .sssc-engage .se-tab { padding: 10px 12px; } }
.sssc-engage .se-start__lead { margin: 0; max-width: 70ch; color: var(--se-ink-2); font-size: 1rem; }
.sssc-engage .se-waychips { display: flex; flex-wrap: wrap; gap: 8px; }
.sssc-engage .se-gchip__n { margin-inline-start: 6px; font-size: .78rem; opacity: .75; }
.sssc-engage .se-start__more { display: flex; justify-content: center; }
.sssc-engage .se-start__more .se-btn .se-i { margin-inline-start: 6px; }
/* The whole card opens the modal (overlay on .se-card__open); the CTA link sits above it. */
.sssc-engage .se-card__cta { position: relative; z-index: 2; display: flex; }
/* Footer: org mark + name on the left, Online / In person / Hybrid on the right. */
.sssc-engage .se-card__orgname { flex: 1 1 auto; min-width: 0; }
.sssc-engage .se-card__format { display: inline-flex; align-items: center; gap: 5px; flex: none; margin-inline-start: auto; padding: 4px 10px; border-radius: 999px; background: var(--se-sand); color: var(--se-ink-2); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.sssc-engage .se-card__format .se-i { width: 15px; height: 15px; }
.sssc-engage .se-card__format--online { background: var(--se-brand-soft); color: var(--se-brand); }
.sssc-engage .se-card__format--hybrid .se-i + .se-i { margin-inline-start: -3px; }
/* Status badges */
.sssc-engage .se-badge--active { background: var(--se-mint-soft); color: var(--se-mint-ink); }
.sssc-engage .se-badge--way { background: var(--se-brand-soft); color: var(--se-brand); }
.sssc-engage .se-badge--closing.is-urgent { background: var(--se-coral-ink); color: #fff; }
.sssc-engage .se-card--other .se-card__format { filter: grayscale(.85); opacity: .75; }

/* ---------- hero path box: Practice · Learn · Serve · Lead, one question at a time (owner 10-12) ---------- */
.sssc-engage .se-hero__cta.se-path { align-items: stretch; text-align: start; gap: 14px; width: 100%; }
.sssc-engage .se-path__crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.sssc-engage .se-path__trail { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sssc-engage .se-path__trail li { padding: 3px 11px; border-radius: 999px; background: var(--se-brand-soft); color: var(--se-brand); font-size: .82rem; font-weight: 700; }
.sssc-engage .se-path__nav { display: inline-flex; gap: 2px; margin-inline-start: auto; }
/* Slow, graceful step changes: fade out with a soft blur and drift (1 s), ease the height (0.7 s),
   then the question, hint and each choice rise in one after another. Timings match OUT_MS / GROW_MS in engage.js. */
.sssc-engage .se-path__stage {
  display: flex; flex-direction: column; gap: 12px;
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1), transform 1s cubic-bezier(.4, 0, .2, 1), filter 1s ease, height .7s cubic-bezier(.22, .61, .36, 1);
}
.sssc-engage .se-path__stage.is-out { opacity: 0; transform: translateY(-10px); filter: blur(3px); }
@keyframes se-path-in { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.sssc-engage .se-path__stage.is-in > * { animation: se-path-in 1s cubic-bezier(.22, .61, .36, 1) both; }
.sssc-engage .se-path__stage.is-in > .se-path__hint { animation-delay: .1s; }
.sssc-engage .se-path__stage.is-in > .se-path__opts { animation: none; }
.sssc-engage .se-path__stage.is-in .se-path__opt { animation: se-path-in 1s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(.2s + var(--i, 0) * .085s); }
.sssc-engage .se-path__stage.is-in > .se-path__foot, .sssc-engage .se-path__stage.is-in > .se-path__actions { animation-delay: .45s; }
.sssc-engage .se-path__trail li.is-new { animation: se-path-in 1s cubic-bezier(.22, .61, .36, 1) .15s both; }
@keyframes se-soft-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sssc-engage .se-grid.is-refresh > * { animation: se-soft-in 1s cubic-bezier(.22, .61, .36, 1) both; }
.sssc-engage .se-grid.is-refresh > :nth-child(2) { animation-delay: .06s; }
.sssc-engage .se-grid.is-refresh > :nth-child(3) { animation-delay: .12s; }
.sssc-engage .se-grid.is-refresh > :nth-child(4) { animation-delay: .18s; }
.sssc-engage .se-grid.is-refresh > :nth-child(5) { animation-delay: .24s; }
.sssc-engage .se-grid.is-refresh > :nth-child(n+6) { animation-delay: .3s; }
.sssc-engage .se-path__q { margin: 0; font-size: 1.32rem; font-weight: 760; line-height: 1.25; color: var(--se-ink); }
.sssc-engage .se-path__q:focus { outline: none; }
.sssc-engage .se-path__hint { margin: -4px 0 0; color: var(--se-ink-3); font-size: .92rem; }
.sssc-engage .se-path__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sssc-engage .se-path__opts--cards { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.sssc-engage .se-path__opts--root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sssc-engage .se-path__opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 13px 15px; border-radius: var(--se-r);
  border: 1.5px solid var(--se-line-2); background: var(--se-surface); color: var(--se-ink); text-align: start; cursor: pointer;
  transition: border-color .15s ease, transform .15s var(--se-ease), box-shadow .15s ease, background .15s ease;
}
.sssc-engage .se-path__opt:hover { border-color: var(--se-brand); transform: translateY(-1px); box-shadow: var(--se-shadow-sm); background: var(--se-surface); color: var(--se-ink); }
.sssc-engage .se-path__opt[aria-pressed="true"] { border-color: var(--se-brand); background: var(--se-brand-soft); }
.sssc-engage .se-path__opttitle { font-size: 1rem; font-weight: 750; line-height: 1.25; }
.sssc-engage .se-path__optdesc { font-size: .84rem; color: var(--se-ink-3); line-height: 1.35; font-weight: 500; }
.sssc-engage .se-path__opts--root .se-path__opt { padding: 16px; gap: 6px; align-items: center; text-align: center; }
.sssc-engage .se-path__opts--root .se-path__opttitle { font-size: 1.12rem; }
.sssc-engage .se-path__icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 4px; }
.sssc-engage .se-path__icon .se-i { width: 21px; height: 21px; }
.sssc-engage .se-path__icon--practice { background: var(--se-gold-soft); color: var(--se-gold-ink); }
.sssc-engage .se-path__icon--learn { background: var(--se-mint-soft); color: var(--se-mint-ink); }
.sssc-engage .se-path__icon--serve { background: var(--se-coral-soft); color: var(--se-coral-ink); }
.sssc-engage .se-path__icon--lead { background: var(--se-brand-soft); color: var(--se-brand); }
.sssc-engage .se-path__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.sssc-engage .se-path__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sssc-engage .se-chatwrap { display: flex; flex-direction: column; }
@container se (max-width: 420px) { .sssc-engage .se-path__opts--root { grid-template-columns: 1fr; } }

/* Results appear once the visitor starts; until then a quiet link under the box offers everything. */
.sssc-engage .se-reveal { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sssc-engage .se-reveal[hidden] { display: none; }
.sssc-engage .se-reveal.is-revealing { animation: se-soft-in 1s cubic-bezier(.22, .61, .36, 1) both; }
.sssc-engage .se-hero__side { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 0; align-self: center; }
.sssc-engage .se-path__all {
  align-self: center; padding: 6px 10px; border: 0; background: none; color: var(--se-ink-3); font-size: .9rem; font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .18); text-underline-offset: 4px; opacity: .85; cursor: pointer; transition: opacity .3s ease, color .3s ease;
}
.sssc-engage .se-path__all:hover { opacity: 1; color: var(--se-ink); background: none; text-decoration-color: currentColor; }
.sssc-engage .se-path__all[hidden] { display: none; }

/* Modal header: logo (or initials) + full name only. */
.sssc-engage .se-logo--inv { background: #fff; color: var(--org); font-size: .9rem; font-weight: 800; letter-spacing: .02em; }
.sssc-engage .se-m__head .se-m__orgname { font-size: 1.05rem; font-weight: 700; }

/* Guide chat in the hero's left column (owner 10-12). */
.sssc-engage .se-hero__chat { margin-top: 10px; min-width: 0; }
.sssc-engage .se-hero__chat .se-chat { width: 100%; }

/* Right-hand box: path ⇄ chat cross-fade (owner 10-13). Same 1 s rhythm as the path steps. */
.sssc-engage .se-path { transition: height .7s cubic-bezier(.22, .61, .36, 1); }
.sssc-engage .se-path__main, .sssc-engage .se-path__chat { display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1), transform 1s cubic-bezier(.4, 0, .2, 1), filter 1s ease; }
.sssc-engage .se-path__main[hidden], .sssc-engage .se-path__chat[hidden] { display: none; }
.sssc-engage .se-path__main.is-out, .sssc-engage .se-path__chat.is-out { opacity: 0; transform: translateY(-10px); filter: blur(3px); }
.sssc-engage .se-path__main.is-in, .sssc-engage .se-path__chat.is-in { animation: se-path-in 1s cubic-bezier(.22, .61, .36, 1) both; }
.sssc-engage .se-path__back { align-self: center; color: var(--se-ink-3); }
.sssc-engage .se-hero__chatcta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 12px; }
.sssc-engage .se-hero__chatcta[hidden] { display: none; }
.sssc-engage .se-hero__chatcta .se-hero__note { max-width: 42ch; }

/* ---------- full-width start bar: three columns (owner 10-14). The site's own image hero sits above. ---------- */
.sssc-engage .se-hero--bar { display: block; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.sssc-engage .se-hero--bar::before, .sssc-engage .se-hero--bar::after { display: none; }
.sssc-engage .se-hero--bar .se-hero__side { align-self: stretch; width: 100%; }
.sssc-engage .se-hero--bar .se-hero__cta.se-path {
  align-self: stretch; align-items: stretch; text-align: start; padding: clamp(18px, 3vw, 32px); border-radius: 24px;
  background: var(--se-surface); border: 1px solid var(--se-line); box-shadow: var(--se-shadow-sm);
}
.sssc-engage .se-hero--bar .se-path__stage { width: 100%; max-width: 1040px; margin-inline: auto; }
.sssc-engage .se-path.is-root .se-path__q, .sssc-engage .se-path.is-root .se-path__hint { text-align: center; }
.sssc-engage .se-path__opts--top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 6px; }
@container se (max-width: 700px) { .sssc-engage .se-path__opts--top { grid-template-columns: 1fr; } }
.sssc-engage .se-path__opts--top .se-path__opt { padding: 0; gap: 0; overflow: hidden; align-items: stretch; text-align: center; border-radius: 20px; }
.sssc-engage .se-path__media { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--se-sand); }
/* Phones: compact rows. No icon block; an image (if set in Settings) becomes a small thumbnail on the left (owner 10-14). */
@container se (max-width: 700px) {
  .sssc-engage .se-path__opts--top { gap: 10px; }
  .sssc-engage .se-path__opts--top .se-path__opt { flex-direction: row; align-items: center; text-align: start; border-radius: 16px; }
  .sssc-engage .se-path__media { display: none; }
  .sssc-engage .se-path__media.has-img { display: block; flex: none; width: 64px; height: 64px; aspect-ratio: auto; margin: 10px 0 10px 10px; border-radius: 12px; }
  .sssc-engage .se-path__opts--top .se-path__body { align-items: flex-start; text-align: start; gap: 3px; padding: 13px 16px; }
  .sssc-engage .se-path__opts--top .se-path__opttitle { font-size: 1.08rem; }
  .sssc-engage .se-path__opts--top .se-path__optdesc { max-width: none; font-size: .86rem; }
}
.sssc-engage .se-path__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.sssc-engage .se-path__opt:hover .se-path__media img { transform: scale(1.04); }
.sssc-engage .se-path__media--pl { background: linear-gradient(135deg, var(--se-gold-soft), #fffaf0); }
.sssc-engage .se-path__media--serve { background: linear-gradient(135deg, var(--se-coral-soft), #fff8f5); }
.sssc-engage .se-path__media--lead { background: linear-gradient(135deg, var(--se-brand-soft), #f8f6ff); }
.sssc-engage .se-path__media .se-path__icon { width: 68px; height: 68px; border-radius: 20px; margin: 0; background: rgba(255, 255, 255, .7); }
.sssc-engage .se-path__media .se-path__icon .se-i { width: 32px; height: 32px; }
.sssc-engage .se-path__icon--pl { color: var(--se-gold-ink); }
.sssc-engage .se-path__body { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 18px 20px; }
.sssc-engage .se-path__opts--top .se-path__opttitle { font-size: 1.25rem; font-weight: 760; }
.sssc-engage .se-path__opts--top .se-path__optdesc { font-size: .9rem; max-width: 32ch; }
.sssc-engage .se-hero__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; }
.sssc-engage .se-hero__links .se-path__all { align-self: auto; }
