/* Free SEO tools (src/routes/tools.js, public/js/seo-tools.js). Theme tokens from styles.css. */
.tool-head .lp-lead { max-width: 760px; }
.tool-badge { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 10px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800;
  color: var(--brand-dark); background: var(--brand-soft); }
.tool-runs { padding-inline-start: 8px; margin-inline-start: 2px; border-inline-start: 1px solid currentColor; opacity: .85; } /* run count, src/services/tool-usage.js */
.tool-section { padding: 8px 0 56px; }
.tool-app { max-width: 920px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px 26px; box-shadow: var(--shadow-lg); }
.tool-form { display: grid; gap: 6px; }
.tool-label { display: block; font-weight: 800; font-size: 14px; margin: 10px 0 4px; color: var(--heading); }
.tool-form input, .tool-form textarea, .tool-form select { width: 100%; font: inherit; }
.tool-form textarea { resize: vertical; }
.tool-url { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); border-radius: 16px; padding: 6px 6px 6px 14px; background: var(--surface); }
.tool-url:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.tool-url .prefix { color: var(--muted); display: grid; }
.tool-url .prefix .ico { width: 18px; height: 18px; }
.tool-url input { border: 0 !important; box-shadow: none !important; background: transparent; padding: 10px 4px; font-size: 16px; min-width: 0; flex: 1; }
.tool-url input:focus { outline: none; }
.tool-url .btn { flex: none; }
.tool-url.sm { padding: 4px 4px 4px 12px; border-radius: 13px; }
.tool-url.sm input { padding: 7px 4px; font-size: 15px; }
.tool-note { font-size: 13px; margin: 6px 2px 0; }
.tool-err { color: var(--bad); font-size: 14px; margin: 6px 2px 0; font-weight: 600; }
.tool-err[hidden] { display: none; }
.tool-fetch { padding: 12px 14px 14px; margin-bottom: 6px; border-radius: 16px; background: var(--surface-2); }
.tool-fetch .tool-label { margin-top: 0; }
.tool-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.tool-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; cursor: pointer; }
.tool-check input { width: auto !important; }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; font-size: 13px; }
.tool-meter { position: relative; height: 26px; border-radius: 8px; background: var(--surface-2); overflow: hidden; margin-top: 6px; font-size: 12px; }
.tool-meter i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: color-mix(in srgb, var(--ok) 30%, transparent); }
.tool-meter.warn i { background: color-mix(in srgb, var(--warn) 32%, transparent); }
.tool-meter.bad i { background: color-mix(in srgb, var(--bad) 28%, transparent); }
.tool-meter span { position: relative; display: block; padding: 5px 10px; font-weight: 700; }

/* ---------- results ---------- */
.tool-results { max-width: 920px; margin: 22px auto 0; display: grid; gap: 14px; scroll-margin-top: 90px; }
.tool-results:empty { display: none; }
.t-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; min-width: 0; }
.t-card h2 { font-size: 22px; margin: 0 0 4px; }
.t-card h2:focus { outline: none; }
.t-card h3 { font-size: 17px; margin: 0 0 10px; }
.t-card h4 { font-size: 14px; margin: 0 0 8px; color: var(--muted); }
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.t-head h2 { margin: 0; }
.t-loading { display: flex; gap: 14px; align-items: center; }
.t-loading p { margin: 4px 0 0; font-size: 14px; }
.t-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.t-ring { --p: 0; --c: var(--brand); width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; align-content: center; position: relative;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--surface-2) 0); }
.t-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--surface); }
.t-ring b, .t-ring span { position: relative; z-index: 1; text-align: center; display: block; }
.t-ring b { font-size: 34px; font-weight: 900; line-height: 1; }
.t-ring span { font-size: 12px; color: var(--muted); }
.t-big { min-width: 108px; height: 92px; padding: 0 14px; border-radius: 22px; display: grid; place-items: center; font-size: 34px; font-weight: 900;
  color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.t-big.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.t-big.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 11%, transparent); }
