/* Sal widget — brand tokens come from the per-site embed (CSS custom props). */
.sal-launcher{position:fixed;right:18px;bottom:18px;z-index:2147482998;display:flex;align-items:center;gap:9px;
  background:linear-gradient(180deg,var(--sal-accent,#d9a441),var(--sal-accent-deep,#c08c2c));
  color:var(--sal-accent-ink,#241a04);border:none;border-radius:999px;padding:13px 18px;font-weight:800;
  font-size:15px;font-family:inherit;box-shadow:0 8px 24px rgba(0,0,0,.28);cursor:pointer}
.sal-launcher:hover{transform:translateY(-1px)}
.sal-launcher.sal-hidden{display:none}
.sal-launcher-icon{font-size:18px;line-height:1}
@media(max-width:480px){.sal-launcher-label{display:none}.sal-launcher{padding:14px}}

.sal-teaser{position:fixed;right:18px;bottom:78px;z-index:2147482997;max-width:260px;background:#fff;color:#232c38;
  border:1px solid #e5e1d8;border-radius:14px;padding:12px 34px 12px 14px;font-size:13.5px;line-height:1.45;
  box-shadow:0 10px 30px rgba(0,0,0,.18);cursor:pointer}
.sal-teaser-x{position:absolute;top:6px;right:8px;background:none;border:none;font-size:13px;cursor:pointer;color:#5a6472}

.sal-panel{position:fixed;right:18px;bottom:18px;z-index:2147483000;width:380px;max-width:calc(100vw - 24px);
  height:560px;max-height:calc(100dvh - 40px);display:flex;flex-direction:column;background:#fff;border-radius:18px;
  overflow:hidden;box-shadow:0 24px 64px rgba(0,0,0,.35);font-family:inherit}
@media(max-width:480px){.sal-panel{right:0;bottom:0;top:auto;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;
  border-radius:0}}
/* phones: keep the launcher/teaser clear of theme call bars + WhatsApp bubbles */
@media(max-width:767px){.sal-launcher{bottom:104px;right:12px}.sal-teaser{bottom:164px;right:12px}}
/* lock the page while the chat sheet is open (iOS-safe) */
body.sal-open{position:fixed !important;width:100% !important;overflow:hidden !important}

.sal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 16px;
  background:var(--sal-navy,#0e2a52);color:#fff}
.sal-head-title{font-weight:800;font-size:15px}
.sal-head-sub{font-size:12px;opacity:.85}
.sal-close{background:none;border:none;color:#fff;font-size:16px;cursor:pointer;padding:6px 8px;border-radius:8px}
.sal-close:hover{background:rgba(255,255,255,.12)}

.sal-scroll{flex:1;overflow-y:auto;padding:14px 12px;background:var(--sal-paper,#f7f6f2);display:flex;flex-direction:column;gap:10px}
.sal-msg{display:flex}
.sal-msg-user{justify-content:flex-end}
.sal-bubble{max-width:82%;padding:10px 13px;border-radius:14px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.sal-msg-assistant .sal-bubble{background:#fff;border:1px solid #e5e1d8;color:#232c38;border-bottom-left-radius:5px}
.sal-msg-user .sal-bubble{background:var(--sal-navy,#0e2a52);color:#fff;border-bottom-right-radius:5px}
.sal-typing .sal-bubble{color:#5a6472;letter-spacing:2px}

.sal-chips{display:flex;flex-wrap:wrap;gap:7px;padding:8px 12px 2px;background:var(--sal-paper,#f7f6f2)}
.sal-chips:empty{display:none}
.sal-chip{background:#fff;border:1.5px solid var(--sal-accent-deep,#c08c2c);color:#232c38;border-radius:999px;
  padding:7px 13px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}
.sal-chip:hover{background:var(--sal-accent,#d9a441);color:var(--sal-accent-ink,#241a04)}

.sal-inputrow{display:flex;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #eee}
.sal-input{flex:1;resize:none;border:1.5px solid #d9d4c8;border-radius:12px;padding:10px 12px;font-size:14.5px;
  font-family:inherit;line-height:1.4;max-height:96px}
.sal-input:focus{outline:2px solid var(--sal-blue,#4a9fe8);outline-offset:1px}
.sal-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.sal-send{background:linear-gradient(180deg,var(--sal-accent,#d9a441),var(--sal-accent-deep,#c08c2c));
  color:var(--sal-accent-ink,#241a04);border:none;border-radius:12px;padding:0 18px;font-weight:800;font-size:14px;
  cursor:pointer;font-family:inherit}
.sal-send:disabled{opacity:.5;cursor:default}

.sal-foot{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:7px 14px 9px;background:#fff;
  font-size:11.5px;color:#5a6472}
.sal-clear{background:none;border:none;color:#5a6472;text-decoration:underline;font-size:11.5px;cursor:pointer;font-family:inherit}
.sal-call{color:var(--sal-blue-deep,#2d7fd3);font-weight:700;text-decoration:none}

@media (prefers-reduced-motion: reduce){.sal-launcher:hover{transform:none}}
