body.sc-voice-active .iconButton.active,body.sc-voice-active .iconButton.active:hover{background:#d92d20!important;border-color:#d92d20!important;color:#fff!important}.sc-quick-reset{width:64px!important;height:64px!important;top:18px!important;right:20px!important}.sc-quick-reset svg{width:38px!important;height:38px!important}.sc-image-paste-hint{position:fixed;z-index:8490;color:#8a8a8a;font:400 12px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;pointer-events:none;white-space:nowrap;transform:translateY(6px);transition:opacity .15s ease}body.sc-voice-active .sc-image-paste-hint{opacity:0!important}body.sc-multi-images-active .sc-image-paste-hint{opacity:0}body.sc-multi-images-active .askForm{margin-bottom:92px}body.sc-multi-images-active .imagePreviewWrap{display:none!important}.sc-multi-image-strip{position:fixed;z-index:30;display:flex;align-items:flex-start;justify-content:flex-start;gap:9px;height:72px;pointer-events:none}.sc-multi-image-item{position:relative;flex:0 0 68px;width:68px;height:68px;overflow:visible;pointer-events:auto;animation:scImageIn .18s ease-out both}.sc-multi-image-item>img{display:block;width:68px;height:68px;object-fit:cover;border-radius:12px;border:1px solid rgba(17,17,17,.12);background:#f5f5f5}.sc-multi-image-remove{position:absolute;top:-7px;right:-7px;width:21px;height:21px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#111;color:#fff;font:400 15px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.16)}.sc-multi-image-index{position:absolute;left:5px;bottom:5px;min-width:17px;height:17px;display:grid;place-items:center;padding:0 4px;border-radius:999px;background:rgba(17,17,17,.78);color:#fff;font:600 10px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;pointer-events:none}

/* Core composer: compact, multiline and aligned toward the task area. */
.askForm{width:calc(100% + 28px)!important;margin-left:-28px!important;margin-top:-8px!important}.inputRow{gap:8px!important;padding-bottom:10px!important;min-height:52px;align-items:end!important}.inputRow textarea{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:18px!important;line-height:1.42!important;padding:6px 0!important;letter-spacing:-.01em!important;min-height:48px!important;max-height:220px!important;resize:none!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}.inputRow textarea::placeholder{color:#737373!important}.iconButton,.submitButton{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}.iconButton svg,.submitButton svg{width:20px!important;height:20px!important}

/* Voice mode: one native waveform driven directly by the microphone + one confirm action. */
body.sc-voice-active .inputRow{grid-template-columns:minmax(0,1fr) 48px!important;gap:12px!important}body.sc-voice-active .inputRow>.iconButton:not(.active),body.sc-voice-active .submitButton{display:none!important}body.sc-voice-active .voiceMeter{opacity:1!important;position:relative!important;z-index:3!important;width:100%!important;height:46px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:3px!important;overflow:hidden!important}body.sc-voice-active .voiceMeter span{display:block!important;flex:1 1 0!important;width:auto!important;min-width:2px!important;max-width:6px!important;max-height:38px!important;border-radius:999px!important;background:#111!important;opacity:.9!important;transition:height .055s linear!important}.sc-voice-wave{display:none!important}.sc-voice-status{display:none!important}

/* The active microphone becomes the single red confirmation control. */
body.sc-voice-active .iconButton.active{display:grid!important;position:relative!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}body.sc-voice-active .iconButton.active svg{opacity:0!important}body.sc-voice-active .iconButton.active::after{content:"";position:absolute;left:50%;top:50%;width:9px;height:16px;border:solid #fff;border-width:0 2px 2px 0;transform:translate(-50%,-58%) rotate(45deg);pointer-events:none}

@media(max-width:640px){.askForm{width:100%!important;margin-left:0!important;margin-top:-4px!important}.inputRow{gap:6px!important;padding-bottom:9px!important;min-height:48px}.inputRow textarea{font-size:17px!important;line-height:1.4!important;min-height:44px!important;max-height:180px!important}.iconButton,.submitButton{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.iconButton svg,.submitButton svg{width:19px!important;height:19px!important}body.sc-voice-active .inputRow{grid-template-columns:minmax(0,1fr) 44px!important;gap:10px!important}body.sc-voice-active .voiceMeter{height:42px!important;gap:2px!important}body.sc-voice-active .voiceMeter span{min-width:1px!important;max-width:5px!important;max-height:34px!important}body.sc-voice-active .iconButton.active{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.sc-quick-reset{width:48px!important;height:48px!important;top:10px!important;right:10px!important}.sc-quick-reset svg{width:27px!important;height:27px!important}body.sc-multi-images-active .askForm{margin-bottom:76px}.sc-multi-image-strip{gap:8px;height:60px}.sc-multi-image-item{flex-basis:56px;width:56px;height:56px}.sc-multi-image-item>img{width:56px;height:56px;border-radius:10px}.sc-multi-image-remove{top:-6px;right:-6px;width:20px;height:20px;font-size:14px}.sc-multi-image-index{left:4px;bottom:4px}}

@media(hover:none) and (pointer:coarse){.sc-image-paste-hint{display:none!important}}
