/* © 2026 Cromulent, Inc. All Rights Reserved.
   speech.css - "what it says" on a device's card (speech.js): the voice, a group of phrases per reading and level. */

.sp-host { display: flex; flex-direction: column; gap: 12px; }
.sp-groups { display: flex; flex-direction: column; gap: 10px; }
.sp-group { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--panel-2); min-width: 0; }
.sp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sp-sensor { flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 14px; }
.sp-level { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.sp-level.warning { color: var(--caution, var(--ink-faint)); }
.sp-level.critical { color: var(--bad, var(--ink-faint)); }
.sp-variant, .sp-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sp-input, .sp-add select { font: inherit; font-size: 14px; color: var(--ink); background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 6px 10px; min-width: 0; }
.sp-input { flex: 1 1 200px; }
.sp-group .btn, .sp-add .btn { padding: 4px 10px; font-size: 12px; }
.sp-input:focus-visible, .sp-add select:focus-visible { outline: 2px solid var(--orchid); outline-offset: 1px; }
