.ai-model-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#66766c;min-width:0}.ai-model-label select{max-width:270px;font-size:12px;padding:7px;border:1px solid #dce3dd;border-radius:8px;background:#fff;color:#254336}.ai-feature-note,[data-ai-status]{font-size:12px;line-height:1.6;color:#6a7c70}.ai-sample-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:24px;border-top:1px solid #dce3dd;padding:18px 0;font-size:12px}.ai-sample-actions button{font-size:12px;padding:6px 10px;background:#fff;color:#315b43;border:1px solid #dce3dd}.ai-sample-actions>span{color:#6a7c70}.ai-message{margin:16px 0;padding:14px 16px;border-radius:12px;background:#f1f5f1;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}.ai-message[data-role=user]{background:#fff;border:1px solid #e0e6e0}.ai-message small{display:block;color:#708075;font-size:11px;margin-bottom:8px}.ai-message p{margin:0;white-space:pre-wrap}#assistant-messages{max-height:45vh;overflow:auto}#ai-sample-dialog{width:min(760px,94vw);max-height:90vh;overflow:auto}#ai-sample-messages{max-height:42vh;overflow:auto}[data-ai-stop]{background:#eef2ed;color:#31533d}[hidden]{display:none!important}#voice-profile{max-width:560px;margin:10px auto;line-height:1.6}#voice-transcript{white-space:pre-wrap}.voice-controls{flex-wrap:wrap}
@media(max-width:600px){.compose-tools{flex-wrap:wrap}.ai-model-label{max-width:75%;flex-wrap:wrap}.ai-model-label select{width:100%;max-width:225px}.assistant-composer .compose-spacer{display:none}.ai-message{padding:12px;font-size:13px}.ai-sample-actions{gap:6px}}
.assistant-home:has(.ai-message){margin-top:32px}#assistant-messages{max-height:38vh}#assistant-messages .ai-message p{padding:0;background:none;border:0;font-size:14px;margin:0}.assistant-home>[data-ai-reload],.assistant-home>[data-ai-retry]{padding:6px 12px;margin:4px;font-size:12px}.ai-model-label select{min-width:0}
.assistant-home>[data-ai-status]:empty{display:none}
.assistant-home:has(.ai-message) .broker-greeting,.assistant-home:has(.ai-message) .quick{display:none}
.assistant-home:has(.ai-message){margin-top:2vh}
#assistant-messages:not(:empty){max-height:62dvh;padding:4px 12px;scroll-padding:16px}
#assistant-messages .ai-message[data-role=user]{width:fit-content;max-width:85%;margin-left:auto}
#assistant-messages .ai-message[data-role=assistant]{background:transparent;padding-inline:0}
#assistant-messages .ai-message[data-role=assistant] p{margin:8px 0;line-height:1.65}
#assistant-messages h3{margin:14px 0 5px;font-size:16px}
#assistant-messages .reply-citation,#assistant-messages .reply-copy{font-size:12px;background:#edf1ec;color:#335341;padding:3px 7px;border:0;border-radius:5px}
#assistant-sources label:has(input){display:flex;align-items:center;gap:7px}
#assistant-sources input{width:auto}
#reply-source dt{text-transform:capitalize;color:#596b60;font-size:13px}
#reply-source dd{margin:3px 0 12px}

.assistant-composer:has(textarea:focus) {
  box-shadow: 0 0 0 1px #a8bdb1, 0 6px 18px #18222d13;
}
.assistant-composer textarea:focus-visible {
  outline: none;
}
@media (forced-colors: active) {
  .assistant-composer:has(textarea:focus) {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

.assistant-home .broker-greeting {
  font: 400 clamp(30px, 3.1vw, 40px)/1.2 Georgia, serif;
  letter-spacing: -.025em;
}
.assistant-home .broker-greeting img { width: 32px; height: 32px; }
.assistant-home { width: min(840px, 100%); }
#assistant-form .ai-model-label { font-size: 0; gap: 0; flex-shrink: 1; }
#assistant-form .ai-model-label select {
  appearance: none;
  border: 0;
  background: transparent;
  color: #8d98aa;
  font-size: 14px;
  padding: 6px 0;
  max-width: 230px;
  width: auto;
  cursor: pointer;
  text-align: right;
}
#assistant-form .compose-tools { flex-wrap: nowrap; gap: 12px; }
#assistant-form .compose-spacer { display: block; }
#assistant-form .assistant-plus { font-size: 22px; width: 24px; }
#assistant-form textarea { resize: none; }
#assistant-form .assistant-send {
  background: linear-gradient(#444849, #080b0c);
  box-shadow: 0 2px 5px #18222d25;
  font-weight: 400;
}
.assistant-add-menu {
  position: fixed;
  position-anchor: --assistant-plus;
  inset: auto;
  bottom: anchor(top);
  left: anchor(left);
  margin: 0 0 10px;
  padding: 8px;
  width: 210px;
  max-width: calc(100vw - 30px);
  border: 1px solid #eef0f2;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 15px #18222d14;
}
.assistant-add-menu a,.assistant-add-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin: 0;
  padding: 10px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #637083;
  text-decoration: none;
  font: 13px system-ui;
  text-align: left;
}
.assistant-add-menu a:hover,.assistant-add-menu button:hover { background: #f3f5f6; }
.assistant-add-menu span { width: 18px; font-size: 18px; text-align: center; }
.assistant-add-menu hr { border: 0; border-top: 1px solid #edf0f3; margin: 3px; }
@media(max-width:600px) {
  #assistant-form .ai-model-label { width: auto; max-width: 62%; }
  #assistant-form .ai-model-label select { width: 100%; max-width: 100%; font-size: 12px; text-overflow: ellipsis; }
}
.assistant-add-menu svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.ai-reply-body{line-height:1.65;overflow-wrap:anywhere}.ai-reply-body p{white-space:normal;margin:12px 0}.ai-reply-body h3,.ai-reply-body h4,.ai-reply-body h5,.ai-reply-body h6{margin:18px 0 8px;font:600 17px/1.4 system-ui}.ai-reply-body ul,.ai-reply-body ol{padding-left:24px;margin:10px 0}.ai-reply-body li{margin:5px 0}

.assistant-call{display:grid;gap:.65rem;min-width:0;margin:1rem 0;padding:1rem;border:1px solid #d8e2da;border-radius:12px;background:#f5f8f5;color:#193d31;text-align:left}
.assistant-call legend{padding:0 .35rem;font-weight:600}.assistant-call p{margin:0;overflow-wrap:anywhere}.assistant-call label{display:flex;align-items:baseline;gap:.5rem;font-size:.9rem}.assistant-call input{width:auto}.assistant-call button{justify-self:start}.assistant-call [hidden]{display:none}
