/* Toolszu Website SEO Checker — report styles (plain CSS, no Tailwind build needed). Works with sitecheck.css. */
.seo-opts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .9rem; }
.seo-opt { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: #334155; cursor: pointer; user-select: none; }
.seo-opt input { width: 1.05rem; height: 1.05rem; accent-color: #2563eb; cursor: pointer; }
.seo-opt small { color: #94a3b8; font-weight: 600; }

#sc-result .seo-wrap > * + * { margin-top: 1.25rem; }
.seo-sum { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 1.4rem; border: 1px solid #e2e8f0; border-radius: 1.1rem;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 55%); }
@media (min-width: 720px) { .seo-sum { grid-template-columns: auto minmax(0, 1fr); } }
.seo-big { --v: 0; --c: #ef4444; width: 9rem; height: 9rem; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; position: relative;
  background: radial-gradient(closest-side, #fff 82%, transparent 83% 100%), conic-gradient(var(--c) calc(var(--v) * 1%), #e2e8f0 0); }
.seo-big div { text-align: center; line-height: 1; }
.seo-big b { display: block; font-size: 2.6rem; font-weight: 800; color: var(--c); }
.seo-big span { display: block; font-size: .7rem; font-weight: 800; color: #64748b; letter-spacing: .06em; text-transform: uppercase; margin-top: .3rem; }
.seo-grade { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .55rem; border-radius: .7rem;
  font-size: 1.25rem; font-weight: 800; color: #fff; background: var(--c, #2563eb); }
.seo-sum h2 { font-size: 1.3rem; font-weight: 800; color: #0f172a; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.seo-url { font-size: .85rem; color: #475569; margin-top: .35rem; word-break: break-all; }
.seo-url a { color: #2563eb; font-weight: 700; }
.seo-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.seo-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 800; padding: .35rem .75rem; border-radius: 999px; border: 1px solid; }
.seo-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.seo-btn { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; padding: .6rem 1rem; border-radius: .7rem; border: 1px solid #e2e8f0;
  background: #fff; color: #334155; cursor: pointer; transition: all .15s; }
.seo-btn:hover { border-color: #93c5fd; color: #1d4ed8; background: #eff6ff; }
.seo-btn:disabled { opacity: .6; cursor: wait; }
.seo-btn-main { background: #2563eb; color: #fff; border-color: #2563eb; }
.seo-btn-main:hover { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }

.seo-cats { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .seo-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .seo-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seo-cat { display: block; text-align: left; border: 1px solid #e2e8f0; border-radius: .85rem; padding: .7rem .85rem; background: #fff; cursor: pointer; transition: all .15s; width: 100%; }
.seo-cat:hover { border-color: #93c5fd; box-shadow: 0 2px 8px rgba(37, 99, 235, .08); }
.seo-cat-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.seo-cat-name { font-size: .78rem; font-weight: 800; color: #334155; display: flex; align-items: center; gap: .4rem; min-width: 0; }
.seo-cat-name i { color: #2563eb; width: 1rem; text-align: center; }
.seo-cat-score { font-size: 1.05rem; font-weight: 800; flex-shrink: 0; }
.seo-cat-name { overflow-wrap: break-word; }
@media (max-width: 420px) { .seo-cat-name i { display: none; } .seo-cat-name { font-size: .72rem; } .seo-cat-score { font-size: .95rem; } .seo-cat { padding: .65rem .7rem; } }
.seo-meter { height: .4rem; border-radius: 999px; background: #e2e8f0; overflow: hidden; margin-top: .5rem; }
.seo-meter i { display: block; height: 100%; border-radius: 999px; }
.seo-cat-n { font-size: .68rem; font-weight: 700; color: #94a3b8; margin-top: .35rem; }

.seo-top { counter-reset: top; }
.seo-top li { list-style: none; display: flex; gap: .75rem; padding: .7rem 0; border-top: 1px solid #f1f5f9; }
.seo-top li:first-child { border-top: 0; padding-top: 0; }
.seo-top li::before { counter-increment: top; content: counter(top); flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; color: #fff; background: #94a3b8; }
.seo-top li.is-fail::before { background: #ef4444; } .seo-top li.is-warn::before { background: #f59e0b; }
.seo-top b { display: block; font-size: .9rem; color: #0f172a; }
.seo-top p { font-size: .82rem; color: #475569; margin-top: .15rem; line-height: 1.5; }

.seo-filter { position: sticky; top: .5rem; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem; border: 1px solid #e2e8f0; border-radius: .9rem; background: rgba(255, 255, 255, .96); box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.seo-filter .sc-seg button { font-size: .8rem; padding: .45rem .75rem; }
.seo-filter .sc-seg button span { opacity: .7; margin-left: .2rem; }
.seo-expand { font-size: .78rem; font-weight: 700; color: #2563eb; padding: .45rem .6rem; cursor: pointer; background: none; border: 0; }

.seo-sec { border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; overflow: hidden; scroll-margin-top: 5rem; }
.seo-sec-h { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .95rem 1.2rem; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.seo-sec-h h3 { font-size: 1rem; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: .55rem; }
.seo-sec-h h3 i { color: #2563eb; }
.seo-sec-score { font-size: .8rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.seo-sec-b { padding: .4rem 1.2rem 1.1rem; }

.seo-row { border-bottom: 1px solid #f1f5f9; }
.seo-row:last-child { border-bottom: 0; }
.seo-row summary, .seo-row > .seo-row-in { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem 0; list-style: none; cursor: default; }
.seo-row summary { cursor: pointer; }
.seo-row summary::-webkit-details-marker { display: none; }
.seo-ic { flex-shrink: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: #fff; margin-top: .05rem; }
.seo-ic.st-pass { background: #22c55e; } .seo-ic.st-warn { background: #f59e0b; } .seo-ic.st-fail { background: #ef4444; } .seo-ic.st-info { background: #94a3b8; }
.seo-row-t { flex: 1; min-width: 0; }
.seo-row-t b { display: block; font-size: .9rem; font-weight: 700; color: #0f172a; }
.seo-row-t span { display: block; font-size: .8rem; color: #64748b; margin-top: .1rem; word-break: break-word; }
.seo-chev { flex-shrink: 0; color: #94a3b8; font-size: .75rem; margin-top: .35rem; transition: transform .15s; }
.seo-row[open] .seo-chev { transform: rotate(180deg); }
.seo-fix { margin: 0 0 .8rem 2.25rem; padding: .65rem .85rem; border-radius: .7rem; background: #f8fafc; border: 1px solid #e2e8f0; font-size: .82rem; color: #334155; line-height: 1.55; }
.seo-fix strong { color: #0f172a; }
#seo-report[data-filter="fail"] .seo-row:not([data-st="fail"]),
#seo-report[data-filter="warn"] .seo-row:not([data-st="warn"]),
#seo-report[data-filter="pass"] .seo-row:not([data-st="pass"]),
#seo-report:not([data-filter="all"]) .seo-extra { display: none; }

.seo-extra { margin-top: .9rem; }
.seo-extra > * + * { margin-top: .9rem; }
.seo-sub { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #64748b; margin-bottom: .45rem; }
.seo-tbl-wrap { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: .75rem; }
.seo-tbl { width: 100%; border-collapse: collapse; font-size: .8rem; }
.seo-tbl th { text-align: left; font-weight: 800; color: #475569; background: #f8fafc; padding: .5rem .7rem; border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
.seo-tbl td { padding: .5rem .7rem; border-bottom: 1px solid #f1f5f9; color: #0f172a; vertical-align: top; word-break: break-word; }
.seo-tbl tr:last-child td { border-bottom: 0; }
.seo-tbl td.k { color: #64748b; font-weight: 700; white-space: nowrap; width: 1%; }
.seo-tbl td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.seo-tbl a { color: #2563eb; }
.seo-more { border: 1px solid #e2e8f0; border-radius: .75rem; }
.seo-more > summary { cursor: pointer; padding: .6rem .85rem; font-size: .82rem; font-weight: 700; color: #1d4ed8; list-style: none; }
.seo-more > summary::-webkit-details-marker { display: none; }
.seo-more > summary::before { content: "\25B8"; display: inline-block; margin-right: .4rem; transition: transform .15s; }
.seo-more[open] > summary::before { transform: rotate(90deg); }
.seo-more > div { padding: 0 .85rem .85rem; }
.seo-more .seo-tbl-wrap { border-radius: .6rem; }

.seo-tree li { list-style: none; font-size: .82rem; color: #0f172a; padding: .2rem 0; display: flex; gap: .5rem; align-items: baseline; }
.seo-tree li em { font-style: normal; flex-shrink: 0; font-size: .65rem; font-weight: 800; color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: .35rem; padding: .05rem .3rem; }
.seo-tree li.empty span { color: #dc2626; font-style: italic; }
.seo-tree { max-height: 22rem; overflow: auto; }

.seo-serp { border: 1px solid #e2e8f0; border-radius: .9rem; padding: 1rem 1.1rem; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.seo-serp.is-desk { max-width: 652px; }
.seo-serp.is-mob { max-width: 400px; }
.seo-serp-site { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; }
.seo-serp-fav { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #f1f3f4; border: 1px solid #e2e8f0; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.seo-serp-fav img { width: 1.1rem; height: 1.1rem; object-fit: contain; }
.seo-serp-site b { display: block; font-size: 14px; color: #202124; font-weight: 400; line-height: 1.3; }
.seo-serp-site span { display: block; font-size: 12px; color: #4d5156; line-height: 1.3; word-break: break-all; }
.seo-serp-t { font-size: 20px; line-height: 1.3; color: #1a0dab; margin: .1rem 0 .25rem; }
.seo-serp.is-desk .seo-serp-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 600px; }
.seo-serp.is-mob .seo-serp-t { font-size: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seo-serp-d { font-size: 14px; line-height: 1.58; color: #4d5156; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seo-serp.is-mob .seo-serp-d { -webkit-line-clamp: 3; }

.seo-share { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .seo-share { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.seo-card-prev { border: 1px solid #dadde1; border-radius: .6rem; overflow: hidden; background: #fff; max-width: 500px; }
.seo-card-img { aspect-ratio: 1.91 / 1; background: #f1f5f9; display: grid; place-items: center; color: #94a3b8; font-size: .8rem; font-weight: 700; overflow: hidden; }
.seo-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seo-card-txt { padding: .65rem .8rem; background: #f0f2f5; border-top: 1px solid #dadde1; }
.seo-card-txt small { display: block; font-size: 11px; color: #65676b; text-transform: uppercase; }
.seo-card-txt b { display: block; font-size: 15px; color: #050505; margin-top: .15rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-card-txt span { display: block; font-size: 13px; color: #65676b; margin-top: .1rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.seo-card-prev.is-x { border-radius: 1rem; }
.seo-card-prev.is-x .seo-card-txt { background: #fff; }

.seo-kw-tabs { margin-bottom: .6rem; }
.seo-stats { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .seo-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seo-stats .sc-stat b { font-size: 1.2rem; }
.seo-chip-ok, .seo-chip-bad { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; border: 1px solid; }
.seo-chip-ok { color: #15803d; background: #f0fdf4; border-color: #bbf7d0; }
.seo-chip-bad { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.seo-code { background: #0f172a; color: #e2e8f0; border-radius: .7rem; padding: .85rem; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; max-height: 360px; overflow: auto; }
.seo-gauges { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .seo-gauges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seo-gauges p { text-align: center; font-size: .8rem; font-weight: 700; color: #334155; }
.seo-foot { font-size: .75rem; color: #94a3b8; text-align: center; }
.seo-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 60; background: #0f172a; color: #fff; font-size: .85rem; font-weight: 700;
  padding: .7rem 1.1rem; border-radius: .75rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
@media (max-width: 640px) {
  .seo-sec-h { padding: .85rem 1rem; } .seo-sec-b { padding: .3rem 1rem 1rem; } .seo-fix { margin-left: 0; }
  .seo-filter { position: static; } .seo-sum { text-align: center; } .seo-sum h2, .seo-pills, .seo-actions { justify-content: center; }
}
@media print {
  .seo-actions, .seo-filter, #sc-form, .seo-opts { display: none !important; }
  .seo-row .seo-fix { display: block; }
}
