.quote-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:16px;padding:4px;border:1px solid var(--line);border-radius:14px;background:#0d0f14}.quote-mode-switch button{border:0;border-radius:10px;padding:11px 12px;background:transparent;color:#9099a8;font-weight:800;font-size:12px}.quote-mode-switch button.active{background:#242932;color:#fff;box-shadow:0 3px 12px rgba(0,0,0,.2)}.quote-mode-switch button[data-mode="audio"].active{background:var(--accent);color:#fff}.voice-entry-card{display:none;margin-top:16px;padding:18px;border:1px solid color-mix(in srgb,var(--accent) 45%,#29303a);border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 10%,#151820),#151820)}body.quote-audio-mode .voice-entry-card{display:block}.voice-entry-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.voice-entry-card h2{font-size:16px;margin:0 0 7px}.voice-entry-card p{margin:0;color:#9da6b5;font-size:12px;line-height:1.55}.voice-entry-actions{display:flex;gap:9px;margin-top:14px;flex-wrap:wrap}.voice-entry-actions .btn{font-size:12px}.voice-profile-btn{display:none;margin-top:9px;border:0;background:transparent;color:var(--accent);font-size:11px;font-weight:800;padding:0}body.quote-audio-mode .voice-profile-btn{display:inline-flex}.voice-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:color-mix(in srgb,var(--accent) 14%,transparent);color:color-mix(in srgb,var(--accent) 80%,white);font-size:10px;font-weight:800;white-space:nowrap}.voice-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.voice-overlay{position:fixed;inset:0;z-index:2147483500;background:rgba(5,6,9,.88);backdrop-filter:blur(14px);display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom))}.voice-overlay[hidden]{display:none}.voice-dialog{width:min(680px,100%);max-height:min(860px,calc(100dvh - 28px));overflow:auto;background:#11141a;border:1px solid #2a303a;border-radius:24px;color:#f7f8fb;box-shadow:0 26px 90px rgba(0,0,0,.45)}.voice-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px 22px 15px;border-bottom:1px solid #252b34}.voice-dialog-header h2{font-size:21px;margin:4px 0 5px}.voice-dialog-header p{margin:0;color:#949eae;font-size:11.5px;line-height:1.45}.voice-close{border:1px solid #303641;background:#171b22;color:#fff;width:36px;height:36px;border-radius:12px;font-size:20px;line-height:1}.voice-progress{display:flex;gap:6px;padding:14px 22px 0}.voice-progress span{height:4px;flex:1;border-radius:999px;background:#2d333d}.voice-progress span.done,.voice-progress span.active{background:var(--accent)}.voice-body{padding:20px 22px 22px}.voice-step-label{font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--accent);text-transform:uppercase}.voice-body h3{font-size:22px;margin:6px 0 8px}.voice-lead{font-size:12.5px;line-height:1.55;color:#a7b0be;margin:0 0 17px}.voice-instruction-box{border:1px solid #29303a;background:#0d1015;border-radius:16px;padding:15px;margin:14px 0}.voice-instruction-box strong{display:block;font-size:11px;margin-bottom:9px}.voice-instruction-box ul{margin:0;padding-left:18px;color:#ced4de;font-size:11.5px;line-height:1.65}.voice-tip{display:flex;gap:9px;margin-top:12px;padding:11px 12px;border-radius:12px;background:color-mix(in srgb,var(--accent) 8%,#101319);color:#aeb7c4;font-size:10.5px;line-height:1.5}.voice-tip b{color:#fff}.recorder-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 10px 12px;text-align:center}.voice-record-btn{position:relative;width:94px;height:94px;border-radius:50%;border:0;background:var(--accent);color:#fff;font-size:33px;display:grid;place-items:center;box-shadow:0 0 0 10px color-mix(in srgb,var(--accent) 10%,transparent),0 12px 30px color-mix(in srgb,var(--accent) 30%,transparent)}.voice-record-btn.recording{background:#e11d48}.voice-record-btn.recording:before,.voice-record-btn.recording:after{content:"";position:absolute;inset:-12px;border:2px solid rgba(225,29,72,.5);border-radius:50%;animation:voicePulse 1.5s infinite}.voice-record-btn.recording:after{animation-delay:.7s}.voice-record-btn .stop-square{width:26px;height:26px;border-radius:6px;background:#fff}.voice-record-label{font-size:12px;font-weight:800;margin-top:16px}.voice-record-sub{font-size:10.5px;color:#8e98a7;margin-top:5px}.voice-timer{font-variant-numeric:tabular-nums;font-size:24px;font-weight:800;margin-top:10px}.voice-wave{display:flex;align-items:center;gap:4px;height:30px;margin-top:8px}.voice-wave span{width:4px;height:7px;background:var(--accent);border-radius:9px}.voice-wave.active span{animation:voiceBar .8s ease-in-out infinite alternate}.voice-wave span:nth-child(2){animation-delay:.15s}.voice-wave span:nth-child(3){animation-delay:.3s}.voice-wave span:nth-child(4){animation-delay:.05s}.voice-wave span:nth-child(5){animation-delay:.25s}.voice-processing{display:grid;place-items:center;text-align:center;min-height:285px}.voice-spinner{width:46px;height:46px;border-radius:50%;border:4px solid #303641;border-top-color:var(--accent);animation:voiceSpin .8s linear infinite;margin-bottom:16px}.voice-processing strong{font-size:15px}.voice-processing p{font-size:11px;color:#929cab;max-width:330px;line-height:1.5}.voice-transcript{margin:15px 0;padding:12px;border-radius:12px;background:#0c0f14;border:1px solid #252b34;color:#aab3c0;font-size:11px;line-height:1.5}.voice-phase-ok{display:grid;place-items:center;text-align:center;padding:20px 0 4px}.voice-check{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:rgba(34,197,94,.12);color:#4ade80;font-size:27px;margin-bottom:10px}.voice-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;flex-wrap:wrap}.voice-actions .btn{min-width:120px}.voice-review{display:grid;gap:13px}.voice-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.voice-review label{font-size:11px}.voice-review input,.voice-review textarea,.voice-review select{background:#0d1015}.voice-review-section{border:1px solid #292f38;border-radius:16px;padding:14px}.voice-review-section h4{font-size:12px;margin:0 0 11px}.voice-logo-review{display:flex;align-items:center;gap:13px}.voice-logo-thumb{width:62px;height:62px;border-radius:13px;border:1px solid #303641;background:#080a0e;display:grid;place-items:center;overflow:hidden;font-size:9px}.voice-logo-thumb img{width:100%;height:100%;object-fit:contain}.voice-line-review{display:grid;grid-template-columns:92px minmax(0,1.5fr) 80px 105px 34px;gap:7px;align-items:end;padding:10px 0;border-bottom:1px solid #252b34}.voice-line-review:last-child{border-bottom:0}.voice-line-review input,.voice-line-review select{padding:9px;font-size:10px}.voice-line-review button{height:36px;border-radius:9px;border:1px solid #373e49;background:#161a21;color:#ff8495}.voice-add-line{margin-top:10px}.mode-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.mode-choice{border:1px solid #2d343f;border-radius:18px;padding:18px;background:#0d1015;text-align:left;color:#fff}.mode-choice:hover{border-color:var(--accent)}.mode-choice .mode-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#1c2129;font-size:22px;margin-bottom:13px}.mode-choice strong{display:block;font-size:14px;margin-bottom:5px}.mode-choice span{font-size:10.5px;line-height:1.45;color:#949ead}.mode-choice.audio .mode-icon{background:color-mix(in srgb,var(--accent) 15%,#151820);color:var(--accent)}.voice-error{padding:12px;border-radius:12px;background:rgba(225,29,72,.1);border:1px solid rgba(225,29,72,.28);color:#ff98a8;font-size:11px;line-height:1.45;margin-top:12px}@keyframes voicePulse{0%{transform:scale(.9);opacity:.9}100%{transform:scale(1.35);opacity:0}}@keyframes voiceBar{from{height:6px}to{height:27px}}@keyframes voiceSpin{to{transform:rotate(360deg)}}
@media(max-width:620px){.quote-mode-switch{margin-top:14px}.voice-dialog{border-radius:21px;max-height:calc(100dvh - 18px)}.voice-dialog-header{padding:18px 17px 13px}.voice-body{padding:17px}.voice-body h3{font-size:20px}.voice-review-grid,.mode-choice-grid{grid-template-columns:1fr}.voice-line-review{grid-template-columns:1fr 1fr}.voice-line-review .voice-line-name{grid-column:1/-1}.voice-line-review button{align-self:end}.voice-actions{position:sticky;bottom:-17px;background:linear-gradient(180deg,transparent,#11141a 20%);padding:24px 0 4px}.voice-actions .btn{flex:1;min-width:0}.voice-record-btn{width:88px;height:88px}}
