/* Discord-like inner channels for Admin, separate from the global app sidebar. */
.admin-documentation-layout{margin-top:12px;align-items:start}
.admin-documentation-sidebar{background:#f8faf7}
.admin-documentation-sidebar .documentation-server-title{margin-bottom:2px}
.admin-documentation-sidebar .documentation-server-mark{background:#e6f0e3;color:#3d7049}
.admin-channel-nav-button{width:100%;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer}
.admin-channel-nav-button .admin-channel-icon{display:grid;width:18px;height:18px;flex:0 0 18px;place-items:center;color:currentColor}
.admin-channel-nav-button .admin-channel-icon svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-channel-nav-button[aria-current="location"]{background:#eaf1e8;color:#345f40;font-weight:750}
.admin-channel-nav-button:focus-visible{outline:2px solid #679375;outline-offset:2px}
.admin-documentation-feed{background:#fff}
.admin-documentation-feed-header{min-height:68px}
.admin-documentation-feed-header>span{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#e8f1e5;color:#47724c;font-size:15px}
.admin-documentation-feed-header strong{text-transform:capitalize}
.admin-documentation-messages{padding-top:14px}
.admin-channel-section{min-width:0;margin:0 0 20px;padding:0 0 20px;border-bottom:1px solid #edf0ec;scroll-margin-top:96px;outline:none}
.admin-channel-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.admin-section-heading{margin:3px 0 13px}
.admin-section-heading h2{margin:5px 0 4px;color:#2d3f33;font-size:19px;letter-spacing:-.3px;line-height:1.35}
.admin-section-heading p{max-width:780px;margin:0;color:#7d8a80;font-size:12px;line-height:1.6}
.admin-channel-section .admin-metrics{margin-top:0}
.admin-channel-section .donation-admin-panel{margin-top:0}
.admin-channel-section #adminCommunityManagementMount{min-width:0}
.admin-channel-section #adminCommunityManagementMount:empty{min-height:1px}
.admin-channel-section #adminForumModerationPanel{margin-top:0}
.admin-documentation-feed .admin-local-footer{margin-bottom:0}
html[data-theme="dark"] .admin-documentation-sidebar{background:#1b2520;border-color:#35443b;color:#dce7df}
html[data-theme="dark"] .admin-documentation-sidebar .documentation-server-title{border-color:#35443b}
html[data-theme="dark"] .admin-documentation-sidebar .documentation-server-title strong{color:#e0e9e2}
html[data-theme="dark"] .admin-documentation-sidebar .documentation-server-title small,
html[data-theme="dark"] .admin-documentation-sidebar .documentation-group-title{color:#a7b6ab}
html[data-theme="dark"] .admin-documentation-sidebar .documentation-server-mark,
html[data-theme="dark"] .admin-documentation-feed-header>span{background:#2a4433;color:#c9e5c9}
html[data-theme="dark"] .admin-channel-nav-button{color:#b6c4ba}
html[data-theme="dark"] .admin-channel-nav-button:hover,
html[data-theme="dark"] .admin-channel-nav-button:focus-visible{background:#26372c;color:#e1eee4}
html[data-theme="dark"] .admin-channel-nav-button[aria-current="location"]{background:#2a4936;color:#d9efde}
html[data-theme="dark"] .admin-documentation-feed{background:#1b2520;border-color:#35443b;color:#dce7df}
html[data-theme="dark"] .admin-documentation-feed-header{background:#202a24;border-color:#35443b}
html[data-theme="dark"] .admin-documentation-feed-header strong{color:#e0e9e2}
html[data-theme="dark"] .admin-documentation-feed-header small{color:#a7b6ab}
html[data-theme="dark"] .admin-channel-section{border-color:#35443b}
html[data-theme="dark"] .admin-section-heading h2{color:#e0e9e2}
html[data-theme="dark"] .admin-section-heading p{color:#a7b6ab}
@media(max-width:900px){
  .admin-documentation-layout{grid-template-columns:minmax(0,1fr);gap:10px}
  .admin-documentation-sidebar{position:static;max-height:none}
  .admin-documentation-feed{min-width:0}
  .admin-documentation-feed-header{padding:12px 14px}
  .admin-documentation-messages{padding:12px 13px 16px}
}
@media(max-width:760px){
  .admin-documentation-sidebar{padding:10px}
  .admin-documentation-sidebar .documentation-server-title{display:none}
  .admin-documentation-sidebar .documentation-channels{gap:12px;padding-top:0}
  .admin-documentation-sidebar .documentation-group-title{display:none}
  .admin-channel-nav-button{min-height:38px;padding:7px 9px;border:1px solid #e8ede7;border-radius:7px;background:#fff;font-size:12px}
  .admin-channel-nav-button[aria-current="location"]{border-color:#bed1bd;background:#eaf1e8}
  .admin-documentation-messages{padding:11px 11px 14px}
  .admin-channel-section{margin-bottom:16px;padding-bottom:16px;scroll-margin-top:82px}
  .admin-section-heading h2{font-size:17px}
}
@media(max-width:480px){
  .admin-documentation-layout{gap:8px}
  .admin-documentation-sidebar{padding:8px}
  .admin-documentation-sidebar .documentation-channels{gap:9px}
  .admin-channel-nav-button{min-height:36px;padding:7px 8px;font-size:12px}
  .admin-channel-nav-button .admin-channel-icon,.admin-channel-nav-button .admin-channel-icon svg{width:16px;height:16px;flex-basis:16px}
  .admin-documentation-messages{padding:10px 9px 12px}
}

/* Keep the Discord-like Admin channel rail matte in dark mode, including its mobile buttons. */
html[data-theme="dark"] .admin-documentation-sidebar,
html[data-theme="dark"] .admin-documentation-feed { background: var(--dark-surface-1); border-color: var(--dark-border); color: var(--dark-text-primary); }
html[data-theme="dark"] .admin-documentation-sidebar .documentation-server-title { border-color: var(--dark-border); }
html[data-theme="dark"] .admin-documentation-sidebar .documentation-server-title strong,
html[data-theme="dark"] .admin-documentation-feed-header strong,
html[data-theme="dark"] .admin-section-heading h2 { color: var(--dark-text-primary); }
html[data-theme="dark"] .admin-documentation-sidebar .documentation-server-title small,
html[data-theme="dark"] .admin-documentation-sidebar .documentation-group-title,
html[data-theme="dark"] .admin-documentation-feed-header small,
html[data-theme="dark"] .admin-section-heading p { color: var(--dark-text-muted); }
html[data-theme="dark"] .admin-documentation-sidebar .documentation-server-mark,
html[data-theme="dark"] .admin-documentation-feed-header>span { background: #203327; color: #a8e6b2; }
html[data-theme="dark"] .admin-channel-nav-button { color: var(--dark-text-secondary); }
html[data-theme="dark"] .admin-channel-nav-button:hover,
html[data-theme="dark"] .admin-channel-nav-button:focus-visible { background: var(--dark-surface-3); color: #fff; }
html[data-theme="dark"] .admin-channel-nav-button[aria-current="location"] { background: #203327; color: #d8f0dc; border-color: #527a5b; }
@media(max-width:760px){
  html[data-theme="dark"] .admin-channel-nav-button { background: var(--dark-surface-2); border-color: var(--dark-border); color: var(--dark-text-secondary); }
  html[data-theme="dark"] .admin-channel-nav-button[aria-current="location"] { background: #203327; border-color: #6ebd80; color: #e0f3e4; }
}
