[x-cloak] {
  display: none !important;
}

.reviewed {
  background-color: #d1fae5;
}

.toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  color: white;
}

.toast-success {
  background-color: #16a34a;
}

.toast-error {
  background-color: #dc2626;
}

.editable-cell {
  cursor: pointer;
}

.editable-cell:hover {
  background-color: #f3f4f6;
}

.editable-cell input:focus,
.editable-cell select:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 0;
}

.provenance-badge {
  display: inline-block;
  padding: 0 0.25rem;
  font-size: 0.625rem;
  border-radius: 0.25rem;
}

.confidence-badge {
  display: inline-block;
  padding: 0 0.25rem;
  font-size: 0.625rem;
  border-radius: 0.25rem;
}

.cell-spinner .spinner-circle {
  stroke-dasharray: 52 10;
  stroke-linecap: round;
}

.job-indicator {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

.job-progress-bar {
  width: 5rem;
  height: 0.5rem;
  background-color: #e5e7eb;
  border-radius: 0.25rem;
  overflow: hidden;
}

.job-progress-bar > div {
  height: 100%;
  background-color: #3b82f6;
  width: 0%;
  transition: width 0.3s ease;
}

.job-progress-bar.queued > div {
  width: 100%;
  background-color: #9ca3af;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.job-badge {
  font-size: 0.75rem;
  padding: 0 0.25rem;
  border-radius: 0.25rem;
}

.job-badge.success {
  background-color: #d1fae5;
  color: #065f46;
}

.job-badge.error {
  background-color: #fee2e2;
  color: #991b1b;
}

.app {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.65rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.llm-model-select {
  min-width: 11rem;
  border-radius: 0.375rem;
  background: #f8fafc;
}

.btn-process-all {
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.25);
}


.empty-state {
  padding: 0.75rem 0.9rem;
  border: 1px dashed #cbd5e1;
  border-radius: 0.5rem;
  color: #475569;
  background: #f8fafc;
  font-size: 0.9rem;
}


.stat-chip {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.table-row-search {
  min-width: 18rem;
  background: white;
}
