.voice-preferences fieldset {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border:0;padding:0;margin:18px 0}
.voice-preferences fieldset label {display:flex;flex-direction:column;gap:8px;min-width:0}
.voice-preferences fieldset p,.voice-preferences fieldset button {grid-column:1/-1}
.voice-preferences select {width:100%;min-height:44px}
.voice-preferences p {line-height:1.7}
.message-voice {margin-top:8px;max-width:100%;font-size:12px}
.message-voice audio,.voice-preferences audio {display:block;width:100%;max-width:100%;margin:8px 0}
.message-voice .listen-panel {border-radius:18px;padding:10px;background:var(--surface-secondary,rgba(128,150,180,.08))}
.voice-library {margin:20px 0;padding:18px;border:1px solid var(--border,rgba(128,150,180,.25));border-radius:18px}
.character-preferences.voice-preferences {grid-column:1/-1}
.voice-tabs,.voice-actions {display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.voice-tabs [aria-selected=true] {background:var(--accent,#665ad1);color:white}
.voice-search {display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:18px 0}
.voice-search label {display:flex;flex-direction:column;gap:6px;flex:1;min-width:160px}
.voice-library input:not([type=checkbox]),.voice-library textarea {width:100%;min-height:42px;padding:10px;border:1px solid var(--border,rgba(128,150,180,.3));border-radius:8px;background:var(--surface,transparent);color:inherit;box-sizing:border-box}
.voice-library textarea {min-height:100px}
.voice-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}
.voice-card {padding:16px;border:1px solid var(--border,rgba(128,150,180,.25));border-radius:14px;min-width:0;overflow-wrap:anywhere;margin:8px 0}
.voice-card h3 {margin:0 0 8px}.voice-card small {line-height:1.65}
.voice-preferences .voice-check {display:flex;flex-direction:row;align-items:center;gap:10px}
.voice-wide,.voice-library fieldset p {grid-column:1/-1}
.voice-fixture {padding:12px;background:rgba(218,157,35,.12);border-radius:10px}
@media(max-width:600px){.voice-library{padding:12px}.voice-preferences fieldset{grid-template-columns:1fr}.voice-tabs .btn{flex:1}.voice-search label{min-width:100%}}
