.category-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
}

.category-nav button {
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 18px 14px;
  color: #999;
}

.category-nav button.active {
  color: #fff;
  border-bottom-color: white;
  background: #111;
}

.category-nav button:hover {
  color: #fff;
}

.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
}

.workspace-identity {
  min-width: 0;
}

.task-trigger {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: #ccc;
  font-size: 11px;
  margin-bottom: 10px;
}

.task-trigger span {
  color: #999;
}

h1 {
  font-size: 29px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -1px;
}

.actions {
  display: flex;
  gap: 6px;
}

.actions button {
  font-size: 10px;
}

.main-layout {
  border: 1px solid var(--border);
}

.workbench {
  min-width: 0;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 1px;
  min-height: 42px;
}

summary {
  cursor: pointer;
  color: #bbb;
  font-size: 11px;
}

.statement {
  border-bottom: 1px solid var(--border);
}

.statement>summary {
  padding: 12px 16px;
}

.review-badge {
  margin-left: 16px;
  padding-left: 14px;
  border-left: 1px solid #555;
  font-size: 10px;
  color: #aaa;
}

.statement>p {
  padding: 8px 18px 16px;
  font-size: 11px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.statement .source-note {
  padding-top: 0;
  font-size: 10px;
}

.statement details {
  margin: 0 18px 16px;
}

.statement details p {
  margin: 10px 0;
  font-size: 10px;
  white-space: pre-wrap;
}

.source-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 15px;
}

.source-images img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  background: white;
}

.split-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  align-items: start;
}

.input-panel {
  border-right: 1px solid var(--border);
  min-width: 0;
}

.results-panel {
  min-width: 0;
}

