/* TextCleaner — tool-specific styles.
   Shared styles (nav, panels, buttons) live in ../../css/style.css */

.tn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 14px;
  align-items: start;
}
.tn-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* ---------- Editor ---------- */
.tn-editor { display: flex; flex-direction: column; min-width: 0; }
.tn-actions { margin-left: auto; display: flex; gap: 6px; }

#tn-text {
  width: 100%;
  min-height: 460px;
  resize: vertical;
  display: block;
  background: transparent;
  border: none;
  padding: 15px;
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .86rem;
  line-height: 1.7;
  outline: none;
}
#tn-text::placeholder { color: #4a4a52; }
.tn-done { margin-left: auto; color: var(--pink); font-weight: 600; }

.icon-btn:disabled { opacity: .4; cursor: not-allowed; }
.icon-btn:disabled:hover { background: #1c1c20; color: #c4c4cc; border-color: #26262b; }

/* ---------- Checklist ---------- */
.tn-list { display: flex; flex-direction: column; gap: 2px; }
.tn-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #c4c4cc;
  font-size: .83rem;
  cursor: pointer;
  transition: background .15s;
}
.tn-check:hover { background: #17171b; }
.tn-check input {
  accent-color: var(--pink);
  width: 15px; height: 15px;
  flex: none;
  cursor: pointer;
}

.tn-run { width: 100%; padding: 12px; font-size: .92rem; }

/* ---------- Report ---------- */
.tn-report-empty { color: #5c5c66; font-size: .82rem; }
.tn-report-sum {
  color: var(--pink-light);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 9px;
  font-variant-numeric: tabular-nums;
}
.tn-report-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.tn-report-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #8b8b94;
  font-size: .8rem;
  line-height: 1.4;
}
.tn-report-list li::before {
  content: "✓";
  color: #22c55e;
  font-size: .75rem;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .tn { grid-template-columns: 1fr; }
  #tn-text { min-height: 240px; }
}
