    .stats-main { max-width: 1040px; margin: 0 auto; padding: 6px 24px 60px; }
    .stats-head h1 { font-size: 28px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 8px; }
    .stats-head p { color: var(--muted); font-size: 15px; max-width: 720px; line-height: 1.5; }
    .filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; align-items: center; }
    .seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
    .seg button { background: transparent; border: 0; color: var(--muted); font: 600 13px var(--font); padding: 7px 12px; border-radius: 6px; cursor: pointer; }
    .seg button.on { background: var(--teal-soft); color: var(--text-strong); }
    .filters select {
      background: var(--card); color: var(--text); border: 1px solid var(--line-strong);
      border-radius: 8px; padding: 9px 12px; font: 500 13px var(--font); min-width: 180px; max-width: 260px;
    }
    .filters .reset { color: var(--teal); background: none; border: 0; cursor: pointer; font: 600 13px var(--font); }
    .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 26px; }
    /* призыв замерить под плитками SEO-страниц */
    .kpi-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -12px 0 26px; padding: 14px 18px; border-radius: 8px; border: 1px solid var(--teal); background: var(--teal-soft); color: var(--text-soft); text-decoration: none; font-size: 14.5px; line-height: 1.45; }
    .kpi-cta b { color: var(--text-strong); font-weight: 600; }
    .kpi-cta-btn { flex: none; padding: 10px 20px; border-radius: 22px; background: var(--teal); color: #061b19; font-weight: 700; font-size: 14px; white-space: nowrap; }
    .kpi-cta:hover .kpi-cta-btn { filter: brightness(1.1); }
    @media (max-width: 640px) { .kpi-cta { flex-direction: column; align-items: stretch; text-align: center; } .kpi-cta-btn { text-align: center; } }
    /* плитки одной высоты: подпись занимает ровно две строки, цифра прижата к низу */
    .kpi { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-soft); border-radius: 6px; padding: 14px 16px 12px; }
    .kpi-cap { color: var(--muted); font-size: 12px; line-height: 1.3; min-height: calc(2 * 1.3em); text-transform: uppercase; letter-spacing: .6px; font-weight: 600; }
    .kpi-cap em { display: block; font-style: normal; font-weight: 500; letter-spacing: .3px; text-transform: none; opacity: .75; }
    .kpi-val { font-family: var(--font-num); font-size: 52px; font-weight: 300; color: var(--text-strong); line-height: 1.05; margin-top: auto; padding-top: 10px; }
    .kpi-val small { font-size: 15px; color: var(--muted); font-family: var(--font); margin-left: 5px; }
    .kpi.dl .kpi-val { color: var(--dl); } .kpi.ul .kpi-val { color: var(--ul); } .kpi.pg .kpi-val { color: var(--gold); }
    .block { margin-top: 26px; }
    .block h2 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
    .block .sub { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
    .tbl-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card-soft); }
    table.stats { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
    table.stats th, table.stats td { padding: 11px 10px; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; vertical-align: top; }
    table.stats th { white-space: normal; }
    table.stats td.name { white-space: normal; overflow-wrap: anywhere; }
    table.stats th:first-child { width: 30%; }
    table.stats.recent th:first-child { width: 20%; }
    table.stats.recent td { white-space: normal; overflow-wrap: anywhere; }
    table.stats.recent td .num { white-space: nowrap; }
    table.stats th { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; cursor: pointer; user-select: none; }
    table.stats th.on { color: var(--text-strong); }
    /* стрелка направления сортировки (tablesort.js) */
    table.stats th.sortable:hover { color: var(--text-soft); }
    table.stats th.on.asc::after { content: " ↑"; color: var(--teal); }
    table.stats th.on.desc::after { content: " ↓"; color: var(--teal); }
    table.stats th:first-child, table.stats td:first-child { text-align: left; }
    table.stats td.name { font-weight: 600; color: var(--text); }
    table.stats td.name span { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 6px; white-space: nowrap; }
    /* метка доли мобильных замеров у строки провайдера */
    .net-tag { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 10px; font: 500 11px var(--font); font-style: normal; white-space: nowrap; vertical-align: 1px; cursor: help; }
    .net-tag.mob { color: var(--gold); background: rgba(240,180,60,.12); border: 1px solid rgba(240,180,60,.35); }
    .net-tag.mix { color: var(--muted); background: var(--hover); border: 1px solid var(--line-strong); }
    table.stats td.name a { color: inherit; text-decoration: none; }
    table.stats td.name a:hover { color: var(--dl); }
    table.stats tr:last-child td { border-bottom: 0; }
    table.stats tbody tr:hover td { background: var(--hover); }
    .bar { position: relative; display: inline-block; width: 120px; height: 8px; background: var(--line); border-radius: 4px; vertical-align: middle; margin-left: 10px; overflow: hidden; }
    .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #19d6c2, #5ff07e); }
    .bar.ul i { background: linear-gradient(90deg, #7d5bff, #c79bff); }
    .num { font-family: var(--font-num); font-size: 17px; color: var(--text-strong); }
    .muted { color: var(--muted); }
    .empty { padding: 26px; text-align: center; color: var(--muted); }
    .method { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 820px; }
    .method b { color: var(--text-soft); font-weight: 600; }
    .topnav a.go { color: var(--teal); border: 1px solid var(--teal); border-radius: 20px; padding: 7px 14px; }
    @media (max-width: 640px) {
      .stats-main { padding: 6px 14px 40px; }
      .stats-head h1 { font-size: 22px; }
      .filters select { min-width: 0; flex: 1; }
      .bar { display: none; }
      table.stats { font-size: 12.5px; }
      table.stats th, table.stats td { padding: 8px 5px; }
      table.stats th { font-size: 10px; letter-spacing: 0; }
      .num { font-size: 15px; }
      /* на телефоне прячем «Устройств» и в последних замерах — устройство и сеть */
      table.stats:not(.recent) th:nth-child(3), table.stats:not(.recent) td:nth-child(3) { display: none; }
      table.stats.recent th:nth-child(3), table.stats.recent td:nth-child(3),
      table.stats.recent th:nth-child(4), table.stats.recent td:nth-child(4) { display: none; }
      table.stats th:first-child { width: 34%; }
      table.stats.recent th:first-child { width: 30%; }
      .kpi-val { font-size: 38px; }
    }
  

/* ===== SEO-страницы (Go-рендер) ===== */
.topbar .brand { text-decoration: none; }
.topnav a.go { color: var(--teal); border: 1px solid var(--teal); border-radius: 20px; padding: 7px 14px; }
.topnav a.go:hover { background: var(--teal-soft); color: var(--text-strong); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text-strong); }
.crumbs b { color: var(--text-soft); font-weight: 500; }
.prose { max-width: 820px; margin-top: 22px; color: var(--text-soft); font-size: 15px; line-height: 1.65; }
.prose h2 { font-size: 19px; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.prose p { margin-bottom: 12px; }
.prose b { color: var(--text-strong); font-weight: 600; }
.prose a { color: var(--teal); }
.prose .note { background: var(--hover); border: 1px solid var(--gold); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.prose a.cta { display: inline-flex; padding: 11px 22px; border-radius: 26px; border: 1px solid var(--teal); background: var(--teal-soft); color: var(--teal); font-weight: 600; text-decoration: none; }
.prose a.cta:hover { background: var(--teal); color: var(--text-strong); }
table.stats td.left { text-align: left; }
table.stats.recent a { color: inherit; text-decoration: none; }
table.stats.recent a:hover { color: var(--dl); }
.links .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.links .chips a { display: inline-block; padding: 7px 13px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-strong); color: var(--text-soft); text-decoration: none; font-size: 13.5px; }
.links .chips a:hover { border-color: var(--teal); color: var(--text-strong); }
.method a { color: var(--teal); text-decoration: none; }
.method a:hover { text-decoration: underline; }
.stats-main .site-footer { margin-top: 40px; }
.hub-links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.hub-links a { color: var(--teal); text-decoration: none; }
.hub-links a:hover { text-decoration: underline; }
.stats-main .dg-summary { margin-top: 18px; font-size: 15px; }

/* ---- плитки доступности сервисов (/check) ---- */
.svc-section { margin: 6px 0 22px; }
.svc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
.svc-head h2 { font-size: 20px; margin: 0; }
.svc-head span { color: var(--muted); font-size: 13.5px; }
.dg-h2 { font-size: 20px; margin: 0 0 10px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; }
.svc { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-soft); min-width: 0; transition: border-color .3s; }
.svc-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.svc-ic img { width: 28px; height: 28px; object-fit: contain; display: block; }
.svc-ic b { font: 700 18px/1 inherit; color: #223; }
.svc-body { min-width: 0; flex: 1; }
.svc-name { font-weight: 700; font-size: 14.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-state { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.svc-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; opacity: .6; }
.svc-detail { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc.ok { border-color: color-mix(in srgb, var(--dl) 45%, var(--line)); }
.svc.ok .svc-state { color: var(--dl); } .svc.ok .svc-state i { background: var(--dl); opacity: 1; box-shadow: 0 0 8px var(--dl); }
.svc.slow, .svc.part { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.svc.slow .svc-state, .svc.part .svc-state { color: var(--gold); } .svc.slow .svc-state i, .svc.part .svc-state i { background: var(--gold); opacity: 1; box-shadow: 0 0 8px var(--gold); }
.svc.down { border-color: color-mix(in srgb, var(--bad) 60%, var(--line)); background: color-mix(in srgb, var(--bad) 8%, var(--card-soft)); }
.svc.down .svc-state { color: var(--bad); } .svc.down .svc-state i { background: var(--bad); opacity: 1; box-shadow: 0 0 8px var(--bad); }
.svc.pending .svc-state i { animation: dgPulse 1.2s infinite; }
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .svc { padding: 10px; gap: 9px; }
  .svc-ic { width: 34px; height: 34px; border-radius: 8px; } .svc-ic img { width: 24px; height: 24px; }
  .svc-name { font-size: 13.5px; } .svc-state { font-size: 12px; } .svc-detail { display: none; }
}

/* ---- SEO-страницы: иллюстрация, факты, FAQ, списки ---- */
.updated { margin: 10px 0 22px; font-size: 13px; color: var(--muted); }
.updated time { color: var(--text-soft); font-weight: 600; }
.og-figure { margin: 4px 0 18px; max-width: 520px; }
.og-figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.og-figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.prose h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 16px 0 6px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; padding: 0; }
.prose li { margin-bottom: 6px; }
.prose ol.top li { margin-bottom: 8px; }
.prose ol.top a { font-weight: 600; }
.prose.faq h3 { font-size: 15.5px; margin-top: 18px; }
.prose.faq h3::before { content: "?"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; margin-right: 8px; font-size: 12px; background: var(--line-soft); color: var(--teal); vertical-align: 2px; }

/* оценки абонентов */
.kpi.rt .kpi-val { color: var(--gold); }
.star-mini { color: var(--gold); margin-left: 3px; }
table.stats .votes { color: var(--muted); font-size: 11.5px; margin-left: 4px; }
table.stats .muted { color: var(--muted); }
@media (max-width: 720px) { table.stats:not(.recent) th:nth-child(7), table.stats:not(.recent) td:nth-child(7) { display: none; } }
.reviews .review { padding: 12px 0; border-bottom: 1px solid var(--line-soft); max-width: 820px; }
.reviews .review:last-child { border-bottom: 0; }
.review-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.review-head .stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.review-head .review-city { color: var(--text-soft); font-weight: 600; }
.review p { margin: 0; color: var(--text-soft); line-height: 1.55; font-size: 14.5px; }

/* страницы сервисов и /status */
a.svc { text-decoration: none; color: inherit; }
a.svc:hover { border-color: var(--teal); }
.svc-links { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 12px; }
.svc-links a { color: var(--text-soft); }
.svc-focus { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card-soft); margin-bottom: 22px; }
.svc-focus-head { display: flex; gap: 14px; align-items: center; }
.svc-focus-head img { width: 48px; height: 48px; border-radius: 12px; background: #fff; padding: 6px; box-sizing: border-box; flex: none; }
.svc-focus-name { font-size: 22px; font-weight: 700; color: var(--text); }
.svc-focus-state { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.svc-focus.ok .svc-focus-state { color: var(--dl); } .svc-focus.slow .svc-focus-state, .svc-focus.part .svc-focus-state { color: var(--gold); } .svc-focus.down .svc-focus-state { color: var(--bad); }
.svc-focus.ok { border-color: color-mix(in srgb, var(--dl) 50%, var(--line)); } .svc-focus.part, .svc-focus.slow { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); } .svc-focus.down { border-color: color-mix(in srgb, var(--bad) 60%, var(--line)); }
.svc-focus-sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.svc-nodes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-nodes li { font-size: 12.5px; padding: 4px 10px; border-radius: 12px; background: var(--line-soft); color: var(--muted); }
.svc-nodes li.ok { color: var(--dl); } .svc-nodes li.bad { color: var(--bad); background: var(--hover); }
.verdict { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-soft); line-height: 1.55; margin: 6px 0 14px; }
.verdict i, .verdict-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; margin-top: 6px; }
.verdict-dot { margin: 0 8px 0 0; vertical-align: 0; }
.verdict.ok i, .verdict-dot.ok { background: var(--dl); box-shadow: 0 0 8px var(--dl); }
.verdict.slow i, .verdict-dot.slow, .verdict.part i, .verdict-dot.part { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.verdict.down i, .verdict-dot.down { background: var(--bad); box-shadow: 0 0 8px var(--bad); }
table.stats.status td.left { text-align: left; white-space: normal; }
table.stats .num.bad { color: var(--bad); } table.stats .num.warn { color: var(--gold); }
.svc-mini { width: 18px; height: 18px; vertical-align: -4px; border-radius: 4px; background: #fff; margin-right: 4px; }
@media (max-width: 720px) { table.stats.status th:nth-child(3), table.stats.status td:nth-child(3), table.stats.status th:nth-child(5), table.stats.status td:nth-child(5) { display: none; } }

/* проверка произвольного сайта (/check) */
.site-check { margin: 4px 0 26px; }
.site-form { display: flex; gap: 8px; max-width: 640px; }
.site-form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font: 500 15px var(--font); outline: none; }
.site-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.site-form .report-btn { margin: 0; white-space: nowrap; }
.site-form .report-btn:disabled { opacity: .6; cursor: default; }
.site-result { margin-top: 12px; max-width: 640px; }
.site-card { border: 1px solid var(--line); border-radius: 12px; background: var(--card-soft); padding: 14px 16px; }
.site-card.ok { border-color: rgba(69,224,106,.45); }
.site-card.part { border-color: rgba(245,196,81,.55); }
.site-card.bad { border-color: rgba(255,92,92,.5); }
.site-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.site-fav { width: 20px; height: 20px; border-radius: 4px; background: #fff; }
.site-host { font-weight: 700; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.site-host:hover { color: var(--teal); }
.site-verdict { display: flex; align-items: center; gap: 9px; font-size: 16px; color: var(--text-strong); }
.site-verdict i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--muted); }
.site-card.ok .site-verdict i { background: #45e06a; box-shadow: 0 0 10px rgba(69,224,106,.6); }
.site-card.part .site-verdict i { background: var(--gold); box-shadow: 0 0 10px rgba(245,196,81,.6); }
.site-card.bad .site-verdict i { background: #ff5c5c; box-shadow: 0 0 10px rgba(255,92,92,.6); }
.site-card.pending .site-verdict i { animation: sitePulse 1s infinite alternate; }
@keyframes sitePulse { from { opacity: .35; } to { opacity: 1; } }
.site-text { margin: 8px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.site-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin-top: 12px; }
.site-rows > div { background: var(--card); border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px 12px; font-size: 13.5px; }
.site-rows span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.site-rows b { color: var(--text); font-weight: 600; }
.site-day { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.site-day b { color: var(--text); }
.site-examples { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.site-examples a { color: var(--teal); text-decoration: none; }
.site-examples a:hover { text-decoration: underline; }
@media (max-width: 560px) { .site-form { flex-direction: column; } }

/* страницы /site/{домен} */
.site-live { margin-top: 4px; }
.site-live-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.site-live-actions .report-btn { margin: 0; text-decoration: none; }
.site-more { margin-top: 10px; font-size: 13.5px; }
.site-more a { color: var(--teal); text-decoration: none; }
.site-more a:hover { text-decoration: underline; }
.site-outages { margin: 0; padding-left: 18px; color: var(--text-soft); font-size: 14px; line-height: 1.7; }
.site-outages b { color: var(--text); font-weight: 600; }
.kpi-val.kpi-val-sm { font-size: 20px; font-family: var(--font); font-weight: 600; padding-top: 14px; }
.links .chips a.chip-down { border-color: rgba(255,92,92,.5); }
.links .chips a.chip-part, .links .chips a.chip-slow { border-color: rgba(245,196,81,.55); }
.svc.pending .svc-state i { background: var(--muted); }

/* /site/{домен}: долгая проверка по кнопке */
.site-run { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.site-run-hint { flex: 1 1 100%; margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.site-run-btn { margin: 0; }
.site-refresh { font-size: 12.5px; color: var(--muted); }
.site-inspect { display: flex; flex-direction: column; gap: 10px; }
.site-progress { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.site-progress-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.site-progress-bar i { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 3px; transition: width .6s; }
.site-progress-bar.done i { background: var(--dl); }
.site-nodes { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 3px 10px; margin-top: 8px; font-size: 12.5px; }
.site-nodes > div { display: contents; }
.site-nodes .head span { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .4px; }
.site-nodes span.ok { color: var(--dl); }
.site-nodes span.bad { color: var(--bad); }
.site-nodes i { grid-column: 1 / -1; font-style: normal; color: var(--muted); font-size: 11.5px; margin: -2px 0 3px; }
.dg-chain { margin: 8px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--text-soft); line-height: 1.6; overflow-wrap: anywhere; }
.dg-chain b { color: var(--text); }
.dg-chain i { color: var(--muted); font-style: normal; }
.site-grade { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-soft); }
.site-grade-letter { font-family: var(--font-num); font-size: 56px; font-weight: 300; line-height: 1; width: 64px; flex: none; text-align: center; }
.site-grade.A .site-grade-letter, .site-grade.B .site-grade-letter { color: var(--dl); }
.site-grade.C .site-grade-letter { color: var(--gold); }
.site-grade.D .site-grade-letter, .site-grade.F .site-grade-letter { color: var(--bad); }
.site-grade-body { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.5; }
.site-grade-body b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.site-grade-body .plus { color: var(--dl); }
.site-grade-body .minus { color: var(--bad); }
.site-live-actions .dg-copied { font-size: 13px; color: var(--dl); align-self: center; }
/* голосование «работает ли у вас» */
.vote-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.vote-btn { padding: 9px 16px; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font: 600 14px var(--font); cursor: pointer; transition: border-color .15s, color .15s; }
.vote-btn.ok.on, .vote-btn.ok:hover { border-color: var(--dl); color: var(--dl); }
.vote-btn.bad.on, .vote-btn.bad:hover { border-color: var(--bad); color: var(--bad); }
.vote-counts { font-size: 13px; color: var(--muted); }
.vote-comment textarea { width: 100%; max-width: 640px; display: block; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font: 14px var(--font); resize: vertical; outline: none; }
.vote-comment textarea:focus { border-color: var(--teal); }
.vote-comment-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.vote-comment-row .report-btn { margin: 0; }
.vote-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.vote-list li { padding: 10px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line-soft); border-left: 3px solid var(--line-strong); font-size: 13.5px; }
.vote-list li.ok { border-left-color: var(--dl); }
.vote-list li.bad { border-left-color: var(--bad); }
.vote-list li b { color: var(--text); margin-right: 8px; }
.vote-list li span { color: var(--muted); font-size: 12.5px; }
.vote-list li p { margin: 4px 0 0; color: var(--text-soft); line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 560px) { .site-nodes { grid-template-columns: 1fr 1fr 1fr; font-size: 12px; } .site-grade { flex-direction: column; gap: 8px; } }

/* ===== Страница сайта: карточки, кнопки, жалобы (как у детекторов сбоев) ===== */
.scard { border: 1px solid var(--line); border-radius: 14px; background: var(--card-soft); padding: 18px 20px; margin: 0 0 18px; }
.scard h2 { font-size: 19px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.scard h3 { font-size: 14px; font-weight: 700; color: var(--text); margin: 14px 0 8px; }
.scard .sub { color: var(--muted); font-size: 12.5px; margin-top: 10px; line-height: 1.5; }
.scard-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 12px; }
.scard-head h2 { margin: 0; }

.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.svc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 26px; border: 0; font: 700 15px var(--font); cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .15s, filter .15s; }
.svc-btn svg { width: 18px; height: 18px; flex: none; }
.svc-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.svc-btn:active { transform: none; }
.svc-btn:disabled { opacity: .55; cursor: default; transform: none; filter: none; }
.svc-btn.check { background: var(--teal); color: #04121f; box-shadow: 0 6px 22px color-mix(in srgb, var(--teal) 30%, transparent); }
.svc-btn.report { background: var(--bad); color: #fff; box-shadow: 0 6px 22px color-mix(in srgb, var(--bad) 32%, transparent); }
.svc-btn.sm { padding: 9px 16px; font-size: 14px; }
.svc-link { background: none; border: 0; padding: 4px 2px; color: var(--muted); font: 600 14px var(--font); cursor: pointer; text-decoration: underline dotted; text-underline-offset: 4px; }
.svc-link:hover { color: var(--text); }
.svc-link:disabled { text-decoration: none; cursor: default; }
.svc-focus .site-run-hint { font-size: 13px; color: var(--muted); }
.svc-focus .site-refresh { color: var(--muted); opacity: .8; }

.cmp-level { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 13px; border-radius: 20px; background: var(--hover); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; }
.cmp-level i { width: 9px; height: 9px; border-radius: 50%; background: var(--dl); box-shadow: 0 0 8px var(--dl); }
.cmp-level.part i { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.cmp-level.down { border-color: color-mix(in srgb, var(--bad) 60%, var(--line)); }
.cmp-level.down i { background: var(--bad); box-shadow: 0 0 8px var(--bad); animation: cmpPulse 1.2s ease-in-out infinite; }
@keyframes cmpPulse { 50% { opacity: .35; } }

.cmp-block { border-color: color-mix(in srgb, var(--bad) 28%, var(--line)); }
.cmp-tabs { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--hover); border: 1px solid var(--line); }
.cmp-tabs button { border: 0; background: none; color: var(--muted); font: 600 13px var(--font); padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.cmp-tabs button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.cmp-nums { display: flex; gap: 10px 34px; flex-wrap: wrap; margin: 2px 0 14px; }
.cmp-nums b { display: block; font: 300 36px/1 var(--font-num); color: var(--text-strong); }
.cmp-nums span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cmp-chart { position: relative; padding: 0 0 22px 26px; }
.cmp-chart svg { display: block; width: 100%; height: 150px; overflow: visible; }
.cmp-chart .cb { fill: var(--bad); }
.cmp-chart .cz { fill: var(--line-strong); }
.cmp-chart .cd { fill: color-mix(in srgb, var(--gold) 20%, transparent); }
.cmp-chart .cg { stroke: var(--line); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.cmp-chart .ch { fill: transparent; cursor: default; }
.cmp-chart .ch:hover { fill: var(--hover); }
.cmp-y { position: absolute; left: 0; top: -6px; font-size: 11px; color: var(--muted); }
.cmp-y.mid { top: 69px; }
.cmp-xa { position: absolute; left: 26px; right: 0; bottom: 0; height: 16px; }
.cmp-xa span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.cmp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.cmp-legend .l-bar { background: var(--bad); }
.cmp-legend .l-down { background: color-mix(in srgb, var(--gold) 45%, transparent); }
.cmp-legend-note { margin-left: auto; }
.cmp-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 28px; margin-top: 8px; border-top: 1px solid var(--line); }
.cmp-split h3 em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.cmp-row { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; margin-bottom: 4px; border-radius: 6px; font-size: 13.5px; color: var(--text-soft); overflow: hidden; }
.cmp-row span, .cmp-row b { position: relative; z-index: 1; }
.cmp-row b { color: var(--text); font-weight: 600; }
.cmp-row i { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--bad) 16%, transparent); border-radius: 6px; }

.cmp-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmp-feed li { padding: 12px 14px; border-radius: 10px; background: var(--hover); border-left: 3px solid var(--bad); }
.cmp-feed li.ok { border-left-color: var(--dl); }
.cmp-feed:not(.all) li.more { display: none; }
.cmp-feed li.cmp-empty { border-left-color: var(--line-strong); color: var(--muted); font-size: 14px; }
.cmp-feed-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cmp-kind { font-weight: 700; font-size: 13.5px; color: var(--bad); }
.cmp-feed li.ok .cmp-kind { color: var(--dl); }
.cmp-when { font-size: 12.5px; color: var(--muted); }
.cmp-feed p { margin: 6px 0 0; font-size: 14.5px; color: var(--text); line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.cmp-plus { margin-top: 8px; padding: 4px 11px; border-radius: 14px; border: 1px solid var(--line-strong); background: none; color: var(--muted); font: 600 12.5px var(--font); cursor: pointer; }
.cmp-plus b { margin-left: 6px; color: var(--text); }
.cmp-plus b:empty { display: none; }
.cmp-plus:hover { border-color: var(--bad); color: var(--bad); }
.cmp-plus.on { border-color: var(--bad); color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); cursor: default; }
#cmpMore { margin-top: 10px; }

.cmp-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2,8,18,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cmp-modal[hidden] { display: none; }
body.cmp-lock { overflow: hidden; }
.cmp-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px 22px 16px; border-radius: 16px; background: var(--bg-bottom); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(0,0,0,.45); animation: cmpIn .18s ease-out; }
:root[data-theme="light"] .cmp-box { background: #fff; }
@keyframes cmpIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.cmp-box h3 { margin: 0 30px 14px 0; font-size: 19px; color: var(--text); }
.cmp-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.cmp-x:hover { background: var(--hover); color: var(--text); }
.cmp-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cmp-kinds button { padding: 8px 13px; border-radius: 18px; border: 1px solid var(--line-strong); background: none; color: var(--text); font: 600 13.5px var(--font); cursor: pointer; }
.cmp-kinds button:hover { border-color: var(--bad); }
.cmp-kinds button.on { background: var(--bad); border-color: var(--bad); color: #fff; }
.cmp-box textarea { width: 100%; box-sizing: border-box; min-height: 104px; resize: vertical; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--hover); color: var(--text); font: 400 15px/1.5 var(--font); }
.cmp-box textarea:focus { outline: none; border-color: var(--bad); }
.cmp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cmp-count { font-size: 12px; color: var(--muted); }
.cmp-msg { min-height: 20px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.cmp-msg.ok { color: var(--dl); } .cmp-msg.bad { color: var(--bad); }
.cmp-box .sub { font-size: 12px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }

@media (max-width: 640px) {
  .scard { padding: 15px 14px; }
  .svc-actions .svc-btn { flex: 1 1 100%; }
  .svc-actions .svc-link { margin: 0 auto; }
  .scard-head .svc-btn.sm { flex: 1 1 100%; }
  .cmp-nums b { font-size: 30px; }
  .cmp-xa span:nth-child(even) { display: none; }
  .cmp-legend-note { margin-left: 0; }
  .cmp-modal { align-items: flex-end; padding: 0; }
  .cmp-box { max-width: none; border-radius: 16px 16px 0 0; max-height: 92vh; }
}

/* панель проверки и её части скрыты, пока проверка не запущена (display в правилах выше перебивал hidden) */
.site-inspect[hidden], .site-grade[hidden], .site-live-actions[hidden], .site-run-hint[hidden] { display: none !important; }
