/* ===========================================================================
   The help centre's assistant and ticket forms (support-chat.js), on every
   help page. Spoofey AI's own language: the sparkle mark (.ai-mark), the AI
   gradient for what the assistant does, the call's waveform while it reads;
   your messages in the blue of an outgoing text, as on Numbers; a sent
   ticket arrives as a notification, the way Spoofey's phones show one.

   .sc            one conversation
   .sc--inline    on the help centre's front page: the ask box, which opens
                  into the conversation once you ask
   .sc--dock      everywhere else: a panel from the launcher (.sc-launch)
   .sc-modal      a ticket or a report, on its own
   =========================================================================== */
.sc{--sc-bg:linear-gradient(180deg,rgba(20,26,58,.82),rgba(10,13,32,.9));--sc-line:rgba(147,197,253,.14);--sc-line-2:rgba(147,197,253,.24);
  --sc-ink:#EEF1FA;--sc-text:#C3CAE4;--sc-mute:#A9B4D6;--sc-faint:#8E9BC4;--sc-ease:cubic-bezier(.16,1,.3,1);
  --sc-ai:var(--ai-grad,linear-gradient(135deg,#7DD3FC 0%,#818CF8 42%,#C084FC 78%,#F0ABFC 100%));
  --sc-ai-deep:var(--ai-grad-deep,linear-gradient(135deg,#2563EB 0%,#6D28D9 58%,#A21CAF 100%));
  position:relative;display:flex;flex-direction:column;min-width:0;text-align:left;color:var(--sc-text);font:400 15px/1.6 'Geist',system-ui,sans-serif}
.sc *{box-sizing:border-box}
.sc button{font:inherit}

/* ---------- the shell ---------- */
.sc-box{position:relative;display:flex;flex-direction:column;min-height:0;border-radius:22px;background:var(--sc-bg);
  border:1px solid var(--sc-line);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 40px 90px -50px rgba(37,99,235,.55),0 30px 60px -40px rgba(0,0,0,.8);
  transition:border-color .25s,box-shadow .3s}
/* the AI's light along the top edge, brighter while you type */
.sc-box::before{content:"";position:absolute;left:12%;right:12%;top:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(129,140,248,.85),rgba(192,132,252,.85),transparent);
  opacity:.55;transition:opacity .3s,left .4s var(--sc-ease),right .4s var(--sc-ease)}
.sc-box:focus-within{border-color:rgba(129,140,248,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 0 4px rgba(129,140,248,.1),0 40px 90px -46px rgba(109,40,217,.6),0 30px 60px -40px rgba(0,0,0,.8)}
.sc-box:focus-within::before{opacity:1;left:4%;right:4%}

/* ---------- header (once there's a conversation, and always in the dock) ---------- */
.sc-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;border-bottom:1px solid var(--sc-line)}
.sc-id{display:flex;align-items:center;gap:11px;min-width:0;flex:1}
.sc-id .hexm{--hs:34px}
.sc-id .hexm .ai-mark{width:46%;height:46%}
.sc-id b{display:block;font:600 14.5px/1.25 'Geist',sans-serif;color:var(--sc-ink);letter-spacing:-.01em}
.sc-id small{display:flex;align-items:center;gap:6px;margin-top:2px;font:400 12.5px/1.3 'Geist',sans-serif;color:var(--sc-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-id small i{flex:none;width:6px;height:6px;border-radius:50%;background:#34D399;box-shadow:0 0 0 3px rgba(52,211,153,.15)}
.sc-id small i.off{background:#64748B;box-shadow:none}
.sc-hbtns{display:flex;align-items:center;gap:6px;flex:none}
.sc-hb{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 11px;border-radius:9px;border:1px solid var(--sc-line);background:rgba(255,255,255,.025);
  font:500 13px/1 'Geist',sans-serif;color:var(--sc-text);cursor:pointer;white-space:nowrap;transition:color .15s,background .15s,border-color .15s}
.sc-hb:hover{color:var(--sc-ink);background:rgba(255,255,255,.06);border-color:var(--sc-line-2)}
.sc-hb svg{width:14px;height:14px}
.sc-hb.icon{width:32px;padding:0;justify-content:center}
.sc-hb .avs{display:flex}
.sc-hb .avs img,.sc-hb .avs span{width:18px;height:18px;border-radius:50%;border:1.5px solid #12183A;object-fit:cover;background:#1A2350}
.sc-hb .avs > * + *{margin-left:-6px}

/* ---------- the conversation ---------- */
.sc-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(147,197,253,.2) transparent;
  padding:22px 20px 8px;display:flex;flex-direction:column;gap:22px;scroll-behavior:smooth}
.sc-turn{display:flex;gap:12px;min-width:0;animation:scIn .35s var(--sc-ease) both}
@keyframes scIn{from{opacity:0;transform:translateY(6px)}}
/* yours: an outgoing text */
.sc-turn.me{justify-content:flex-end}
.sc-turn.me .sc-bubble{max-width:min(78%,520px);padding:10px 14px;border-radius:18px 18px 6px 18px;color:#fff;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;
  background:linear-gradient(135deg,#3B82F6,#1D4ED8);box-shadow:0 10px 24px -14px rgba(37,99,235,.9),inset 0 1px 0 rgba(255,255,255,.18)}
.sc-me-av{flex:none;width:28px;height:28px;border-radius:50%;object-fit:cover;align-self:flex-end;background:#1A2350;box-shadow:0 0 0 1px rgba(147,197,253,.2)}
/* the assistant's: no bubble, its mark beside the answer */
.sc-ai-av{flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;margin-top:1px;
  background:linear-gradient(140deg,rgba(125,211,252,.16),rgba(192,132,252,.16));box-shadow:inset 0 0 0 1px rgba(167,139,250,.32)}
.sc-ai-av .ai-mark{width:15px;height:15px}
.sc-ans{flex:1;min-width:0}
.sc-md{color:var(--sc-text);font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.sc-md > :first-child{margin-top:0}
.sc-md > :last-child{margin-bottom:0}
.sc-md p{margin:0 0 10px}
.sc-md strong{color:var(--sc-ink);font-weight:600}
.sc-md ul,.sc-md ol{margin:0 0 10px;padding:0 0 0 2px;list-style:none}
.sc-md li{position:relative;margin:0 0 6px;padding-left:20px}
.sc-md ul > li::before{content:"";position:absolute;left:4px;top:.68em;width:6px;height:6px;border-radius:50%;background:#818CF8;box-shadow:0 0 0 3px rgba(129,140,248,.15)}
.sc-md ol{counter-reset:sc}
.sc-md ol > li{counter-increment:sc}
.sc-md ol > li::before{content:counter(sc);position:absolute;left:0;top:.15em;width:15px;height:15px;display:grid;place-items:center;border-radius:5px;
  font:600 12px/1 'Geist',sans-serif;color:#E0E7FF;background:rgba(99,102,241,.3)}
.sc-md a{color:#A5B4FC;text-decoration:underline;text-decoration-color:rgba(165,180,252,.35);text-underline-offset:3px;transition:color .15s,text-decoration-color .15s}
.sc-md a:hover{color:#C7D2FE;text-decoration-color:currentColor}
.sc-md code{font:500 .86em/1 'IBM Plex Mono',ui-monospace,monospace;color:#C7D2FE;background:rgba(99,102,241,.12);border:1px solid rgba(129,140,248,.2);border-radius:6px;padding:.14em .4em}
.sc-md pre{margin:4px 0 12px;padding:12px 14px;border-radius:12px;overflow-x:auto;background:#0B1024;border:1px solid var(--sc-line);scrollbar-width:thin}
.sc-md pre code{display:block;padding:0;border:0;background:none;font:400 12.5px/1.65 'IBM Plex Mono',ui-monospace,monospace;color:#D6DCF0;white-space:pre}
.sc-caret{display:inline-block;width:7px;height:15px;margin-left:2px;vertical-align:-2px;border-radius:2px;background:var(--sc-ai);animation:scBlink 1s steps(1) infinite}
@keyframes scBlink{50%{opacity:0}}

/* reading the help centre: the call's waveform, in the AI's colours */
.sc-reading{display:flex;align-items:center;gap:10px;height:28px;font:500 13.5px/1 'Geist',sans-serif;color:var(--sc-mute)}
.sc-wave{display:inline-flex;align-items:center;gap:3px;height:16px}
.sc-wave i{width:3px;height:100%;border-radius:2px;background:var(--sc-ai);background-size:100% 400%;transform:scaleY(.25);animation:scWave 1s ease-in-out infinite}
.sc-wave i:nth-child(2){animation-delay:-.8s}.sc-wave i:nth-child(3){animation-delay:-.6s}.sc-wave i:nth-child(4){animation-delay:-.4s}.sc-wave i:nth-child(5){animation-delay:-.2s}
@keyframes scWave{0%,100%{transform:scaleY(.25)}50%{transform:scaleY(1)}}

/* sources: the guides an answer came from */
.sc-src{margin-top:12px;display:flex;flex-direction:column;gap:6px}
.sc-src-t{font:600 12px/1 'Geist',sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--sc-faint)}
.sc-src-l{display:flex;flex-wrap:wrap;gap:8px}
.sc-src a{display:inline-flex;align-items:center;gap:9px;max-width:100%;min-height:36px;padding:6px 12px 6px 8px;border-radius:11px;text-decoration:none;
  background:rgba(255,255,255,.03);border:1px solid var(--sc-line);transition:border-color .15s,background .15s}
.sc-src a:hover{background:rgba(129,140,248,.08);border-color:rgba(129,140,248,.4)}
/* a topic's icon: its own glyph on a tile in its colours */
.sc-ti{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:color-mix(in srgb,var(--c1,#3B82F6) 55%,#fff);
  background:linear-gradient(140deg,color-mix(in srgb,var(--c1,#3B82F6) 26%,transparent),color-mix(in srgb,var(--c2,#4F46E5) 12%,transparent));
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c1,#3B82F6) 36%,transparent)}
.sc-ti svg{width:56%;height:56%}
.sc-src .sc-ti{width:24px;height:24px;border-radius:7px}
.sc-src .tt{display:flex;flex-direction:column;min-width:0}
.sc-src .tt b{font:500 13.5px/1.3 'Geist',sans-serif;color:var(--sc-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-src .tt small{font:400 12px/1.3 'Geist',sans-serif;color:var(--sc-mute)}

/* under an answer: was it any good, copy it */
.sc-acts{display:flex;align-items:center;gap:4px;margin-top:10px;min-height:28px}
.sc-act{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;border:0;background:none;color:var(--sc-faint);cursor:pointer;transition:color .15s,background .15s}
.sc-act:hover{color:var(--sc-ink);background:rgba(255,255,255,.06)}
.sc-act svg{width:15px;height:15px}
.sc-act.on{color:#A5B4FC;background:rgba(129,140,248,.14)}
.sc-act.done{color:#34D399}
.sc-acts .note{margin-left:6px;font:400 12.5px/1.3 'Geist',sans-serif;color:var(--sc-mute)}
.sc-acts .note button{padding:0;border:0;background:none;color:#A5B4FC;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}

.sc-err{margin:0 0 10px;color:#FCA5A5}
.sc-stopped{margin-top:6px;font:400 12.5px/1.3 'Geist',sans-serif;color:var(--sc-faint)}

/* ---------- a person: one button that drafts the ticket ---------- */
.sc-ho{display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 10px 10px 12px;border-radius:14px;border:1px solid rgba(96,165,250,.26);
  background:radial-gradient(120% 160% at 0% 0%,rgba(37,99,235,.13),transparent 60%),rgba(10,14,34,.6)}
.sc-team{display:flex;flex:none}
.sc-team > *{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid #0E1434;background:#1A2350}
.sc-team > * + *{margin-left:-9px}
.sc-team .mono{display:grid;place-items:center;font:600 12px/1 'Geist',sans-serif;color:#fff;background:linear-gradient(135deg,#3B82F6,#4F46E5)}
.sc-ho .sc-team > *{width:26px;height:26px}
.sc-ho .sc-team > * + *{margin-left:-8px}
.sc-ho .tx{flex:1;min-width:0}
.sc-ho b{display:block;font:600 13.5px/1.3 'Geist',sans-serif;color:var(--sc-ink)}
.sc-ho small{display:block;margin-top:1px;font:400 12px/1.35 'Geist',sans-serif;color:var(--sc-mute)}
.sc-draft{flex:none;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px;border:0;border-radius:10px;cursor:pointer;
  font:600 13.5px/1 'Geist',sans-serif;color:#fff;background:linear-gradient(135deg,#3B82F6,#1D4ED8);
  box-shadow:0 8px 20px -10px rgba(37,99,235,.9),inset 0 1px 0 rgba(255,255,255,.2);transition:transform .15s,filter .15s}
.sc-draft:hover{transform:translateY(-1px);filter:brightness(1.08)}
/* the dock is narrow: the button goes under the line, full width */
.sc--dock .sc-ho{flex-wrap:wrap}
.sc--dock .sc-ho .tx{flex:1 1 150px}
.sc--dock .sc-ho .sc-draft{flex:1 1 100%;justify-content:center;height:38px}
.sc-draft svg{width:14px;height:14px}
.sc-fmsg{font:400 13px/1.4 'Geist',sans-serif;color:var(--sc-mute)}
.sc-fmsg.err{color:#FCA5A5}
.sc-send{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border:0;border-radius:11px;cursor:pointer;
  font:600 14px/1 'Geist',sans-serif;color:#fff;background:linear-gradient(135deg,#3B82F6,#1D4ED8);
  box-shadow:0 10px 24px -12px rgba(37,99,235,.85),inset 0 1px 0 rgba(255,255,255,.2);transition:transform .15s,box-shadow .2s,opacity .15s}
.sc-send:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 30px -12px rgba(37,99,235,.95),inset 0 1px 0 rgba(255,255,255,.2)}
.sc-send:disabled{opacity:.55;cursor:default}
.sc-send svg{width:15px;height:15px}
.sc-spin{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:scSpin .7s linear infinite}
@keyframes scSpin{to{transform:rotate(360deg)}}

/* sent: a notification from Spoofey Support, as Spoofey's phones show one */
.sc-notif{display:flex;gap:12px;margin-top:14px;padding:13px 14px;border-radius:18px;
  background:linear-gradient(180deg,rgba(30,38,78,.92),rgba(17,22,50,.94));border:1px solid rgba(147,197,253,.2);
  box-shadow:0 24px 50px -30px rgba(0,0,0,.95),inset 0 1px 0 rgba(255,255,255,.07);animation:scNotif .55s cubic-bezier(.2,1.2,.4,1) both}
@keyframes scNotif{from{opacity:0;transform:translateY(-10px) scale(.97)}}
.sc-app{flex:none;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(140deg,#3B82F6,#4338CA);
  box-shadow:0 8px 18px -8px rgba(59,130,246,.9),inset 0 1px 0 rgba(255,255,255,.25)}
.sc-app svg{width:21px;height:21px;color:#fff}
.sc-notif .nb{flex:1;min-width:0}
/* the card leads with the help centre's hex gem (base.css .hexm) */
.sc-notif{gap:14px;padding:16px 16px 15px}
.sc-gem{--hs:46px;margin-top:1px}
.sc-gem > svg{width:44%;height:44%}
.sc-notif .nh{display:flex;align-items:center;gap:8px}
.sc-notif .nh .who{font:600 12px/1 'Geist',sans-serif;letter-spacing:.07em;text-transform:uppercase;color:var(--sc-faint)}
.sc-notif .nh b{font:600 14px/1.3 'Geist',sans-serif;color:#fff}
.sc-notif .nh time{margin-left:auto;font:400 12px/1 'Geist',sans-serif;color:var(--sc-mute)}
.sc-notif .nt{display:block;margin-top:7px;font:600 16px/1.25 'Geist',sans-serif;letter-spacing:-.015em;color:#fff}
.sc-notif p{margin:4px 0 0;font:400 13.5px/1.5 'Geist',sans-serif;color:var(--sc-text)}
.sc-notif .num{font-weight:600;color:#fff;font-variant-numeric:tabular-nums}
.sc-notif .em{color:var(--sc-ink);overflow-wrap:anywhere}
/* what happens next, as three segments: done, under way, to come */
.sc-track{display:flex;gap:6px;margin:13px 0 0;padding:0;list-style:none}
.sc-track li{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px;font:500 12px/1.25 'Geist',sans-serif;color:var(--sc-faint)}
.sc-track li::before{content:"";height:3px;border-radius:3px;background:rgba(147,197,253,.14)}
.sc-track li.done{color:#A7F3D0}
.sc-track li.done::before{background:linear-gradient(90deg,#34D399,#2DD4BF)}
.sc-track li.now{color:#DDD6FE}
.sc-track li.now::before{background:linear-gradient(90deg,#A78BFA,#8B5CF6 45%,rgba(147,197,253,.14) 45%);animation:scTrack 2.4s ease-in-out infinite}
@keyframes scTrack{50%{opacity:.6}}
@media(prefers-reduced-motion:reduce){.sc-track li.now::before{animation:none}}
.sc-nlink{display:inline-flex;align-items:center;gap:6px;height:32px;margin-top:13px;padding:0 12px;border-radius:9px;
  font:500 13px/1 'Geist',sans-serif;color:#DDD6FE;text-decoration:none;background:rgba(139,92,246,.12);border:1px solid rgba(167,139,250,.3);
  transition:background .15s,border-color .15s,color .15s}
.sc-nlink:hover{color:#fff;background:rgba(139,92,246,.2);border-color:rgba(167,139,250,.5)}
.sc-nlink svg{transition:transform .2s var(--sc-ease)}
.sc-nlink:hover svg{transform:translateX(2px)}

/* ---------- the composer ---------- */
.sc-comp{position:relative;display:flex;align-items:flex-end;gap:10px;padding:10px 10px 10px 16px}
.sc-thread + .sc-comp{border-top:1px solid var(--sc-line)}
.sc-comp .lead{flex:none;align-self:center;display:grid;place-items:center;width:36px;height:36px;margin-left:-4px}
.sc-comp .lead .hexm{--hs:36px}
.sc-comp .lead .hexm .ai-mark{width:46%;height:46%}
.sc-in{flex:1;min-width:0;display:block;max-height:180px;min-height:40px;padding:9px 0;border:0;outline:0;resize:none;background:none;
  font:400 16px/1.4 'Geist',sans-serif;color:var(--sc-ink);scrollbar-width:thin}
.sc-in::placeholder{color:var(--sc-faint)}
.sc-go{flex:none;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;border:0;cursor:pointer;color:#fff;
  background:var(--sc-ai-deep);box-shadow:0 10px 24px -12px rgba(109,40,217,.9),inset 0 1px 0 rgba(255,255,255,.22);transition:transform .15s,opacity .2s,filter .2s}
.sc-go:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.1)}
.sc-go:disabled{opacity:.35;cursor:default;box-shadow:none}
.sc-go svg{width:17px;height:17px}
.sc-go .lbl{display:none}
.sc-go.stop{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px var(--sc-line-2)}
.sc-go.stop svg{width:12px;height:12px}
.sc-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 12px;font:400 12px/1.3 'Geist',sans-serif;color:var(--sc-faint)}
.sc-hint .warn{text-align:right}
.sc-hperson{display:none;align-items:center;gap:8px;padding:0;border:0;background:none;font:500 12.5px/1 'Geist',sans-serif;color:#A5B4FC;cursor:pointer;white-space:nowrap}
.sc-hperson:hover{color:#C7D2FE}
.sc-hperson .avs{display:flex}
.sc-hperson .avs img,.sc-hperson .avs span{width:20px;height:20px;border-radius:50%;border:1.5px solid #12183A;object-fit:cover;background:#1A2350}
.sc-hperson .avs > * + *{margin-left:-6px}
.sc-hint kbd{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin:0 2px;border-radius:5px;font:500 12px/1 'IBM Plex Mono',monospace;
  color:var(--sc-mute);background:rgba(255,255,255,.05);border:1px solid var(--sc-line)}

/* ---------- the front page: an ask box that opens into the conversation ---------- */
.sc--inline{width:100%;max-width:760px;margin:0 auto}
.sc--inline .sc-head,.sc--inline .sc-thread{display:none}
.sc--inline .sc-comp{padding:12px 12px 12px 14px}
.sc--inline .sc-in{font-size:17px;padding:10px 0}
.sc--inline .sc-go{display:inline-flex;align-items:center;width:auto;padding:0 16px 0 14px;gap:8px;font:600 14.5px/1 'Geist',sans-serif}
.sc--inline .sc-go .lbl{display:inline}
.sc--inline.is-chat .sc-head{display:flex}
.sc--inline.is-chat .sc-thread{display:flex;height:min(60vh,560px)}
.sc--inline.is-chat .sc-comp .lead{display:none}
.sc--inline.is-chat .sc-go{display:inline-grid;width:40px;padding:0}
.sc--inline.is-chat .sc-go .lbl{display:none}
.sc--inline.is-chat .sc-hint{display:flex}
.sc--inline .sc-hint{display:none}
/* matching guides while you type, before you ask */
.sc-sugg{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:30;display:none;padding:6px;border-radius:16px;
  background:#0E1430;border:1px solid var(--sc-line-2);box-shadow:0 34px 80px -24px rgba(0,0,0,.9)}
.sc-sugg.show{display:block;animation:scDrop .16s var(--sc-ease)}
@keyframes scDrop{from{opacity:0;transform:translateY(-4px)}}
.sc-sugg .grp{padding:10px 12px 6px;font:600 12px/1 'Geist',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--sc-faint)}
.sc-opt{position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:0;border-radius:11px;background:none;text-align:left;text-decoration:none;color:inherit;cursor:pointer}
.sc-opt.on{background:rgba(129,140,248,.12)}
/* the row you're on: the site's gradient line on the menu's left edge */
.sc-opt::before{content:"";position:absolute;left:-6px;top:7px;bottom:7px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(#60A5FA,#2DD4BF);opacity:0;transition:opacity .14s ease;pointer-events:none}
.sc-opt.on::before{opacity:1}
.sc-opt .ic{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.04);border:1px solid var(--sc-line)}
.sc-opt .ic.ai{background:linear-gradient(140deg,rgba(125,211,252,.16),rgba(192,132,252,.16));border-color:rgba(167,139,250,.32)}
.sc-opt .ic .ai-mark{width:15px;height:15px}
.sc-opt .tx{flex:1;min-width:0}
.sc-opt .tx b{display:block;font:500 14.5px/1.35 'Geist',sans-serif;color:var(--sc-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-opt .tx b .q{color:#C4B5FD}
.sc-opt .tx small{display:block;margin-top:1px;font:400 12.5px/1.4 'Geist',sans-serif;color:var(--sc-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-opt .tx mark{background:none;color:#BFDBFE;font-weight:600}
.sc-opt .go{flex:none;font:500 12px/1 'Geist',sans-serif;color:var(--sc-faint);opacity:0}
.sc-opt.on .go{opacity:1}

/* ---------- the dock ---------- */
.sc-launch{position:fixed;right:20px;bottom:20px;z-index:2147481000;display:inline-flex;align-items:center;gap:9px;height:46px;padding:0 18px 0 14px;border-radius:999px;cursor:pointer;
  font:600 14.5px/1 'Geist',sans-serif;color:#fff;border:1px solid rgba(196,181,253,.35);
  background:linear-gradient(180deg,rgba(28,30,72,.95),rgba(17,19,48,.97));box-shadow:0 18px 40px -16px rgba(109,40,217,.75),0 0 0 1px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.1);
  transition:transform .25s var(--sc-ease,cubic-bezier(.16,1,.3,1)),box-shadow .25s,opacity .2s}
.sc-launch:hover{transform:translateY(-2px);box-shadow:0 22px 48px -16px rgba(109,40,217,.9),0 0 0 1px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.12)}
.sc-launch .ai-mark{width:18px;height:18px}
.sc-launch.hide{opacity:0;pointer-events:none;transform:translateY(8px)}
.sc-launch .dot{width:8px;height:8px;border-radius:50%;background:#C084FC;box-shadow:0 0 0 3px rgba(192,132,252,.2)}
body:has(#spfadDock) .sc-launch{bottom:auto;top:96px}
.sc--dock{position:fixed;right:20px;bottom:20px;z-index:2147481100;width:min(440px,calc(100vw - 32px));height:min(720px,calc(100vh - 40px));
  opacity:0;visibility:hidden;transform:translateY(14px) scale(.98);transform-origin:100% 100%;
  transition:opacity .22s ease,transform .38s var(--sc-ease),visibility 0s linear .22s}
.sc--dock.open{opacity:1;visibility:visible;transform:none;transition:opacity .22s ease,transform .38s var(--sc-ease)}
.sc--dock .sc-box{height:100%;background:linear-gradient(180deg,#121836,#090C1E);box-shadow:0 50px 120px -40px rgba(0,0,0,.95),0 0 0 1px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06)}
.sc--dock .sc-thread{padding:18px 16px 8px}
.sc--dock .sc-comp .lead{display:none}
/* the dock is narrow: a person is offered under the composer, not squeezed into the header */
.sc--dock .sc-head [data-act="person"],.sc--dock .sc-hint .keys,.sc--dock .sc-hint .more{display:none}
.sc--dock .sc-hint .sc-hperson{display:inline-flex}
/* before anything's asked */
.sc-empty{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:auto 0;padding:8px 4px 4px}
.sc-empty .hexm{--hs:48px}
.sc-empty .hexm .ai-mark{width:46%;height:46%}
.sc-empty h3{margin:6px 0 0;font:600 19px/1.3 'Geist',sans-serif;letter-spacing:-.02em;color:var(--sc-ink)}
.sc-empty p{margin:0;font-size:14px;line-height:1.6;color:var(--sc-mute)}
.sc-chips{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;margin-top:6px}
.sc-chip{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:12px;border:1px solid var(--sc-line);background:rgba(255,255,255,.025);
  font:500 13.5px/1.35 'Geist',sans-serif;color:var(--sc-text);text-align:left;cursor:pointer;transition:color .15s,background .15s,border-color .15s}
.sc-chip:hover{color:var(--sc-ink);background:rgba(129,140,248,.08);border-color:rgba(129,140,248,.35)}
.sc-chip svg{flex:none;width:14px;height:14px;color:#A78BFA}
@media(max-width:640px){
  .sc--dock{right:0;bottom:0;width:100vw;height:100dvh;border-radius:0}
  .sc--dock .sc-box{border-radius:0;border:0}
  .sc-launch{right:16px;bottom:16px}
  .sc--inline .sc-go .lbl{display:none}
  .sc--inline .sc-go{display:inline-grid;width:44px;padding:0}
  .sc--inline.is-chat .sc-thread{height:min(64vh,560px)}
  .sc-thread{padding:18px 14px 8px}
  .sc-head [data-act="person"],.sc-hint .keys,.sc-hint .more{display:none}
  .sc-hint .sc-hperson{display:inline-flex}
}

/* ---------- a ticket or a report, on its own ----------
   Who you're writing to along the top, a composer you type straight into,
   choices as chips, and a footer with where the reply goes and the send
   button. On phones it's a sheet from the bottom. Opaque throughout: nothing
   on the page shows through a form. */
.sc-modal{--sc-line:rgba(147,197,253,.13);--sc-line-2:rgba(147,197,253,.24);--sc-ink:#EEF1FA;--sc-text:#C3CAE4;--sc-mute:#A9B4D6;--sc-faint:#8E9BC4;
  --sc-ease:cubic-bezier(.16,1,.3,1);--sc-field:#090D22;
  position:fixed;inset:0;z-index:2147481200;display:grid;place-items:center;padding:24px;
  background:rgba(3,5,14,.68);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  opacity:0;transition:opacity .22s ease;font:400 15px/1.6 'Geist',system-ui,sans-serif;color:var(--sc-text);text-align:left}
.sc-modal *{box-sizing:border-box}
.sc-modal.open{opacity:1}
.sc-dlg{position:relative;display:flex;flex-direction:column;width:min(600px,100%);max-height:calc(100dvh - 48px);border-radius:20px;
  background:linear-gradient(180deg,#151B40,#0B0F27 60%);border:1px solid rgba(147,197,253,.2);
  box-shadow:0 80px 160px -40px rgba(0,0,0,.92),0 0 0 1px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.07);
  transform:translateY(12px) scale(.98);transition:transform .4s var(--sc-ease)}
.sc-modal.open .sc-dlg{transform:none}
/* a light along the top edge */
.sc-dlg::before{content:"";position:absolute;left:12%;right:12%;top:-1px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(96,165,250,.9),rgba(129,140,248,.9),transparent)}

/* who it goes to */
.sc-mh{display:flex;align-items:center;gap:12px;padding:16px 14px 16px 20px;border-bottom:1px solid var(--sc-line)}
.sc-mh .who{flex:1;min-width:0}
.sc-mh .who b{display:block;font:600 15px/1.3 'Geist',sans-serif;letter-spacing:-.012em;color:var(--sc-ink)}
.sc-mh .who small{display:flex;align-items:center;gap:7px;margin-top:3px;font:400 13px/1.35 'Geist',sans-serif;color:var(--sc-mute)}
.sc-mh .who small i{flex:none;width:7px;height:7px;border-radius:50%;background:#34D399;box-shadow:0 0 0 3px rgba(52,211,153,.16)}
.sc-mh .sc-team > *{width:34px;height:34px;border-color:#141A3E}
.sc-mh .sc-team > * + *{margin-left:-11px}
.sc-x{flex:none;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;border:0;background:none;color:var(--sc-mute);cursor:pointer;transition:color .15s,background .15s}
.sc-x:hover{color:var(--sc-ink);background:rgba(255,255,255,.07)}
.sc-x svg{width:15px;height:15px}

/* the composer */
.sc-mform,.sc-ok{display:flex;flex-direction:column;flex:1;min-height:0}
.sc-mb{display:flex;flex-direction:column;gap:14px;padding:20px 20px 18px;overflow-y:auto;overscroll-behavior:contain}
.sc-subj{display:block;width:100%;padding:0;border:0;outline:0;background:none;resize:none;overflow:hidden;font:600 21px/1.3 'Geist',sans-serif;letter-spacing:-.022em;color:var(--sc-ink)}
.sc-msg{display:block;width:100%;min-height:118px;max-height:38vh;padding:0;border:0;outline:0;background:none;resize:none;field-sizing:content;
  font:400 15.5px/1.6 'Geist',sans-serif;color:var(--sc-text)}
.sc-subj::placeholder,.sc-msg::placeholder{color:#59648E}
.sc-msg--box{min-height:84px;padding:11px 14px;border-radius:12px;background:var(--sc-field);border:1px solid var(--sc-line);font-size:14.5px;
  transition:border-color .15s,box-shadow .15s}
.sc-in2,.sc-row2 input{width:100%;min-width:0;height:42px;padding:0 13px;border-radius:11px;background:var(--sc-field);border:1px solid var(--sc-line);outline:0;
  font:400 14.5px/1 'Geist',sans-serif;color:var(--sc-ink);transition:border-color .15s,box-shadow .15s}
.sc-in2::placeholder,.sc-row2 input::placeholder{color:#59648E}
.sc-msg--box:hover,.sc-in2:hover,.sc-row2 input:hover{border-color:var(--sc-line-2)}
.sc-msg--box:focus,.sc-in2:focus,.sc-row2 input:focus{border-color:#3B82F6;box-shadow:0 0 0 3px rgba(59,130,246,.16)}
.sc-row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
/* the conversation it came from, going with it */
.sc-att{display:flex;align-items:center;gap:10px;padding:10px 13px;border-radius:12px;font:500 13px/1.35 'Geist',sans-serif;color:#DDD3F8;
  background:linear-gradient(140deg,rgba(125,211,252,.08),rgba(192,132,252,.1));border:1px solid rgba(167,139,250,.26)}
.sc-att .ai-mark{flex:none;width:15px;height:15px}
.sc-att em{margin-left:auto;font-style:normal;font-weight:400;color:var(--sc-mute);white-space:nowrap}
/* a label over its choices */
.sc-mrow{display:flex;flex-direction:column;gap:10px;padding-top:15px;border-top:1px solid var(--sc-line)}
.sc-mrow[hidden]{display:none}
.sc-mlbl{font:600 12px/1 'Geist',sans-serif;letter-spacing:.07em;text-transform:uppercase;color:var(--sc-faint)}
.sc-chips2{display:flex;flex-wrap:wrap;gap:7px}
.sc-pick{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 13px 0 5px;border-radius:999px;border:1px solid var(--sc-line);background:rgba(255,255,255,.025);
  font:500 13.5px/1 'Geist',sans-serif;color:var(--sc-text);cursor:pointer;white-space:nowrap;transition:color .15s,background .15s,border-color .15s,box-shadow .15s}
.sc-pick .sc-ti{width:24px;height:24px;border-radius:50%}
.sc-pick:hover{color:var(--sc-ink);border-color:var(--sc-line-2);background:rgba(255,255,255,.05)}
.sc-pick[aria-checked="true"]{color:#fff;border-color:rgba(96,165,250,.62);background:rgba(59,130,246,.17);box-shadow:0 0 0 3px rgba(59,130,246,.1)}
/* ask the assistant first */
.sc-nudge{display:flex;align-items:center;gap:10px;width:100%;padding:11px 13px;border-radius:12px;cursor:pointer;text-align:left;
  font:400 13.5px/1.4 'Geist',sans-serif;color:var(--sc-text);border:1px solid rgba(167,139,250,.24);
  background:linear-gradient(140deg,rgba(125,211,252,.06),rgba(192,132,252,.08));transition:border-color .15s,background .15s}
.sc-nudge:hover{border-color:rgba(167,139,250,.45)}
.sc-nudge .ai-mark{flex:none;width:16px;height:16px}
.sc-nudge b{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-weight:600;color:#C4B5FD;white-space:nowrap}
.sc-nudge b svg{width:13px;height:13px;transition:transform .2s var(--sc-ease)}
.sc-nudge:hover b svg{transform:translateX(2px)}


/* where the reply goes, and send */
.sc-mf{display:flex;align-items:center;gap:8px;padding:12px 14px 12px 20px;border-top:1px solid var(--sc-line);background:rgba(3,5,16,.5);border-radius:0 0 20px 20px}
.sc-mf .sc-fmsg{flex:1;min-width:0;font:400 13px/1.35 'Geist',sans-serif;color:var(--sc-mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-mf .sc-fmsg b{font-weight:500;color:var(--sc-text)}
.sc-mf .sc-fmsg.err{color:#FCA5A5;white-space:normal}
.sc-ghost{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 14px;border-radius:10px;border:0;background:none;cursor:pointer;
  font:500 14px/1 'Geist',sans-serif;color:var(--sc-mute);text-decoration:none;transition:color .15s,background .15s}
.sc-ghost:hover{color:var(--sc-ink);background:rgba(255,255,255,.07)}
.sc-mf .sc-send{height:38px}
.sc-send kbd{margin-left:2px;padding:3px 6px;border-radius:6px;font:500 12px/1 'IBM Plex Mono',monospace;color:rgba(255,255,255,.9);background:rgba(255,255,255,.17)}

/* sent: the notification, then what happens next */
.sc-ok .sc-notif{margin:20px 20px 0}
.sc-next{list-style:none;margin:0;padding:20px 20px 22px}
.sc-next li{position:relative;display:flex;gap:12px;padding-bottom:16px}
.sc-next li:last-child{padding-bottom:0}
.sc-next li::before{content:"";position:absolute;left:11px;top:26px;bottom:2px;width:2px;border-radius:2px;background:var(--sc-line-2)}
.sc-next li:last-child::before{display:none}
.sc-next i{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1.5px solid var(--sc-line-2);background:#0D1230;color:#fff}
.sc-next li.on i{border:0;background:linear-gradient(135deg,#34D399,#059669);box-shadow:0 0 0 4px rgba(52,211,153,.14)}
.sc-next i svg{width:13px;height:13px}
.sc-next span{padding-top:2px}
.sc-next b{display:block;font:500 14px/1.35 'Geist',sans-serif;color:var(--sc-ink)}
.sc-next small{display:block;margin-top:1px;font:400 12.5px/1.4 'Geist',sans-serif;color:var(--sc-mute)}
.sc-ok .sc-mf{justify-content:flex-end}

@media(max-width:640px){
  .sc-modal{place-items:end stretch;padding:0}
  .sc-dlg{width:100%;max-height:94dvh;border-radius:22px 22px 0 0;border-bottom:0;transform:translateY(100%);transition:transform .45s var(--sc-ease)}
  .sc-dlg::after{content:"";position:absolute;top:7px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:2px;background:rgba(255,255,255,.18)}
  .sc-mh{padding:22px 12px 14px 18px}
  .sc-mb{padding:18px}
  .sc-subj{font-size:19px}
  .sc-msg{min-height:100px}
  .sc-row2{grid-template-columns:1fr}
    .sc-mf{flex-wrap:wrap;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-radius:0}
  .sc-mf .sc-fmsg{flex-basis:100%;order:-1;white-space:normal}
  .sc-mf .sc-fmsg:empty{display:none}
  .sc-mf .sc-ghost,.sc-mf .sc-send{flex:1;height:44px}
  .sc-send kbd{display:none}
  .sc-ho{flex-wrap:wrap}
  .sc-ho .tx{flex:1 1 150px}
  .sc-ho .sc-draft{flex:1 1 100%;justify-content:center;height:40px}
}

@media(prefers-reduced-motion:reduce){
  .sc-turn,.sc-notif,.sc-sugg.show{animation:none}
  .sc-wave i,.sc-caret,.sc-spin{animation:none}
  .sc--dock,.sc-modal,.sc-modal .sc-dlg,.sc-launch{transition:none}
  .sc-nudge b svg{transition:none}
}
