#tab-robots [hidden] {
  display: none !important;
}
.explorer-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.collection-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}
.collection-choices button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  text-align: left;
  border: 1px solid #334155;
  border-radius: 0.6rem;
  padding: 0.65rem 0.75rem;
  color: #cbd5e1;
  font-size: 0.8rem;
}
.collection-choices button[aria-pressed='true'] {
  background: #12334a;
  color: #bae6fd;
  border-color: #38bdf8;
}
.collection-choices b {
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
}
.explorer-tools,
.explorer-pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.explorer-tools {
  margin: 0.75rem 0;
}
.explorer-tools input,
.explorer-tools select,
.explorer-button {
  background: #101b2d;
  color: #e2e8f0;
  border: 1px solid #405069;
  border-radius: 0.5rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
}
.explorer-tools input {
  width: min(32rem, 100%);
}
.explorer-tools select {
  max-width: 100%;
}
.explorer-tools button:disabled,
.explorer-pager button:disabled {
  opacity: 0.5;
  cursor: default;
}
.explorer-pager {
  justify-content: center;
  font-size: 0.85rem;
}
.source-notes {
  font-size: 0.8rem;
  line-height: 1.65;
  color: #a6b5ca;
  margin-top: 1rem;
}
.source-notes summary {
  cursor: pointer;
  color: #bae6fd;
  width: fit-content;
}
.source-notes p {
  margin-top: 0.4rem;
}
.source-notes a,
.ref-card a,
.profile-link {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.ref-card {
  border-radius: 1rem;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ref-card small {
  color: #7dd3fc;
}
.ref-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
}
.ref-card p,
.ref-card dl,
.ref-card a {
  font-size: 0.8rem;
  line-height: 1.55;
}
.ref-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.75rem;
  margin: 0.25rem 0;
}
.ref-card dt {
  color: #94a3b8;
}
.ref-card a {
  margin-top: auto;
}
.directory-empty {
  grid-column: 1/-1;
  color: #cbd5e1;
  padding: 2rem 1rem;
  text-align: center;
}
.explorer-dialog {
  width: min(48rem, calc(100% - 2rem));
  max-height: 86vh;
  overflow: auto;
  margin: auto;
  background: #0e1827;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 1rem;
}
.explorer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}
.explorer-dialog .dialog-inner {
  padding: 1.5rem;
  position: relative;
}
.profile-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}
.profile-facts div {
  background: #101b2d;
  padding: 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
}
.profile-facts dt {
  color: #94a3b8;
  font-size: 0.7rem;
}
.profile-facts dd {
  margin-top: 0.2rem;
}
@media (max-width: 650px) {
  .collection-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .explorer-tools select {
    flex: 1 1 42%;
  }
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.8rem;
}
.operator-report {
  border-left: 2px solid #32607a;
  padding: 0.3rem 0.8rem;
  margin-top: 0.85rem;
  font-size: 0.82rem;
}
.operator-report small {
  color: #7dd3fc;
}
.operator-report h4 {
  color: #f1f5f9;
  font-weight: 600;
}
.operator-report p {
  margin: 0.35rem 0;
}
