/* Website audit look (from ToolForSEO Engine), scoped to .tfs; TakeNeed colours at the end.
   A group can change its own look in Tools Manager (Design / Custom CSS), e.g. .tfs-g-onpage{--tfs-accent:#0e7490}. */
.tfs{--tfs-accent:#4f46e5;--tfs-accent-2:#4338ca;--tfs-bg:#ffffff;--tfs-card:#f5f7fc;--tfs-soft:#eef1f8;--tfs-text:#111827;--tfs-muted:#5b6475;--tfs-border:#dfe3ee;
  --tfs-good:#047857;--tfs-good-bg:#e7f8f1;--tfs-warn:#b45309;--tfs-warn-bg:#fff4e0;--tfs-bad:#dc2626;--tfs-bad-bg:#fdecec;--tfs-code-bg:#0f172a;--tfs-code-text:#e2e8f0;
  max-width:1200px;margin:24px auto;color:var(--tfs-text);font-size:16px;line-height:1.55;box-sizing:border-box}
.tfs *,.tfs *::before,.tfs *::after{box-sizing:border-box}
.tfs [hidden]{display:none!important}
.tfs .tfs-card{background:var(--tfs-card);border:1px solid var(--tfs-border);border-radius:20px;padding:24px}
.tfs .tfs-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.tfs .tfs-title{margin:0;font-size:28px;line-height:1.2;font-weight:800;color:var(--tfs-text)}
.tfs .tfs-sub{margin:8px 0 0;color:var(--tfs-muted)}
.tfs .tfs-theme{flex:0 0 auto;width:52px;height:52px;border-radius:12px;border:1px solid var(--tfs-border);background:var(--tfs-bg);color:#f59e0b;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.tfs .tfs-theme svg{width:22px;height:22px}
html[data-tl-theme="dark"] .tfs .tfs-i-moon,html:not([data-tl-theme="dark"]) .tfs .tfs-i-sun{display:none}
.tfs .tfs-badges{display:flex;gap:8px;flex-wrap:wrap;margin:-6px 0 14px}
.tfs .tfs-badge{display:inline-block;padding:3px 12px;border-radius:99px;font-size:13px;font-weight:700;background:var(--tfs-soft);color:var(--tfs-muted)}
.tfs .tfs-badge-pro{background:#ede9fe;color:#5b21b6}
.tfs .tfs-usage{display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;padding:4px 12px;border-radius:99px;background:var(--tfs-soft);color:var(--tfs-muted);font-size:13px;font-weight:600}
.tfs .tfs-usage::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--tfs-good)}
.tfs .tfs-alert{margin:0 0 14px;padding:12px 16px;border-radius:12px;background:var(--tfs-bad-bg);color:var(--tfs-bad);font-weight:600}
.tfs .tfs-status{margin:0;padding:18px;border-radius:14px;background:var(--tfs-bg);border:1px dashed var(--tfs-border);color:var(--tfs-muted)}
.tfs .tfs-form{display:flex;flex-wrap:wrap;gap:14px;background:var(--tfs-bg);border:1px solid var(--tfs-border);border-radius:16px;padding:18px}
.tfs .tfs-field{display:block;flex:1 1 260px;margin:0}
.tfs .tfs-full{flex-basis:100%}
.tfs .tfs-field>span{display:block;font-weight:700;font-size:14px;margin-bottom:6px;color:var(--tfs-text)}
.tfs .tfs-field input[type=text],.tfs .tfs-field input[type=url],.tfs .tfs-field input[type=number],.tfs .tfs-field input[type=date],.tfs .tfs-field input[type=file],.tfs .tfs-field textarea,.tfs .tfs-field select{
  width:100%;padding:12px 14px;border:1px solid var(--tfs-border);border-radius:12px;font:inherit;font-size:16px;background:var(--tfs-bg);color:var(--tfs-text)}
