/* Settings always uses a visible, equal-size section grid in every layout. */
#app-screen #view-settings.view-section {
  grid-template-columns:minmax(0,1fr)!important;
}
#app-screen #view-settings.view-section > * {
  grid-column:1 / -1!important;
}
#app-screen #view-settings.view-section .settings-nav {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:1fr;
  grid-row:auto!important;
  position:static!important;
  width:100%;
  min-width:0;
  max-width:100%;
  max-height:none!important;
  overflow:visible!important;
  gap:.5rem!important;
  margin:.75rem 0 1rem!important;
  padding:.4rem!important;
  box-sizing:border-box;
  align-items:stretch;
}
#app-screen #view-settings.view-section .settings-nav .settings-tab {
  display:flex;
  align-items:center;
  justify-content:center!important;
  justify-items:center!important;
  width:100%!important;
  height:100%;
  min-width:0!important;
  min-height:3.25rem!important;
  margin:0;
  padding:.55rem .65rem!important;
  box-sizing:border-box;
  border-radius:.65rem;
  font-size:.85rem!important;
  line-height:1.3!important;
  font-weight:700!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
  transform:none!important;
}
#app-screen #view-settings.view-section .settings-nav .settings-tab.active {
  border-color:var(--primary);
  background:var(--club-subtle,var(--club-soft,#edf6fb));
  color:var(--club-text,var(--primary));
  box-shadow:inset 0 -2px 0 var(--primary);
}
@media(min-width:1200px) {
  #app-screen #view-settings.view-section .settings-nav { grid-template-columns:repeat(6,minmax(0,1fr))!important }
}
@media(max-width:760px) {
  #app-screen #view-settings.view-section .settings-nav {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:.4rem!important;
    padding:.3rem!important;
    margin:.5rem 0 .75rem!important;
  }
  #app-screen #view-settings.view-section .settings-nav .settings-tab {
    min-height:3rem!important;
    padding:.5rem!important;
    font-size:.8rem!important;
  }
}
