/* Smangaliso chat widget — DFG black & gold. Scoped under .smg-* so it never clashes with host pages. */
.smg-root{position:fixed;right:18px;bottom:18px;z-index:2147483000;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.45}
.smg-fab{display:inline-flex;align-items:center;gap:.5rem;background:#C9972B;color:#050505;border:0;border-radius:999px;padding:.8rem 1.1rem;font:600 15px/1 inherit;font-family:inherit;cursor:pointer;box-shadow:0 8px 28px rgba(0,0,0,.35);transition:transform .15s ease,background .15s ease}
.smg-fab:hover{background:#D8B45A;transform:translateY(-1px)}.smg-fab:focus-visible{outline:3px solid #fff;outline-offset:2px}
.smg-root.is-open .smg-fab span{display:none}
.smg-panel{display:none;flex-direction:column;position:absolute;right:0;bottom:64px;width:min(380px,calc(100vw - 24px));height:min(580px,calc(100vh - 110px));background:#0d0d0d;color:#f5f1e8;border:1px solid rgba(201,151,43,.45);border-radius:16px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.45)}
.smg-panel.open{display:flex}
.smg-head{display:flex;align-items:center;gap:.65rem;padding:.8rem .9rem;background:#050505;border-bottom:1px solid rgba(201,151,43,.3)}
.smg-mono{flex:0 0 36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#C9972B,#8a6516);color:#050505;display:grid;place-items:center;font:700 18px/1 Georgia,"Times New Roman",serif}
.smg-ttl{flex:1;min-width:0}.smg-ttl b{display:block;color:#D8B45A;font-size:15px}.smg-ttl small{display:block;color:#b9b2a3;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smg-wa{color:#050505;background:#25D366;border-radius:999px;padding:.3rem .65rem;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}
.smg-x{background:none;border:0;color:#d9d2c3;font-size:24px;line-height:1;cursor:pointer;padding:0 .25rem}.smg-x:focus-visible,.smg-link:focus-visible,.smg-opts button:focus-visible,.smg-send:focus-visible{outline:2px solid #D8B45A;outline-offset:2px}
.smg-log{flex:1;overflow-y:auto;padding:.9rem;display:flex;flex-direction:column;gap:.55rem;scroll-behavior:smooth}
.smg-msg{display:flex;flex-direction:column;align-items:flex-start;max-width:88%}
.smg-msg.smg-you{align-self:flex-end;align-items:flex-end}
.smg-bubble{padding:.6rem .8rem;border-radius:14px 14px 14px 4px;background:#1b1b1b;border:1px solid #2a2a2a;white-space:pre-wrap;overflow-wrap:anywhere}
.smg-you .smg-bubble{background:#C9972B;color:#050505;border-color:#C9972B;border-radius:14px 14px 4px 14px}
.smg-staff .smg-bubble{background:#1f1a10;border-color:rgba(201,151,43,.55)}
.smg-notice .smg-bubble{background:transparent;border:1px dashed #3a3a3a;color:#a9a294;font-size:12.5px}
.smg-who{font-size:11px;color:#D8B45A;margin:0 0 .15rem .2rem;font-weight:600}
.smg-bubble a{color:#D8B45A}.smg-you .smg-bubble a{color:#050505}
.smg-cta{margin-top:.35rem;display:inline-block;color:#050505;background:#D8B45A;border-radius:8px;padding:.35rem .6rem;font-size:13px;font-weight:600;text-decoration:none}
.smg-opts{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.4rem}
.smg-opts button{background:transparent;color:#D8B45A;border:1px solid rgba(201,151,43,.7);border-radius:999px;padding:.38rem .7rem;font:500 13px/1.2 inherit;font-family:inherit;cursor:pointer;text-align:left}
.smg-opts button:hover:not(:disabled){background:#C9972B;color:#050505}.smg-opts button:disabled{opacity:.45;cursor:default}
.smg-typing{padding:0 .9rem .3rem;font-size:12px;color:#a9a294}
.smg-form{display:flex;gap:.4rem;padding:.6rem;border-top:1px solid #222;background:#0a0a0a}
.smg-in{flex:1;min-width:0;background:#161616;color:#f5f1e8;border:1px solid #333;border-radius:10px;padding:.6rem .7rem;font:15px inherit;font-family:inherit}.smg-in:focus{outline:none;border-color:#C9972B}
.smg-send{background:#C9972B;color:#050505;border:0;border-radius:10px;padding:0 .9rem;font-weight:600;cursor:pointer;font-family:inherit}.smg-send:disabled{opacity:.6}
.smg-foot{font-size:11px;color:#7d776b;text-align:center;padding:.3rem .5rem .5rem;background:#0a0a0a}
.smg-link{background:none;border:0;color:#D8B45A;text-decoration:underline;cursor:pointer;font:inherit;padding:0}
.smg-inline{border-radius:16px}
@media (max-width:480px){.smg-root{right:12px;bottom:12px}.smg-root.is-open{left:0;right:0;top:0;bottom:0}.smg-root.is-open .smg-panel{position:fixed;inset:0;width:100%;height:100%;border-radius:0;border:0}.smg-root.is-open .smg-fab{display:none}}
@media (prefers-reduced-motion:reduce){.smg-fab,.smg-log{transition:none;scroll-behavior:auto}}
@media print{.smg-root{display:none}}
