/* Free tools: the tool styles of the Web Tools script, scoped under .ft and in the blog's colours.
   Built by make_free_tools.py; edit free_tools_layout.css for the page layout. */
.ft {
  --brand: #0d9488; --accent: #0d9488; --on-accent: #ffffff;
  --brand-ink: #0f766e; --brand-soft: #f0fdfa; --brand-line: rgba(13, 148, 136, .32);
  --bg: #f6fbfc; --surface: #ffffff; --surface-2: #f6fbfc; --line: #e0ebef;
  --ink: #0b2029; --muted: #4f6b78; --ok: #12804c; --bad: #c62828; --warn: #a35f00;
  --shadow: 0 1px 3px rgba(11, 32, 41, .05), 0 8px 24px -14px rgba(13, 148, 136, .2);
  --radius: 14px; --radius-lg: 18px;
  --font: 'Inter', "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --c-text: #7c3aed; --c-developer: #0b8f6a; --c-json: #a61e9e; --c-image: #c2410c;
  --c-seo: #9a4d00; --c-network: #0b7285;
  color: var(--ink);
}
.ft .icon { width: 1.2em; height: 1.2em; flex: none; }
.ft .muted { color: var(--muted); }
.ft .mono, .ft code { font-family: var(--mono); font-size: .92em; }
.ft .center { text-align: center; }
.ft .num { text-align: right; font-variant-numeric: tabular-nums; }
.ft [hidden] { display: none !important; }
.ft .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ft .tool-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.ft .privacy-note { display: flex; align-items: center; gap: 8px; margin: 18px -24px -24px; padding: 13px 24px; border-top: 1px solid var(--line);
  background: var(--surface-2); color: var(--muted); font-size: .85rem; font-weight: 600; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.ft .privacy-note .icon { color: var(--ok); }
@media (max-width: 640px) {
  .ft .tool-box { padding: 16px; border-radius: var(--radius); }
  .ft .privacy-note { margin: 16px -16px -16px; padding: 12px 16px; border-radius: 0 0 var(--radius) var(--radius); }
}
.ft .c-text {--c: var(--c-text);}
.ft .c-developer {--c: var(--c-developer);}
.ft .c-json {--c: var(--c-json);}
.ft .c-image {--c: var(--c-image);}
.ft .c-pdf {--c: var(--c-pdf);}
.ft .c-calculator {--c: var(--c-calculator);}
.ft .c-converter {--c: var(--c-converter);}
.ft .c-seo {--c: var(--c-seo);}
.ft .c-network {--c: var(--c-network);}
.ft .c-social {--c: var(--c-social);}
.ft .tile {--tc: var(--c, var(--accent)); background: color-mix(in srgb, var(--tc) 13%, var(--surface)); color: var(--tc);}
.ft .field {display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 0;}
.ft .field label, .ft .field-head label {font-weight: 700; font-size: .9rem;}
.ft .field-head {display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;}
.ft .field-actions {display: flex; gap: 6px; flex-wrap: wrap;}
.ft input[type="text"], .ft input[type="number"], .ft input[type="email"], .ft input[type="password"], .ft input[type="url"], .ft input[type="date"], .ft input[type="datetime-local"], .ft input[type="search"], .ft input:not([type]), .ft select, .ft textarea {width: 100%; font: 500 .98rem var(--font); color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; outline: none; transition: border-color .15s, background .15s, box-shadow .15s;}
.ft textarea {resize: vertical; min-height: 90px; line-height: 1.55; font-family: var(--mono); font-size: .92rem;}
.ft .tool-box textarea {font-family: var(--font); font-size: 1rem;}
.ft .tool-box textarea.mono, .ft textarea.mono, .ft .tool-box textarea[readonly].mono {font-family: var(--mono); font-size: .88rem;}
.ft input:focus, .ft select:focus, .ft textarea:focus {border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-soft);}
.ft input[type="color"] {width: 64px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 4px;}
.ft input[type="range"] {width: 100%; accent-color: var(--accent);}
.ft .input-wrap {position: relative; display: flex; align-items: center;}
.ft .suffix {position: absolute; right: 12px; color: var(--muted); font-weight: 600; pointer-events: none;}
.ft .input-sm {width: 90px !important; padding: 6px 8px !important;}
.ft .row {display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end;}
.ft .row > .field {min-width: 160px;}
.ft .check {display: inline-flex; align-items: center; gap: 9px; font-weight: 600; cursor: pointer; margin: 4px 16px 12px 0;}
.ft .check input {width: 18px; height: 18px; accent-color: var(--accent);}
.ft .checks-row {display: flex; flex-wrap: wrap; gap: 0 6px; margin: -4px 0 6px;}
.ft .actions {display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px;}
.ft .actions.center {justify-content: center;}
.ft .btn {display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 12px; border: 1px solid transparent; font: 700 .95rem var(--font); cursor: pointer; white-space: nowrap;
  text-decoration: none !important; transition: background .15s, transform .05s, box-shadow .15s, border-color .15s;}
