/* Conventional Discord dashboard: neutral surfaces and consistent controls. */
:root {
  --sidebar: 248px;
  --bg: #1e1f22;
  --panel: #2b2d31;
  --raised: #35373c;
  --line: #41434a;
  --muted: #b5bac1;
  --yellow: #f6d54b;
  --text: #f2f3f5;
}
body,
.workspace {
  background: #1e1f22;
  color: #f2f3f5;
}
.sidebar {
  padding: 24px 16px;
  background: #232428;
  border-right: 1px solid #35363c;
  scrollbar-color: #41434a transparent;
}
.brand {
  font-size: 29px;
  margin: 0 12px 27px;
  letter-spacing: -1px;
}
.server-picker {
  background: #2b2d31;
  border: 1px solid #41434a;
  padding: 12px;
  margin-bottom: 25px;
  border-radius: 9px;
  min-height: 60px;
  box-shadow: none;
}
.avatar {
  background: #3f3b29;
  color: #f6d54b;
  border-radius: 9px;
}
.nav-item {
  min-height: 44px;
  margin: 5px 0;
  padding: 11px 14px;
  gap: 13px;
  border: 0;
  border-radius: 7px;
  font-size: 14px;
  color: #b5bac1;
}
.nav-item svg {
  color: #b5bac1;
  width: 20px;
  height: 20px;
}
.nav-item.active {
  background: #f6d54b14;
  color: #f6d54b;
  border: 0;
  box-shadow: none;
}
.nav-item.active svg {
  color: #f6d54b;
}
.nav-item:hover {
  background: #35373c;
}
.sidebar-bottom {
  margin-top: 24px;
  border-top: 1px solid #35363c;
  padding-top: 18px;
}
.topbar {
  height: 64px;
  background: #232428;
  border-bottom: 1px solid #35363c;
  padding: 0 30px;
}
.header-avatar {
  background: #5865f2;
  box-shadow: none;
}
.profile-menu {
  background: #2b2d31;
  border-color: #41434a;
}
.top-actions .ghost-button {
  border-color: #41434a;
}
main {
  max-width: 1500px;
  padding: 30px;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading h1 {
  font-size: 28px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.page-heading p {
  font-size: 14px;
  line-height: 1.6;
  color: #b5bac1;
}
.panel,
.reference-stats .stat-card,
.reference-stats .stat-card:first-child,
.reference-stats .stat-card:last-child {
  background: #2b2d31;
  border: 1px solid #3b3d44;
  border-radius: 10px;
  box-shadow: none;
}
.panel h2 {
  font-size: 18px;
  font-weight: 600;
  color: #f2f3f5;
  letter-spacing: 0;
}
.panel p,
.form-panel p,
.field small,
.muted,
.toggle-row p,
.activity-copy p,
.activity-time {
  color: #b5bac1;
  font-size: 13px;
  line-height: 1.6;
}
.panel-head {
  padding: 22px 24px 18px;
}
.form-panel {
  padding: 24px;
}
.primary-button,
.ghost-button {
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  min-height: 38px;
  box-shadow: none;
  padding: 10px 16px;
}
.primary-button {
  background: #f6d54b;
  border: 1px solid #f6d54b;
  color: #242015;
}
.primary-button:hover {
  background: #ffe175;
  box-shadow: none;
}
.ghost-button {
  background: #35373c;
  border: 1px solid #494c55;
  color: #dbdee1;
}
.ghost-button:hover {
  background: #41434a;
  border-color: #646871;
}
.badge {
  border-radius: 5px;
  font-size: 10px;
  background: #f6d54b14;
  color: #e8ce69;
  border: 1px solid #f6d54b25;
}
.setup-banner {
  background: #2b2d31;
  border: 1px solid #4b4737;
  border-left: 4px solid #f6d54b;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: none;
}
.setup-banner h2 {
  font-size: 19px;
  color: #f2f3f5;
}
.setup-banner p {
  font-size: 13px;
  color: #b5bac1;
}
.setup-banner .badge {
  background: #f6d54b14;
  color: #e8ce69;
  border-color: #f6d54b25;
}
.reference-stats {
  gap: 18px;
  margin-bottom: 24px;
}
.reference-stats .stat-card,
.reference-stats .stat-card:first-child,
.reference-stats .stat-card:last-child {
  min-height: 112px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.reference-stats .stat-top {
  font-size: 12px;
  color: #b5bac1;
}
.reference-stats .stat-value {
  font-size: 30px;
  color: #f2f3f5;
}
.reference-stats .stat-caption {
  font-size: 10px;
  color: #949ba4;
}
.reference-stats .stat-symbol {
  width: 45px;
  height: 45px;
  border-radius: 10px;
}
.reference-stats .stat-symbol svg {
  width: 25px;
  height: 25px;
}
.reference-stats .stat-card:first-child .stat-symbol,
.reference-stats .stat-card:nth-child(2) .stat-symbol {
  background: #383b44;
  color: #bfc7da;
}
.reference-stats .stat-card:last-child .stat-symbol {
  background: #f6d54b1c;
  color: #f6d54b;
}
.overview-columns {
  gap: 24px;
}
.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f6d54b1c;
  color: #f6d54b;
}
.activity-copy strong {
  font-size: 13px;
}
.activity-time {
  font-size: 12px;
}
.activity-row.activity-event,
.config-row,
.toggle-row {
  border-color: #41434a;
}
.activity-event:hover {
  background: #35373c;
}
.config-row {
  font-size: 13px;
  padding: 14px 0;
}
.config-row span {
  color: #b5bac1;
}
.config-row strong {
  color: #dbdee1;
}
.banana-extra {
  background: #2b2d31;
  border: 1px solid #41434a;
  border-radius: 10px;
  padding: 24px;
}
.banana-extra h2 {
  font-size: 18px;
}
.banana-extra p {
  font-size: 13px;
  color: #b5bac1;
}
.extra-icon {
  background: #f6d54b1c;
  color: #f6d54b;
  border-radius: 10px;
}
.field input[type="text"],
.field textarea,
input[type="text"],
textarea {
  background: #1e1f22;
  border: 1px solid #41434a;
  border-radius: 6px;
  color: #dbdee1;
}
.field input::placeholder,
input::placeholder {
  color: #949ba4;
}
.select-trigger {
  background: #1e1f22;
  border-color: #41434a;
  border-radius: 6px;
  color: #dbdee1;
  min-height: 42px;
}
.select-popup {
  background: #232428;
  border-color: #494c55;
  border-radius: 8px;
}
.select-option {
  border-radius: 4px;
  color: #b5bac1;
}
.select-option[aria-selected="true"] {
  background: #f6d54b14;
  color: #f6d54b;
}
.select-option:hover,
.select-option:focus-visible {
  background: #35373c;
  color: #fff1b4;
}
.select-trigger:focus-visible,
.select-trigger[aria-expanded="true"] {
  outline: 2px solid #f6d54b;
  outline-offset: 1px;
}
.notice-preview {
  background: #232428;
  border: 1px solid #494c55;
  border-radius: 8px;
}
.notice-preview p,
.notice-preview small {
  color: #b5bac1;
}
.role-options {
  background: #232428;
  border-color: #41434a;
  border-radius: 7px;
}
.metrics-grid > div {
  background: #232428;
  border-color: #41434a;
  border-radius: 8px;
}
.metrics-grid span {
  color: #b5bac1;
}
.metrics-grid strong {
  color: #f6d54b;
}
.hero {
  background: #2b2d31;
  border-color: #4b4737;
  border-radius: 10px;
}
.premium-help .command {
  background: #1e1f22;
  color: #f6d54b;
}
.chart text,
.bar-chart,
.breakdown svg {
  fill: #b5bac1;
}
.chart line {
  stroke: #41434a;
}
.chart-summary {
  color: #b5bac1;
}
.wizard-progress li {
  color: #b5bac1;
}
.wizard-progress li.current {
  color: #f6d54b;
}
.server-dialog,
.profile-menu {
  background: #2b2d31;
  border-color: #41434a;
  color: #f2f3f5;
}
.server-dialog p {
  color: #b5bac1;
}
.savebar {
  background: #232428;
  border-color: #4b4737;
  color: #f2f3f5;
}
#toast {
  background: #35373c;
  border-color: #65604b;
  color: #f2f3f5;
}
footer {
  color: #949ba4;
}
body.gateway,
body.gateway .workspace {
  background: #1e1f22;
}
.welcome-card,
.welcome-logo,
.server-page-panel {
  background: #2b2d31;
  border: 1px solid #41434a;
  border-radius: 14px;
  box-shadow: none;
}
.welcome-logo {
  background: #232428;
}
.welcome-card .primary-button,
.welcome-card .ghost-button {
  border-radius: 7px;
  min-height: 60px;
  font-size: 18px;
  box-shadow: none;
}
.welcome-card .ghost-button {
  background: #35373c;
  border-color: #494c55;
  color: #dbdee1;
}
.welcome-card .welcome-eyebrow,
.server-page-heading h1 {
  color: #b5bac1;
}
.welcome-card small,
.server-page-note {
  color: #949ba4;
}
.server-row {
  background: #232428;
  border-color: #41434a;
  border-radius: 9px;
  min-height: 90px;
}
.server-row.current,
.server-row:hover {
  background: #f6d54b08;
  border-color: #b29b3d;
  box-shadow: none;
}
.server-avatar {
  background: #35373c;
  color: #f6d54b;
  border-radius: 10px;
}
.server-open {
  background: #35373c;
  border-color: #494c55;
  color: #dbdee1;
  border-radius: 6px;
  font-size: 14px;
}
.server-row.current .server-open,
.server-row:hover .server-open {
  background: #f6d54b;
  color: #242015;
}
.server-info strong {
  font-size: 18px;
}
.server-info small,
.server-access {
  font-size: 13px;
  color: #b5bac1;
}
.server-page-search {
  background: #1e1f22;
  border-color: #41434a;
  border-radius: 8px;
}
.page-loader {
  background: #1e1f22;
}
.loader-brand {
  color: #f2f3f5;
}
.loader-orbit {
  background: #f6d54b08;
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 225px;
  }
  main {
    padding: 26px;
  }
  .brand {
    font-size: 28px;
    margin-left: 8px;
  }
}
@media (max-width: 850px) {
  :root {
    --sidebar: 185px;
  }
  .nav-item {
    font-size: 12px;
    padding: 11px 9px;
  }
  .reference-stats .stat-card,
  .reference-stats .stat-card:first-child,
  .reference-stats .stat-card:last-child {
    display: block;
    padding: 17px;
  }
  .reference-stats .stat-symbol {
    margin-bottom: 12px;
  }
  .reference-stats .stat-top {
    font-size: 11px;
  }
  .reference-stats .stat-value {
    font-size: 27px;
  }
}
@media (max-width: 600px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    padding: 20px 18px;
  }
  .nav-item {
    padding: 10px 12px;
    font-size: 12px;
  }
  .server-picker {
    margin-bottom: 18px;
  }
  .brand {
    margin: 0 0 22px;
  }
  main {
    padding: 24px 18px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .reference-stats {
    gap: 9px;
  }
  .reference-stats .stat-card,
  .reference-stats .stat-card:first-child,
  .reference-stats .stat-card:last-child {
    padding: 14px 10px;
  }
  .reference-stats .stat-top {
    font-size: 10px;
  }
  .reference-stats .stat-value {
    font-size: 25px;
  }
  .reference-stats .stat-caption {
    font-size: 9px;
  }
  .panel-head,
  .form-panel {
    padding: 20px;
  }
  .setup-banner,
  .banana-extra {
    padding: 21px;
  }
  .welcome-card .primary-button,
  .welcome-card .ghost-button {
    font-size: 16px;
  }
}
.feature-card-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.feature-card-stack > .panel {
  margin: 0;
}
.individual-feature > .field,
.individual-feature > .toggle-row,
.individual-feature .field {
  margin: 0;
  padding: 0;
}
.individual-feature > .toggle-row {
  border: 0;
}
.individual-feature .test-toggle {
  padding: 0;
  margin: 0;
}
.individual-feature .role-options {
  margin-top: 10px;
}
.wizard-content.feature-card-stack {
  padding: 0;
}
.wizard-shell > .feature-card-stack {
  grid-column: 1/-1;
}
.wizard-navigation .wizard-actions {
  margin: 0;
  padding: 0;
  border: 0;
}
.settings-layout .feature-card-stack {
  width: 100%;
}
.feature-card-stack .optional-heading {
  margin-top: 20px;
}
.feature-card-stack > .panel:empty {
  display: none;
}
.individual-feature .field {
  gap: 10px;
}
.individual-feature > .ghost-button {
  margin-top: 18px;
}
.test-options > .individual-feature {
  margin: 18px 0;
}
.individual-feature > h2 {
  margin-bottom: 20px;
}
.individual-feature small {
  margin-top: 0;
}
/* Balance the independent feature cards into a coherent page. */
.feature-card-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.feature-card-stack > .panel:first-child,
.feature-card-stack > .wide-feature,
.feature-card-stack > .wizard-navigation {
  grid-column: 1/-1;
}
.individual-feature {
  padding: 20px;
  min-width: 0;
  height: 100%;
}
.individual-feature .field > span {
  font-size: 14px;
  font-weight: 600;
  color: #e7e9ed;
}
.individual-feature .field small {
  font-size: 12px;
  color: #a7adb8;
  line-height: 1.55;
}
.individual-feature .field {
  gap: 12px;
}
.individual-feature .toggle-row strong {
  font-size: 14px;
}
.individual-feature .toggle-row p {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 7px;
}
.compact-feature {
  display: flex;
  align-items: center;
  min-height: 118px;
}
.compact-feature .toggle-row {
  width: 100%;
}
.feature-card-stack > .panel:first-child {
  padding: 19px 22px;
  background: #27292d;
}
.feature-card-stack > .panel:first-child h2 {
  font-size: 17px;
  margin-bottom: 7px;
}
.feature-card-stack > .panel:first-child p {
  margin-bottom: 0;
}
.settings-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}
.info-card {
  padding: 22px;
}
.info-card h2 {
  font-size: 17px;
}
.info-card p {
  font-size: 12px;
}
.settings-layout .info-card .spark {
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
}
.form-panel {
  margin-bottom: 20px;
}
.individual-feature {
  margin-bottom: 0;
}
.test-options > .individual-feature {
  padding: 18px;
}
.feature-card-stack .themed-select {
  width: 100%;
}
.wizard-content > .feature-card-stack {
  width: 100%;
}
.wizard-shell > .feature-card-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wizard-shell .wizard-navigation {
  grid-column: 1/-1;
}
.overview-columns {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.page-heading {
  margin-bottom: 25px;
}
.setup-banner {
  padding: 21px 24px;
}
.setup-banner h2 {
  font-size: 18px;
}
.reference-stats .stat-card,
.reference-stats .stat-card:first-child,
.reference-stats .stat-card:last-child {
  min-height: 105px;
}
.individual-feature .select-trigger {
  font-size: 13px;
}
.field textarea {
  min-height: 150px;
}
.individual-feature .role-options {
  background: #232428;
}
.settings-export {
  margin-top: 22px;
}
.panel-head {
  align-items: center;
}
.sidebar .nav-item {
  font-weight: 500;
}
.server-picker .select-trigger {
  font-size: 12px;
  padding-right: 23px;
}
.server-picker .select-trigger:after {
  right: 3px;
}
@media (max-width: 1100px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-layout > .info-card {
    margin-top: 0;
  }
  .feature-card-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .feature-card-stack,
  .wizard-shell > .feature-card-stack {
    grid-template-columns: 1fr;
  }
  .feature-card-stack > * {
    grid-column: 1 !important;
  }
  .individual-feature {
    padding: 18px;
  }
  .compact-feature {
    min-height: 105px;
  }
  .feature-card-stack {
    gap: 13px;
  }
  .overview-columns {
    grid-template-columns: 1fr;
  }
}
/* Clear grouped sections and compact feature tiles. */
:root {
  --bg: #181d27;
  --panel: #222b3a;
  --raised: #334157;
  --line: #3c4b61;
}
.workspace,
body {
  background: #181d27;
}
.sidebar {
  background: #191b26;
  border-color: #303849;
}
.topbar {
  background: #283345;
  border-color: #354358;
}
.server-picker {
  background: #242d3e;
  border-color: #3e4b60;
}
.nav-item {
  background: #222b3a;
  color: #b6c1d3;
  margin: 8px 0;
  min-height: 45px;
}
.nav-item:hover {
  background: #334157;
}
.nav-item.active {
  background: #344257;
  color: #f6d54b;
  border-left: 3px solid #f6d54b;
}
.nav-item svg {
  color: #a2aec3;
}
.panel,
.reference-stats .stat-card,
.reference-stats .stat-card:first-child,
.reference-stats .stat-card:last-child {
  background: #222b3a;
  border-color: #2f3b4e;
}
.feature-card-stack {
  background: #222b3a;
  padding: 18px;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid #2f3b4e;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-card-stack > .panel:first-child {
  background: transparent;
  border: 0;
  padding: 0 0 5px;
}
.feature-card-stack > .panel:first-child h2 {
  font-size: 18px;
}
.feature-card-stack > .individual-feature {
  background: #344257;
  border: 1px solid #3d4e67;
  border-radius: 8px;
  padding: 18px;
  min-height: 100px;
  height: 100%;
  margin: 0;
}
.compact-feature {
  min-height: 100px;
}
.individual-feature > .feature-disclosure {
  width: 100%;
}
.feature-disclosure header {
  cursor: pointer;
  position: relative;
  list-style: none;
  padding-right: 24px;
  min-height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.feature-disclosure header::-webkit-details-marker {
  display: none;
}
.feature-disclosure header:after {
  content: "›";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #d9e2f0;
}
.feature-disclosure[open] summary:after {
  transform: translateY(-50%) rotate(90deg);
}
.feature-disclosure header strong {
  font-size: 16px;
  color: #f4f6fa;
}
.feature-disclosure header small {
  font-size: 12px;
  color: #adbdd2;
  line-height: 1.5;
}
.feature-disclosure header:focus-visible {
  outline: 2px solid #f6d54b;
  outline-offset: 6px;
  border-radius: 4px;
}
.feature-disclosure > .field {
  padding-top: 18px;
  margin-top: 15px;
  border-top: 1px solid #526179;
}
.feature-disclosure > .field > span:not(.themed-select) {
  display: none;
}
.feature-disclosure[open] summary small {
  display: none;
}
.feature-card-stack > .wide-feature:has(.feature-disclosure:not([open])) {
  grid-column: auto;
}
.feature-card-stack > .wide-feature:has(.feature-disclosure[open]) {
  grid-column: 1/-1;
}
.individual-feature:has(.feature-disclosure[open]) {
  grid-column: 1/-1;
}
.feature-card-stack .toggle-row strong {
  font-size: 15px;
}
.feature-card-stack .toggle-row p {
  color: #adbdd2;
}
.feature-card-stack .individual-feature:hover {
  border-color: #71819a;
}
.settings-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
}
.info-card {
  background: #222b3a;
}
.ghost-button {
  background: #344257;
  border-color: #4b5b74;
}
.select-trigger {
  background: #202c3e;
  border-color: #53647e;
}
.select-popup {
  background: #253247;
  border-color: #71819a;
}
.select-option:hover,
.select-option:focus-visible {
  background: #40516b;
}
.activity-icon {
  background: #f6d54b17;
}
.setup-banner,
.banana-extra {
  background: #222b3a;
  border-color: #3e4b60;
}
.metrics-grid > div {
  background: #344257;
  border-color: #43536d;
}
.config-row,
.activity-row.activity-event {
  border-color: #3c4b61;
}
.notice-preview {
  background: #1b2433;
  border-color: #43536d;
}
.server-dialog {
  background: #222b3a;
}
.field input[type="text"],
.field textarea {
  background: #202c3e;
  border-color: #53647e;
}
.feature-card-stack .wizard-navigation {
  background: transparent;
  border: 0;
  padding: 12px 0 0;
}
.hero {
  background: #222b3a;
}
.premium-grid .feature-card {
  background: #344257;
}
.profile-menu {
  background: #253247;
}
.test-options > .individual-feature {
  background: #344257;
}
.savebar {
  background: #283345;
}
@media (max-width: 1100px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .feature-card-stack {
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card-stack > .individual-feature {
    padding: 17px;
  }
  .feature-disclosure header strong {
    font-size: 15px;
  }
  .feature-card-stack > * {
    grid-column: 1 !important;
  }
  .feature-disclosure header {
    min-height: 48px;
  }
}
/* Expandable modules keep configuration together and make room for future tools. */
.sidebar {
  padding: 24px 16px;
  background: #191d27;
}
.sidebar-section-label {
  color: #8796ad;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin: 24px 12px 10px;
}
.sidebar-section-label:first-child {
  margin-top: 0;
}
.nav-item {
  background: transparent;
  min-height: 43px;
  margin: 4px 0;
  border-radius: 7px;
  font-size: 13px;
  gap: 12px;
}
.nav-item.active {
  background: #f6d54b16;
  border-left: 0;
  color: #f6d54b;
}
.nav-item.active svg {
  color: #f6d54b;
}
.nav-item:hover {
  background: #2d3748;
}
.channel-navigation {
  margin-top: 8px;
  border-radius: 8px;
}
.nav-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: #d7dfec;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: 7px;
  min-height: 45px;
}
.nav-group-title::-webkit-details-marker {
  display: none;
}
.nav-group-title > svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #a7b7cf;
}
.nav-group-title:hover {
  background: #2d3748;
}
.nav-group-title.selected-group {
  background: #2d3748;
  color: #f6d54b;
}
.nav-group-title.selected-group svg {
  color: #f6d54b;
}
.nav-chevron {
  margin-left: auto;
  font-size: 17px;
  transition: transform 0.15s;
}
.channel-navigation[open] .nav-chevron {
  transform: rotate(180deg);
}
.nav-submenu {
  border-left: 1px solid #46526a;
  margin: 8px 0 8px 24px;
  padding-left: 8px;
}
.nav-submenu .nav-item {
  font-size: 12px;
  padding: 10px;
  gap: 10px;
  min-height: 38px;
}
.nav-submenu .nav-item svg {
  width: 16px;
  height: 16px;
}
.nav-group-title:focus-visible {
  outline: 2px solid #f6d54b;
  outline-offset: 2px;
}
.server-picker {
  margin-bottom: 22px;
}
.sidebar-bottom {
  border-top-color: #30394b;
}
.brand {
  display: block;
}
.sidebar #nav {
  flex-shrink: 0;
}
@media (max-width: 850px) {
  .nav-group-title {
    padding: 11px 8px;
    font-size: 12px;
    gap: 8px;
  }
  .nav-submenu {
    margin-left: 15px;
  }
  .nav-submenu .nav-item {
    padding: 9px 6px;
    font-size: 11px;
  }
  .sidebar-section-label {
    margin-left: 8px;
  }
}
@media (max-width: 600px) {
  .sidebar #nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    overflow: visible;
  }
  .sidebar-section-label {
    grid-column: 1/-1;
    margin: 14px 4px 3px;
  }
  .channel-navigation {
    grid-column: 1/-1;
    grid-row: 3;
    margin: 0;
    background: #222b3a;
  }
  .nav-group-title {
    padding: 12px;
    font-size: 13px;
  }
  .nav-submenu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 5px 10px 10px;
    border: 0;
    gap: 4px;
  }
  .nav-submenu .nav-item {
    font-size: 12px;
    padding: 10px;
  }
  .sidebar #nav > .nav-item {
    width: 100%;
    margin: 0;
  }
  .sidebar #nav > .sidebar-section-label:first-child {
    display: none;
  }
  .sidebar #nav > .nav-item[data-page="overview"] {
    grid-column: 1/-1;
  }
  .sidebar .server-picker {
    margin-bottom: 18px;
  }
}
/* Direct editing and clear navigation between related settings. */
.module-tabs {
  display: flex;
  gap: 5px;
  padding: 6px;
  margin-bottom: 25px;
  background: #222b3a;
  border: 1px solid #354358;
  border-radius: 9px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.module-tabs button {
  border: 0;
  background: transparent;
  color: #b8c6dc;
  border-radius: 6px;
  padding: 10px 13px;
  white-space: nowrap;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.module-tabs button:hover {
  background: #344257;
  color: #eef3fc;
}
.module-tabs button.selected {
  background: #f6d54b;
  color: #29230e;
}
.module-tabs button:focus-visible {
  outline: 2px solid #f6d54b;
  outline-offset: 1px;
}
.feature-disclosure > header {
  pointer-events: none;
  min-height: 0;
  padding-right: 0;
  cursor: default;
}
.feature-disclosure > header:after {
  display: none;
}
.feature-disclosure > header strong {
  font-size: 14px;
}
.feature-disclosure[open] > header small {
  display: none;
}
.feature-disclosure > .field {
  border: 0;
  padding-top: 0;
  margin-top: 14px;
}
.individual-feature:has(.feature-disclosure[open]) {
  grid-column: auto;
}
.feature-card-stack > .wide-feature:has(.feature-disclosure[open]) {
  grid-column: 1/-1;
}
.feature-card-stack > .individual-feature {
  padding: 19px;
  min-height: 0;
}
.feature-disclosure .field small {
  margin-top: 0;
}
.feature-disclosure .select-trigger {
  font-size: 13px;
}
.feature-card-stack .compact-feature {
  min-height: 105px;
}
.savebar {
  padding: 14px 20px;
  box-shadow: 0 -8px 30px #0003;
}
.savebar > div {
  display: flex;
  gap: 10px;
}
.nav-group-title {
  font-size: 13px;
}
.module-tabs + .page-heading {
  margin-bottom: 23px;
}
@media (max-width: 600px) {
  .module-tabs {
    margin-bottom: 22px;
    gap: 3px;
    padding: 5px;
  }
  .module-tabs button {
    padding: 10px;
    font-size: 11px;
  }
  .savebar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 16px;
  }
  .savebar > div {
    width: 100%;
  }
  .savebar button {
    flex: 1;
  }
  .feature-card-stack > .individual-feature {
    padding: 18px;
  }
  .individual-feature {
    grid-column: 1 !important;
  }
}
.setup-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding: 12px;
  background: #222b3a;
  border: 1px solid #354358;
  border-radius: 9px;
}
.setup-jump a {
  padding: 9px 12px;
  background: #344257;
  color: #dce6f6;
  border-radius: 6px;
  font-size: 12px;
  text-decoration: none;
}
.setup-jump a:hover {
  background: #f6d54b;
  color: #29230e;
}
.setup-section {
  scroll-margin-top: 25px;
  margin-bottom: 30px;
}
.setup-section + .setup-section {
  padding-top: 25px;
  border-top: 1px solid #354358;
}
.setup-section .page-heading {
  display: none;
}
