/* Voice Over — site-shell tokens (dark + light), pink/violet accent. */
.vo-studio { display: grid; gap: 22px; }
.vo-studio [hidden] { display: none !important; }
.vo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.vo-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; border: 1px solid var(--glass-border); background: var(--glass-bg-subtle); }
.vo-seg button { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 9px; background: none; color: var(--glass-text-main); font: inherit; font-weight: 700; cursor: pointer; }
.vo-seg button[aria-checked="true"] { background: linear-gradient(135deg, #be185d, var(--brand)); color: #fff; }

.vo-text__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.vo-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.vo-text .textarea { min-height: 160px; line-height: 1.7; }
.vo-metrics { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--glass-text-muted); }
.vo-metrics b { color: var(--glass-text-main); }
.vo-hint { margin: 0; }

.vo-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.vo-preset { cursor: pointer; font: inherit; font-size: .85rem; min-height: 36px; padding: 6px 14px; color: var(--glass-text-main); }
.vo-preset[aria-pressed="true"] { border-color: #db2777; background: rgba(219,39,119,.14); color: #9d174d; }
html:not(.light-mode) .vo-preset[aria-pressed="true"] { color: #f9a8d4; }

.vo-sliders label { display: flex; justify-content: space-between; gap: 8px; }
.vo-sliders output { font-variant-numeric: tabular-nums; color: #be185d; font-weight: 800; }
html:not(.light-mode) .vo-sliders output { color: #f472b6; }
.vo-sliders input[type="range"] { width: 100%; accent-color: #db2777; min-height: 28px; }
.vo-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--glass-text-muted); }

.vo-engines { align-items: stretch; }
.vo-engine { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; border: 1px solid var(--glass-border); background: var(--glass-bg-subtle); }
.vo-engine h2 { margin: 0; font-size: 1.08rem; }
.vo-engine p { margin: 0; font-size: .92rem; }
.vo-engine .btn-row { margin-top: auto; }
.vo-engine--server { border-color: rgba(219,39,119,.35); }

.vo-status { min-height: 1.4em; margin: 0; font-weight: 600; color: var(--glass-text-main); }
.vo-status:empty { display: none; }

.vo-result { padding: 18px; border-radius: 16px; border: 1px solid rgba(16,185,129,.45); background: rgba(16,185,129,.08); display: grid; gap: 12px; }
.vo-result h2 { margin: 0; font-size: 1.08rem; }
.vo-result audio { width: 100%; }
.vo-result__meta { margin: 0; font-size: .88rem; color: var(--glass-text-muted); }

.vo-history h3 { margin: 0 0 10px; font-size: .98rem; color: var(--glass-text-muted); }
.vo-history ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vo-history li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--glass-border); background: var(--glass-bg-subtle); }
.vo-history__text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
