.support-chat-widget{--chat-header-offset:68px;position:fixed;top:var(--chat-header-offset);right:1rem;width:min(390px,calc(100vw - 2rem));height:calc(100vh - var(--chat-header-offset) - .8rem);z-index:1200;display:flex;flex-direction:column}.support-chat-widget.is-collapsed{top:auto;bottom:1rem;width:auto;height:auto}.floating-buttons .support-chat-widget.is-collapsed{position:static;top:auto;right:auto;bottom:auto;width:auto;height:auto}.support-chat-button{width:64px;height:64px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:linear-gradient(135deg,#1c3228,#3f6a57);color:#fff;box-shadow:0 16px 32px rgba(10,18,14,.28);position:relative;cursor:pointer;display:grid;place-items:center;transition:transform .2s ease,box-shadow .2s ease;min-height:44px;min-width:44px}.support-chat-button:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 18px 36px rgba(10,18,14,.34)}.support-chat-button-icon{font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.support-chat-badge{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;border-radius:999px;background:#b43320;color:#fff;display:grid;place-items:center;font-size:.75rem;padding:0 6px;border:2px solid #fcfaf4}.support-chat-window{position:relative;width:100%;height:100%;padding:0;background:linear-gradient(180deg,#fffaf5,#f7f0e5);border-radius:20px;border:1px solid rgba(213,202,184,.95);box-shadow:0 22px 52px rgba(22,14,7,.24);overflow:hidden;display:flex;flex-direction:column;margin-bottom:0;backdrop-filter:blur(10px);min-width:0}.support-chat-widget.is-open .support-chat-window{position:relative}.support-chat-header{padding:.58rem .72rem;border-bottom:1px solid rgba(226,216,200,.9);display:flex;justify-content:space-between;align-items:center;gap:.55rem;background:linear-gradient(180deg,rgba(255,252,247,.98),rgba(248,240,230,.92));flex:0 0 auto}.support-chat-header h3{font-size:.94rem;line-height:1.1;margin:0 0 .16rem}.support-chat-header button{border:1px solid rgba(28,50,40,.12);background:rgba(255,255,255,.74);font-weight:700;color:#1c3228;border-radius:999px;padding:.34rem .68rem;font-size:.78rem;line-height:1;white-space:nowrap;box-shadow:0 4px 12px rgba(28,18,5,.06);min-height:36px}.support-status{display:inline-flex;align-items:center;gap:.38rem;font-size:.8rem;color:#5e5548;font-weight:600}.support-status-dot{width:8px;height:8px;border-radius:999px;background:#666;box-shadow:0 0 0 4px rgba(0,0,0,.04)}.support-status-available .support-status-dot{background:#1f9f58}.support-status-absent .support-status-dot{background:#e09c1b}.support-status-offline .support-status-dot{background:#868686}.support-message-list{padding:.9rem;min-height:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:.7rem;background:radial-gradient(circle at top,rgba(255,255,255,.5),transparent 38%),linear-gradient(180deg,#fbf7f1,#f4ecdf);scrollbar-width:thin;scrollbar-color:#c8baa4 transparent}.support-message-list::-webkit-scrollbar{width:8px}.support-message-list::-webkit-scrollbar-thumb{background:#c8baa4;border-radius:999px;border:2px solid transparent;background-clip:padding-box}.support-message-empty{min-height:100%;display:grid;place-items:center;text-align:center;padding:1.25rem;color:#695845}.support-message-empty p{margin:0;max-width:28ch;font-size:.9rem;line-height:1.55}.support-message{max-width:84%;padding:.72rem .84rem .58rem;border-radius:16px;box-shadow:0 10px 22px rgba(48,34,22,.07);display:grid;gap:.35rem}.support-message p{margin:0;color:#1e1a13;font-size:.92rem;line-height:1.45;overflow-wrap:anywhere}.support-message-image{width:100%;max-width:220px;max-height:220px;object-fit:cover;border-radius:12px;border:1px solid rgba(0,0,0,.08)}.support-message time{font-size:.75rem;color:#7a6a59;justify-self:end;letter-spacing:.01em}.support-message-read-state{font-size:.72rem;color:#6f6254;justify-self:end;margin-top:-.15rem}.support-message-agent{background:linear-gradient(180deg,#f2ebde,#eae0d0);align-self:flex-start;border-bottom-left-radius:8px}.support-message-visitor{background:linear-gradient(180deg,#d7e8de,#cadecf);align-self:flex-end;border-bottom-right-radius:8px}.support-chat-footer{border-top:1px solid rgba(226,216,200,.9);padding:.68rem .72rem .74rem;background:linear-gradient(180deg,rgba(255,250,242,.96),rgba(255,247,236,1));flex:0 0 auto;display:flex;flex-direction:column;gap:.5rem}.support-chat-offline-hint{margin:0 0 .55rem;padding:.48rem .58rem;font-size:.78rem;line-height:1.45;color:#695845;background:rgba(232,223,209,.55);border:1px solid rgba(210,194,173,.72);border-radius:12px}.support-chat-typing-indicator{margin:0;font-size:.78rem;color:#695845;font-style:italic}.support-message-input{display:grid;grid-template-columns:1fr;gap:.42rem}.support-image-preview{border:1px solid rgba(212,198,175,.8);border-radius:12px;padding:.4rem;background:rgba(255,255,255,.8);display:flex;align-items:center;justify-content:space-between;gap:.5rem}.support-image-preview img{width:84px;height:84px;max-height:84px;object-fit:cover;border-radius:10px;flex-shrink:0}.support-image-preview-remove{width:auto;border:1px solid rgba(198,174,140,.9);border-radius:999px;padding:.4rem .7rem;background:#fffaf2;color:#5a4a35;font-size:.75rem;cursor:pointer;min-height:40px}.support-message-input textarea{border:1px solid #d4c6af;border-radius:14px;padding:.78rem .9rem;resize:none;font-family:inherit;font-size:.94rem;line-height:1.45;width:100%;min-height:72px;max-height:112px;background:rgba(255,255,255,.94);box-shadow:inset 0 1px 2px rgba(44,28,11,.04);transition:border-color .18s ease,box-shadow .18s ease}.support-message-input textarea:focus{outline:none;border-color:rgba(28,50,40,.38);box-shadow:0 0 0 4px rgba(28,50,40,.08)}.support-message-input textarea::placeholder{color:#8d8071}.support-message-input-actions{display:grid;grid-template-columns:minmax(86px,auto) 1fr;gap:.5rem;align-items:center;min-width:0}.support-image-upload-button{border:1px solid rgba(60,86,74,.35);border-radius:12px;padding:.66rem .82rem;background:rgba(250,245,237,.95);color:#284336;font-size:.84rem;font-weight:700;line-height:1;cursor:pointer;text-align:center;min-height:44px}.support-message-input input[type=file]{display:none}.support-message-input button{width:100%;min-height:44px;border:0;padding:.72rem 1rem;border-radius:14px;background:linear-gradient(135deg,#1c3228,#355a49);color:#fff;font-weight:700;font-size:.88rem;box-shadow:0 10px 22px rgba(20,40,31,.2);transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.support-message-input button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 24px rgba(20,40,31,.24)}.support-message-input button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.support-chat-error{margin-top:.55rem;background:#ffd7d3;color:#7b1609;border-radius:12px;padding:.5rem .65rem;font-size:.8rem}body.support-chat-open .floating-buttons .floating-call,body.support-chat-open .floating-buttons .floating-quote{opacity:0;pointer-events:none}@media (max-width:640px){.support-chat-widget{--chat-header-offset:58px;left:0;right:0;top:var(--chat-header-offset);width:100vw;height:calc(100vh - var(--chat-header-offset))}.support-chat-widget.is-collapsed{left:auto;top:auto;right:.75rem;bottom:.85rem;width:auto;height:auto}.floating-buttons .support-chat-widget.is-collapsed{position:static;right:auto;bottom:auto}.support-chat-widget.is-open .support-chat-window{left:auto;right:auto;width:100%;top:auto;bottom:auto;transform:none;height:100%}.support-chat-window{width:100%;height:100%;bottom:auto;border-radius:0;border-left:0;border-right:0;border-bottom:0}.support-chat-header{padding:.54rem .62rem;gap:.48rem}.support-chat-header h3{font-size:.9rem;margin-bottom:.14rem}.support-chat-header button{padding:.32rem .6rem;font-size:.72rem;min-height:40px}.support-message-list{padding:.78rem}.support-chat-footer{padding:.6rem .62rem .68rem}.support-message{max-width:88%;padding:.68rem .76rem .56rem}.support-message p{font-size:.9rem;line-height:1.42}.support-message-input textarea{min-height:68px;max-height:96px;padding:.7rem .8rem}.support-image-preview img{width:72px;height:72px;max-height:72px}.support-message-input button{min-height:44px;padding:.68rem .9rem;font-size:.84rem}}@media (max-width:420px){.support-chat-widget{--chat-header-offset:58px;height:calc(100vh - var(--chat-header-offset))}.support-chat-widget.is-open .support-chat-window{left:auto;right:auto;bottom:auto;height:100%}.support-chat-window{width:100%;height:100%;border-radius:0}.support-message-input-actions{grid-template-columns:1fr}.support-image-upload-button,.support-message-input button{width:100%}}