.ft .btn .icon {width: 18px; height: 18px;}
.ft .btn:active {transform: translateY(1px);}
.ft .btn-primary {background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 20px -12px var(--accent);}
.ft .btn-primary:hover {background: color-mix(in srgb, var(--accent) 86%, #000);}
.ft .btn-ghost, .ft .btn-secondary {background: var(--surface); border-color: var(--line); color: var(--ink);}
.ft .btn-ghost:hover, .ft .btn-secondary:hover {background: var(--surface-2); border-color: var(--brand-line);}
.ft .btn-sm {height: 36px; padding: 0 13px; font-size: .85rem; border-radius: 10px;}
.ft .btn-sm .icon {width: 16px; height: 16px;}
.ft .btn-lg {height: 52px; padding: 0 26px; font-size: 1.02rem;}
.ft .btn-block {width: 100%;}
.ft .btn[disabled] {opacity: .55; cursor: not-allowed;}
.ft .btn.fav-btn.on .icon {fill: #f5a524; color: #f5a524;}
.ft .dropzone {display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 16px; text-align: center; cursor: pointer;
  border: 2px dashed var(--brand-line); border-radius: var(--radius); background: var(--brand-soft); color: var(--muted); margin-bottom: 14px;}
.ft .dropzone strong {color: var(--ink); font-size: 1.05rem;}
.ft .dropzone .dz-icon {width: 34px; height: 34px; color: var(--brand-ink);}
.ft .dropzone.drag {border-color: var(--accent); background: color-mix(in srgb, var(--brand) 18%, var(--surface));}
.ft .dropzone input {display: none;}
.ft .stats {display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0; margin: 6px 0 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2);}
.ft .stat {padding: 16px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); margin-right: -1px;}
.ft .stat:first-child .stat-value {color: var(--brand-ink);}
.ft .stat-value {font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2;}
.ft .stat-label {color: var(--muted); font-size: .8rem; font-weight: 600;}
.ft .result {margin-top: 6px;}
.ft .result:empty {display: none;}
.ft .result-card {background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px;}
.ft .result-card > strong:first-child {display: block; margin-bottom: 6px;}
.ft .big-result {font-size: 2rem; font-weight: 800; letter-spacing: -.02em;}
.ft .file-list {display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none;}
.ft .file-item {display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;}
.ft .file-item img {width: 48px; height: 48px; object-fit: cover; border-radius: 8px;}
.ft .file-item .fi-name {flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600;}
.ft .file-item .fi-meta {color: var(--muted); font-size: .85rem; white-space: nowrap;}
.ft .thumbs {display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px;}
.ft .thumbs figure {margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center;}
.ft .thumbs figcaption {font-size: .85rem; color: var(--muted); margin: 6px 0;}
.ft .table-wrap {overflow-x: auto;}
.ft .table {width: 100%; border-collapse: collapse; font-size: .92rem;}
.ft .table th, .ft .table td {padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle;}
.ft .table th {color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;}
.ft .table td.ok, .ft .ok-text {color: var(--ok); font-weight: 700;}
.ft .table td.bad, .ft .bad-text {color: var(--bad); font-weight: 700;}
.ft .table td.warn, .ft .warn-text {color: var(--warn); font-weight: 700;}
.ft .table .mono, .ft .table code {word-break: break-all;}
.ft .row-off {opacity: .5;}
.ft .tag {display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-ink); font-size: .75rem; font-weight: 700;}
.ft .tag-ok {background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok);}
.ft .tag-bad {background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad);}
.ft .tag-warn {background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn);}
.ft .pill-ok {color: var(--ok);}
.ft .pill-bad {color: var(--bad);}
.ft .strength {height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 8px 0 4px;}
.ft .strength span {display: block; height: 100%; width: 0; background: var(--bad); transition: width .2s, background .2s;}
.ft .swatch {width: 100%; height: 120px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 14px;}
.ft .serp {background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-family: Arial, sans-serif; margin-bottom: 14px;}
.ft .serp .s-url {color: #1a7f37; font-size: .85rem;}
.ft .serp .s-title {color: #1a0dab; font-size: 1.2rem; line-height: 1.3; margin: 2px 0;}
.ft .serp .s-desc {color: var(--muted); font-size: .9rem;}
.ft .code-out {margin: 0; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; font: .86rem/1.6 var(--mono); white-space: pre; overflow: auto; max-height: 560px; color: var(--ink);}
.ft .seg {display: inline-flex; flex-wrap: wrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; margin-bottom: 14px;}
.ft .seg button {border: 0; background: none; padding: 7px 14px; border-radius: 9px; font: 600 .88rem var(--font); color: var(--muted); cursor: pointer;}
.ft .seg button.on {background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12);}
.ft .jtree {font: .88rem/1.7 var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; overflow: auto; max-height: 600px;}
.ft .jtree ul {list-style: none; margin: 0; padding-left: 20px; border-left: 1px dashed var(--line);}
.ft .jtree > ul {padding-left: 0; border-left: 0;}
.ft .jtree li {position: relative;}
.ft .jtree .jt-row {display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border-radius: 6px; padding: 0 4px;}
.ft .jtree .jt-row:hover {background: var(--surface);}
.ft .jtree .jt-toggle {border: 0; background: none; color: var(--muted); cursor: pointer; width: 18px; padding: 0; font: inherit;}
.ft .jtree .jt-key {color: var(--c-json); font-weight: 600;}
.ft .jtree .jt-str {color: var(--c-developer);}
.ft .jtree .jt-num {color: var(--c-calculator);}
.ft .jtree .jt-bool {color: var(--c-image);}
.ft .jtree .jt-null {color: var(--muted); font-style: italic;}
.ft .jtree .jt-meta {color: var(--muted); font-size: .8rem;}
.ft .jtree li.closed > ul {display: none;}
.ft .jtree .jt-path {opacity: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .75rem; padding: 0 4px;}
.ft .jtree .jt-row:hover .jt-path {opacity: 1;}
.ft .jtree mark {background: color-mix(in srgb, #f5a524 40%, transparent); color: inherit; border-radius: 3px;}
.ft .je-row {display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 3px 0;}
.ft .je-row input, .ft .je-row select {width: auto; padding: 5px 8px; font-size: .86rem; border-radius: 8px;}
.ft .je-row input.je-key {width: 150px; font-family: var(--mono);}
.ft .je-row input.je-val {flex: 1; min-width: 140px; font-family: var(--mono);}
.ft .je-row .je-btn {width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; display: grid; place-items: center;}
.ft .je-row .je-btn:hover {color: var(--ink); border-color: var(--brand-line);}
.ft .je-row .je-btn .icon {width: 15px; height: 15px;}
.ft .je-kids {margin-left: 18px; padding-left: 12px; border-left: 1px dashed var(--line);}
.ft .diff-add {color: var(--ok);}
.ft .diff-del {color: var(--bad);}
.ft .diff-chg {color: var(--warn);}
.ft .score-wrap {display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 16px;}
.ft .score-ring {--p: 0; --sc: var(--ok); width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--sc) calc(var(--p) * 1%), var(--line) 0);}
.ft .score-ring b {font-size: 2rem; font-weight: 800; letter-spacing: -.03em;}
.ft .score-sum {flex: 1; min-width: 220px;}
.ft .score-sum h3 {margin: 0 0 6px; font-size: 1.2rem;}
.ft .score-counts {display: flex; gap: 8px; flex-wrap: wrap;}
.ft .checks {list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;}
.ft .checks li {display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);}
.ft .checks li .ck {flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem;}
.ft .checks li.pass .ck {background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok);}
.ft .checks li.warn .ck {background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn);}
.ft .checks li.fail .ck {background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad);}
.ft .checks li.info .ck {background: var(--brand-soft); color: var(--brand-ink);}
.ft .checks li strong {display: block; font-size: .95rem;}
.ft .checks li span.d {color: var(--muted); font-size: .88rem; word-break: break-word;}
.ft .report-sec {margin-top: 22px;}
.ft .report-sec > h3 {display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 1.05rem;}
.ft .progress {height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 8px 0 14px;}
.ft .progress span {display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s;}
.ft .og-card {max-width: 520px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); margin-bottom: 14px;}
.ft .og-card .og-img {aspect-ratio: 1.91 / 1; background: var(--surface-2) center / cover no-repeat; display: grid; place-items: center; color: var(--muted); font-size: .85rem;}
.ft .og-card .og-body {padding: 12px 14px;}
.ft .og-card .og-host {color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em;}
.ft .og-card .og-title {font-weight: 700; margin: 2px 0; line-height: 1.3;}
.ft .og-card .og-desc {color: var(--muted); font-size: .88rem;}
.ft .sr-only {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;}
.ft .url-bar {display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 8px 0 18px;
  border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface-2); transition: border-color .15s, box-shadow .15s, background .15s;}
