/* =========================================================================
   Pre-call — Settings rows, mode toggles, voice/speed/tone controls
   ========================================================================= */

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
}
.settings-row-stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.actor-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Mode toggle (Human / AI Agent, OpenAI / Deepgram) ----------------- */
.mode-toggle {
  display: flex;
  gap: 2px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 2px;
}
.mode-btn {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 5px 14px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease),
              color     var(--dur-micro) var(--ease);
}
.mode-btn:hover  { color: var(--text); }
.mode-btn.active { background: var(--teal); color: var(--bg); font-weight: 700; }
.mode-btn:disabled { cursor: not-allowed; opacity: 0.4; }

/* ---- Max turns input --------------------------------------------------- */
.turns-input {
  width: 64px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  padding: 5px 8px;
  text-align: center;
  transition: border-color var(--dur-micro) var(--ease);
  color-scheme: dark;
}
.turns-input:focus { outline: none; border-color: var(--teal-border); }

/* ---- Voice select ------------------------------------------------------ */
.voice-select {
  font-family: var(--font-body);
  font-size: 0.78rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  padding: 5px 8px;
  cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease);
}
.voice-select:focus { outline: none; border-color: var(--teal-border); }

/* ---- Speed slider ------------------------------------------------------ */
.speed-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.speed-slider {
  width: 110px;
  accent-color: var(--teal);
  cursor: pointer;
}
.speed-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 44px;
  text-align: right;
}

/* ---- Tone textarea ---------------------------------------------------- */
.tone-input {
  font-family: var(--font-body);
  font-size: 0.78rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  padding: 6px 8px;
  resize: vertical;
  min-height: 1.8rem;
  transition: border-color var(--dur-micro) var(--ease);
}
.tone-input:focus { outline: none; border-color: var(--teal-border); }

/* ---- Inline hint text under a field ------------------------------------ */
.field-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 4px 0 0;
  line-height: 1.35;
}
