.ask-lexmark-launcher, .ask-lexmark-dialog {
  color: var(--ink, #151515);
  font: 16px/1.5 var(--sans, Arial, Helvetica, sans-serif);
}
.ask-lexmark-launcher {
  position: fixed;
  z-index: 6;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--blue, #414be8);
  border-radius: 100px;
  background: var(--blue, #414be8);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 3px 16px rgb(0 0 0 / 12%);
}
body:has(.insights-launcher:not([hidden])) .ask-lexmark-launcher { bottom: 84px; }
.ask-lexmark-launcher:hover { background: var(--blue-hover, #2d36c5); }
.ask-lexmark-launcher svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ask-lexmark-dialog {
  position: fixed;
  inset: auto 24px 84px auto;
  width: min(470px, calc(100% - 48px));
  max-width: none;
  height: min(840px, calc(100dvh - 108px));
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line, #d8d8d8);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 52px rgb(0 0 0 / 25%);
}
.ask-lexmark-dialog::backdrop { background: rgb(10 18 32 / 22%); }
.ask-lexmark-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ask-lexmark-header { display: flex; align-items: flex-start; justify-content: space-between; flex: 0 0 auto; gap: 20px; padding: 23px 24px 25px; background: var(--blue, #414be8); color: #fff; }
.ask-lexmark-brand { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .2em; }
.ask-lexmark-header h2 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.ask-close-button { min-width: 44px; min-height: 44px; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ask-tabs { display: grid; grid-template-columns: 1fr 1fr; flex: 0 0 auto; border-bottom: 1px solid var(--line, #d8d8d8); }
.ask-tab { min-height: 56px; padding: 12px; border: 0; border-bottom: 3px solid transparent; background: var(--surface, #f2f3f8); color: var(--muted, #505050); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ask-tab[aria-selected="true"] { border-bottom-color: var(--blue, #414be8); background: #fff; color: var(--ink, #151515); }
.ask-tab:focus-visible { outline-offset: -6px; }
.ask-question-panel { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ask-readiness-notice { flex: 0 0 auto; margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line, #d8d8d8); background: var(--surface, #f2f3f8); color: var(--muted, #505050); font-size: 14px; }
.ask-conversation-toolbar { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 12px; padding: 10px 20px 0; }
.ask-conversation-toolbar p { margin: 0; font-size: 13px; color: var(--muted, #505050); }
.ask-text-button, .ask-text-link { border: 0; background: none; color: var(--blue-hover, #2d36c5); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ask-text-button { min-height: 44px; padding: 6px 0; }
.ask-history { flex: 1 1 auto; min-height: 80px; padding: 10px 20px 16px; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.ask-history:focus-visible { outline-offset: -4px; }
.ask-message { width: 100%; padding: 14px 16px; border-radius: 8px; background: var(--surface, #f2f3f8); overflow-wrap: anywhere; }
.ask-message + .ask-message { margin-top: 12px; }
.ask-message-question { margin-left: 20px; width: calc(100% - 20px); background: #edeefe; }
.ask-message-error { border: 1px solid var(--line, #d8d8d8); background: #fff; }
.ask-message-label { margin: 0 0 6px; font-size: 13px; color: var(--muted, #505050); }
.ask-message-text { margin: 0; font-size: 16px; white-space: pre-wrap; }
.ask-source-heading { margin: 14px 0 6px; font-size: 14px; }
.ask-source-list { margin: 0; padding-left: 18px; }
.ask-source-list li + li { margin-top: 6px; }
.ask-source-list a { font-size: 14px; }
.ask-prompts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; }
.ask-prompt { min-height: 40px; padding: 8px 13px; border: 1px solid var(--line, #d8d8d8); border-radius: 100px; background: #fff; color: var(--ink, #151515); font: inherit; font-size: 14px; cursor: pointer; }
.ask-prompt:hover { border-color: var(--blue, #414be8); background: var(--surface, #f2f3f8); }
.ask-question-form { flex: 0 0 auto; margin: 0; padding: 15px 20px; border-top: 1px solid var(--line, #d8d8d8); }
.ask-question-caution { margin: 0 0 12px; color: var(--muted, #505050); font-size: 14px; }
.ask-question-label { display: block; margin-bottom: 6px; font-size: 16px; }
.ask-input-row { display: flex; align-items: stretch; gap: 8px; }
.ask-question-input { flex: 1 1 auto; width: 100%; min-width: 0; max-height: 120px; resize: vertical; padding: 10px 12px; border: 1px solid #909090; border-radius: 4px; background: #fff; color: var(--ink, #151515); font: inherit; font-size: 16px; line-height: 1.4; }
.ask-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 1px solid var(--blue, #414be8); border-radius: 4px; background: var(--blue, #414be8); color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.ask-button:hover { background: var(--blue-hover, #2d36c5); }
.ask-send { flex: 0 0 auto; min-width: 65px; }
.ask-button:disabled, .ask-prompt:disabled { cursor: default; opacity: .65; }
.ask-form-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; min-height: 24px; }
.ask-character-count { margin: 0; color: var(--muted, #505050); font-size: 13px; }
.ask-form-meta .ask-text-button { min-height: 28px; padding: 0; }
.ask-provider-disclosure { margin: 8px 0 0; color: var(--muted, #505050); font-size: 13px; }
.ask-provider-disclosure a { font-size: inherit; }
.ask-request-status { margin: 10px 0 0; color: var(--blue-hover, #2d36c5); font-size: 14px; }
.ask-consultation-panel { flex: 1 1 auto; min-height: 0; padding: 28px 24px; overflow-y: auto; }
.ask-consultation-panel h3 { margin: 0 0 16px; font-size: 26px; letter-spacing: -.025em; }
.ask-consultation-panel p { margin: 0; font-size: 16px; }
.ask-consultation-link { margin-top: 24px; }
.ask-consultation-panel .ask-consultation-note { margin-top: 22px; color: var(--muted, #505050); font-size: 14px; }
.ask-contact-footer { display: flex; justify-content: space-between; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line, #d8d8d8); background: #fafafa; }
[data-ask-lexmark] { width: fit-content; padding: 0; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; }
[data-ask-lexmark]:hover { color: var(--blue-hover, #2d36c5); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 540px) {
  .ask-lexmark-launcher { right: 12px; bottom: 12px; }
  body:has(.insights-launcher:not([hidden])) .ask-lexmark-launcher { bottom: 72px; }
  .ask-lexmark-dialog { inset: 12px 12px 72px; width: calc(100% - 24px); height: auto; max-height: none; }
  .ask-lexmark-header { padding: 18px 20px; }
  .ask-lexmark-header h2 { font-size: 27px; }
  .ask-tab { min-height: 50px; }
  .ask-conversation-toolbar, .ask-history, .ask-prompts, .ask-question-form, .ask-contact-footer { padding-inline: 16px; }
  .ask-conversation-toolbar { gap: 8px; }
}
@media (max-height: 720px) {
  .ask-lexmark-dialog { inset: 12px 24px 84px auto; height: auto; }
  .ask-lexmark-header { padding-block: 14px; }
  .ask-lexmark-brand { margin-bottom: 7px; }
  .ask-tab { min-height: 44px; }
  .ask-question-caution { margin-bottom: 8px; }
  .ask-question-form { padding-block: 12px; }
  .ask-history { flex: 0 0 140px; }
  .ask-prompts { padding-bottom: 10px; }
}
@media (max-width: 540px) and (max-height: 720px) {
  .ask-lexmark-dialog { inset: 8px 8px 72px; width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) { .ask-history { scroll-behavior: auto; } }
