/* Text Normalizer */

.tool-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tool-body textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  line-height: 1.45;
}

.tool-body select,
.tool-body button {
  padding: var(--space-sm) 10px;
  font-size: 0.9rem;
}

.actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px;
  font-size: 0.85rem;
}

.options label {
  display: flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
}

/* Context section */
.tool-context {
  margin-top: var(--space-lg);
}

.tool-context h2 {
  margin: 0 0 var(--space-md);
  color: var(--text);
}

.tool-context p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 var(--space-sm);
}

.tool-context p:last-child {
  margin-bottom: 0;
}

.option-hint {
  margin: 0.25rem 0 0 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 480px;
}

.editorial-option {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.editorial-option input {
  margin: 0;
}

.editorial-option small {
  display: inline;
  font-size: 0.75rem;
  opacity: 0.75;
  margin-left: 0.35rem;
}
