.chatPanel{width:min(460px,calc(100vw - 28px));height:min(720px,calc(100dvh - var(--chat-panel-bottom,36px) - 18px));border-radius:12px;box-shadow:0 16px 45px #142c4b26}.chatHeader{display:flex;gap:8px;background:var(--brand-dark);padding:10px 12px;min-height:66px}.chatHeader>div{min-width:0;flex:1 1}.chatHeader>button{flex:none;width:38px;height:38px;border-radius:7px}.chatHeader strong{font-size:14px;line-height:1.4}.chatHeader span{font-size:11px}.chatMessages{padding:16px;gap:12px;overscroll-behavior:contain;scroll-behavior:auto}.chatMessages article{max-width:86%}.chatMessages article>small{font-size:10px}.chatMessages article>div{font-size:13px;line-height:1.65;border-radius:4px 11px 11px 11px;padding:10px 12px}.chatMessages article.own>div{border-radius:11px 4px 11px 11px}.chatMessages time{font-size:10px}.chatThreadTools{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--border);padding:7px 10px}.chatThreadTools button{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:5px 8px;font-size:11px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-secondary)}.chatThreadTools button[aria-pressed=true]{color:var(--accent);background:var(--brand-soft)}.chatLoadOlder,.chatNewMessages{align-self:center;min-height:38px;border:1px solid var(--border);border-radius:7px;padding:7px 12px;background:var(--surface);color:var(--accent);font-size:12px;font-weight:600;cursor:pointer}.chatNewMessages{margin:8px 12px 0;box-shadow:0 3px 10px #152f4f10}.chatEmptyThread{display:grid;place-items:center;text-align:center;gap:8px;padding:35px 20px;color:var(--text-secondary);margin:auto;max-width:290px}.chatEmptyThread p{font-size:12px;line-height:1.7;margin:0}.chatComposer textarea{font-size:13px;line-height:1.6;min-height:62px;resize:vertical}.chatComposer textarea:disabled{opacity:.7}.chatComposer>div button{height:38px;width:38px}.chatComposer>p{font-size:11px;line-height:1.6}.chatDock button:focus-visible,.chatPanel button:focus-visible,.chatPanel input:focus-visible,.chatPanel textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chatPanel button:disabled{cursor:default;opacity:.5}.chatConfirmDelete{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px;border:1px solid var(--border);border-radius:7px;background:var(--surface);font-size:11px}.chatConfirmDelete button{font-size:11px;min-height:32px;padding:4px 8px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--text-primary)}.chatConfirmDelete button:last-child{color:var(--danger)}@media(max-width:760px){.chatPanel{width:100vw;max-width:100vw;right:0;bottom:36px;height:calc(100dvh - 36px);border-radius:0;max-height:calc(100dvh - 36px)}.chatHeader>button{width:42px;height:44px}.chatHeader{padding:8px 10px}.chatThreadTools button{min-height:40px;font-size:11px}.chatComposer>div button{width:44px;height:44px}.chatComposer textarea{font-size:16px;min-height:58px}.chatMessages{padding:12px}.chatMessages article>div{font-size:13px}.chatLoadOlder,.chatNewMessages{min-height:44px}.chatMessages article footer button{min-width:36px;min-height:36px}.chatConfirmDelete button{min-height:40px}}@media(prefers-reduced-motion:reduce){.chatPanel *{animation:none!important;transition:none!important}}.appRoot:has(.chatBubbleDock) .appFrame{padding-bottom:0}.chatDock.chatBubbleDock,.sidebarCollapsed .chatDock.chatBubbleDock{inset:auto 16px 16px auto;display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 32px);height:52px;padding:0;border:0;background:transparent;box-shadow:none;pointer-events:none}.chatBubbleDock button{pointer-events:auto}.chatBubbleDock .chatDockLauncher{position:relative;justify-content:center;width:52px;height:52px;min-height:52px;padding:0;border:1px solid color-mix(in srgb,var(--brand) 75%,var(--border));border-radius:50%;color:#fff;background:#0867e8;box-shadow:0 5px 18px #102e5530}.chatBubbleDock .chatDockLauncher:hover{background:#0756c4;color:#fff}.chatBubbleDock .chatDockLauncher>svg{width:24px;height:24px}.chatBubbleDock .chatDockLauncher>strong,.chatBubbleDock .chatDockTab>span:not(.chatAvatar){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.chatBubbleDock .chatDockLauncher>em,.chatBubbleDock .chatDockTab>em{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 4px;border:2px solid var(--surface);border-radius:12px;color:#fff;background:#bc3440;font-size:10px}.chatBubbleDock .chatDockTabs{gap:8px;padding:3px;overflow:visible}.chatBubbleDock .chatDockTab{position:relative;flex:0 0 44px;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:50%;background:var(--surface);box-shadow:0 3px 12px #102e5520}.chatBubbleDock .chatDockTab .chatAvatar{flex:0 0 38px;width:38px;height:38px;font-size:12px}.chatBubbleDock .chatDockTab.unread{box-shadow:0 0 0 2px var(--brand-soft),0 3px 12px #102e5520}.chatBubbleDock~.chatPanel{bottom:calc(var(--chat-panel-bottom,36px) + 44px);height:min(720px,calc(100dvh - var(--chat-panel-bottom,36px) - 62px));max-width:calc(100vw - 32px)}.chatPanel .chatCandidateList,.chatPanel .chatConversationList,.chatPanel .chatMemberList,.chatPanel .chatMessages{min-height:0;overscroll-behavior:contain}.chatPanel .chatHeader{flex-shrink:0}@media(max-width:760px){body:has(.chatDock.chatBubbleDock~.chatPanel){overflow:hidden}.chatDock.chatBubbleDock,.sidebarCollapsed .chatDock.chatBubbleDock{right:max(14px,env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom));height:52px}.chatBubbleDock .chatDockTabs,.chatDock.chatBubbleDock.isPanelOpen{display:none}.chatBubbleDock~.chatPanel{inset:var(--visible-top,0) 0 auto;width:100%;max-width:100%;height:var(--visible-height,100dvh);max-height:var(--visible-height,100dvh);border:0;border-radius:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:var(--surface);box-sizing:border-box}.chatBubbleDock~.chatPanel .chatHeader{min-height:64px;padding:10px 12px;background:var(--surface);color:var(--text-primary);border-bottom:1px solid var(--border)}.chatBubbleDock~.chatPanel .chatHeader>button{width:44px;height:44px;color:var(--text-secondary);background:var(--surface-subtle,var(--surface));border:1px solid var(--border);border-radius:10px}.chatBubbleDock~.chatPanel .chatHeader strong{font-size:15px}.chatBubbleDock~.chatPanel .chatHeader span{color:var(--text-secondary);font-size:11px}.chatBubbleDock~.chatPanel .chatListActions{gap:6px;padding:10px 12px}.chatBubbleDock~.chatPanel .chatListActions button{min-height:42px;padding:8px;font-size:12px}.chatBubbleDock~.chatPanel .chatSearch{flex-shrink:0;margin:8px 12px;min-height:44px}.chatBubbleDock~.chatPanel .chatInboxFilters{flex-shrink:0;padding:0 12px 8px}.chatBubbleDock~.chatPanel .chatInboxFilters button{min-height:36px;font-size:12px}.chatBubbleDock~.chatPanel .chatComposer{flex-shrink:0;padding:10px 12px;border-top:1px solid var(--border)}.chatBubbleDock~.chatPanel .chatComposer textarea{max-height:120px;resize:none}.appRoot:has(.chatBubbleDock) .appFrame{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.appRoot:has(.chatBubbleDock) .dashboardMain.operationsMapMain{height:calc(100dvh - var(--topbar-height) - 72px - env(safe-area-inset-bottom))}}.chatOrganization{flex-shrink:0;max-height:38%;overflow:auto;border-bottom:1px solid var(--border)}.chatDepartmentChannels{display:flex;overflow:auto;padding:8px 12px;gap:6px}.chatDepartmentChannels button{min-width:145px;max-width:220px;flex:1 1;text-align:left;display:flex;flex-direction:column;gap:3px;padding:9px 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-primary)}.chatDepartmentChannels small,.chatDepartmentChannels span,.chatInvitations small{font-size:11px;color:var(--text-secondary)}.chatDepartmentChannels strong{font-size:12px;overflow-wrap:anywhere}.chatInvitations{padding:8px 12px;font-size:12px;display:flex;flex-direction:column;gap:6px}.chatInvitations article{display:flex;align-items:center;gap:5px;border:1px solid var(--border);border-radius:9px;padding:8px}.chatInvitations article>div{min-width:0;flex:1 1;display:flex;flex-direction:column;overflow-wrap:anywhere}.chatInvitations button{min-height:36px;padding:6px 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text-primary)}.chatDirectoryScope{padding:0 12px 6px;display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--text-primary)}.chatDirectoryScope label{display:flex;align-items:center;gap:6px}.chatDirectoryScope select{max-width:100%;min-height:36px;background:var(--surface);color:var(--text-primary);border:1px solid var(--border);border-radius:7px;padding:4px 6px}.chatUnavailableToggle{font-size:11px;color:var(--text-secondary)}.chatDirectoryScope select:focus-visible,.chatOrganization button:focus-visible{outline:2px solid var(--accent,#2563eb);outline-offset:2px}@media(max-width:600px){.chatOrganization{max-height:35%}.chatInvitations button{min-height:44px}.chatDepartmentChannels button{min-height:70px}.chatDirectoryScope label{flex-wrap:wrap}}.chatDirectoryResults>button{display:flex;align-items:center;gap:9px;width:100%;padding:9px 12px;border:0;border-bottom:1px solid var(--border);background:var(--surface);color:var(--text-primary);text-align:left;cursor:pointer}.chatDirectoryResults>button>span:not(.chatAvatar){flex:1 1;min-width:0;display:flex;flex-direction:column;gap:3px}.chatDirectoryResults strong{font-size:12px}.chatDirectoryResults p,.chatDirectoryResults small{font-size:11px;color:var(--text-secondary)}.chatResultsHeading{display:block;padding:8px 12px;background:var(--surface-muted,var(--surface));color:var(--text-secondary)}@media(min-width:761px){.chatDock.chatBubbleDock,.sidebarCollapsed .chatDock.chatBubbleDock{height:44px;bottom:88px}.chatBubbleDock .chatDockLauncher{width:44px;height:44px;min-height:44px;touch-action:none;cursor:grab}.chatBubbleDock.isDragging .chatDockLauncher{cursor:grabbing}.chatBubbleDock.isDragging{-webkit-user-select:none;user-select:none}.chatBubbleDock .chatDockLauncher>svg{width:21px;height:21px}.chatBubbleDock .chatDockTab{flex-basis:38px;width:38px;height:38px}.chatBubbleDock .chatDockTab .chatAvatar{flex-basis:32px;width:32px;height:32px}.chatBubbleDock~.chatPanel,.chatPanel{width:min(360px,calc(100vw - 24px));height:min(520px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}.chatBubbleDock~.chatPanel.chatExpanded,.chatPanel.chatExpanded{width:min(480px,calc(100vw - 24px));height:min(700px,calc(100dvh - 24px))}.chatHeader{min-height:54px;padding:8px 10px;gap:5px}.chatHeader>button{width:30px;height:32px}.chatHeader strong{font-size:13px}.chatHeader span{font-size:10px}.chatDepartmentChannels{padding:7px 9px;gap:6px}.chatDepartmentChannels button{padding:6px 8px;min-width:130px;min-height:56px;gap:2px}.chatDepartmentChannels small,.chatDepartmentChannels span{font-size:10px}.chatListActions,.chatListActions.withAnnouncements{display:flex;gap:6px;padding:7px 9px}.chatListActions>button{flex:1 1;min-height:34px;padding:5px 7px;font-size:11px}.chatSearch{margin:7px 9px}.chatSearch input{min-height:34px;font-size:12px}.chatInboxFilters{padding:0 9px 7px;gap:5px}.chatInboxFilters button{font-size:12px;min-height:28px;padding:3px 8px}.chatConversationRow>button:first-child{min-height:54px;padding:8px 10px}.chatConversationRow .chatAvatar{width:34px;height:34px;flex-basis:34px}.chatMessages{padding:12px;gap:9px}.chatComposer textarea{min-height:44px}}@media(max-width:760px){.chatExpand{display:none}}.chatPanel .chatSearch:focus-within{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.chatPanel .chatSearch input:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}.chatBubbleDock~.chatPanel .chatHeader,.chatPanel .chatHeader{min-height:62px;padding:10px 14px;border-bottom:1px solid var(--border);color:var(--text-primary);background:var(--surface)}.chatPanel .chatHeader>div{min-width:0}.chatPanel .chatHeader strong{color:var(--text-primary);font-size:16px}.chatPanel .chatHeader span{color:var(--text-secondary)}.chatPanel .chatHeader .chatRename,.chatPanel .chatHeader>button{color:var(--text-secondary);border:1px solid transparent;background:transparent}.chatPanel .chatHeader .chatRename:hover,.chatPanel .chatHeader>button:hover{color:var(--brand);background:var(--surface-subtle);border-color:var(--border)}.chatPanel .chatListActions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px 4px}.chatPanel .chatListActions>button{flex:1 0 auto;min-height:37px;border-radius:8px}.chatPanel .chatListActions>.chatNewMessage{border-color:var(--brand);background:var(--brand);color:var(--brand-foreground,#fff)}.chatPanel .chatListActions>.chatNewMessage:hover{background:var(--brand-dark,var(--brand));color:var(--brand-foreground,#fff)}.chatPanel .chatSearch{margin:8px 14px 10px}.chatPanel .chatInboxFilters{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px;border-bottom:1px solid var(--border)}.chatPanel .chatInboxFilters button{border-radius:7px}.chatPanel .chatInboxFilters button span{min-width:18px;margin-inline-start:5px;padding:1px 4px;border-radius:9px;background:var(--brand-soft);color:var(--brand);font-size:10px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.chatPanel .chatConversationList{padding:4px 8px 8px}.chatPanel .chatConversationRow{margin-block:2px;border:1px solid transparent;border-radius:9px}.chatPanel .chatConversationRow:hover{border-color:var(--border);background:var(--surface-subtle)}.chatPanel .chatConversationRow>button:first-child{min-height:58px;padding:8px 10px;border-radius:8px}.chatPanel .chatConversationRow>button.unread{background:var(--brand-soft)}.chatPanel .chatConversationRow .chatRowMeta{display:grid;flex:0 0 auto;justify-items:end;align-content:center;gap:3px;min-width:max-content;color:var(--text-secondary);font-size:10px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.chatPanel .chatRowMeta em{position:static}.chatPanel .chatChannelsToggle{display:flex;align-items:center;justify-content:space-between;width:calc(100% - 12px);min-height:34px;margin:6px;padding:6px 10px;border:1px solid var(--border);border-radius:7px;color:var(--text-secondary);background:var(--surface-subtle);font:inherit;font-size:12px;cursor:pointer}.chatPanel .chatChannelsToggle span{color:var(--brand);font-weight:700}.chatPanel .chatBroadcastAudience{display:flex;align-items:center;justify-content:flex-start;gap:7px;padding:7px 9px;border-radius:7px;background:var(--brand-soft);color:var(--text-primary);font-size:12px}.chatPanel .chatBroadcastAudience svg{flex:0 0 auto;color:var(--brand)}.chatPanel .chatComposer:has(.chatBroadcastAudience) .chatSend{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:36px;padding-inline:10px;gap:6px;white-space:nowrap}@media (max-width:760px){.chatPanel .chatHeader>button.chatExpand{display:none}.chatPanel .chatListActions{padding-block-start:9px}.chatPanel .chatListActions>button{min-height:42px}.chatPanel .chatConversationList{padding-inline:6px}}