/* Same height for every one-line field; themes (Astra) can't squash the text in a select any more */
.tfs .tfs-field input[type=text],.tfs .tfs-field input[type=url],.tfs .tfs-field input[type=number],.tfs .tfs-field input[type=date],.tfs .tfs-field select{height:52px;min-height:52px;padding:0 14px;line-height:normal;margin:0;box-shadow:none}
.tfs .tfs-field select{-webkit-appearance:none;appearance:none;padding-right:44px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:18px}
.tfs .tfs-field input[type=file]{height:auto;padding:12px 14px}
.tfs .tfs-field textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px}
.tfs .tfs-field input:focus,.tfs .tfs-field textarea:focus,.tfs .tfs-field select:focus{outline:2px solid var(--tfs-accent);outline-offset:1px;border-color:var(--tfs-accent)}
.tfs .tfs-field input:disabled,.tfs .tfs-field textarea:disabled,.tfs .tfs-field select:disabled{opacity:.6;cursor:not-allowed}
.tfs .tfs-field input[type=range]{width:100%;accent-color:var(--tfs-accent)}
.tfs .tfs-check-field{display:flex;gap:8px;align-items:center;flex-basis:100%}
.tfs .tfs-check-field>span{margin:0;font-weight:500}
.tfs .tfs-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.tfs .tfs-row>.tfs-field{flex:1 1 280px}
.tfs .tfs-actions{flex-basis:100%;display:flex;gap:10px;flex-wrap:wrap}
.tfs .tfs-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--tfs-accent);color:#fff;border:0;border-radius:12px;padding:13px 26px;font:inherit;font-weight:700;cursor:pointer;min-height:48px}
.tfs .tfs-button:hover{background:var(--tfs-accent-2)}
.tfs .tfs-button:disabled{background:#9aa3b5;cursor:not-allowed}
.tfs .tfs-mini{display:inline-block;background:var(--tfs-bg);color:var(--tfs-text);border:1px solid var(--tfs-border);border-radius:8px;padding:5px 12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;margin:2px 4px 2px 0}
.tfs .tfs-mini:hover{border-color:var(--tfs-accent);color:var(--tfs-accent)}
.tfs .tfs-results{margin-top:18px}
.tfs .tfs-results:empty{display:none}
.tfs .tfs-loading{padding:16px;color:var(--tfs-muted);display:flex;gap:12px;align-items:center}
.tfs .tfs-loading::before{content:"";width:20px;height:20px;border:3px solid var(--tfs-border);border-top-color:var(--tfs-accent);border-radius:50%;animation:tfs-spin .8s linear infinite}
@keyframes tfs-spin{to{transform:rotate(360deg)}}
.tfs .tfs-score{display:flex;align-items:center;gap:16px;margin:0 0 14px}
.tfs .tfs-score-num{position:relative;display:flex;align-items:center;justify-content:center;width:92px;min-width:92px;height:92px;border-radius:50%;font-size:28px;font-weight:800;background:transparent;border:0}
.tfs .tfs-score-num svg{position:absolute;inset:0;width:100%;height:100%}
.tfs .tfs-score-num b{position:relative;font-weight:800}
.tfs .tfs-score-label{font-weight:700;color:var(--tfs-text)}
.tfs .tfs-score.tfs-good{color:var(--tfs-good)}.tfs .tfs-score.tfs-warn{color:var(--tfs-warn)}.tfs .tfs-score.tfs-bad{color:var(--tfs-bad)}
.tfs .tfs-summary{font-size:17px;font-weight:700;margin:0 0 14px}
.tfs .tfs-section{margin:0 0 18px;background:var(--tfs-bg);border:1px solid var(--tfs-border);border-radius:16px;padding:16px}
.tfs .tfs-section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
.tfs .tfs-section-head h3{margin:0;font-size:17px;font-weight:800;color:var(--tfs-text)}
.tfs .tfs-table-wrap{overflow-x:auto;border:1px solid var(--tfs-border);border-radius:12px}
.tfs .tfs-table{width:100%;border-collapse:collapse;font-size:14px;margin:0;background:var(--tfs-bg)}
.tfs .tfs-table th,.tfs .tfs-table td{padding:9px 12px;border-bottom:1px solid var(--tfs-border);text-align:left;vertical-align:top;word-break:break-word;color:var(--tfs-text)}
.tfs .tfs-table thead th{background:var(--tfs-soft);font-weight:700;white-space:nowrap}
.tfs .tfs-table tbody tr:last-child td,.tfs .tfs-table tbody tr:last-child th{border-bottom:0}
.tfs .tfs-kv{border:1px solid var(--tfs-border);border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden}
.tfs .tfs-kv th{width:38%;background:var(--tfs-soft);font-weight:700}
.tfs .tfs-table a,.tfs .tfs-list a,.tfs .tfs-hire a{color:var(--tfs-accent)}
.tfs .tfs-checks{list-style:none;margin:0;padding:0}
.tfs .tfs-check{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--tfs-border)}
.tfs .tfs-check:last-child{border-bottom:0}
.tfs .tfs-dot{flex:0 0 24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#fff}
.tfs .tfs-good .tfs-dot{background:#059669}.tfs .tfs-warn .tfs-dot{background:#d97706}.tfs .tfs-bad .tfs-dot{background:#dc2626}.tfs .tfs-info .tfs-dot{background:#64748b}
.tfs .tfs-detail{color:var(--tfs-muted);font-size:14px}
.tfs .tfs-list{margin:0;padding-left:1.2em}
.tfs .tfs-list li{margin:3px 0;word-break:break-word}
.tfs .tfs-files{list-style:none;padding:0}
.tfs .tfs-code{background:var(--tfs-code-bg);color:var(--tfs-code-text);padding:14px 16px;border-radius:12px;overflow:auto;max-height:480px;font-size:13px;white-space:pre-wrap;word-break:break-word;margin:0}
.tfs .tfs-note{color:var(--tfs-muted);font-size:14px;margin:8px 0 10px}
.tfs .tfs-empty{color:var(--tfs-muted);font-style:italic;margin:0}
.tfs .tfs-text{margin:0 0 .7em;white-space:pre-wrap}
.tfs .tfs-hire{margin:16px 0 0;padding:14px 16px;border-radius:12px;background:var(--tfs-soft);font-size:15px}
.tfs .tfs-hire a{font-weight:700}
.tfs .tfs-shot{max-width:260px;border:1px solid var(--tfs-border);border-radius:8px}
.tfs .tfs-thumb{max-width:100%;height:auto;border-radius:12px;display:block;margin-bottom:8px}
.tfs .tfs-serp{font-family:Arial,sans-serif;max-width:600px;padding:16px;border:1px solid var(--tfs-border);border-radius:12px;background:#fff}
.tfs .tfs-serp-url{color:#202124;font-size:14px}
.tfs .tfs-serp-title{color:#1a0dab;font-size:20px;line-height:1.3;margin:2px 0}
.tfs .tfs-serp-desc{color:#4d5156;font-size:14px;line-height:1.58}
.tfs .tfs-og-card{max-width:520px;border:1px solid var(--tfs-border);border-radius:12px;overflow:hidden;background:#fff;color:#1c1e21}
.tfs .tfs-og-card img{width:100%;aspect-ratio:1.91/1;object-fit:cover;display:block;background:#eef1f8}
.tfs .tfs-og-site,.tfs .tfs-og-title,.tfs .tfs-og-desc{padding:0 12px}
.tfs .tfs-og-site{font-size:12px;color:#65676b;padding-top:10px}
.tfs .tfs-og-title{font-weight:700}
.tfs .tfs-og-desc{font-size:14px;color:#65676b;padding-bottom:10px}
.tfs .tfs-diff{background:var(--tfs-bg);border:1px solid var(--tfs-border);border-radius:12px;padding:12px;white-space:pre-wrap;max-height:520px;overflow:auto;font-size:13px;margin:0}
.tfs .tfs-diff .tfs-add{background:var(--tfs-good-bg);color:var(--tfs-good)}
.tfs .tfs-diff .tfs-del{background:var(--tfs-bad-bg);color:var(--tfs-bad);text-decoration:line-through}
.tfs .tfs-related{margin-top:20px;background:var(--tfs-card);border:1px solid var(--tfs-border);border-radius:20px;padding:20px 24px}
.tfs .tfs-related h3{margin:0 0 12px;font-size:17px;font-weight:800;color:var(--tfs-text)}
.tfs .tfs-related ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.tfs .tfs-related a{display:inline-block;padding:8px 14px;border-radius:99px;border:1px solid var(--tfs-border);background:var(--tfs-bg);color:var(--tfs-text)!important;text-decoration:none!important;font-size:15px;font-weight:600}
.tfs .tfs-related a:hover{border-color:var(--tfs-accent);color:var(--tfs-accent)!important}
@media (max-width:640px){.tfs{margin:12px auto}.tfs .tfs-card{padding:16px;border-radius:16px}.tfs .tfs-title{font-size:23px}.tfs .tfs-theme{width:44px;height:44px}.tfs .tfs-form{padding:14px}.tfs .tfs-section{padding:12px}.tfs .tfs-button{width:100%}.tfs .tfs-related{padding:16px}}
.tfs .tfs-body>.tfs-field,.tfs .tfs-body>.tfs-fields>.tfs-field{margin:0 0 14px}
.tfs .tfs-body>.tfs-button{margin:2px 0 4px}
.tfs .tfs-body>.tfs-row .tfs-field{margin:0}
/* 1.0.6: number tiles, meters, text toolbar, highlighted text, richer previews */
.tfs .tfs-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:0 0 16px}
.tfs .tfs-stat{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border:1px solid var(--tfs-border);border-radius:14px;background:var(--tfs-bg)}
.tfs .tfs-stat strong{font-size:26px;line-height:1.15;font-weight:800;color:var(--tfs-text);word-break:break-word}
.tfs .tfs-stat span{font-size:13px;font-weight:600;color:var(--tfs-muted)}
.tfs .tfs-stat-main{background:var(--tfs-accent);border-color:var(--tfs-accent)}
.tfs .tfs-stat-main strong,.tfs .tfs-stat-main span{color:#fff}
.tfs .tfs-meter{margin:0 0 12px}
.tfs .tfs-meter-top{display:flex;justify-content:space-between;gap:10px;font-size:14px;margin-bottom:5px}
.tfs .tfs-meter-top span{font-weight:700}
.tfs .tfs-meter-top b{font-weight:600;color:var(--tfs-muted);white-space:nowrap}
.tfs .tfs-meter-bar{height:8px;border-radius:99px;background:var(--tfs-soft);overflow:hidden}
.tfs .tfs-meter-bar i{display:block;height:100%;border-radius:99px;background:var(--tfs-good)}
.tfs .tfs-meter.is-near .tfs-meter-bar i{background:var(--tfs-warn)}
.tfs .tfs-meter.is-over .tfs-meter-bar i{background:var(--tfs-bad)}
.tfs .tfs-meter.is-over .tfs-meter-top b{color:var(--tfs-bad)}
.tfs .tfs-meter small{display:block;margin-top:3px;font-size:12px;color:var(--tfs-muted)}
.tfs .tfs-toolbar{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 6px}
.tfs .tfs-upload{position:relative;overflow:hidden}
.tfs .tfs-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.tfs .tfs-selnote{margin:-6px 0 12px;font-size:14px;font-weight:600;color:var(--tfs-accent);min-height:1px}
.tfs .tfs-selnote:empty{margin:0}
.tfs .tfs-hltext{background:var(--tfs-bg);border:1px solid var(--tfs-border);border-radius:12px;padding:12px 14px;max-height:520px;overflow:auto;line-height:1.75}
.tfs .tfs-hltext p{margin:0 0 .8em}
.tfs .tfs-hl{border-radius:4px;padding:1px 0}
.tfs .tfs-hl-warn{background:var(--tfs-warn-bg)}
.tfs .tfs-hl-bad{background:var(--tfs-bad-bg)}
.tfs .tfs-list li.is-done a{opacity:.55}
.tfs .tfs-serp-site{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.tfs .tfs-serp-fav{flex:0 0 28px;height:28px;border-radius:50%;background:#e8f0fe;color:#1a0dab;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;border:1px solid #dadce0}
.tfs .tfs-serp-names{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.tfs .tfs-serp-names b{font-weight:400;font-size:14px;color:#202124}
.tfs .tfs-serp-names small{font-size:12px;color:#4d5156;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tfs .tfs-serp-desc b{font-weight:700;color:#4d5156}
.tfs .tfs-serp-date{color:#70757a}
.tfs .tfs-serp-m{max-width:400px}
.tfs .tfs-serp-m .tfs-serp-title{font-size:18px}
.tfs .tfs-og-tx{padding:0 0 2px}
.tfs .tfs-og-x{border-radius:16px}
.tfs .tfs-og-x .tfs-og-tx{padding:2px 0 6px}
.tfs .tfs-og-wa{display:flex;max-width:520px;background:#e7ffdb}
.tfs .tfs-og-wa img{width:96px;aspect-ratio:1/1;flex:0 0 96px}
.tfs .tfs-og-wa .tfs-og-site{order:3;padding-bottom:8px}
.tfs .tfs-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:0 14px}
.tfs .tfs-fields>.tfs-field.tfs-full{grid-column:1/-1}
.tfs .tfs-field textarea{font-family:inherit;line-height:1.6;font-size:16px} /* 16px: iPhones zoom in on smaller text boxes */
.tfs .tfs-field textarea.tfs-mono{font-family:ui-monospace,Menlo,Consolas,monospace}
/* 1.1.0: site crawl progress and the issue list */
.tfs .tfs-crawl{background:var(--tfs-bg);border:1px solid var(--tfs-border);border-radius:16px;padding:16px 18px;margin:0 0 16px}
.tfs .tfs-crawl-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.tfs .tfs-crawl-head strong{font-size:17px}
.tfs .tfs-crawl-bar{height:10px}
.tfs .tfs-crawl-bar i{background:var(--tfs-accent);transition:width .4s ease}
.tfs .tfs-crawl-feed{list-style:none;margin:6px 0 0;padding:0;font-size:13px;color:var(--tfs-muted);max-height:190px;overflow:hidden}
.tfs .tfs-crawl-feed li{display:flex;gap:8px;padding:3px 0;border-bottom:1px dashed var(--tfs-border);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tfs .tfs-crawl-feed b{flex:0 0 auto;min-width:42px;font-weight:700;color:var(--tfs-good)}
.tfs .tfs-crawl-feed li.is-warn b{color:var(--tfs-warn)}.tfs .tfs-crawl-feed li.is-bad b{color:var(--tfs-bad)}
.tfs .tfs-stat-bad{border-color:var(--tfs-bad);background:var(--tfs-bad-bg)}.tfs .tfs-stat-bad strong{color:var(--tfs-bad)}
.tfs .tfs-stat-warn{border-color:var(--tfs-warn);background:var(--tfs-warn-bg)}.tfs .tfs-stat-warn strong{color:var(--tfs-warn)}
.tfs .tfs-issue-filter{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 10px}
.tfs .tfs-issue-filter .is-on{background:var(--tfs-text);color:var(--tfs-bg);border-color:var(--tfs-text)}
.tfs .tfs-issues{display:flex;flex-direction:column;gap:8px}
.tfs .tfs-issue{border:1px solid var(--tfs-border);border-left-width:5px;border-radius:12px;background:var(--tfs-bg)}
.tfs .tfs-issue-error{border-left-color:var(--tfs-bad)}.tfs .tfs-issue-warning{border-left-color:var(--tfs-warn)}.tfs .tfs-issue-notice{border-left-color:#64748b}
.tfs .tfs-issue summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:12px 14px}
.tfs .tfs-issue summary::-webkit-details-marker{display:none}
.tfs .tfs-issue summary strong{flex:1;font-size:15px;line-height:1.35}
.tfs .tfs-sev{flex:0 0 auto;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:3px 8px;border-radius:6px;background:var(--tfs-soft);color:var(--tfs-muted)}
.tfs .tfs-issue-error .tfs-sev{background:var(--tfs-bad-bg);color:var(--tfs-bad)}.tfs .tfs-issue-warning .tfs-sev{background:var(--tfs-warn-bg);color:var(--tfs-warn)}
.tfs .tfs-issue-n{flex:0 0 auto;min-width:34px;text-align:center;padding:3px 8px;border-radius:99px;background:var(--tfs-soft);font-size:13px}
.tfs .tfs-issue summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--tfs-muted);border-bottom:2px solid var(--tfs-muted);transform:rotate(45deg);margin:0 4px 4px}
.tfs .tfs-issue[open] summary::after{transform:rotate(225deg);margin-top:6px}
.tfs .tfs-issue-body{padding:0 14px 12px;font-size:14px}
.tfs .tfs-issue-body p{margin:0 0 8px;color:var(--tfs-text)}
.tfs .tfs-issue-body .tfs-section{margin:8px 0 0;padding:10px;border-radius:10px}
.tfs .tfs-check-field{display:flex;align-items:center;gap:8px;flex:1 1 100%}
.tfs .tfs-check-field input{width:18px;height:18px;accent-color:var(--tfs-accent)}
.tfs .tfs-check-field span{margin:0!important;font-weight:600}
@media print{.tfs .tfs-form,.tfs .tfs-crawl,.tfs .tfs-section-tools,.tfs .tfs-issue-filter,.tfs .tfs-related{display:none!important}.tfs .tfs-issue{break-inside:avoid}.tfs details.tfs-issue>.tfs-issue-body{display:block}}
/* 1.2.0: audit areas, overview cards, paid boxes */
.tfs .tfs-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.tfs .tfs-cat{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid var(--tfs-border);border-radius:12px;background:var(--tfs-bg);color:inherit;text-decoration:none;transition:border-color .15s,transform .15s}
.tfs .tfs-cat:hover{border-color:var(--tfs-accent);transform:translateY(-1px)}
.tfs .tfs-cat-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.tfs .tfs-cat-name{font-weight:600;font-size:14px;line-height:1.3}
.tfs .tfs-cat-score{font-size:20px;line-height:1}
.tfs .tfs-cat-bar{height:6px;border-radius:6px;background:var(--tfs-border);overflow:hidden}
.tfs .tfs-cat-bar i{display:block;height:100%;border-radius:6px;background:var(--tfs-muted)}
.tfs .tfs-cat-good .tfs-cat-score{color:var(--tfs-good)}.tfs .tfs-cat-good .tfs-cat-bar i{background:var(--tfs-good)}
.tfs .tfs-cat-warn .tfs-cat-score{color:var(--tfs-warn)}.tfs .tfs-cat-warn .tfs-cat-bar i{background:var(--tfs-warn)}
.tfs .tfs-cat-bad .tfs-cat-score{color:var(--tfs-bad)}.tfs .tfs-cat-bad .tfs-cat-bar i{background:var(--tfs-bad)}
.tfs .tfs-cat-n{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;color:var(--tfs-muted)}
.tfs .tfs-cat-n .is-error{color:var(--tfs-bad)}.tfs .tfs-cat-n .is-warning{color:var(--tfs-warn)}.tfs .tfs-cat-n .is-ok{color:var(--tfs-good)}
.tfs .tfs-cat.is-locked{border-style:dashed;background:transparent}
.tfs .tfs-badge-paid{flex:none;display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;background:#fef3c7;color:#92400e;border:1px solid #fcd34d}
.tfs .tfs-area{scroll-margin-top:90px}
.tfs .tfs-area-score{margin-left:auto;font-weight:700;font-size:14px;padding:3px 10px;border-radius:999px;border:1px solid currentColor}
.tfs .tfs-area-good{color:var(--tfs-good)}.tfs .tfs-area-warn{color:var(--tfs-warn)}.tfs .tfs-area-bad{color:var(--tfs-bad)}
.tfs .tfs-area-intro{margin:-4px 0 12px;color:var(--tfs-muted);font-size:14px}
.tfs .tfs-area-data{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin:0 0 12px}
.tfs .tfs-datum{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-radius:10px;background:var(--tfs-soft,rgba(127,127,127,.07))}
.tfs .tfs-datum span{font-size:12px;color:var(--tfs-muted)}.tfs .tfs-datum strong{font-size:15px;word-break:break-word}
.tfs .tfs-datum.is-good strong{color:var(--tfs-good)}.tfs .tfs-datum.is-warn strong{color:var(--tfs-warn)}.tfs .tfs-datum.is-bad strong{color:var(--tfs-bad)}
.tfs .tfs-passed{margin-top:10px;border:1px solid var(--tfs-border);border-radius:10px;padding:0 14px}
.tfs .tfs-passed summary{cursor:pointer;padding:10px 0;font-weight:600;color:var(--tfs-good)}
.tfs .tfs-passed ul{margin:0 0 12px;padding:0;list-style:none;columns:2 260px;column-gap:24px}
.tfs .tfs-passed li{padding:3px 0 3px 22px;position:relative;font-size:14px;break-inside:avoid}
.tfs .tfs-passed li::before{content:"✓";position:absolute;left:2px;color:var(--tfs-good);font-weight:700}
.tfs .tfs-locked-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:12px}
.tfs .tfs-locked{border:2px dashed var(--tfs-border);border-radius:12px;padding:12px 14px;background:repeating-linear-gradient(135deg,transparent 0 10px,rgba(127,127,127,.04) 10px 20px)}
.tfs .tfs-locked-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tfs .tfs-locked-head strong{font-size:14px}
.tfs .tfs-locked p{margin:6px 0 0;font-size:13px;color:var(--tfs-muted)}
.tfs .tfs-locked-space{height:34px}
.tfs .tfs-locked.is-big .tfs-locked-space{height:60px}
@media print{.tfs .tfs-locked,.tfs .tfs-cat.is-locked,.tfs .tfs-locked-grid{display:none!important}.tfs .tfs-passed{display:block}.tfs .tfs-passed:not([open]) ul{display:block}}

.tfs .tfs-stat-good{border-color:var(--tfs-good);background:var(--tfs-good-bg)}.tfs .tfs-stat-good strong{color:var(--tfs-good)}
html[data-tl-theme="dark"] .tfs .tfs-badge-paid{background:#3a2c0f;color:#fbbf24;border-color:#92400e}

.tfs .tfs-more{flex-basis:100%;border:1px solid var(--tfs-border);border-radius:12px;padding:0 16px;background:var(--tfs-card,transparent)}
.tfs .tfs-more>summary{cursor:pointer;font-weight:700;font-size:14px;padding:14px 0;color:var(--tfs-text)}
.tfs .tfs-more[open]>summary{border-bottom:1px solid var(--tfs-border);margin-bottom:14px}
.tfs .tfs-more-body{display:flex;flex-wrap:wrap;gap:16px;padding-bottom:16px}
.tfs .tfs-field[hidden]{display:none}

/* 1.7: smoother results, big tables, mobile cards */
.tfs .tfs-results.tfs-in>*{animation:tfs-rise .35s ease both}
.tfs .tfs-results.tfs-in>*:nth-child(2){animation-delay:.04s}.tfs .tfs-results.tfs-in>*:nth-child(3){animation-delay:.08s}.tfs .tfs-results.tfs-in>*:nth-child(4){animation-delay:.12s}.tfs .tfs-results.tfs-in>*:nth-child(n+5){animation-delay:.16s}
@keyframes tfs-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tfs .tfs-results.tfs-in>*{animation:none}}
.tfs .tfs-loading-wrap{display:flex;flex-direction:column;gap:10px}
.tfs .tfs-sk{height:14px;border-radius:8px;background:linear-gradient(90deg,var(--tfs-soft) 25%,var(--tfs-border) 50%,var(--tfs-soft) 75%);background-size:200% 100%;animation:tfs-shine 1.2s linear infinite}
.tfs .tfs-sk-short{width:60%}.tfs .tfs-sk-box{height:90px;border-radius:12px}
@keyframes tfs-shine{to{background-position:-200% 0}}
.tfs .tfs-table-bar{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.tfs .tfs-table-q{flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid var(--tfs-border);border-radius:10px;background:var(--tfs-bg);color:var(--tfs-text);font:inherit;font-size:14px}
.tfs .tfs-table-q:focus{outline:2px solid var(--tfs-accent);outline-offset:1px}
.tfs .tfs-table-count{font-size:13px;color:var(--tfs-muted);white-space:nowrap}
.tfs .tfs-table th.tfs-sort{cursor:pointer;user-select:none}
.tfs .tfs-table th.tfs-sort::after{content:"↕";margin-left:6px;opacity:.35;font-size:12px}
.tfs .tfs-table th[aria-sort=ascending]::after{content:"↑";opacity:1}.tfs .tfs-table th[aria-sort=descending]::after{content:"↓";opacity:1}
.tfs .tfs-table tbody tr{transition:background .12s}
.tfs .tfs-table tbody tr:hover{background:var(--tfs-soft)}
.tfs .tfs-more-rows{display:block;width:100%;margin:10px 0 0;padding:10px;border:1px dashed var(--tfs-border);border-radius:10px;background:transparent;color:var(--tfs-accent);font:inherit;font-weight:600;font-size:14px;cursor:pointer}
.tfs .tfs-more-rows:hover{border-color:var(--tfs-accent);background:var(--tfs-soft)}
.tfs .tfs-table a{word-break:break-all}
@media (max-width:640px){
  .tfs .tfs-summary{font-size:15px;line-height:1.5}
  .tfs .tfs-score-num{width:76px;min-width:76px;height:76px;font-size:24px}
  .tfs .tfs-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tfs .tfs-cats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tfs .tfs-cat{padding:10px 11px;gap:6px}.tfs .tfs-cat-name{font-size:13px}.tfs .tfs-cat-score{font-size:18px}.tfs .tfs-cat-n{font-size:11px}
  .tfs .tfs-section-head{flex-wrap:wrap;gap:8px}
  /* Tables become cards: each row a card, each cell "Label: value". */
  .tfs .tfs-table-wrap{border:0;overflow:visible}
  .tfs .tfs-table.tfs-wide thead,.tfs .tfs-table:not(.tfs-kv) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tfs .tfs-table:not(.tfs-kv),.tfs .tfs-table:not(.tfs-kv) tbody,.tfs .tfs-table:not(.tfs-kv) tr,.tfs .tfs-table:not(.tfs-kv) td{display:block;width:100%}
  .tfs .tfs-table:not(.tfs-kv){background:transparent}
  .tfs .tfs-table:not(.tfs-kv) tbody tr{border:1px solid var(--tfs-border);border-radius:12px;padding:8px 12px;margin:0 0 8px;background:var(--tfs-bg)}
  .tfs .tfs-table:not(.tfs-kv) td{display:grid;grid-template-columns:34% 1fr;gap:10px;align-items:start;padding:5px 0;border-bottom:1px dashed var(--tfs-border);text-align:left;font-size:14px}
  .tfs .tfs-table:not(.tfs-kv) td:last-child{border-bottom:0}
  .tfs .tfs-table:not(.tfs-kv) td::before{content:attr(data-label);text-align:left;font-weight:600;font-size:12px;color:var(--tfs-muted);padding-top:2px}
  .tfs .tfs-table:not(.tfs-kv) td:first-child{display:block;text-align:left;font-weight:600;padding-top:2px}
  .tfs .tfs-table:not(.tfs-kv) td:first-child::before{display:none}
  .tfs .tfs-table:not(.tfs-kv) td[data-label=""]{display:block}.tfs .tfs-table:not(.tfs-kv) td[data-label=""]::before{display:none}
  .tfs .tfs-table:not(.tfs-kv) td.tfs-empty{text-align:center}
  .tfs .tfs-table.tfs-kv th{width:42%}
}
@media print{.tfs .tfs-table-bar,.tfs .tfs-more-rows{display:none!important}.tfs .tfs-results.tfs-in>*{animation:none}}

.tfs .tfs-import{flex-basis:100%;padding:12px 14px;border:1px dashed var(--tfs-accent);border-radius:12px;background:var(--tfs-soft)}
.tfs .tfs-import-label{font-weight:700;font-size:14px;margin:0 0 8px;color:var(--tfs-text)}
.tfs .tfs-import-line{display:flex;gap:8px}
.tfs .tfs-import-line input{flex:1;min-width:0;height:46px;padding:0 12px;border:1px solid var(--tfs-border);border-radius:10px;background:var(--tfs-bg);color:var(--tfs-text);font:inherit;font-size:15px}
.tfs .tfs-import-line input:focus{outline:2px solid var(--tfs-accent);outline-offset:1px}
.tfs .tfs-import-btn{height:46px;padding:0 18px;border:0;border-radius:10px;background:var(--tfs-accent);color:#fff;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.tfs .tfs-import-btn:disabled{opacity:.6;cursor:wait}
.tfs .tfs-import-msg{font-size:13px;margin-top:6px;color:var(--tfs-muted)}.tfs .tfs-import-msg:empty{display:none}
.tfs .tfs-import.is-done .tfs-import-msg{color:var(--tfs-good)}.tfs .tfs-import.is-error .tfs-import-msg{color:var(--tfs-bad)}
.tfs .tfs-social{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.tfs .tfs-social-card{border:1px solid var(--tfs-border);border-radius:12px;overflow:hidden;background:var(--tfs-bg)}
.tfs .tfs-social-card .tfs-sc-img{aspect-ratio:1.91/1;background:var(--tfs-soft) center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:var(--tfs-muted);font-size:12px}
.tfs .tfs-social-card .tfs-sc-body{padding:10px 12px}
.tfs .tfs-social-card .tfs-sc-net{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--tfs-muted)}
.tfs .tfs-social-card .tfs-sc-host{font-size:12px;color:var(--tfs-muted);text-transform:uppercase}
.tfs .tfs-social-card .tfs-sc-title{font-weight:700;font-size:15px;line-height:1.3;margin:2px 0;color:var(--tfs-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tfs .tfs-social-card .tfs-sc-desc{font-size:13px;color:var(--tfs-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:640px){.tfs .tfs-import-line{flex-direction:column}.tfs .tfs-import-btn{width:100%}}

/* 1.9: report bar, field tools, gauges, metric cards, screenshots */
.tfs .tfs-report-bar{display:flex;justify-content:flex-end;gap:8px;margin:0 0 10px}
.tfs .tfs-has-tools{position:relative}
.tfs .tfs-ftools{position:absolute;right:8px;bottom:12px;display:flex;align-items:center;gap:4px}
.tfs label.tfs-has-tools>textarea~.tfs-ftools{bottom:10px}
.tfs .tfs-ftool{height:28px;min-width:28px;padding:0 8px;border:1px solid var(--tfs-border);border-radius:8px;background:var(--tfs-bg);color:var(--tfs-muted);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.tfs .tfs-ftool:hover{color:var(--tfs-text);border-color:var(--tfs-accent)}
.tfs .tfs-ftool[hidden]{display:none}
.tfs .tfs-fcount{font-size:11px;color:var(--tfs-muted);margin-right:4px;white-space:nowrap}
.tfs label.tfs-has-tools>input{padding-right:110px!important}
.tfs label.tfs-has-tools>textarea{padding-bottom:44px!important}
.tfs .tfs-gauges{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.tfs .tfs-gauge .tfs-score{flex-direction:column;gap:8px;margin:0;text-align:center}
.tfs .tfs-gauge .tfs-score-label{font-size:14px}
.tfs .tfs-metrics{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.tfs .tfs-metric{border:1px solid var(--tfs-border);border-left-width:4px;border-radius:12px;padding:12px 14px;background:var(--tfs-bg)}
.tfs .tfs-m-good{border-left-color:var(--tfs-good)}.tfs .tfs-m-warn{border-left-color:var(--tfs-warn)}.tfs .tfs-m-bad{border-left-color:var(--tfs-bad)}
.tfs .tfs-metric-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.tfs .tfs-metric-label{font-size:13px;font-weight:600;color:var(--tfs-muted)}
.tfs .tfs-metric-val{font-size:22px;line-height:1.1;white-space:nowrap}
.tfs .tfs-m-good .tfs-metric-val{color:var(--tfs-good)}.tfs .tfs-m-warn .tfs-metric-val{color:var(--tfs-warn)}.tfs .tfs-m-bad .tfs-metric-val{color:var(--tfs-bad)}
.tfs .tfs-metric-bar{position:relative;height:6px;margin:12px 0 8px;border-radius:6px;background:linear-gradient(90deg,var(--tfs-good) 0 33%,var(--tfs-warn) 33% 66%,var(--tfs-bad) 66%);opacity:.9}
.tfs .tfs-metric-bar i{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--tfs-bg);border:3px solid var(--tfs-text)}
.tfs .tfs-metric-bar b{display:none}
.tfs .tfs-metric-help{font-size:12.5px;color:var(--tfs-muted);margin:0;line-height:1.45}
.tfs .tfs-shots{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:14px;align-items:start}
.tfs .tfs-shot-final{margin:0;border:1px solid var(--tfs-border);border-radius:12px;overflow:hidden;background:var(--tfs-soft)}
.tfs .tfs-shot-final img{display:block;width:100%;height:auto}
.tfs .tfs-shots figcaption{font-size:12px;color:var(--tfs-muted);text-align:center;padding:4px}
.tfs .tfs-filmstrip{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}
.tfs .tfs-filmstrip figure{flex:0 0 auto;width:86px;margin:0}
.tfs .tfs-filmstrip img{display:block;width:100%;height:auto;border:1px solid var(--tfs-border);border-radius:6px;background:#fff}
@media (max-width:640px){.tfs .tfs-shots{grid-template-columns:1fr}.tfs .tfs-shot-final{max-width:240px;margin:0 auto}.tfs .tfs-gauges{grid-template-columns:repeat(2,1fr)}.tfs .tfs-metrics{grid-template-columns:1fr}.tfs .tfs-report-bar{justify-content:stretch}.tfs .tfs-report-bar .tfs-mini{flex:1}}
@media print{.tfs .tfs-report-bar,.tfs .tfs-ftools{display:none!important}}

.tfs .tfs-preview{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.tfs .tfs-preview figure{margin:0;border:1px solid var(--tfs-border);border-radius:12px;overflow:hidden;background:var(--tfs-soft)}
.tfs .tfs-preview figure.is-phone{width:180px}.tfs .tfs-preview figure.is-wide{flex:1;min-width:240px;max-width:520px}
.tfs .tfs-preview img{display:block;width:100%;height:auto}
.tfs .tfs-preview figcaption{font-size:12px;color:var(--tfs-muted);text-align:center;padding:5px}
.tfs .tfs-dl{position:relative;display:inline-block}
.tfs .tfs-dl>summary{list-style:none;cursor:pointer}.tfs .tfs-dl>summary::-webkit-details-marker{display:none}
.tfs .tfs-dl-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:250px;padding:6px;border:1px solid var(--tfs-border);border-radius:12px;background:var(--tfs-bg);box-shadow:0 12px 30px rgba(15,23,42,.15)}
.tfs .tfs-dl-item{display:block;width:100%;text-align:left;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:var(--tfs-text);font:inherit;font-size:14px;cursor:pointer}
.tfs .tfs-dl-item:hover{background:var(--tfs-soft)}
@media (max-width:640px){.tfs .tfs-dl{flex:1}.tfs .tfs-dl>summary{display:block;text-align:center}.tfs .tfs-dl-menu{left:auto;right:0;min-width:230px}}
/* 1.10: editor toolbar for text tools */
.tfs .tfs-editbar{flex-basis:100%;display:flex;flex-wrap:wrap;gap:4px;padding:6px;margin:0 0 -6px;border:1px solid var(--tfs-border);border-bottom:0;border-radius:12px 12px 0 0;background:var(--tfs-soft)}
.tfs .tfs-eb{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:58px;height:52px;padding:4px 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--tfs-text);font:inherit;font-size:11px;font-weight:600;cursor:pointer;list-style:none;white-space:nowrap}
.tfs .tfs-eb::-webkit-details-marker{display:none}
.tfs .tfs-eb:hover,.tfs .tfs-eb-menu[open]>.tfs-eb{background:var(--tfs-bg);border-color:var(--tfs-border)}
.tfs .tfs-eb svg{color:var(--tfs-accent)}
.tfs .tfs-eb.is-on{color:var(--tfs-good)}.tfs .tfs-eb.is-on svg{color:var(--tfs-good)}
.tfs .tfs-eb-menu{position:relative}
.tfs .tfs-eb-list{position:absolute;left:0;top:calc(100% + 4px);z-index:40;min-width:210px;padding:6px;border:1px solid var(--tfs-border);border-radius:12px;background:var(--tfs-bg);box-shadow:0 12px 30px rgba(15,23,42,.15)}
.tfs .tfs-eb-item{display:block;width:100%;text-align:left;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--tfs-text);font:inherit;font-size:14px;cursor:pointer}
.tfs .tfs-eb-item:hover{background:var(--tfs-soft)}
.tfs .tfs-editbar+.tfs-findbar,.tfs .tfs-findbar,.tfs .tfs-goal{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;margin:6px 0 -6px;border:1px solid var(--tfs-border);border-bottom:0;background:var(--tfs-bg)}
.tfs .tfs-findbar[hidden],.tfs .tfs-goal[hidden]{display:none}
.tfs .tfs-findbar input:not([type=checkbox]),.tfs .tfs-goal input{height:36px;padding:0 10px;border:1px solid var(--tfs-border);border-radius:8px;background:var(--tfs-bg);color:var(--tfs-text);font:inherit;min-width:0;flex:1 1 150px}
.tfs .tfs-goal input{flex:0 0 150px}
.tfs .tfs-fr-opt{font-size:13px;color:var(--tfs-muted);display:flex;align-items:center;gap:4px}
.tfs .tfs-fr-count{font-size:13px;color:var(--tfs-muted)}
.tfs .tfs-goal-bar{flex:1 1 160px;height:8px;border-radius:8px;background:var(--tfs-border);overflow:hidden}
.tfs .tfs-goal-bar i{display:block;height:100%;width:0;background:var(--tfs-accent);transition:width .3s}
.tfs .tfs-goal.is-done .tfs-goal-bar i{background:var(--tfs-good)}
.tfs .tfs-goal span{font-size:13px;color:var(--tfs-muted)}
.tfs .tfs-editbar~label.tfs-field textarea{border-top-left-radius:0;border-top-right-radius:0}
.tfs label.tfs-fullscreen{position:fixed;inset:0;z-index:99999;margin:0;padding:16px;background:var(--tfs-bg);display:flex;flex-direction:column}
.tfs label.tfs-fullscreen textarea{flex:1;height:auto!important;font-size:17px;line-height:1.7}
body.tfs-noscroll{overflow:hidden}
@media (max-width:640px){.tfs .tfs-editbar{gap:2px;padding:4px;overflow-x:auto;flex-wrap:nowrap}.tfs .tfs-eb{min-width:52px;height:48px;font-size:10px;padding:3px 6px}.tfs .tfs-eb-list{position:fixed;left:12px;right:12px;top:auto;bottom:12px;min-width:0}}
.tfs .tfs-report-bar{position:relative;z-index:60}
.tfs .tfs-dl-menu{z-index:61;background:var(--tfs-bg)!important;opacity:1}
.tfs .tfs-mini-main{background:var(--tfs-accent);color:#fff;border-color:var(--tfs-accent)}
.tfs .tfs-mini-main:hover{background:var(--tfs-accent-2,var(--tfs-accent));color:#fff}
.tfs .tfs-dl-item:disabled{opacity:.6;cursor:wait}
/* ---- Full SEO audit report (SEO Site Checkup style) ---- */
.tfs .tfs-audit{display:flex;flex-direction:column;gap:14px}
.tfs .tfs-audit>.tfs-section{margin:0}
.tfs .tfs-au-head{padding:20px;background:linear-gradient(135deg,var(--tfs-soft),var(--tfs-card,var(--tfs-bg)))}
.tfs .tfs-au-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;align-items:center}
.tfs .tfs-au-rings{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-bottom:16px}
.tfs .tfs-au-ring{display:flex;flex-direction:column;align-items:center;gap:6px}
.tfs .tfs-au-ring .tfs-score-num{position:relative;width:104px;height:104px;display:grid;place-items:center}
.tfs .tfs-au-ring .tfs-score-num svg{position:absolute;inset:0;width:100%;height:100%}
.tfs .tfs-au-ring .tfs-score-num b{font-size:32px;font-weight:800;color:var(--tfs-text)}
.tfs .tfs-au-ring.tfs-good{color:var(--tfs-good)}.tfs .tfs-au-ring.tfs-warn{color:var(--tfs-warn)}.tfs .tfs-au-ring.tfs-bad{color:var(--tfs-bad)}
.tfs .tfs-au-ring-label{font-size:13px;font-weight:700;color:var(--tfs-text)}
.tfs .tfs-au-grade{display:flex;flex-direction:column;align-items:center;justify-content:center;width:74px;height:74px;border-radius:18px;background:var(--tfs-bg);border:2px solid currentColor}
.tfs .tfs-au-grade b{font-size:32px;line-height:1}.tfs .tfs-au-grade span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--tfs-muted)}
.tfs .tfs-au-grade.is-a,.tfs .tfs-au-grade.is-b{color:var(--tfs-good)}.tfs .tfs-au-grade.is-c{color:var(--tfs-warn)}.tfs .tfs-au-grade.is-d,.tfs .tfs-au-grade.is-f{color:var(--tfs-bad)}
.tfs .tfs-au-bars{display:grid;gap:8px;margin-bottom:14px;max-width:460px}
.tfs .tfs-au-bar{display:grid;grid-template-columns:78px 1fr 40px;align-items:center;gap:10px;font-size:13px;font-weight:600}
.tfs .tfs-au-bar b{text-align:right;font-size:15px}
.tfs .tfs-au-track{height:10px;border-radius:99px;background:var(--tfs-border);overflow:hidden}
.tfs .tfs-au-track i{display:block;height:100%;border-radius:99px;background:currentColor;transition:width .8s ease}
.tfs .tfs-au-bar.is-fail{color:var(--tfs-bad)}.tfs .tfs-au-bar.is-warn{color:var(--tfs-warn)}.tfs .tfs-au-bar.is-pass{color:var(--tfs-good)}
.tfs .tfs-au-bar span{color:var(--tfs-text)}
.tfs .tfs-au-facts{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:0;font-size:13px}
.tfs .tfs-au-facts dt{color:var(--tfs-muted)}.tfs .tfs-au-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.tfs .tfs-au-shots{position:relative;display:flex;align-items:flex-end;justify-content:center;min-height:200px}
.tfs .tfs-au-shots figure{margin:0;text-align:center}
.tfs .tfs-au-shots img{display:block;width:100%;border-radius:10px;border:6px solid #1f2937;background:#1f2937;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.tfs .tfs-au-shots .is-desk{width:88%}.tfs .tfs-au-shots .is-phone{position:absolute;right:0;bottom:0;width:26%}
.tfs .tfs-au-shots .is-phone img{border-radius:14px;border-width:5px}
.tfs .tfs-au-shots figcaption{font-size:11px;color:var(--tfs-muted);margin-top:4px}
.tfs .tfs-au-ic{flex:none;display:inline-grid;width:22px;height:22px}
.tfs .tfs-au-ic svg{width:100%;height:100%}
.tfs .tfs-au-ic.is-fail{color:var(--tfs-bad)}.tfs .tfs-au-ic.is-warn{color:var(--tfs-warn)}.tfs .tfs-au-ic.is-pass{color:var(--tfs-good)}.tfs .tfs-au-ic.is-info{color:var(--tfs-accent)}.tfs .tfs-au-ic.is-locked{color:#d97706}
.tfs .tfs-au-todo-list{list-style:none;margin:0;padding:0;display:grid;gap:6px;counter-reset:todo}
.tfs .tfs-au-todo-list li{display:flex;align-items:center;gap:12px;padding:8px 12px;cursor:pointer;transition:background .15s;border:1px solid var(--tfs-border);border-left:4px solid var(--tfs-warn);border-radius:10px;background:var(--tfs-bg)}
.tfs .tfs-au-todo-list li:hover{background:var(--tfs-soft)}.tfs .tfs-au-todo-list li[hidden]{display:none}
.tfs .tfs-au-todo-list li.is-fail{border-left-color:var(--tfs-bad)}
.tfs .tfs-au-todo-list li>div{flex:1;min-width:0}
.tfs .tfs-au-todo-list strong{display:block;font-size:14px}
.tfs .tfs-au-todo-list small{display:block;margin-top:3px;color:var(--tfs-muted);font-size:12px}
.tfs .tfs-au-go{flex:none;font-size:13px;font-weight:700;padding:6px 12px;border-radius:8px;background:var(--tfs-soft);color:var(--tfs-accent);text-decoration:none}
.tfs .tfs-au-go:hover{background:var(--tfs-accent);color:#fff}
.tfs .tfs-au-imp{display:inline-block;padding:1px 7px;border-radius:99px;font-size:11px;font-weight:700;border:1px solid currentColor}
.tfs .tfs-au-imp.is-high{color:var(--tfs-bad)}.tfs .tfs-au-imp.is-med{color:var(--tfs-warn)}.tfs .tfs-au-imp.is-low{color:var(--tfs-muted)}
.tfs .tfs-au-scope{display:inline-block;padding:1px 7px;border-radius:99px;font-size:11px;font-weight:600;background:var(--tfs-soft);color:var(--tfs-muted)}
.tfs .tfs-au-nav{position:sticky;top:8px;z-index:20;display:flex;gap:6px;overflow-x:auto;padding:8px;border:1px solid var(--tfs-border);border-radius:14px;background:var(--tfs-bg);box-shadow:0 6px 18px rgba(0,0,0,.06);scrollbar-width:thin}
.admin-bar .tfs .tfs-au-nav{top:40px}
.tfs .tfs-au-navi{flex:none;display:flex;flex-direction:column;gap:3px;padding:7px 11px;border-radius:10px;text-decoration:none;color:var(--tfs-text);border:1px solid transparent}
.tfs .tfs-au-navi:hover{background:var(--tfs-soft);border-color:var(--tfs-border)}
.tfs .tfs-au-navl{font-size:12.5px;font-weight:700;white-space:nowrap}
.tfs .tfs-au-navn{display:flex;gap:6px;font-size:11px;font-weight:700}
.tfs .tfs-au-navn i{font-style:normal}.tfs .tfs-au-navn .is-fail{color:var(--tfs-bad)}.tfs .tfs-au-navn .is-warn{color:var(--tfs-warn)}.tfs .tfs-au-navn .is-pass{color:var(--tfs-good)}
.tfs .tfs-au-filter{display:flex;gap:6px;flex-wrap:wrap;margin:0}
.tfs .tfs-au-cat{scroll-margin-top:90px}
.tfs .tfs-au-catn{display:flex;gap:16px;flex-wrap:wrap;margin:2px 0 10px;font-size:13px;font-weight:600}
.tfs .tfs-au-catn span{display:inline-flex;align-items:center;gap:5px}.tfs .tfs-au-catn .tfs-au-ic{width:16px;height:16px}
.tfs .tfs-au-tests{display:flex;flex-direction:column;border:1px solid var(--tfs-border);border-radius:12px;overflow:hidden}
.tfs .tfs-au-test{border-top:1px solid var(--tfs-border);background:var(--tfs-bg);scroll-margin-top:90px}
.tfs .tfs-au-test:first-child{border-top:0}
.tfs .tfs-au-test.is-fail{box-shadow:inset 4px 0 0 var(--tfs-bad)}.tfs .tfs-au-test.is-warn{box-shadow:inset 4px 0 0 var(--tfs-warn)}
.tfs .tfs-au-sum{display:flex;align-items:flex-start;gap:12px;padding:13px 16px;cursor:pointer;list-style:none}
.tfs .tfs-au-sum::-webkit-details-marker{display:none}
.tfs details.tfs-au-test>.tfs-au-sum::after{content:"";flex:none;width:9px;height:9px;margin:6px 2px 0 auto;border-right:2px solid var(--tfs-muted);border-bottom:2px solid var(--tfs-muted);transform:rotate(45deg);transition:transform .2s}
.tfs details.tfs-au-test[open]>.tfs-au-sum::after{transform:rotate(-135deg);margin-top:10px}
.tfs details.tfs-au-test.is-flat>.tfs-au-sum{cursor:default}.tfs details.tfs-au-test.is-flat>.tfs-au-sum::after{display:none}
.tfs .tfs-au-sum:hover{background:var(--tfs-soft)}
.tfs .tfs-au-tt{flex:1;min-width:0}
.tfs .tfs-au-tt strong{font-size:15px}
.tfs .tfs-au-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.tfs .tfs-au-line{margin:3px 0 0;font-size:13px;color:var(--tfs-muted)}
.tfs .tfs-au-body{padding:0 16px 14px 50px}
.tfs .tfs-au-text{margin:0 0 10px;font-size:14px;line-height:1.55}
.tfs .tfs-au-data{margin:10px 0;padding:12px;border:1px solid var(--tfs-border);border-radius:10px;background:var(--tfs-soft)}
.tfs .tfs-au-data-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--tfs-muted);margin-bottom:8px}
.tfs .tfs-au-data-title .tfs-section-tools{text-transform:none;letter-spacing:0}
.tfs .tfs-au-kv{display:grid;grid-template-columns:minmax(110px,auto) 1fr;gap:6px 14px;margin:0;font-size:13.5px}
.tfs .tfs-au-kv dt{font-weight:700;color:var(--tfs-muted)}.tfs .tfs-au-kv dd{margin:0;overflow-wrap:anywhere}
.tfs .tfs-au-list{margin:0;padding-left:18px;font-size:13.5px;display:grid;gap:3px}
.tfs .tfs-au-list li{overflow-wrap:anywhere}
.tfs .tfs-au-cloud{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline}
.tfs .tfs-au-chip{display:inline-block;padding:3px 9px;border-radius:99px;background:var(--tfs-bg);border:1px solid var(--tfs-border);color:var(--tfs-accent);font-weight:600;line-height:1.3}
.tfs .tfs-au-chip b{font-size:11px;color:var(--tfs-muted);font-weight:700}
.tfs .tfs-au-table td.is-yes{color:var(--tfs-good);font-weight:700}.tfs .tfs-au-table td.is-no{color:var(--tfs-bad);font-weight:700}
.tfs .tfs-au-fix{margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--tfs-good-bg,rgba(22,163,74,.08));border:1px solid rgba(22,163,74,.25)}
.tfs .tfs-au-fix b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--tfs-good)}
.tfs .tfs-au-fix p{margin:4px 0 0;font-size:14px}
.tfs .tfs-au-serp{display:grid;grid-template-columns:1.4fr 1fr;gap:12px}
.tfs .tfs-au-serp-card{position:relative;padding:14px;border-radius:10px;background:#fff;border:1px solid #dadce0;color:#202124;font-family:Arial,sans-serif}
.tfs .tfs-au-serp-card.is-mobile{border-radius:16px}
.tfs .tfs-au-serp-dev{position:absolute;top:8px;right:10px;font-size:10px;font-weight:700;text-transform:uppercase;color:#70757a}
.tfs .tfs-au-serp-site{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.tfs .tfs-au-serp-site i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#f1f3f4;font-style:normal;font-size:12px;font-weight:700;color:#5f6368}
.tfs .tfs-au-serp-site span{display:flex;flex-direction:column;min-width:0}.tfs .tfs-au-serp-site b{font-size:14px;font-weight:400}.tfs .tfs-au-serp-site small{font-size:12px;color:#4d5156;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tfs .tfs-au-serp-title{font-size:20px;line-height:1.3;color:#1a0dab;margin-bottom:4px}
.tfs .tfs-au-serp-card.is-mobile .tfs-au-serp-title{font-size:17px;color:#1558d6}
.tfs .tfs-au-serp-desc{font-size:14px;line-height:1.58;color:#4d5156}
.tfs .tfs-au-test.is-locked{display:flex;flex-direction:column;background:repeating-linear-gradient(135deg,transparent 0 10px,rgba(127,127,127,.04) 10px 20px)}
.tfs .tfs-au-test.is-locked .tfs-au-sum{cursor:default}
.tfs .tfs-au-test.is-locked .tfs-locked-space{height:10px}
.tfs .tfs-au-test.is-flash{animation:tfsFlash 1.4s ease}
@keyframes tfsFlash{0%,40%{background:var(--tfs-soft);box-shadow:0 0 0 3px var(--tfs-accent)}100%{box-shadow:none}}
html[data-tl-theme="dark"] .tfs .tfs-au-serp-card{background:#202124;border-color:#3c4043;color:#e8eaed}
html[data-tl-theme="dark"] .tfs .tfs-au-serp-title{color:#8ab4f8}html[data-tl-theme="dark"] .tfs .tfs-au-serp-desc,html[data-tl-theme="dark"] .tfs .tfs-au-serp-site small{color:#bdc1c6}
@media (max-width:820px){.tfs .tfs-au-top{grid-template-columns:1fr}.tfs .tfs-au-shots{min-height:0;max-width:420px;margin:0 auto;width:100%}.tfs .tfs-au-serp{grid-template-columns:1fr}}
@media (max-width:640px){.tfs .tfs-au-head{padding:14px}.tfs .tfs-au-rings{gap:12px;justify-content:center}.tfs .tfs-au-ring .tfs-score-num{width:86px;height:86px}.tfs .tfs-au-ring .tfs-score-num b{font-size:26px}.tfs .tfs-au-grade{width:60px;height:60px}.tfs .tfs-au-sum{padding:12px;gap:10px}.tfs .tfs-au-body{padding:0 12px 12px}.tfs .tfs-au-kv{grid-template-columns:1fr;gap:2px}.tfs .tfs-au-kv dd{margin-bottom:6px}.tfs .tfs-au-go{font-size:0;padding:0;background:none;width:10px;height:10px;border-right:2px solid var(--tfs-muted);border-top:2px solid var(--tfs-muted);transform:rotate(45deg);border-radius:0}.tfs .tfs-au-todo-list li{gap:10px;padding:8px 12px 8px 10px}.tfs .tfs-au-nav{top:4px;border-radius:12px}.tfs .tfs-au-bar{grid-template-columns:70px 1fr 34px}}
@media print{.tfs .tfs-au-nav,.tfs .tfs-au-filter,.tfs .tfs-au-go{display:none!important}.tfs .tfs-au-test{break-inside:avoid}.tfs details.tfs-au-test>.tfs-au-body{display:block}.tfs .tfs-au-test.is-locked{display:none}}

.tfs .tfs-au-verdict{display:flex;flex-direction:column;justify-content:center;gap:4px;max-width:230px;padding:12px 14px;border-radius:14px;border:2px solid currentColor;background:var(--tfs-bg)}
.tfs .tfs-au-verdict b{font-size:18px;line-height:1.2}.tfs .tfs-au-verdict span{font-size:12.5px;color:var(--tfs-text);line-height:1.4}
.tfs .tfs-au-verdict.is-good{color:var(--tfs-good)}.tfs .tfs-au-verdict.is-warn{color:var(--tfs-warn)}.tfs .tfs-au-verdict.is-bad{color:var(--tfs-bad)}
.tfs label.tfs-au-test.is-manual{display:block;cursor:pointer}
.tfs .tfs-au-test.is-manual input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--tfs-good)}
.tfs .tfs-au-test.is-manual.is-done{background:var(--tfs-good-bg,rgba(22,163,74,.07));box-shadow:inset 4px 0 0 var(--tfs-good)}
.tfs .tfs-au-test.is-manual.is-done strong{color:var(--tfs-good)}
.tfs .tfs-au-navn .is-info{color:var(--tfs-muted)}
@media (max-width:640px){.tfs .tfs-au-verdict{max-width:none;width:100%;text-align:center}}
/* ---- SEO Content Checker (editor + live analysis) ---- */
.tfs .scx{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}
.tfs .scx-main{display:flex;flex-direction:column;gap:12px;min-width:0}
.tfs .scx-side{position:sticky;top:12px;display:flex;flex-direction:column;gap:10px;max-height:calc(100vh - 24px);overflow:auto;scrollbar-width:thin}
.admin-bar .tfs .scx-side{top:44px;max-height:calc(100vh - 56px)}
.tfs .scx-card{border:1px solid var(--tfs-border);border-radius:14px;background:var(--tfs-bg);padding:14px}
.tfs .scx-card>summary{cursor:pointer;font-weight:700;font-size:14px;list-style:none;display:flex;align-items:center;gap:8px}
.tfs .scx-card>summary::before{content:"";width:8px;height:8px;border-right:2px solid var(--tfs-muted);border-bottom:2px solid var(--tfs-muted);transform:rotate(-45deg);transition:transform .2s}
.tfs .scx-card[open]>summary::before{transform:rotate(45deg)}
.tfs .scx-card>summary::-webkit-details-marker{display:none}
.tfs .scx-kws{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-bottom:8px}
.tfs .scx-kw{display:flex;flex-direction:column;gap:5px;flex:1 1 200px;font-size:13px;font-weight:700}
.tfs .scx-kw.is-focus{flex-basis:100%}
.tfs .scx-kw.is-focus input{font-size:17px;font-weight:600;padding:12px 14px;border-color:var(--tfs-accent)}
.tfs .scx-kw-line{display:flex;gap:6px}.tfs .scx-kw-line input{flex:1;min-width:0}
.tfs .scx-x{flex:none;width:32px;border:1px solid var(--tfs-border);border-radius:8px;background:var(--tfs-soft);color:var(--tfs-muted);font-size:18px;cursor:pointer}
.tfs .scx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.tfs .scx-grid .tfs-field,.tfs .scx-snip-body .tfs-field{margin:0}
.tfs .scx-import-body,.tfs .scx-snip-body{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.tfs .scx-iline{display:flex;gap:8px}.tfs .scx-iline input{flex:1;min-width:0}
.tfs .scx-file{position:relative;align-self:flex-start;cursor:pointer}.tfs .scx-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.tfs .scx-inline{display:flex;gap:6px;flex-wrap:wrap;margin-top:-4px}
.tfs .scx-meter{margin-top:-4px}.tfs .scx-meter small{display:block;font-size:12px;color:var(--tfs-muted);margin-top:3px}
.tfs .scx-bar{height:6px;border-radius:99px;background:var(--tfs-border);overflow:hidden}.tfs .scx-bar i{display:block;height:100%;border-radius:99px;transition:width .3s}
.tfs .scx-bar.is-good i{background:var(--tfs-good)}.tfs .scx-bar.is-ok i{background:var(--tfs-warn)}.tfs .scx-bar.is-bad i{background:var(--tfs-bad)}
.tfs .scx-preview{padding:12px;border:1px solid var(--tfs-border);border-radius:12px;background:#fff;color:#202124}
html[data-tl-theme="dark"] .tfs .scx-preview{background:#202124;color:#e8eaed}
.tfs .scx-social{max-width:520px;border:1px solid #dadde1;border-radius:8px;overflow:hidden;font-family:Helvetica,Arial,sans-serif}
.tfs .scx-social-img{aspect-ratio:1.91/1;background:#e4e6eb center/cover;display:grid;place-items:center;color:#65676b;font-size:13px;padding:10px;text-align:center}
.tfs .scx-social-tx{padding:10px 12px;background:#f0f2f5;display:flex;flex-direction:column;gap:3px;color:#1c1e21}
.tfs .scx-social-tx small{color:#65676b;font-size:12px}.tfs .scx-social-tx span{font-size:14px;color:#606770}
.tfs .scx-tabs{display:flex;gap:4px;flex-wrap:wrap}
.tfs .scx-tab{border:1px solid var(--tfs-border);background:var(--tfs-bg);color:var(--tfs-text);border-radius:999px;padding:6px 11px;font-size:12.5px;font-weight:700;cursor:pointer}
.tfs .scx-tab.is-on{background:var(--tfs-accent);border-color:var(--tfs-accent);color:#fff}
.tfs .scx-editor{padding:0;overflow:hidden}
.tfs .scx-bar-tools{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:3px;align-items:center;padding:6px;border-bottom:1px solid var(--tfs-border);background:var(--tfs-soft)}
.tfs .scx-tb{display:inline-grid;place-items:center;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:var(--tfs-text);cursor:pointer}
.tfs .scx-tb:hover,.tfs .scx-tb.is-on{background:var(--tfs-bg);box-shadow:0 0 0 1px var(--tfs-border)}
.tfs .scx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tfs .scx-fmt{height:34px;padding:0 8px;border:1px solid var(--tfs-border);border-radius:8px;background:var(--tfs-bg);color:var(--tfs-text);font-size:13px;width:auto}
.tfs .scx-menu{position:relative}.tfs .scx-menu>summary{list-style:none;cursor:pointer}.tfs .scx-menu>summary::-webkit-details-marker{display:none}
.tfs .scx-menu-list{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:230px;max-height:340px;overflow:auto;padding:6px;border:1px solid var(--tfs-border);border-radius:12px;background:var(--tfs-bg);box-shadow:0 12px 30px rgba(0,0,0,.15)}
.tfs .scx-draft{display:flex;gap:4px}.tfs .scx-draft .tfs-dl-item{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfs .scx-doc{min-height:440px;padding:22px 26px;outline:0;font-size:17px;line-height:1.75;color:var(--tfs-text);overflow-wrap:anywhere}
.tfs .scx-doc:empty::before{content:attr(data-ph);color:var(--tfs-muted)}
.tfs .scx-doc h1{font-size:2em;margin:.6em 0 .3em}.tfs .scx-doc h2{font-size:1.5em;margin:1.1em 0 .4em}.tfs .scx-doc h3{font-size:1.25em;margin:1em 0 .4em}.tfs .scx-doc h4{font-size:1.08em}
.tfs .scx-doc p{margin:0 0 1em}.tfs .scx-doc img{max-width:100%;height:auto;border-radius:8px}
.tfs .scx-doc blockquote{margin:1em 0;padding:.4em 1em;border-left:4px solid var(--tfs-accent);background:var(--tfs-soft)}
.tfs .scx-doc table{border-collapse:collapse;width:100%}.tfs .scx-doc th,.tfs .scx-doc td{border:1px solid var(--tfs-border);padding:6px 8px}
.tfs .scx-doc a{color:var(--tfs-accent)}
.tfs .scx-marked{cursor:pointer;background:repeating-linear-gradient(0deg,transparent 0 30px,rgba(127,127,127,.03) 30px 31px)}
.tfs .scx-hl{background:#fde68a;color:inherit;border-radius:3px;padding:0 1px;box-shadow:0 0 0 1px #f59e0b}
.tfs .scx-hlblock{outline:2px solid #f59e0b;outline-offset:3px;border-radius:4px;background:rgba(253,230,138,.35)}
html[data-tl-theme="dark"] .tfs .scx-hl{background:#a16207;color:#fff}
.tfs .scx-hlbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:#fef3c7;color:#92400e;font-size:13px;font-weight:600}
.tfs .scx-src{display:block;width:100%;min-height:440px;border:0;border-radius:0;padding:16px;font:13px/1.6 ui-monospace,Menlo,Consolas,monospace;background:var(--tfs-code-bg,#0f172a);color:var(--tfs-code-text,#e2e8f0)}
.tfs .scx-find{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:8px;border-bottom:1px solid var(--tfs-border)}.tfs .scx-find input{flex:1 1 140px;min-width:0;padding:7px 10px}
.tfs .scx-counts{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;padding:10px 14px;border-top:1px solid var(--tfs-border);background:var(--tfs-soft);font-size:12.5px;color:var(--tfs-muted)}
.tfs .scx-counts b{color:var(--tfs-text);font-size:14px}
.tfs .scx-goal{display:inline-flex;align-items:center;gap:6px}.tfs .scx-goal input{width:96px;padding:4px 8px;font-size:12px}
.tfs .scx-goalbar{display:inline-block;width:80px;height:6px;border-radius:9px;background:var(--tfs-border);overflow:hidden}.tfs .scx-goalbar b{display:block;height:100%;background:var(--tfs-good)}
.tfs .scx-sel{color:var(--tfs-accent);font-weight:600}
.tfs .scx-scores{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.tfs .scx-ring{position:relative;width:86px;display:flex;flex-direction:column;align-items:center;gap:2px}
.tfs .scx-ring svg{width:74px;height:74px}.tfs .scx-ring b{position:absolute;top:22px;font-size:24px;font-weight:800;color:var(--tfs-text)}
.tfs .scx-ring span{font-size:12px;font-weight:700;color:var(--tfs-text)}
.tfs .scx-ring.is-good{color:var(--tfs-good)}.tfs .scx-ring.is-ok{color:var(--tfs-warn)}.tfs .scx-ring.is-bad{color:var(--tfs-bad)}
.tfs .scx-lights{display:flex;flex-direction:column;gap:4px;font-size:12.5px;margin-left:auto}
.tfs .scx-lights span::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;background:currentColor}
.tfs .scx-lights .is-bad{color:var(--tfs-bad)}.tfs .scx-lights .is-ok{color:var(--tfs-warn)}.tfs .scx-lights .is-good{color:var(--tfs-good)}
.tfs .scx-lights b{color:var(--tfs-text)}
.tfs .scx-panel{display:flex;flex-direction:column;gap:10px;padding:12px}
.tfs .scx-panel .tfs-section{margin:0;padding:10px;border-radius:10px}
.tfs .scx-hint{margin:0;padding:10px;border-radius:10px;background:var(--tfs-warn-bg,#fef3c7);font-size:13px}
.tfs .scx-group>summary{cursor:pointer;font-weight:700;font-size:13.5px;padding:4px 0}
.tfs .scx-group.is-bad>summary{color:var(--tfs-bad)}.tfs .scx-group.is-ok>summary{color:var(--tfs-warn)}.tfs .scx-group.is-good>summary{color:var(--tfs-good)}
.tfs .scx-checks{list-style:none;margin:4px 0 6px;padding:0;display:flex;flex-direction:column;gap:2px}
.tfs .scx-checks li{display:flex;gap:9px;align-items:flex-start;padding:7px 6px;border-radius:8px;font-size:13.5px;line-height:1.45}
.tfs .scx-checks li:hover{background:var(--tfs-soft)}
.tfs .scx-checks li>div{flex:1;min-width:0}.tfs .scx-checks p{margin:0}
.tfs .scx-checks small{display:block;margin-top:3px;color:var(--tfs-muted);font-size:12.5px}
.tfs .scx-dot{flex:none;width:11px;height:11px;margin-top:5px;border-radius:50%;background:var(--tfs-muted)}
.tfs .scx-checks .is-bad .scx-dot{background:var(--tfs-bad)}.tfs .scx-checks .is-ok .scx-dot{background:var(--tfs-warn)}.tfs .scx-checks .is-good .scx-dot{background:var(--tfs-good)}
.tfs .scx-eye{flex:none;display:grid;place-items:center;width:30px;height:28px;border:1px solid var(--tfs-border);border-radius:8px;background:var(--tfs-bg);color:var(--tfs-muted);cursor:pointer}
.tfs .scx-eye svg{width:16px;height:16px}.tfs .scx-eye.is-on{background:var(--tfs-accent);border-color:var(--tfs-accent);color:#fff}
.tfs .scx-strip{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}.tfs .scx-strip i{height:16px;border-radius:4px;background:var(--tfs-border)}.tfs .scx-strip i.is-on{background:var(--tfs-good)}
.tfs .scx-words{display:flex;flex-direction:column;gap:3px}
.tfs .scx-word{display:flex;align-items:center;gap:8px;font-size:13px;padding:3px 4px;border-bottom:1px dashed var(--tfs-border)}
.tfs .scx-word span{flex:1;min-width:0}.tfs .scx-word b{font-size:12px;color:var(--tfs-muted)}.tfs .scx-word .tfs-mini{padding:1px 8px}
.tfs .scx-outline-row{display:flex;gap:8px;align-items:baseline;padding:4px 6px;border-radius:6px;font-size:13px;cursor:pointer}
.tfs .scx-outline-row:hover{background:var(--tfs-soft)}
.tfs .scx-outline-row b{flex:none;font-size:11px;padding:1px 5px;border-radius:5px;background:var(--tfs-soft);color:var(--tfs-accent)}
.tfs .scx-outline-row em{margin-left:auto;font-style:normal;font-size:11px;color:var(--tfs-bad)}
.tfs .scx-outline-row.lvl-3{padding-left:22px}.tfs .scx-outline-row.lvl-4{padding-left:38px}.tfs .scx-outline-row.lvl-5,.tfs .scx-outline-row.lvl-6{padding-left:52px}
.tfs .scx-links{display:flex;flex-direction:column;gap:4px;font-size:12.5px}
.tfs .scx-link{display:flex;gap:6px;align-items:baseline;overflow-wrap:anywhere}.tfs .scx-link b{flex:none;font-size:10.5px;padding:1px 6px;border-radius:5px}
.tfs .scx-link .is-int{background:#dcfce7;color:#166534}.tfs .scx-link .is-ext{background:#e0e7ff;color:#3730a3}.tfs .scx-link em{font-size:11px;color:var(--tfs-muted)}
.tfs .scx-img{display:flex;gap:8px;align-items:center;margin-bottom:6px}.tfs .scx-img img{width:48px;height:36px;object-fit:cover;border-radius:6px;background:var(--tfs-soft)}.tfs .scx-img input{flex:1;min-width:0;padding:6px 8px;font-size:12.5px}
.tfs .scx-idea{display:flex;flex-direction:column;gap:4px;padding:8px;border:1px solid var(--tfs-border);border-radius:10px;margin-top:6px;font-size:13px}
.tfs .scx-idea span{color:var(--tfs-muted)}.tfs .scx-idea div{display:flex;gap:4px;flex-wrap:wrap}.tfs .scx-idea .tfs-mini{align-self:flex-start}
.tfs .scx-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.tfs .scx-chip{display:inline-flex;align-items:center;gap:2px;padding:2px 2px 2px 9px;border:1px solid var(--tfs-border);border-radius:99px;font-size:12.5px;background:var(--tfs-bg)}
.tfs .scx-chip button{border:0;background:var(--tfs-soft);color:var(--tfs-accent);font-weight:700;font-size:11px;border-radius:99px;padding:3px 7px;cursor:pointer}
.tfs .scx-report{margin:0}
.tfs .scx.is-full{position:fixed;inset:0;z-index:99999;background:var(--tfs-bg);padding:14px;overflow:auto;grid-template-columns:minmax(0,1fr) 400px}
.tfs .scx.is-full .scx-side{max-height:calc(100vh - 28px);top:0}
body.scx-noscroll{overflow:hidden}
@media (max-width:980px){.tfs .scx,.tfs .scx.is-full{grid-template-columns:1fr}.tfs .scx-side{position:static;max-height:none;overflow:visible}}
@media (max-width:640px){.tfs .scx-doc{padding:16px 14px;font-size:16px;min-height:320px}.tfs .scx-card{padding:12px}.tfs .scx-iline{flex-direction:column}.tfs .scx-tb{width:38px;height:38px}.tfs .scx-ring{width:76px}.tfs .scx-ring svg{width:64px;height:64px}.tfs .scx-ring b{top:18px;font-size:20px}}
@media print{.tfs .scx-bar-tools,.tfs .scx-import,.tfs .scx-tabs{display:none!important}.tfs .scx{display:block}.tfs .scx-side{position:static;max-height:none}}
.tfs .scx-snip-body>*,.tfs .scx-import-body>*,.tfs .scx-setup>*{flex:none}
.tfs .scx-snip-body .tfs-field,.tfs .scx-grid .tfs-field{min-height:0;height:auto}
.tfs .scx-kcard{padding:8px;border:1px solid var(--tfs-border);border-radius:10px;margin-bottom:6px}
.tfs .scx-kcard>b{display:block;font-size:13.5px;margin-bottom:6px}
.tfs .scx-kgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.tfs .scx-kgrid span{display:flex;flex-direction:column;align-items:center;padding:5px 2px;border-radius:7px;background:var(--tfs-soft);text-align:center}
.tfs .scx-kgrid small{font-size:10.5px;color:var(--tfs-muted)}.tfs .scx-kgrid strong{font-size:13px}
.tfs .scx-kgrid .is-good strong{color:var(--tfs-good)}.tfs .scx-kgrid .is-bad strong{color:var(--tfs-bad)}.tfs .scx-kgrid .is-ok strong{color:var(--tfs-warn)}
.tfs .scx .scx-editor{padding:0}
.tfs .scx-float{display:none}
@media (max-width:980px){.tfs .scx-float{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:50;display:flex;gap:12px;padding:9px 16px;border:0;border-radius:999px;background:var(--tfs-text);color:var(--tfs-bg);font-size:13px;font-weight:700;box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer}
.tfs .scx-float span::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px;background:currentColor}
.tfs .scx-float .is-good::before{background:#22c55e}.tfs .scx-float .is-ok::before{background:#f59e0b}.tfs .scx-float .is-bad::before{background:#ef4444}}
@media print{.tfs .scx-float{display:none!important}}
/* SEO Content Checker 2: scrolling editor box, issue dots, dialogs, ideas, phone sheet */
.tfs .scx-editor .scx-doc,.tfs .scx-editor .scx-marked{height:min(68vh,720px);min-height:320px;max-height:none;overflow:auto;resize:vertical;padding-left:40px;overscroll-behavior:contain}
.tfs .scx-editor .scx-src{height:min(68vh,720px);resize:vertical}
.tfs .scx-bar-tools{position:static}
.tfs .scx-tb{flex:none;padding:0;min-width:34px;width:auto;line-height:1;font-size:12.5px;font-weight:700}
.tfs .scx-tb:not(:has(svg)){padding:0 9px}
.tfs .scx-tb.is-alert{color:#fff;background:var(--tfs-bad)}
.tfs .scx-doc .scx-flag{position:relative}
.tfs .scx-doc .scx-flag::before{content:attr(data-scx);position:absolute;left:-30px;top:.25em;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font:700 11px/1 system-ui,sans-serif;color:#fff;background:var(--tfs-warn);cursor:pointer;box-shadow:0 0 0 3px var(--tfs-bg)}
.tfs .scx-doc .scx-flag.is-bad::before{background:var(--tfs-bad)}
.tfs .scx-doc p.scx-flag,.tfs .scx-doc li.scx-flag{background:linear-gradient(90deg,rgba(245,158,11,.08),transparent 60%)}
.tfs .scx-doc .scx-flag.is-bad{background:linear-gradient(90deg,rgba(220,38,38,.07),transparent 60%)}
.tfs .scx-doc img.scx-flag{outline:3px dashed var(--tfs-bad);outline-offset:2px;cursor:pointer}
.tfs .scx-doc li.scx-flag::before{left:-58px}
.tfs .scx-doc .scx-flash{animation:tfsFlash 1.4s ease}
.tfs .scx-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:16px;background:rgba(15,23,42,.45);backdrop-filter:blur(2px)}
.tfs .scx-modal-box{width:min(480px,100%);max-height:88vh;display:flex;flex-direction:column;border-radius:16px;background:var(--tfs-bg);color:var(--tfs-text);box-shadow:0 24px 60px rgba(0,0,0,.3);overflow:hidden}
.tfs .scx-modal-box.is-wide{width:min(680px,100%)}
.tfs .scx-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--tfs-border)}
.tfs .scx-modal-head strong{font-size:16px}
.tfs .scx-modal-body{padding:14px 16px;overflow:auto;display:flex;flex-direction:column;gap:10px}
.tfs .scx-modal-body .tfs-field{flex:none;margin:0}
.tfs .scx-modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--tfs-border);background:var(--tfs-soft)}
.tfs .scx-modal-foot:empty{display:none}
.tfs .tfs-mini-danger{background:var(--tfs-bad)!important;border-color:var(--tfs-bad)!important;color:#fff!important}
.tfs .scx-quote{margin:0;padding:10px 12px;border-left:4px solid var(--tfs-accent);background:var(--tfs-soft);border-radius:0 10px 10px 0;font-size:14px;line-height:1.55;max-height:180px;overflow:auto}
.tfs .scx-aifix{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--tfs-border);border-radius:12px}
.tfs .scx-fixbtns{display:flex;flex-wrap:wrap;gap:6px}
.tfs .scx-aitext{width:100%;font-size:14px;line-height:1.55}
.tfs .scx-thumb{max-width:100%;max-height:200px;border-radius:10px;object-fit:contain;background:var(--tfs-soft)}
.tfs .scx-ver{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--tfs-border);border-radius:10px}
.tfs .scx-ver>div{flex:1;min-width:0;display:flex;flex-direction:column}.tfs .scx-ver small{color:var(--tfs-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfs .scx-ver.is-on{border-color:var(--tfs-accent);background:var(--tfs-soft)}
.tfs .scx-iss{padding:10px;border:1px solid var(--tfs-border);border-radius:12px;display:flex;flex-direction:column;gap:6px}
.tfs .scx-iss-head{display:flex;gap:8px;align-items:flex-start;font-size:13.5px}
.tfs .scx-num{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff;font-size:11px;background:var(--tfs-warn)}.tfs .scx-num.is-bad{background:var(--tfs-bad)}
.tfs .scx-mini-list{margin:0;padding-left:30px;font-size:12.5px;color:var(--tfs-muted)}
.tfs .scx-mini-list .is-bad{color:var(--tfs-bad)}
.tfs .scx-iss-btns{display:flex;gap:6px;justify-content:flex-end}
.tfs .scx-sugg{border:1px dashed var(--tfs-border);border-radius:12px;padding:8px 10px;background:var(--tfs-soft)}
.tfs .scx-sugg>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font-size:13px;list-style:none}
.tfs .scx-sugg>summary::-webkit-details-marker{display:none}
.tfs .scx-sugg>summary b::before{content:"▸ ";color:var(--tfs-muted)}.tfs .scx-sugg[open]>summary b::before{content:"▾ "}
.tfs .scx-sugg-list{display:flex;flex-direction:column;gap:4px;margin-top:8px;max-height:260px;overflow:auto}
.tfs .scx-sugg-item{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;text-align:left;padding:7px 10px;border:1px solid var(--tfs-border);border-radius:9px;background:var(--tfs-bg);color:var(--tfs-text);font-size:13.5px;line-height:1.35;cursor:pointer}
.tfs .scx-sugg-item:hover{border-color:var(--tfs-accent)}.tfs .scx-sugg-item.is-on{border-color:var(--tfs-good);box-shadow:inset 3px 0 0 var(--tfs-good)}
.tfs .scx-sugg-item small{flex:none;font-size:11px;font-weight:700}.tfs .scx-sugg-item small.is-good{color:var(--tfs-good)}.tfs .scx-sugg-item small.is-ok{color:var(--tfs-warn)}
.tfs .scx-sheet-head,.tfs .scx-shade{display:none}
@media (max-width:980px){
.tfs .scx-side{display:none}
.tfs .scx.is-sheet .scx-side{display:flex;position:fixed;left:0;right:0;bottom:0;top:10vh;z-index:99990;max-height:none;padding:12px;border-radius:18px 18px 0 0;background:var(--tfs-bg);box-shadow:0 -12px 40px rgba(0,0,0,.25);overflow:auto}
.tfs .scx.is-sheet .scx-sheet-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-12px;z-index:2;margin:-12px -12px 0;padding:12px;background:var(--tfs-bg);border-bottom:1px solid var(--tfs-border)}
.tfs .scx.is-sheet .scx-shade{display:block;position:fixed;inset:0;z-index:99980;background:rgba(15,23,42,.4)}
.tfs .scx.is-sheet .scx-float{display:none}
.tfs .scx-editor .scx-doc,.tfs .scx-editor .scx-marked{height:60vh;padding-left:34px}
.tfs .scx-modal{align-items:end;padding:0}.tfs .scx-modal-box,.tfs .scx-modal-box.is-wide{width:100%;max-height:90vh;border-radius:18px 18px 0 0}
}
.tfs .scx-aitext{font-family:inherit}
/* SEO Content Checker 3: auto-fix */
.tfs .scx-tb.is-auto{background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff}
.tfs .scx-autobar{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:linear-gradient(135deg,rgba(124,58,237,.1),rgba(37,99,235,.1));font-size:13px}
.tfs .scx-autobar span{flex:1}
.tfs .scx-afg{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--tfs-border);border-radius:12px}
.tfs .scx-afg>b{font-size:13px;color:var(--tfs-muted);text-transform:uppercase;letter-spacing:.03em}
.tfs .scx-afrow{display:flex;gap:10px;align-items:flex-start;padding:6px 4px;border-radius:8px;cursor:pointer}
.tfs .scx-afrow:hover{background:var(--tfs-soft)}
.tfs .scx-afrow input{flex:none;width:18px;height:18px;margin-top:2px;accent-color:var(--tfs-accent)}
.tfs .scx-afrow>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tfs .scx-afrow strong{font-size:14px}.tfs .scx-afrow small{font-size:12.5px;color:var(--tfs-muted);overflow-wrap:anywhere}
.tfs .scx-afst{flex:none;font-style:normal;font-weight:700;font-size:13px}
.tfs .scx-afrow.is-run .scx-afst::after{content:"…";animation:tfsBlink 1s infinite}
.tfs .scx-afrow.is-done .scx-afst{color:var(--tfs-good)}.tfs .scx-afrow.is-fail .scx-afst{color:var(--tfs-bad)}
@keyframes tfsBlink{50%{opacity:.2}}
.tfs .scx-afmsg{margin:0;font-weight:600;font-size:13.5px}
.tfs .scx-linkrow{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:13px}
.tfs .scx-linkrow span{flex:1 1 160px;min-width:0}.tfs .scx-linkrow input{flex:1 1 140px;min-width:0;padding:6px 8px;font-size:12.5px}
.tfs .scx-plan{margin:0;padding:8px 10px;border-radius:10px;font-size:13.5px;font-weight:600}
.tfs .scx-plan.is-ok{background:rgba(245,158,11,.12)}.tfs .scx-plan.is-good{background:rgba(22,163,74,.1)}
.tfs .scx-fact{margin:4px 0;font-size:12.5px;color:var(--tfs-muted);font-style:italic}
.tfs .scx-afsum{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.tfs .scx-afsum li{display:flex;flex-direction:column;gap:1px;padding:7px 10px 7px 30px;border-radius:9px;background:var(--tfs-soft);position:relative;font-size:14px;font-weight:600}
.tfs .scx-afsum li small{font-weight:400;font-size:12.5px;color:var(--tfs-muted);overflow-wrap:anywhere}
.tfs .scx-afsum li::before{content:"•";position:absolute;left:12px;top:7px;color:var(--tfs-accent)}
.tfs .scx-afsum li.is-run::before{content:"…";animation:tfsBlink 1s infinite}
.tfs .scx-afsum li.is-done::before{content:"✓";color:var(--tfs-good)}.tfs .scx-afsum li.is-skip::before{content:"–";color:var(--tfs-muted)}.tfs .scx-afsum li.is-fail::before{content:"✗";color:var(--tfs-bad)}
.tfs .scx-prog{height:8px;border-radius:99px;background:var(--tfs-border);overflow:hidden}.tfs .scx-prog i{display:block;height:100%;width:0;background:linear-gradient(90deg,#7c3aed,#2563eb);transition:width .4s}
.tfs .scx-toast{display:flex;align-items:center;gap:10px;padding:10px 14px;font-size:14px;font-weight:600;border-bottom:1px solid var(--tfs-border)}
.tfs .scx-toast span{flex:1}
.tfs .scx-toast.is-good{background:rgba(22,163,74,.12);color:#166534}.tfs .scx-toast.is-ok{background:rgba(245,158,11,.14);color:#92400e}
html[data-tl-theme="dark"] .tfs .scx-toast.is-good{color:#86efac}html[data-tl-theme="dark"] .tfs .scx-toast.is-ok{color:#fcd34d}
.tfs .scx-modal-foot{flex-wrap:wrap}
/* Clear button beside the main button of every tool */
.tfs .tfs-actions{align-items:center}
.tfs .tfs-clear{margin-left:auto;display:inline-flex;align-items:center;gap:4px;padding:9px 14px;border:1px solid var(--tfs-border);border-radius:10px;background:var(--tfs-bg);color:var(--tfs-muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none;line-height:1.2}
.tfs .tfs-clear:hover{color:var(--tfs-bad);border-color:var(--tfs-bad);background:var(--tfs-bg)}
.tfs .tfs-head .tfs-clear-head{margin-left:auto;margin-right:8px;align-self:flex-start;padding:8px 12px;font-size:13px}
/* Full screen for text tools: the whole tool fills the window, with an exit button */
.tfs .tfs-fs{position:fixed;inset:0;z-index:99999;margin:0;padding:56px 18px 18px;background:var(--tfs-bg);overflow:auto;display:flex;flex-direction:column;gap:12px}
.tfs .tfs-fs .tfs-editbar{position:sticky;top:-56px;z-index:3}
.tfs .tfs-fs textarea{min-height:60vh;font-size:17px;line-height:1.7}
.tfs .tfs-fs-exit{position:fixed;top:10px;right:14px;z-index:100000;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:0;border-radius:999px;background:var(--tfs-text);color:var(--tfs-bg);font:inherit;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.2)}
body.tfs-noscroll{overflow:hidden}
.admin-bar .tfs .tfs-fs{top:0}
/* Quick clean chips under the text toolbar */
.tfs .tfs-quick{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 8px;font-size:12.5px}
.tfs .tfs-quick>b{color:var(--tfs-muted);font-weight:700;margin-right:2px}
.tfs .tfs-quick-chip{padding:5px 10px;border:1px solid var(--tfs-border);border-radius:999px;background:var(--tfs-bg);color:var(--tfs-text);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none;line-height:1.3}
.tfs .tfs-quick-chip:hover{border-color:var(--tfs-accent);color:var(--tfs-accent)}
.tfs .tfs-quick-chip.is-more{color:var(--tfs-accent)}
.tfs .tfs-quick-msg{flex-basis:100%;color:var(--tfs-good);font-weight:600;min-height:1em}
.tfs .tfs-eb-list{max-height:min(420px,60vh);overflow:auto}
/* Find & replace with coloured matches */
.tfs .tfs-findbar{flex-direction:column;align-items:stretch}
.tfs .tfs-fr-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.tfs .tfs-fr-count{min-width:70px;font-size:13px;font-weight:700;color:var(--tfs-accent);text-align:center}
.tfs .tfs-fr-count.is-none{color:var(--tfs-bad)}
.tfs .tfs-fr-list{display:flex;flex-direction:column;gap:2px;max-height:180px;overflow:auto}
.tfs .tfs-fr-list:empty{display:none}
.tfs .tfs-fr-hit{display:flex;align-items:baseline;gap:8px;width:100%;text-align:left;padding:5px 8px;border:0;border-radius:7px;background:transparent;color:var(--tfs-text);font:inherit;font-size:13px;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none;line-height:1.4}
.tfs .tfs-fr-hit:hover{background:var(--tfs-soft)}.tfs .tfs-fr-hit.is-cur{background:rgba(249,115,22,.12)}
.tfs .tfs-fr-hit b{flex:none;min-width:22px;color:var(--tfs-muted);font-size:11px}
.tfs .tfs-fr-hit span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfs .tfs-fr-hit small{flex:none;color:var(--tfs-muted);font-size:11px}
.tfs .tfs-fr-hit mark,.tfs .tfs-hlmirror mark{background:#fde047;color:inherit;border-radius:3px}
.tfs .tfs-hlwrap{position:relative;display:block}
.tfs .tfs-hlmirror{position:absolute;left:0;top:0;overflow:hidden;white-space:pre-wrap;overflow-wrap:break-word;word-wrap:break-word;color:transparent;border-style:solid;border-color:transparent;pointer-events:none;z-index:0;display:none;margin:0}
.tfs .tfs-hlmirror mark{color:transparent;box-shadow:0 0 0 1px #eab308}
.tfs .tfs-hlmirror mark.is-cur{background:#fb923c;box-shadow:0 0 0 2px #ea580c}
.tfs .tfs-hlwrap.is-finding .tfs-hlmirror{display:block}
.tfs .tfs-hlwrap.is-finding textarea{position:relative;z-index:1;background:transparent!important}
.tfs .tfs-hlwrap.is-finding{background:var(--tfs-bg);border-radius:12px}

/* Coloured value pills in tables (authority scores, spam, TF/CF…) */
.tfs-pill-v{display:inline-block;min-width:2.2em;padding:2px 9px;border-radius:999px;font-weight:600;font-size:.86em;line-height:1.5;text-align:center;white-space:nowrap}
.tfs-pv-s5,.tfs-pv-good{background:#dcfce7;color:#166534}
.tfs-pv-s4{background:#d1fae5;color:#065f46}
.tfs-pv-s3,.tfs-pv-mid{background:#fef3c7;color:#92400e}
.tfs-pv-s2{background:#ffedd5;color:#9a3412}
.tfs-pv-s1,.tfs-pv-bad{background:#fee2e2;color:#991b1b}
.tfs-pv-none{background:#f1f5f9;color:#64748b}
html[data-tl-theme="dark"] .tfs-pv-s5,html[data-tl-theme="dark"] .tfs-pv-good{background:#14532d;color:#bbf7d0}
html[data-tl-theme="dark"] .tfs-pv-s4{background:#064e3b;color:#a7f3d0}
html[data-tl-theme="dark"] .tfs-pv-s3,html[data-tl-theme="dark"] .tfs-pv-mid{background:#78350f;color:#fde68a}
html[data-tl-theme="dark"] .tfs-pv-s2{background:#7c2d12;color:#fed7aa}
html[data-tl-theme="dark"] .tfs-pv-s1,html[data-tl-theme="dark"] .tfs-pv-bad{background:#7f1d1d;color:#fecaca}
html[data-tl-theme="dark"] .tfs-pv-none{background:#1e293b;color:#94a3b8}
.tfs .tfs-table td[data-label="Domain"]{white-space:nowrap;font-weight:600}
.tfs-pv-lock{background:#fef3c7;color:#92400e;border:1px solid #fcd34d;font-size:.8em}
html[data-tl-theme="dark"] .tfs-pv-lock{background:#3a2c0f;color:#fbbf24;border-color:#92400e}

/* ---- Domain search results (registrar style) ---- */
.tfs .tfs-dn{font-size:1.05em;word-break:break-all}.tfs .tfs-dn b{font-weight:800}.tfs .tfs-dn-tld{color:var(--tfs-accent);font-weight:800}
.tfs .tfs-dhero{border:2px solid var(--tfs-border);border-radius:18px;padding:22px 24px;margin:14px 0 18px;background:var(--tfs-card);box-shadow:0 8px 28px rgba(15,23,42,.06)}
.tfs .tfs-dhero-available{border-color:#22c55e;background:linear-gradient(135deg,rgba(34,197,94,.10),transparent 60%),var(--tfs-card)}
.tfs .tfs-dhero-taken{border-color:#f87171;background:linear-gradient(135deg,rgba(248,113,113,.10),transparent 60%),var(--tfs-card)}
.tfs .tfs-dhero-sale{border-color:#f59e0b;background:linear-gradient(135deg,rgba(245,158,11,.12),transparent 60%),var(--tfs-card)}
.tfs .tfs-dhero-top{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.tfs .tfs-dhero-icon{flex:0 0 52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:26px;font-weight:900;color:#fff;background:#94a3b8}
.tfs .tfs-dhero-available .tfs-dhero-icon{background:#16a34a}.tfs .tfs-dhero-taken .tfs-dhero-icon{background:#dc2626}.tfs .tfs-dhero-sale .tfs-dhero-icon{background:#d97706}
.tfs .tfs-dhero-text{flex:1 1 260px;min-width:0}
.tfs .tfs-dhero-name{font-size:clamp(22px,3.4vw,30px);line-height:1.2}
.tfs .tfs-dhero-head{font-weight:700;font-size:16px;margin-top:4px}
.tfs .tfs-dhero-available .tfs-dhero-head{color:#15803d}.tfs .tfs-dhero-taken .tfs-dhero-head{color:#b91c1c}.tfs .tfs-dhero-sale .tfs-dhero-head{color:#b45309}
.tfs .tfs-dhero-sub{color:var(--tfs-muted);font-size:14px;margin-top:4px}
.tfs .tfs-dhero-acts{display:flex;gap:8px;flex-wrap:wrap}
.tfs .tfs-dhero-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:18px}
.tfs .tfs-dfact{background:var(--tfs-soft);border-radius:12px;padding:10px 12px}.tfs .tfs-dfact span{display:block;font-size:12px;color:var(--tfs-muted)}.tfs .tfs-dfact strong{font-size:15px}
.tfs .tfs-dfact.is-warn strong{color:#b45309}.tfs .tfs-dfact.is-bad strong{color:#b91c1c}.tfs .tfs-dfact.is-good strong{color:#15803d}
.tfs .tfs-dhero-market{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px;padding-top:14px;border-top:1px dashed var(--tfs-border)}
.tfs .tfs-dm-label{font-size:13px;color:var(--tfs-muted);margin-right:4px}
.tfs .tfs-dbtn{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border-radius:10px;font-weight:700;font-size:14px;text-decoration:none!important;white-space:nowrap;border:1px solid var(--tfs-border);color:var(--tfs-text);background:var(--tfs-card);transition:transform .12s,box-shadow .12s}
.tfs .tfs-dbtn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(15,23,42,.12)}
.tfs .tfs-dbtn-buy{background:#16a34a;border-color:#16a34a;color:#fff!important}
.tfs .tfs-dbtn-buy2{background:#4f46e5;border-color:#4f46e5;color:#fff!important}
.tfs .tfs-dbtn-chip{padding:5px 12px;font-size:13px;border-radius:999px;background:var(--tfs-soft)}
.tfs .tfs-dfilter{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 12px}
.tfs .tfs-dchip{border:1px solid var(--tfs-border);background:var(--tfs-card);color:var(--tfs-text);border-radius:999px;padding:6px 14px;font-weight:600;font-size:13px;cursor:pointer}
.tfs .tfs-dchip.is-on{background:var(--tfs-text);color:var(--tfs-card);border-color:var(--tfs-text)}
.tfs .tfs-dlist{display:flex;flex-direction:column;border:1px solid var(--tfs-border);border-radius:14px;overflow:hidden}
.tfs .tfs-drow{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--tfs-border);background:var(--tfs-card)}
.tfs .tfs-drow:first-child{border-top:0}.tfs .tfs-drow:hover{background:var(--tfs-soft)}
.tfs .tfs-drow-main{min-width:0}.tfs .tfs-drow-meta{font-size:12.5px;color:var(--tfs-muted);margin-top:2px}
.tfs .tfs-drow-side{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.tfs .tfs-drow-side .tfs-dbtn{padding:7px 14px;font-size:13px}
.tfs .tfs-dbadge{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap}
.tfs .tfs-dbadge-available{background:#dcfce7;color:#166534}.tfs .tfs-dbadge-taken{background:#fee2e2;color:#991b1b}.tfs .tfs-dbadge-sale{background:#fef3c7;color:#92400e}.tfs .tfs-dbadge-unknown{background:#f1f5f9;color:#64748b}
html[data-tl-theme="dark"] .tfs .tfs-dbadge-available{background:#14532d;color:#bbf7d0}html[data-tl-theme="dark"] .tfs .tfs-dbadge-taken{background:#7f1d1d;color:#fecaca}html[data-tl-theme="dark"] .tfs .tfs-dbadge-sale{background:#78350f;color:#fde68a}html[data-tl-theme="dark"] .tfs .tfs-dbadge-unknown{background:#1e293b;color:#94a3b8}
@media (max-width:600px){.tfs .tfs-drow{flex-direction:column;align-items:flex-start}.tfs .tfs-drow-side{justify-content:flex-start}.tfs .tfs-dhero{padding:18px}.tfs .tfs-dhero-acts{width:100%}.tfs .tfs-dhero-acts .tfs-dbtn{flex:1}}
/* Big search box on the domain tools */
.tfs-g-seo-website-lookup .tfs-form input[name="name"],.tfs-g-seo-website-lookup .tfs-form input[name="keywords"]{font-size:20px;padding:16px 18px;border-width:2px}
@media (max-width:600px){.tfs .tfs-dhero-facts{grid-template-columns:1fr 1fr}}
/* Domain list extras: numbers, stars, shortlist, sort, per-extension badges, score */
.tfs .tfs-dhead{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:4px 0 12px}
.tfs .tfs-dhead .tfs-dfilter{margin:0}
.tfs .tfs-dsort{border:1px solid var(--tfs-border);border-radius:10px;padding:7px 10px;background:var(--tfs-card);color:var(--tfs-text);font-weight:600;font-size:13px}
.tfs .tfs-dnum{flex:0 0 28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--tfs-soft);color:var(--tfs-muted);font-weight:700;font-size:12.5px;user-select:none;-webkit-user-select:none}
.tfs .tfs-dstar{flex:0 0 auto;border:0;background:none;font-size:20px;line-height:1;color:#cbd5e1;cursor:pointer;padding:2px;user-select:none}
.tfs .tfs-dstar.is-on,.tfs .tfs-dstar:hover{color:#f59e0b}
.tfs .tfs-drow-main{flex:1 1 auto}
.tfs .tfs-drow-name{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tfs .tfs-dscore{font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px}
.tfs .tfs-dalts{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.tfs .tfs-dalt{font-size:12px;font-weight:700;padding:2px 9px;border-radius:999px;border:1px solid var(--tfs-border);text-decoration:none!important}
.tfs .tfs-dalt.is-free{background:#dcfce7;color:#166534;border-color:#86efac}.tfs .tfs-dalt.is-free:hover{background:#16a34a;color:#fff}
.tfs .tfs-dalt.is-taken{color:#94a3b8;text-decoration:line-through!important}.tfs .tfs-dalt.is-sale{color:#b45309}.tfs .tfs-dalt.is-unknown{color:#94a3b8}
.tfs .tfs-dshort{border:1px dashed #f59e0b;background:rgba(245,158,11,.07);border-radius:12px;padding:10px 14px;margin:0 0 12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tfs .tfs-dshort-names{display:flex;gap:6px;flex-wrap:wrap;flex:1 1 200px}
.tfs .tfs-dshort-chip{background:var(--tfs-card);border:1px solid var(--tfs-border);border-radius:999px;padding:3px 6px 3px 11px;font-size:13px;font-weight:600;display:inline-flex;gap:4px;align-items:center}
.tfs .tfs-dshort-chip button{border:0;background:none;cursor:pointer;color:var(--tfs-muted);font-size:15px;line-height:1}
/* Multi-select chips field */
.tfs .tfs-chipset{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.tfs .tfs-chipopt{border:1px solid var(--tfs-border);background:var(--tfs-card);color:var(--tfs-text);border-radius:999px;padding:7px 13px;font-weight:600;font-size:14px;cursor:pointer;transition:all .12s}
.tfs .tfs-chipopt:hover{border-color:var(--tfs-accent)}
.tfs .tfs-chipopt.is-on{background:var(--tfs-accent);border-color:var(--tfs-accent);color:#fff}
.tfs .tfs-chipcount{font-size:12.5px;color:var(--tfs-muted);margin-left:4px}
.tfs .tfs-chipall{border:0;background:none;color:var(--tfs-muted);font-size:12.5px;text-decoration:underline;cursor:pointer}
/* Numbered copy lists: the numbers are not part of the copied text */
.tfs .tfs-list-num{columns:2 240px;padding-left:2.2em}.tfs .tfs-list-num li{padding:2px 0;break-inside:avoid}
.tfs .tfs-list-num li::marker{color:var(--tfs-muted);font-weight:700}
@media (max-width:600px){.tfs .tfs-drow{flex-direction:row;flex-wrap:wrap;align-items:center}.tfs .tfs-drow-main{flex:1 1 60%}.tfs .tfs-drow-side{flex:1 1 100%;padding-left:64px}}
.tfs .tfs-form .tfs-field.tfs-field-full{flex:1 1 100%;width:100%;max-width:none;grid-column:1/-1}
/* Keyword overview + tables with a keyword column */
.tfs .tfs-table td[data-label="Keyword"]{min-width:210px}.tfs .tfs-table td[data-label="#"]{width:44px;white-space:nowrap}
.tfs .tfs-table td[data-label="Keyword"]{font-weight:600;font-size:15px}
.tfs .tfs-spark{display:inline-flex;align-items:flex-end;gap:2px;height:28px}.tfs .tfs-spark i{display:block;width:5px;border-radius:2px 2px 0 0;background:var(--tfs-accent);opacity:.8}
.tfs .tfs-kwcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 14px}
.tfs .tfs-kwcard{border:1px solid var(--tfs-border);border-radius:14px;padding:12px 14px;background:var(--tfs-card)}
.tfs .tfs-kwcard-l{display:block;font-size:12.5px;color:var(--tfs-muted);font-weight:600}
.tfs .tfs-kwcard strong{display:block;font-size:24px;line-height:1.25;margin-top:4px}
.tfs .tfs-kwcard small{display:block;color:var(--tfs-muted);font-size:12px;margin-top:2px}
.tfs .tfs-kwcard.is-main{background:var(--tfs-accent);border-color:var(--tfs-accent)}.tfs .tfs-kwcard.is-main *{color:#fff!important}
.tfs .tfs-kwcard.is-lock{background:#fffbeb;border-color:#fcd34d}.tfs .tfs-kwcard.is-lock strong{font-size:17px;color:#b45309}
html[data-tl-theme="dark"] .tfs .tfs-kwcard.is-lock{background:#3a2c0f;border-color:#92400e}
.tfs .tfs-kwcard.is-good strong{color:#15803d}.tfs .tfs-kwcard.is-bad strong{color:#b91c1c}
.tfs .tfs-kwgrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:12px;margin-bottom:12px}
.tfs .tfs-kwbox{border:1px solid var(--tfs-border);border-radius:14px;padding:14px;background:var(--tfs-card)}
.tfs .tfs-kwbox h4{margin:0 0 10px;font-size:14px}
.tfs .tfs-kwside{display:flex;flex-direction:column;gap:12px}
.tfs .tfs-kwbars{display:flex;align-items:flex-end;gap:4px;height:170px;padding-bottom:20px;position:relative}
.tfs .tfs-kwbar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;height:100%;position:relative}
.tfs .tfs-kwbar i{display:block;background:var(--tfs-accent);border-radius:4px 4px 0 0;min-height:3px}
.tfs .tfs-kwbar:hover i{filter:brightness(1.2)}
.tfs .tfs-kwbar span{position:absolute;bottom:-20px;left:0;font-size:10.5px;color:var(--tfs-muted);white-space:nowrap}
.tfs .tfs-kwintent{display:flex;gap:6px;flex-wrap:wrap}
.tfs .tfs-kwtag{padding:4px 11px;border-radius:999px;background:var(--tfs-soft);font-weight:700;font-size:13px}
.tfs .tfs-kwtag.is-main{background:#dbeafe;color:#1d4ed8}
.tfs .tfs-kwcountry{display:grid;grid-template-columns:110px 1fr auto;gap:8px;align-items:center;margin:6px 0;font-size:13px}
.tfs .tfs-kwc-track{height:8px;border-radius:999px;background:var(--tfs-soft);overflow:hidden}.tfs .tfs-kwc-track i{display:block;height:100%;background:var(--tfs-accent);border-radius:999px}
.tfs .tfs-kwideas{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-bottom:12px}
.tfs .tfs-kwideas-h{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.tfs .tfs-kwideas-h h4{margin:0}
.tfs .tfs-kwlist{margin:0;padding-left:1.6em}.tfs .tfs-kwlist li{padding:5px 0;border-bottom:1px dashed var(--tfs-border);font-size:14px}
.tfs .tfs-kwlist li{display:list-item}.tfs .tfs-kwlist li span{display:inline-block;max-width:78%}.tfs .tfs-kwlist li b{float:right;color:var(--tfs-muted);font-weight:700}
.tfs .tfs-kwlist li::marker{color:var(--tfs-muted);font-size:12px}
.tfs .tfs-kwlocked{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.tfs .tfs-kwlock{border:1px dashed #f59e0b;border-radius:12px;padding:12px;background:repeating-linear-gradient(135deg,transparent 0 8px,rgba(245,158,11,.05) 8px 16px)}
.tfs .tfs-kwlock strong{display:block;color:#b45309}.tfs .tfs-kwlock span{font-size:13px;color:var(--tfs-muted)}
@media (max-width:760px){.tfs .tfs-kwgrid{grid-template-columns:1fr}}
/* Progress bar while a server tool works */
.tfs .tfs-prog{border:1px solid var(--tfs-border);border-radius:14px;padding:16px 18px;background:var(--tfs-card)}
.tfs .tfs-prog-top{display:flex;justify-content:space-between;gap:10px;font-weight:700;font-size:15px;margin-bottom:10px}
.tfs .tfs-prog-step::before{content:"";display:inline-block;width:14px;height:14px;margin-right:8px;vertical-align:-2px;border:2.5px solid var(--tfs-border);border-top-color:var(--tfs-accent);border-radius:50%;animation:tfs-spin .8s linear infinite}
.tfs .tfs-prog-time{color:var(--tfs-muted);font-weight:600;font-size:13px;white-space:nowrap}
.tfs .tfs-prog-track{height:12px;border-radius:999px;background:var(--tfs-soft);overflow:hidden}
.tfs .tfs-prog-track i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,var(--tfs-accent),#22c55e);transition:width .25s linear;background-size:200% 100%;animation:tfs-prog-move 1.6s linear infinite}
@keyframes tfs-prog-move{from{background-position:0 0}to{background-position:200% 0}}
.tfs .tfs-prog-pct{display:block;text-align:right;font-size:12.5px;font-weight:700;color:var(--tfs-muted);margin-top:4px}
.tfs .tfs-prog-note{margin:4px 0 0;font-size:13px;color:var(--tfs-muted)}
/* SEO pack (AI Meta Generator, YouTube Title Generator, Blog Outline, FAQ) */
.tfs .tfs-sp-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.tfs .tfs-sp-card{border:1px solid var(--tfs-border);border-radius:14px;padding:12px 14px;background:var(--tfs-card);min-width:0}
.tfs .tfs-sp-card.is-wide{grid-column:1/-1}
.tfs .tfs-sp-card.is-focus{background:linear-gradient(135deg,color-mix(in srgb,var(--tfs-accent) 12%,var(--tfs-bg)),var(--tfs-card));border-color:color-mix(in srgb,var(--tfs-accent) 35%,var(--tfs-border))}
.tfs .tfs-sp-card-h{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--tfs-muted)}
.tfs .tfs-sp-big{display:block;font-size:19px;line-height:1.3;color:var(--tfs-text);word-break:break-word}
.tfs .tfs-sp-card.is-slug .tfs-sp-big{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px;color:#047857}
.tfs .tfs-sp-chips{display:flex;flex-wrap:wrap;gap:6px}
.tfs .tfs-sp-chip{border:1px solid var(--tfs-border);background:var(--tfs-bg);color:var(--tfs-text);border-radius:99px;padding:5px 12px;font:inherit;font-size:13.5px;cursor:pointer;transition:background .15s,border-color .15s}
.tfs .tfs-sp-chip:hover{border-color:var(--tfs-accent);color:var(--tfs-accent)}
.tfs .tfs-sp-chip.is-copied{background:#d1fae5;border-color:#10b981;color:#065f46}
.tfs .tfs-sp-note{display:block;margin-top:8px;color:var(--tfs-muted);font-size:12px}
.tfs .tfs-sp-preview{border:1px solid var(--tfs-border);border-radius:14px;padding:12px 14px 16px;background:var(--tfs-soft);margin:0 0 16px}
.tfs .tfs-sp-pv-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;font-weight:700}
.tfs .tfs-sp-tabs{display:inline-flex;background:var(--tfs-bg);border:1px solid var(--tfs-border);border-radius:99px;padding:3px}
.tfs .tfs-sp-tab{border:0;background:transparent;color:var(--tfs-muted);font:inherit;font-size:13px;font-weight:600;padding:5px 14px;border-radius:99px;cursor:pointer}
.tfs .tfs-sp-tab.is-on{background:var(--tfs-accent);color:#fff}
.tfs .tfs-sp-view .tfs-serp{max-width:640px}
.tfs .tfs-sp-view .tfs-serp-desc b{color:#202124}
.tfs .tfs-sp-yt{max-width:360px;font-family:Roboto,Arial,sans-serif}
.tfs .tfs-sp-yt.is-m{max-width:300px}
.tfs .tfs-sp-yt-thumb{position:relative;aspect-ratio:16/9;border-radius:12px;background:linear-gradient(135deg,#1f2937,#4b5563);display:flex;align-items:center;justify-content:center}
.tfs .tfs-sp-yt-play{width:52px;height:36px;border-radius:10px;background:#ff0033;color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px}
.tfs .tfs-sp-yt-time{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.8);color:#fff;font-size:12px;padding:1px 5px;border-radius:4px}
.tfs .tfs-sp-yt-meta{display:flex;gap:10px;margin-top:10px}
.tfs .tfs-sp-yt-meta i{flex:0 0 36px;height:36px;border-radius:50%;background:#e5e7eb;color:#111;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:700}
.tfs .tfs-sp-yt-title{font-size:16px;font-weight:600;line-height:1.35;color:var(--tfs-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tfs .tfs-sp-yt-meta small{color:var(--tfs-muted);font-size:13px}
.tfs .tfs-sp-opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.tfs .tfs-sp-opt{position:relative;border:1.5px solid var(--tfs-border);border-radius:14px;padding:12px 14px;background:var(--tfs-bg);cursor:pointer;transition:border-color .15s,box-shadow .15s;display:flex;flex-direction:column;gap:7px;min-width:0}
.tfs .tfs-sp-opt:hover{border-color:color-mix(in srgb,var(--tfs-accent) 50%,var(--tfs-border))}
.tfs .tfs-sp-opt.is-on{border-color:var(--tfs-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--tfs-accent) 18%,transparent)}
.tfs .tfs-sp-opt-h{display:flex;align-items:center;gap:8px}
.tfs .tfs-sp-num{flex:0 0 26px;height:26px;border-radius:50%;background:var(--tfs-soft);color:var(--tfs-muted);display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:700}
.tfs .tfs-sp-opt.is-on .tfs-sp-num{background:var(--tfs-accent);color:#fff}
.tfs .tfs-sp-angle{font-size:12px;font-weight:700;padding:2px 9px;border-radius:99px;background:#eef2ff;color:#4338ca}
.tfs .tfs-sp-grade{margin-left:auto;font-size:12px;font-weight:700;padding:2px 9px;border-radius:99px}
.tfs .tfs-sp-grade.is-good{background:#d1fae5;color:#065f46}
.tfs .tfs-sp-grade.is-warn{background:#fef3c7;color:#92400e}
.tfs .tfs-sp-grade.is-bad{background:#fee2e2;color:#991b1b}
.tfs .tfs-sp-t{font-size:16.5px;font-weight:700;line-height:1.35;color:#1a0dab;word-break:break-word}
html[data-tl-theme="dark"] .tfs .tfs-sp-t{color:#8ab4f8}
.tfs .tfs-sp-d{font-size:14px;line-height:1.55;color:var(--tfs-text);word-break:break-word}
.tfs .tfs-sp-t b,.tfs .tfs-sp-d b{background:color-mix(in srgb,#facc15 35%,transparent);border-radius:3px;padding:0 1px}
.tfs .tfs-sp-meter{display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:8px;font-size:12px;color:var(--tfs-muted)}
.tfs .tfs-sp-meter em{font-style:normal;font-weight:600}
.tfs .tfs-sp-bar{height:6px;border-radius:99px;background:var(--tfs-soft);overflow:hidden}
.tfs .tfs-sp-bar i{display:block;height:100%;border-radius:99px}
.tfs .tfs-sp-meter.is-good .tfs-sp-bar i{background:#10b981}
.tfs .tfs-sp-meter.is-warn .tfs-sp-bar i{background:#f59e0b}
.tfs .tfs-sp-meter.is-bad .tfs-sp-bar i{background:#ef4444}
.tfs .tfs-sp-meter.is-good small{color:#047857}.tfs .tfs-sp-meter.is-bad small{color:#b91c1c}
.tfs .tfs-sp-checks{display:flex;flex-wrap:wrap;gap:6px;font-size:12px}
.tfs .tfs-sp-checks span{padding:2px 8px;border-radius:6px;background:var(--tfs-soft)}
.tfs .tfs-sp-checks .is-ok{color:#047857}.tfs .tfs-sp-checks .is-no{color:#b91c1c}
.tfs .tfs-sp-act{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:4px}
@media (max-width:640px){.tfs .tfs-sp-top{grid-template-columns:1fr}.tfs .tfs-sp-opts{grid-template-columns:1fr}.tfs .tfs-sp-pv-h{flex-wrap:wrap}.tfs .tfs-sp-meter{grid-template-columns:70px 1fr}.tfs .tfs-sp-meter small{grid-column:1/-1}}
/* Batch 3: AI cards, CTA preview, text tools */
.tfs .tfs-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.tfs .tfs-card{border:1.5px solid var(--tfs-border);border-radius:14px;padding:12px 14px;background:var(--tfs-bg);display:flex;flex-direction:column;gap:8px;min-width:0}
.tfs .tfs-card-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tfs .tfs-card-len{margin-left:auto;font-size:12px;font-weight:700;color:var(--tfs-muted);background:var(--tfs-soft);padding:2px 8px;border-radius:99px}
.tfs .tfs-card-len.is-over{background:#fee2e2;color:#991b1b}
.tfs .tfs-card-text{white-space:pre-wrap;word-break:break-word;font-size:14.5px;line-height:1.6;color:var(--tfs-text)}
.tfs .tfs-card-cut{display:inline-block;margin:0 4px;padding:0 6px;border-radius:6px;background:#fef3c7;color:#92400e;font-size:11.5px;font-weight:700;vertical-align:1px}
.tfs .tfs-card-bar{height:5px}
.tfs .tfs-card-note{color:#b45309;font-size:12.5px}
.tfs .tfs-ctas{display:flex;flex-wrap:wrap;gap:14px}
.tfs .tfs-cta{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;max-width:220px}
.tfs .tfs-cta-btn{border:0;border-radius:10px;background:var(--tfs-accent);color:#fff;font:inherit;font-weight:700;padding:11px 20px;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.tfs .tfs-cta-btn.is-copied{background:#059669}
.tfs .tfs-cta small{color:var(--tfs-muted);font-size:12px}
.tfs .tfs-result-text{width:100%;box-sizing:border-box;border:1px solid var(--tfs-border);border-radius:10px;padding:10px 12px;font:13.5px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--tfs-soft);color:var(--tfs-text);resize:vertical}
.tfs .tfs-optgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:4px 14px;margin:6px 0 10px}
.tfs .tfs-md-preview{border:1px solid var(--tfs-border);border-radius:12px;padding:14px 18px;background:var(--tfs-bg);line-height:1.6;overflow:auto}
.tfs .tfs-md-preview table{border-collapse:collapse}.tfs .tfs-md-preview td,.tfs .tfs-md-preview th{border:1px solid var(--tfs-border);padding:4px 8px}
.tfs .tfs-md-preview pre{background:var(--tfs-soft);padding:10px;border-radius:8px;overflow:auto}
.tfs .tfs-rx mark{background:#fde68a;color:#111;border-radius:3px;padding:0 1px}
.tfs .tfs-contrast-pv{border-radius:14px;padding:18px 20px;margin:0 0 14px;border:1px solid var(--tfs-border)}
.tfs .tfs-contrast-pv strong{display:block;font-size:24px;margin-bottom:6px}.tfs .tfs-contrast-pv p{font-size:16px;margin:0 0 6px}.tfs .tfs-contrast-pv small{font-size:13px}
.tfs .tfs-button-ghost{background:transparent;color:var(--tfs-accent);border:1px solid var(--tfs-accent);margin-top:8px}
@media (max-width:640px){.tfs .tfs-cards{grid-template-columns:1fr}}
.tfs .tfs-json-tree{font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;max-height:520px;overflow:auto;border:1px solid var(--tfs-border);border-radius:10px;padding:8px 12px;background:var(--tfs-soft)}
.tfs .tfs-jt{margin-left:16px}.tfs .tfs-json-tree>.tfs-jt{margin-left:0}
.tfs .tfs-jt summary{cursor:pointer}.tfs .tfs-jt-meta{color:var(--tfs-muted)}
.tfs .tfs-jt-string{color:#047857}.tfs .tfs-jt-number{color:#1d4ed8}.tfs .tfs-jt-boolean{color:#7c3aed}.tfs .tfs-jt-null{color:#6b7280}

/* Trend line chart */
.tfs-trend{position:relative;width:100%}
.tfs-trend-svg{width:100%;height:auto;display:block;touch-action:pan-y}
.tfs-trend-grid{stroke:var(--tfs-line,#e5e7eb);stroke-width:1}
.tfs-trend-guide{stroke:#94a3b8;stroke-dasharray:3 3}
.tfs-trend-ax{font-size:11px;fill:var(--tfs-muted,#64748b)}
.tfs-trend-tip{position:absolute;top:8px;background:var(--tfs-card,#fff);border:1px solid var(--tfs-line,#e5e7eb);border-radius:10px;padding:8px 10px;font-size:12.5px;box-shadow:0 6px 20px rgba(15,23,42,.12);pointer-events:none;display:flex;flex-direction:column;gap:3px;min-width:140px;z-index:2}
.tfs-trend-tip span,.tfs-trend-legend span{display:flex;align-items:center;gap:6px}
.tfs-trend-tip i,.tfs-trend-legend i{width:10px;height:10px;border-radius:3px;display:inline-block;flex:none}
.tfs-trend-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 8px;font-size:13px;font-weight:600}

/* ---------- TakeNeed ---------- */
.tfs.tfs-g-tn{--tfs-accent:#4f46e5;--tfs-accent-2:#4338ca;--tfs-bg:#fff;--tfs-card:#f6f7fd;--tfs-soft:#eef0fb;--tfs-text:#0f1442;--tfs-muted:#5b6382;--tfs-border:#e2e5f3;font-family:inherit;margin:0 auto}
.tfs.tfs-g-tn .tfs-theme{display:none}
.tfs.tfs-g-tn .tfs-card{background:#fff;box-shadow:0 10px 40px -24px rgba(30,27,100,.35)}
.tfs.tfs-g-tn .tfs-button{background:linear-gradient(90deg,#0ea5e9,#4f46e5 55%,#7c3aed);border-radius:14px;min-height:54px;font-size:17px}
.tfs.tfs-g-tn .tfs-button:hover{filter:brightness(1.05)}
.tfs.tfs-g-tn .tfs-button:disabled{background:#9aa3b5;filter:none}
.tfs .tfs-au-svc{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:12px 0 0;padding:11px 16px;border:1px solid #c7c9f5;border-radius:12px;background:#f5f5ff;color:#3730a3;font-weight:700;text-decoration:none;font-size:15px;width:fit-content;max-width:100%}
.tfs .tfs-au-svc:hover{border-color:#4f46e5;background:#eef0ff}
.tfs .tfs-au-svc b{font-weight:600;color:#5b6382}
.tfs .tfs-tn-cta{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;margin:0 0 16px;padding:20px 22px;border-radius:18px;background:linear-gradient(110deg,#0ea5e9,#4f46e5 55%,#7c3aed);color:#fff}
.tfs .tfs-tn-cta h3{margin:0 0 4px;font-size:20px;color:#fff}
.tfs .tfs-tn-cta p{margin:0;opacity:.92;font-size:15px}
.tfs .tfs-tn-cta .tfs-tn-btns{display:flex;flex-wrap:wrap;gap:10px}
.tfs .tfs-tn-cta a{display:inline-flex;align-items:center;min-height:46px;padding:0 18px;border-radius:12px;background:#fff;color:#3730a3;font-weight:700;text-decoration:none}
.tfs .tfs-tn-cta a.is-ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.75)}
.tfs .tfs-tn-link{margin:0 0 14px;padding:12px 16px;border-radius:12px;background:#ecfdf5;color:#065f46;font-size:15px;word-break:break-word}
.tfs .tfs-tn-link a{color:#065f46;font-weight:700}
@media (max-width:640px){.tfs.tfs-g-tn .tfs-card{padding:16px;border-radius:16px}.tfs.tfs-g-tn .tfs-title{font-size:24px}.tfs .tfs-tn-cta{padding:18px}.tfs .tfs-tn-cta a{flex:1 1 auto;justify-content:center}}
.tfs .tfs-field input[type=email]{width:100%;height:52px;min-height:52px;padding:0 14px;border:1px solid var(--tfs-border);border-radius:12px;font:inherit;font-size:16px;background:var(--tfs-bg);color:var(--tfs-text);margin:0;box-shadow:none}
.tfs .tfs-field input[type=email]:focus{outline:2px solid var(--tfs-accent);outline-offset:1px;border-color:var(--tfs-accent)}
.tfs .tfs-au-imp,.tfs .tfs-au-grade span{font-size:12px}
@media (pointer:coarse){.tfs .tfs-ftool{min-height:36px;min-width:56px}}
