/* A single control rhythm across desktop and phone. */
.organized-call-controls{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:nowrap!important;gap:10px!important;width:100%;padding:12px!important;position:relative}.organized-call-controls>button,.organized-call-controls>.call-more-wrap>button{flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:11px!important;border-radius:50%!important;display:inline-flex;align-items:center;justify-content:center}.organized-call-controls>button[hidden],.call-more-wrap[hidden],.call-more-menu[hidden]{display:none!important}.organized-call-controls svg{width:22px;height:22px;display:block;flex:none}.call-more-wrap{display:flex;flex:0 0 auto;align-items:center}.call-more-menu{position:fixed;inset:auto;margin:0;z-index:10000;width:264px;max-height:60dvh;overflow:auto;background:#142b42;color:#edf3ff;border:1px solid #49657f;border-radius:16px;padding:8px;box-shadow:0 16px 50px #0008}.call-more-menu button{display:flex!important;width:100%!important;min-height:44px!important;gap:12px!important;align-items:center;justify-content:flex-start!important;padding:10px!important;border-radius:9px!important;margin:2px 0!important;background:transparent!important;border:0!important}.call-more-menu button::after{content:attr(aria-label);font-size:13px;text-align:left;font-weight:650}.call-more-menu button[hidden]{display:none!important}.call-more-menu button:hover{background:#284965!important}.call-more-menu button svg{width:22px!important;flex:0 0 22px}.call-more-menu button:focus-visible{outline:2px solid #8fc8ff}.voice-dock .organized-call-controls{padding:12px 0 0!important;gap:6px!important}.voice-dock .organized-call-controls>button,.voice-dock .call-more-button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;flex-basis:34px!important;padding:8px!important}
#desk-switcher{width:min(620px,calc(100vw - 24px));padding:28px;border-radius:22px}#desk-switcher h2{font-size:25px;margin-bottom:8px}#desk-switcher>input{margin:12px 0 18px;min-height:48px;font-size:16px;background:#142b42;border-color:#46647f}.switch-list{max-height:52dvh;overflow:auto;display:grid;gap:6px}.switch-list .switch-result{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;min-height:62px;border:1px solid transparent;background:#14283c;padding:10px 14px;border-radius:12px;margin:0}.switch-list .switch-result:hover,.switch-list .switch-result:focus-visible{background:#223f5b;border-color:#6584a1}.switch-result b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.switch-result small{font-size:11px;color:#a8bed6}.switch-result-icon{display:grid;place-items:center;background:#23415c;width:36px;height:36px;border-radius:10px;color:#edc875}.switch-result-icon svg{width:19px;height:19px}
#tools-hub{width:min(850px,calc(100vw - 24px));max-height:90dvh;padding:28px;border-radius:22px}.management-search{margin:12px 0 20px;min-height:46px;font-size:16px}.management-tools{gap:14px!important}.owner-control-group{padding:18px!important;border-radius:16px!important;background:#13283e!important}.owner-control-group>button{display:flex!important;align-items:center!important;gap:12px!important;min-height:48px!important;margin:8px 0 0!important;text-align:left;line-height:1.4}.owner-control-group>button svg{flex:0 0 20px;width:20px;height:20px}.tool-filtered{display:none!important}.owner-control-group>button.tool-filtered{display:none!important}
.server-home-panel{padding:22px!important;background:radial-gradient(ellipse at top right,#29426355,transparent 50%),#0c1e30}.server-home-hero{padding:24px!important;border-radius:20px!important;box-shadow:none!important;border-color:#36526e!important}.server-home-hero h1{font-size:28px!important;line-height:1.2;margin:6px 0 12px!important}.server-home-hero p{max-width:70ch;line-height:1.6}.home-feed{max-width:920px;margin:22px auto;display:grid;gap:16px}.home-feed>h2{font-size:18px;margin:12px 0 0}.home-feed .home-post{margin:0!important;padding:22px!important;border-radius:18px!important;background:#152c43;border-color:#36536c}.home-post h3{font-size:21px;margin:12px 0}.home-post-body{line-height:1.65}.home-post small{font-size:12px;color:#a7c0d9}.home-quick-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.home-quick-links button{min-height:40px;padding:9px 14px!important;border-radius:11px!important}.news-feed-page{max-width:980px;margin-inline:auto}.feed-post,.news-feed-card{border-radius:18px!important}.auth-rank-row{min-width:0;display:grid!important;grid-template-columns:24px 36px minmax(0,1fr) auto!important;gap:10px!important;align-items:center}.auth-rank-name{min-width:0;white-space:normal!important;overflow-wrap:anywhere;line-height:1.35!important}.auth-rank-row>*{min-width:0}.auth-rank-row small{white-space:nowrap}.support-message-list{max-height:52dvh;overflow:auto;overscroll-behavior:contain}
@media(max-width:650px){.organized-call-controls{gap:8px!important;padding:10px 4px!important}.organized-call-controls>button,.organized-call-controls>.call-more-wrap>button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex-basis:42px!important}.server-home-panel{padding:12px!important}.server-home-hero{padding:16px!important}.server-home-hero h1{font-size:24px!important}.home-feed .home-post{padding:16px!important}.management-tools{grid-template-columns:1fr!important}#tools-hub,#desk-switcher{padding:22px 16px}.switch-list .switch-result{grid-template-columns:36px minmax(0,1fr)}.switch-result small{grid-column:2}.switch-result-icon{grid-row:span 2}.auth-rank-row{grid-template-columns:20px 32px minmax(0,1fr)!important}.auth-rank-row small,.auth-rank-boosts{grid-column:3;white-space:normal!important}.auth-rank-name{font-size:13px!important}}
.management-quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:12px 0}.management-quick-actions button{min-height:48px;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:10px 12px;border-radius:12px}.management-quick-actions svg{width:20px;height:20px;flex:none}
.management-quick-actions svg,.switch-result-icon svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.management-quick-actions button{color:#edf3ff}.management-quick-actions button svg{color:#efca78}
.nexo-news-feed{background:radial-gradient(ellipse at top right,#29426355,transparent 50%),#0c1e30}.news-feed-heading{background:linear-gradient(120deg,#223f5d,#162a40);border-color:#3c5976;padding:24px;box-shadow:0 14px 40px #0001}.news-feed-heading h1{font-size:30px;letter-spacing:-.6px}.feed-tabs{padding:6px;border:1px solid #324b66;background:#12263b;border-radius:14px;gap:6px}.feed-tabs button{flex:1;margin:0;min-height:42px;border-radius:10px}.news-feed-items{display:grid;gap:16px}.news-feed-items .news-feed-card{margin:0;background:#152c43;border-color:#36536c;padding:24px}.news-feed-card>header{padding-bottom:14px;border-bottom:1px solid #36536c88}.news-feed-card>header button:first-child{font-weight:800}.news-feed-card h2{line-height:1.35}.news-feed-card .feed-post-text{line-height:1.75}.feed-reactions{border-top:1px solid #36536c88;padding-top:12px}.feed-reactions button{border-radius:20px;min-width:50px;min-height:34px;padding:6px 12px}.feed-tabs button[aria-pressed=true]{background:#284762;color:#f4ce7a}@media(max-width:650px){.nexo-news-feed{padding:12px}.news-feed-heading,.news-feed-items .news-feed-card{padding:16px}.news-feed-heading h1{font-size:25px}.news-feed-card>header{gap:8px}.news-feed-card>header .follow-server-button{padding:7px 10px;min-height:36px}.feed-tabs{position:sticky;top:0;z-index:2}}
html body .camera-call-panel .meeting-controls .call-more-menu button,html body #voice-dock .voice-controls .call-more-menu button{width:100%!important;height:auto!important;min-height:44px!important;min-width:0!important;flex:none!important;white-space:normal!important;display:flex!important;padding:10px 12px!important;gap:12px!important;text-align:left!important}html body .call-more-menu button::after{flex:1;min-width:0;white-space:normal;line-height:1.4}.call-more-menu button svg{margin:0!important}
.server-home-hero{max-width:920px;margin-inline:auto;grid-template-columns:56px minmax(0,1fr);gap:3px 16px}.server-home-hero>.server-home-logo{width:56px;height:56px;border-radius:17px;font-size:18px}.server-home-hero>.eyebrow{font-size:10px;letter-spacing:1.5px;color:#e4c47e}.server-home-hero h1{margin:2px 0 6px!important}.server-home-hero .home-quick-links{padding-top:8px}.home-channel-guide{max-width:920px;margin:16px auto;border:1px solid #36536c;border-radius:12px;background:#13283d}.home-channel-guide>summary{padding:13px 16px;cursor:pointer;color:#bcd0e5;font-weight:700}.home-channel-guide .home-channel-links{padding:0 16px 16px;margin:0}.home-channel-guide .home-channel-links h2{display:none}.home-channel-guide button{min-height:38px;border-radius:9px;padding:8px 12px}.server-home-panel .home-feed{margin-top:16px}@media(max-width:760px){.server-home-hero{display:grid;grid-template-columns:48px minmax(0,1fr);gap:6px 12px}.server-home-hero>.server-home-logo{width:48px;height:48px;grid-column:1;grid-row:1/3;margin:0}.server-home-hero>.eyebrow,.server-home-hero>h1{grid-column:2}.server-home-hero>p,.server-home-hero>.server-home-stats,.server-home-hero>.home-quick-links{grid-column:1/-1}.server-home-hero .server-home-stats{margin:4px 0}.server-home-hero .home-quick-links{gap:7px}.server-home-hero .home-quick-links button{flex:1 1 auto;min-height:40px}}
.feed-tabs button{display:flex;align-items:center;justify-content:center}.feed-tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* Final layout rules: keep icon centres stable as titles, badges and viewport sizes change. */
.nexo-identity .chat-header{box-sizing:border-box;align-items:center;flex-wrap:nowrap;min-width:0}
.nexo-identity .chat-header>.icon-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;padding:7px;line-height:1;vertical-align:middle;align-self:center}
.nexo-identity .chat-header>.icon-button[hidden]{display:none!important}
.nexo-identity .chat-header>.icon-button svg{display:block;flex:none;width:20px;height:20px;margin:0;vertical-align:middle}
.nexo-identity .chat-header>.hash,.nexo-identity .server-home-header-icon{box-sizing:border-box;align-items:center;justify-content:center;flex:none;line-height:1}
.nexo-identity #channel-title{min-width:0;flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.nexo-identity #channel-description{min-width:0;flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nexo-identity .chat-header>.server-detail-logo{margin-left:auto}
.nexo-identity .members-panel .member-device-label{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;margin:0;line-height:1}
.nexo-identity .member-device-label svg{display:block;width:14px;height:14px;margin:0;flex:none}
.nexo-identity .members-panel .member-name>.verified-mark,.nexo-identity .members-panel .member-name>.bot-chip{align-self:center;line-height:1;vertical-align:middle}
.nexo-identity #channel-list .staff-system-nav{display:flex!important;align-items:center;justify-content:flex-start;gap:12px;min-height:44px;line-height:1.35;padding:10px 12px;text-align:left;box-sizing:border-box}
.nexo-identity #channel-list .staff-system-nav>.staff-cube{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;margin:0}
.nexo-identity .staff-cube svg{display:block;margin:0;flex:none}
.nexo-identity .staff-tool-cube>.staff-cube{align-self:flex-start}
#workspace.staff-tools-active>.members-panel{display:none!important}
@media(min-width:761px){.nexo-identity .chat-header{gap:10px}.nexo-identity .chat-header>.server-detail-logo{margin-left:auto!important}}
@media(max-width:760px){
 .nexo-identity .chat-header{height:60px!important;min-height:60px!important;padding:8px!important;gap:4px!important;flex-wrap:nowrap!important;align-items:center!important}
 .nexo-identity .chat-header #mobile-menu,.nexo-identity .chat-header #members-toggle,.nexo-identity .chat-header>.phone-chat-more{position:static!important;inset:auto!important;transform:none!important;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:40px!important;height:44px!important;min-width:40px!important;min-height:44px!important;flex:0 0 40px!important;margin:0!important;padding:10px!important;align-self:center}
 .nexo-identity .chat-header #members-toggle[hidden],.nexo-identity .chat-header>.phone-chat-more[hidden]{display:none!important}
 .nexo-identity .chat-header #channel-title{flex:1 1 0!important;max-width:none!important;min-width:0;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:1.3}
 .nexo-identity .chat-header>.server-home-header-icon{display:none!important}
 .nexo-identity .staff-system-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}
 .nexo-identity .staff-system-header>div{grid-column:1/-1;grid-row:1;order:0;width:auto;font-size:10px;line-height:1.4;letter-spacing:1px}
 .nexo-identity .staff-system-header>button{grid-row:2;min-height:44px;margin:0;padding:9px 12px;white-space:nowrap}
 .nexo-identity .staff-system-header>button:nth-last-child(2){justify-self:end}
 .nexo-identity #phone-chat-tools>button:not(.modal-close){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;margin:6px;line-height:1;vertical-align:middle}
 .nexo-identity #phone-chat-tools>button svg{display:block;width:22px;height:22px;flex:none;margin:0}
}
@media(min-width:761px){
 .nexo-identity .chat-header>#notification-mute{margin-left:auto!important}
 .nexo-identity .chat-header>.server-detail-logo,.nexo-identity .chat-header>#members-toggle{margin-left:0!important;margin-right:0!important}
}
@media(max-width:760px){.nexo-identity #message-input::placeholder{white-space:nowrap;text-overflow:ellipsis}}
