/* Free tools. Mobile first. No raw colours: tokens only. */
.tool-body {
  background: var(--cf-bg-warm, var(--bg));
  color: var(--cf-text, var(--text));
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.tool-main { max-width: 760px; margin: 0 auto; padding: 28px 16px 64px; }
.tool-crumb { font-size: 13px; margin: 0 0 16px; color: var(--cf-text-secondary, var(--muted)); }
.tool-crumb a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tool-crumb span[aria-hidden] { margin: 0 6px; }
.tool-h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.tool-lede {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 22px;
  color: var(--cf-text-secondary, var(--text));
}
.tool-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.tool-field label { font-weight: 600; font-size: 14px; }
.tool-hint { font-weight: 400; color: var(--cf-gray-600, var(--muted)); }
.tool-field input,
.tool-field select,
.tool-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--cf-border, var(--border));
  background: var(--cf-bg, var(--card));
  color: var(--cf-text, var(--text));
}
.tool-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.tool-actions button,
.tool-signup .sc-btn,
.tool-actions .sc-btn,
.tool-btn-ghost {
  min-height: 44px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.tool-btn-ghost {
  background: transparent;
  color: var(--cf-text, var(--text));
  border: 1px solid var(--cf-border, var(--border));
  border-radius: 11px;
  padding: 10px 16px;
}
.tool-field textarea { min-height: 140px; resize: vertical; }
.tool-status { font-weight: 700; }
.tool-caption { font-weight: 650; margin: 0 0 8px; }
.tool-result { margin: 4px 0 8px; }
.tool-counts { font-weight: 650; margin: 0 0 8px; }
.tool-checks { list-style: none; padding: 0; margin: 0; }
.tool-checks li {
  padding: 10px 0;
  border-bottom: 1px solid var(--cf-border-subtle, var(--border));
  line-height: 1.5;
}
.tool-checks a { color: var(--cf-accent, var(--accent)); }
.tool-note, .tool-sources { font-size: 14.5px; line-height: 1.6; }
.tool-sources { padding-left: 18px; }
.tool-sources a { color: var(--cf-accent, var(--accent)); }
.tool-out {
  white-space: pre-wrap;
  line-height: 1.55;
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--cf-accent-tint, var(--card));
  border: 1px solid var(--cf-border-subtle, var(--border));
}
.tool-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tool-table th, .tool-table td {
  text-align: left;
  padding: 8px 4px;
  border-bottom: 1px solid var(--cf-border-subtle, var(--border));
  vertical-align: top;
}
.tool-table td:last-child { text-align: right; white-space: nowrap; }
.tool-signup {
  margin-top: 28px;
  padding: 26px 26px 22px;
  border-radius: 14px;
  border: 1px solid var(--cf-accent, var(--accent));
  background: var(--cf-bg, var(--card));
}
.tool-signup h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin: 0 0 8px;
}
.tool-signup p { margin: 0 0 14px; line-height: 1.6; }
.tool-micro { margin: 12px 0 0; font-size: 13px; color: var(--cf-gray-600, var(--muted)); }
.tool-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tool-card {
  display: block;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--cf-border, var(--border));
  text-decoration: none;
  color: inherit;
  background: var(--cf-bg, var(--card));
}
.tool-card h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin: 0 0 6px;
}
.tool-card p { margin: 0; color: var(--cf-text-secondary, var(--muted)); line-height: 1.5; }
.tool-page :focus-visible,
.tool-body :focus-visible {
  outline: 2px solid var(--cf-accent, var(--accent));
  outline-offset: 2px;
}
@media (min-width: 640px) {
  .tool-main { padding: 36px 24px 72px; }
  .tool-h1 { font-size: 36px; }
  .tool-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 800px) {
  .tool-cards { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 420px) {
  .tool-actions button,
  .tool-actions .sc-btn,
  .tool-signup .sc-btn,
  .tool-btn-ghost { width: 100%; }
  .tool-table td:last-child { white-space: normal; }
}
