.truth-table-root {
  margin-top: 8px;
  font-size: 11px;
  color: #e5e7eb;
}

.truth-table-title {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.truth-table-expand-toggle {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  border: 1px solid #374151;
  background-color: #020617;
  color: #39ff14;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.truth-table-toggle {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid #374151;
  overflow: hidden;
  font-size: 10px;
}

.truth-table-toggle-option {
  padding: 2px 6px;
  cursor: pointer;
  color: #9ca3af;
  background-color: #020617;
}

.truth-table-toggle-option + .truth-table-toggle-option {
  border-left: 1px solid #374151;
}

.truth-table-toggle-option.active {
  background-color: #22c55e;
  color: #022c22;
}

.truth-table {
  width: 100%;
  border-collapse: collapse;
}

.truth-table th,
.truth-table td {
  border: 1px solid #374151;
  padding: 2px 4px;
  text-align: center;
}

.truth-table th {
  background-color: #020617;
  font-weight: 500;
}

.truth-table-legend {
  margin-top: 6px;
}

.truth-table-legend ul {
  margin: 0;
  padding-left: 16px;
}

.tt-true {
  color: #39ff14;
}

.tt-false {
  color: #ff39ff;
}

.truth-table-message {
  font-size: 11px;
  color: #f97316;
}

.scenario-tester-root {
  margin-top: 8px;
  margin-bottom: 10px;
  padding-top: 6px;
  border-top: 1px solid #111827;
}

.scenario-tester-title {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 6px;
}

.scenario-tester-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scenario-tester-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
}

.scenario-tester-index {
  min-width: 18px;
  text-align: right;
  color: #ff39ff;
}

.scenario-tester-text {
  flex: 1;
}

.scenario-tester-checkbox {
  margin-right: 4px;
}

.scenario-tester-true-label {
  font-size: 10px;
  color: #9ca3af;
  margin-left: 2px;
}

.scenario-tester-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scenario-tester-result {
  font-size: 11px;
}

.scenario-result-true {
  color: #39ff14;
}

.scenario-result-false {
  color: #ff39ff;
}
