/* ==========================================================================
   Scoped SEO Tools hub. Built on the site tokens in style.css.
   ========================================================================== */

[hidden] { display: none !important; }
section.tight { padding: 28px 0; }
/* ---------- hub ---------- */
.tools-hero { padding: 56px 0 8px; text-align: center; }
.tools-hero .lead { max-width: 680px; margin: 18px auto 0; }
.tools-hero .eyebrow { margin-bottom: 16px; }
.tools-search { position: relative; max-width: 560px; margin: 32px auto 0; }
.tools-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.tools-search input { width: 100%; min-height: 54px; padding: 0 20px 0 50px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 1rem var(--font-ui); box-shadow: var(--shadow-float); }
.tools-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); }
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px auto 0; max-width: 820px; }
.t-chip { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font: 600 .875rem/1 var(--font-ui); cursor: pointer; transition: all .15s; }
.t-chip:hover { border-color: var(--blue); color: var(--blue); }
.t-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (prefers-color-scheme: dark) { .t-chip[aria-pressed="true"] { background: #4A64FF; border-color: #4A64FF; } }
.t-chip .n { opacity: .7; font-weight: 500; margin-left: 4px; }

.tools-section { padding: 40px 0 8px; }
.tools-group { margin-bottom: 44px; }
.tools-group > header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tools-group > header .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.tools-group > header .ic svg { width: 20px; height: 20px; }
.tools-group > header h2 { font-size: 1.375rem; letter-spacing: -0.01em; }
.tools-group > header p { margin: 0; font-size: .9375rem; color: var(--ink-3); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.tool-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink-2); transition: transform .18s ease-out, border-color .18s, box-shadow .18s; }
.tool-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--blue) 50%, var(--line)); box-shadow: var(--shadow-float); text-decoration: none; }
.tool-card h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.005em; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tool-card h3 svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; transition: transform .18s, color .18s; }
.tool-card:hover h3 svg { transform: translateX(3px); color: var(--blue); }
.tool-card p { margin: 0; font-size: .9063rem; line-height: 1.55; flex: 1; }
.tool-card .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.t-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); line-height: 1.4; }
.t-tag.browser { background: var(--green-tint); color: var(--green); }
.t-tag.url { background: var(--blue-tint); color: var(--blue); }
.t-tag.ext { background: var(--orange-tint); color: var(--amber); }
.tools-empty { text-align: center; padding: 40px 0; color: var(--ink-3); }

.fixmap { margin-top: 24px; }
.fixmap .table-wrap td:first-child { white-space: nowrap; color: var(--ink); font-weight: 600; }
.fixmap td a { margin-right: 10px; white-space: nowrap; }

.tools-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .tools-why { grid-template-columns: 1fr; } }
.tools-why > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.tools-why h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.tools-why p { margin: 0; font-size: .9375rem; }

/* ---------- tool page ---------- */
.tool-head { padding: 40px 0 20px; }
.tool-head h1 { max-width: 860px; }
.tool-head .lead { max-width: 720px; margin-top: 14px; }
.tool-head .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ext-banner { display: none; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--orange-tint); color: var(--ink); font-size: .9375rem; border: 1px solid color-mix(in srgb, var(--orange) 35%, var(--line)); }
.ext-banner.show { display: block; }

.t-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-float); }
@media (max-width: 560px) { .t-shell { padding: 18px; border-radius: 18px; } }
.t-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.t-row > .grow { flex: 1 1 280px; min-width: 0; }
.t-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t-field > label, .t-label { font-size: .8125rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.t-field .hint { font-size: .8125rem; color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.t-input, .t-select, .t-textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--canvas); color: var(--ink); font: 500 .9688rem/1.4 var(--font-ui);
}
.t-textarea { min-height: 160px; resize: vertical; font-family: var(--font-mono); font-size: .8438rem; line-height: 1.6; }
.t-textarea.prose-font { font-family: var(--font-ui); font-size: 1rem; line-height: 1.65; }
.t-input:focus, .t-select:focus, .t-textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 20%, transparent); }
.t-input::placeholder, .t-textarea::placeholder { color: var(--ink-3); font-weight: 400; }
.t-range { width: 100%; accent-color: var(--blue); }
.t-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.t-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.t-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.t-sep { height: 1px; background: var(--line); margin: 22px 0; border: 0; }

