[data-chatwoot-widget] { position:fixed; z-index:90; right:max(24px, env(safe-area-inset-right)); bottom:calc(24px + env(safe-area-inset-bottom)); color:#203b2b; font-family:Inter,"Source Han Sans",system-ui,sans-serif; font-size:14px; line-height:1.6; }
[data-chatwoot-widget][hidden], [data-chatwoot-widget] [hidden] { display:none !important; }
/* Launcher blue matches assets/logo/corebyte-logo-hd.svg; keep other widget colours local. */
[data-chatwoot-widget] [data-chat-open] { display:flex; align-items:center; justify-content:center; gap:9px; min-height:52px; padding:12px 20px; border:1px solid #ffffff40; border-radius:28px; background:#0A58A6; color:#fff; font:inherit; font-weight:500; box-shadow:0 5px 20px #18362626; cursor:pointer; }
[data-chatwoot-widget] [data-chat-open]:hover { background:#084685; }
[data-chatwoot-widget] .chatwoot-fallback { position:absolute; bottom:66px; right:0; width:min(300px,calc(100vw - 40px)); box-sizing:border-box; padding:16px; border:1px solid #dbe5de; border-radius:12px; background:white; box-shadow:0 8px 30px #172d2322; }
[data-chatwoot-widget] .chatwoot-fallback p { margin:0 0 8px; font:inherit; color:#203b2b; }
[data-chatwoot-widget] .chatwoot-fallback a { color:#176036; text-decoration:underline; text-underline-offset:4px; }
[data-chatwoot-widget] [data-chat-dialog] { position:fixed; inset:auto 24px 88px auto; margin:0; box-sizing:border-box; padding:0; border:1px solid #dbe5de; border-radius:16px; width:min(420px,calc(100vw - 32px)); height:min(640px,calc(100dvh - 200px)); max-height:calc(100dvh - 32px); color:#203b2b; background:#fff; box-shadow:0 20px 70px #172d2333; overflow:hidden; }
[data-chatwoot-widget] [data-chat-dialog]::backdrop { background:#142e2329; }
[data-chatwoot-widget] [data-chat-dialog] header { display:flex; align-items:center; justify-content:space-between; gap:12px; height:64px; padding:12px 16px; box-sizing:border-box; border-bottom:1px solid #e3ebe5; }
[data-chatwoot-widget] [data-chat-dialog] strong { font-size:14px; font-weight:500; }
[data-chatwoot-widget] [data-chat-close] { font:inherit; font-size:13px; border:0; background:none; color:#176036; padding:10px 4px; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
[data-chatwoot-widget] [data-chat-loading] { position:relative; z-index:1; padding:12px 16px; margin:0; color:#52645a; background:#fff; }
[data-chatwoot-widget] [data-chat-frame-slot] { position:absolute; inset:65px 0 0; }
[data-chatwoot-widget] [data-chat-frame-slot] iframe { display:block; width:100%; height:100%; border:0; background:white; }
[data-chatwoot-widget] :is(button,a):focus-visible { outline:2px solid #176036; outline-offset:4px; }
[data-chatwoot-widget] [data-chat-open]:focus-visible { outline-color:#0A58A6; }
@media(max-width:600px) {
  [data-chatwoot-widget] { right:max(16px,env(safe-area-inset-right)); bottom:calc(16px + env(safe-area-inset-bottom)); }
  [data-chatwoot-widget] [data-chat-open] { min-height:48px; padding:10px 16px; }
  [data-chatwoot-widget] [data-chat-dialog] { inset:calc(var(--chat-viewport-top, 0px) + max(16px, env(safe-area-inset-top))) 16px auto; margin:0; height:calc(var(--chat-viewport-height, 100dvh) - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom))); max-height:none; width:calc(100vw - 32px); }
}
