/* DeviTest — full check, device info, video-call and network pages */
.dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 10px 0 18px; }
@media (max-width: 420px) { .dev-card { padding: 12px 10px 12px 38px; } [dir="rtl"] .dev-card { padding: 12px 38px 12px 10px; } .dev-card input { inset-inline-start: 10px; } .dev-card small { font-size: 12px; } }
.dev-card { position: relative; display: grid; align-content: start; gap: 6px; padding: 14px 14px 14px 44px; border-radius: 14px; border: 1px solid var(--border-light); background: var(--tile); cursor: pointer; color: var(--text); }
[dir="rtl"] .dev-card { padding: 14px 44px 14px 14px; }
.dev-card input { position: absolute; inset-inline-start: 14px; top: 16px; width: 18px; height: 18px; accent-color: var(--primary); }
.dev-card:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.dev-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.dev-card b { font-size: 15px; line-height: 1.3; color: var(--text-strong); }
.dev-card.mode { align-content: center; min-height: 52px; }
.dev-card.mode input { top: 50%; transform: translateY(-50%); }
.dev-card small { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }
.dev-ic { font-size: 22px; line-height: 1; }
.mode-row .dev-card { flex: 1 1 220px; }
.buy { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: 14px; color: var(--text); cursor: pointer; }
.buy input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--primary); }
.kind { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border-light); color: var(--text-dim); white-space: nowrap; }
.k-measured { border-color: rgba(6,182,212,.5); color: var(--accent); }
.k-manual { border-color: rgba(139,92,246,.5); }
.st { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.st-ok { background: rgba(34,197,94,.14); color: #16a34a; }
.st-issue { background: rgba(239,68,68,.14); color: #dc2626; }
.st-review { background: rgba(245,158,11,.16); color: #b45309; }
.st-notrun, .st-none { background: var(--tile); color: var(--text-dim); border: 1px solid var(--border); }
[data-theme="light"] .st-ok { color: #15803d; } [data-theme="light"] .st-issue { color: #b91c1c; } [data-theme="light"] .st-review { color: #92400e; }
:root:not([data-theme="light"]) .st-ok { color: #4ade80; } :root:not([data-theme="light"]) .st-issue { color: #f87171; } :root:not([data-theme="light"]) .st-review { color: #fbbf24; }
.st-ok::before { content: '✔ '; } .st-issue::before { content: '✗ '; } .st-review::before { content: '? '; } .st-notrun::before { content: '– '; }
.progress-wrap { margin: 6px 0 10px; }
.pbar { height: 10px; border-radius: 6px; background: var(--tile); border: 1px solid var(--border); overflow: hidden; }
.pbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); transition: width .3s; }
.step-meta { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }
.step h2 { margin-top: 2px; }
.step h2:focus { outline: none; }
.note-l { margin-top: 12px; font-size: 13px; }
.note-l textarea { min-height: 60px; }
.nav-row { margin-top: 12px; }
.nav-row .cta:last-child { margin-inline-start: auto; }
.plan-list { display: grid; gap: 6px; margin: 8px 0 12px; }
.plan-list li { font-size: 14px; }
.all-steps { margin-top: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--tile); }
.all-steps summary { cursor: pointer; font-weight: 700; color: var(--text); }
.linkish { background: none; border: 0; padding: 4px 2px; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkish[aria-current] { font-weight: 700; }
.sum-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.sum-counts div { padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-panel); text-align: center; }
.sum-counts strong { display: block; font-size: 24px; color: var(--text-strong); }
.sum-counts small { font-size: 12px; color: var(--text-dim); }
.c-issue { border-color: rgba(239,68,68,.5) !important; } .c-review { border-color: rgba(245,158,11,.5) !important; } .c-ok { border-color: rgba(34,197,94,.5) !important; }
@media (max-width: 600px) { .sum-counts { grid-template-columns: repeat(2, 1fr); } }
.sum-list { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.sum-list > li { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-panel); }
.sum-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.next { margin-top: 6px; font-size: 14px; }
.next ul { margin-top: 4px; }
.report h3 { font-size: 16px; margin: 18px 0 8px; color: var(--text-strong); }
.info-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.info-table th, .info-table td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table th { color: var(--text-dim); font-weight: 600; width: 45%; }
.info-table td { color: var(--text-strong); overflow-wrap: anywhere; }
.src { font-size: 11px; font-weight: 700; color: var(--text-dim); border: 1px solid var(--border-light); border-radius: 999px; padding: 1px 7px; margin-inline-start: 6px; white-space: nowrap; }
.chk-list { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.chk-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-panel); }
.chk-list .ic { font-size: 18px; line-height: 1.4; flex: 0 0 auto; width: 22px; text-align: center; }
.chk-list b { color: var(--text-strong); }
.lat-chart { width: 100%; height: 120px; margin-top: 10px; border-radius: 10px; background: var(--bg-panel); border: 1px solid var(--border); }
@media print {
  .skip-link, header.top, .calib-bars, footer, .noprint, .lead, article > h2, article > p, article > ul, article > ol, article > .related, article > .note, ins.adsbygoogle, #summary ~ * { display: none !important; }
  body, html { background: #fff !important; color: #000 !important; }
  body::before { display: none !important; }
  article, .test-box, .sum-list > li, .sum-counts div { background: #fff !important; border-color: #bbb !important; box-shadow: none !important; }
  article *, .test-box * { color: #000 !important; }
  .wrap { max-width: none; padding: 0; }
}
