.atlas-reference > [data-home-navigation] { display: none; }
.atlas-reference .atlas-site-header { min-height: 0; }
.atlas-reference .atlas-header-inner { max-width: none; }
.atlas-reference .atlas-header-nav a { text-underline-offset: .18em; }
.atlas-reference .atlas-section-label {
  color: var(--atlas-text-muted);
  white-space: nowrap;
}
.atlas-reference #lang {
  flex: none;
  min-width: var(--atlas-control-height);
  min-height: var(--atlas-control-height);
  margin: 0 0 0 auto;
  padding: 0 .625rem;
  background: var(--atlas-surface);
  border: 1px solid var(--atlas-control-border);
  border-radius: var(--atlas-radius-control);
  color: var(--atlas-accent);
  font: 650 .875rem/1 var(--atlas-font);
}
.atlas-reference #lang:hover { background: var(--atlas-soft); }
.atlas-reference main :is(input:not([type="checkbox"],[type="radio"]), select, textarea) {
  min-height: var(--atlas-control-height);
  min-width: 0;
  max-width: 100%;
  border-color: var(--atlas-control-border);
  border-radius: var(--atlas-radius-control);
}
.atlas-reference main :is(button:not(:disabled), summary) { min-height: var(--atlas-control-height); }
.atlas-reference main :is(#search, #cross-form button:not([type]), #cross-form button[type="submit"], #download):enabled {
  background: var(--atlas-accent);
  border: 1px solid var(--atlas-accent);
  color: #fff;
  border-radius: var(--atlas-radius-control);
}
.atlas-reference main :is(#search, #cross-form button:not([type]), #cross-form button[type="submit"], #download):hover:enabled {
  background: var(--atlas-accent-hover);
}
.atlas-reference main :is(.scroll,.table-wrap,.table-scroll,.reference-table-wrap,.species-table-scroll,.ms-table-scroll) {
  max-width: 100%;
  overflow-x: auto;
}
.atlas-reference main :is(th,td) {
  border-bottom-color: var(--atlas-rule);
  vertical-align: top;
}
.atlas-reference main :is(.paper-meta,.brief-head) { color: var(--atlas-text-muted); }
.atlas-reference main :is(.paper,.brief,.panel,.card) { border-color: var(--atlas-rule); }
.atlas-reference main :is(#sources,#cross-results,#result,#strain-coverage) a {
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}
.atlas-reference main :is(#cross-results,#result,#strain-coverage) { min-width: 0; }
.atlas-reference.phase4-atlas .topbar { border-bottom-color: var(--atlas-rule); }
.atlas-reference.phase4-atlas .topbar .brand {
  min-height: var(--atlas-control-height);
  color: var(--atlas-ink);
  text-decoration: none;
}
.atlas-reference.phase4-atlas .topbar :is(button, #species-select) { min-height: var(--atlas-control-height); }
.atlas-reference.phase4-atlas :is(.network-legend,.species-graph-legend,#gene-detail,#species-gene-detail) {
  border-color: var(--atlas-rule);
}
.atlas-reference.phase4-atlas :is(#gene-detail,#species-gene-detail) a {
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}
.atlas-reference.phase4-atlas .topbar :is(a, button, select):focus-visible {
  outline: 2px solid var(--atlas-focus);
  outline-offset: 3px;
}
.atlas-reference .reference-skip {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -6rem;
  z-index: 100;
}
.atlas-reference .reference-skip:focus {
  inset-block-start: .5rem;
  color: var(--atlas-accent);
  background: var(--atlas-surface);
  padding: .5rem;
  outline: 2px solid var(--atlas-focus);
}
@media(max-width: 760px) {
  .atlas-reference:not(.phase4-atlas) main { margin-block-start: 1rem; }
  .atlas-reference.phase4-atlas .topbar { padding-block: .5rem; }
  .atlas-reference.phase4-atlas .species-picker { min-width: 0; }
  .atlas-reference main :is(.grid,.panel,.card,.filters) { min-width: 0; }
}
