.info-table {
  min-width: 0;
  max-width: 100%;
  margin-block: 2rem;
  color: var(--color-text-default);
}

.info-table:not(:has(.is-medium, .is-wide)) {
  max-width: 48rem;
}

.info-table .info-table__hint {
  margin: 0 0 0.625rem;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.info-table__hint::before {
  content: "↔";
  margin-right: 0.5rem;
}

.info-table__scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-block: 1px solid var(--color-border-muted);
  scrollbar-color: var(--color-border-interactive) transparent;
}

.info-table__scroll:focus-visible {
  outline: 2px solid var(--color-interactive);
  outline-offset: 4px;
}

.info-table .info-table__table {
  display: table;
  width: 100%;
  max-width: none;
  overflow: visible;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  overflow-wrap: normal;
  white-space: normal;
}

@media (min-width: 600px) {
  .info-table .info-table__table {
    font-size: 16px;
  }
}

.info-table__table.is-medium {
  min-width: 40rem;
}

.info-table__table.is-wide {
  min-width: 52rem;
}

.info-table .info-table__table :where(th, td) {
  padding: 1rem;
  border: 0;
  border-bottom: 1px solid var(--color-border-default);
  background: transparent;
  color: inherit;
  text-align: left;
  vertical-align: top;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  overflow-wrap: break-word;
  white-space: normal;
}

@media (min-width: 600px) {
  .info-table .info-table__table :where(th, td) {
    padding: 1.125rem 1.25rem;
  }
}

.info-table .info-table__table :where(thead th, thead td) {
  border-bottom-color: var(--color-border-interactive);
  background: var(--color-surface-interactive);
  color: var(--color-interactive);
  font-weight: 600;
  line-height: 1.4;
}

.info-table .info-table__table :where(tbody th) {
  font-weight: 600;
}

.info-table .info-table__table :where(tbody:last-child tr:last-child > th, tbody:last-child tr:last-child > td) {
  border-bottom: 0;
}

.info-table__table.is-wide :where(th:first-child, td:first-child):not([colspan]) {
  min-width: 11rem;
}

.info-table .info-table__table .is-numeric {
  text-align: right;
  white-space: nowrap;
}

.info-table .info-table__table .is-marker {
  min-width: 5rem;
  color: var(--color-interactive);
  text-align: center;
  font-weight: 600;
}

.info-table__table .is-section > td {
  padding-block: 0.75rem;
  background: var(--color-surface-interactive);
}

.info-table .info-table__table :where(p, h2, h3, h4, h5, h6) {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
}

.info-table .info-table__table :where(h2, h3, h4, h5, h6, strong, b) {
  font-weight: 600;
}

.info-table .info-table__table :where(p + p, ul, ol) {
  margin-top: 0.625rem;
}

.info-table .info-table__table caption {
  padding: 1.25rem 1rem;
  color: var(--color-text-heading);
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.info-table__table a {
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}

.info-table__table a:focus-visible {
  outline: 2px solid var(--color-interactive);
  outline-offset: 3px;
}
