/* Scoped contact widget; no changes to the theme or navigation. */
#mscc-widget, #mscc-widget * { box-sizing: border-box; }
#mscc-widget [hidden], #mscc-widget[hidden] { display: none !important; }
#mscc-widget { --mscc-black:#111; --mscc-green:#148044; --mscc-offset:22px; position:fixed; right:var(--mscc-offset); bottom:var(--mscc-offset); right:max(var(--mscc-offset), env(safe-area-inset-right)); bottom:max(var(--mscc-offset), env(safe-area-inset-bottom)); z-index:99990; display:flex; flex-direction:column; align-items:flex-end; gap:12px; width:auto; color:#171717; font-family:inherit; font-size:14px; line-height:1.45; text-align:left; letter-spacing:normal; }
#mscc-widget button { font:inherit; text-transform:none; letter-spacing:normal; cursor:pointer; padding:0; border:0; margin:0; appearance:none; box-shadow:none; }
#mscc-widget svg { display:block; width:22px; height:22px; flex:none; }
#mscc-widget .mscc-launcher { background:var(--mscc-black); color:#fff; display:grid; place-items:center; width:58px; height:58px; min-height:0; min-width:0; border-radius:50%; box-shadow:0 5px 22px #0003; transition:background .18s,transform .18s; }
#mscc-widget .mscc-launcher svg { width:29px; height:29px; }
#mscc-widget .mscc-launcher:hover { background:#343434; transform:translateY(-2px); }
#mscc-widget .mscc-panel { width:340px; max-width:calc(100vw - 44px); max-height:calc(100vh - 114px); max-height:calc(100dvh - 114px - env(safe-area-inset-bottom)); background:#fff; border:1px solid #e7e7e7; border-radius:16px; box-shadow:0 12px 45px #0003; display:flex; flex-direction:column; overflow:hidden; margin:0; color:#171717; }
#mscc-widget .mscc-head { display:flex; align-items:center; gap:11px; background:var(--mscc-black); color:white; padding:17px 15px; flex:none; margin:0; }
#mscc-widget .mscc-avatar { width:40px; height:40px; border:1px solid #ffffff38; border-radius:50%; display:grid; place-items:center; flex:none; }
#mscc-widget .mscc-headtext { flex:1; min-width:0; }
#mscc-widget .mscc-headtext strong { display:block; font-size:16px; font-weight:700; line-height:1.3; color:#fff; overflow-wrap:anywhere; }
#mscc-widget .mscc-headtext span { display:block; font-size:11px; color:#dedede; margin-top:3px; }
#mscc-widget .mscc-close { display:grid; place-items:center; width:36px; height:36px; min-width:0; min-height:0; flex:none; background:transparent; border-radius:50%; color:white; }
#mscc-widget .mscc-close:hover { background:#ffffff20; }
#mscc-widget .mscc-body { padding:16px; background:#fff; overflow-y:auto; overscroll-behavior:contain; min-height:0; }
#mscc-widget .mscc-bubble { background:#f3f3f3; color:#222; padding:12px 14px; border-radius:3px 12px 12px 12px; font-size:13px; overflow-wrap:anywhere; }
#mscc-widget .mscc-hint { font-size:12px; color:#666; margin:12px 0 10px; padding:0; line-height:1.4; }
#mscc-widget .mscc-actions { display:grid; gap:8px; margin-top:10px; }
#mscc-widget .mscc-link { display:flex; align-items:center; gap:11px; padding:10px; min-height:60px; text-decoration:none !important; color:#171717; border:1px solid #e5e5e5; border-radius:9px; background:#fff; font:inherit; line-height:1.3; transition:background .18s,border-color .18s; }
#mscc-widget .mscc-link:hover { background:#f6f6f6; border-color:#aaa; }
#mscc-widget .mscc-action-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:8px; background:#111; color:#fff; flex:none; }
#mscc-widget .mscc-action-icon svg { width:18px; height:18px; }
#mscc-widget .mscc-link-text { flex:1; min-width:0; display:grid; gap:4px; }
#mscc-widget .mscc-link-text strong { font-size:14px; font-weight:700; color:inherit; overflow-wrap:anywhere; }
#mscc-widget .mscc-lang { display:flex; align-items:center; gap:5px; flex-wrap:wrap; font-size:11px; color:#555; }
#mscc-widget .mscc-flags { display:inline-flex; gap:3px; flex:none; }
#mscc-widget .mscc-flags svg { width:16px; height:11px; border-radius:1px; outline:1px solid #0001; }
#mscc-widget .mscc-arrow { color:#666; flex:none; }
#mscc-widget .mscc-arrow svg { width:16px; height:16px; }
#mscc-widget .mscc-whatsapp { background:var(--mscc-green); color:#fff; border-color:var(--mscc-green); }
#mscc-widget .mscc-whatsapp .mscc-action-icon { background:#ffffff24; }
#mscc-widget .mscc-whatsapp .mscc-lang, #mscc-widget .mscc-whatsapp .mscc-arrow { color:#fff; }
#mscc-widget .mscc-whatsapp:hover { background:#106837; border-color:#106837; }
#mscc-widget button:focus-visible, #mscc-widget a:focus-visible { outline:2px solid #cc8c32; outline-offset:3px; }
@media (max-width:600px) { #mscc-widget { --mscc-offset:15px; gap:10px; } #mscc-widget .mscc-launcher { width:54px; height:54px; } #mscc-widget .mscc-panel { max-width:calc(100vw - 30px); max-height:calc(100vh - 95px); max-height:calc(100dvh - 95px - env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion:reduce) { #mscc-widget *, #mscc-widget *::before, #mscc-widget *::after { transition:none !important; animation:none !important; } }
