/* v18.6.48 — centered community settings, same contract as application settings. */
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen.explicit-settings-window{
 position:relative!important;inset:auto!important;z-index:auto!important;
 width:min(1120px,calc(100vw - 72px))!important;max-width:none!important;
 height:min(800px,calc(100dvh - var(--explicit-titlebar-height,0px) - 96px))!important;
 min-height:0!important;overflow:hidden!important;padding:0!important;gap:0!important;
 background:var(--ex-surface)!important;color:var(--ex-text)!important;
 border:1px solid var(--ex-line)!important;border-radius:var(--ex-modal-radius)!important;
 box-shadow:var(--ex-floating-shadow)!important;
}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen>h2{flex:0 0 auto;padding:20px 64px 20px 24px!important;margin:0!important;font-size:18px!important;background:var(--ex-surface)!important;color:var(--ex-text)!important;border-bottom:1px solid var(--ex-line)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-layout{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;flex:1!important;margin:0!important;display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;gap:0!important;padding:0!important;overflow:hidden!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-side{min-width:0;min-height:0;overflow-y:auto!important;padding:16px 12px!important;gap:4px!important;border-right:1px solid var(--ex-line)!important;background:var(--ex-sidebar)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-brand{padding:8px 10px 16px!important;margin:0 0 8px!important;font-size:14px!important;font-weight:600!important;color:var(--ex-text)!important;border-color:var(--ex-line)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-side button{background:transparent!important;color:var(--ex-secondary)!important;border:0!important;border-radius:var(--ex-radius)!important;font-size:13px!important;font-weight:500!important;min-height:36px!important;padding:8px 10px!important;text-align:left;box-shadow:none!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-side button:hover{background:var(--ex-hover)!important;color:var(--ex-text)!important;filter:none!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-side button.selected{background:var(--ex-selected)!important;color:var(--ex-blue)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-content{display:block!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;overflow:auto!important;padding:24px 28px 32px!important;background:var(--ex-bg)!important;color:var(--ex-text)!important;scroll-padding:20px;overscroll-behavior:contain}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-content h2{font-size:24px!important;font-weight:600!important;line-height:1.35;letter-spacing:-.02em;margin:0 0 16px!important;color:var(--ex-text)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-content p{font-size:14px!important;line-height:1.6!important;color:var(--ex-secondary)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen>.explicit-server-settings-close{position:absolute!important;inset:14px 18px auto auto!important;width:34px!important;height:34px!important;z-index:2!important;background:transparent!important;color:var(--ex-secondary)!important;border:0!important;border-radius:var(--ex-radius)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen>.explicit-server-settings-close:hover{background:var(--ex-hover)!important;color:var(--ex-text)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-channels{max-width:none!important;margin-top:20px!important;gap:8px!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-channel{background:var(--ex-surface)!important;border-color:var(--ex-line)!important;color:var(--ex-text)!important;border-radius:var(--ex-radius)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-channel button{background:var(--ex-hover)!important;color:var(--ex-text)!important;border:1px solid var(--ex-control-line)!important;font-size:13px!important;border-radius:var(--ex-radius)!important;flex:none}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-action{background:var(--ex-blue)!important;color:var(--ex-on-blue)!important;border:1px solid transparent!important;border-radius:var(--ex-radius)!important;font-size:14px!important;font-weight:600!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-content .explicit-inline-role-editor{max-height:none!important;height:auto!important;overflow:visible!important;max-width:100%!important;box-shadow:none!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-content :is(.explicit-role-editor,.explicit-role-editor-header,.explicit-role-editor-footer){background:var(--ex-surface)!important;border-color:var(--ex-line)!important;color:var(--ex-text)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-content :is(.explicit-role-card,.explicit-role-perm-section,.explicit-role-everyone){background:var(--ex-surface)!important;border-color:var(--ex-line)!important}
@media(max-width:760px){
 body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen.explicit-settings-window{width:calc(100vw - 24px)!important;height:calc(100dvh - var(--explicit-titlebar-height,0px) - 48px)!important}
 body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-layout{grid-template-columns:180px minmax(0,1fr)!important}
 body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-content{padding:20px 16px!important}
}
@media(max-width:540px){
 body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important}
 body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-side{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;border-right:0!important;border-bottom:1px solid var(--ex-line)!important;padding:8px!important}
 body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-brand{display:none!important}
 body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-side button{width:auto!important;flex:0 0 auto;white-space:nowrap}
 body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-channel{flex-wrap:wrap}
}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen .explicit-server-settings-content .obsidian-modal.explicit-inline-role-editor{width:100%!important;max-width:100%!important;max-height:none!important;height:auto!important;overflow:visible!important}

body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen .explicit-server-settings-side button.selected{background:var(--ex-selected)!important;color:var(--ex-blue)!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen .explicit-server-settings-content .explicit-server-settings-action:not(.danger){background:var(--ex-blue)!important;color:var(--ex-on-blue)!important;border-color:transparent!important}
body#explicitApp:not(.explicit-light-theme) .explicit-server-settings-screen .explicit-server-settings-content .explicit-server-settings-action:not(.danger):hover{background:var(--ex-blue-hover)!important;filter:none!important}
