/*
 * text-cleaner.css — per-tool styles for the Text Cleaner options panel and report list.
 * Tokens only; light/premium surfaces; no inline styles (CSP).
 */

/* Options list — stacked rows, each divided by a hairline. */
.tc-options {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Single option row: checkbox + stacked title/hint body, comfortably spaced. */
.tc-opt {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--neutral-100);
  cursor: pointer;
}
.tc-opt:last-child { border-bottom: 0; }

.tc-opt input {
  margin-top: 3px;
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--blue-600);
  cursor: pointer;
}

/* Text column — flex so the badge separates from the label and long text wraps. */
.tc-opt-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tc-opt-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font: 500 14px/1.4 var(--font-sans);
  color: var(--text-primary);
}
.tc-opt-hint {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

/* Locked (always-on) row is visually de-emphasised. */
.tc-opt-locked { opacity: .6; cursor: default; }
.tc-opt-locked input { cursor: not-allowed; }

/* Report list — one line per applied change, icon beside text. */
.tc-report {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tc-report li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  color: var(--text-primary);
}
.tc-report li .icon { flex: none; color: var(--green-600); }

/* "No changes" state renders as a single muted line. */
.tc-report-none { color: var(--text-muted); }
