[x-cloak] { display: none !important; }
.site-chat { position: relative; z-index: 1040; }
.site-chat-launcher { position: fixed; right: 24px; bottom: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 22px; border-radius: 30px; border: 1px solid #ffffff66; background: #3d4394; color: #fff; box-shadow: 0 7px 28px #20264f30; font-size: 14px; font-weight: 700; cursor: pointer; }
.site-chat-launcher i { font-size: 20px; }
.site-chat-panel { display: flex; flex-direction: column; position: fixed; bottom: 94px; right: 24px; width: min(390px, calc(100vw - 32px)); max-height: min(650px, calc(100dvh - 120px)); overflow: hidden; border: 1px solid #e0e3ee; border-radius: 18px; background: #fff; box-shadow: 0 18px 70px #20264f36; text-align: left; }
.site-chat-header { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #20264f; color: #fff; padding: 18px; }
.site-chat-header > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-chat-mark { color: #c9f277; font-size: 30px; }
.site-chat-header h2 { color: #fff; margin: 0 0 5px; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.site-chat-header p { color: #c8cce5; margin: 0; font-size: 11px; line-height: 1.4; }
.site-chat-controls button { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: #ffffff14; color: #fff; font-size: 23px; cursor: pointer; }
.site-chat-controls button i { font-size: 13px; }
.site-chat-log { min-height: 130px; overflow-y: auto; overscroll-behavior: contain; padding: 18px; background: #f7f8fc; }
.site-chat-message { margin: 0 0 18px; max-width: 100%; }
.site-chat-role { display: block; margin-bottom: 6px; font-size: 10px; color: #62677b; letter-spacing: .04em; }
.site-chat-message p { margin: 0; padding: 13px 15px; border: 1px solid #e3e6f0; border-radius: 4px 13px 13px; background: #fff; font-size: 13px; line-height: 1.75; color: #252946; white-space: pre-wrap; overflow-wrap: anywhere; }
.site-chat-message.from-visitor { margin-left: 28px; }
.site-chat-message.from-visitor p { background: #3d4394; color: #fff; border-color: #3d4394; border-radius: 13px 4px 13px 13px; }
.site-chat-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }
.site-chat-actions a { display: inline-block; max-width: 100%; padding: 8px 11px; border: 1px solid #d8dced; border-radius: 6px; color: #343981; background: #fff; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.site-chat-suggestions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 15px; max-height: 115px; overflow: auto; }
.site-chat-suggestions button { max-width: 100%; padding: 7px 10px; border: 1px solid #dce0ef; border-radius: 18px; background: #fff; color: #343981; font-size: 11px; line-height: 1.5; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.site-chat-form { flex: 0 0 auto; display: flex; gap: 8px; align-items: center; margin: 0; padding: 12px 15px 8px; border-top: 1px solid #e3e6f0; }
.site-chat-form input { min-width: 0; width: 100%; height: 46px; padding: 10px 12px; border: 1px solid #dce0ef; border-radius: 8px; color: #252946; background: #fff; font-size: 16px; }
.site-chat-form button { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 8px; background: #3d4394; color: #fff; cursor: pointer; }
.site-chat button:disabled { cursor: default; opacity: .5; }
.site-chat-note { flex: 0 0 auto; color: #62677b; margin: 0; padding: 0 15px 12px; font-size: 9px; line-height: 1.6; }
.site-chat-status { padding: 0; color: #62677b; font-size: 12px; }
.site-chat :is(a, button, input):focus-visible { outline: 3px solid #43c3ea; outline-offset: 2px; }
html.promotion-open .site-chat-launcher { visibility: hidden; }
@media (max-width: 600px) { .site-chat-launcher { right: 16px; bottom: 16px; } .site-chat-panel { right: 16px; bottom: 82px; max-height: calc(100dvh - 100px); } }
@media (max-height: 500px) { .site-chat-panel { bottom: 12px; max-height: calc(100dvh - 24px); } .site-chat-header { padding: 10px 14px; } .site-chat-log { min-height: 0; } .site-chat-suggestions { max-height: 60px; } .site-chat-note { display: none; } }
.site-chat-whatsapp { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 9px; min-height: 42px; margin: 2px 15px 10px; padding: 9px 12px; border: 1px solid #c5e3ce; border-radius: 7px; background: #edf8f0; color: #17633c; font-size: 12px; font-weight: 700; line-height: 1.5; }
.site-chat-whatsapp:hover, .site-chat-whatsapp:focus { color: #10512f; background: #dff1e5; }
.site-chat-whatsapp i { font-size: 18px; }
@media (max-height: 500px) { .site-chat-whatsapp { min-height: 34px; padding: 5px 10px; margin-bottom: 6px; } }
