/* ArtinAI 3.1.11 — ChatGPT-inspired composer; scoped to the chat interface only. */
.artinai-body .artin-chat .n-composer-studio.n-composer-minimal{
  width:min(100%,820px)!important;max-width:820px!important;
  padding:12px 14px 10px!important;border-radius:25px!important;
  border:1px solid var(--border)!important;background:var(--surface)!important;
  box-shadow:0 2px 14px rgba(12,22,32,.045)!important;overflow:visible!important;
}
.artinai-body .artin-chat .n-composer-minimal .n-minimal-composer-main.n-minimal-composer-left-tools{
  gap:3px!important;min-width:0!important;
}
.artinai-body .artin-chat .n-composer-studio textarea,
.artinai-body .artin-chat .n-composer-studio textarea:placeholder-shown{
  min-height:43px!important;padding:9px 9px 4px!important;
  line-height:1.75!important;font-size:max(15px,var(--chat-font-size,16px))!important;
  resize:none!important;
}
.artinai-body .artin-chat .n-composer-minimal .n-composer-side-all-left{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  flex-wrap:nowrap!important;overflow:visible!important;gap:7px!important;
  min-height:43px!important;padding:1px 2px 0!important;
}
.artinai-body .artin-chat .n-attach-dropdown,
.artinai-body .artin-chat .n-composer-tool-group{
  position:relative!important;flex:0 0 auto!important;min-width:0!important;
}
.artinai-body .artin-chat .n-attach-plus{
  display:grid!important;place-items:center!important;width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;padding:0!important;
  border:1px solid transparent!important;border-radius:50%!important;
  background:transparent!important;color:var(--text)!important;cursor:pointer!important;
}
.artinai-body .artin-chat .n-attach-plus:hover,
.artinai-body .artin-chat .n-attach-plus[aria-expanded=true]{background:var(--hover)!important}
.artinai-body .artin-chat .n-attach-plus .n-svg{width:21px!important;height:21px!important;margin:0!important;display:block!important}
.artinai-body .artin-chat .n-attach-menu,
.artinai-body .artin-chat .n-composer-tool-group .n-studio-tools-menu{
  display:none!important;position:absolute!important;bottom:calc(100% + 13px)!important;
  top:auto!important;right:0!important;left:auto!important;
  width:min(292px,calc(100vw - 36px))!important;max-width:292px!important;
  padding:8px!important;border-radius:17px!important;border:1px solid var(--border)!important;
  background:var(--surface)!important;box-shadow:0 12px 38px rgba(15,23,42,.14)!important;
  z-index:100!important;direction:rtl!important;overflow-y:auto!important;max-height:min(400px,60dvh)!important;
}
.artinai-body .artin-chat .n-attach-menu.show,
.artinai-body .artin-chat .n-composer-tool-group .n-studio-tools-menu.show{display:block!important}
.artinai-body .artin-chat .n-attach-menu-caption{
  padding:8px 10px 10px!important;font-size:11px!important;font-weight:650!important;
  color:var(--muted)!important;text-align:right!important;
}
.artinai-body .artin-chat .n-attach-menu>button{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:11px!important;width:100%!important;min-height:43px!important;
  padding:9px 10px!important;border:0!important;border-radius:11px!important;
  background:transparent!important;color:var(--text)!important;font:inherit!important;
  font-size:12px!important;text-align:right!important;cursor:pointer!important;
}
.artinai-body .artin-chat .n-attach-menu>button:hover{background:var(--hover)!important}
.artinai-body .artin-chat .n-attach-menu>button .n-svg{width:19px!important;height:19px!important;flex:0 0 19px!important}
.artinai-body .artin-chat .n-chat-studio-rail.n-chat-tools-only.n-composer-tool-group{
  display:block!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
.artinai-body .artin-chat .n-composer-tool-group>.n-studio-tools-toggle{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  height:36px!important;min-height:36px!important;padding:0 10px!important;
  border:0!important;border-radius:18px!important;background:transparent!important;
  color:var(--muted)!important;font:inherit!important;font-size:12px!important;font-weight:550!important;
  cursor:pointer!important;white-space:nowrap!important;
}
.artinai-body .artin-chat .n-composer-tool-group>.n-studio-tools-toggle:hover,
.artinai-body .artin-chat .n-composer-tool-group>.n-studio-tools-toggle[aria-expanded=true]{
  background:var(--hover)!important;color:var(--text)!important;
}
.artinai-body .artin-chat .n-composer-tool-group>.n-studio-tools-toggle .n-svg{
  width:16px!important;height:16px!important;display:block!important;flex:none!important;
}
.artinai-body .artin-chat .n-composer-tool-group>.n-studio-tools-toggle .n-svg:last-child{
  width:12px!important;height:12px!important;
}
.artinai-body .artin-chat .n-composer-tool-group .n-studio-tools-grid{
  display:flex!important;flex-direction:column!important;gap:3px!important;
}
.artinai-body .artin-chat .n-composer-tool-group .n-studio-tools-grid>button{
  display:flex!important;align-items:center!important;gap:10px!important;
  min-height:48px!important;padding:7px 9px!important;text-align:right!important;
  border-radius:10px!important;
}
.artinai-body .artin-chat .n-composer-tool-group .n-studio-tools-grid>button:hover{background:var(--hover)!important}
.artinai-body .artin-chat .n-composer-side-all-left:has(.n-voice-choice)>.n-voice-choice{
  margin-right:auto!important;margin-left:0!important;flex:0 0 auto!important;
}
.artinai-body .artin-chat .n-composer-side-all-left:has(.n-voice-choice)>.n-send{
  margin-right:0!important;margin-left:0!important;
}
.artinai-body .artin-chat .n-composer-minimal .n-send{
  width:37px!important;height:37px!important;min-width:37px!important;
  border-radius:50%!important;position:relative!important;left:auto!important;
}
.artinai-body .artin-chat .n-composer-minimal .n-send:disabled{opacity:.32!important}
.artinai-body .artin-chat .n-attach-plus:focus-visible,
.artinai-body .artin-chat .n-composer-tool-group>.n-studio-tools-toggle:focus-visible{
  outline:2px solid var(--accent)!important;outline-offset:2px!important;
}
@media(max-width:600px){
 .artinai-body .artin-chat .n-composer-studio.n-composer-minimal{padding:9px 10px 8px!important;border-radius:22px!important}
 .artinai-body .artin-chat .n-composer-minimal .n-composer-side-all-left{gap:3px!important;flex-wrap:nowrap!important;overflow:visible!important}
 .artinai-body .artin-chat .n-composer-tool-group>.n-studio-tools-toggle{padding:0 7px!important;font-size:11px!important}
 .artinai-body .artin-chat .n-composer-minimal .n-prompt-enhance>span{display:none!important}
 .artinai-body .artin-chat .n-composer-minimal .n-send{position:relative!important;left:auto!important}
}
@media(prefers-reduced-motion:reduce){.artinai-body .artin-chat .n-attach-menu,.artinai-body .artin-chat .n-studio-tools-menu{transition:none!important}}
