/* Customer-facing messenger. Scoped to the floating widget. */
.lc-widget{--lc-ink:#203449;--lc-muted:#7b8da1;--lc-line:#e6ecf3;--lc-orange:#ff7825;right:24px;bottom:22px;font-family:Manrope,Arial,sans-serif}.lc-widget .lc-launcher{background:#18364c;border:1px solid #284a61;border-radius:18px;min-height:54px;padding:0 20px;gap:10px;font-size:12px;box-shadow:0 8px 24px #173b5130;transition:transform .2s,box-shadow .2s,background .2s}.lc-widget .lc-launcher:hover{background:#214a61;box-shadow:0 12px 30px #173b5140}.lc-widget .lc-launcher[aria-expanded=true]{background:#fff;color:#28465e;border-color:#dfe8ef;box-shadow:0 4px 20px #173b5118}.lc-widget .lc-panel{width:390px;height:min(690px,calc(100dvh - 115px));max-height:calc(100dvh - 115px);bottom:68px;min-height:310px;border:1px solid #e3eaf2;border-radius:22px;box-shadow:0 22px 65px #18344e30,0 2px 8px #18344e0a;animation:messenger-open .24s cubic-bezier(.2,.8,.2,1);transform-origin:bottom right}.lc-widget .lc-header{padding:18px 17px;background:linear-gradient(115deg,#18374d,#244f64);gap:11px;position:relative;border-bottom:1px solid #ffffff14}.lc-widget .lc-header:after{content:'';position:absolute;bottom:0;left:18px;width:40px;height:3px;border-radius:3px;background:#ff8b43}.lc-widget .lc-header .lc-mark{width:43px;height:43px;border-radius:14px;background:#ffffffed;border:2px solid #ffffff30;box-shadow:0 3px 9px #112c4030}.lc-widget [data-chat-team-avatar]{width:39px;height:39px;border-radius:11px}.lc-widget .lc-brand-label{font-size:8px;letter-spacing:1.8px;font-weight:600;color:#a9c7d7;display:block;margin-bottom:3px}.lc-widget .lc-header h2{font-size:14px;font-weight:700;letter-spacing:-.2px}.lc-widget .lc-header p{font-size:10px;color:#b9d3df;margin-top:4px;gap:5px}.lc-widget .lc-header p i{background:#96a9b4;width:5px;height:5px}.lc-widget .lc-header p i.is-online{background:#64d4b0;box-shadow:0 0 0 3px #64d4b018}.lc-widget .lc-header .chat-sound-button{border:1px solid #ffffff25;background:#ffffff08;color:#d4e3ec;font-size:9px;padding:7px 8px;border-radius:9px;max-width:64px;white-space:normal;line-height:1.4}.lc-widget .lc-icon-button{min-width:29px;min-height:29px;border:0;background:#ffffff0a;border-radius:9px;color:#c8dce5;padding:6px;margin-left:0}.lc-widget .lc-icon-button:hover{background:#ffffff18}.lc-widget .lc-scroll{background:#f4f7fb;background-image:radial-gradient(#bacada40 .55px,transparent .55px);background-size:12px 12px;padding:21px 17px;scrollbar-width:thin;scrollbar-color:#c9d8e5 transparent}.lc-widget .lc-welcome{padding:10px 3px 18px}.lc-widget .lc-eyebrow{color:#53918c;font-size:9px;letter-spacing:1.5px}.lc-widget .lc-welcome h3{font-size:29px;font-weight:700;letter-spacing:-1px;line-height:1.2;color:#20384e;margin:12px 0}.lc-widget .lc-welcome p{font-size:12px;color:#7c8fa3;line-height:1.8}.lc-widget .lc-quick-actions{display:flex;gap:7px;margin:20px 0 0;flex-wrap:wrap}.lc-widget .lc-quick-actions button{background:#fff;color:#48667e;font-size:10px;border:1px solid #dce7ef;border-radius:9px;padding:9px 11px;box-shadow:0 2px 5px #25455d04;transition:background .16s,transform .16s}.lc-widget .lc-quick-actions button:hover{background:#edf8f4;border-color:#b5d8cc;transform:translateY(-1px)}.lc-widget .lc-welcome-note{border-top:1px solid #e1e9f0;padding-top:15px;margin-top:18px;color:#8093a5;font-size:10px;line-height:1.6}.lc-widget .lc-mini-icon{background:#e4efed;color:#3d8c7c;border-radius:8px;flex-shrink:0}.lc-widget .lc-messages{gap:13px}.lc-widget .lc-message{max-width:88%;animation:messenger-message .18s ease-out}.lc-widget .lc-message-meta{font-size:9px;color:#8a9aae;gap:6px;margin:0 2px 5px;line-height:1.5}.lc-widget .chat-person-photo{width:22px;height:22px;flex-basis:22px;border:1px solid #fff;box-shadow:0 1px 4px #12365414}.lc-widget .lc-bubble{background:#fff;border:1px solid #e1e9f2;color:#324b62;border-radius:13px 13px 13px 4px;padding:10px 13px;font-size:12px;line-height:1.65;box-shadow:0 2px 5px #243f5505}.lc-widget .lc-message.visitor .lc-bubble{background:#234860;border-color:#234860;color:#fff;border-radius:13px 13px 4px 13px;box-shadow:0 3px 8px #22486115}.lc-widget .lc-message.system .lc-bubble{background:transparent;border:0;box-shadow:none;color:#8c9bad;font-size:9px;padding:2px 0}.lc-widget .chat-files{max-width:258px;margin-top:6px;gap:6px}.lc-widget .chat-file{border-color:#dde7ef;border-radius:11px;box-shadow:0 2px 7px #28445d05;transition:border-color .15s,box-shadow .15s;position:relative}.lc-widget .chat-file:hover{border-color:#9dbfcd;box-shadow:0 3px 12px #28445d10}.lc-widget .chat-file:has(.chat-file-symbol){display:grid;grid-template-columns:39px minmax(0,1fr);align-items:center;padding:9px;gap:4px}.lc-widget .chat-file-symbol{display:grid;place-items:center;padding:0;width:34px;height:39px;border-radius:9px;background:#eef4f9;color:#4b8ba0;font-size:20px}.lc-widget .chat-file-copy{padding:9px 11px;gap:3px}.lc-widget .chat-file:has(.chat-file-symbol) .chat-file-copy{padding:2px 3px}.lc-widget .chat-file-copy strong{font-size:10px;color:#3e576b;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.lc-widget .chat-file-copy small{font-size:9px;color:#92a0af}.lc-widget .chat-file-preview{max-height:145px;background:#eaf0f5}.lc-widget .lc-compose{padding:12px 14px 9px;background:#fff;border-top:1px solid #e6ecf3;max-height:48%;overflow-y:auto;position:relative}.lc-widget .lc-input-wrap{border:1px solid #e0e8f0;background:#f8fafd;border-radius:14px;padding:11px 51px 10px 12px;transition:border-color .18s,box-shadow .18s}.lc-widget .lc-input-wrap:focus-within{background:#fff;border-color:#85bcbd;box-shadow:0 0 0 3px #308e9310}.lc-widget .lc-input-wrap textarea{min-height:37px;font-size:12px;line-height:1.6;color:#304d64}.lc-widget .lc-input-wrap textarea::placeholder{color:#94a4b4}.lc-widget .lc-input-wrap button{width:33px;height:33px;min-height:33px;border-radius:11px;right:9px;bottom:10px;background:#ff802f;color:#fff;box-shadow:0 3px 8px #ff802f25;transition:transform .16s,background .16s}.lc-widget .lc-input-wrap button:not(:disabled):hover{background:#ee6e20;transform:translateY(-1px)}.lc-widget .chat-file-controls{margin-top:6px!important;min-height:26px;padding-right:63px;gap:5px}.lc-widget .chat-attach-button{background:transparent;border:0;color:#8092a5;padding:5px 3px;gap:5px;font-size:10px;line-height:1.5}.lc-widget .chat-attach-button:hover{color:#246576}.lc-widget .chat-attach-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.lc-widget .chat-file-controls [data-chat-upload-status]{font-size:9px;color:#6c938c}.lc-widget .lc-file-guide{position:relative;margin:0;font-size:9px;color:#8c9eb0}.lc-widget .lc-file-guide summary{position:absolute;right:0;bottom:6px;cursor:pointer;font-size:9px;list-style:none;padding:3px 0}.lc-widget .lc-file-guide[open]{padding-top:2px}.lc-widget .lc-file-guide[open] summary{position:static;text-align:right}.lc-widget .lc-file-guide p{margin:4px 0 0;font-size:10px;color:#879aab;line-height:1.7}.lc-widget .lc-compose-hint{font-size:9px;color:#a0aebd;margin:2px 2px 0}.lc-widget .chat-selected-file{background:#f5f8fb;border-color:#e4ebf3;border-radius:9px}.lc-widget .lc-identity{border:0;padding:0;margin:0 0 9px}.lc-widget .lc-identity summary{font-size:10px;color:#8799ac}.lc-widget .lc-identity summary span:first-child{font-size:9px;color:#a1afbd}.lc-widget .lc-identity input{border-color:#e0e8f1;background:#fafcfe;color:#3b5368}.lc-widget .lc-footer{background:#fafcfe;border-color:#edf1f6;padding:9px 14px;gap:8px}.lc-widget .lc-footer p{font-size:9px;color:#a1aebb;line-height:1.5}.lc-widget .lc-footer a{color:#718a9c;text-decoration:none}.lc-widget .lc-footer button{font-size:9px;color:#7d93a6;background:transparent;border-color:#e5ecf3;border-radius:7px;padding:5px 8px}.lc-widget .lc-typing{display:flex;align-items:center;gap:8px;padding:9px 19px;background:#f4f7fb;color:#889bad;border-top:1px solid #edf1f5}.lc-widget .lc-typing>span{display:flex;gap:3px}.lc-widget .lc-typing i{width:4px;height:4px;border-radius:50%;background:#64a59a;animation:messenger-dot 1.1s ease-in-out infinite}.lc-widget .lc-typing i:nth-child(2){animation-delay:.13s}.lc-widget .lc-typing i:nth-child(3){animation-delay:.26s}.lc-widget .lc-typing small{font-size:10px}.lc-widget .lc-ended{background:#f6f9fc;border-color:#e3ebf2;color:#8c9bae}.lc-widget .lc-ended button{background:#234860;border-radius:10px}.lc-widget .lc-history{background:#ffffffd9;border-color:#e0e8f1;color:#8397aa;font-size:10px;border-radius:8px}.lc-widget .lc-connection{font-size:10px;line-height:1.5}.lc-widget .lc-end-confirm{flex-wrap:wrap;font-size:10px}.lc-widget :focus-visible{outline:2px solid #51ac9b;outline-offset:3px}
@keyframes messenger-open{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@keyframes messenger-message{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes messenger-dot{0%,70%,100%{transform:translateY(0);opacity:.5}35%{transform:translateY(-3px);opacity:1}}
@media(max-width:480px){.lc-widget{right:14px;bottom:max(12px,env(safe-area-inset-bottom))}.lc-widget .lc-launcher{min-height:48px;padding:0 16px;border-radius:16px;font-size:11px}.lc-widget .lc-panel{position:fixed;inset:auto 10px calc(72px + env(safe-area-inset-bottom)) 10px;width:auto;height:min(680px,calc(100dvh - 94px - env(safe-area-inset-bottom)));max-height:calc(100dvh - 94px - env(safe-area-inset-bottom));min-height:240px;border-radius:19px}.lc-widget .lc-header{padding:15px 13px;gap:9px}.lc-widget .lc-header h2{font-size:13px}.lc-widget .lc-header .lc-mark{width:39px;height:39px}.lc-widget [data-chat-team-avatar]{width:35px;height:35px}.lc-widget .lc-header .chat-sound-button{font-size:9px;padding:6px}.lc-widget .lc-scroll{padding:17px 14px}.lc-widget .lc-compose{padding:10px 12px 7px}.lc-widget .lc-welcome h3{font-size:26px}.lc-widget .lc-compose-hint{display:none}.lc-widget .lc-footer{padding:8px 12px}.lc-widget .lc-message{max-width:90%}}
@media(prefers-reduced-motion:reduce){.lc-widget *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