.ft .url-bar:focus-within {border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-soft);}
.ft .url-bar .ub-icon {width: 20px; height: 20px; color: var(--muted);}
.ft .url-bar input, .ft .url-bar input:focus {flex: 1; min-width: 0; height: 100%; border: 0; background: none; box-shadow: none; padding: 0; font-size: 1.05rem;}
.ft .url-bar .btn {height: 46px; padding: 0 20px;}
.ft .ub-hint {margin: 10px 2px 0; color: var(--muted); font-size: .86rem;}
.ft .ub-opts {margin: 12px 0 0; align-items: center;}
.ft .fetch-card {margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow);}
.ft .fetch-head {display: flex; align-items: center; gap: 12px; margin-bottom: 14px;}
.ft .fetch-head strong {flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.ft .fetch-pct {font-weight: 800; font-variant-numeric: tabular-nums; color: var(--brand-ink); font-size: 1.1rem;}
.ft .spinner {width: 22px; height: 22px; flex: none; border-radius: 50%; border: 3px solid var(--brand-soft); border-top-color: var(--accent); animation: wt-spin .8s linear infinite;}
@keyframes wt-spin{ to { transform: rotate(360deg); } }
.ft .fetch-bar {position: relative; height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden;}
.ft .fetch-bar span {display: block; height: 100%; width: 0; border-radius: inherit; transition: width .25s ease;
  background-color: var(--accent);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .22) 0 10px, transparent 10px 20px);
  background-size: 28px 28px; animation: wt-stripes .9s linear infinite;}