.t-url { margin: 2px 0; font-weight: 700; overflow-wrap: anywhere; }
.t-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.t-stats span { display: inline-flex; gap: 6px; align-items: center; }
.t-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.t-kpis div { background: var(--surface-2); border-radius: 12px; padding: 10px; text-align: center; }
.t-kpis b { display: block; font-size: 20px; }
.t-kpis span { font-size: 12px; color: var(--muted); }
.t-good { color: var(--ok); font-weight: 700; margin: 0; }
.t-warn { color: var(--warn); font-weight: 600; }
.t-ok { color: var(--ok); font-weight: 900; }
.t-bad { color: var(--bad); font-weight: 800; }
.t-small { font-size: 13px; }
.t-req { color: var(--bad); }
.t-issues { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.t-issues details { border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; }
.t-issues summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.t-issues summary::-webkit-details-marker { display: none; }
.t-issues summary::after { content: "▾"; margin-inline-start: 4px; color: var(--muted); }
.t-issues details[open] summary::after { content: "▴"; }
.t-il { font-weight: 800; flex: 1; }
.t-issues p { margin: 10px 0 6px; font-size: 14px; }
.t-urls { margin: 0; padding-inline-start: 18px; font-size: 13px; display: grid; gap: 3px; }
.t-urls a, .t-table a { overflow-wrap: anywhere; }
.t-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.t-checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; font-size: 14px; }
.t-checks li > div { display: grid; gap: 2px; }
.t-checks li.yes > div b { font-weight: 600; }
.t-checks code { font-size: 12px; overflow-wrap: anywhere; }
.t-cat { font-size: 11px; font-weight: 800; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.t-table { overflow-x: auto; }
.t-table table, .t-grams table { width: 100%; border-collapse: collapse; font-size: 14px; }
.t-table th { text-align: start; font-size: 12px; color: var(--muted); font-weight: 800; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.t-table td, .t-grams td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.t-table td small { display: block; margin-top: 2px; }
.t-chip { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; margin: 2px 4px 2px 0; background: var(--surface-2); color: var(--muted); }
.t-chip.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.t-chip.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.t-find { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.t-find li { padding: 8px 12px 8px 30px; border-radius: 12px; position: relative; font-size: 14px; font-weight: 600; }
.t-find li::before { position: absolute; inset-inline-start: 11px; top: 8px; }
.t-find li.warn { background: color-mix(in srgb, var(--warn) 10%, transparent); }
.t-find li.warn::before { content: "!"; color: var(--warn); font-weight: 900; }
.t-find li.bad { background: color-mix(in srgb, var(--bad) 9%, transparent); }
.t-find li.bad::before { content: "✕"; color: var(--bad); }
.t-chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: hop; }
.t-chain li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); }
.t-chain .t-url { font-weight: 600; }
.t-code { display: block; width: 100%; margin: 10px 0; padding: 14px 16px; border-radius: 14px; background: #0f1a20; color: #d7efe9; border: 0;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: auto; }
textarea.t-code { min-height: 320px; resize: vertical; }
.t-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--accent) 8%, var(--surface))); border-color: color-mix(in srgb, var(--brand) 20%, var(--border)); }
.t-cta p { margin: 4px 0 0; font-size: 14px; max-width: 620px; }
.t-grams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.t-grams td:nth-child(2) { font-weight: 800; text-align: end; }
.t-grams td:nth-child(3) { text-align: end; }
.t-heads { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; }
.t-heads li { display: flex; gap: 8px; align-items: baseline; }
.t-heads li.h2 { padding-inline-start: 18px; }
.t-heads li.h3 { padding-inline-start: 36px; color: var(--muted); }

