.site-chat{position:fixed;z-index:1200;right:22px;bottom:92px;font-family:inherit;color:var(--text,#182b2a)}
.site-chat-toggle{display:flex;align-items:center;gap:9px;border:0;border-radius:999px;padding:13px 18px;background:var(--teal,#176b68);color:#fff;box-shadow:0 8px 28px #102a2a35;font:inherit;font-weight:700;cursor:pointer}
.site-chat-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-chat-panel{position:absolute;right:0;bottom:62px;width:min(420px,calc(100vw - 28px));height:min(560px,calc(100dvh - 130px));min-height:360px;overflow:hidden;border:1px solid #d9e1dd;border-radius:18px;background:var(--bg,#fff);box-shadow:0 18px 55px #13282733;display:flex;flex-direction:column}
.site-chat-panel[hidden]{display:none}
.site-chat-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;background:var(--teal,#176b68);color:#fff}
.site-chat-head strong,.site-chat-head small{display:block}.site-chat-head small{opacity:.82;font-size:.78rem;margin-top:3px}
.site-chat-head button{border:0;background:transparent;color:inherit;font-size:28px;line-height:1;cursor:pointer}
.site-chat-messages{padding:15px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:10px}
.site-chat-bubble{max-width:92%;padding:10px 12px;border-radius:14px;font-size:.92rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.site-chat-bubble.is-bot{align-self:flex-start;background:#eef3f0;border-bottom-right-radius:4px}
.site-chat-bubble.is-user{align-self:flex-end;background:#e5f2f1;border-bottom-left-radius:4px}
.site-chat-bubble a{color:#126b68;text-decoration:underline;font-weight:700}
.site-chat-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 12px 11px;max-height:154px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
.site-chat-quick button{min-width:0;min-height:42px;border:1px solid #b8d0c9;border-radius:11px;background:#f3f8f6;color:#17322f;padding:7px 9px;font:inherit;font-size:.78rem;line-height:1.45;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.site-chat-quick button:hover{background:#deeee9;border-color:#6da99b}
.site-chat-quick button:disabled{opacity:.62;cursor:wait}
.site-chat-form{display:flex;gap:8px;padding:11px;border-top:1px solid #e0e7e3}
.site-chat-form input{min-width:0;flex:1;border:1px solid #d4dfda;border-radius:10px;padding:10px 12px;background:var(--bg,#fff);color:inherit;font:inherit}
.site-chat-form button{border:0;border-radius:10px;padding:0 15px;background:var(--gold,#d4a84f);color:#172523;font:inherit;font-weight:700;cursor:pointer}
.site-chat-form button:disabled{opacity:.55;cursor:wait}
.site-chat-status{font-size:.8rem;color:#63736e;padding:0 15px 8px}
@media(max-width:600px){.site-chat{right:12px;bottom:82px}.site-chat-toggle{padding:12px 15px}.site-chat-panel{position:fixed;inset:auto 10px 72px;width:auto;height:min(72dvh,580px);min-height:340px}}
@media(prefers-reduced-motion:no-preference){.site-chat-panel{animation:chat-rise .16s ease-out}@keyframes chat-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

/* Navy-and-gold theme; compact quick-prompt rail leaves the message area dominant. */
.site-chat-toggle{background:#d4af37;color:#101827;box-shadow:0 8px 28px #08101f55}
.site-chat-toggle:hover{background:#e5c86a}
.site-chat-panel{background:#0c1220;color:#f3f4f6;border-color:rgba(212,175,55,.42)}
.site-chat-head{flex:0 0 auto;padding:9px 14px;background:linear-gradient(135deg,#18243b,#0c1220);color:#f3f4f6;border-bottom:1px solid rgba(212,175,55,.28)}
.site-chat-head strong{color:#e5c86a}
.site-chat-head small{color:#b8c0ce;opacity:1}
.site-chat-head button{width:30px;height:30px;border-radius:50%;background:#ffffff12;color:#f3f4f6}
.site-chat-messages{min-height:0;background:#0c1220}
.site-chat-bubble.is-bot{background:#1e293b;color:#f3f4f6;border:1px solid #ffffff12}
.site-chat-bubble.is-user{background:#d4af37;color:#101827}
.site-chat-bubble a{color:#f0cf63}
.site-chat-quick{display:flex;flex:0 0 38px;align-items:center;gap:6px;height:38px;max-height:38px;padding:4px 10px;overflow-x:auto;overflow-y:hidden;background:#101827;border-top:1px solid #ffffff10;scrollbar-width:thin}
.site-chat-quick button{flex:0 0 auto;min-width:0;min-height:28px;padding:4px 9px;border:1px solid rgba(212,175,55,.32);border-radius:999px;background:#ffffff0a;color:#f3f4f6;font-size:.74rem;line-height:1.2;white-space:nowrap}
.site-chat-quick button:hover{background:#d4af3726;border-color:#d4af37}
.site-chat-form{flex:0 0 auto;gap:7px;padding:7px 9px;background:#111827;border-top-color:#ffffff18}
.site-chat-form input{padding:8px 10px;background:#090d16;color:#f3f4f6;border-color:#ffffff28}
.site-chat-form button{background:#d4af37;color:#101827;padding:0 13px}
@media(max-width:600px){
  .site-chat-panel{height:min(72dvh,580px);min-height:320px}
  .site-chat-head{padding:7px 12px}
  .site-chat-quick{flex-basis:34px;height:34px;max-height:34px;padding:3px 8px}
  .site-chat-quick button{min-height:26px;padding:3px 8px;font-size:.72rem}
  .site-chat-form{padding:6px 8px}
  .site-chat-form input{padding:7px 9px}
}
