Spaces:
Running
Running
| /* Synderesis Customer Agent embed — matches marketing design system */ | |
| :host, .syn-root { | |
| --product-canvas: #eaeff6; | |
| --product-surface: rgba(255, 255, 255, 0.92); | |
| --product-surface-raised: #fff; | |
| --product-ink: #11203B; | |
| --product-ink-muted: #4a5d78; | |
| --product-primary: #4a6fb0; | |
| --product-primary-strong: #2e4a86; | |
| --product-accent: #bf9d57; | |
| --product-border: rgba(22, 44, 84, 0.12); | |
| --product-focus: #bf9d57; | |
| --product-danger: #7a2a2a; | |
| --product-success: #1f5b3a; | |
| --product-font-display: "Fraunces", Georgia, "Times New Roman", serif; | |
| --product-font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; | |
| --product-radius-control: 12px; | |
| --product-radius-panel: 18px; | |
| --product-target-min: 44px; | |
| --product-motion-fast: 160ms; | |
| --syn-ink: #11203B; | |
| --syn-ink-2: #4a5d78; | |
| --syn-ink-3: #7c8aa1; | |
| --syn-bg: #eaeff6; | |
| --syn-blue: #4a6fb0; | |
| --syn-blue-deep: #2e4a86; | |
| --syn-blue-glow: #7d9fdb; | |
| --syn-gold: #bf9d57; | |
| --syn-gold-soft: #dcc594; | |
| --syn-glass: rgba(255, 255, 255, 0.92); | |
| --syn-glass-line: rgba(255, 255, 255, 0.85); | |
| --syn-stroke: rgba(22, 44, 84, 0.12); | |
| --syn-shadow: 0 18px 50px -22px rgba(20, 40, 80, 0.45); | |
| --syn-serif: "Fraunces", Georgia, "Times New Roman", serif; | |
| --syn-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; | |
| --syn-r: 18px; | |
| all: initial; | |
| font-family: var(--syn-sans); | |
| color: var(--syn-ink); | |
| line-height: 1.5; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| .syn-root * { box-sizing: border-box; } | |
| .syn-pos-right .syn-launcher, | |
| .syn-pos-right .syn-panel { right: 22px; left: auto; } | |
| .syn-pos-left .syn-launcher, | |
| .syn-pos-left .syn-panel { left: 22px; right: auto; } | |
| .syn-launcher { | |
| position: fixed; | |
| z-index: 2147483000; | |
| right: 22px; | |
| bottom: 22px; | |
| min-width: 58px; | |
| height: 58px; | |
| padding: 0 16px; | |
| border: none; | |
| border-radius: 16px; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| color: #fff; | |
| background: linear-gradient(180deg, var(--syn-blue), var(--syn-blue-deep)); | |
| box-shadow: 0 14px 30px -12px rgba(46, 74, 134, 0.75), 0 0 0 4px rgba(191, 157, 87, 0.18); | |
| transition: transform 0.2s ease, box-shadow 0.2s ease; | |
| } | |
| .syn-launcher:not(.syn-launcher-wide) { width: 58px; padding: 0; } | |
| .syn-launcher-label { font-size: 0.88rem; font-weight: 600; white-space: nowrap; } | |
| .syn-sr-only { | |
| position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; | |
| overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; | |
| } | |
| .syn-launcher:hover { transform: translateY(-2px); } | |
| .syn-launcher:focus-visible { | |
| outline: 2px solid var(--syn-gold); | |
| outline-offset: 3px; | |
| } | |
| .syn-launcher svg { width: 24px; height: 24px; } | |
| .syn-panel { | |
| position: fixed; | |
| z-index: 2147483001; | |
| right: 22px; | |
| bottom: 92px; | |
| width: min(392px, calc(100vw - 28px)); | |
| height: min(620px, calc(100vh - 120px)); | |
| display: flex; | |
| flex-direction: column; | |
| background: | |
| radial-gradient(120% 90% at 82% 0%, rgba(220, 197, 148, 0.35) 0%, rgba(220, 197, 148, 0) 42%), | |
| radial-gradient(100% 80% at 10% 10%, rgba(125, 159, 219, 0.22) 0%, rgba(125, 159, 219, 0) 50%), | |
| linear-gradient(165deg, #f5f8fc 0%, #e8eef6 100%); | |
| border: 1px solid var(--syn-stroke); | |
| border-radius: var(--syn-r); | |
| box-shadow: var(--syn-shadow); | |
| overflow: hidden; | |
| opacity: 0; | |
| transform: translateY(12px) scale(0.98); | |
| pointer-events: none; | |
| transition: opacity 0.22s ease, transform 0.22s ease; | |
| } | |
| .syn-panel.open { | |
| opacity: 1; | |
| transform: none; | |
| pointer-events: auto; | |
| } | |
| .syn-top { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 14px 16px; | |
| border-bottom: 1px solid var(--syn-stroke); | |
| background: linear-gradient(180deg, rgba(74, 111, 176, 0.14), rgba(255, 255, 255, 0.35)); | |
| backdrop-filter: blur(10px); | |
| } | |
| .syn-av { | |
| width: 38px; | |
| height: 38px; | |
| border-radius: 11px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: #fff; | |
| font-family: var(--syn-serif); | |
| font-weight: 500; | |
| font-size: 1.05rem; | |
| background: linear-gradient(160deg, var(--syn-gold-soft), var(--syn-gold)); | |
| flex: none; | |
| } | |
| .syn-name { | |
| font-weight: 600; | |
| font-size: 0.95rem; | |
| color: var(--syn-ink); | |
| letter-spacing: -0.01em; | |
| } | |
| .syn-status { | |
| font-size: 0.72rem; | |
| color: var(--syn-ink-3); | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| margin-top: 2px; | |
| } | |
| .syn-status::before { | |
| content: ""; | |
| width: 6px; | |
| height: 6px; | |
| border-radius: 50%; | |
| background: #54b37e; | |
| box-shadow: 0 0 0 3px rgba(84, 179, 126, 0.2); | |
| } | |
| .syn-badge { | |
| margin-left: auto; | |
| font-size: 0.6rem; | |
| letter-spacing: 0.1em; | |
| text-transform: uppercase; | |
| color: var(--syn-ink-3); | |
| border: 1px solid var(--syn-stroke); | |
| padding: 4px 8px; | |
| border-radius: 7px; | |
| background: rgba(255, 255, 255, 0.55); | |
| } | |
| .syn-close { | |
| margin-left: 6px; | |
| border: none; | |
| background: transparent; | |
| color: var(--syn-ink-2); | |
| width: var(--product-target-min); | |
| height: var(--product-target-min); | |
| border-radius: 8px; | |
| cursor: pointer; | |
| font-size: 1.2rem; | |
| line-height: 1; | |
| } | |
| .syn-close:hover { background: rgba(22, 44, 84, 0.06); color: var(--syn-ink); } | |
| .syn-msgs { | |
| flex: 1; | |
| overflow-y: auto; | |
| padding: 18px 16px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| scroll-behavior: smooth; | |
| } | |
| .syn-msgs::-webkit-scrollbar { width: 8px; } | |
| .syn-msgs::-webkit-scrollbar-thumb { | |
| background: rgba(22, 44, 84, 0.16); | |
| border-radius: 8px; | |
| } | |
| .syn-msg { | |
| display: flex; | |
| gap: 8px; | |
| max-width: 92%; | |
| } | |
| .syn-msg.bot { align-self: flex-start; } | |
| .syn-msg.me { | |
| align-self: flex-end; | |
| flex-direction: row-reverse; | |
| } | |
| .syn-bub { | |
| padding: 10px 14px; | |
| border-radius: 15px; | |
| font-size: 0.92rem; | |
| line-height: 1.52; | |
| white-space: pre-wrap; | |
| word-break: break-word; | |
| } | |
| .syn-msg.bot .syn-bub { | |
| background: rgba(255, 255, 255, 0.78); | |
| border: 1px solid rgba(255, 255, 255, 0.9); | |
| color: var(--syn-ink); | |
| border-bottom-left-radius: 5px; | |
| box-shadow: 0 6px 18px -14px rgba(20, 40, 80, 0.4); | |
| } | |
| .syn-msg.me .syn-bub { | |
| background: linear-gradient(180deg, var(--syn-blue), var(--syn-blue-deep)); | |
| color: #fff; | |
| border-bottom-right-radius: 5px; | |
| } | |
| .syn-miniav { | |
| flex: none; | |
| width: 26px; | |
| height: 26px; | |
| border-radius: 8px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 0.78rem; | |
| color: #fff; | |
| background: linear-gradient(160deg, var(--syn-gold-soft), var(--syn-gold)); | |
| font-family: var(--syn-serif); | |
| } | |
| .syn-typing { | |
| display: flex; | |
| gap: 4px; | |
| padding: 12px 14px; | |
| align-items: center; | |
| } | |
| .syn-typing span { | |
| width: 7px; | |
| height: 7px; | |
| border-radius: 50%; | |
| background: var(--syn-blue); | |
| opacity: 0.5; | |
| animation: syn-bounce 1.2s infinite; | |
| } | |
| .syn-typing span:nth-child(2) { animation-delay: 0.18s; } | |
| .syn-typing span:nth-child(3) { animation-delay: 0.36s; } | |
| @keyframes syn-bounce { | |
| 0%, 80%, 100% { transform: translateY(0); opacity: 0.45; } | |
| 40% { transform: translateY(-4px); opacity: 1; } | |
| } | |
| .syn-chips { | |
| display: flex; | |
| gap: 8px; | |
| flex-wrap: wrap; | |
| padding: 0 16px 10px; | |
| } | |
| .syn-chip { | |
| border: 1px solid var(--syn-stroke); | |
| background: rgba(255, 255, 255, 0.7); | |
| color: var(--syn-ink-2); | |
| border-radius: 999px; | |
| padding: 7px 12px; | |
| font-size: 0.78rem; | |
| font-family: var(--syn-sans); | |
| cursor: pointer; | |
| transition: background 0.15s, color 0.15s, border-color 0.15s; | |
| } | |
| .syn-chip:hover { | |
| color: var(--syn-blue-deep); | |
| border-color: rgba(46, 74, 134, 0.28); | |
| background: #fff; | |
| } | |
| .syn-composer { | |
| display: flex; | |
| gap: 8px; | |
| align-items: flex-end; | |
| padding: 12px 14px 14px; | |
| border-top: 1px solid var(--syn-stroke); | |
| background: rgba(255, 255, 255, 0.55); | |
| } | |
| .syn-composer textarea { | |
| flex: 1; | |
| resize: none; | |
| border: 1px solid var(--syn-stroke); | |
| border-radius: 12px; | |
| padding: 10px 12px; | |
| font: inherit; | |
| font-size: 0.92rem; | |
| color: var(--syn-ink); | |
| background: #fff; | |
| min-height: 44px; | |
| max-height: 110px; | |
| outline: none; | |
| } | |
| .syn-composer textarea:focus { | |
| border-color: rgba(46, 74, 134, 0.35); | |
| box-shadow: 0 0 0 3px rgba(74, 111, 176, 0.12); | |
| } | |
| .syn-send { | |
| width: 44px; | |
| height: 44px; | |
| border: none; | |
| border-radius: 12px; | |
| cursor: pointer; | |
| color: #fff; | |
| background: linear-gradient(180deg, var(--syn-blue), var(--syn-blue-deep)); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| flex: none; | |
| box-shadow: 0 10px 18px -12px rgba(46, 74, 134, 0.8); | |
| } | |
| .syn-send:disabled { opacity: 0.55; cursor: not-allowed; } | |
| .syn-send svg { width: 18px; height: 18px; } | |
| .syn-foot { | |
| padding: 0 14px 10px; | |
| font-size: 0.68rem; | |
| color: var(--syn-ink-3); | |
| text-align: center; | |
| } | |
| .syn-foot a { | |
| color: var(--syn-blue-deep); | |
| text-decoration: none; | |
| font-weight: 500; | |
| } | |
| .syn-foot a:hover { text-decoration: underline; } | |
| .syn-escalate { | |
| margin: 0 16px 10px; | |
| padding: 12px; | |
| border-radius: 12px; | |
| border: 1px solid rgba(191, 157, 87, 0.35); | |
| background: rgba(255, 250, 238, 0.75); | |
| display: none; | |
| } | |
| .syn-escalate.show:not([hidden]) { display: block; } | |
| .syn-escalate[hidden] { display: none ; } | |
| .syn-escalate p { | |
| font-size: 0.82rem; | |
| color: var(--syn-ink-2); | |
| margin: 0 0 8px; | |
| } | |
| .syn-escalate input, | |
| .syn-escalate textarea { | |
| width: 100%; | |
| border: 1px solid var(--syn-stroke); | |
| border-radius: 10px; | |
| padding: 8px 10px; | |
| font: inherit; | |
| font-size: 0.85rem; | |
| margin-bottom: 8px; | |
| background: #fff; | |
| color: var(--syn-ink); | |
| } | |
| .syn-escalate-actions { | |
| display: flex; | |
| gap: 8px; | |
| flex-wrap: wrap; | |
| } | |
| .syn-btn { | |
| border: none; | |
| border-radius: 10px; | |
| padding: 8px 12px; | |
| font: inherit; | |
| font-size: 0.82rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| min-height: var(--product-target-min); | |
| } | |
| .syn-btn-primary { | |
| color: #fff; | |
| background: linear-gradient(180deg, var(--syn-blue), var(--syn-blue-deep)); | |
| } | |
| .syn-btn-ghost { | |
| color: var(--syn-ink); | |
| background: rgba(255, 255, 255, 0.8); | |
| border: 1px solid var(--syn-stroke); | |
| } | |
| @media (max-width: 480px) { | |
| .syn-launcher { right: 14px; bottom: 14px; } | |
| .syn-panel { | |
| right: 10px; | |
| left: 10px; | |
| bottom: 80px; | |
| width: auto; | |
| height: min(70vh, 620px); | |
| } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .syn-root *, .syn-root *::before, .syn-root *::after { scroll-behavior: auto ; transition-duration: .01ms ; animation-duration: .01ms ; } | |
| } | |
| @media (pointer: coarse) { | |
| .syn-root button, | |
| .syn-root textarea, | |
| .syn-root a { min-height: var(--product-target-min); } | |
| } | |
| .syn-root, | |
| .syn-panel, | |
| .syn-msgs { min-width: 0; overflow-wrap: anywhere; } | |