/* Goal voice selector – keyboard-friendly native modal */
.ls-goal-voice-dialog{position:fixed;inset:0;margin:auto;max-height:min(90dvh,740px);width:min(94vw,550px);overflow-y:auto;box-sizing:border-box;padding:clamp(18px,3vw,29px);background:#f9fbff;color:#182941;border:1px solid #cbd7e6;border-radius:20px;box-shadow:0 30px 95px #050e20a6}
.ls-goal-voice-dialog:not([open]){display:none}
.ls-goal-voice-dialog::backdrop{background:#060e1cbc;backdrop-filter:blur(5px)}
.ls-goal-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ls-goal-dialog-eyebrow{font-size:10px;letter-spacing:.1em;color:#c22852;font-weight:950}
.ls-goal-dialog-head h2{margin:5px 0 0;font-size:clamp(24px,3vw,30px);line-height:1.16;color:#172940;letter-spacing:-.025em;font-weight:950}
.ls-goal-close{font-size:28px;line-height:1;min-width:38px;min-height:38px;border-radius:8px;background:#e7ecf5;color:#1f2f43;cursor:pointer}
.ls-goal-close:hover{background:#ffdce5}
.ls-goal-dialog-intro{font-size:13px;line-height:1.6;color:#62748b;margin:12px 0 18px}
.ls-goal-voice-list{border:0;margin:0;padding:0;display:grid;gap:10px;min-width:0}
.ls-goal-voice-card{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;background:#fff;border:2px solid #dce5ef;border-radius:13px;padding:12px;transition:border-color .16s,background .16s}
.ls-goal-voice-card.is-selected{border-color:#e52e57;background:#fff4f7;box-shadow:0 0 0 2px #fbdce4}
.ls-goal-voice-label{display:flex;align-items:center;gap:9px;flex:1;min-width:0;cursor:pointer}
.ls-goal-voice-label input{flex:none;accent-color:#cb2650;width:18px;height:18px}
.ls-goal-avatar{display:grid;place-items:center;width:38px;height:38px;min-width:38px;background:#eaf0f9;border-radius:10px;font-size:20px}
.ls-goal-voice-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.ls-goal-voice-copy strong{font-weight:950;color:#1b304a;font-size:14px}
.ls-goal-voice-copy small{color:#64748b;font-size:11px;line-height:1.3}
.ls-goal-preview{flex:none;cursor:pointer;min-height:38px;padding:8px 10px;border:1px solid #c9d8ed;border-radius:8px;background:#eaf3ff;color:#15467f;font-size:11px;font-weight:900}
.ls-goal-preview:hover,.ls-goal-preview:focus-visible{background:#d8e9ff;border-color:#4f8ccc}
.ls-goal-preview:disabled{opacity:.62;cursor:wait}
.ls-goal-dialog-status{font-size:12px;line-height:1.5;color:#526982;background:#ecf2fa;padding:10px 12px;border-radius:9px;margin:15px 0 13px}
.ls-goal-dialog-actions{display:flex;justify-content:space-between;gap:9px}
.ls-goal-dialog-actions button{min-height:44px;padding:11px 14px;border-radius:9px;cursor:pointer;font-size:12px;font-weight:900}
.ls-goal-mute{background:#e6ecf4;color:#27394e}
.ls-goal-apply{background:#d92d56;color:#fff}
.ls-goal-apply:hover{background:#b51c43}
html[data-theme="dark"] .ls-goal-voice-dialog{background:#142237;color:#f1f6ff;border-color:#46607e}
html[data-theme="dark"] .ls-goal-dialog-head h2,html[data-theme="dark"] .ls-goal-voice-copy strong{color:#f1f6ff!important}
html[data-theme="dark"] .ls-goal-dialog-intro,html[data-theme="dark"] .ls-goal-voice-copy small{color:#bdcce1!important}
html[data-theme="dark"] .ls-goal-voice-card{background:#1b3048;border-color:#415672}
html[data-theme="dark"] .ls-goal-voice-card.is-selected{background:#422739;border-color:#ff7996}
html[data-theme="dark"] .ls-goal-avatar{background:#304561}
html[data-theme="dark"] .ls-goal-dialog-status{background:#203650;color:#d6e4f6}
html[data-theme="dark"] .ls-goal-close,html[data-theme="dark"] .ls-goal-mute{background:#344b68;color:#f6f8ff}
html[data-theme="dark"] .ls-goal-preview{background:#263e60;color:#d9eaff;border-color:#58779c}
@media(max-width:700px){.ls-goal-voice-card{flex-wrap:wrap}.ls-goal-preview{margin-left:29px;min-height:36px}.ls-goal-voice-dialog{max-height:92dvh;border-radius:15px;padding:18px}.ls-goal-dialog-actions button{font-size:11px;padding:9px 10px}.ls-goal-voice-copy small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ls-goal-voice-card{transition:none}}
