/* Floating "Website help" bubble. Bottom-LEFT so it never collides with the Talk to Bill launcher
   (bottom-right). Secondary style (surface, not solid red) so Talk to Bill stays the primary CTA.
   All theme tokens, correct in light and dark. */
.bgwhelp-launch{position:fixed;left:22px;bottom:22px;z-index:9998;display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid var(--line2,rgba(26,23,20,.22));border-radius:999px;background:var(--bg2,#ebe7dc);color:var(--text,#1a1714);font-family:'Inter',-apple-system,sans-serif;font-weight:600;font-size:14px;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.16);transition:transform .15s,box-shadow .2s}
.bgwhelp-launch:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(0,0,0,.22)}
.bgwhelp-launch svg{display:block;color:var(--accent,#9b2f2c)}
.bgwhelp-launch.bgwhelp-hidden{display:none}

.bgwhelp-panel{position:fixed;left:22px;bottom:22px;z-index:9999;width:min(390px,calc(100vw - 32px));height:min(560px,calc(100vh - 120px));display:none;flex-direction:column;background:var(--bg,#f4f1ea);border:1px solid var(--line,rgba(26,23,20,.14));border-radius:16px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.34)}
.bgwhelp-panel.on{display:flex}
.bgwhelp-head{position:relative;padding:16px 18px 13px;background:var(--bg2,#ebe7dc);border-bottom:1px solid var(--line,rgba(26,23,20,.12))}
.bgwhelp-eb{font-family:'Inter',-apple-system,sans-serif;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent,#9b2f2c)}
.bgwhelp-title{font-family:'Fraunces',Georgia,serif;font-size:19px;font-weight:600;color:var(--text,#1a1714);margin-top:2px}
.bgwhelp-close{position:absolute;top:12px;right:13px;width:28px;height:28px;border:0;background:none;color:var(--text2,#6b645d);font-size:22px;line-height:1;cursor:pointer}
.bgwhelp-log{flex:1;overflow-y:auto;padding:16px 16px 6px;display:flex;flex-direction:column;gap:10px}
.bgwhelp-msg{max-width:88%;padding:10px 13px;border-radius:13px;font-family:'Inter',-apple-system,sans-serif;font-size:14px;line-height:1.5;white-space:pre-wrap}
.bgwhelp-bot{align-self:flex-start;background:var(--bg3,#e2ddcf);color:var(--text,#1a1714);border-top-left-radius:4px}
.bgwhelp-bot a{color:var(--accent,#9b2f2c);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.bgwhelp-bot a:hover{color:var(--accent2,#b24a47)}
.bgwhelp-you{align-self:flex-end;background:var(--accent,#9b2f2c);color:#fff;border-top-right-radius:4px}
.bgwhelp-chips{display:flex;flex-wrap:wrap;gap:7px;padding:2px 16px 12px}
.bgwhelp-chip{border:1px solid var(--line2,rgba(26,23,20,.22));background:none;color:var(--text2,#4a443d);font-family:'Inter',-apple-system,sans-serif;font-size:12.5px;border-radius:999px;padding:6px 11px;cursor:pointer;transition:border-color .15s,color .15s}
.bgwhelp-chip:hover{border-color:var(--accent,#9b2f2c);color:var(--accent,#9b2f2c)}
.bgwhelp-dots{display:inline-flex;gap:5px;align-self:flex-start;padding:10px 13px}
.bgwhelp-dots span{width:6px;height:6px;border-radius:50%;background:var(--muted,#b0a89c);animation:bgwhelpB 1.2s infinite}
.bgwhelp-dots span:nth-child(2){animation-delay:.15s}
.bgwhelp-dots span:nth-child(3){animation-delay:.3s}
@keyframes bgwhelpB{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}
.bgwhelp-form{display:flex;align-items:flex-end;gap:8px;padding:12px 14px;border-top:1px solid var(--line,rgba(26,23,20,.12));background:var(--bg2,#ebe7dc)}
.bgwhelp-input{flex:1;min-width:0;resize:none;border:1px solid var(--line2,rgba(26,23,20,.2))!important;border-radius:10px!important;padding:11px 14px!important;font-family:'Inter',-apple-system,sans-serif!important;font-size:15px!important;line-height:1.35!important;background:var(--bg,#f4f1ea)!important;color:var(--text,#1a1714)!important;min-height:44px!important;height:44px;max-height:110px!important;overflow-y:hidden!important;box-sizing:border-box!important;margin:0!important}
.bgwhelp-input:focus{outline:none;border-color:var(--accent,#9b2f2c)!important}
.bgwhelp-send{flex:0 0 auto;width:44px;height:44px;border:0;border-radius:9px;background:var(--accent,#9b2f2c)!important;color:#fff!important;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.bgwhelp-send svg{display:block;stroke:#fff}
.bgwhelp-send:disabled{opacity:.5;cursor:default}
@media(max-width:600px){
  .bgwhelp-launch{left:12px;bottom:12px}
  .bgwhelp-panel{left:12px;right:12px;bottom:12px;width:auto;height:min(72vh,540px)}
}
