/* Chat da Luah (site da plataforma). Mesmo visual do chat dos sites das empresas. */
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-chat { position: fixed; right: 18px; bottom: 18px; z-index: 60; font-family: 'Inter', system-ui, sans-serif; }
.st-chat__launcher { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .16); padding: 6px 18px 6px 6px; border-radius: 999px; color: #fff; text-align: left;
    background: linear-gradient(135deg, #2a1b6e, #1b1252); box-shadow: 0 10px 28px rgba(27, 18, 82, .45), 0 2px 6px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .14); transition: transform .18s ease; }
.st-chat__launcher:hover { transform: translateY(-2px); }
.st-chat__launcher:focus-visible, .st-chat__close:focus-visible, .st-chat__send:focus-visible, .st-chat__input:focus-visible, .st-chat__chips button:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 2px; }
.st-chat__launcher-text { display: grid; line-height: 1.15; }
.st-chat__launcher-text strong { font-size: .92rem; }
.st-chat__launcher-text small { font-size: .68rem; color: #c4b5fd; }
.st-chat.is-open .st-chat__launcher { display: none; }
.st-chat__panel { width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 36px)); display: flex; flex-direction: column; background: #fff; color: #1f2937; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .5); border: 1px solid rgba(15, 23, 42, .08); }
.st-chat__panel[hidden] { display: none; }
.st-chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #fff; background: linear-gradient(135deg, #2a1b6e, #1b1252); }
.st-chat__head div { display: grid; line-height: 1.2; min-width: 0; flex: 1; }
.st-chat__head strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-chat__head small { font-size: .72rem; color: #c4b5fd; }
.st-chat__close { background: transparent; border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; }
.st-chat__close:hover { background: rgba(255, 255, 255, .15); }
.st-chat__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.st-chat__msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.st-chat__msg--assistant { align-self: flex-start; background: #fff; border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; }
.st-chat__msg--user { align-self: flex-end; background: var(--s-primary, #4c1d95); color: var(--s-on-primary, #fff); border-bottom-right-radius: 4px; }
.st-chat__msg.is-typing { opacity: .65; font-style: italic; }
.st-chat__chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 14px; background: #f8fafc; }
.st-chat__chips[hidden] { display: none; }
.st-chat__chips button { border: 1px solid #c4b5fd; background: #fff; color: #4c1d95; border-radius: 999px; padding: 6px 12px; font-size: .8rem; cursor: pointer; }
.st-chat__chips button:hover { background: #f5f3ff; }
.st-chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e5e7eb; background: #fff; }
.st-chat__input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid #d1d5db; border-radius: 999px; font: inherit; font-size: .92rem; }
.st-chat__send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #7c3aed, #4c1d95); color: #fff; cursor: pointer; }
.st-chat__note { margin: 0; padding: 0 14px 10px; font-size: .68rem; color: #6b7280; background: #fff; }
@media (max-width: 520px) {
    .st-chat { right: 10px; bottom: 10px; }
    .st-chat__launcher-text { display: none; }
    .st-chat__launcher { padding: 6px; }
    .st-chat__panel { width: calc(100vw - 20px); height: calc(100vh - 20px); }
}
@media (prefers-reduced-motion: reduce) { .st-chat__launcher { transition: none; } }
