/* HOA Helper widget — large, plain, easy to read. Uses the site's colors when present. */
.hb-launch{position:fixed;right:18px;bottom:18px;z-index:9998;display:flex;align-items:center;gap:10px;padding:14px 20px;border:0;border-radius:999px;
  background:var(--forest-green,#2d5016);color:#fff;font:700 18px/1.2 Lato,system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.25);cursor:pointer}
.hb-launch:hover{background:var(--moss-green,#4a7028)}
.hb-launch:focus-visible,.hb-panel button:focus-visible,.hb-in:focus-visible{outline:3px solid #c9a66b;outline-offset:2px}
.hb-ico-img{width:46px!important;height:46px!important;margin:-8px 0 -8px -10px;background:#fff;border:2px solid #fff;overflow:hidden}
.hb-ico-img img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.hb-ico{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--forest-green,#2d5016);font-weight:900}
.hb-panel{position:fixed;right:18px;bottom:18px;z-index:9999;width:min(645px,calc(100vw - 24px));height:min(704px,calc(100vh - 36px));display:flex;flex-direction:column;
  background:#fff;color:#222;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.3);overflow:hidden;font:17px/1.55 Lato,system-ui,-apple-system,Segoe UI,sans-serif}
.hb-panel[hidden],.hb-launch[hidden]{display:none}
.hb-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--forest-green,#2d5016);color:#fff}
.hb-title{font:700 20px/1.2 'Crimson Pro',Georgia,serif}
.hb-x{border:0;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer;padding:0 6px}
.hb-body{flex:1;overflow-y:auto;padding:14px;background:var(--cream,#f5f3ed)}
.hb-msg{max-width:92%;margin:0 0 12px;padding:11px 14px;border-radius:14px;word-wrap:break-word}
.hb-user{margin-left:auto;background:var(--moss-green,#4a7028);color:#fff;border-bottom-right-radius:4px}
.hb-bot{background:#fff;border:1px solid #e2ddd0;border-bottom-left-radius:4px}
.hb-bot p{margin:0 0 8px}.hb-bot p:last-child{margin-bottom:0}.hb-bot ul{margin:4px 0 8px 20px;padding:0}.hb-bot li{margin:3px 0}
.hb-tip{background:#f4f8ee;border-left:4px solid var(--moss-green,#4a7028);padding:6px 10px;border-radius:4px}
.hb-cite{font-size:.7em;color:#6b5d4f;font-weight:700;margin-left:1px}
.hb-badge{display:inline-block;margin-bottom:6px;padding:2px 8px;border-radius:999px;background:#e8f1de;color:#2d5016;font-size:14px;font-weight:700}
.hb-src{margin-top:8px;padding-top:8px;border-top:1px solid #eee;font-size:15px;color:#555}
.hb-src a{color:#2d5016;font-weight:700}
.hb-err{background:#fff4f2;border-color:#f0c8c0;color:#8a2a1a}
.hb-chips{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.hb-chip{text-align:left;padding:9px 12px;border:1px solid #cfd8c0;border-radius:10px;background:#f7faf2;color:#2d5016;font:600 16px/1.3 inherit;cursor:pointer}
.hb-chip:hover{background:#eaf2df}
.hb-think{color:#555}
.hb-bar{height:5px;margin-top:8px;border-radius:3px;background:linear-gradient(90deg,#e2ddd0 0,var(--moss-green,#4a7028) 50%,#e2ddd0 100%);background-size:200% 100%;animation:hbmove 1.2s linear infinite}
@keyframes hbmove{from{background-position:200% 0}to{background-position:0 0}}
@media (prefers-reduced-motion:reduce){.hb-bar{animation:none}}
.hb-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e2ddd0;background:#fff}
.hb-in{flex:1;resize:none;padding:10px;border:1px solid #c9c2b0;border-radius:10px;font:17px/1.4 inherit}
.hb-send{padding:0 18px;border:0;border-radius:10px;background:var(--forest-green,#2d5016);color:#fff;font:700 17px inherit;cursor:pointer}
.hb-send:disabled{opacity:.5}
.hb-note{padding:6px 12px 10px;font-size:13px;line-height:1.4;color:#666;background:#fff}
@media (max-width:520px){.hb-panel{right:0;bottom:0;width:100vw;height:100dvh;border-radius:0}.hb-launch{right:12px;bottom:12px}}
