/* Buyer chat bot: floating "Questions?" button + panel. Uses the tokens from style.css. */
.bo-chat-btn{position:fixed;right:16px;bottom:16px;z-index:60;display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:12px 18px;border:0;border-radius:999px;background:var(--redbg);color:#fff;font:700 16px/1 Archivo,system-ui,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.25);cursor:pointer}
.bo-chat-btn svg{width:20px;height:20px;flex:none}
.bo-chat-btn[aria-expanded=true]{display:none}
.bo-chat{position:fixed;right:16px;bottom:16px;z-index:61;width:380px;max-width:calc(100vw - 32px);height:min(600px,calc(100vh - 32px));display:flex;flex-direction:column;background:var(--bg);color:var(--ink);border:1px solid var(--rule);border-radius:10px;box-shadow:0 12px 40px rgba(0,0,0,.3);overflow:hidden;font-size:15.5px;line-height:1.5}
.bo-chat[hidden]{display:none}
.bo-chat-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;background:var(--slate);color:#fff}
.bo-chat-head h2{flex:1;margin:0;font-size:17px;letter-spacing:0;line-height:1.2;color:#fff}
.bo-chat-head p{margin:2px 0 0;font-size:13px;font-weight:400;color:#c9d3da}
.bo-chat-x{flex:none;width:40px;height:40px;border:0;border-radius:6px;background:transparent;color:#fff;font-size:26px;line-height:1;cursor:pointer}
.bo-chat-x:hover{background:var(--slate2)}
.bo-chat-log{flex:1;overflow-y:auto;padding:14px 14px 6px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.bo-msg{max-width:88%;padding:10px 12px;border-radius:10px;overflow-wrap:anywhere}
.bo-msg p{margin:0 0 .5em}.bo-msg p:last-child{margin:0}
.bo-msg ul{margin:.2em 0 .5em;padding-left:1.2em}
.bo-bot{align-self:flex-start;background:var(--soft);border-top-left-radius:2px}
.bo-you{align-self:flex-end;background:var(--slate);color:#fff;border-top-right-radius:2px}
.bo-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.bo-acts a{display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border-radius:4px;font-weight:700;font-size:14px;text-decoration:none;border:2px solid var(--red);color:var(--red)}
.bo-acts a.bo-main{background:var(--redbg);border-color:var(--redbg);color:#fff}
.bo-chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 14px 10px}
.bo-chips button{min-height:36px;padding:6px 11px;border:1px solid var(--rule);border-radius:999px;background:var(--bg);color:var(--ink);font:600 14px/1.2 Archivo,system-ui,sans-serif;cursor:pointer;text-align:left}
.bo-chips button:hover{border-color:var(--red)}
.bo-chat-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--rule)}
.bo-chat-form input{flex:1;min-height:44px;padding:8px 12px;border:1px solid var(--rule);border-radius:6px;background:var(--bg);color:var(--ink);font:16px Archivo,system-ui,sans-serif}
.bo-chat-form button{min-height:44px;padding:8px 14px;border:0;border-radius:6px;background:var(--redbg);color:#fff;font:700 15px Archivo,system-ui,sans-serif;cursor:pointer}
.bo-chat-note{margin:0;padding:0 14px 10px;font-size:12px;color:var(--mut)}
.bo-typing{font-style:italic;color:var(--mut)}
@media (max-width:520px){
 .bo-chat{left:0;right:0;bottom:0;width:auto;max-width:none;height:100dvh;border-radius:0;border:0}
 .bo-chat-btn{right:12px;bottom:12px}
}
@media print{.bo-chat,.bo-chat-btn{display:none!important}}
