.toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 160px 160px 160px auto;
  gap: 12px;
  padding: 18px;
  margin-bottom: 18px;
}

.toolbar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.toolbar input,
.toolbar select {
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 0 10px;
  background: #fffdfa;
  color: var(--text);
}

.data-source-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -4px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff8ed;
  color: var(--muted);
  font-size: 13px;
}

.data-source-bar a {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.feedback-table {
  min-width: 1540px;
}

.user-cell {
  display: grid;
  gap: 3px;
}

.user-cell strong {
  color: var(--primary);
}

.user-cell span {
  color: var(--muted);
  font-size: 12px;
}

.feedback-title-cell {
  display: grid;
  gap: 6px;
}

.feedback-title-cell strong {
  font-size: 14px;
}

.feedback-title-cell span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.record-no {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
}

.flag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.flag.ok {
  background: #e8f7ed;
  color: #2c9c5f;
}

.flag.muted {
  background: #f4efe7;
  color: #8e7d66;
}

.muted-text {
  color: var(--muted);
  font-size: 12px;
}

.empty-row {
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
}

.quick-actions {
  min-width: 220px;
  display: grid;
  gap: 8px;
}

.quick-actions select {
  width: 100%;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.quick-actions button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8ed;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.quick-actions button:hover {
  background: var(--primary-soft);
}

@media (max-width: 900px) {
  .toolbar {
    grid-template-columns: 1fr;
  }
}
