#support-widget{--chat-bottom:max(16px,env(safe-area-inset-bottom));position:fixed;right:16px;bottom:var(--chat-bottom);z-index:40}#support-toggle{box-shadow:0 3px 16px #0002;border-radius:28px}#support-panel{width:min(370px,calc(100vw - 24px));max-height:calc(100dvh - var(--chat-bottom) - 24px);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 36px #0003;padding:14px;overflow:auto;display:flex;flex-direction:column}#support-panel[hidden],#support-widget [hidden]{display:none!important}.support-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.support-heading button{padding:4px 12px;font-size:24px}.support-hint,.support-state,.support-error{font-size:.85rem;margin:8px 0}.support-error{color:#862b1e}.support-messages{height:270px;max-height:38dvh;overflow-y:auto;overscroll-behavior:contain;padding:8px;background:#f5f5ef;border-radius:8px}.support-message{max-width:88%;width:fit-content;margin:8px 0;padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}.support-message.customer{margin-left:auto;background:#e5f3e7}.support-message small{display:block;font-size:.7rem;color:var(--muted)}.support-send{display:flex;align-items:end;gap:8px;margin:10px 0 0}.support-send textarea{min-height:48px;max-height:100px;margin:0;resize:vertical}.support-send button{flex:none}#support-start{margin:8px 0}#support-start input{margin-bottom:8px}#support-admin-thread .support-messages{height:420px;max-height:55dvh;margin-top:14px}body:has(#support-widget){padding-bottom:85px}@media(max-width:640px){body.has-cart:has(#support-widget){padding-bottom:165px}.has-cart #support-widget{--chat-bottom:calc(100px + env(safe-area-inset-bottom))}#support-widget{right:12px}#support-panel{max-height:calc(100dvh - var(--chat-bottom) - 12px)}}

.support-send[hidden]{display:none}
