/* Custom styles for alignment pretraining experiments (optional). */

.setup-diagrams {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}

.document-table-wrap {
  margin: 24px 0 10px;
  overflow-x: auto;
}

.document-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95rem;
  line-height: 1.55;
}

.document-table td {
  width: 50%;
  border: 1px solid #d1d5db;
  padding: 14px 16px;
  vertical-align: top;
  background: #ffffff;
}

.document-table-note {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #4b5563;
  background: #f8fafc;
}

.setup-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

.setup-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  max-width: 200px;
}

.setup-box {
  border: 1px solid #9aa0a6;
  border-radius: 6px;
  height: 60px;
  padding: 0 10px;
  background: #f6f7f8;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.setup-box.accent {
  background: #d7e6e8;
}

.setup-box.accent-secondary {
  background: #e7f0f2;
}

.setup-box.docs-aligned {
  background: #e4f4e7;
  border-color: #5c8f63;
  color: #1d4c2a;
  box-shadow: 0 0 0 1px rgba(92, 143, 99, 0.14);
}

.setup-box.docs-misaligned {
  background: #f8e1e1;
  border-color: #b85a5a;
  color: #6f1f1f;
  box-shadow: 0 0 0 1px rgba(184, 90, 90, 0.14);
}

.setup-box.placeholder {
  background: transparent;
  border: 1px solid transparent;
  color: transparent;
  user-select: none;
  visibility: hidden;
}

.setup-box.evals {
  text-align: center;
  width: 100%;
  flex-direction: column;
  gap: 4px;
}

.setup-box-title {
  font-weight: 700;
  text-align: center;
}

.setup-evals-inline {
  margin-top: 6px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.setup-arrow {
  color: #6b7280;
  font-size: 16px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.setup-arrow::before {
  content: "";
  width: 1px;
  height: 0;
  background: #6b7280;
  display: none;
}

.setup-arrow.long::before {
  height: 96px;
  display: block;
}

@media (max-width: 700px) {
  .setup-diagram {
    max-width: 100%;
  }
}
