
.fundament-cot-status-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 1rem;
}

.fundament-cot-status-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.75rem;
  background: var(--fundament-panel-bg, #fff);
}

.fundament-cot-status-table-wrap:focus-visible {
  outline: 2px solid var(--fundament-focus-ring, #2563eb);
  outline-offset: 3px;
}

.fundament-cot-status-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.fundament-cot-status-table th,
.fundament-cot-status-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  text-align: left;
  white-space: nowrap;
}

.fundament-cot-status-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--fundament-panel-bg, #fff);
  color: var(--fundament-muted-text, #475569);
}

.fundament-cot-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.15;
}

.fundament-cot-status-badge--passed {
  color: #166534;
  background: #dcfce7;
}

.fundament-cot-status-badge--exception {
  color: #92400e;
  background: #fef3c7;
}

.fundament-cot-status-badge--failed {
  color: #991b1b;
  background: #fee2e2;
}

.fundament-cot-status-badge--unknown {
  color: #334155;
  background: #e2e8f0;
}
