.workflow-ai-card {
  --assistant-purple: #5f0080;
  --assistant-border: #e5d9eb;
  --assistant-wash: #f8f2fb;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 30px);
  border-color: var(--assistant-border);
  color: #2d1937;
}
#workflowAssistantButton {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  gap: 7px; margin-inline: auto; min-height: 44px; padding: 7px 14px;
  color: #5f0080; background: #f8f1fc; border: 1px solid #e3d1ec;
  border-radius: 10px; font-size: 13px; font-weight: 750; white-space: nowrap;
}
#workflowAssistantButton > :first-child { font-size: 19px; line-height: 1; }
#workflowAssistantButton:hover, #workflowAssistantButton[aria-current="page"] { background: #f0e1f7; border-color: #caa8da; }
#workflowAssistantButton:focus-visible { outline-color: #7d4397; }
.workflow-ai-setup { margin: 16px 0 0; }
@media (max-width: 420px) {
  #workflowAssistantButton { margin-inline: auto 0; padding-inline: 9px; gap: 5px; font-size: 12px; }
}
@media (max-width: 390px) {
  #workspace > header { padding-inline: 12px; }
  #brandHome { gap: 7px; }
  #brandHome .brand-logo { width: 42px; height: 42px; }
}
@media (max-width: 355px) {
  #workflowAssistantButton { min-width: 44px; }
  #workflowAssistantButton > :last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.workflow-ai-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--assistant-border);
}
.workflow-ai-heading h2 { margin: 0; font-size: clamp(17px, 3vw, 21px); letter-spacing: -.025em; }
.workflow-ai-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f2e8fa;
  color: var(--assistant-purple);
  font-size: 23px;
}
.workflow-ai-status { margin-left: auto; color: #63516d; font-size: 12px; }
.workflow-ai-conversation { margin-top: 18px; }
.workflow-ai-question {
  width: fit-content;
  max-width: 94%;
  margin: 0 0 14px auto;
  padding: 10px 15px;
  border-radius: 14px 14px 4px 14px;
  background: #f2e8fa;
  color: #4a285d;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.workflow-ai-answer { color: #4d4055; overflow-wrap: anywhere; }
.workflow-ai-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px 20px;
  padding: 16px 18px;
  border: 1px solid var(--assistant-border);
  border-left: 4px solid var(--assistant-purple);
  border-radius: 10px;
  background: var(--assistant-wash);
}
.workflow-ai-statement h3 { margin: 3px 0; font-size: 18px; }
.workflow-ai-statement p { margin: 0; color: #63516d; font-size: 13px; }
.workflow-ai-results { display: grid; gap: 4px; margin: 0; }
.workflow-ai-results > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 7px 0; border-top: 1px solid var(--assistant-border); }
.workflow-ai-results dd { margin: 0 0 0 auto; color: var(--assistant-purple); font-weight: 750; font-variant-numeric: tabular-nums; }
.workflow-ai-form { display: grid; gap: 9px; margin-top: 18px; }
.workflow-ai-form label { font-size: 14px; font-weight: 700; }
.workflow-ai-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.workflow-ai-composer input { min-width: 0; width: 100%; font-size: 16px; }
.workflow-ai-composer input:focus { border-color: #9655ad; outline-color: #e5d1ee; }
.workflow-ai-primary {
  justify-self: start;
  min-height: 44px;
  padding-inline: 16px;
  background: var(--assistant-purple);
  border-color: var(--assistant-purple);
  color: #fff;
  white-space: nowrap;
}
.workflow-ai-primary:hover { background: #4e006a; }
.workflow-ai-primary:disabled { opacity: .55; }
.workflow-ai-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.workflow-ai-examples button { min-height: 42px; border-color: var(--assistant-border); color: #5a3c69; font-size: 13px; }
.workflow-ai-examples button:hover { background: var(--assistant-wash); color: var(--assistant-purple); }
@media (max-width: 470px) {
  .workflow-ai-heading { column-gap: 7px; }
  .workflow-ai-status { font-size: 11px; }
  .workflow-ai-composer input { padding-inline: 10px; }
  .workflow-ai-composer button { padding-inline: 10px; }
}
