/* Audio Recorder — tool-specific */
.page { padding: 40px 20px; max-width: 720px; margin: 0 auto; }
.page h1 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.page .subtitle { color: #888; margin-bottom: 20px; font-size: 14px; }

.recorder-card { text-align: center; padding: 32px 20px; }
.timer { font-size: 56px; font-family: 'SF Mono', monospace; color: #fff; font-weight: 700; line-height: 1; margin-bottom: 18px; }
.visual { height: 60px; background: #0d0d0d; border: 1px solid #2a2a2a; border-radius: 6px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.visual canvas { width: 100%; height: 100%; }

.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.big-btn {
  background: #ff4444; color: #fff; border: none;
  padding: 12px 28px; border-radius: 999px; font-size: 14px;
  font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}
.big-btn:hover { background: #ff5555; }
.big-btn:disabled { background: #2a2a2a; color: #555; box-shadow: none; cursor: not-allowed; }
.big-btn.recording { background: #c62828; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

.status { color: #666; font-size: 13px; margin: 0; }

.opt-label { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; display: block; margin-bottom: 10px; }

#audio-preview { width: 100%; margin-bottom: 12px; }

.action-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.status-msg { font-size: 13px; margin-left: 8px; }
.status-msg.ok { color: #4caf50; }

@media (max-width: 600px) {
  .page { padding: 24px 12px; }
  .page h1 { font-size: 22px; }
  .timer { font-size: 42px; }
}
