.chat-support{position:fixed;right:22px;bottom:22px;z-index:1060;font-family:inherit}.chat-support__toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border:0;border-radius:50%;background:#1d4ed8;color:#fff;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 12px 28px #1d4ed859;transition:transform .2s ease,box-shadow .2s ease}.chat-support__toggle:hover{transform:translateY(-2px);box-shadow:0 16px 32px #1d4ed86b}.chat-support__icon-close{display:none}.chat-support__toggle svg{width:26px;height:26px}.chat-support__avatar svg{width:19px;height:19px}.chat-support__attach svg,.chat-support__send svg{width:18px;height:18px}.chat-support.is-open .chat-support__toggle{background:#0f172a}.chat-support.is-open .chat-support__icon-open{display:none}.chat-support.is-open .chat-support__icon-close{display:inline-block}.chat-support__badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.chat-support__panel{position:absolute;right:0;bottom:72px;width:360px;max-height:min(560px,calc(100vh - 140px));display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 24px 60px #0f172a40;border:1px solid rgba(15,23,42,.08)}.chat-support__header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:#0f172a;color:#fff}.chat-support__heading{display:flex;align-items:center;gap:10px;min-width:0}.chat-support__close{flex:0 0 auto;width:30px;height:30px;border:0;border-radius:50%;background:#ffffff1f;color:#fff;font-size:20px;line-height:1;cursor:pointer}.chat-support__close:hover{background:#fff3}.chat-support__avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#ffffff1f;font-size:19px;flex:0 0 auto}.chat-support__heading strong{display:block;font-size:14px;line-height:1.2}.chat-support__meta{display:block;font-size:11px;color:#ffffffa6}.chat-support__messages{flex:1;overflow-y:auto;padding:16px;background:#f8fafc;display:flex;flex-direction:column;gap:10px}.chat-support__empty{margin:auto 0;text-align:center;color:#475569;font-size:14px}.chat-support__empty p{margin:0 0 6px}.chat-support__hint{font-size:12px;color:#94a3b8}.chat-support__bubble{max-width:82%;padding:9px 12px;border-radius:14px;font-size:13px;line-height:1.45;word-break:break-word}.chat-support__bubble--customer{align-self:flex-end;background:#1d4ed8;color:#fff;border-bottom-right-radius:4px}.chat-support__bubble--admin{align-self:flex-start;background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-bottom-left-radius:4px}.chat-support__bubble img{display:block;max-width:100%;border-radius:10px;margin-bottom:6px}.chat-support__bubble time{display:block;margin-top:4px;font-size:10px;opacity:.6}.chat-support__composer{padding:10px 12px 12px;border-top:1px solid #e2e8f0;background:#fff}.chat-support__identity{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}.chat-support__identity input{width:100%;border:1px solid #e2e8f0;border-radius:8px;padding:7px 9px;font-size:12px;outline:none}.chat-support__identity input:focus,.chat-support__composer textarea:focus{border-color:#1d4ed8}.chat-support__row{display:flex;align-items:flex-end;gap:8px}.chat-support__attach{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#f1f5f9;color:#475569;font-size:18px;cursor:pointer;flex:0 0 auto}.chat-support__composer textarea{flex:1;resize:none;border:1px solid #e2e8f0;border-radius:10px;padding:9px 11px;font-size:13px;max-height:110px;outline:none}.chat-support__send{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:50%;background:#1d4ed8;color:#fff;font-size:18px;cursor:pointer;flex:0 0 auto}.chat-support__send:disabled{opacity:.6;cursor:default}.chat-support__preview{position:relative;display:inline-block;margin-bottom:8px}.chat-support__preview img{height:54px;border-radius:8px;border:1px solid #e2e8f0}.chat-support__preview button{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border:0;border-radius:50%;background:#0f172a;color:#fff;font-size:12px;line-height:1;cursor:pointer}.chat-support__error{margin:8px 0 0;font-size:12px;color:#dc2626}.chat-support__typing{align-self:flex-start;font-size:12px;color:#64748b}@media (max-width: 480px){.chat-support{right:12px;bottom:12px}.chat-support__panel{position:fixed;right:0;left:0;bottom:0;width:100%;max-height:88vh;border-radius:16px 16px 0 0}.chat-support__identity{grid-template-columns:1fr}}
