.voice-toolbar,.voice-controls,.voice-heading,.voice-history-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.voice-toolbar{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line,#d8dfda)}.voice-toolbar button,.voice-field,.voice-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.voice-toolbar svg,.voice-field svg,.voice-controls svg{width:20px;height:20px;flex:none}.voice-field{align-self:flex-start;padding:6px 10px!important;margin-top:4px;font-size:13px}.voice-dialog{width:min(640px,calc(100vw - 24px));max-height:88dvh;box-sizing:border-box;overflow:auto;border:1px solid var(--line,#d8dfda);border-radius:20px;padding:24px;background:var(--surface,#fff);color:var(--ink,#163426);box-shadow:0 24px 80px #0004}.voice-dialog::backdrop{background:#091b1666}.voice-heading{justify-content:space-between;flex-wrap:nowrap}.voice-heading h2{margin:0;font-size:22px}.voice-heading button{font-size:26px;min-width:40px}.voice-state{padding:12px;border-radius:12px;background:var(--tint,#edf4ef);line-height:1.5}.voice-controls{margin:16px 0}.voice-dialog audio{width:100%;margin:12px 0}.voice-dialog textarea{min-height:100px;box-sizing:border-box}.voice-proposal input[type=checkbox]{width:18px;height:18px;min-height:0;display:inline-block;vertical-align:middle;accent-color:#27764e;margin-right:8px}.voice-history-row{margin:12px 0;align-items:flex-start}.voice-history-row>.secondary{flex:1;text-align:left;white-space:normal}.voice-dialog [hidden]{display:none!important}@media(max-width:600px){.voice-dialog{padding:18px}.voice-heading h2{font-size:19px}.voice-toolbar>.secondary{width:100%}}

.voice-questions{margin:16px 0;border:1px solid var(--line,#d8dfda);border-radius:14px;padding:16px;background:var(--surface,#fff)}
.voice-questions h3{margin:0 0 10px;font-size:16px}.voice-task-title{margin:0 0 10px;font-size:14px;overflow-wrap:anywhere}
.voice-question-scroll{max-height:30dvh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px}
.voice-question-scroll:focus-visible{outline:2px solid #27764e;outline-offset:3px;border-radius:4px}
.voice-questions ol{margin:0;padding-left:26px}.voice-questions li{padding:8px 0 8px 4px;line-height:1.5;overflow-wrap:anywhere}
.voice-questions li+li{border-top:1px solid var(--line,#d8dfda)}.voice-questions li::marker{font-weight:700;color:var(--ink,#163426)}
.voice-questions strong{font-weight:600}.voice-questions small{display:block;margin-top:4px;line-height:1.5}.voice-question-task{margin:0 0 4px!important}
.voice-required{font-size:12px;font-weight:400}.voice-question-help{font-size:13px;line-height:1.5;margin:12px 0 0}
@media(max-width:600px){.voice-questions{padding:12px}.voice-question-scroll{max-height:28dvh}}
.voice-dialog{overscroll-behavior:contain;overflow-anchor:none;scroll-padding-block:20px}
.voice-dialog [data-suggestion-stage]{padding-top:4px}
.voice-dialog [data-suggestion-stage] h3{margin:12px 0;font-size:17px}
.voice-dialog [data-result] textarea{width:100%;max-width:100%}
.voice-progress{display:flex;align-items:flex-start;gap:12px;margin:18px 0 0;padding:16px;border:1px solid var(--line,#d8dfda);border-left:3px solid #258569;border-radius:14px;background:var(--soft,var(--surface,#fff));color:var(--ink,#163426)}
.voice-progress-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#25856918;color:#258569}
.voice-progress-icon svg{width:22px;height:22px}.voice-progress-copy{min-width:0;flex:1}.voice-progress-copy strong{display:block;font-size:15px;line-height:1.4}.voice-progress-copy>span{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:var(--muted,#62766e);overflow-wrap:anywhere}
.voice-progress-steps{display:flex;gap:5px;max-width:144px;margin-top:12px}.voice-progress-steps i{height:4px;flex:1;border-radius:3px;background:var(--line,#d8dfda)}.voice-progress-steps .done{background:#25856980}.voice-progress-steps .current{background:#258569}
.voice-progress[data-stage=failed],.voice-progress[data-stage=connection],.voice-progress[data-stage=waiting]{border-left-color:var(--muted,#62766e)}

.voice-flow{display:flex;gap:7px;margin:16px 0;font-size:12px;color:var(--muted,#62766e)}.voice-flow span{flex:1;padding:7px;border-bottom:2px solid var(--line,#d8dfda);text-align:center}.voice-flow[data-step="0"] span:nth-child(1),.voice-flow[data-step="1"] span:nth-child(2),.voice-flow[data-step="2"] span:nth-child(3){border-color:#258569;color:var(--strong,#23624f);font-weight:600}.voice-missing{border-color:#ad7c32!important}.voice-missing-notice{padding:12px 15px;border:1px solid #ad7c3250;border-radius:12px;line-height:1.5;font-size:13px}.voice-progress-copy button{margin-top:10px}
