/* Free SEO tools hub and tool pages (module free_tools, free tools stream 25 October 2026). Theme tokens only. */
.ft-grid { display: grid; gap: 18px; grid-template-columns: repeat(var(--ft-cols, 3), minmax(0, 1fr)); }
.ft-grid > .tile { min-height: 100%; }
.ft-grid > .tile.ft-fill { grid-column: span var(--ft-span, 1); }
.ft-grid .tile h3 { font-size: 18px; margin: 0; overflow-wrap: anywhere; }
.ft-grid .tile p { margin: 0; }
.ft-grid .tile .ft-go { margin-top: auto; }
.ft-group { margin: 0 0 34px; }
.ft-group-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ft-group-head h2 { margin: 0; font-size: 22px; }
.ft-group-head p { margin: 0; color: var(--ink-3); }
.ft-tool { display: grid; gap: 24px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.ft-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ft-panel h2, .ft-panel h3 { margin: 0; }
.ft-panel label { font-weight: 600; display: block; }
.ft-panel input[type=text], .ft-panel input[type=url], .ft-panel select, .ft-panel textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); }
.ft-panel textarea { font-family: var(--mono); font-size: 13px; min-height: 140px; }
.ft-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ft-out { font-family: var(--mono); font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; margin: 0; max-height: 420px; overflow: auto; }
.ft-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ft-notes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ft-notes li { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.ft-notes .ms { flex: none; }
.ft-good .ms { color: var(--brand); }
.ft-warn .ms { color: var(--amber); }
.ft-bad .ms { color: var(--coral); }
.ft-info .ms { color: var(--aqua); }
.ft-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ft-table th, .ft-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.ft-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ft-serp { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; background: var(--bg); overflow: hidden; }
.ft-serp-url { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.ft-serp-title { font-family: Arial, sans-serif; font-size: 20px; line-height: 1.3; color: var(--aqua); margin: 4px 0; overflow-wrap: anywhere; }
.ft-serp-desc { font-family: Arial, sans-serif; font-size: 14px; line-height: 1.58; color: var(--ink-2); overflow-wrap: anywhere; }
.ft-serp.ft-phone { max-width: 360px; }
.ft-serp.ft-phone .ft-serp-title { font-size: 18px; }
.ft-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ft-bar > i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s var(--ease); }
.ft-bar.ft-over > i { background: var(--coral); }
.ft-nudge { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ft-nudge p { margin: 0; flex: 1 1 260px; }
.ft-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ft-ok { color: var(--brand-ink); font-weight: 700; }
.ft-no { color: var(--coral); font-weight: 700; }
@media (max-width: 900px) {
  .ft-tool { grid-template-columns: minmax(0, 1fr); }
  .ft-grid { --ft-cols: 2 !important; }
  .ft-grid > .tile.ft-fill { grid-column: auto; }
  .ft-grid.ft-odd > .tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ft-grid { --ft-cols: 1 !important; }
  .ft-grid.ft-odd > .tile:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .ft-bar > i { transition: none; } }