/* ---------- SERP preview (Google look, fixed fonts on purpose) ---------- */
.serp { font-family: Arial, sans-serif; background: #fff; color: #202124; border-radius: 14px; padding: 18px 20px; border: 1px solid var(--border); }
.serp.desktop { max-width: 652px; }
.serp.mobile { max-width: 380px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.serp-site { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.serp-fav { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #f1f3f4; border: 1px solid #dadce0; font-size: 12px; font-weight: 700; color: #4d5156; }
.serp-site div { display: grid; line-height: 1.25; }
.serp-name { font-size: 14px; color: #202124; }
.serp-url { font-size: 12px; color: #4d5156; overflow-wrap: anywhere; }
.serp-title { font-size: 20px; line-height: 1.3; font-weight: 400; color: #1a0dab; margin: 4px 0; }
.serp.mobile .serp-title { font-size: 18px; }
.serp-desc { font-size: 14px; line-height: 1.58; color: #4d5156; margin: 0; }
.serp b { font-weight: 700; }

/* ---------- social previews ---------- */
.sp-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 14px; align-items: start; }
.sp-label { margin: 0 0 6px; font-size: 12px; font-weight: 800; color: var(--muted); }
.sp-img { background: var(--surface-2) center / cover no-repeat; }
.sp-img.wide { aspect-ratio: 1.91 / 1; }
.sp-img.thumb { width: 72px; height: 72px; flex: none; border-radius: 6px; }
.sp-img.none { display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.sp-body { display: grid; gap: 2px; padding: 10px 12px; font-family: Helvetica, Arial, sans-serif; min-width: 0; }
.sp-body b { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.sp-body span { font-size: 13px; color: #606770; overflow-wrap: anywhere; }
.sp-host { text-transform: none; font-size: 12px !important; color: #606770; }
.sp-fb { border: 1px solid #dadde1; background: #f2f3f5; color: #1d2129; overflow: hidden; }
.sp-fb .sp-host { text-transform: uppercase; }
.sp-x { border: 1px solid #cfd9de; border-radius: 16px; overflow: hidden; background: #fff; color: #0f1419; }
.sp-wa { background: #d9fdd3; border-radius: 10px; padding: 6px; color: #111b21; }
.sp-wa-in { display: flex; gap: 8px; background: #c6f1bd; border-radius: 8px; overflow: hidden; }
.sp-wa-in .sp-body { padding: 6px 8px 6px 0; }
.sp-wa-link { font-size: 13px; color: #027eb5; padding: 6px 4px 2px; overflow-wrap: anywhere; }

/* ---------- schema generator ---------- */
.sf-rows { display: grid; gap: 10px; margin-bottom: 10px; }
.sf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 10px; align-items: end; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.sf-row .tool-label { margin-top: 0; }

/* ---------- hub, cards, guide ---------- */
.tool-group-h { font-size: 20px; margin: 28px 0 12px; }
.tool-group-h:first-child { margin-top: 0; }
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); color: var(--text);
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease, border-color .15s; position: relative; }
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); text-decoration: none; }
.tc-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.tc-ic .ico { width: 22px; height: 22px; }
.tc-t { display: grid; gap: 3px; min-width: 0; flex: 1; }
.tc-t b { font-size: 16px; color: var(--heading); }
.tc-t small { font-size: 13px; color: var(--muted); }
.tool-card .pill { position: absolute; top: -9px; inset-inline-end: 14px; }
.tc-go { width: 18px; height: 18px; color: var(--muted); align-self: center; flex: none; }
.tool-card:hover .tc-go { color: var(--brand); }
.tool-all { text-align: center; margin: 18px 0 0; font-weight: 800; }
.tool-all a, .tool-all .ico { display: inline-flex; vertical-align: middle; }
.tool-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.tool-list li { display: flex; gap: 10px; align-items: flex-start; }
.tool-list .ico { color: var(--brand); flex: none; margin-top: 4px; }
.tool-guide p { color: var(--muted); }
.tool-upsell { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.tool-upsell h2 { margin-top: 0; }
.tool-upsell-cta { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.tool-upsell-cta p { margin: 10px 0 0; font-size: 14px; }
.lp-container.narrow { max-width: 820px; }

@media (max-width: 900px) {
  .tools-grid, .sp-grid, .t-grams { grid-template-columns: minmax(0, 1fr); }
  .tool-upsell { grid-template-columns: minmax(0, 1fr); }
  .t-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .tool-app { padding: 18px 16px; border-radius: 18px; }
  .tool-grid2 { grid-template-columns: minmax(0, 1fr); }
  .t-sum { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .tool-url { flex-wrap: wrap; padding: 6px; }
  .tool-url .prefix { display: none; }
  .tool-url .btn { width: 100%; justify-content: center; }
  .sf-row { grid-template-columns: minmax(0, 1fr); }
  .t-checks li { grid-template-columns: 22px minmax(0, 1fr); }
  .t-checks .t-cat { grid-column: 2; justify-self: start; }
  .t-chain li { grid-template-columns: auto minmax(0, 1fr); }
  .t-chain li .muted { grid-column: 2; }
}
.t-head .seg button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .18); }
.t-bots { table-layout: fixed; }
.t-bots td:nth-child(1) { width: 46%; }
.t-bots td:nth-child(2) { width: 28%; }

/* ---------- more tools (public/js/seo-tools-extra.js) ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.t-mid { color: var(--warn); font-weight: 900; text-align: center; }
.t-chip.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 11%, transparent); }
.t-chip.brand { color: var(--brand-dark); background: var(--brand-soft); }
.t-kpis div.ok b { color: var(--ok); }
.t-kpis div.warn b { color: var(--warn); }
.t-kpis div.bad b { color: var(--bad); }
.t-big-l { display: block; font-size: 12px; font-weight: 700; margin-top: -18px; }
.tool-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tool-radios { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 4px; }
.tool-radios label { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; cursor: pointer; }
.t-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.t-chipbtn { border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.t-chipbtn:hover, .t-chipbtn[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.t-filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.t-filter button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); padding: 7px 12px; border-radius: 9px; cursor: pointer; }
.t-filter button small { font-weight: 600; opacity: .75; }
.t-filter button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .18); }
.t-filter-text { max-width: 240px; }
.t-tip { border-inline-start: 4px solid var(--brand); }
.t-tip p { margin: 6px 0 0; color: var(--muted); }
.t-json summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--muted); margin-top: 10px; }
.t-gap { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 700; }
.t-gap em { font-style: normal; font-size: 11px; color: var(--muted); }
/* keyword ideas */
.kw-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.kw-list li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; border-bottom: 1px solid var(--border); }
.kw-list li:hover { background: var(--surface-2); }
.kw-q { flex: 1; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.kw-go { color: var(--muted); font-weight: 800; text-decoration: none; padding: 0 4px; }
.kw-go:hover { color: var(--brand); text-decoration: none; }
/* competitor comparison */
.cmp-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.cmp-dim > b { display: block; margin-bottom: 6px; }
.cmp-rows { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: center; font-size: 13px; }
.cmp-l { color: var(--muted); }
.cmp-bar { display: flex; align-items: center; gap: 8px; }
.cmp-bar i { display: block; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--muted) 35%, transparent); }
.cmp-bar.you i { background: var(--brand); }
.cmp-bar.best i { background: var(--accent); }
.cmp-bar b { font-size: 13px; }
.cmp-you td { background: var(--brand-soft); }
.cmp-plan { margin: 0; padding-inline-start: 20px; display: grid; gap: 10px; }
.cmp-plan li span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
/* page speed */
.sp-rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; justify-items: center; text-align: center; }
.sp-rings > div { display: grid; gap: 8px; justify-items: center; }
.sp-rings > div > b { font-size: 14px; }
.cwv { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.cwv-m { border-radius: 14px; padding: 12px; background: var(--surface-2); display: grid; gap: 2px; border-top: 4px solid var(--border); }
.cwv-m span { font-size: 12px; font-weight: 800; color: var(--muted); }
.cwv-m b { font-size: 22px; }
.cwv-m small { font-size: 12px; color: var(--muted); }
.cwv-m.ok { border-top-color: var(--ok); } .cwv-m.ok b { color: var(--ok); }
.cwv-m.warn { border-top-color: var(--warn); } .cwv-m.warn b { color: var(--warn); }
.cwv-m.bad { border-top-color: var(--bad); } .cwv-m.bad b { color: var(--bad); }
/* images */
.img-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.img-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px; border-radius: 12px; border: 1px solid var(--border); }
.img-list li > div { display: grid; gap: 2px; min-width: 0; }
.t-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.img-name { font-weight: 700; overflow-wrap: anywhere; }
/* robots tester, utm */
.rb-table code { font-size: 12px; }
.utm-out { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); margin-top: 8px; }
.utm-out b { grid-column: 1 / -1; font-size: 13px; }
.utm-out code { overflow-wrap: anywhere; font-size: 13px; }
/* hub search */
.hub-bar { display: grid; gap: 12px; margin-bottom: 26px; }
.hub-search { display: flex; align-items: center; gap: 10px; max-width: 560px; padding: 4px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.hub-search .ico { width: 18px; height: 18px; color: var(--muted); flex: none; }
.hub-search input { border: 0; background: none; box-shadow: none; padding: 10px 0; flex: 1; min-width: 0; outline: none; }
.hub-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.lp .hub-search input:focus-visible { outline: none; }
.hub-groups { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-groups a { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.hub-groups a:hover { color: var(--brand-dark); background: var(--brand-soft); text-decoration: none; }
.tool-group[hidden], .tool-card[hidden] { display: none; }
.tool-group-h { scroll-margin-top: 96px; }
.hub-empty { text-align: center; }
@media (max-width: 900px) {
  .cwv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-rings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .tool-grid3, .kw-list, .cmp-dims { grid-template-columns: minmax(0, 1fr); }
  .cwv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-filter-text { max-width: none; width: 100%; }
}
.tool-group .tool-group-h { margin-top: 30px; }
.hub-bar + .tool-group .tool-group-h { margin-top: 0; }
.tool-results [hidden] { display: none !important; }

/* ---------- SEO analysis report and site checks (public/js/seo-analysis.js) ---------- */
.t-info { color: var(--muted); font-weight: 800; text-align: center; font-style: italic; }
.t-cta-b { display: flex; gap: 8px; flex-wrap: wrap; }
.tool-url.lg { padding: 8px 8px 8px 16px; border-radius: 18px; }
.tool-url.lg input { font-size: 17px; padding: 12px 4px; }
.tool-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 2px 0; padding: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.tool-chips li { display: inline-flex; gap: 6px; align-items: center; }
.tool-chips .ico { color: var(--brand); }
.hub-scan { max-width: 720px; margin: 0 0 22px; }
.an-sum .an-grade { margin: 0 0 4px; }
.an-delta { margin: 8px 0 0; font-weight: 700; font-size: 14px; }
.an-delta.up { color: var(--ok); }
.an-delta.down { color: var(--bad); }
.an-tools { margin-top: 12px; }
.an-catgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.an-catcard { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--text); box-shadow: var(--shadow); }
.an-catcard:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); text-decoration: none; }
.an-catcard b { display: block; font-size: 14px; color: var(--heading); }
.an-catcard small { font-size: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.an-mini { --p: 0; --c: var(--brand); flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--surface-2) 0); }
.an-mini::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.an-mini b { position: relative; z-index: 1; font-size: 14px !important; }
.an-prio ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: prio; }
.an-prio li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; }
.an-prio li p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.an-prio li .pill { justify-self: start; }
.an-acts { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; font-size: 13px; font-weight: 700; }
.an-cta { border: 1.5px solid color-mix(in srgb, var(--brand) 35%, var(--border)); background: linear-gradient(150deg, var(--brand-soft), var(--surface)); display: flex; gap: 18px;
  align-items: center; justify-content: space-between; flex-wrap: wrap; }
.an-cta > div:first-child { flex: 1 1 380px; }
.an-cta p { margin: 6px 0 0; }
.an-plat { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--brand-dark); font-size: 14px; }
.an-cta-b { display: flex; gap: 8px; flex-wrap: wrap; }
.an-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.an-two > .t-card { margin-bottom: 16px; }
.an-serp { max-width: none; padding: 14px 16px; }
.an-facts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.an-facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
.an-facts span { color: var(--muted); }
.an-facts b { overflow-wrap: anywhere; font-weight: 600; }
.an-tech { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 14px; }
.an-tech dt { color: var(--muted); font-weight: 700; padding-top: 3px; }
.an-tech dd { margin: 0; }
.an-catsec h3 { display: flex; gap: 8px; align-items: center; margin: 0; }
.an-catsec { scroll-margin-top: 96px; }
.an-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -12px rgba(16,35,43,.25);
  transition: transform .25s ease; }
.an-sticky.off { transform: translateY(110%); }
.an-sticky-in { display: flex; gap: 10px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.an-sticky-in > span { flex: 1; font-weight: 700; font-size: 14px; }
.an-sticky-x { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.an-cats, .an-layer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.an-layer { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 22px; }
.an-cat { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.an-cat h3 { font-size: 16px; margin: 12px 0 6px; }
.an-cat p { margin: 0; color: var(--muted); font-size: 14px; }
.an-step-list { margin: 0 0 24px; padding-inline-start: 22px; display: grid; gap: 14px; }
.an-step-list b { font-size: 16px; }
.an-step-list p { margin: 4px 0 0; color: var(--muted); }
.an-legend { display: flex; gap: 8px; flex-wrap: wrap; font-weight: 800; font-size: 13px; }
.an-legend span { padding: 6px 12px; border-radius: 999px; }
.an-legend .ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.an-legend .warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.an-legend .bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 11%, transparent); }
.an-roi-line { font-weight: 700; margin: 14px 0 4px; }
.ai-text { max-height: 520px; overflow: auto; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; }
.ai-text p { margin: 0 0 8px; }
.ai-text .ai-title { font-weight: 800; font-size: 14px; }
.ai-text .ai-h { font-weight: 800; color: var(--heading); margin-top: 12px; }
.ai-text .ai-li { padding-inline-start: 12px; }
.ai-links { margin: 0; padding-inline-start: 26px; font-size: 13px; display: grid; gap: 4px; max-height: 360px; overflow: auto; }
.ai-links small { overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .an-catgrid, .an-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-two, .an-layer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .an-prio li { grid-template-columns: minmax(0, 1fr); }
  .an-catgrid, .an-cats { grid-template-columns: minmax(0, 1fr); }
  .an-tech, .an-facts li { grid-template-columns: minmax(0, 1fr); }
  .an-sticky-in > span { font-size: 13px; }
  .an-sticky-in .btn.ghost { display: none; }
}
@media print {
  .lp-nav, .lp-footer, .tool-head, .tool-form, .an-tools, .an-sticky, .an-cta, .t-cta, .an-what, .an-steps, .an-member, #fiyat, .tool-guide, .tool-faq,
  .lp-section.alt:not(.an-steps), #basla, .announce { display: none !important; }
  .tool-results { margin: 0; }
  .t-card { break-inside: avoid; box-shadow: none; }
  body { background: #fff; }
}

/* Rank checker, keyword volume and traffic estimate (public/js/seo-tools-extra.js) */
.t-top { margin: 0 0 4px; padding-inline-start: 18px; font-size: 13px; color: var(--muted); }
.t-spark { color: var(--brand); display: block; }
.t-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.t-bars li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: 13px; }
.t-bars i { display: block; height: 10px; border-radius: 99px; background: var(--brand); min-width: 2px; }
.t-bars b { text-align: end; font-variant-numeric: tabular-nums; }
