:root,:host{color:#182337;font-family:Inter,system-ui,-apple-system,sans-serif}body{background:#edf2f7;margin:0}.chat-page{box-sizing:border-box;place-items:center;min-height:100dvh;padding:16px;display:grid}.chat-page .chat{width:min(100%,660px);height:min(730px,100dvh - 32px)}.chat-widget{z-index:2147483000;position:fixed;bottom:16px;right:16px}.chat-widget .chat{width:min(390px,100vw - 32px);height:min(580px,100dvh - 32px)}.chat,.chat-launcher{--chat-accent:#1677ff}.chat,.chat *,.chat-launcher{box-sizing:border-box}.chat{color:#182337;background:#fff;border:1px solid #d5dee9;border-radius:18px;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 38px #13264124}.chat-header{border-top:5px solid var(--chat-accent);border-bottom:1px solid #dfe5ef;justify-content:space-between;align-items:center;min-height:60px;padding:12px 16px;display:flex}.chat-header>div{align-items:center;gap:10px;display:flex}.chat-header h1{overflow-wrap:anywhere;margin:0;font-size:18px}.chat-header img{object-fit:contain;border-radius:8px;width:32px;height:32px}.chat button,.chat-launcher{color:#fff;min-height:38px;font:inherit;cursor:pointer;background:#1b4d9b;border:0;border-radius:9px;padding:9px 13px;font-weight:650}.chat button:disabled{opacity:.55;cursor:default}.chat button.chat-close{color:#33445f;background:#edf2f7;padding:2px 10px;font-size:23px}.chat-initial{padding:18px}.chat-initial .chat-close{align-self:flex-end}.chat-controls{color:#465a73;border-bottom:1px solid #e8edf4;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 14px;font-size:13px;display:flex}.chat-controls select{color:#253a58;font:inherit;background:#fff;border:1px solid #c6d0df;border-radius:6px;padding:6px}.chat-messages{background:#f7f9fc;flex-direction:column;flex:1;gap:14px;margin:0;padding:16px;list-style:none;display:flex;overflow:auto}.chat-messages li{white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start;max-width:87%;font-size:15px;line-height:1.42}.chat-messages .chat-mine{align-self:flex-end}.chat-messages li div,.chat-messages .chat-welcome{background:#e8eff8;border-radius:11px;padding:9px 12px}.chat-messages .chat-mine div{background:#deebff}.chat-messages small{color:#53637a;margin-inline:4px}.chat-resolution fieldset{border:1px solid #c6d0df;border-radius:8px;gap:6px;margin:6px 0 0;display:grid}.chat-resolution label{align-items:baseline;gap:6px;display:flex}.chat-resolution button{justify-self:start}.chat-bottom{border-top:1px solid #dfe5ef;padding:12px}.chat-bottom p{margin:0 0 8px;font-size:14px}.chat-bottom form{align-items:end;gap:8px;display:flex}.chat-bottom textarea{resize:vertical;color:#182337;min-width:0;font:inherit;border:1px solid #bcc9dc;border-radius:8px;flex:1;padding:8px}.chat-launcher{border-radius:20px;box-shadow:0 6px 18px #13264133}.chat-attachment-upload{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chat-attachment-upload:not(:empty){margin-bottom:6px}.chat-attachment-upload p{margin:0}.chat-attachment img,.chat-attachment video{max-width:min(100%,360px);max-height:260px;display:block}.chat-callback{border-top:1px solid #e2e8f0;max-height:40vh;padding:12px 16px;font-size:.9rem;overflow:auto}.chat-callback h2{margin:0 0 8px;font-size:1rem}.chat-callback form{gap:8px;display:grid}.chat-callback label{gap:4px;display:grid}.chat-callback input,.chat-callback select{box-sizing:border-box;width:100%;min-width:0;padding:8px}.chat-callback p{margin:6px 0}
