/* Oguva shared composer — one component for homepage search and chat messages. */
body.oguva-chatgpt-home #ask-form.oguva-composer{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:100%;
  min-width:0!important;
  min-height:64px!important;
  margin:0!important;
  padding:8px 10px 8px 14px!important;
  border:1px solid #e4e5e8!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 3px 14px rgba(0,0,0,.07)!important;
  overflow:visible!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer:focus-within{
  border-color:#b8bbc2!important;
  box-shadow:0 4px 18px rgba(0,0,0,.09)!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer .sc-ico{display:none!important}
body.oguva-chatgpt-home #ask-form.oguva-composer #ask-in{
  box-sizing:border-box!important;
  order:1!important;
  flex:1 1 0!important;
  width:0!important;
  min-width:0!important;
  min-height:42px!important;
  max-height:7em!important;
  margin:0!important;
  padding:10px 5px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#202123!important;
  -webkit-text-fill-color:#202123!important;
  caret-color:#202123!important;
  font:400 16px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer #ask-in::placeholder{
  color:#858992!important;opacity:1!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer #oguva-attach{
  order:0!important;flex:0 0 36px!important;width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;padding:0!important;
  display:grid!important;place-items:center!important;border:0!important;
  border-radius:11px!important;background:transparent!important;color:#5f636b!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer #oguva-voice-agent{
  order:2!important;flex:0 0 36px!important;width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;padding:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #e1e6e3!important;border-radius:11px!important;
  background:#f7faf8!important;color:#17695d!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer #oguva-voice-agent.active{
  background:#17695d!important;border-color:#17695d!important;color:#fff!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer #ask-go{
  order:3!important;flex:0 0 42px!important;width:42px!important;height:42px!important;
  min-width:42px!important;min-height:42px!important;margin:0!important;padding:0!important;
  display:grid!important;place-items:center!important;border:0!important;
  border-radius:50%!important;background:#202123!important;color:#fff!important;
  box-shadow:none!important;cursor:pointer!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer #ask-go:hover{background:#38393d!important}
body.oguva-chatgpt-home #ask-form.oguva-composer #ask-go:disabled{opacity:.5!important;cursor:wait!important}
body.oguva-chatgpt-home #ask-form.oguva-composer button:focus-visible{
  outline:2px solid #777!important;outline-offset:2px!important;
}
body.oguva-chatgpt-home #ask-form.oguva-composer #oguva-mic{display:none!important}

/* Homepage: the form itself is the visible card. */
body.oguva-chatgpt-home:not(.oguva-chat-active) .sc{
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body.oguva-chatgpt-home:not(.oguva-chat-active) #ask-form.oguva-composer{
  max-width:100%!important;
}

/* Chat: the outer .sc is the card; the shared form remains an inner row. */
body.oguva-chatgpt-home.oguva-chat-active .sc{
  box-sizing:border-box!important;
  background:#fff!important;border:1px solid #e4e5e8!important;
  border-radius:22px!important;box-shadow:0 4px 18px rgba(0,0,0,.08)!important;
  overflow:hidden!important;
}
body.oguva-chatgpt-home.oguva-chat-active #ask-form.oguva-composer{
  position:relative!important;inset:auto!important;left:auto!important;right:auto!important;
  top:auto!important;bottom:auto!important;transform:none!important;
  width:100%!important;max-width:none!important;min-height:60px!important;
  padding:7px 9px 7px 13px!important;margin:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;
}
body.oguva-chatgpt-home.oguva-chat-active .oguva-voice-controls{
  box-sizing:border-box!important;width:100%!important;margin:0!important;
  padding:5px 12px 8px!important;border:0!important;border-top:1px solid #f0f0f1!important;
  background:transparent!important;
}
html.oguva-dark body.oguva-chatgpt-home #ask-form.oguva-composer,
html.oguva-dark body.oguva-chatgpt-home.oguva-chat-active .sc{
  background:#202124!important;border-color:#3b3d42!important;
  box-shadow:0 4px 18px rgba(0,0,0,.24)!important;
}
html.oguva-dark body.oguva-chatgpt-home #ask-form.oguva-composer #ask-in{
  color:#f5f5f7!important;-webkit-text-fill-color:#f5f5f7!important;caret-color:#f5f5f7!important;
}
html.oguva-dark body.oguva-chatgpt-home #ask-form.oguva-composer #ask-in::placeholder{color:#a1a4ab!important}
html.oguva-dark body.oguva-chatgpt-home #ask-form.oguva-composer #ask-go{background:#f1f1f1!important;color:#202123!important}
html.oguva-dark body.oguva-chatgpt-home #ask-form.oguva-composer #oguva-voice-agent{background:#292e2c!important;border-color:#454c49!important;color:#b9e0d4!important}
html.oguva-dark body.oguva-chatgpt-home.oguva-chat-active .oguva-voice-controls{border-top-color:#383a40!important}

@media(max-width:760px){
  body.oguva-chatgpt-home #ask-form.oguva-composer{
    min-height:58px!important;gap:6px!important;padding:6px 7px 6px 10px!important;
    border-radius:21px!important;
  }
  body.oguva-chatgpt-home #ask-form.oguva-composer #ask-in{
    min-height:40px!important;padding:8px 3px!important;font-size:16px!important;
  }
  body.oguva-chatgpt-home #ask-form.oguva-composer #ask-go{
    flex-basis:40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
  }
  body.oguva-chatgpt-home #ask-form.oguva-composer #oguva-attach,
  body.oguva-chatgpt-home #ask-form.oguva-composer #oguva-voice-agent{
    flex-basis:33px!important;width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important;
  }
  body.oguva-chatgpt-home.oguva-chat-active .sc{border-radius:19px!important}
}
@media(prefers-reduced-motion:reduce){
  body.oguva-chatgpt-home #ask-form.oguva-composer,
  body.oguva-chatgpt-home #ask-form.oguva-composer *{transition:none!important}
}
