.returns-app {
  --primary: #5c3d2e;
  --primary-light: #7a523d;
  --accent: #c45c26;
}

.returns-header {
  background: linear-gradient(135deg, #5c3d2e, #7a523d);
}

.app-tagline {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 6px;
}

.returns-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.draft-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.draft-header h2 {
  margin-bottom: 0;
}

.draft-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.draft-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.draft-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafbfc;
}

.draft-item-main strong {
  display: block;
  font-size: 0.92rem;
}

.draft-item-meta,
.draft-item-jan {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.draft-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.qty-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.qty-input {
  width: 72px;
  margin-left: 6px;
  padding: 6px 8px;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 0.78rem;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.history-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eee;
  color: var(--text-muted);
}

.badge-ok {
  background: rgba(42, 157, 143, 0.15);
  color: var(--success);
}

.history-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.history-memo {
  font-size: 0.85rem;
  margin-top: 6px;
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.history-card.review-highlight {
  box-shadow: 0 0 0 2px var(--primary);
}
