.global-chat-launcher{position:fixed;z-index:11000;inset-inline-end:20px;bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;padding:10px 16px 10px 10px;border:1px solid #ffffff30;border-radius:22px;color:#fff;background:linear-gradient(125deg,#172b4d,#1f4b7a);box-shadow:0 8px 30px #0f172a35,0 2px 8px #0f172a25;cursor:pointer;transition:transform .18s,box-shadow .18s;font-family:inherit;text-align:start}.global-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 12px 34px #0f172a45}.chat-mode-option:focus-visible,.chat-preferences-panel button:focus-visible,.global-chat-launcher:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}.global-chat-launcher-icon{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:#ffffff15}.global-chat-launcher-icon i{position:absolute;bottom:-1px;inset-inline-end:-1px;width:10px;height:10px;border:2px solid #1f4b7a;border-radius:50%;background:#fbbf24}.global-chat-launcher-icon i[data-connected=true]{background:#4ade80}.global-chat-launcher-copy{display:flex;flex-direction:column;gap:3px}.global-chat-launcher-copy strong{font-size:13px;line-height:1.2}.global-chat-launcher-copy small{font-size:10px;color:#cbdcf0}.global-chat-unread{position:absolute;top:-6px;inset-inline-end:-5px;min-width:22px;height:22px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:20px;background:#e5485b;color:white;font-size:10px;font-weight:700}.global-team-chat .team-chat{z-index:11001}.global-team-chat .team-chat[data-floating=true]{border:1px solid #ffffff24;border-radius:20px;box-shadow:0 22px 70px #0f172a50,0 4px 15px #0f172a20}.chat-preferences-backdrop{position:fixed;inset:0;z-index:11010;background:#0b12287a;backdrop-filter:blur(5px);display:grid;place-items:center;padding:18px}.chat-preferences-panel{width:min(520px,100%);max-height:calc(100dvh - 36px);overflow:auto;background:#17212e;color:#f8fafc;border:1px solid #ffffff20;border-radius:22px;padding:24px;box-shadow:0 24px 80px #02061755;font-family:inherit}.chat-preferences-panel header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.chat-preferences-mark{display:grid;place-items:center;background:#60a5fa20;border:1px solid #60a5fa30;color:#93c5fd;width:44px;height:44px;border-radius:14px;flex-shrink:0}.chat-preferences-panel h2{font-size:20px;font-weight:700;margin:0;line-height:1.4}.chat-preferences-panel p{font-size:12px;color:#a8b8cb;margin:4px 0 0}.chat-preferences-close{margin-inline-start:auto;background:transparent;color:#a8b8cb;border:0;padding:6px;border-radius:8px;cursor:pointer}.chat-preferences-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:13px}.chat-preferences-label>span{display:flex;align-items:center;gap:4px;color:#a8b8cb;font-size:10px}.chat-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chat-mode-option{text-align:start;color:inherit;background:#101925;border:1px solid #334155;border-radius:14px;padding:12px;cursor:pointer;transition:border-color .15s,background .15s}.chat-mode-option.is-selected{border-color:#60a5fa;background:#1d3654}.chat-mode-option-title{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650;margin-top:12px}.chat-mode-option-title svg:last-child:not(:first-child){margin-inline-start:auto;color:#93c5fd}.chat-mode-option small{display:block;color:#b5c4d6;font-size:11px;line-height:1.5;margin-top:6px}.chat-mode-preview{display:block;position:relative;height:66px;border-radius:8px;background:#ffffff0b;overflow:hidden}.chat-mode-preview:before{content:"";display:block;height:10px;background:#ffffff12}.chat-mode-preview i{position:absolute;inset-inline-start:8px;top:20px;width:22%;height:37px;border-radius:4px;background:#ffffff0b}.chat-mode-preview b{position:absolute;inset-inline-end:9px;top:21px;width:40%;height:37px;border-radius:5px;background:#60a5fa40;border:1px solid #60a5fa50}.chat-mode-preview.floating b{width:31%;height:26px;top:21px}.chat-mode-preview em{position:absolute;inset-inline-end:6px;bottom:5px;display:grid;place-items:center;width:21px;height:21px;background:#60a5fa;color:#102033;border-radius:8px}.chat-notification-option{position:relative;display:flex;align-items:center;gap:12px;border:1px solid #334155;border-radius:14px;padding:14px;margin-top:18px;cursor:pointer}.chat-notification-option>svg{color:#93c5fd;flex-shrink:0}.chat-notification-option>span{display:flex;flex-direction:column;gap:4px;flex:1}.chat-notification-option strong{font-size:13px}.chat-notification-option small{font-size:11px;color:#a8b8cb}.chat-notification-option input{position:absolute;opacity:0;inset-inline-end:14px;width:42px;height:24px}.chat-notification-option i{display:block;width:42px;height:24px;background:#475569;border-radius:14px;padding:3px;flex-shrink:0}.chat-notification-option i:after{content:"";display:block;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .15s}.chat-notification-option input:checked+i{background:#16847d}.chat-notification-option input:checked+i:after{transform:translateX(18px)}[dir=rtl] .chat-notification-option input:checked+i:after{transform:translateX(-18px)}.chat-notification-option input:focus-visible+i{outline:3px solid #60a5fa;outline-offset:3px}.chat-preferences-panel footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.chat-preferences-panel footer button{display:flex;align-items:center;gap:7px;padding:10px 17px;font-size:12px;font-weight:650;border-radius:10px;cursor:pointer}.chat-preferences-cancel{background:#ffffff08;color:#cbd5e1;border:1px solid #ffffff20}.chat-preferences-save{background:#3b82f6;color:#fff;border:1px solid #60a5fa}.chat-preferences-panel button:disabled{opacity:.5;cursor:default}.chat-preferences-error{margin-top:16px;padding:12px;border:1px solid #f8717150;border-radius:10px;background:#f8717110;color:#fecaca;font-size:12px;line-height:1.6}.chat-preferences-error button{color:#fff;text-decoration:underline;display:block;background:none;border:0;padding:3px 0;cursor:pointer}@media(max-width:640px){.global-chat-launcher{inset-inline-end:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:9px;border-radius:19px}.global-chat-launcher-copy{display:none}.chat-preferences-panel{padding:18px}.chat-mode-options{gap:8px}.chat-mode-option{padding:10px}.chat-mode-option-title{font-size:11px}}@media print{.chat-preferences-backdrop,.global-team-chat{display:none!important}}@media(prefers-reduced-motion:reduce){.chat-mode-option,.chat-notification-option i:after,.global-chat-launcher{transition:none}}.chat-preferences-backdrop,.chat-preferences-backdrop *,.global-chat-launcher,.global-chat-launcher *{box-sizing:border-box}