.icon-button,.labelled-icon,.desk-tool,.voice-controls button{display:inline-grid!important;place-items:center!important;padding:0!important;line-height:1!important}.icon-button svg,.labelled-icon svg{display:block;margin:auto;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.rail-logo img{display:block}.account-rail{margin-top:auto;color:#c5bdaf!important;background:#ffffff0b;border:1px solid #ffffff12;border-radius:12px;width:40px;min-width:40px;height:36px}.management-hub{color:#cbb27f!important;background:#ffffff0b;border-radius:12px;min-width:40px;width:40px;height:36px}.management-hub[hidden]{display:none!important}.server-rail .rail-label{margin-top:8px}.account-links,.appearance-settings{border:1px solid var(--line);border-radius:15px;padding:18px;margin-bottom:20px}.account-links button,.management-tools button{display:block;width:100%;text-align:left;margin:8px 0}.account-links h3,.appearance-settings h3{margin-top:0}.settings-note{font-size:11px;color:var(--muted);line-height:1.6}.channel-entry{margin:0 9px!important}.channel-button{min-height:28px!important;padding:5px 10px!important;border-radius:8px!important;font-size:12px}.channel-entry:has(.channel-settings) .channel-button{padding-right:27px!important}.category-heading{margin-bottom:4px}.channel-category{margin-top:19px}.channel-settings{top:3px!important}.message{margin:9px 0;padding:2px 0}.message-content{padding:8px 12px}.message-meta{gap:6px}.message-body{margin-top:3px;line-height:1.55}.message-continuation{padding-top:1px!important;padding-bottom:1px!important}.message-continuation .message-content{padding:4px 12px}.message-continuation:has(.edited-label) .message-content{padding-top:12px}.message-scroll{padding-top:20px}.reaction-strip{margin-top:6px}.message-flags{margin-top:4px}.channel-welcome{margin-bottom:12px}.date-divider{margin:14px 0 17px}.media-picker{position:fixed;inset:auto;margin:0;height:420px;max-height:calc(100dvh - 20px);z-index:80;width:390px;box-shadow:0 16px 45px #0005}.media-picker::backdrop{background:transparent;backdrop-filter:none}.media-results{height:230px}.upload-menu{position:fixed;z-index:90;padding:7px;background:#fff8eb;border:1px solid #dccbad;border-radius:12px;box-shadow:0 12px 35px #0003}.upload-menu[hidden]{display:none}.upload-menu button{display:block;text-align:left;width:100%;margin:0;padding:10px;border:0;background:none}.mini-profile{position:fixed!important;inset:auto!important;margin:0!important;z-index:85;box-shadow:0 14px 55px #0005;width:310px!important;max-height:calc(100dvh - 20px)}.profile-dialog.mini-profile{left:var(--profile-x,auto)!important;top:var(--profile-y,auto)!important}.profile-more{position:absolute;right:42px;top:8px;width:26px;height:26px;border-radius:7px;z-index:2;background:#0004;color:#fff;font-size:22px}.profile-more[hidden]{display:none!important}.profile-safety-menu{position:absolute;right:16px;top:39px;padding:7px;width:180px;background:#fff8eb;border:1px solid #e1cfad;border-radius:10px;box-shadow:0 8px 28px #0004;z-index:5}.profile-safety-menu[hidden]{display:none}.profile-safety-menu button{display:block;width:100%;padding:9px 10px;border:0;background:none;text-align:left;color:#a77869;cursor:pointer}.profile-safety-menu button[hidden]{display:none}.profile-card-content #card-message{display:block;width:100%;margin:9px 0}.profile-card-content #card-message[hidden]{display:none}.mini-profile #card-manage-badges{display:none}.organize-category{margin:15px 0;border:1px solid var(--line);border-radius:12px;padding:12px}.organize-category h4{margin:0 0 10px;cursor:grab}.organize-drop{min-height:35px}.organize-channel{padding:9px 12px;margin:4px 0;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:9px;cursor:grab;background:#ffffff08}.organize-channel button{padding:5px 8px;font-size:10px}.voice-dock label{font-size:10px;display:block;margin-top:9px}.voice-dock select{width:100%;margin-top:4px;padding:5px;border-radius:7px;background:#fff9eb;color:#8b734d;border:1px solid #d3bc93}.push-talk{width:100%;padding:7px;margin-top:7px;touch-action:none}.push-talk[hidden]{display:none}.chat-header #call-user{display:inline-grid!important;width:30px;min-width:30px;height:30px}.chat-header #call-user[hidden]{display:none!important}
[data-theme=dark]{--paper:#22252b;--ink:#e4e3df;--muted:#a19e94;--line:#393b40;--sidebar:#282b30;--accent:#c7ac78;color-scheme:dark}[data-theme=dark] body{background:#171b20;color:#deded8}[data-theme=dark] .workspace{background:#22252b;border-color:#3a3d42;box-shadow:0 14px 65px #0004}[data-theme=dark] .server-rail{background:#191d23}[data-theme=dark] .sidebar{background:#282b30;border-color:#383b40}[data-theme=dark] .sidebar-header{border-color:#383b40}[data-theme=dark] .desk-wordmark b,[data-theme=dark] .sidebar-header h2{color:#e4e2dc}[data-theme=dark] .desk-wordmark small,[data-theme=dark] .sidebar-header .eyebrow,[data-theme=dark] .channel-heading{color:#9c9a91}[data-theme=dark] .sidebar-header .icon-button,[data-theme=dark] .channel-heading .icon-button{color:#aaa393;background:none}[data-theme=dark] .channel-button{color:#b7b5ad}[data-theme=dark] .channel-button:hover{background:#34373c;color:#e1ded4}[data-theme=dark] .channel-button.active{background:#4a4336!important;color:#dbc698!important}[data-theme=dark] .category-heading,[data-theme=dark] .category-title,[data-theme=dark] .category-add,[data-theme=dark] .channel-settings{color:#a39c8d}[data-theme=dark] .profile{background:#24272c;border-color:#3c3d42}[data-theme=dark] .profile-name-line b{color:#ddd8cc}[data-theme=dark] .profile-handle,[data-theme=dark] .profile .icon-button{color:#a7a192}[data-theme=dark] .avatar-status-button{border-color:#24272c!important}[data-theme=dark] .avatar{background:#66583e;color:#dfcaa1}[data-theme=dark] .avatar>.presence-dot{border-color:#22252b}[data-theme=dark] .member-row .avatar>.presence-dot{border-color:#2c3036}[data-theme=dark] .chat,[data-theme=dark] .chat-header,[data-theme=dark] .composer-area{background:#22252b;border-color:#383b40}[data-theme=dark] .chat-header #channel-title{color:#e3ded2}[data-theme=dark] .chat-header #channel-description{color:#a19d92}[data-theme=dark] .chat-header .hash{background:#403b31;color:#c8b280}[data-theme=dark] .chat-header .icon-button{background:#2e3239;border-color:#42454c;color:#b8ad95}[data-theme=dark] .chat-header .icon-button:hover{background:#3c3b37}[data-theme=dark] .channel-welcome{background:#2e3135;border-color:#42413d}[data-theme=dark] .channel-welcome h1{color:#dbd4c2}[data-theme=dark] .channel-welcome p{color:#a9a396}[data-theme=dark] .channel-welcome .welcome-mark{background:#444032!important;color:#c5ad78!important}[data-theme=dark] .channel-welcome:after{color:#b9a47812}[data-theme=dark] .date-divider,[data-theme=dark] .date-divider span{background:#22252b;color:#8f8b82}[data-theme=dark] .date-divider:before{background:#383b40}[data-theme=dark] .message-content{background:#2b2f35;border-color:#3b3e43;box-shadow:none}[data-theme=dark] .message-body{color:#d1cfc8}[data-theme=dark] .message-name-button{color:#d0bb94}[data-theme=dark] .message-meta time,[data-theme=dark] .edited-label{color:#99958b!important}[data-theme=dark] .you-tag,[data-theme=dark] .verified-mark{background:#413a2e;border-color:#645641;color:#bea575}[data-theme=dark] .message-action,[data-theme=dark] .message-action-menu{background:#363940;border-color:#505053;color:#c4b595}[data-theme=dark] .message-action-menu button{color:#c9c3b5}[data-theme=dark] .message-action-menu button:hover{background:#48453e}[data-theme=dark] .message-action-menu button:last-child{color:#cf9a91}[data-theme=dark] .composer{background:#2e3239;border-color:#43464d;box-shadow:none}[data-theme=dark] .composer textarea{color:#d5cfc1}[data-theme=dark] .composer textarea::placeholder,[data-theme=dark] .composer-hint{color:#a69c8a}[data-theme=dark] .composer .icon-button{color:#b9ab92}[data-theme=dark] .composer #send-message{background:#bba174;color:#262628}[data-theme=dark] .members-panel{background:#25282e;border-color:#383b40}[data-theme=dark] .member-heading,[data-theme=dark] .member-role-heading{color:#aaa18e}[data-theme=dark] .member-heading #member-count{background:#383b3e;color:#b8aa8e}[data-theme=dark] .member-row{background:#2c3036;border-color:#3c4047}[data-theme=dark] .member-row:hover{background:#373a3f}[data-theme=dark] .member-row b{color:#cfc5af}[data-theme=dark] .member-row small{color:#ada18b}[data-theme=dark] dialog,[data-theme=dark] .home-popover,[data-theme=dark] .profile-card-content,[data-theme=dark] .status-dialog{background:#292d33;color:#c4beaf;border-color:#4e4d47}[data-theme=dark] dialog h2,[data-theme=dark] dialog h3,[data-theme=dark] .home-popover h2{color:#e1d9c7}[data-theme=dark] dialog label,[data-theme=dark] .dialog-description{color:#b8aa8f}[data-theme=dark] dialog input:not([type=checkbox]),[data-theme=dark] dialog textarea,[data-theme=dark] dialog select{background:#20242b;border-color:#46484b;color:#cfc2aa}[data-theme=dark] dialog input::placeholder,[data-theme=dark] dialog textarea::placeholder{color:#9e927c}[data-theme=dark] .primary{background:#b49b6f;color:#21262a;border-color:#c1a678}[data-theme=dark] .primary:hover{background:#c4ad85}[data-theme=dark] .secondary,[data-theme=dark] .workspace-tabs button,[data-theme=dark] .settings-nav button{background:#363a3f;border-color:#515049;color:#c3b599}[data-theme=dark] .workspace-tabs .selected,[data-theme=dark] .settings-nav .selected{background:#5d513b;color:#ddc393}[data-theme=dark] .settings-body,[data-theme=dark] .workspace-card,[data-theme=dark] .role-choice,[data-theme=dark] .desk-snippet,[data-theme=dark] .info-stat,[data-theme=dark] .friend-row,[data-theme=dark] .account-facts{background:#23272e;border-color:#45474a;color:#c4b699}[data-theme=dark] .settings-body p,[data-theme=dark] .workspace-card p,[data-theme=dark] .workspace-card small,[data-theme=dark] .desk-snippet p,[data-theme=dark] .friend-identity small,[data-theme=dark] .friend-empty,[data-theme=dark] .profile-card-content p,[data-theme=dark] .profile-card-content small{color:#b9ad97}[data-theme=dark] .workspace-card pre{background:#1f2329;color:#c9b998}[data-theme=dark] .workspace-card h3,[data-theme=dark] .settings-body h3{color:#d1c09c}[data-theme=dark] .home-popover .home-item{color:#c6b99f}[data-theme=dark] .home-popover .home-item:hover,[data-theme=dark] .switch-result:hover{background:#444034}[data-theme=dark] .switch-result{background:#33373c;border-color:#4d4c46;color:#cbb993}[data-theme=dark] .switch-result small,[data-theme=dark] .desk-empty,[data-theme=dark] .desk-result-count,[data-theme=dark] .desk-snippet-meta time,[data-theme=dark] .desk-snippet-meta small{color:#b5a58a}[data-theme=dark] .media-picker,[data-theme=dark] .upload-menu,[data-theme=dark] .profile-safety-menu,[data-theme=dark] .reaction-picker,[data-theme=dark] .channel-add-menu{background:#292e35;border-color:#555149;color:#c3b99f}[data-theme=dark] .media-tabs button{background:#393d43;color:#c0b395}[data-theme=dark] .media-tabs button.selected{background:#594b34;color:#d8bd8a}[data-theme=dark] .media-search,[data-theme=dark] .asset-choice,[data-theme=dark] .media-draft,[data-theme=dark] .file-draft{background:#21262e;border-color:#4d4a40;color:#bdaa89}[data-theme=dark] .emoji-choice:hover,[data-theme=dark] .asset-choice:hover{background:#4c4435}[data-theme=dark] .media-note,[data-theme=dark] .media-empty{color:#b0a28a}[data-theme=dark] .profile-safety-menu button{color:#c99f90}[data-theme=dark] .profile-safety-menu button:hover,[data-theme=dark] .upload-menu button:hover{background:#3d3f41}[data-theme=dark] .card-avatar{border-color:#292d33!important}[data-theme=dark] .card-avatar>.presence-dot{border-color:#292d33}[data-theme=dark] .reaction-chip{background:#373b42;border-color:#555149;color:#cab795}[data-theme=dark] .reaction-chip.chosen{background:#594d36;border-color:#927b52;color:#dbbd85}[data-theme=dark] .message-flags span{background:#433e32;color:#bda477}[data-theme=dark] .inline-message-editor textarea{background:#23272d;color:#d5cbb9;border-color:#8d774f}[data-theme=dark] .voice-person,[data-theme=dark] .voice-dock{background:#2d3238;border-color:#4b514a;color:#bbaa8c}[data-theme=dark] .voice-room h1,[data-theme=dark] .voice-dock b{color:#d3c4a8}[data-theme=dark] .voice-dock select{background:#252a31;color:#bcaa88;border-color:#514d44}[data-theme=dark] .voice-controls button{background:#3a3e43;border-color:#51514e;color:#bfad8e}[data-theme=dark] .voice-controls [aria-pressed=true]{background:#594440;color:#d4a399}[data-theme=dark] .auth-panel,[data-theme=dark] .auth-screen{background:#24292f}[data-theme=dark] .auth-card h2{color:#ddcfb5}[data-theme=dark] .auth-card p,[data-theme=dark] .auth-card label{color:#b5a487}[data-theme=dark] .auth-card input,[data-theme=dark] .auth-card select{background:#1e232b;border-color:#474a4e;color:#ccb994}[data-theme=dark] .auth-card .pill{background:#3c3930;border-color:#61553f;color:#bda375}[data-theme=dark] .dm-empty,[data-theme=dark] .empty-workspace{background:#22252b;color:#b3a38a}[data-theme=dark] .dm-empty h1,[data-theme=dark] .empty-workspace h1{color:#cbbda3}[data-theme=dark] .badge-popover,[data-theme=dark] .incoming-call,[data-theme=dark] .incoming-popup{background:#292d32;border-color:#62543c;color:#cfb48b}[data-theme=dark] .status-option{color:#c7b99c}[data-theme=dark] .status-option:hover{background:#3c3b34}
@media(max-width:700px){.media-picker{height:390px}.media-results{height:205px}.channel-button{min-height:28px!important}.message-content{padding-right:28px}.message-continuation .message-content{padding-right:28px}.mini-profile{max-width:calc(100vw - 20px)!important}.channel-welcome{min-height:115px}.channel-welcome h1{font-size:20px}.management-hub,.account-rail{width:37px;min-width:37px;height:32px}.chat-header #call-user{width:26px;min-width:26px;height:26px}.server-rail{gap:9px}}
button[hidden],.icon-button[hidden],.labelled-icon[hidden]{display:none!important}@media(min-width:701px){#mobile-menu{display:none!important}}#profile-dialog:not(.mini-profile){--profile-x:auto;--profile-y:auto}.organize-channel button{display:inline-block!important}.account-rail{flex-shrink:0}.rail-label{flex-shrink:0}

[data-theme=dark] .profile-role-chip{background:#403b31;border-color:#655945;color:#c0aa82}[data-theme=dark] #card-message{background:#514735;border-color:#746347;color:#dbc69f}[data-theme=dark] #card-message:hover{background:#65563c}

/* All standalone icon controls have one centered, explicitly sized drawing. */
.icon-button,.labelled-icon,.desk-tool,.voice-controls button,#join-voice,#voice-chat-toggle,#send-message{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box;vertical-align:middle;gap:0!important;font-size:18px}
.icon-button svg,.labelled-icon svg,.desk-tool svg,.voice-controls button svg,#join-voice svg,#voice-chat-toggle svg,#send-message svg{display:block!important;flex:none!important;width:18px!important;height:18px!important;margin:0!important;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.voice-controls button,#join-voice,#voice-chat-toggle{height:40px;min-width:40px;padding:0!important}.modal-close{width:32px!important;height:32px!important;min-width:32px!important;font-family:Arial,sans-serif;line-height:1!important}.icon-button[hidden],.labelled-icon[hidden]{display:none!important}
.chat.search-open{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:91px minmax(0,1fr)}.chat.search-open>.chat-header{grid-column:1/-1;grid-row:1}.chat.search-open>.conversation,.chat.search-open>.voice-room,.chat.search-open>.empty-workspace{grid-column:1;grid-row:2;min-width:0}.chat.search-open>.voice-room.chat-open{display:none}.conversation-search{grid-column:2;grid-row:2;min-height:0;min-width:0;display:flex;flex-direction:column;border-left:1px solid var(--line);background:var(--paper);overflow:hidden;padding:18px}.conversation-search[hidden]{display:none!important}.search-panel-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.search-panel-top h2{font-size:17px;margin:0}.search-panel-top .icon-button{width:30px;height:30px}.desk-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.desk-search-form input{min-width:0;width:100%;margin:0}.desk-search-form button{padding:8px 12px}.search-filters{grid-column:1/-1;display:flex;gap:8px}.search-filters select{width:50%;min-width:0;margin:0;font-size:11px;padding:8px}.desk-search-results{overflow:auto;min-height:0;padding-top:16px;flex:1}.desk-search-results .desk-snippet{margin-bottom:10px}.search-more{width:100%;margin-top:12px}[data-theme=dark] .conversation-search{color:#c9c2b5;background:#25292f}[data-theme=dark] .conversation-search input,[data-theme=dark] .conversation-search select{background:#20242b;color:#d1c6b3;border-color:#494a49}.chat.search-open .chat-header #channel-description{display:none}@media(max-width:700px){.chat.search-open{position:relative;display:flex}.conversation-search{position:absolute;inset:68px 0 0;z-index:30;padding:14px}.chat.search-open .chat-header{height:68px}}

/* Navigation and profiles stay unselectable; message bodies and editable fields remain usable. */
body,body *{-webkit-user-select:none;user-select:none}.message-body,.message-body *,.desk-snippet>p,.desk-snippet>p *,input,textarea,[contenteditable=true]{-webkit-user-select:text!important;user-select:text!important}
.profile-card-top{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;margin-top:-28px!important;gap:12px!important;min-height:0!important;padding:0 20px!important}.profile-card-top .card-avatar{margin:0 auto!important;width:80px!important;height:80px!important;display:flex;align-items:center;justify-content:center}.profile-card-top .badges{justify-content:center!important;flex-wrap:wrap;margin:0!important;max-width:100%}.profile-card-content #card-name{text-align:center;margin-top:18px}.profile-card-content #card-username{display:flex;justify-content:center;align-items:center;gap:6px;text-align:center}.username-copy{width:22px!important;min-width:22px!important;height:22px!important;background:none!important;color:var(--muted);border:0!important;flex-shrink:0}.username-copy svg{width:13px!important;height:13px!important}.profile-handle .username-copy{width:16px!important;min-width:16px!important;height:16px!important}.profile-handle{display:flex;align-items:center;gap:2px}.profile-handle .username-copy svg{width:11px!important;height:11px!important}.voice-settings-gear{width:30px;height:30px;margin-top:8px}.appearance-settings>button{margin-top:12px;width:100%;text-align:left}.mini-profile .card-avatar{width:72px!important;height:72px!important}#user-voice-settings>button:not(.modal-close){display:block;margin-top:9px;width:100%}

.voice-state-icons{position:absolute;right:-5px;top:-5px;bottom:auto;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:8px;background:#373b43;color:#dcada5;border:2px solid #2d3238;z-index:3;pointer-events:auto}.voice-state-icons svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#voice-dock-people .voice-state-icons{width:18px;height:18px;right:-5px;top:-5px;border-width:1px;border-radius:5px}#voice-dock-people .voice-state-icons svg{width:12px;height:12px}[data-theme=light] .voice-state-icons{background:#efe2cb;color:#93635d;border-color:#f7f0e5}.voice-person>.avatar{position:relative;overflow:visible}

/* Compact voice connection panel. */
.voice-dock{width:198px!important;padding:12px!important;border-radius:12px!important;box-shadow:none!important}.voice-dock>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.voice-dock #voice-dock-title{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.voice-dock #voice-dock-status{display:none}.voice-joined-count{font-size:9px;color:var(--muted);white-space:nowrap;flex-shrink:0}#voice-dock-people{display:flex;align-items:center;gap:7px;margin:11px 0 8px!important;min-height:26px}#voice-dock-people .avatar{width:26px;height:26px;flex:none}.voice-avatar-more{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;font-size:9px;color:#c2b592;background:#414139;flex:none}.voice-connection-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 8px}.voice-connection-row .voice-signal{min-width:0;margin:0;padding:2px 0;font-size:9px;flex:1;text-align:left;display:flex;align-items:center;gap:5px}.voice-connection-row .voice-signal span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-connection-row .voice-settings-gear{margin:0;width:24px;height:24px;min-width:24px;flex:none}.voice-connection-row .voice-settings-gear svg{width:15px!important;height:15px!important}.voice-dock .voice-controls{display:flex;gap:7px}.voice-dock .voice-controls button{width:32px!important;min-width:32px!important;height:30px!important;padding:0!important;border-radius:7px}.voice-dock .voice-controls svg{width:16px!important;height:16px!important}.voice-dock .push-talk{margin-top:7px;padding:5px;font-size:10px}#voice-dock-people .voice-state-icons{width:15px;height:15px;right:-4px;top:-4px}#voice-dock-people .voice-state-icons svg{width:10px;height:10px}
