/* style -- SEED AUDIO 1.0'S VOICES (js/panel/53e-seed-audio-card.js).

   Simon, 26 Oct 2026: "seed audio 1.0 we need it so the name options just
   have the first names with a button to preview voice next to them. also we
   need a button or section for cloning voices to then appear in that list"

   The pill and the list rows are the existing ones (10-form.css: .selwrap,
   .covert-menu, .sel-preview); this file only adds what they lack -- a play
   button that sits IN a row rather than over a pill, the "Your voices"
   heading, the delete, the ask-before-spending strip and the clone section.
   Tokens only. */

/* In a list row the play button is part of the row, after the languages. */
.sav-menu .covert-menu-row { gap: 8px; }
.sav-menu .covert-menu-row .sel-preview { position: static; transform: none; flex: none; width: 20px; height: 20px; }
.sav-menu .covert-menu-row .covert-menu-note { margin-left: auto; }
.sav-menu .covert-menu-row .covert-menu-note + .sel-preview { margin-left: 4px; }
.sav-menu .covert-menu-row > span:first-child { margin-right: auto; }
.sav-menu .covert-menu-row > span:first-child + .covert-menu-note { margin-left: 0; }
.sav-menu-head {
  flex: none; padding: 8px var(--sp-5) 3px; margin-top: 3px; border-top: 1px solid var(--border);
  font-size: 9px; letter-spacing: .6px; text-transform: uppercase; color: var(--text-faint);
}
.sav-del {
  flex: none; width: 20px; height: 20px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid transparent; background: none; color: var(--text-faint); font-size: 14px; line-height: 1;
}
.sav-del:hover { color: var(--text); border-color: var(--border-dash); background: var(--surface-sunk); }
.sel-preview:disabled { opacity: .35; cursor: default; }

/* Ask before spending, or before removing: a strip under the pill or row. */
.sav-ask {
  flex: 1 1 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; box-sizing: border-box;
  padding: 8px var(--sp-5); border: 1px solid var(--accent); border-radius: var(--radius-ctl);
  background: var(--surface-sunk); font-size: 11px; line-height: 1.4; color: var(--text); white-space: normal;
}
.sav-ask span { flex: 1 1 180px; }

/* Clone a voice. */
.sav-clone { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; }
.sav-clone-toggle { align-self: flex-start; }
.sav-clone.open .sav-clone-toggle { color: var(--accent); }
.sav-clone-body { display: flex; flex-direction: column; gap: 6px; padding: var(--sp-3); border: 1px solid var(--border); border-radius: var(--radius-ctl); background: var(--surface-sunk); }
.sav-clone-body.hidden { display: none; }
.sav-drop {
  display: flex; align-items: center; gap: 8px; padding: 12px var(--sp-3); min-height: 44px; box-sizing: border-box;
  border: 1px dashed var(--border-dash); border-radius: var(--radius-ctl); font-size: 11px; color: var(--text-dim);
}
.sav-drop-txt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sav-drop.over { border-color: var(--accent); color: var(--text); }
.sav-drop.has { border-style: solid; color: var(--text); }
.sav-name { height: var(--ctl-h); box-sizing: border-box; padding: 0 var(--sp-3); font-size: 11px; }
.sav-row { display: flex; gap: 6px; }
.sav-msg { font-size: 10px; color: var(--text-faint); line-height: 1.4; }