.t-drop { border: 2px dashed color-mix(in srgb, var(--blue) 40%, var(--line)); border-radius: var(--r-md); background: color-mix(in srgb, var(--blue-tint) 55%, var(--surface)); padding: 40px 20px; text-align: center; cursor: pointer; transition: all .15s; }
.t-drop:hover, .t-drop.over { border-color: var(--blue); background: var(--blue-tint); }
.t-drop:focus-visible { outline-offset: 4px; }
.t-drop svg { width: 36px; height: 36px; margin: 0 auto 10px; color: var(--blue); }
.t-drop strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.t-drop span { font-size: .9063rem; color: var(--ink-3); }
.t-drop input { display: none; }

.t-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; padding: 18px; border-radius: var(--r-md); background: var(--canvas); border: 1px solid var(--line); }
.t-opts .val { float: right; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }

.t-files { margin-top: 20px; display: grid; gap: 10px; }
.t-file { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--canvas); }
.t-file .thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: repeating-conic-gradient(var(--line) 0% 25%, transparent 0% 50%) 0 0 / 12px 12px; }
.t-file .name { color: var(--ink); font-weight: 600; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-file .sizes { font-size: .8438rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.t-file .sizes b { color: var(--ink); font-variant-numeric: tabular-nums; }
.t-file .acts { display: flex; gap: 8px; align-items: center; }
.t-save { font-weight: 800; font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--green-tint); color: var(--green); }
.t-save.bad { background: var(--amber-tint); color: var(--amber); }
@media (max-width: 560px) { .t-file { grid-template-columns: 44px 1fr; } .t-file .thumb { width: 44px; height: 44px; } .t-file .acts { grid-column: 1 / -1; } }
.t-total { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--green-tint); color: var(--ink); font-weight: 600; display: none; }
.t-total.show { display: block; }

.t-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--blue) 25%, transparent); border-top-color: var(--blue); animation: tspin .7s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes tspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .t-spin { animation-duration: 2s; } }
.t-loading { display: flex; align-items: center; gap: 12px; padding: 24px 4px; color: var(--ink-2); }

.t-err { margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: var(--red-tint); color: var(--ink); border: 1px solid color-mix(in srgb, var(--red) 40%, var(--line)); }
.t-info { margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: var(--blue-tint); color: var(--ink); border: 1px solid color-mix(in srgb, var(--blue) 30%, var(--line)); font-size: .9375rem; }
.t-warn { margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: var(--amber-tint); color: var(--ink); border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--line)); font-size: .9375rem; }
.t-info p:last-child, .t-warn p:last-child, .t-err p:last-child { margin-bottom: 0; }

