#support-chat{--chat-bottom:24px;--chat-launch-height:50px;position:fixed;right:20px;bottom:var(--chat-bottom);z-index:1000;font:14px/1.5 system-ui,sans-serif;color:#20382f}
#support-chat [hidden]{display:none!important}
#support-launch{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border:0;border-radius:30px;background:#244d3e;color:white;padding:12px 20px;box-shadow:0 5px 24px #0002;font-weight:700;cursor:pointer}
#support-launch svg{width:22px;height:22px;flex:none;pointer-events:none}
#support-panel{position:absolute;right:0;bottom:calc(var(--chat-launch-height) + 8px);display:flex;flex-direction:column;width:min(370px,calc(100vw - 24px));max-height:var(--chat-panel-height,calc(100dvh - 100px));background:white;border:1px solid #e1e9e5;border-radius:20px;box-shadow:0 12px 55px #0003;overflow:auto;overscroll-behavior:contain}
.support-heading{display:flex;flex:none;justify-content:space-between;align-items:center;background:#244d3e;color:white;padding:14px 16px}
.support-heading small{display:block;opacity:.8}
.support-actions{display:flex;align-items:center;gap:4px}.support-actions svg{width:20px;height:20px}
.support-heading button{border:0;background:none;color:white;font-size:28px;line-height:1;min-width:36px;min-height:36px;cursor:pointer}
#support-messages{flex:0 1 260px;min-height:48px;overflow:auto;overscroll-behavior:contain;padding:16px;background:#f6f8f6}
.support-bubble{border-radius:12px;padding:10px 12px;margin:0 22px 12px 0;background:white;white-space:pre-wrap;overflow-wrap:anywhere}
.support-bubble.customer{margin-left:22px;margin-right:0;background:#e1eee7}
.support-note{flex:none;font-size:11px;padding:10px 16px;margin:0;color:#58675f}
.support-note a{text-decoration:underline}
#support-form{flex:none;padding:0 16px 16px}
.support-label{display:block;font-size:12px;margin-bottom:4px}
.support-compose{display:flex;gap:8px}
.support-compose input{min-width:0;flex:1;border:1px solid #bccfc4;border-radius:8px;padding:10px;font-size:16px}
.support-compose button{background:#244d3e;color:white;border:0;border-radius:8px;padding:8px 14px;cursor:pointer}
#support-chat button:focus-visible,#support-chat input:focus-visible{outline:3px solid #dd9b4a;outline-offset:2px}
#support-chat button:disabled{opacity:.6}
.support-results{display:grid;gap:8px;margin-bottom:16px}.support-results>a{color:#244d3e;text-decoration:underline}.support-product{display:block;background:#fff;padding:10px;border:1px solid #dce6df;border-radius:10px;min-height:70px}.support-product img{float:left;width:60px;height:60px;object-fit:contain;margin-right:10px}.support-product small{display:block;color:#58675f;margin-top:5px}
@media(max-width:767px){
  #support-chat{--chat-bottom:calc(8px + env(safe-area-inset-bottom,0px));right:max(8px,env(safe-area-inset-right,0px))}
  #support-launch{width:48px;min-height:48px;height:48px;padding:0;border-radius:50%;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
  #support-launch span{display:none}
  #support-panel{position:fixed;right:max(8px,env(safe-area-inset-right,0px));bottom:var(--chat-panel-bottom,72px);width:min(370px,calc(100vw - 16px - env(safe-area-inset-right,0px) - env(safe-area-inset-left,0px)));border-radius:16px}
  .support-heading{padding:10px 14px}
  #support-messages{padding:12px}
}
