.support-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  table-layout: fixed;
  font-size: 0.82rem;
  line-height: 1.25;
}

.support-table th,
.support-table td {
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.support-table th {
  text-align: left;
  font-weight: 700;
  background: rgba(12, 84, 96, 0.05);
}

.support-table th:nth-child(1),
.support-table td:nth-child(1) {
  width: 22%;
}

.support-table th:nth-child(2),
.support-table td:nth-child(2) {
  width: 14%;
}

.support-table th:nth-child(3),
.support-table td:nth-child(3) {
  width: 28%;
}

.support-table th:nth-child(4),
.support-table td:nth-child(4) {
  width: 36%;
}

.support-table code {
  font-size: 0.76rem;
  white-space: normal;
}

.support-chip {
  display: inline-block;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: normal;
}

.support-chip.official {
  background: rgba(28, 120, 86, 0.12);
  color: #156347;
}

.support-chip.supported {
  background: rgba(13, 110, 253, 0.12);
  color: #0c63e4;
}

.support-chip.experimental {
  background: rgba(255, 193, 7, 0.18);
  color: #8a6500;
}

.support-chip.unsupported {
  background: rgba(220, 53, 69, 0.12);
  color: #a61e2d;
}

.support-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.support-legend-item {
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.55);
}

.md-typeset .mermaid {
  max-width: 42rem;
  margin: 1.25rem auto 1.75rem;
}

.md-typeset .mermaid svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
