/* Scoped production widget skin; no remote fonts, photos or icon dependencies. */
#byteskyChatWindow,#byteskyChatLauncher{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box;--bytesky-color:#18181b}
#byteskyChatWindow *{box-sizing:border-box}
#byteskyChatWindow[hidden]{display:none!important}
#byteskyChatWindow .bytesky-chat-connection-status{padding:7px 14px;background:#fff;color:#71717a;font-size:10px;line-height:1.5;border-top:1px solid #e6e6eb}
#byteskyChatLauncher{width:54px;height:54px;border:0;background:var(--bytesky-color);box-shadow:0 4px 16px #18181b26;z-index:999999}
#byteskyChatLauncher:before{display:none}
#byteskyChatLauncher:hover{transform:translateY(-2px)}
#byteskyChatWindow{width:min(370px,calc(100vw - 32px));height:min(530px,calc(100dvh - 130px));border:1px solid #e6e6eb;border-radius:16px;background:#fff;box-shadow:0 16px 56px #18181b20;z-index:999999;color:#18181b;transition:opacity .2s,transform .2s}
#byteskyChatWindow .chat-header{background:var(--bytesky-color);padding:19px 18px;min-height:80px;border:0}
#byteskyChatWindow .header-info h3{font:600 14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.02em;color:white;margin:0 0 4px}
#byteskyChatWindow .header-info span{font-size:10px;color:#fff;opacity:.75}
#byteskyChatWindow .avatar-box img{background:#fff;padding:5px;border-radius:10px;width:40px;height:40px;object-fit:contain}
#byteskyChatWindow .status-dot{display:none}
#byteskyChatWindow .chat-body{background:#fafafb;padding:20px 16px;scrollbar-width:thin}
#byteskyChatWindow button.bytesky-chat-history{all:unset;box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;gap:6px;width:max-content!important;max-width:100%;min-width:0!important;height:30px!important;min-height:0!important;margin:4px auto 16px!important;padding:0 12px!important;border:1px solid #e4e4e7!important;border-radius:999px!important;background:#fff!important;color:#71717a!important;font:500 11px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:normal!important;text-transform:none!important;text-decoration:none!important;box-shadow:none!important;transform:none!important;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
#byteskyChatWindow button.bytesky-chat-history::before,#byteskyChatWindow button.bytesky-chat-history::after{content:none!important}
#byteskyChatWindow button.bytesky-chat-history[hidden]{display:none!important}
#byteskyChatWindow button.bytesky-chat-history:hover:not(:disabled){background:#f4f4f5!important;border-color:#d4d4d8!important;color:#27272a!important}
#byteskyChatWindow button.bytesky-chat-history:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
#byteskyChatWindow button.bytesky-chat-history:disabled{opacity:.65;cursor:wait}
#byteskyChatWindow .bytesky-chat-history svg{display:block;width:12px;height:12px;flex:none;fill:none;stroke:currentColor}
#byteskyChatWindow .bytesky-chat-history span{font:inherit;color:inherit}
#byteskyChatWindow .message-content{background:#fff;border:1px solid #e6e6eb;color:#3f3f46;border-radius:12px 12px 12px 3px;padding:11px 14px;font-size:12px;line-height:1.75;box-shadow:none}
#byteskyChatWindow .user-row .message-content{background:var(--bytesky-color);border-color:var(--bytesky-color);color:#fff;border-radius:12px 12px 3px 12px}
#byteskyChatWindow .bce-avatar-img{background:white;padding:3px;border:1px solid #e6e6eb;object-fit:contain}
#byteskyChatWindow .msg-time{font-size:9px;opacity:.6}
#byteskyChatWindow .chat-footer{padding:12px 14px;border-top:1px solid #e6e6eb;background:#fff;gap:10px}
#byteskyChatWindow .chat-input-wrapper{border:1px solid #e6e6eb;background:#fafafb;border-radius:9px}
#byteskyChatWindow #byteskyChatInput{background:none;border:0;outline:none;box-shadow:none;padding:10px 12px;font-size:12px;font-family:inherit;color:#18181b;width:100%}
#byteskyChatWindow .send-btn{display:grid;place-items:center;background:var(--bytesky-color);color:white;width:36px;height:36px;border:0;border-radius:9px}
#byteskyChatWindow .close-btn{color:white;background:none;border:0;padding:7px;cursor:pointer}
#byteskyChatWindow .bytesky-chat-credit{text-align:center;font-size:9px;color:#a1a1aa;padding:0 0 9px;background:white}
#byteskyChatWindow .typing{font-size:10px;background:white;color:#a1a1aa}
#byteskyChatWindow[data-position=left],#byteskyChatLauncher[data-position=left]{left:24px;right:auto}
#byteskyChatWindow .fas,#byteskyChatWindow .fab,#byteskyChatLauncher .fas{display:inline-block;width:18px;height:18px;font-size:0;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v13H9l-5 4Z'/%3E%3C/svg%3E")}
#byteskyChatWindow .fa-times,#byteskyChatLauncher.active .fas{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M6 18 18 6'/%3E%3C/svg%3E")}
#byteskyChatWindow .fa-paper-plane{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='m21 3-7 18-4-7-7-4 18-7ZM10 14 21 3'/%3E%3C/svg%3E")}
#byteskyChatWindow .fa-image{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M3 3h18v18H3Zm0 14 6-6 4 4 3-3 5 5M7 7h1'/%3E%3C/svg%3E")}
#byteskyChatWindow .fa-camera{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 7h4l2-3h6l2 3h4v13H3Z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E")}
#byteskyChatWindow .bce-upload-btn{color:#71717a;border:0;border-radius:7px;background:transparent;min-width:30px;padding:5px;box-shadow:none}
#byteskyChatWindow .fas:before,#byteskyChatWindow .fab:before,#byteskyChatLauncher .fas:before{content:none}
#byteskyChatWindow :focus-visible,#byteskyChatLauncher:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
@media(max-width:480px){#byteskyChatWindow{right:16px;bottom:calc(var(--my-mbm-height,0px) + var(--my-mbm-safe-area-bottom,0px) + 88px)}#byteskyChatLauncher{right:16px;bottom:calc(var(--my-mbm-height,0px) + var(--my-mbm-safe-area-bottom,0px) + 20px)}#byteskyChatWindow[data-position=left],#byteskyChatLauncher[data-position=left]{left:16px}}
#byteskyChatMessages .message-row{animation:none;opacity:1}
#byteskyChatWindow .bytesky-delivery-state{font-size:9px;line-height:1.5;margin-top:4px;opacity:.8}
#byteskyChatWindow .bytesky-chat-retry{font:inherit;color:inherit;background:transparent;border:0;padding:0;text-decoration:underline;cursor:pointer}
@media(prefers-reduced-motion:reduce){#byteskyChatWindow,#byteskyChatLauncher{transition:none;animation:none}#byteskyChatWindow .message-row{animation:none;opacity:1}}