/* results */
.t-out { margin-top: 24px; }
.t-out[hidden] { display: none; }
.t-verdict { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--canvas); }
.t-verdict .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; }
.t-verdict .dot svg { width: 22px; height: 22px; }
.t-verdict.ok .dot { background: var(--green-tint); color: var(--green); }
.t-verdict.warn .dot { background: var(--amber-tint); color: var(--amber); }
.t-verdict.bad .dot { background: var(--red-tint); color: var(--red); }
.t-verdict.info .dot { background: var(--blue-tint); color: var(--blue); }
.t-verdict h2, .t-verdict h3 { font-size: 1.125rem; margin: 0; }
.t-verdict p { margin: 2px 0 0; font-size: .9063rem; }
.t-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.t-stat { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--canvas); }
.t-stat b { display: block; font-size: 1.625rem; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.t-stat span { font-size: .8125rem; color: var(--ink-3); font-weight: 600; }
.t-cards { display: grid; gap: 12px; margin-top: 16px; }
.t-card { border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); overflow: hidden; }
.t-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.t-card > header h2, .t-card > header h3 { font-size: .9688rem; margin: 0; letter-spacing: 0; }
.t-card > div, .t-card > ul, .t-card > table { padding: 14px 16px; }
.t-card > table { padding: 0; }
.t-card ul { margin: 0; list-style: none; display: grid; gap: 8px; }
.t-card ul li { font-size: .9375rem; display: flex; gap: 10px; align-items: flex-start; }
.t-pill { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; line-height: 1.4; white-space: nowrap; letter-spacing: .01em; }
.t-pill.ok { background: var(--green-tint); color: var(--green); }
.t-pill.warn { background: var(--amber-tint); color: var(--amber); }
.t-pill.bad { background: var(--red-tint); color: var(--red); }
.t-pill.info { background: var(--blue-tint); color: var(--blue); }
.t-pill.mute { background: var(--surface-2); color: var(--ink-3); }
.t-kv { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 8px 16px; margin: 0; font-size: .9375rem; }
.t-kv dt { color: var(--ink-3); font-weight: 600; }
.t-kv dd { margin: 0; color: var(--ink); word-break: break-word; min-width: 0; }
@media (max-width: 560px) { .t-kv { grid-template-columns: 1fr; gap: 2px; } .t-kv dd { margin-bottom: 8px; } }
.t-mono { font-family: var(--font-mono); font-size: .8438rem; word-break: break-all; }
.t-table { width: 100%; font-size: .9063rem; }
.t-table th, .t-table td { padding: 10px 14px; }
.t-scroll { overflow-x: auto; }
.t-chain { display: grid; gap: 0; margin-top: 16px; }
.t-hop { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); background: var(--canvas); }
.t-hop:first-child { border-radius: 14px 14px 0 0; } .t-hop:last-child { border-radius: 0 0 14px 14px; } .t-hop:only-child { border-radius: 14px; }
.t-hop + .t-hop { border-top: 0; }
.t-hop .u { min-width: 0; word-break: break-all; font-family: var(--font-mono); font-size: .8438rem; color: var(--ink); }
.t-hop .ms { font-size: .8125rem; color: var(--ink-3); }

.t-code { position: relative; margin-top: 12px; }
.t-code pre { margin: 0; padding: 16px 18px; padding-right: 90px; border-radius: 14px; background: #0E1226; color: #E6E9F5; font-size: .8438rem; line-height: 1.65; overflow: auto; max-height: 460px; white-space: pre; tab-size: 2; }
@media (prefers-color-scheme: dark) { .t-code pre { background: #070913; border: 1px solid var(--line); } }
.t-code .copy { position: absolute; top: 10px; right: 10px; }
.t-code-title { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-weight: 700; color: var(--ink); font-size: .9375rem; }

.t-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .t-split { grid-template-columns: 1fr; } }
.t-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; border-radius: 12px; background: var(--surface-2); width: fit-content; max-width: 100%; margin-bottom: 18px; }
.t-tab { appearance: none; border: 0; background: transparent; color: var(--ink-2); padding: 8px 16px; border-radius: 9px; font: 600 .875rem/1.2 var(--font-ui); cursor: pointer; }
.t-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(12,16,48,.12); }
.t-tab:hover { color: var(--blue); }

.t-tree { font-family: var(--font-mono); font-size: .8438rem; display: grid; gap: 4px; }
.t-tree .h { display: flex; gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); color: var(--ink); }
.t-tree .h .tg { font-weight: 800; color: var(--blue); min-width: 28px; }
.t-tree .h.skip { background: var(--amber-tint); }

