.voice-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:24px 0 0; }
.voice-heading h2 { margin:0; font-size:23px; }
.voice-toolbar { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; }
.voice-toolbar label { color:var(--muted); font-size:13px; }
.voice-toolbar select { flex:1; min-width:140px; }
.voice-default-settings { display:grid; grid-column:2 / -1; gap:8px; padding-top:4px; }
.voice-default-settings > label { color:#949aad; font-size:11px; font-weight:600; }
.voice-range-field { padding:12px 0 22px; }
.voice-range-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.voice-editor .voice-range-heading > label { margin:0; }
.voice-range-reading { display:inline-flex; align-items:baseline; gap:4px; color:#bfb5ff; font-size:12px; font-weight:700; }
.voice-editor input.voice-range-value { width:3ch; min-width:1ch; height:auto; padding:0; margin:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:#bfb5ff; font:700 12px Manrope,sans-serif; font-variant-numeric:tabular-nums; line-height:1.6; text-align:right; }
.voice-editor input.voice-range-value:focus { outline:none; text-decoration:underline; text-underline-offset:3px; }
.voice-range-field input[type="range"] { appearance:none; width:100%; height:28px; margin:4px 0 6px; padding:0; border:0; border-radius:8px; cursor:pointer; background:transparent; }
.voice-range-field input[type="range"]:focus { outline:2px solid #8c7bff; outline-offset:3px; }
.voice-range-field input[type="range"]::-webkit-slider-runnable-track { height:6px; border-radius:8px; background:linear-gradient(to right,#8879ef var(--range-fill,0%),#363945 var(--range-fill,0%)); }
.voice-range-field input[type="range"]::-moz-range-track { height:6px; border-radius:8px; background:linear-gradient(to right,#8879ef var(--range-fill,0%),#363945 var(--range-fill,0%)); }
.voice-range-field input[type="range"]::-webkit-slider-thumb { appearance:none; width:12px; height:22px; margin-top:-8px; border:0; border-radius:3px; background:#f2f3f5; box-shadow:0 2px 6px #0005; }
.voice-range-field input[type="range"]::-moz-range-thumb { width:12px; height:22px; border:0; border-radius:3px; background:#f2f3f5; box-shadow:0 2px 6px #0005; }
.voice-range-labels { display:flex; justify-content:space-between; color:#949aad; font-size:10px; }
.voice-bitrate-slider { position:relative; padding-bottom:20px; }
.voice-standard-marker { position:absolute; top:33px; width:1px; height:7px; background:#9894b3; pointer-events:none; }
.voice-standard-marker > span { position:absolute; top:9px; left:0; transform:translateX(-50%); color:#a9a4c1; font-size:9px; white-space:nowrap; }
.voice-permissions { margin-top:24px; padding-top:22px; border-top:1px solid #ffffff12; }
.voice-permission-layout { display:grid; grid-template-columns:minmax(150px,210px) minmax(0,1fr); gap:22px; align-items:start; }
.voice-permission-sidebar { padding:12px; border:1px solid #ffffff0a; border-radius:8px; background:#10131c; min-width:0; }
.voice-permission-sidebar h4 { margin:0 0 12px; font-size:11px; font-weight:800; color:#949aad; }
.voice-permission-targets { display:grid; gap:4px; max-height:290px; overflow-y:auto; margin-bottom:18px; scrollbar-width:thin; }
.voice-permission-target { --target-color:#b5bacb; display:flex; gap:8px; align-items:center; width:100%; padding:9px 8px; border:0; border-radius:5px; background:transparent; color:#b5bacb; font:600 12px Manrope,sans-serif; text-align:left; cursor:pointer; }
.voice-permission-target:hover { background:#ffffff0a; }
.voice-permission-target[aria-pressed="true"] { background:#ffffff13; color:#f2f3f5; }
.voice-permission-target:focus-visible { outline:2px solid #b7adf8; outline-offset:-2px; }
.voice-target-icon { display:inline-flex; flex:none; align-items:center; justify-content:center; width:16px; height:16px; color:var(--target-color); }
.voice-target-icon i { width:11px; height:11px; border-radius:50%; background:var(--target-color); }
.voice-target-icon img { width:16px; height:16px; object-fit:contain; }
.voice-target-icon.is-member { width:20px; height:20px; overflow:hidden; border-radius:50%; background:#353b50; color:#dce0ef; font-size:10px; }
.voice-target-icon.is-member img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.voice-target-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.voice-permission-sidebar > label { font-size:10px; color:#949aad; }
.voice-permission-picker { position:relative; margin-bottom:12px; }
.voice-picker-toggle { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; padding:10px 8px; border:1px solid #ffffff12; border-radius:6px; background:#171b27; color:#c5c9d8; font:600 11px Manrope,sans-serif; cursor:pointer; text-align:left; }
.voice-picker-toggle:hover { background:#1e2332; }
.voice-picker-toggle:disabled { opacity:.5; cursor:default; }
.voice-picker-toggle:focus-visible { outline:2px solid #b7adf8; outline-offset:2px; }
.voice-permission-menu { position:absolute; z-index:15; top:calc(100% + 5px); left:0; right:0; max-height:260px; overflow-y:auto; padding:5px; border:1px solid #414552; border-radius:7px; background:#1b1e28; box-shadow:0 12px 28px #0006; scrollbar-width:thin; }
.voice-permission-option .voice-target-name { color:var(--target-color); }
.voice-permission-option:hover,.voice-permission-option:focus-visible { background:#ffffff0d; }
.voice-permission-sidebar .voice-permission-add { display:grid; gap:8px; }
.voice-permission-sidebar .voice-permission-add input { font-size:11px; padding:9px 7px; margin:0; }
.voice-permission-sidebar .voice-permission-add button { padding:8px; font-size:11px; }
.voice-permission-details { min-width:0; }
.voice-permission-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:32px; }
.voice-permission-heading h4 { margin:0; color:#e3e5ee; font-size:13px; overflow-wrap:anywhere; }
.voice-permission-heading #voice-permission-remove { margin:0; flex:none; padding:7px 9px; font-size:10px; }
.voice-permission-add { display:flex; align-items:start; gap:8px; }
.voice-permission-add input { flex:1; min-width:0; }
.voice-permission-group { margin:24px 0 8px; color:#949aad; font-size:11px; font-weight:800; }
.voice-permission-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid #ffffff0a; font-size:12px; color:#d6d9e3; }
.voice-permission-switch { position:relative; flex:none; width:40px; height:24px; padding:3px; border:0; border-radius:14px; background:#525764; cursor:pointer; transition:background .18s; }
.voice-permission-switch > span { display:block; width:18px; height:18px; border-radius:50%; background:#fff; transition:transform .18s; }
.voice-permission-switch[aria-checked="true"] { background:#248453; }
.voice-permission-switch[aria-checked="true"] > span { transform:translateX(16px); }
.voice-permission-switch:focus-visible { outline:2px solid #b7adf8; outline-offset:3px; }
.voice-permission-switch:disabled { cursor:default; opacity:.5; }
#voice-permission-remove { margin-top:18px; }
#voice-section select { padding:11px 12px; border:1px solid #ffffff12; border-radius:8px; background:#0f121c; color:#e3e5ee; font:inherit; font-size:13px; max-width:100%; }
#voice-section select:focus-visible { outline:2px solid #8c7bff; outline-offset:2px; }
.voice-editor { margin-bottom:22px; }
.voice-editor fieldset { border:0; padding:0; margin:0; min-width:0; }
.voice-editor label { display:block; }
.voice-editor select { width:100%; margin-bottom:22px; }
.voice-editor .account-actions { margin-top:20px; }
.voice-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.voice-presets { display:grid; gap:16px; margin-bottom:18px; }
.voice-preset-header { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:10px; }
.voice-preset-header h3 { margin:0; color:#e3e5ee; font-size:16px; overflow-wrap:anywhere; }
.voice-default { color:#9ddfb3; font-size:11px; }
.voice-preset-channel { color:#b5bacb; font-size:13px; overflow-wrap:anywhere; }
.voice-preset-facts { display:flex; gap:16px; flex-wrap:wrap; color:#949aad; font-size:11px; margin:16px 0; }
.voice-preset-actions { display:flex; flex-wrap:wrap; gap:8px; }
.voice-delete { color:#ef8b96; }
.account-navigation button[aria-expanded="true"] { background:#8f7dff26; color:#ded8ff; }
.account-navigation button:not(:disabled) { cursor:pointer; }
.account-navigation button:not(:disabled):hover { background:#ffffff0e; }
@media(max-width:520px) { .voice-field-grid { grid-template-columns:1fr; gap:0; } .voice-toolbar { grid-template-columns:1fr; } .voice-default-settings { grid-column:1; } .voice-toolbar > .account-primary { width:100%; grid-row:4; } }
@media(max-width:680px) { .voice-permission-layout { grid-template-columns:1fr; } .voice-permission-targets { max-height:180px; } }
@media(prefers-reduced-motion:reduce) { .voice-permission-switch,.voice-permission-switch > span { transition:none; } }
