/* Repository-authored tables keep their own horizontal scroll area. */
.requested-table-scroll {
  max-width: 100%;
  margin: 18px 0 24px;
  overflow-x: auto;
}
.requested-table-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.requested-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: .9em;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.requested-table caption {
  padding: 0 0 10px;
  font-weight: 600;
  text-align: left;
}
.requested-table th,
.requested-table td {
  border: 1px solid var(--subtle-line);
  padding: 9px 11px;
  vertical-align: top;
  overflow-wrap: break-word;
}
.requested-table thead th { background: var(--panel); }
.requested-table tbody th { font-weight: 600; }
/* The survey's compact two-column results should remain visible on phones. */
[data-generated-article="2356-earth-moon-social-survey"] .requested-table {
  min-width: 0;
  table-layout: fixed;
}
[data-generated-article="2356-earth-moon-social-survey"] .requested-table thead th:nth-child(2) {
  width: 4.5rem;
}
/* Keep each ECI prose line within the visible area on the narrowest screens. */
@media screen and (max-width: 375px) {
  [data-generated-article="epoch-capabilities-index"] .requested-table {
    table-layout: fixed;
    width: calc(100% + 16rem);
    min-width: 0;
  }
  [data-generated-article="epoch-capabilities-index"] .requested-table thead th:first-child { width: 8rem; }
  [data-generated-article="epoch-capabilities-index"] .requested-table thead th:nth-child(2) { width: 8rem; }
}
@media print {
  .requested-table-scroll { overflow: visible; }
  .requested-table { min-width: 0; font-size: .8em; }
}
