/* Deposit sales chat: main-page floating widget geometry, isolated sales behavior. */
#eea-deposit-sales-chat{--dsc-navy:#7f1d1d;--dsc-red:#dc2626;--dsc-line:#e5e7eb;--dsc-ink:#2f2326;font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
#eea-deposit-sales-chat *{box-sizing:border-box}
.dsc-panel{position:fixed!important;right:24px!important;bottom:24px!important;z-index:9999!important;width:360px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 48px)!important;background:linear-gradient(180deg,#fff,#fff7f8)!important;border:1px solid rgba(229,237,245,.98)!important;border-radius:24px!important;box-shadow:0 24px 70px rgba(7,19,40,.22)!important;overflow:hidden!important;color:var(--dsc-navy)!important;transition:width .28s ease,height .28s ease,transform .28s ease,opacity .2s ease!important}
.dsc-panel.expanded{width:720px!important;height:720px!important;max-width:calc(100vw - 48px)!important}
.dsc-header{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:14px 16px!important;background:linear-gradient(135deg,var(--dsc-navy),var(--dsc-red))!important;color:#fff!important;cursor:default}
.dsc-header strong,.dsc-header span{display:block!important;line-height:1.15!important}.dsc-header strong{font-size:17px!important}.dsc-header span{font-size:13px!important;color:#ffe4e6!important;margin-top:3px!important;font-weight:850!important}
.dsc-controls{display:flex!important;gap:5px!important}.dsc-controls button{width:28px!important;height:28px!important;padding:0!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.12)!important;color:#fff!important;cursor:pointer!important;font-weight:950!important;font-size:16px!important;line-height:1!important}
.dsc-body{max-height:430px;overflow-y:auto;overscroll-behavior:contain;padding:14px!important;background:linear-gradient(180deg,#fff,#fff7f8);scrollbar-width:thin}.dsc-panel.expanded .dsc-body{max-height:570px}
.dsc-panel.minimized .dsc-body,.dsc-panel.minimized .dsc-composer{display:none!important}
.dsc-gate h2{margin:0 0 6px!important;color:var(--dsc-navy)!important;font-size:20px!important;line-height:1.2!important}.dsc-gate p{margin:0 0 12px!important;font-size:14px!important;color:#52637d!important}.dsc-field{display:grid;gap:4px;margin:9px 0;font-weight:800;font-size:14px}.dsc-field input{width:100%;min-height:42px;border:1px solid #fecaca;border-radius:14px;padding:9px 11px;font:inherit;font-size:15px;background:#fff}.dsc-field input:focus,.dsc-composer textarea:focus{outline:3px solid #fda4af;outline-offset:1px}.dsc-primary{width:100%;min-height:42px;border:0;border-radius:14px;background:var(--dsc-red);color:#fff;font-weight:850;font-size:15px;cursor:pointer}.dsc-privacy{margin-top:9px!important;font-size:11px!important;line-height:1.35!important}
.dsc-chat{min-height:132px}.dsc-messages{display:flex;flex-direction:column;gap:9px}.dsc-message{max-width:88%;padding:10px 12px;border-radius:16px;font-size:14px;line-height:1.35;font-weight:750;background:#fff;border:1px solid var(--dsc-line);box-shadow:0 10px 22px rgba(17,24,39,.05);white-space:pre-wrap;overflow-wrap:anywhere}.dsc-message[data-role="user"]{align-self:flex-end;background:linear-gradient(135deg,var(--dsc-navy),var(--dsc-red));border:0;color:#fff}.dsc-message[data-role="human"]{background:#fff1f2;border-color:#fda4af}.dsc-message small{display:block;margin-bottom:3px;font-weight:850;opacity:.72}.dsc-message audio{display:block;width:100%;max-width:250px;margin-top:5px}
.dsc-composer{padding:0 14px 14px!important;background:#fff7f8}.dsc-status{min-height:18px;margin:0!important;padding:0 2px 5px!important;color:#7f1d1d!important;font-size:11px!important;background:transparent!important}.dsc-compose-row{display:grid;grid-template-columns:40px 1fr 52px;gap:7px;align-items:end}.dsc-composer textarea{min-height:42px;max-height:100px;resize:none;border:1px solid #fecaca;border-radius:14px;padding:10px;font:15px/1.3 inherit;background:#fff}.dsc-icon,.dsc-send{height:42px;border-radius:14px;cursor:pointer}.dsc-icon{border:1px solid #f87171;background:#fff;color:var(--dsc-navy);font-size:18px}.dsc-send{border:0;background:var(--dsc-red);color:#fff;font-weight:850}.dsc-icon[aria-pressed="true"]{background:#be123c;color:#fff;animation:dsc-pulse 1.2s infinite}@keyframes dsc-pulse{50%{opacity:.65}}
@media(max-width:520px){.dsc-panel{right:16px!important;bottom:16px!important;width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important}.dsc-panel.expanded{inset:14px!important;width:calc(100vw - 28px)!important;height:calc(100dvh - 28px)!important;max-width:none!important;max-height:none!important}.dsc-panel.expanded .dsc-body{max-height:calc(100dvh - 178px)}.dsc-header strong{font-size:15px!important}.dsc-body{max-height:min(410px,calc(100dvh - 130px))}}
@media(prefers-reduced-motion:reduce){.dsc-panel,.dsc-icon{transition:none!important;animation:none!important}}
