.setup-check { max-width: 58rem; margin-inline: auto; }
.setup-check > .wm-card { margin-block: 1rem; }
.setup-check:has(> #check-audio:not([hidden])) > h2 { display:none; }
.setup-check #check-audio { padding:0; border:0; background:none; }
.setup-check #check-audio > h2 { margin:0 0 .75rem; }
.check-microphone { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem 1rem; margin-bottom:1rem; }
.setup-check .check-microphone button { width:auto; }
.setup-check #check-mic-status { margin:0; font-size:.875rem; color:var(--muted); }
#check-audio[data-listening=true] #check-mic-status { color:#8ff0b0; }
.check-audio-tests { display:grid; gap:.75rem; }
.check-signal { padding:.75rem; border:2px solid var(--rule); border-radius:.5rem; background:var(--inset); }
.setup-check .check-signal h3 { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.25rem .75rem; margin:0 0 .5rem; font-size:1rem; }
.check-console-key { font-size:.875rem; font-weight:normal; color:var(--muted); }
.check-console-key strong { color:var(--paper); }
.setup-check .check-signal-status { margin:0; font-size:clamp(1.25rem,5vw,1.75rem); font-weight:bold; line-height:1.35; }
.setup-check .check-signal-detail { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem .5rem; margin:.35rem 0 0; font-size:.875rem; color:var(--muted); }
#check-result-code { font:700 1.125rem/1.35 monospace; letter-spacing:.08em; color:var(--paper); }
#check-result-count { margin-left:auto; }
.check-signal.is-received { border-color:#70efa0; background:#153c30; }
.is-received .check-signal-status { color:#a4ffc2; }
.setup-check #check-audio > .wm-actions { margin-top:1rem; }
@media(max-width:700px), (max-width:950px) and (max-height:500px) and (orientation:landscape) {
  .setup-check #check-audio { min-height:calc(100svh - 32px); }
}
@media(min-width:700px) { .check-audio-tests { grid-template-columns:1fr 1fr; } }
.setup-check .wm-guide-dialog[open] { grid-template-rows: auto minmax(0, 1fr); }
.setup-check .wm-focus-toolbar { display: flex; justify-content: flex-end; }
.setup-check .wm-focus-toolbar button { min-height: 44px; }
.setup-check .wm-focus-toolbar button { width: auto; }