/* preview cards (SERP, social) */
.serp { background: #fff; color: #202124; border-radius: 14px; padding: 18px 20px; max-width: 640px; border: 1px solid #dadce0; font-family: Arial, Roboto, sans-serif; }
.serp.mobile { max-width: 380px; }
.serp .site { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; color: #202124; }
.serp .fav { width: 28px; height: 28px; border-radius: 50%; background: #f1f3f4; display: grid; place-items: center; flex: none; overflow: hidden; }
.serp .fav img { width: 18px; height: 18px; }
.serp .site small { display: block; color: #4d5156; font-size: 12px; }
.serp .ttl { font-size: 20px; line-height: 1.3; color: #1a0dab; margin: 10px 0 3px; overflow-wrap: anywhere; }
.serp.mobile .ttl { font-size: 18px; }
.serp .dsc { font-size: 14px; line-height: 1.58; color: #4d5156; overflow-wrap: anywhere; }
.share { max-width: 520px; border: 1px solid #cfd9de; border-radius: 16px; overflow: hidden; background: #fff; color: #0f1419; font-family: -apple-system, Segoe UI, Roboto, sans-serif; }
.share .img { aspect-ratio: 1.91 / 1; background: #eff3f4 center / cover no-repeat; display: grid; place-items: center; color: #536471; font-size: .875rem; }
.share .body { padding: 10px 14px 12px; }
.share .dom { font-size: 13px; color: #536471; text-transform: lowercase; }
.share .t { font-size: 15px; font-weight: 700; line-height: 1.3; margin: 2px 0; overflow-wrap: anywhere; }
.share .d { font-size: 14px; color: #536471; line-height: 1.4; overflow-wrap: anywhere; }
.share.li { border-radius: 4px; }
.share.li .body { background: #eef3f8; }
.share.fb { border-radius: 0; border-color: #dadde1; }
.share.fb .body { background: #f2f3f5; border-top: 1px solid #dadde1; }
.share.fb .t { font-family: Helvetica, Arial, sans-serif; font-size: 16px; }
.meter { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.meter > i { display: block; height: 100%; border-radius: 999px; background: var(--green); transition: width .2s; }
.meter.warn > i { background: var(--amber); } .meter.bad > i { background: var(--red); }

/* guide / faq on tool pages */
.tool-guide { padding: 48px 0 8px; }
.tool-guide .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .tool-guide .cols { grid-template-columns: 1fr; gap: 24px; } }
.tool-guide h2 { font-size: 1.5rem; margin-bottom: 14px; letter-spacing: -0.015em; }
.tool-guide ol, .tool-guide ul { padding-left: 1.3em; margin: 0 0 1em; }
.tool-guide li { margin-bottom: .55em; }
.tool-guide li::marker { color: var(--blue); font-weight: 700; }
.tool-faq { padding: 32px 0 8px; }
.tool-faq h2 { font-size: 1.5rem; margin-bottom: 16px; }
.related { padding: 40px 0 0; }
.related h2 { font-size: 1.5rem; margin-bottom: 16px; }
.tool-cta { margin: 56px 0 8px; padding: 36px; border-radius: var(--r-xl); background: var(--stage); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.tool-cta h2 { color: #fff; font-size: 1.625rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.tool-cta p { margin: 0; color: rgba(255,255,255,.82); max-width: 560px; }
.tool-cta .cta-row { justify-content: flex-end; }
@media (max-width: 800px) { .tool-cta { grid-template-columns: 1fr; padding: 26px 22px; } .tool-cta .cta-row { justify-content: flex-start; } }

/* ---------- keyword pages: steps, sibling links, article ---------- */
.t-tag.free { background: var(--surface-2); color: var(--ink-2); }
.t-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; padding: 0; counter-reset: none; }
.t-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .9375rem; color: var(--ink); }
.t-steps li span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); font-size: .8125rem; font-weight: 800; }
@media (max-width: 560px) { .t-steps { gap: 6px; } .t-steps li { flex-direction: column; gap: 6px; padding: 10px 6px; text-align: center; font-size: .8125rem; line-height: 1.25; } }
.t-family { margin-top: 22px; }
.t-family h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.t-family ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.t-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: .875rem; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
a.t-pill:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.t-pill.cur { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (prefers-color-scheme: dark) { .t-pill.cur { background: #4A64FF; border-color: #4A64FF; } }
.t-family + .t-family { margin-top: 16px; }
.t-article { padding: 40px 0 8px; }
.t-article .prose { max-width: 820px; }
.t-article .prose h2 { font-size: 1.5rem; margin: 1.8em 0 .55em; }
.t-article .prose h2:first-of-type { margin-top: .2em; }
.t-article .byline { font-size: .875rem; color: var(--ink-3); margin: 0 0 1.2em; }
.t-article .prose table { min-width: 0; }
.t-article .prose td, .t-article .prose th { vertical-align: top; }

.t-optnote { grid-column: 1 / -1; margin: 0; font-size: .9375rem; color: var(--ink-3); }
.related .tool-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ---------- mobile hardening: nothing inside a tool may be wider than the screen ---------- */
.t-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .t-split { grid-template-columns: minmax(0, 1fr); } }
.t-split > *, .t-shell > *, .t-out > *, .t-row > * { min-width: 0; }
.t-shell pre, .t-out pre { max-width: 100%; overflow-x: auto; white-space: pre; }
.t-shell input, .t-shell select, .t-shell textarea { max-width: 100%; }
.t-shell img, .t-out img { max-width: 100%; }
@media (max-width: 560px) {
  .t-row { flex-direction: column; align-items: stretch; }
  .t-row > .grow { flex: 0 0 auto; }
  .t-row .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) { .tool-head { padding-top: 28px; } .tool-head h1 { font-size: clamp(1.75rem, 8vw, 2.1rem); line-height: 1.12; } .tool-head .lead { font-size: 1.0625rem; } }
.t-out, .t-shell .t-find, .t-shell .t-card { overflow-wrap: anywhere; }
.t-out pre { overflow-wrap: normal; }

/* result tables: stacked cards on phones */
@media (max-width: 640px) {
  .t-card .table-wrap table.t-table { min-width: 0; }
  .t-table:has(thead), .t-table:has(thead) tbody, .t-table:has(thead) tr, .t-table:has(thead) td { display: block; width: 100%; }
  .t-table:has(thead) thead { display: none; }
  .t-table:has(thead) tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .t-table:has(thead) tr:last-child { border-bottom: 0; }
  .t-table:has(thead) td { padding: 2px 0 !important; border: 0 !important; }
  .t-table:has(thead) td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-top: 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
  .t-scroll { overflow-x: visible; }
}

/* Meta title and description optimizers */
.o-block { margin-top: 28px; }
.o-h { font-size: 1.375rem; margin: 0 0 12px; letter-spacing: -0.01em; }
.o-h3 { font-size: 1.0625rem; margin: 0 0 10px; }
.o-sub { margin: 0 0 14px; color: var(--ink-2); font-size: .9375rem; max-width: 70ch; }
.o-best { padding: 18px; border-radius: 16px; border: 2px solid var(--green); background: var(--green-tint); }
.o-best .t-input, .o-best .t-textarea { margin-top: 6px; background: var(--canvas); font-weight: 600; }
.o-stats { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 12px; font-size: .9063rem; color: var(--ink-2); }
.o-was { color: var(--ink-3); }
.o-changes { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .9688rem; color: var(--ink); }
.o-alts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o-alts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.o-alt-t { font-weight: 600; overflow-wrap: anywhere; grid-column: 1; }
.o-alt-m { grid-column: 1; font-size: .8125rem; color: var(--ink-3); }
.o-alts .btn { grid-column: 2; grid-row: 1 / span 2; }
.o-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o-list li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.o-list .t-pill { flex: none; min-width: 58px; justify-content: center; }
.o-list .o-body b { font-size: .9375rem; color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .o-alts li { grid-template-columns: minmax(0, 1fr); } .o-alts .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; } .o-list li { align-items: flex-start; } }
