/* Seby, webSEB's assistant: a small launcher stacked above the WhatsApp button, and its chat panel. */
.seby-launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + 70px);z-index:5000;display:inline-flex;align-items:center;gap:9px;min-height:50px;padding:0 18px 0 8px;border:1px solid rgba(255,255,255,.94);border-radius:999px;background:linear-gradient(135deg,var(--blue,#1a6dff),var(--blue-deep,#0a3aa8));color:#fff;font:800 15px/1 Manrope,system-ui,sans-serif;box-shadow:0 18px 42px rgba(6,20,47,.28);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;touch-action:manipulation}
.seby-launcher[hidden]{display:none}
.seby-launcher:hover{transform:translateY(-3px);box-shadow:0 22px 48px rgba(6,20,47,.34)}
.seby-launcher:focus-visible{outline:3px solid var(--navy,#06142f);outline-offset:4px}
.seby-launcher:disabled{cursor:default;opacity:.9}
.seby-launcher-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.18)}

.seby-panel{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + 70px);z-index:5001;display:flex;flex-direction:column;width:min(380px,calc(100vw - 40px));height:min(560px,calc(100dvh - 190px));min-height:320px;border:1px solid var(--glass-border,rgba(255,255,255,.72));border-radius:24px;background:rgba(246,251,255,.97);backdrop-filter:blur(24px);box-shadow:0 28px 80px rgba(6,20,47,.3);color:var(--ink,#081630);font-family:Manrope,system-ui,sans-serif;overflow:hidden}
.seby-loading{align-items:center;justify-content:center;font-weight:700}
.seby-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 12px 18px;background:linear-gradient(145deg,#06142f,#0a2554);color:#fff}
.seby-head h2{margin:0;font:800 20px/1.1 "Plus Jakarta Sans",Manrope,sans-serif;color:#fff}
.seby-head p{margin:2px 0 0;font-size:13px;color:var(--sky,#bcdcff)}
.seby-head-actions{display:flex;align-items:center;gap:6px}
.seby-close{width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.seby-close:focus-visible,.seby-ghost:focus-visible,.seby-send:focus-visible,.seby-call:focus-visible{outline:3px solid var(--blue,#1a6dff);outline-offset:2px}
.seby-ghost{min-height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:transparent;color:inherit;font:700 12px/1 Manrope,sans-serif;cursor:pointer}
.seby-call{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 14px 0;min-height:44px;border-radius:999px;background:var(--blue,#1a6dff);color:#fff;font-weight:800;text-decoration:none}
.seby-call small{font-weight:600;opacity:.85}
.seby-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.seby-hello,.seby-messages [data-ai-message]{max-width:88%;padding:10px 13px;border-radius:16px;font-size:15px;line-height:1.45}
.seby-hello,.seby-messages [data-ai-message="assistant"]{align-self:flex-start;background:#fff;border:1px solid var(--line,rgba(49,105,190,.2))}
.seby-messages{display:flex;flex-direction:column;gap:10px}
.seby-messages [data-ai-message="user"]{align-self:flex-end;background:var(--navy,#06142f);color:#fff}
.seby-messages [data-ai-text] p{margin:0}
.seby-messages [data-ai-text] p+p{margin-top:8px}
.seby-messages a{color:var(--blue-deep,#0a3aa8);font-weight:700;text-decoration:underline}
.seby-messages [data-ai-message="user"] a{color:#fff}
.seby-messages [data-ai-error]{margin:0;padding:10px 13px;border-radius:16px;background:#fff1f0;color:#8a1c16;font-size:14px}
.seby-typing{margin:0;font-size:13px;color:var(--muted,#4f6484)}
.seby-retry{align-self:flex-start;border-color:var(--line,rgba(49,105,190,.3));color:var(--navy,#06142f)}
.seby-form{display:flex;gap:8px;padding:10px 14px;border-top:1px solid var(--line,rgba(49,105,190,.2))}
.seby-form input{flex:1;min-width:0;min-height:44px;padding:0 14px;border:1px solid var(--line,rgba(49,105,190,.3));border-radius:999px;background:#fff;color:var(--ink,#081630);font:500 16px Manrope,sans-serif}
.seby-form input:focus{outline:2px solid var(--blue,#1a6dff);outline-offset:1px}
.seby-send{min-width:72px;min-height:44px;border:0;border-radius:999px;background:var(--navy,#06142f);color:#fff;font:800 14px Manrope,sans-serif;cursor:pointer}
.seby-send:disabled{opacity:.45;cursor:default}
.seby-note{margin:0;padding:0 14px 12px;font-size:11.5px;color:var(--muted,#4f6484)}
.seby-note a{color:var(--blue-deep,#0a3aa8);font-weight:700}
.seby-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Hero Call webSEB button beside the main actions. */
.call-webseb .call-icon{font-size:1.05em;line-height:1}

@media(max-width:600px){
  .seby-launcher{width:58px;height:58px;min-height:58px;padding:0;justify-content:center;bottom:calc(max(20px,env(safe-area-inset-bottom)) + 70px)}
  .seby-launcher-icon{width:auto;height:auto;background:none}
  .seby-launcher-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .seby-panel{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:auto;height:min(600px,calc(100dvh - 96px));border-radius:22px;z-index:5002}
}
@media(prefers-reduced-motion:reduce){.seby-launcher{transition:none}}
