/* BuildWithAAC chat widget - uses the site's CSS variables (styles.css :root) */
.mm3c-bubble{position:fixed;right:20px;bottom:20px;z-index:70;width:60px;height:60px;border-radius:50%;border:0;cursor:pointer;
  background:var(--orange,#0EA5E9);color:var(--on-accent,#0A2540);box-shadow:0 8px 24px rgba(10,37,64,.28);display:flex;align-items:center;justify-content:center;transition:transform .15s,background .15s}
.mm3c-bubble:hover{background:var(--orange-l,#38BDF8);transform:translateY(-2px)}
.mm3c-bubble:focus-visible,.mm3c-panel button:focus-visible,.mm3c-panel input:focus-visible,.mm3c-panel select:focus-visible,.mm3c-panel textarea:focus-visible{outline:3px solid var(--orange-d,#0369A1);outline-offset:2px}
.mm3c-bubble svg{width:28px;height:28px}
.mm3c-hint{position:fixed;right:90px;bottom:32px;z-index:70;background:#fff;color:var(--ink,#0A2540);font:600 14px/1.3 Inter,system-ui,sans-serif;padding:9px 13px;border-radius:12px;box-shadow:var(--shadow);border:1px solid var(--line,#CBD5E1)}
.mm3c-panel{position:fixed;right:20px;bottom:92px;z-index:71;width:370px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 120px);
  background:#fff;border-radius:var(--r,14px);box-shadow:0 18px 50px rgba(10,37,64,.30);display:flex;flex-direction:column;overflow:hidden;font:400 15px/1.45 Inter,system-ui,sans-serif;color:var(--ink,#0A2540)}
.mm3c-panel[hidden],.mm3c-hint[hidden]{display:none}
.mm3c-head{background:var(--char,#0F2742);color:#fff;padding:14px 14px 14px 16px;display:flex;align-items:center;gap:10px}
.mm3c-head .av{width:34px;height:34px;border-radius:50%;background:var(--orange,#0EA5E9);color:var(--on-accent);display:flex;align-items:center;justify-content:center;font:700 13px Montserrat,Inter,sans-serif;flex:none}
.mm3c-head h2{margin:0;font:700 15px/1.2 Montserrat,Inter,sans-serif;color:#fff}
.mm3c-head p{margin:2px 0 0;font-size:12px;opacity:.8}
.mm3c-x{margin-left:auto;background:transparent;border:0;color:#fff;width:36px;height:36px;border-radius:8px;cursor:pointer;font-size:22px;line-height:1}
.mm3c-x:hover{background:rgba(255,255,255,.12)}
.mm3c-log{flex:1;overflow-y:auto;padding:14px;background:var(--concrete,#F8FAFC);display:flex;flex-direction:column;gap:8px}
.mm3c-msg{max-width:85%;padding:9px 12px;border-radius:14px;white-space:pre-wrap;word-wrap:break-word}
.mm3c-msg.bot{background:#fff;border:1px solid var(--concrete2,#E2E8F0);align-self:flex-start;border-bottom-left-radius:4px}
.mm3c-msg.user{background:var(--char2,#0A2540);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.mm3c-msg a{color:var(--orange-d,#0369A1)}
.mm3c-msg.user a{color:#fff}
.mm3c-typing{align-self:flex-start;color:var(--muted,#475569);font-size:13px;padding:2px 4px}
.mm3c-quick{display:flex;flex-wrap:wrap;gap:6px;padding:2px 0}
.mm3c-quick button{border:1.5px solid var(--orange-d,#0369A1);background:#fff;color:var(--orange-d,#0369A1);border-radius:999px;padding:7px 12px;font:600 13px Inter,sans-serif;cursor:pointer;min-height:36px}
.mm3c-quick button:hover{background:var(--orange-d,#0369A1);color:#fff}
.mm3c-form{background:#fff;border:1px solid var(--concrete2,#E2E8F0);border-radius:12px;padding:12px;display:grid;gap:8px;align-self:stretch}
.mm3c-form label{font-size:12px;font-weight:600;color:var(--muted,#475569);display:grid;gap:3px}
.mm3c-form input,.mm3c-form select{font:400 15px Inter,sans-serif;padding:8px 10px;border:1px solid var(--line,#CBD5E1);border-radius:8px;width:100%;box-sizing:border-box;background:#fff;color:var(--ink)}
.mm3c-form .row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mm3c-form .cons{display:flex;gap:8px;align-items:flex-start;font-weight:400;font-size:11.5px;line-height:1.35}
.mm3c-form .cons input{width:auto;margin-top:2px}
.mm3c-form .err{color:#B91C1C;font-size:13px;margin:0;min-height:0}
.mm3c-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.mm3c-send,.mm3c-form .go{background:var(--orange,#0EA5E9);color:var(--on-accent,#0A2540);border:0;border-radius:10px;font:700 14px Montserrat,Inter,sans-serif;cursor:pointer;padding:10px 14px;min-height:44px}
.mm3c-send:disabled,.mm3c-form .go:disabled{opacity:.55;cursor:default}
.mm3c-foot{display:flex;gap:8px;padding:10px;border-top:1px solid var(--concrete2,#E2E8F0);background:#fff}
.mm3c-foot textarea{flex:1;resize:none;font:400 15px/1.35 Inter,sans-serif;padding:10px;border:1px solid var(--line,#CBD5E1);border-radius:10px;height:44px;box-sizing:border-box;color:var(--ink)}
.mm3c-note{font-size:11px;color:var(--muted,#475569);text-align:center;padding:0 10px 8px;background:#fff;margin:0}
.mm3c-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:640px){
  .mm3c-bubble{right:14px;bottom:calc(84px + env(safe-area-inset-bottom));width:56px;height:56px}
  .mm3c-hint{display:none}
  .mm3c-panel{right:0;left:0;bottom:0;top:0;width:100%;max-width:none;height:auto;max-height:none;border-radius:0}
  .mm3c-form .row{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.mm3c-bubble{transition:none}}