@keyframes wt-stripes{ to { background-position: 28px 0; } }
.ft .fetch-steps {list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px;}
.ft .fetch-steps li {display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem;}
.ft .fetch-steps li::before {content: ""; box-sizing: border-box; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 11px; font-weight: 800;}
.ft .fetch-steps li.on {color: var(--ink); font-weight: 700;}
.ft .fetch-steps li.on::before {border-color: var(--accent); border-right-color: transparent; animation: wt-spin .8s linear infinite;}
.ft .fetch-steps li.done {color: var(--ink);}
.ft .fetch-steps li.done::before {content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff;}
.ft .sa-hero {display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; margin-top: 18px; padding: 24px;
  border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, var(--brand-soft), var(--surface) 62%);}
.ft .sa-ring {--p: 0; --sc: var(--ok); width: 156px; height: 156px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(closest-side, var(--surface) 80%, transparent 81% 100%), conic-gradient(var(--sc) calc(var(--p) * 1%), var(--line) 0);}
.ft .sa-ring div {text-align: center;}
.ft .sa-ring b {display: block; font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;}
.ft .sa-ring small {font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em;}
.ft .sa-grade {display: inline-block; margin-bottom: 8px; padding: 3px 11px; border-radius: 99px; font-weight: 800; font-size: .78rem;}
.ft .sa-site {display: flex; align-items: center; gap: 10px; margin: 0 0 2px;}
.ft .sa-site .icon {width: 20px; height: 20px; color: var(--brand-ink);}
.ft .sa-site h3 {margin: 0; font-size: 1.35rem; word-break: break-all;}
.ft .sa-url {color: var(--muted); font-size: .85rem; word-break: break-all; margin: 0 0 14px;}
.ft .sa-stats {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;}
.ft .sa-stat {padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);}
.ft .sa-stat b {display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em;}
.ft .sa-stat span {font-size: .74rem; color: var(--muted); font-weight: 600;}
.ft .sa-cats {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px;}
.ft .sa-cat {display: flex; flex-direction: column; gap: 9px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, transform .15s;}
.ft .sa-cat:hover {border-color: var(--brand-line); transform: translateY(-1px);}
.ft .sa-cat-top {display: flex; align-items: center; gap: 10px;}
.ft .sa-cat-top strong {flex: 1; font-size: .9rem; line-height: 1.25;}
.ft .sa-cat-top b {font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums;}
.ft .sa-icon {width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink);}
.ft .sa-icon svg {width: 17px; height: 17px;}
.ft .sa-meter {height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden;}
.ft .sa-meter span {display: block; height: 100%; border-radius: inherit;}
.ft .sa-cat small {color: var(--muted); font-size: .78rem; font-weight: 600;}
.ft .sa-two {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px;}
.ft .sa-panel {border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 16px; min-width: 0;}
.ft .sa-panel h4 {display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);}
.ft .sa-panel .serp, .ft .sa-panel .og-card {margin: 0; max-width: none;}
.ft .sa-panel .checks li {background: var(--surface-2); border-color: transparent;}
.ft .sa-issues {margin-top: 16px;}
.ft .sa-sec {margin-top: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; scroll-margin-top: 90px;}
.ft .sa-sec > summary {display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 800;}
.ft .sa-sec > summary::-webkit-details-marker {display: none;}
.ft .sa-sec > summary .sa-counts {margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end;}
.ft .sa-sec > summary .chev {width: 18px; height: 18px; color: var(--muted); transition: transform .2s;}
.ft .sa-sec[open] > summary .chev {transform: rotate(90deg);}
.ft .sa-sec > .sa-body {padding: 0 14px 14px;}
.ft .sa-sec .checks li {background: var(--surface-2); border-color: transparent;}
.ft .sa-actions {display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;}
@media (max-width: 760px){
.ft .sa-hero {grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 18px;}
.ft .sa-site {justify-content: center;}
.ft .sa-stats, .ft .sa-cats {grid-template-columns: repeat(2, minmax(0, 1fr));}
.ft .sa-two {grid-template-columns: 1fr;}
.ft .url-bar {height: auto; flex-wrap: wrap; padding: 8px 8px 8px 14px;}
.ft .url-bar input {height: 44px;}
.ft .url-bar .btn {width: 100%;}
.ft .sa-sec > summary {flex-wrap: wrap;}
.ft .sa-sec > summary .sa-counts {width: 100%; margin-left: 0; padding-left: 30px; justify-content: flex-start;}
}
@media (max-width: 520px){
.ft .sa-cats {grid-template-columns: 1fr;}
.ft .sa-stats {grid-template-columns: repeat(2, minmax(0, 1fr));}
.ft .sa-ring {width: 136px; height: 136px;}
}
.ft .alert {display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-weight: 600;}
.ft .alert .icon {flex: none;}
.ft .alert-success {background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok);}
.ft .alert-error {background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad);}
.ft .alert-warn {background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn);}
.ft .hp {position: absolute; left: -9999px;}
.ft .form-card {margin-top: 20px;}
/* ---------- free tools: page layout inside the blog ---------- */
.ft-page { padding: 26px 0 64px; }   /* the blog's own white background */
.ft-wrap { max-width: 1040px; }
.ft-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.ft-crumbs a { color: var(--muted); font-weight: 600; }
.ft-crumbs a:hover { color: var(--brand-ink); }
.ft-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.ft-head .ft-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.ft-head .ft-icon .icon { width: 28px; height: 28px; }
.ft-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 0 0 6px; line-height: 1.15; }
.ft-head .lede { color: var(--muted); margin: 0; font-size: 1.04rem; line-height: 1.55; }
.ft-section { margin-top: 38px; }
.ft-section h2 { font-size: 1.45rem; margin: 0 0 14px; }
.ft-prose { max-width: 75ch; color: #31505f; line-height: 1.75; }
.ft-prose p { margin: 0 0 1em; }
.ft-prose a { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ft-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; counter-reset: step; }
.ft-steps li { counter-increment: step; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: #31505f; font-size: .95rem; line-height: 1.55; }
.ft-steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; margin-bottom: 10px;
  background: var(--accent); color: var(--on-accent); font-weight: 800; }
.ft-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.ft-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; font-weight: 700; color: var(--ink); }
.ft-faq summary::-webkit-details-marker { display: none; }
.ft-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.ft-faq details[open] summary::after { transform: rotate(45deg); }
.ft-faq details p { margin: 0; padding: 0 20px 18px; color: #4f6b78; line-height: 1.65; }
.ft-read { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--brand-soft); border: 1px solid var(--brand-line); margin-top: 18px; }
.ft-read span { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); flex: none; }
.ft-read a { color: var(--ink); font-weight: 700; }

