/* Shared business assistant styling, compatible with all KOVRA themes. */
.business-ai-launch{
  border-color:var(--theme-border-strong,var(--theme-border))!important;
  background:var(--theme-surface-2)!important;
}
.business-ai-launch .business-shared-icon{
  background:var(--theme-accent-soft)!important;
  color:var(--theme-text)!important;
  font-size:19px;
}
.business-ai-launch strong{color:var(--theme-text)!important}
.business-ai-launch small{color:var(--theme-muted)!important}
.business-ai-launch:focus-visible{
  outline:2px solid var(--theme-accent)!important;outline-offset:2px;
}
.business-ai-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.business-ai-actions a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:32px;padding:6px 10px;border:1px solid var(--theme-border-strong,var(--theme-border));
  border-radius:10px;background:var(--theme-accent-soft);color:var(--theme-text);
  text-decoration:none;font-size:12px;font-weight:750;
}
.business-ai-actions a:focus-visible{outline:2px solid var(--theme-accent);outline-offset:2px}
.business-ai-form input{font-size:16px!important}
@media(min-width:621px){
  #businessAiSupport{
    width:100%;display:grid;grid-template-rows:auto minmax(220px,1fr) auto auto auto;
    height:min(64vh,570px);min-height:410px;max-height:570px;overflow:hidden;
    border:1px solid var(--theme-border);border-radius:14px;
    background:var(--theme-surface);color:var(--theme-text);
  }
  #businessAiSupport .business-ai-head{
    display:grid;grid-template-columns:38px minmax(0,1fr) 36px;
    gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--theme-border);
  }
  #businessAiSupport .business-ai-mark{
    display:grid;place-items:center;width:36px;height:36px;
    background:var(--theme-accent-soft);border-radius:10px;font-weight:900;
  }
  #businessAiSupport .business-ai-head>span:nth-child(2){display:flex;flex-direction:column;gap:2px}
  #businessAiSupport .business-ai-head small{color:var(--theme-muted);font-size:12px}
  #businessAiSupport #businessAiClear{min-width:32px;min-height:32px}
  #businessAiLog{overflow:auto;display:flex;flex-direction:column;gap:9px;min-height:0;padding:12px}
  #businessAiSupport .business-ai-message{display:flex;gap:7px;align-items:flex-end}
  #businessAiSupport .business-ai-message.user{justify-content:flex-end}
  #businessAiSupport .business-ai-avatar{
    display:grid;place-items:center;flex:0 0 28px;height:28px;
    background:var(--theme-accent-soft);border-radius:9px;font-weight:800;font-size:11px;
  }
  #businessAiSupport .business-ai-bubble{
    padding:10px 12px;max-width:85%;border-radius:13px;
    border:1px solid var(--theme-border);background:var(--theme-surface-2);
    color:var(--theme-text);font-size:13px;line-height:1.42;
  }
  #businessAiSupport .business-ai-message.user .business-ai-bubble{background:var(--theme-accent-soft)}
  #businessAiSupport .business-ai-bubble p{margin:3px 0}
  #businessAiSupport .business-ai-bubble ol{padding-left:18px;margin:6px 0}
  #businessAiSupport .business-ai-note{display:block;margin-top:7px;color:var(--theme-muted)}
  #businessAiSuggestions{display:flex;gap:6px;overflow-x:auto;padding:7px 10px}
  #businessAiSuggestions button{
    flex:0 0 auto;border:1px solid var(--theme-border);
    border-radius:999px;background:var(--theme-surface-2);
    color:var(--theme-text);padding:6px 10px;font-size:12px;
  }
  #businessAiForm{display:flex;gap:8px;align-items:center;padding:8px 10px;border-top:1px solid var(--theme-border)}
  #businessAiForm input{width:100%;min-width:0;padding:10px;border:1px solid var(--theme-border);
    border-radius:11px;background:var(--theme-input);color:var(--theme-text)}
  #businessAiForm button{min-width:46px;min-height:42px;border-radius:11px;
    background:var(--theme-accent);color:var(--theme-on-accent);border:0}
  #businessAiSupport .business-ai-privacy{display:block;padding:5px 11px 9px;color:var(--theme-muted);font-size:11px}
}
