.microphone-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
  gap: 12px;
  align-items: end;
  margin: 12px 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.microphone-picker {
  display: grid;
  gap: 6px;
  color: #43545a;
  font-size: 12px;
  font-weight: 750;
}

.microphone-picker select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.microphone-monitor { display: grid; gap: 6px; }
.microphone-monitor small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.microphone-meter { display: block; height: 9px; overflow: hidden; border-radius: 999px; background: #e6eceb; }
.microphone-meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: #8aa09a; transition: width .12s ease; }
.microphone-monitor.good .microphone-meter i { background: var(--green); }
.microphone-monitor.warning .microphone-meter i { background: #e49a35; }
.microphone-monitor.warning small { color: #a35c00; font-weight: 700; }

.recording-recovery {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid #e3b35f;
  border-radius: 10px;
  background: #fff8e9;
  color: #5d4318;
}
.recording-recovery[hidden] { display: none; }
.recording-recovery p { margin: 4px 0; line-height: 1.4; }
.recording-recovery small { color: #725d38; }
.recording-recovery-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.recording-recovery .danger { color: #9d3028; border-color: #d9a19d; }
.recording-mobile-note { margin: 8px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }

@media (max-width: 900px) {
  .microphone-tools { grid-template-columns: 1fr; padding: 12px; }
  .recording-recovery { align-items: stretch; flex-direction: column; }
  .recording-recovery-actions { justify-content: stretch; }
  .recording-recovery-actions button { width: 100%; }
}
