html[data-att-design=seon] body [data-testid="ai-launcher"]{position:fixed!important;left:20px!important;right:auto!important;top:auto!important;bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;height:48px!important;min-height:48px!important;margin:0!important;transform:none!important;cursor:pointer!important;z-index:57!important;}
html[data-att-design=seon] body [data-testid="ai-panel"]{left:20px!important;right:auto!important;}
html[data-att-design=seon] body #att-whatsapp-toggle{display:grid!important;place-items:center!important;padding:0!important;background:#42b649!important;border:3px solid #fff!important;line-height:0!important;}
html[data-att-design=seon] body #att-whatsapp-toggle svg{width:26px!important;height:26px!important;margin:0!important;transform:none!important;}
html[data-att-design=seon] body #att-whatsapp-panel{background:#ece5dd!important;border-radius:18px!important;}
html[data-att-design=seon] body #att-whatsapp-panel header{background:#075e54!important;color:#fff!important;padding:16px!important;}
html[data-att-design=seon] body #att-whatsapp-panel .att-wa-body{background-color:#ece5dd!important;padding:20px!important;}
html[data-att-design=seon] body #att-whatsapp-panel .att-wa-intro{display:block!important;background:#fff!important;color:#153c43!important;border-radius:3px 16px 16px 16px!important;padding:16px!important;font-size:14px!important;line-height:1.65!important;font-weight:400!important;max-width:90%!important;box-shadow:0 1px 2px #00000010!important;}
html[data-att-design=seon] body #att-whatsapp-panel .att-wa-mark{position:relative!important;border-radius:50%!important;background:white!important;}
html[data-att-design=seon] body #att-whatsapp-panel .att-wa-online{display:block!important;position:absolute!important;right:-1px!important;bottom:0!important;width:11px!important;height:11px!important;background:#25d366!important;border:2px solid #075e54!important;border-radius:50%!important;}
html[data-att-design=seon] body #att-whatsapp-panel .att-wa-send{background:#0bc653!important;color:white!important;border-radius:999px!important;}
html[data-att-design=seon] body #att-whatsapp-panel .att-wa-send:hover{background:#09ad48!important;}
html[data-att-design=seon] body #att-whatsapp-message{background:#fff!important;border:1px solid #d2dcd8!important;border-radius:14px!important;}
@media(max-width:767px){
 html[data-att-design=seon] body #att-whatsapp-panel,html[data-att-design=seon] body [data-testid="ai-panel"]{
  position:fixed!important;inset:auto!important;left:0!important;right:0!important;top:var(--att-chat-top,0px)!important;bottom:auto!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:var(--att-chat-height,100dvh)!important;max-height:var(--att-chat-height,100dvh)!important;min-height:0!important;
  border:0!important;border-radius:0!important;margin:0!important;transform:none!important;
  z-index:10000!important;box-shadow:none!important;
 }
 html[data-att-design=seon] body #att-whatsapp-panel:not([hidden]),html[data-att-design=seon] body [data-testid="ai-panel"]{display:flex!important;flex-direction:column!important;overflow:hidden!important;}
 html[data-att-design=seon] body #att-whatsapp-panel[hidden]{display:none!important;}
 html[data-att-design=seon] body #att-whatsapp-panel header{flex-shrink:0!important;padding-top:calc(16px + env(safe-area-inset-top,0px))!important;}
 html[data-att-design=seon] body #att-whatsapp-panel .att-wa-body{flex:1!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;}
 html[data-att-design=seon] body [data-testid="ai-panel"]>div:first-child,html[data-att-design=seon] body [data-testid="ai-dispatch-banner"],html[data-att-design=seon] body [data-testid="ai-panel"] form{flex-shrink:0!important;}
 html[data-att-design=seon] body [data-testid="ai-panel"]>div:first-child{padding-top:calc(16px + env(safe-area-inset-top,0px))!important;}
 html[data-att-design=seon] body [data-testid="ai-messages"]{flex:1!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;}
 html[data-att-design=seon] body [data-testid="ai-panel"] form{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;}
 html[data-att-design=seon] body [data-testid="ai-panel"] input,html[data-att-design=seon] body [data-testid="ai-panel"] textarea,html[data-att-design=seon] body #att-whatsapp-message{font-size:16px!important;}
 html[data-att-design=seon] body.att-chat-fullscreen{overflow:hidden!important;}
 html[data-att-design=seon] body.att-mobile-request-active #att-whatsapp,html[data-att-design=seon] body.att-mobile-request-active [data-testid="ai-launcher"]{display:none!important;}
}


