/* "Ask Bizzaro" chat launcher: WhatsApp + assistant panel (adapted from the DNINE chat). Classes scoped .bzchat-* */
.bzchat{--bz-navy:#1b2a5c;--bz-deep:#141f45;--bz-paper:#fff;--bz-soft:#f2f3f7;--bz-line:#e2e5ee;--bz-muted:#7a8193;--bz-wa:#25D366;font-family:"Red Hat Display",system-ui,sans-serif;color:#1b2a5c;line-height:1.45}
.bzchat *{box-sizing:border-box}
.bzchat [hidden]{display:none!important}

/* launcher: WhatsApp above, "Ask Bizzaro" pill below, both bottom-right */
.bzchat-fab{position:fixed;right:22px;z-index:60;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;cursor:pointer;text-decoration:none;font:inherit;box-shadow:0 12px 28px -8px rgba(20,31,69,.45);transition:transform .2s ease,box-shadow .2s ease}
.bzchat-fab:hover{transform:translateY(-2px)}
.bzchat-fab:focus-visible,.bzchat button:focus-visible,.bzchat a:focus-visible,.bzchat textarea:focus-visible{outline:2px solid var(--bz-navy);outline-offset:3px}
.bzchat-ai{bottom:22px;height:54px;padding:0 24px 0 12px;border-radius:999px;background:var(--bz-navy);color:#fff;font-size:11.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase}
.bzchat-spark{width:32px;height:32px;border-radius:50%;background:#fff;color:var(--bz-navy);display:grid;place-items:center}
.bzchat-wa{bottom:22px;left:22px;right:auto;width:54px;height:54px;border-radius:50%;background:var(--bz-wa);color:#fff}
.bzchat-tip{position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%);background:var(--bz-deep);color:#fff;padding:8px 12px;font-size:12.5px;font-weight:600;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s}
.bzchat-tip small{display:block;font-weight:400;color:#c9cfe0;font-size:11.5px}
.bzchat-wa:hover .bzchat-tip,.bzchat-wa:focus-visible .bzchat-tip{opacity:1}

/* panel */
.bzchat-panel{position:fixed;right:22px;bottom:22px;z-index:61;width:390px;height:min(580px,calc(100dvh - 44px));background:var(--bz-paper);border:1px solid var(--bz-line);box-shadow:0 30px 70px -20px rgba(20,31,69,.45);display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.bzchat.open .bzchat-panel{opacity:1;transform:none;pointer-events:auto}
.bzchat.open .bzchat-ai{display:none}
.bzchat-head{background:var(--bz-navy);color:#fff;padding:14px 14px 14px 16px;display:flex;align-items:center;gap:12px;flex:none}
.bzchat-mark{width:42px;height:42px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden;flex:none}
.bzchat-mark img{width:28px;height:28px;object-fit:contain}
.bzchat-title{flex:1;min-width:0}
.bzchat-title b{display:block;font-family:Domine,Georgia,serif;font-weight:400;font-size:17px;letter-spacing:.04em;text-transform:uppercase}
.bzchat-title span{display:block;font-size:11.5px;color:#c9cfe0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bzchat-ib{width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;display:grid;place-items:center;flex:none}
.bzchat-ib:hover{background:rgba(255,255,255,.24)}
.bzchat-ib svg{width:16px;height:16px}
.bzchat-body{flex:1;overflow-y:auto;padding:16px 14px 8px;background:var(--bz-paper);overscroll-behavior:contain}
.bzchat-row{display:flex;flex-direction:column;margin-bottom:12px}
.bzchat-row.user{align-items:flex-end}
.bzchat-row.bot{align-items:flex-start}
.bzchat-msg{max-width:86%;padding:10px 14px;font-size:14.5px;overflow-wrap:anywhere}
.bzchat-row.user .bzchat-msg{background:var(--bz-navy);color:#fff;border-radius:16px 16px 4px 16px}
.bzchat-row.bot .bzchat-msg{background:var(--bz-soft);color:#24305c;border-radius:16px 16px 16px 4px}
.bzchat-msg p{margin:0 0 8px}.bzchat-msg p:last-child{margin-bottom:0}
.bzchat-msg ul,.bzchat-msg ol{margin:4px 0 8px;padding-left:20px;list-style:disc}
.bzchat-msg ol{list-style:decimal}
.bzchat-msg a{color:var(--bz-navy);font-weight:700;text-decoration:underline}
.bzchat-row.user .bzchat-msg a{color:#fff}
.bzchat-lead{margin-top:6px;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:#1f7a45;font-weight:700}
.bzchat-chips{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 12px}
.bzchat-chip{border:1px solid var(--bz-navy);background:#fff;color:var(--bz-navy);border-radius:999px;padding:7px 13px;font:inherit;font-weight:600;font-size:12.5px;cursor:pointer}
.bzchat-chip:hover{background:var(--bz-navy);color:#fff}
.bzchat-typing{display:inline-flex;gap:4px;padding:13px 16px}
.bzchat-typing i{width:7px;height:7px;border-radius:50%;background:var(--bz-muted);opacity:.5;animation:bzDot 1s infinite ease-in-out}
.bzchat-typing i:nth-child(2){animation-delay:.15s}.bzchat-typing i:nth-child(3){animation-delay:.3s}
@keyframes bzDot{0%,80%,100%{transform:translateY(0);opacity:.4}40%{transform:translateY(-4px);opacity:1}}
.bzchat-handoff{padding:0 14px 8px;background:var(--bz-paper)}
.bzchat-hbtn{display:flex;align-items:center;justify-content:center;gap:8px;height:38px;border-radius:999px;border:1px solid var(--bz-wa);color:#0f7a3b;font-weight:700;font-size:13px;text-decoration:none}
.bzchat-hbtn:hover,.bzchat-hbtn.strong{background:var(--bz-wa);color:#fff}
.bzchat-form{display:flex;gap:8px;align-items:flex-end;padding:8px 12px;border-top:1px solid var(--bz-line);background:var(--bz-paper);flex:none}
.bzchat-form textarea{flex:1;resize:none;border:1px solid var(--bz-line);border-radius:20px;background:#fff;padding:10px 14px;font:inherit;font-size:14.5px;line-height:1.35;max-height:110px;min-height:42px;outline:none;color:#1b2a5c}
.bzchat-form textarea:focus{border-color:var(--bz-navy)}
.bzchat-send{width:42px;height:42px;border-radius:50%;border:0;background:var(--bz-navy);color:#fff;cursor:pointer;display:grid;place-items:center;flex:none}
.bzchat-send:disabled{opacity:.45;cursor:default}
.bzchat-send svg{width:18px;height:18px}
.bzchat-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.bzchat-hnote{padding:2px 16px 4px;font-size:11.5px;color:var(--bz-muted)}
.bzchat-hnote a{color:var(--bz-navy);font-weight:700;text-decoration:underline}
.bzchat-priv{padding:0 16px 10px;font-size:10.5px;color:var(--bz-muted);line-height:1.4}
.bzchat-priv a{color:inherit;text-decoration:underline}

@media (max-width:600px){
  .bzchat-fab{right:14px}
  .bzchat-ai{bottom:14px;width:52px;height:52px;padding:0;border-radius:50%}
  .bzchat-ai .bzchat-label{display:none}
  .bzchat-wa{bottom:14px;left:14px;width:48px;height:48px}
  .bzchat.open .bzchat-wa{display:none}
  .bzchat-tip{display:none}
  .bzchat-panel{inset:0;width:100%;height:100dvh;border:0}
  .bzchat-msg{max-width:92%;font-size:15px}
  .bzchat-form textarea{font-size:16px}
}
html.bzchat-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){.bzchat *{animation:none!important;transition:none!important}}
