/* Detail rows (sidebar Properties/Details tables) */
.detail-table {
  width: 100%;
  border-collapse: collapse;
}
.detail-table tr {
  border-bottom: 1px solid var(--border-lt);
}
.detail-table tr:last-child { border-bottom: none; }
.detail-table td {
  padding: 6px 0;
  font-size: 13px;
  vertical-align: top;
  text-align: right;
}
.detail-table td:first-child {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11px;
  width: 45%;
  padding-top: 8px;
  text-align: left;
}
.detail-table td:not(:first-child) {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
}
.detail-table thead th {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
  text-align: right;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--border-lt);
}
.detail-table thead th:first-child { text-align: left; color: var(--text-3); }

/* Section header pattern — used by both "Presence in matrices" and "MS/MS spectrum" */
.block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 15px;
}
.block-title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  border-bottom: 1px solid var(--border-lt);
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.block-subtitle {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

/* Selected-matrix detail caption (below the 5-subplot overview) */
.detail-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  margin-bottom: 0;
  margin-left: 50px;
  font-size: 13px;
  color: var(--text);
}
.detail-caption strong {
  color: var(--text);
  font-weight: 500;
}
.detail-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent-lt);
  display: inline-block;
}

/* Vertical rhythm between the major page blocks */
.matrices-section {
  margin-bottom: 0;   /* .detail-caption's margin-top (28px) provides the real gap below */
}
.fig-full {
  margin-bottom: 4px;
}
.spectrum-section {
  padding-top: 24px;
}