.apu-chat{--apu-chat-bg:#ffffff;--apu-chat-text:#222222;--apu-chat-muted:#717171;--apu-chat-border:#ebebeb;--apu-chat-accent:#1B3A2D;--apu-chat-accent-soft:rgba(27,58,45,0.08);--apu-chat-cream:#EDE8E0;--apu-chat-radius:12px;--apu-chat-radius-lg:20px;--apu-chat-shadow:0 6px 28px rgba(0,0,0,0.08),0 2px 8px rgba(0,0,0,0.04);--apu-chat-font:var(--font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);position:fixed;z-index:9990;left:calc(0.75rem + env(safe-area-inset-left,0px));bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));font-family:var(--apu-chat-font);pointer-events:none}.apu-chat *{box-sizing:border-box}.apu-chat__launcher,.apu-chat__dock,.apu-chat__panel{pointer-events:auto}.apu-chat__dock{display:block;pointer-events:auto}.apu-chat__launcher{position:relative;flex-shrink:0;width:3.25rem;height:3.25rem;border-radius:var(--apu-chat-radius);border:1px solid rgba(27,58,45,0.12);background:var(--apu-chat-accent);color:#fff;box-shadow:0 8px 28px rgba(27,58,45,0.22);cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:0;transition:transform 0.2s ease,box-shadow 0.2s ease,background 0.2s ease}.apu-chat__launcher-icon{position:relative;z-index:1;display:flex;align-items:center;justify-content:center}.apu-chat__launcher-svg{display:block;width:1.45rem;height:1.45rem}.apu-chat__launcher-pulse{position:absolute;inset:-4px;border-radius:calc(var(--apu-chat-radius) + 4px);border:2px solid rgba(27,58,45,0.35);opacity:0;animation:apu-chat-pulse 2.4s ease-out 1s 3;pointer-events:none}@keyframes apu-chat-pulse{0%{transform:scale(0.92);opacity:0.55}100%{transform:scale(1.15);opacity:0}}.apu-chat__launcher:hover{transform:scale(1.04);background:#142A22;box-shadow:0 12px 36px rgba(27,58,45,0.28)}.apu-chat__launcher:focus-visible{outline:2px solid var(--apu-chat-cream);outline-offset:3px}@media (min-width:480px){.apu-chat__launcher{width:3.15rem;height:3.15rem}.apu-chat__launcher-svg{width:1.5rem;height:1.5rem}}@media (prefers-reduced-motion:reduce){.apu-chat__launcher{transition:none}.apu-chat__launcher:hover{transform:none}.apu-chat__launcher-pulse{animation:none;display:none}}.apu-chat__panel{pointer-events:auto;position:absolute;left:0;bottom:0;width:min(100vw - 1.5rem,380px);max-height:min(520px,calc(100vh - 6rem - env(safe-area-inset-bottom,0px)));display:flex;flex-direction:column;background:var(--apu-chat-bg);border:1px solid var(--apu-chat-border);border-radius:var(--apu-chat-radius-lg);box-shadow:0 12px 48px rgba(0,0,0,0.12),0 4px 16px rgba(0,0,0,0.06);opacity:0;transform:translateY(16px) scale(0.98);transition:opacity 0.32s ease,transform 0.32s ease;overflow:hidden}.apu-chat__panel.is-open{opacity:1;transform:translateY(0) scale(1)}@media (prefers-reduced-motion:reduce){.apu-chat__panel{transition:opacity 0.2s ease;transform:none}.apu-chat__panel.is-open{transform:none}}.apu-chat__panel[hidden]{display:none !important}.apu-chat__head{display:flex;align-items:center;gap:0.65rem;padding:0.85rem 1rem;border-bottom:1px solid var(--apu-chat-border);background:#f5f2ed}.apu-chat__head-title{flex:1;min-width:0}.apu-chat__head-title strong{display:block;font-size:0.9375rem;font-weight:600;color:var(--apu-chat-text);letter-spacing:-0.01em}.apu-chat__head-title span{font-size:0.75rem;color:var(--apu-chat-muted);font-weight:400}.apu-chat__close{width:2.25rem;height:2.25rem;border:none;border-radius:50%;background:transparent;color:var(--apu-chat-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.15s ease,color 0.15s ease}.apu-chat__close:hover{background:var(--apu-chat-border);color:var(--apu-chat-text)}.apu-chat__close:focus-visible{outline:2px solid var(--apu-chat-accent);outline-offset:2px}.apu-chat__messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:0.65rem;-webkit-overflow-scrolling:touch}.apu-chat__typing{align-self:flex-start}.apu-chat__typing-bubble{display:inline-flex;align-items:center;gap:0.5rem;padding:0.55rem 0.85rem;background:#eef0ee;border-radius:14px;border-bottom-left-radius:4px}.apu-chat__typing-dots{display:inline-flex;gap:4px;align-items:center}.apu-chat__typing-dots span{width:6px;height:6px;border-radius:50%;background:var(--apu-chat-muted);animation:apu-chat-dot 1.1s ease-in-out infinite}.apu-chat__typing-dots span:nth-child(2){animation-delay:0.15s}.apu-chat__typing-dots span:nth-child(3){animation-delay:0.3s}.apu-chat__typing-text{font-size:0.75rem;color:var(--apu-chat-muted);font-weight:500}@keyframes apu-chat-dot{0%,60%,100%{opacity:0.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.apu-chat__typing-dots span{animation:none;opacity:0.65}}.apu-chat__welcome-actions{display:flex;flex-wrap:wrap;gap:0.45rem;margin-top:-0.15rem}.apu-chat__pill{display:inline-flex;align-items:center;padding:0.4rem 0.75rem;font-size:0.75rem;font-weight:600;text-decoration:none;border-radius:999px;background:var(--apu-chat-accent);color:#fff !important;border:1px solid rgba(255,255,255,0.12);transition:background 0.15s ease,transform 0.15s ease}.apu-chat__pill:hover{background:#142a22;transform:translateY(-1px)}.apu-chat__pill--ghost{background:#fff;color:var(--apu-chat-accent) !important;border-color:rgba(27,58,45,0.2)}.apu-chat__pill--ghost:hover{background:var(--apu-chat-accent-soft)}.apu-chat__msg{max-width:92%;padding:0.65rem 0.85rem;border-radius:14px;font-size:0.875rem;line-height:1.45;color:var(--apu-chat-text)}.apu-chat__msg--bot{align-self:flex-start;background:#f3f4f3;border-bottom-left-radius:4px}.apu-chat__msg--user{align-self:flex-end;background:var(--apu-chat-accent-soft);color:var(--apu-chat-accent);border-bottom-right-radius:4px;font-weight:500}.apu-chat__msg--followup{margin-top:0.5rem}.apu-chat__wa{display:inline-flex;align-items:center;justify-content:center;gap:0.4rem;width:100%;margin-top:0.35rem;padding:0.65rem 1rem;background:var(--apu-chat-accent);color:#fff !important;font-size:0.875rem;font-weight:600;text-decoration:none;border-radius:var(--apu-chat-radius);border:1px solid rgba(237,232,224,0.15);transition:background 0.15s ease,transform 0.15s ease}.apu-chat__wa:hover{background:#142A22;transform:scale(1.01)}.apu-chat__wa:focus-visible{outline:2px solid var(--apu-chat-accent);outline-offset:2px}.apu-chat__footer{padding:0.65rem 1rem 1rem;border-top:1px solid var(--apu-chat-border);background:#f5f2ed}.apu-chat__quick{display:flex;flex-wrap:wrap;gap:0.4rem;margin-bottom:0.55rem;max-height:5.5rem;overflow-y:auto;-webkit-overflow-scrolling:touch}.apu-chat__quick[hidden]{display:none !important}.apu-chat__chip{padding:0.35rem 0.65rem;border:1px solid rgba(27,58,45,0.18);border-radius:999px;background:#fff;color:var(--apu-chat-accent);font-size:0.72rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background 0.15s ease,border-color 0.15s ease,transform 0.12s ease}.apu-chat__chip:hover:not(:disabled){background:var(--apu-chat-accent-soft);border-color:rgba(27,58,45,0.28)}.apu-chat__chip:disabled{opacity:0.55;cursor:wait}.apu-chat__chip:focus-visible{outline:2px solid var(--apu-chat-accent);outline-offset:2px}.apu-chat__quick-restore{display:block;width:100%;margin-bottom:0.45rem;padding:0.35rem;border:none;background:transparent;color:var(--apu-chat-accent);font-size:0.72rem;font-weight:600;font-family:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer;text-align:left}.apu-chat__quick-restore:hover{color:#142a22}.apu-chat__quick-restore[hidden]{display:none !important}.apu-chat__input-row{display:flex;gap:0.5rem}.apu-chat__input{flex:1;min-width:0;padding:0.55rem 0.75rem;border:1px solid var(--apu-chat-border);border-radius:var(--apu-chat-radius);font-size:0.875rem;font-family:inherit;color:var(--apu-chat-text)}.apu-chat__input:focus{outline:none;border-color:var(--apu-chat-accent);box-shadow:0 0 0 2px rgba(27,58,45,0.12)}.apu-chat__send{padding:0.55rem 0.85rem;border:none;border-radius:var(--apu-chat-radius);background:var(--apu-chat-accent);color:#fff;font-size:0.8125rem;font-weight:600;cursor:pointer;transition:opacity 0.15s ease,background 0.15s ease}.apu-chat__send:hover:not(:disabled){background:#142A22}.apu-chat__send:disabled{opacity:0.45;cursor:not-allowed}.apu-chat__send:focus-visible{outline:2px solid var(--apu-chat-cream);outline-offset:2px}.apu-chat__hint{font-size:0.7rem;color:var(--apu-chat-muted);margin-top:0.45rem;line-height:1.35}.apu-chat.panel-open .apu-chat__launcher{visibility:hidden;pointer-events:none}.apu-chat.panel-open .apu-chat__launcher-pulse{animation:none;opacity:0}.apu-chat__nudge{position:absolute;bottom:calc(100% + 10px);left:0;background:#fff;border:1px solid var(--apu-chat-border);border-radius:var(--apu-chat-radius);padding:0.6rem 0.9rem;font-size:0.8125rem;font-weight:500;color:var(--apu-chat-text);white-space:nowrap;box-shadow:0 4px 18px rgba(0,0,0,0.1);opacity:0;transform:translateY(6px);transition:opacity 0.3s ease,transform 0.3s ease;pointer-events:none;cursor:pointer;user-select:none}.apu-chat__nudge::after{content:"";position:absolute;top:100%;left:1rem;border:6px solid transparent;border-top-color:#fff;filter:drop-shadow(0 1px 0 var(--apu-chat-border))}.apu-chat__nudge.is-visible{opacity:1;transform:translateY(0);pointer-events:auto}.apu-chat.panel-open .apu-chat__nudge{opacity:0 !important;pointer-events:none !important}@media (prefers-reduced-motion:reduce){.apu-chat__nudge{transition:opacity 0.15s ease;transform:none !important}}.apu-chat__msg--bot a{color:var(--apu-chat-accent);font-weight:600;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}.apu-chat__msg--bot a:hover{color:#142a22}.apu-chat__list-item{display:block;padding-left:1rem;position:relative}.apu-chat__list-item::before{content:"·";position:absolute;left:0.3rem;color:var(--apu-chat-accent);font-weight:700}.apu-chat__scroll-btn{position:absolute;bottom:0.65rem;right:0.75rem;width:2rem;height:2rem;border-radius:50%;border:1px solid var(--apu-chat-border);background:#fff;color:var(--apu-chat-accent);box-shadow:0 2px 8px rgba(0,0,0,0.1);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:translateY(4px);transition:opacity 0.2s ease,transform 0.2s ease;pointer-events:none;z-index:2}.apu-chat__scroll-btn.is-visible{opacity:1;transform:translateY(0);pointer-events:auto}.apu-chat__scroll-btn:hover{background:var(--apu-chat-accent-soft)}.apu-chat__limit-note{align-self:center;font-size:0.7rem;color:var(--apu-chat-muted);text-align:center;padding:0.35rem 0.75rem;background:#f9f7f4;border-radius:999px;border:1px solid var(--apu-chat-border)}.apu-chat__head-title span{display:flex;align-items:center;gap:0.3rem}.apu-chat__online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4caf50;flex-shrink:0;animation:apu-online-pulse 2.5s ease-in-out infinite}@keyframes apu-online-pulse{0%,100%{opacity:1}50%{opacity:0.5}}@media (prefers-reduced-motion:reduce){.apu-chat__online-dot{animation:none}}