/* tool cards: the blog's .card with a thumbnail from assets/thumbs (all tools page and "more tools") */
.ft-group { margin-top: 56px; }
.ft-group .sec-head { margin-bottom: 26px; }
.ft .ft-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ft .ft-cards .card { padding: 14px; border-radius: 20px; }
.ft .ft-cards .card:hover { transform: translateY(-4px); }
.ft .ft-cards .card .thumb { height: auto; aspect-ratio: 1200 / 630; border-radius: 14px; margin-bottom: 14px; }
.ft .ft-cards .card .kicker { font-size: .74rem; margin-bottom: 5px; }
.ft .ft-cards .card h3 { font-size: 1.02rem; margin-bottom: 7px; }
.ft .ft-cards .card p { font-size: .85rem; margin-bottom: 14px; }
.ft .ft-cards .card .foot { padding-top: 12px; }
.ft .ft-cards .read { font-size: .84rem; }
@media (max-width: 1100px) { .ft .ft-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .ft .ft-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 520px) { .ft .ft-cards { grid-template-columns: 1fr; } }

/* the copy / download message */
.ft-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #0b2029; color: #fff; padding: 10px 18px;
  border-radius: 999px; font-weight: 700; font-size: .9rem; opacity: 0; pointer-events: none; transition: .2s; z-index: 300; }
.ft-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .ft-head { align-items: flex-start; }
  .ft-head .ft-icon { width: 48px; height: 48px; border-radius: 14px; }
}
.ft-prose h3 { font-size: 1.12rem; margin: 1.6em 0 .4em; color: var(--ink); }
.ft-code { background: #0b2029; color: #d8e6ec; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: .86rem; line-height: 1.6; margin: 0 0 1em; }
.ft-code code { font-family: var(--mono); }
