/*
 * robots-txt-generator.css — per-tool styles for the user-agent group cards.
 * Tokens only; reuses global .field / .code-block / .chip-row (CSP: style-src 'self').
 */

.rg-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  background: var(--surface-sunken);
}

.rg-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.rg-group-title {
  font: 600 13px var(--font-sans);
  color: var(--text-secondary);
  padding: 0;
}

.rg-group-remove {
  flex: none;
}

/* Path-rule textareas read as code — monospace + no auto-resize surprises. */
.rg-rules {
  font-family: var(--font-mono);
  font-size: 13px;
  min-height: 0;
}
