html.ac-noscroll,html.ac-noscroll body{overflow:hidden!important;height:100%!important;overscroll-behavior:none}
#aura-chat-root{position:fixed;inset:0;z-index:2147483000;pointer-events:none;font-family:Inter,system-ui,sans-serif}
#aura-chat-root .ac-btn,#aura-chat-root .ac-panel{pointer-events:auto}
.ac-btn{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:58px;height:58px;border:0;border-radius:50%;background:#25D366;color:#fff;box-shadow:0 8px 24px rgba(37,211,102,.45);cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2147483002}
.ac-btn:hover{background:#1ebe57}
.ac-btn svg{width:28px;height:28px;display:block}
#aura-chat-root.ac-open .ac-btn{display:none!important;visibility:hidden!important;pointer-events:none!important;opacity:0!important}
#aura-chat-root[data-site="muzico"] .ac-head{background:#1c2030}
#aura-chat-root[data-site="muzico"] .ac-form button[type=submit],
#aura-chat-root[data-site="muzico"] .ac-send{background:#ff7a00}
.ac-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#ff6b00;color:#fff;font-size:11px;font-weight:700;display:none;align-items:center;justify-content:center}
.ac-panel{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:360px;max-width:calc(100vw - 24px);height:min(480px,calc(100dvh - 24px));background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.28);display:none;flex-direction:column;overflow:hidden;border:1px solid #e6e2d8;z-index:2147483001}
.ac-panel.open{display:flex}
.ac-head{background:#002347;color:#fff;padding:8px 8px 8px 4px;display:flex;gap:8px;align-items:center;flex:none;min-height:52px}
.ac-close{border:0;background:transparent;color:#fff;width:40px;height:40px;cursor:pointer;flex:none;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0}
.ac-close svg{width:22px;height:22px;display:block}
.ac-close:hover{background:rgba(255,255,255,.12)}
.ac-head img{width:28px;height:28px;border-radius:7px;background:#fff;object-fit:contain;flex:none}
.ac-head-text{min-width:0;flex:1}
.ac-head h3{margin:0;font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-head p{margin:2px 0 0;font-size:11px;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-status{font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:rgba(255,255,255,.12);padding:4px 7px;border-radius:99px;flex:none}
.ac-status.on{background:#16a34a}
.ac-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px;background:#f4f1ea}
.ac-panel.ac-mode-form .ac-body,.ac-panel.ac-mode-form .ac-foot{display:none!important}
.ac-panel.ac-mode-chat .ac-form{display:none!important}
.ac-form{flex:1;min-height:0;background:#fff;display:none;flex-direction:column;overflow:hidden}
.ac-panel.ac-mode-form .ac-form{display:flex}
.ac-form-fields{flex:1;min-height:0;overflow-y:auto;padding:10px 12px 8px}
.ac-form label{display:block;font-size:11px;font-weight:600;color:#002347;margin:6px 0 3px}
.ac-form input,.ac-form textarea,.ac-form button,.ac-input{width:100%;box-sizing:border-box;border:1px solid #d6d1c7;border-radius:8px;padding:8px 10px;font:inherit;font-size:14px;line-height:1.3}
.ac-form input{height:36px}
.ac-form textarea{min-height:52px;max-height:72px;height:52px;resize:none}
.ac-form-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ac-form button,.ac-send{background:#ff6b00;color:#fff;border:0;font-weight:700;cursor:pointer}
.ac-form button[type=submit]{margin:0;padding:0;height:44px;border-radius:0;flex:none;font-size:14px;letter-spacing:.02em}
.ac-hint{font-size:12px;color:#5d5a53;margin:0 0 4px;line-height:1.35}
.ac-msg{max-width:85%;margin:8px 0;padding:8px 11px;border-radius:12px;font-size:14px;line-height:1.4;white-space:pre-wrap;word-break:break-word}
.ac-msg.visitor{margin-left:auto;background:#002347;color:#fff;border-bottom-right-radius:4px}
.ac-msg.agent,.ac-msg.system{background:#fff;border:1px solid #ece8df;border-bottom-left-radius:4px}
.ac-msg small{display:block;opacity:.65;font-size:11px;margin-top:4px}
.ac-foot{display:flex;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #ece8df;background:#fff;flex:none;align-items:flex-end}
.ac-foot textarea,.ac-foot .ac-input{flex:1;min-height:40px;max-height:72px;height:40px;resize:none;padding:8px 10px;font-size:14px}
.ac-send{width:40px;height:40px;flex:none;border-radius:10px}
@media(max-width:720px){
  .ac-panel{right:0;left:0;top:0;bottom:0;width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0;border:0}
  .ac-form button[type=submit]{height:48px;padding-bottom:env(safe-area-inset-bottom)}
}
