/* record-20261119-r1: microphone level, silence warning, microphone check dialog */
.mx-rec-side > .mx-mic-meter { order: 6; }
.mx-mic-meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line, #dfe5ee); border-radius: 12px; background: var(--panel, #fff); }
.mx-mic-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; grid-column: 1 / -1; }
.mx-mic-head .bi { color: var(--accent, #1a73e8); }
.mx-mic-bar { position: relative; height: 10px; border-radius: 6px; background: var(--soft, #edf1f7); overflow: hidden; min-width: 120px; }
.mx-mic-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: #9aa7b8; border-radius: 6px; transition: width .1s linear; }
.mx-mic-bar.ok span { background: #22a35a; }
.mx-mic-meter .mx-mic-state { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted, #556274); min-height: 1.2em; }
.mx-mic-meter.quiet .mx-mic-state { color: #b45309; }
.mx-mic-meter .mx-mic-go { min-height: 44px; }
.mx-mic-meter.live .mx-mic-bar { grid-column: 1 / -1; }
.mx-silence-warn { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid #f2c94c; background: #fff8e1; color: #5b4300; }
.mx-silence-warn > .bi { font-size: 22px; line-height: 1; margin-top: 2px; }
.mx-silence-warn .mx-silence-body { flex: 1; }
.mx-silence-warn strong { display: block; font-size: 15px; }
.mx-silence-warn p { margin: 4px 0 0; font-size: 14px; }
.mx-silence-warn button { min-height: 44px; white-space: nowrap; }
.mx-mic-dialog { max-width: min(460px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 22px; box-shadow: 0 20px 60px rgba(15, 23, 42, .25); color: var(--text, #0f172a); background: var(--panel, #fff); }
.mx-mic-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.mx-mic-dialog h2 { margin: 0 0 10px; font-size: 20px; }
.mx-mic-dialog .mx-mic-bar { height: 14px; margin: 14px 0; }
.mx-mic-verdict { min-height: 1.3em; font-size: 15px; }
.mx-mic-verdict.ok { color: #157a42; }
.mx-mic-verdict.warn { color: #b45309; }
.mx-mic-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mx-mic-actions button, .mx-mic-dialog > button { min-height: 44px; }
.mx-mic-tips { margin: 0 0 14px; padding-left: 20px; line-height: 1.5; }
.mx-why-silent .bi { color: #b45309; }
@media (max-width: 560px) {
  .mx-mic-meter { grid-template-columns: 1fr; }
  .mx-silence-warn { flex-wrap: wrap; }
  .mx-silence-warn button { width: 100%; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mx-silence-warn { background: #3a2f0b; border-color: #8a6d1c; color: #f6e7b0; }
}
:root[data-theme="dark"] .mx-silence-warn { background: #3a2f0b; border-color: #8a6d1c; color: #f6e7b0; }
