/* ماسح الاستقبال — فوق host.css (نفس الألوان والأزرار) */
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.net { margin: 0; text-align: center; font-size: 13.5px; border-radius: 12px; padding: 6px 10px; background: var(--ok-bg); color: var(--ok); }
.net.off { background: var(--wait-bg); color: var(--wait); }
.cam-box { padding: 10px; }
.cam { position: relative; aspect-ratio: 1 / 1; max-height: 62vh; width: 100%; border-radius: 14px; overflow: hidden; background: #1b1610; display: grid; place-items: center; }
.cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam .frame { position: absolute; inset: 18%; border: 3px solid rgba(255, 250, 240, .85); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .25); pointer-events: none; }
.cam .start { position: relative; z-index: 1; }
.cam.on .start { display: none; }
.cam:not(.on) .frame { display: none; }
.result { border-width: 2px; text-align: center; justify-items: center; }
.result h2 { font-size: 24px; }
.result.ok { border-color: var(--ok); background: var(--ok-bg); }
.result.bad { border-color: var(--no); background: var(--no-bg); }
.result.warn { border-color: var(--wait); background: var(--wait-bg); }
.r-badge { margin: 0; font-weight: 700; font-size: 15px; }
.result.ok .r-badge { color: var(--ok); } .result.bad .r-badge { color: var(--no); } .result.warn .r-badge { color: var(--wait); }
.r-info { margin: 0; color: var(--mute); }
.cnt { display: grid; gap: 4px; justify-items: center; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.stepper output { min-width: 32px; text-align: center; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.result .row { justify-content: center; }
.result .btn { min-height: 44px; }
.list li.in .gname { color: var(--ok); }
.list li button { min-height: 40px; }
