/* "Test melding" (Automatisch, Tim's phone): the sheet with channels and per-channel results. */
.test-signal-open { margin-bottom: var(--s-2); }
.test-signal { display: grid; gap: var(--s-3); padding: 0 var(--s-4) calc(var(--s-5) + env(safe-area-inset-bottom)); }
.test-signal h2 { margin: 0; font-family: var(--display); font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.03em; }
.test-signal .label { margin: 0; }
.test-signal input:not([type=checkbox]) { width: 100%; background: var(--bg); }
.test-hint { margin: 0; color: var(--muted); }
.test-channel, .test-night { display: grid; gap: var(--s-2); padding: var(--s-3) var(--s-4); border-radius: var(--r-l); background: var(--bg); }
.test-toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); cursor: pointer; }
.test-toggle strong { display: block; font-weight: 700; }
.test-toggle small { display: block; color: var(--muted); font-size: var(--t-s); }
.test-channel .chip { background: var(--surface); }
.test-channel .chip.sel { background: var(--text); }
.test-channel .chip small { color: inherit; opacity: 0.7; font-weight: 500; }
.test-room, .test-swatch { width: 0.875rem; height: 0.875rem; border-radius: 50%; background: var(--c, var(--sw)); flex: none; }
.test-swatch { background: var(--sw); }
.test-night { background: var(--accent-soft); }
.test-night p { margin: 0; }
.test-results { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.test-results li { display: grid; gap: 0.15rem; padding: var(--s-3) var(--s-4); border-radius: var(--r-m); background: var(--bg); }
.test-results li.held { box-shadow: inset 0 0 0 2px var(--line); background: transparent; }
.test-results small { color: var(--muted); font-size: var(--t-xs); }
.test-results li.ok small { color: var(--ok); font-weight: 600; }
.routine-tests { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-bottom: var(--s-2); }
.routine-tests .test-signal-open { margin-bottom: 0; }