/* AI panel sits close to its launcher */
@media (min-width: 768px) {
    html[data-att-design=seon] body [data-testid="ai-panel"] {
        top: auto !important;
        bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
        max-height: calc(100dvh - 100px) !important;
    }
}


/* Exact AI close icon centering */
html body [data-testid="ai-panel"] button[data-testid="ai-close"] {
    position: relative !important;
    display: block !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
}
html body [data-testid="ai-panel"] button[data-testid="ai-close"] svg {
    position: absolute !important;
    inset: auto !important;
    top: 50% !important;
    left: 50% !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
}


/* Restore WhatsApp header hidden by navigation styles */
html[data-att-design=seon] body.att-new-nav-ready #att-whatsapp-panel > header {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 16px !important;
    background: #075e54 !important;
    color: white !important;
    transform: none !important;
}
html body #att-whatsapp-close {
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}
@media (max-width:767px) {
    html[data-att-design=seon] body.att-new-nav-ready #att-whatsapp-panel > header {
        padding-top: calc(16px + env(safe-area-inset-top, 0px)) !important;
    }
}


/* Correct WhatsApp avatar proportions */
html body #att-whatsapp-panel header .att-wa-mark {
    display: grid !important;
    place-items: center !important;
    align-self: center !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}
html body #att-whatsapp-panel header .att-wa-mark img {
    position: static !important;
    display: block !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}
html body #att-whatsapp-panel #att-whatsapp-close {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    place-items: center !important;
    align-self: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    line-height: 1 !important;
}


/* Hide WhatsApp helper text */
html body #att-whatsapp-panel .att-wa-help {
    display: none !important;
}


/* Compact WhatsApp header */
html[data-att-design=seon] body.att-new-nav-ready #att-whatsapp-panel > header {
    min-height: 72px !important;
    height: auto !important;
    padding: 12px 16px !important;
    align-items: center !important;
}
html body #att-whatsapp-panel > header > div:nth-child(2) {
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body #att-whatsapp-panel header h2 {
    margin: 0 !important;
    line-height: 1.35 !important;
}
html body #att-whatsapp-panel header p {
    margin: 3px 0 0 !important;
    line-height: 1.4 !important;
}
@media(max-width:767px) {
    html[data-att-design=seon] body.att-new-nav-ready #att-whatsapp-panel > header {
        padding-top: calc(12px + env(safe-area-inset-top, 0px)) !important;
    }
}


/* Align and shorten WhatsApp header */
html[data-att-design=seon] body.att-new-nav-ready #att-whatsapp-panel > header {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    height: 68px !important;
    min-height: 68px !important;
    padding: 12px 16px !important;
    gap: 12px !important;
}
html body #att-whatsapp-panel > header > div:nth-child(2) {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-self: center !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body #att-whatsapp-panel > header .att-wa-mark,
html body #att-whatsapp-panel > header #att-whatsapp-close {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
@media(max-width:767px) {
    html[data-att-design=seon] body.att-new-nav-ready #att-whatsapp-panel > header {
        height: calc(68px + env(safe-area-inset-top, 0px)) !important;
        min-height: calc(68px + env(safe-area-inset-top, 0px)) !important;
        padding-top: calc(12px + env(safe-area-inset-top, 0px)) !important;
    }
}
