/* Support chat widget: the dashboard (app.html) and the marketing site (loaded by site-config.js). */
/* Support chat (Figma 10.6). Light theme values match the design; dark theme maps them onto the warm dark palette. */
.sc { --sc-bg: var(--bg-2); --sc-sf: var(--surface); --sc-pr: #1f1d1e; --sc-on-pr: #fff; --sc-soft: #fff7d1; --sc-soft-b: #f2dd74; --sc-soft-t: #876800; --sc-act: var(--active); --sc-sh: 0 2px 8px rgba(31,28,28,.08), 0 24px 60px rgba(31,28,28,.16); --sc-fs: var(--fs-up, 0px); position: fixed; right: 24px; bottom: 24px; z-index: 900; font-family: var(--sans); }
:root:not([data-theme="light"]) .sc { --sc-pr: #f4eee4; --sc-on-pr: #1f1d1e; --sc-soft: rgba(250,214,0,.1); --sc-soft-b: rgba(250,214,0,.35); --sc-soft-t: var(--yellow); --sc-sh: 0 2px 8px rgba(0,0,0,.3), 0 24px 60px rgba(0,0,0,.5); }
.sc[hidden] { display: none; }
.sc button { font: inherit; }
.sc-tab { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: #1f1d1e; color: #f4eee4; font-size: calc(15px + var(--sc-fs)); font-weight: 500; box-shadow: 0 2px 4px rgba(31,28,28,.08), 0 24px 30px rgba(31,28,28,.16); transition: transform .15s var(--ease); white-space: nowrap; }
:root:not([data-theme="light"]) .sc-tab { box-shadow: 0 0 0 1px var(--border), 0 12px 30px rgba(0,0,0,.45); }
.sc-tab { cursor: pointer; border: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sc-tab:hover { transform: translateY(-1px); }
.sc-tab:active { transform: scale(.97); }
/* While the chat code is still loading after a click: the logo spins so the click visibly landed. */
.sc-tab[aria-busy="true"] .sc-tab-av svg { animation: sc-spin .9s linear infinite; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-panel.sc-shell .sc-hero h2 { width: 70%; height: 30px; border-radius: 8px; background: rgba(255,255,255,.08); }
.sc-tab:focus-visible, .sc button:focus-visible, .sc a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.sc-tab-av { width: 32px; height: 32px; border-radius: 50%; background: #2b2829; display: grid; place-items: center; }
.sc-tab.open { padding: 10px; color: #f4eee4; }
.sc-badge { min-width: 20px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--yellow); color: #1f1d1e; font-size: calc(12px + var(--sc-fs)); font-weight: 600; display: inline-grid; place-items: center; font-style: normal; }
.sc-badge.sm { min-width: 18px; height: 18px; padding: 0 5px; font-size: calc(11px + var(--sc-fs)); }
.sc-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.sc-panel { position: absolute; right: 0; bottom: 64px; width: 400px; height: min(680px, calc(100vh - 112px)); height: min(680px, calc(100dvh - 112px)); display: flex; flex-direction: column; background: var(--sc-bg); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--sc-sh); overflow: hidden; animation: sc-in .18s var(--ease); color: var(--fg); }
.sc-panel[hidden] { display: none; }
@keyframes sc-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.sc-nudge, .sc-preview { position: absolute; right: 0; bottom: 64px; background: var(--sc-sf); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--sc-sh); animation: sc-in .2s var(--ease); }
.sc-nudge { display: flex; align-items: center; gap: 4px; padding: 12px 10px 12px 12px; white-space: nowrap; }
.sc-nudge-main { display: flex; align-items: center; gap: 10px; text-align: left; }
.sc-nudge-main > span:last-child, .sc-pv-head > div { display: flex; flex-direction: column; gap: 2px; }
.sc-nudge b, .sc-pv-head b { font-weight: 500; font-size: calc(13px + var(--sc-fs)); }
.sc-nudge-main span span, .sc-pv-head span { font-size: calc(12px + var(--sc-fs)); color: var(--fg-3); }
.sc-preview { width: 340px; padding: 14px; border-radius: 16px; display: flex; flex-direction: column; gap: 8px; }
.sc-pv-head { display: flex; align-items: center; gap: 8px; }
.sc-pv-head > div { flex: 1; min-width: 0; }
.sc-pv-head span { font-size: calc(11px + var(--sc-fs)); }
.sc-preview p { font-size: calc(13px + var(--sc-fs)); line-height: 1.5; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* avatars */
.sc-av-d { background: #1f1d1e; display: grid; place-items: center; flex: none; border-radius: 50%; }
.sc-av-d.big { width: 32px; height: 32px; border-radius: 50%; background: #2b2829; }
.sc-av-p { display: inline-grid; place-items: center; flex: none; border-radius: 50%; border: 2px solid var(--sc-sf); background: var(--t); color: #1f1d1e; font-weight: 500; line-height: 1; }
:root:not([data-theme="light"]) .sc-av-p { background: color-mix(in srgb, var(--t) 30%, var(--surface)); color: var(--fg); }
.sc-stack { display: inline-flex; }
.sc-stack .sc-av-p + .sc-av-p { margin-left: -8px; }
/* buttons */
.sc-ib { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--fg-2); flex: none; }
.sc-ib:hover { background: var(--hover); color: var(--fg); }
.sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--sc-sf); color: var(--fg); font-size: calc(13px + var(--sc-fs)); font-weight: 500; white-space: nowrap; line-height: normal; }
.sc-btn:hover { background: var(--hover); }
.sc-btn.dark { background: var(--sc-pr); color: var(--sc-on-pr); border-color: var(--sc-pr); }
.sc-btn.dark:hover { opacity: .9; }
.sc-btn:disabled { opacity: .6; cursor: default; }
.sc-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sc-center { display: flex; justify-content: center; }
.sc-x { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: var(--fg-3); flex: none; }
.sc-x:hover { background: var(--hover); color: var(--fg); }
/* header */
.sc-hero { background: #1f1d1e; padding: 20px 16px 22px 20px; display: flex; flex-direction: column; gap: 14px; color: #f4eee4; position: relative; flex: none; }
:root:not([data-theme="light"]) .sc-hero { background: #171516; border-bottom: 1px solid var(--border); }
.sc-hero-top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.sc-brand { display: flex; align-items: center; gap: 10px; }
.sc-brand b { font-weight: 500; font-size: calc(15px + var(--sc-fs)); }
.sc-hero .sc-ib { color: #f4eee4; }
.sc-hero .sc-ib:hover { background: rgba(255,255,255,.08); }
.sc-hero h2 { font-size: calc(26px + var(--sc-fs)); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; }
.sc-team { display: flex; align-items: center; gap: 10px; font-size: calc(12px + var(--sc-fs)); color: #a39d97; }
.sc-hero .sc-av-p { border-color: #1f1d1e; }
.sc-acts { display: flex; gap: 2px; }
.sc-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px; background: var(--sc-sf); border-bottom: 1px solid var(--border); position: relative; flex: none; }
.sc-head.plain { padding: 14px 12px 14px 20px; }
.sc-head .grow { flex: 1; min-width: 0; }
.sc-head.plain b { font-size: calc(15px + var(--sc-fs)); font-weight: 500; }
.sc-head .sc-av-d { width: 30px; height: 30px; }
.sc-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sc-title b { font-weight: 500; font-size: calc(14px + var(--sc-fs)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-title span { font-size: calc(12px + var(--sc-fs)); color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-menu { position: absolute; right: 12px; top: calc(100% - 6px); z-index: 3; min-width: 200px; padding: 5px; background: var(--sc-sf); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--sc-sh); display: flex; flex-direction: column; color: var(--fg); }
.sc-hero .sc-menu { right: 0; top: 36px; }
.sc-menu button, .sc-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: calc(13px + var(--sc-fs)); text-align: left; color: var(--fg); }
.sc-menu button:hover, .sc-menu a:hover { background: var(--hover); }
/* body */
.sc-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.sc-msgs { gap: 14px; }
.sc-label { font-size: calc(12px + var(--sc-fs)); font-weight: 500; color: var(--fg-3); }
.sc-muted { font-size: calc(13px + var(--sc-fs)); color: var(--fg-3); }
.sc-card { background: var(--sc-sf); border: 1px solid var(--border); border-radius: 14px; flex: none; }
.sc-ask { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: var(--sc-sf); border: 1px solid var(--border); border-radius: 14px; flex: none; transition: border-color .12s; }
.sc-ask:focus-within { border-color: var(--border-strong); }
.sc-ask input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: calc(14px + var(--sc-fs)); color: var(--fg); }
.sc-ask input::placeholder, .sc-input textarea::placeholder { color: var(--fg-3); }
.sc-send { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--sc-act); color: var(--fg-3); flex: none; transition: background .12s, color .12s; }
.sc-send.ready { background: var(--sc-pr); color: var(--sc-on-pr); }
.sc-ask .sc-send { background: var(--yellow); color: #1f1d1e; }
.sc-sgs { padding: 4px 12px; display: flex; flex-direction: column; }
.sc-sg, .sc-rc { display: flex; align-items: center; gap: 10px; padding: 10px 4px; text-align: left; color: var(--fg-3); width: 100%; }
.sc-sg + .sc-sg { border-top: 1px solid var(--border); }
.sc-sg:hover b, .sc-rc:hover b, .sc-li:hover b { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--border-strong); }
.sc-sg-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--sc-bg); display: grid; place-items: center; color: var(--fg-2); flex: none; }
.sc-sg-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sc-sg-t b { font-weight: 500; font-size: calc(13px + var(--sc-fs)); color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-sg-t span { font-size: calc(12px + var(--sc-fs)); color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-recent { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.sc-rc { padding: 0; position: relative; }
.sc-rc .sc-dot, .sc-tabs .sc-dot { position: static; flex: none; }
.sc-status { display: inline-flex; align-items: center; gap: 8px; font-size: calc(12px + var(--sc-fs)); color: var(--fg-2); align-self: flex-start; }
.sc-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.sc-status i.warn { background: var(--orange); }
.sc-status .ico { color: var(--fg-3); }
.sc-skel { height: 44px; border-radius: 10px; background: linear-gradient(90deg, var(--sc-act) 0%, var(--hover) 50%, var(--sc-act) 100%); background-size: 200% 100%; animation: sc-sk 1.2s linear infinite; opacity: .6; flex: none; margin: 4px 0; }
@keyframes sc-sk { to { background-position: -200% 0; } }
.sc-list { padding: 4px 12px; }
.sc-li { display: flex; align-items: center; gap: 10px; padding: 12px 2px; width: 100%; text-align: left; }
.sc-li + .sc-li { border-top: 1px solid var(--border); }
.sc-li-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: calc(11px + var(--sc-fs)); color: var(--fg-3); flex: none; }
.sc-tag { font-size: calc(11px + var(--sc-fs)); color: var(--green); }
.sc-empty { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--fg-3); font-size: calc(13px + var(--sc-fs)); padding: 24px; }
.sc-empty b { color: var(--fg); font-weight: 500; }
/* tab bar */
.sc-tabs { display: flex; padding: 8px 8px 10px; background: var(--sc-sf); border-top: 1px solid var(--border); flex: none; }
.sc-tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 4px; border-radius: 10px; color: var(--fg-3); font-size: calc(11px + var(--sc-fs)); position: relative; }
.sc-tabs button.on { color: var(--fg); font-weight: 500; }
@media (hover: hover) { .sc-tabs button:hover { background: var(--hover); } }
.sc-tabs .sc-dot { position: absolute; top: 4px; left: calc(50% + 6px); }
/* messages */
.sc-me { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.sc-them { display: flex; gap: 8px; align-items: flex-start; flex: none; }
.sc-them > .sc-av-d { width: 24px; height: 24px; }
.sc-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sc-col > .sc-who { font-size: calc(12px + var(--sc-fs)); font-weight: 500; color: var(--fg-2); margin-bottom: -4px; }
.sc-bubble { padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: var(--sc-sf); border: 1px solid var(--border); font-size: calc(13px + var(--sc-fs)); line-height: 1.5; display: flex; flex-direction: column; gap: 8px; width: 100%; overflow-wrap: anywhere; }
.sc-bubble.me { width: auto; max-width: 85%; background: var(--sc-pr); color: var(--sc-on-pr); border-color: var(--sc-pr); border-radius: 14px 4px 14px 14px; }
.sc-bubble a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sc-bubble code { font-family: var(--mono); font-size: .92em; background: var(--sc-bg); border-radius: 4px; padding: 0 4px; }
.sc-bubble.me code { background: rgba(255,255,255,.14); }
.sc-code { background: var(--code-bg); color: var(--code-fg); border-radius: 8px; padding: 10px 12px; }
.sc-code pre { margin: 0; font: calc(12px + var(--sc-fs))/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.sc-quote { background: var(--sc-bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font: calc(11px + var(--sc-fs))/1.5 var(--mono); color: var(--fg-2); overflow-wrap: anywhere; }
.sc-quote .bad { color: var(--red); }
.sc-note { font-size: calc(11px + var(--sc-fs)); color: var(--fg-3); }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--sc-bg); color: var(--fg-2); font-size: calc(12px + var(--sc-fs)); font-weight: 500; line-height: normal; white-space: nowrap; }
a.sc-chip:hover, button.sc-chip:not(:disabled):hover { border-color: var(--border-strong); color: var(--fg); }
button.sc-chip { background: var(--sc-sf); }
button.sc-chip.on { background: var(--sc-pr); color: var(--sc-on-pr); border-color: var(--sc-pr); }
button.sc-chip:disabled { cursor: default; opacity: .7; }
.sc-fb > span { font-size: calc(12px + var(--sc-fs)); color: var(--fg-3); }
.sc-sys { display: flex; align-items: center; gap: 8px; font-size: calc(11px + var(--sc-fs)); color: var(--fg-3); flex: none; }
.sc-sys > i { flex: 1; height: 1px; background: var(--border-strong); }
.sc-sys > span { white-space: nowrap; }
.sc-ticket { background: var(--sc-soft); border: 1px solid var(--sc-soft-b); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.sc-ticket-h { display: flex; align-items: center; gap: 8px; color: var(--sc-soft-t); }
.sc-ticket-h b { font-weight: 500; font-size: calc(13px + var(--sc-fs)); }
.sc-ticket p { font-size: calc(12px + var(--sc-fs)); line-height: 1.5; color: var(--fg-2); }
.sc-ticket .sc-team { color: var(--fg-2); gap: 8px; }
.sc-ticket .sc-stack .sc-av-p + .sc-av-p { margin-left: -6px; }
.sc-ticket .sc-av-p { border-color: var(--sc-soft); }
.sc-typing { align-items: center; }
.sc-dots { display: inline-flex; gap: 4px; align-items: center; padding: 0 14px; height: 32px; border-radius: 999px; background: var(--sc-sf); border: 1px solid var(--border); }
.sc-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); animation: sc-dot 1.2s infinite ease-in-out; }
.sc-dots i:nth-child(2) { animation-delay: .15s; } .sc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes sc-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
/* attached context */
.sc-ctx { padding: 12px; display: flex; flex-direction: column; gap: 8px; width: 100%; border-radius: 12px; }
.sc-att { background: var(--sc-bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.sc-att-row { display: flex; align-items: center; gap: 8px; color: var(--fg-2); }
.sc-att-row .sc-sg-t b { font-size: calc(12px + var(--sc-fs)); }
.sc-att-row .sc-sg-t span { font-size: calc(11px + var(--sc-fs)); white-space: pre; }
.sc-hdrs { background: var(--code-bg); color: var(--code-fg); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 3px; font: calc(11px + var(--sc-fs))/1.35 var(--mono); }
.sc-hdrs div { display: flex; gap: 8px; }
.sc-hdrs span:first-child { width: 84px; flex: none; opacity: .55; }
.sc-hdrs span:last-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sc-hdrs .bad { color: var(--yellow); }
.sc-link { display: inline-flex; align-items: center; gap: 6px; font-size: calc(12px + var(--sc-fs)); font-weight: 500; color: var(--fg-2); align-self: flex-start; }
.sc-link span { font-weight: 400; color: var(--fg-3); }
.sc-link:hover { color: var(--fg); }
/* rating */
.sc-rate { padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sc-rate > b { font-weight: 500; font-size: calc(15px + var(--sc-fs)); }
.sc-rate .sc-row { justify-content: center; gap: 8px; }
.sc-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 18px 8px; border-radius: 12px; border: 1px solid var(--border); background: var(--sc-bg); color: var(--fg-2); font-size: calc(12px + var(--sc-fs)); font-weight: 500; min-width: 66px; }
.sc-opt:hover { border-color: var(--border-strong); }
.sc-opt.on { background: var(--sc-soft); border-color: var(--yellow); color: var(--sc-soft-t); }
.sc-rate textarea { width: 100%; resize: none; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--sc-bg); color: var(--fg); font: calc(13px + var(--sc-fs))/1.4 var(--sans); outline: none; }
.sc-rate textarea:focus { border-color: var(--border-strong); }
.sc-rate.done { flex-direction: column; gap: 6px; color: var(--green); }
.sc-rate.done b { color: var(--fg); font-size: calc(13px + var(--sc-fs)); }
.sc-rate.done span { font-size: calc(12px + var(--sc-fs)); color: var(--fg-3); }
/* composer */
.sc-composer { padding: 10px 12px 12px; background: var(--sc-sf); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; flex: none; }
.sc-input { display: flex; align-items: flex-end; gap: 6px; padding: 6px 6px 6px 12px; background: var(--sc-bg); border: 1px solid var(--border); border-radius: 14px; transition: border-color .12s; }
.sc-input.strong, .sc-input:focus-within { border-color: var(--border-strong); }
.sc-input textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: none; background: none; color: var(--fg); font: calc(13px + var(--sc-fs))/1.4 var(--sans); padding: 7px 0; max-height: 120px; }
.sc-composer > p { font-size: calc(11px + var(--sc-fs)); color: var(--fg-3); text-align: center; }
@media (max-width: 640px) {
  .sc { right: 14px; bottom: 14px; }
  .sc-panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }
  .sc.on .sc-tab { display: none; }
  html.sc-open, html.sc-open body { overflow: hidden; }
  /* 16px stops iPhones zooming the page when a field is tapped. */
  .sc-ask input, .sc-input textarea, .sc-email input, .sc-rate textarea { font-size: 16px; }
  .sc-preview { width: calc(100vw - 28px); }
}
@media (prefers-reduced-motion: reduce) { .sc-panel, .sc-nudge, .sc-preview { animation: none; } .sc-dots i, .sc-skel { animation: none; } }
@media print { .sc { display: none; } }

/* On the marketing site (site-config.js loads this file): map the site's tokens onto the names used above. */
.sc.site { --border: var(--border-app); --hover: var(--bg-hover); --active: var(--bg-active); --orange: var(--amber); --code-fg: var(--code); --ease: cubic-bezier(.2,.8,.2,1); font-size: 13px; line-height: 1.45; color: var(--fg); -webkit-font-smoothing: antialiased; }
/* Resets at zero specificity, so they never beat the widget's own rules above. */
:where(.sc.site) *, :where(.sc.site) *::before, :where(.sc.site) *::after { box-sizing: border-box; }
:where(.sc.site) :where(p, h2) { margin: 0; }
:where(.sc.site) button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; letter-spacing: inherit; font: inherit; }
:where(.sc.site) a { color: inherit; text-decoration: none; }
:where(.sc.site) :where(input, textarea) { font: inherit; }
:where(.sc.site) .ico { display: inline-block; vertical-align: middle; flex: none; }
.sc-site .toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 950; }
.sc-site .toast { display: flex; align-items: center; gap: 10px; min-width: 240px; max-width: 360px; padding: 11px 14px; border-radius: 10px; background: var(--surface); color: var(--fg); border: 1px solid var(--border-strong); box-shadow: 0 12px 30px rgba(31,28,28,.18); font: 13px/1.4 var(--sans); }
.sc-site .toast.err .ico { color: var(--red); } .sc-site .toast.ok .ico { color: var(--green); }
.sc-email { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 12px; }
.sc-email input { width: 100%; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--sc-bg); color: var(--fg); outline: none; font-size: calc(13px + var(--sc-fs)); }
.sc-email input:focus { border-color: var(--border-strong); }
.sc-email input.bad { border-color: var(--red); }
