:root {
  --markprompt-background: #fff;
  --markprompt-background-accent: #fff;
  --markprompt-foreground: #171717;
  --markprompt-muted: #fafafa;
  --markprompt-mutedForeground: #888;
  --markprompt-border: #ececec;
  --markprompt-border-accent: #cdcdcd;
  --markprompt-highlight: #ededed;
  --markprompt-input: #fff;
  --markprompt-primary: #7c3aed;
  --markprompt-primaryForeground: #fff;
  --markprompt-primaryMuted: #8b5cf6;
  --markprompt-secondary: #fafafa;
  --markprompt-secondaryForeground: #171717;
  --markprompt-primaryHighlight: #ec4899;
  --markprompt-secondaryHighlight: #a855f7;
  --markprompt-overlay: #00000010;
  --markprompt-ring: #ddd6fe;
  --markprompt-radius: 0.5rem;
  --markprompt-button-radius: 0.375rem;
  --markprompt-text-size-lg: 16px;
  --markprompt-text-size: 14px;
  --markprompt-text-size-xs: 12px;
  --markprompt-text-size-code: 88%;
  --markprompt-button-icon-size: 1rem;
  --markprompt-icon-stroke-width: 2px;
  --markprompt-navbar-height: 52px;
  --markprompt-input-focus-shadow-width: 3px;
  --markprompt-shadow: 0 1px 2px 0 #0000000d;
  --markprompt-ring-shadow: 0 0 #0000;
  --markprompt-ring-offset-shadow: 0 0 #0000;
  --markprompt-error-background: #fef2f2;
  --markprompt-background-purple: #6c47ff;
  --markprompt-star-active: #fbbf24;
}

@media (prefers-color-scheme: dark) {
  /* Support Docusaurus dark theme data attribute */
  :not([data-theme="light"]):root {
    --markprompt-background: #121212;
    --markprompt-background-accent: #0d0d0d;
    --markprompt-foreground: #d4d4d4;
    --markprompt-muted: #171717;
    --markprompt-mutedForeground: #808080;
    --markprompt-border: #262626;
    --markprompt-border-accent: #444;
    --markprompt-highlight: #080808;
    --markprompt-input: #fff;
    --markprompt-primary: #6d28d9;
    --markprompt-primaryForeground: #fff;
    --markprompt-primaryMuted: #7c3aed;
    --markprompt-secondary: #0e0e0e;
    --markprompt-secondaryForeground: #fff;
    --markprompt-primaryHighlight: #ec4899;
    --markprompt-secondaryHighlight: #a855f7;
    --markprompt-overlay: #00000040;
    --markprompt-ring: #8b5cf6;
    --markprompt-error-background: #450a0a;
    --markprompt-error-foreground: #fecaca;
    --markprompt-background-purple: #6c47ff;
  }
}

/* Support Docusaurus dark theme data attribute */
[data-theme="dark"]:root {
  --markprompt-background: #050505;
  --markprompt-foreground: #d4d4d4;
  --markprompt-muted: #171717;
  --markprompt-mutedForeground: #808080;
  --markprompt-border: #262626;
  --markprompt-input: #fff;
  --markprompt-primary: #6366f1;
  --markprompt-primaryForeground: #fff;
  --markprompt-primaryMuted: #8285f4;
  --markprompt-secondary: #0e0e0e;
  --markprompt-secondaryForeground: #fff;
  --markprompt-primaryHighlight: #ec4899;
  --markprompt-secondaryHighlight: #a855f7;
  --markprompt-overlay: #00000040;
  --markprompt-ring: #fff;
}

[class^="Markprompt"] {
  box-sizing: border-box;
}

[class^="Markprompt"] textarea {
  font-family: unset;
}

[class^="Markprompt"] *,
[class^="Markprompt"] *::before,
[class^="Markprompt"] *::after {
  box-sizing: inherit;
}

.MarkpromptFloatingTrigger,
.MarkpromptSearchBoxTrigger,
.MarkpromptClose {
  all: unset;
}

.MarkpromptFloatingTrigger {
  box-shadow: rgb(255 255 255) 0 0 0 0, rgba(0 0 0 / 7.5%) 0 0 0 6px,
    rgba(255 255 255 / 10%) 0 1px 0 0 inset, rgba(33 33 38 / 20%) 0 1px 3px 0,
    rgb(33 33 38) 0 0 0 1px;
  box-sizing: border-box;
  display: grid;
  overflow: hidden;
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  place-content: center;
  border-radius: 9999px;
  outline-style: none;
  background-color: rgb(33 33 38);
  cursor: pointer;
  padding: 0.675rem;
  transition-timing-function: cubic-bezier(0.4, 0.36, 0, 1);
  transition-property: all;
  transition-duration: 300ms;
}

.MarkpromptFloatingTrigger:hover {
  box-shadow: rgb(255 255 255) 0 0 0 0, rgba(0 0 0 / 7.5%) 0 0 0 8px,
    rgba(255 255 255 / 10%) 0 1px 0 0 inset, rgba(33 33 38 / 20%) 0 1px 3px 0,
    rgb(33 33 38) 0 0 0 1px;
}

.MarkpromptFloatingTrigger::before {
  content: "";
  background-image: linear-gradient(
    rgba(255 255 255 / 25%),
    rgba(255 255 255 / 0%)
  );
  position: absolute;
  inset: 0;
  transition-timing-function: cubic-bezier(0.4, 0.36, 0, 1);
  transition-property: opacity;
  transition-duration: 300ms;
  opacity: 0.7;
}

.MarkpromptFloatingTrigger:hover::before {
  opacity: 1;
}

.MarkpromptFloatingTrigger::after {
  content: "";
  mix-blend-mode: overlay;
  background-image: linear-gradient(
    rgba(255 255 255 / 10%) 45%,
    rgba(255 255 255 / 0%) 55%
  );
}

.MarkpromptFloatingTrigger::after,
.MarkpromptFloatingTrigger::before {
  box-sizing: border-box;
  border: 0 solid var(--markprompt-border-accent);
}

.MarkpromptHighlightButton {
  box-shadow: rgba(255 255 255 / 10%) 0 1px 0 0 inset,
    var(--markprompt-button-background) 0 0 0 1px;
  box-sizing: border-box;
  display: grid;
  overflow: hidden;
  place-content: center;
  outline-style: none;
  background-color: rgb(33 33 38);
  cursor: pointer;
  padding: 0.675rem;
  transition-timing-function: cubic-bezier(0.4, 0.36, 0, 1);
  transition-property: all;
  transition-duration: 300ms;
}

.MarkpromptHighlightButton::before {
  content: "";
  background-image: linear-gradient(
    rgba(255 255 255 / 25%),
    rgba(255 255 255 / 0%)
  );
  position: absolute;
  inset: 0;
  transition-timing-function: cubic-bezier(0.4, 0.36, 0, 1);
  transition-property: opacity;
  transition-duration: 300ms;
  opacity: 0.7;
  border-radius: var(--markprompt-button-radius);
}

.MarkpromptHighlightButton:hover::before {
  opacity: 1;
}

.MarkpromptHighlightButton::after {
  content: "";
  mix-blend-mode: overlay;
  background-image: linear-gradient(
    rgba(255 255 255 / 10%) 45%,
    rgba(255 255 255 / 0%) 55%
  );
}

.MarkpromptFloatingTrigger span {
  font-size: var(--markprompt-text-size);
  color: var(--markprompt-background);
  font-weight: 500;
  margin-left: 0.25rem;
  margin-right: 0.5rem;
}

.MarkpromptFloatingTrigger svg.MarkpromptChatIcon {
  color: var(--markprompt-primaryForeground);
}

.MarkpromptFloatingTrigger svg.MarkpromptChatIcon .detail {
  color: var(--markprompt-mutedForeground);
}

.MarkpromptSearchBoxTrigger {
  display: flex;
  cursor: pointer;
  color: var(--markprompt-mutedForeground);
  background-color: var(--markprompt-muted);
  border: var(--markprompt-border);
  border-radius: 0.25rem;
  font-size: 0.8rem;
  min-width: 10rem;
}

.MarkpromptSearchBoxTriggerContent {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0.25rem 0.5rem;
  width: 100%;
}

.MarkpromptSearchBoxTriggerText {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.MarkpromptSearchBoxTriggerContent kbd {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.MarkpromptIcon {
  width: 1.25rem;
  height: 1.25rem;
}

.MarkpromptOverlay {
  position: fixed;
  inset: 0;
  animation: markprompt-fade-in 500ms cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--markprompt-overlay);
}

.MarkpromptOverlay[data-state="closed"] {
  animation: markprompt-fade-out 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.MarkpromptContentDialog {
  background-color: var(--markprompt-background);
  color: var(--markprompt-foreground);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: var(--markprompt-radius);
  border: 1px solid var(--markprompt-border);
  box-shadow: hsl(206deg 22% 7% / 35%) 0 10px 38px -10px,
    hsl(206deg 22% 7% / 20%) 0 10px 20px -15px;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.MarkpromptContentDialog[data-variant="dialog"] {
  z-index: 50;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100dvw;
  animation-name: markprompt-show-content;
  animation-duration: 200ms;
  animation-fill-mode: none;
  transition-timing-function: cubic-bezier(0.25, 0.4, 0.55, 1.4);
  max-width: 44rem;
  max-height: 40rem;
}

.MarkpromptContentDialog[data-variant="dialog"]:not([data-size="adaptive"]) {
  height: 80vh;
  max-height: 600px;
}

.MarkpromptContentDialog[data-variant="dialog"][data-size="adaptive"] {
  max-height: 80vh;
}

.MarkpromptContentDialog[data-variant="dialog"][data-state="closed"] {
  animation-name: markprompt-hide-content;
  animation-duration: 100ms;
}

.MarkpromptContentDialog[data-variant="sheet"] {
  z-index: 100;
  position: fixed;
  top: 0.5rem;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 100%;
  max-width: 480px;
  animation-name: markprompt-show-sheet;
  animation-duration: 300ms;
  animation-fill-mode: both;
  transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);
}

.MarkpromptContentDialog[data-variant="sheet"][data-state="closed"] {
  animation-name: markprompt-hide-sheet;
  animation-duration: 100ms;
}

.MarkpromptContentPlain {
  background-color: var(--markprompt-background);
  width: 100%;
  height: 100%;
  color: var(--markprompt-foreground);
  display: grid;
  grid-template-rows: 1fr auto;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.MarkpromptTabsContainer {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow-y: auto;
}

.MarkpromptTabsList {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  border-bottom: 1px solid var(--markprompt-border);
}

.MarkpromptTab {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.25rem;
  font-weight: 600;
  padding: 0.5rem;
  font-size: var(--markprompt-text-size);
  background-color: transparent;
  outline: none;
  border: 0;
  cursor: pointer;
  color: var(--markprompt-mutedForeground);
}

.MarkpromptTab[data-state="active"] {
  border-top: 2px solid transparent;
  border-bottom: 2px solid var(--markprompt-primary);
  color: var(--markprompt-primary);
}

.MarkpromptTab:not([data-state="active"]) {
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.MarkpromptTab:hover {
  color: var(--markprompt-primary);
}

.MarkpromptViews {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr;
}

.MarkpromptViews > div {
  outline: none;
}

.MarkpromptSearchView {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.MarkpromptPromptView {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

:not(.MarkpromptContentPlain) .MarkpromptChatView {
  container-name: chat;
  container-type: inline-size;
  display: grid;
  height: 100%;
  position: relative;
}

.MarkpromptContentPlain .MarkpromptChatView {
  container-name: chat;
  container-type: inline-size;
  grid-template-columns: 18rem 1fr;
  display: grid;
  height: 100%;
  position: relative;
}

.MarkpromptChatViewSidebar {
  display: none;
  border-right: 1px solid var(--markprompt-border);
}

.MarkpromptChatViewNavigation {
  height: var(--markprompt-navbar-height);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--markprompt-border);
  box-shadow: 0 7px 10px -1px rgb(0 0 0 / 3%);
  background-color: var(--markprompt-background-accent);
}

:not(.MarkpromptTicketDeflectionForm) .MarkpromptChatViewChat {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-column: span 3;
  height: 100%;
}

.MarkpromptTicketDeflectionForm .MarkpromptChatViewChat {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.MarkpromptTicketDeflectionForm[data-expanded="false"] .MarkpromptMessages {
  display: none;
}

.MarkpromptTicketDeflectionForm[data-expanded="true"] .MarkpromptMessages {
  flex-grow: 1;
}

.MarkpromptTextAreaContainer {
  height: 100%;
  flex: 1;
  overflow-y: auto;
}

.MarkpromptTicketDeflectionForm .MarkpromptTextAreaContainer {
  padding-block: 0.5rem;
}

.MarkpromptThreadSelect {
  align-self: flex-end;
}

@container (width > 18rem) {
  .MarkpromptContentPlain .MarkpromptChatViewSidebar {
    display: grid;
    grid-column: 1;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
  }

  .MarkpromptContentPlain .MarkpromptChatViewChat {
    grid-column: 2;
  }

  .MarkpromptContentPlain .MarkpromptThreadSelect {
    display: none;
  }
}

.MarkpromptChatViewSidebarTitle {
  border-bottom: 1px solid var(--markprompt-border);
  font-size: var(--markprompt-text-size);
  margin: 0;
  padding: 1em 0.75rem;
  color: var(--markprompt-foreground);
}

.MarkpromptChatThreadList {
  list-style-type: none;
  margin: 0;
  padding: 0.5rem;
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: min-content;
  overflow: hidden auto;
  gap: 0.5rem;
}

.MarkpromptChatThreadListItem {
  display: flex;
  all: unset;
  overflow: hidden;
  flex-direction: column;
  width: 100%;
  place-items: stretch;
  place-self: stretch;
}

.MarkpromptChatThreadListItem button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding-inline: 0.75rem 0.25rem;
  padding-block: 0.75rem;
  font-size: var(--markprompt-text-size);
  cursor: pointer;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  width: 100%;
  overflow: hidden;
  flex-grow: 1;
  place-self: stretch;
}

.MarkpromptChatThreadList p {
  margin: 0;
  overflow: hidden;
  width: 100%;
  flex-grow: 1;
}

.MarkpromptChatThreadList p:first-of-type {
  margin: 0;
  color: var(--markprompt-foreground);
}

.MarkpromptChatThreadList p:last-of-type {
  color: var(--markprompt-mutedForeground);
}

.MarkpromptChatThreadList button:hover,
.MarkpromptChatThreadList [data-selected="true"] button {
  background-color: var(--markprompt-muted);
}

.MarkpromptChatThreadList [data-selected="true"] button {
  border-color: var(--markprompt-border);
}

.MarkpromptClose {
  cursor: pointer;
  display: grid;
  font-weight: 600;
  place-items: center;
  border-radius: var(--markprompt-button-radius);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.MarkpromptClose[data-type="icon"] {
  color: var(--markprompt-mutedForeground);
  padding: 0.375rem;
}

.MarkpromptClose[data-type="kbd"] {
  color: var(--markprompt-foreground);
  padding: 0.125rem 0.375rem;
  border-style: solid;
  border-width: 1px;
  border-color: var(--markprompt-border);
  background-color: var(--markprompt-muted);
}

.MarkpromptClose[data-type="icon"]:hover {
  color: var(--markprompt-foreground);
  background-color: var(--markprompt-muted);
}

.MarkpromptClose[data-type="kbd"]:hover {
  opacity: 0.8;
  background-color: var(--markprompt-muted);
}

.MarkpromptClose[data-type="kbd"]:focus {
  box-shadow: inset 0 0 0 2px var(--markprompt-primary);
}

.MarkpromptClose kbd {
  font-weight: 600;
  font-size: 0.675rem;
  font-family: inherit;
}

.MarkpromptForm {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  background-color: var(--markprompt-background-accent);
}

.MarkpromptForm[data-state="disabled"] {
  opacity: 0.7;
  cursor: not-allowed;
}

.MarkpromptForm[data-state="disabled"]:hover * {
  pointer-events: none;
}

.MarkpromptChatView .MarkpromptForm {
  --padding: calc(1rem - var(--markprompt-input-focus-shadow-width));

  position: relative;
  flex-direction: column-reverse;
  overflow-y: visible;
  align-items: stretch;
  border-top: 1px solid var(--markprompt-border);
  box-shadow: 0 -7px 10px -1px rgb(0 0 0 / 3%);
}

:not(.MarkpromptTicketDeflectionForm) .MarkpromptChatView .MarkpromptForm {
  padding-block: var(--padding);
  padding-inline: var(--padding);
}

.MarkpromptTicketDeflectionForm .MarkpromptChatView .MarkpromptForm {
  padding-block: 0;
  padding-inline: 0.5rem;
  overflow: hidden;
  overflow-y: hidden;
}

.MarkpromptTicketDeflectionForm[data-expanded="false"]
  .MarkpromptChatView
  .MarkpromptForm {
  border-top: 0;
  box-shadow: none;
}

.MarkpromptTicketDeflectionForm[data-expanded="true"]
  .MarkpromptChatView
  .MarkpromptForm {
  max-height: 120px;
  flex: none;
}

.MarkpromptPromptWrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.MarkpromptCSATReasonWrapper {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  padding-right: 0.5rem;
  min-height: 70px;
}

.MarkpromptCSATReasonWrapper button {
  align-self: flex-end;
}

:not(.MarkpromptTicketDeflectionForm)
  .MarkpromptChatView
  .MarkpromptPromptWrapper,
.MarkpromptCSATReasonWrapper {
  background-color: var(--markprompt-muted);
  border: 1px solid var(--markprompt-border);
  border-radius: calc(var(--markprompt-radius));
  transition-property: all;
  transition-duration: 150ms;

  /* make sure the shadow shown when :focus-within is true isn't clipped */
  margin: var(--markprompt-input-focus-shadow-width);
  padding-top: 0.5rem;
  padding-left: 0.25rem;
}

.MarkpromptTicketDeflectionForm .MarkpromptChatView .MarkpromptPromptWrapper {
  background-color: transparent;
  border-radius: 0;
  border: none;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.MarkpromptSearchView .MarkpromptPromptWrapper {
  height: var(--markprompt-navbar-height);
  border-bottom: 1px solid var(--markprompt-border);
  box-shadow: 0 7px 10px -1px rgb(0 0 0 / 3%);
  padding: 2px 0.5rem 1px 0.875rem;
  background-color: var(--markprompt-background-accent);
}

:not(.MarkpromptTicketDeflectionForm)
  .MarkpromptChatView
  .MarkpromptPromptWrapper:focus-within {
  box-shadow: 0 0 0 var(--markprompt-input-focus-shadow-width)
    var(--markprompt-border);
  border-color: var(--markprompt-border-accent);
}

.MarkpromptTicketDeflectionForm
  .MarkpromptChatView
  .MarkpromptPromptWrapper:focus-within {
  box-shadow: none;
  border: none;
}

.MarkpromptMessageAnswerContainer {
  max-width: 100%;
  display: flex;
  flex-direction: row;
  padding-inline: 1.5rem;
  padding-block: 1rem;
  gap: 1rem;
  align-items: start;
  overflow: hidden;
}

.MarkpromptMessageAnswerContainer[data-compact="true"] .MarkpromptAnswer > p {
  margin-bottom: 1rem;
}

.MarkpromptMessageAnswer {
  overflow: hidden;
}

.MarkpromptRegenerateButton {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--markprompt-button-radius);
  border: 1px solid var(--markprompt-border);
  background-color: var(--markprompt-background);
  color: var(--markprompt-foreground);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--markprompt-ring-offset-shadow, 0 0 #0000),
    var(--markprompt-ring-shadow, 0 0 #0000), var(--markprompt-shadow);
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}

.MarkpromptRegenerateButton:hover {
  background-color: var(--markprompt-muted);
}

.MarkpromptPromptLabel {
  cursor: pointer;
  display: flex;
  flex: none;
  padding: 4px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
}

.MarkpromptMessagePrompt {
  padding-inline: 1.5rem;
  padding-block: 0.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  place-items: flex-start;
}

.MarkpromptMessagePromptText {
  font-size: var(--markprompt-text-size);
  color: var(--markprompt-foreground);
  font-weight: 400;
  flex: grow;
  margin-top: 1px;
}

.MarkpromptMessagePromptImage img {
  object-fit: contain;
}

.MarkpromptMessageAvatarContainer {
  border: 1px solid var(--markprompt-border);
  background-color: var(--markprompt-background);
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.MarkpromptMessageCreateTicket,
.MarkpromptReferences {
  --markprompt-slide-up-translation-from: 4px;
  --markprompt-slide-up-translation-to: 0;

  animation-name: markprompt-slide-up-message;
  animation-duration: 500ms;
  animation-fill-mode: forwards;
  transition-timing-function: cubic-bezier(0.25, 0.4, 0.55, 1.4);
  opacity: 0;
}

[data-loading-state="preload"] .MarkpromptMessageAvatarContainer,
[data-loading-state="preload"] .MarkpromptMessagePromptText,
[data-loading-state="preload"] .MarkpromptMessageAnswer,
[data-loading-state="preload"] .MarkpromptLoadingContainer,
[data-loading-state="indeterminate"] .MarkpromptMessageAvatarContainer,
[data-loading-state="indeterminate"] .MarkpromptMessagePromptText,
[data-loading-state="indeterminate"] .MarkpromptMessageAnswer,
[data-loading-state="indeterminate"] .MarkpromptLoadingContainer {
  --markprompt-slide-up-translation-from: 4px;
  --markprompt-slide-up-translation-to: 0;

  animation-name: markprompt-slide-up-message;
  animation-duration: 500ms;
  animation-fill-mode: forwards;
  transition-timing-function: cubic-bezier(0.25, 0.4, 0.55, 1.4);
  animation-delay: var(--markprompt-preload-delay);
  opacity: 0;
}

[data-loading-state="preload"]
  .MarkpromptMessagePrompt
  .MarkpromptMessageAvatarContainer,
[data-loading-state="indeterminate"]
  .MarkpromptMessagePrompt
  .MarkpromptMessageAvatarContainer {
  --markprompt-preload-delay: 0;
}

[data-loading-state="preload"] .MarkpromptMessagePromptText,
[data-loading-state="indeterminate"] .MarkpromptMessagePromptText {
  --markprompt-preload-delay: 100ms;
}

[data-loading-state="preload"]
  .MarkpromptMessageAnswerContainer
  .MarkpromptMessageAvatarContainer,
[data-loading-state="indeterminate"]
  .MarkpromptMessageAnswerContainer
  .MarkpromptMessageAvatarContainer {
  --markprompt-preload-delay: 500ms;
}

[data-loading-state="preload"] .MarkpromptLoadingContainer,
[data-loading-state="indeterminate"] .MarkpromptLoadingContainer {
  --markprompt-preload-delay: 600ms;
}

.MarkpromptMessageAvatar {
  width: 16px;
  height: 16px;
  flex: none;
  overflow: hidden;
}

.MarkpromptMessageAvatarImage {
  border-radius: 9999px;
  width: 24px;
  height: 24px;
}

.MarkpromptPrimaryIcon {
  color: var(--markprompt-primary);
}

.MarkpromptHighlightedIcon {
  color: var(--markprompt-primaryHighlight);
}

.MarkpromptBaseIcon {
  width: var(--markprompt-button-icon-size);
  height: var(--markprompt-button-icon-size);
  stroke-width: var(--markprompt-icon-stroke-width);
}

.MarkpromptSearchIcon {
  color: var(--markprompt-mutedForeground);
  width: var(--markprompt-button-icon-size);
  height: var(--markprompt-button-icon-size);
  stroke-width: var(--markprompt-icon-stroke-width);
}

.MarkpromptSearchIconAccented {
  color: var(--markprompt-foreground);
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
}

.MarkpromptTitle {
  margin-block-start: 0;
}

.MarkpromptPrompt {
  border: none;
  width: 100%;

  /*
    If the font-size of the prompt input is not at least 1rem (16px), Safari
    on iOS will automatically zoom to the prompt input
  */
  font-size: 1rem;
  color: var(--markprompt-foreground);
  background-color: transparent;
  padding-block: 0.5rem;
}

:not(.MarkpromptTicketDeflectionForm) .MarkpromptPrompt {
  padding-inline: 0.5rem;
}

.MarkpromptTicketDeflectionForm .MarkpromptPrompt {
  padding-inline: 0.25rem;
}

.MarkpromptPrompt:focus {
  border: none;
  outline: none;
}

@media screen and (width >= 1024px) {
  .MarkpromptPrompt {
    font-size: var(--markprompt-text-size);
  }
}

.MarkpromptPrompt::placeholder {
  color: var(--markprompt-mutedForeground);
}

.MarkpromptViews button:focus-visible,
.MarkpromptViews a:focus-visible,
.MarkpromptBranding a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--markprompt-ring);
  transition-property: all;
  transition-duration: 200ms;
}

.MarkpromptBranding a:focus-visible {
  border-radius: calc(var(--markprompt-radius) * 0.5);
}

.MarkpromptPromptWrapper button:disabled {
  background-color: var(--markprompt-background);
  border: 1px solid var(--markprompt-border);
  color: var(--markprompt-border-accent);
}

.MarkpromptPromptWrapper button:hover:not(:disabled) {
  opacity: 0.8;
}

.MarkpromptPromptWrapper button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
}

.MarkpromptPromptWrapper button div {
  width: 18px;
  height: 18px;
  position: relative;
}

/* Remove 2px padding that some browsers add to input */
.MarkpromptPrompt[type="search" i] {
  padding: 1rem 3rem 1rem 0;
}

/* Remove the 'x' clear button from the search (.MarkpromptPrompt field */
.MarkpromptPrompt[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.MarkpromptPrompt[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.MarkpromptPrompt[type="search"]::-webkit-search-decoration,
.MarkpromptPrompt[type="search"]::-webkit-search-cancel-button,
.MarkpromptPrompt[type="search"]::-webkit-search-results-button,
.MarkpromptPrompt[type="search"]::-webkit-search-results-decoration {
  display: none;
}

.MarkpromptDisclaimerView {
  width: 100%;
  height: 100%;
  z-index: 50;
  flex: 1 1 auto;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overflow: hidden auto;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.MarkpromptDisclaimerViewMessage {
  padding: 1rem;
  font-size: var(--markprompt-text-size);
  border-radius: var(--markprompt-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.MarkpromptDisclaimerViewMessage > span {
  text-align: center;
  text-wrap: balance;
}

.MarkpromptAnswerContainer {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.MarkpromptMessages {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.MarkpromptAutoScroller {
  flex: 1 1 auto;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  overflow: hidden auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.MarkpromptAnswer {
  color: var(--markprompt-foreground);
  font-size: var(--markprompt-text-size);
  line-height: 1.7142857;
}

.MarkpromptAnswer p {
  margin-top: 0;
  margin-bottom: 1.1428571em;
}

.MarkpromptAnswer a {
  color: var(--markprompt-primary);
  text-decoration: underline;
  font-weight: 500;
}

.MarkpromptAnswer strong {
  font-weight: 600;
}

.MarkpromptAnswer a strong {
  color: inherit;
}

.MarkpromptAnswer blockquote strong {
  color: inherit;
}

.MarkpromptAnswer thead th strong {
  color: inherit;
}

.MarkpromptAnswer ol {
  list-style-type: decimal;
  margin-top: 1.1428571em;
  margin-bottom: 1.1428571em;
  padding-left: 1.5714286em;
}

.MarkpromptAnswer ol[type="A"] {
  list-style-type: upper-alpha;
}

.MarkpromptAnswer ol[type="a"] {
  list-style-type: lower-alpha;
}

.MarkpromptAnswer ol[type="A" s] {
  list-style-type: upper-alpha;
}

.MarkpromptAnswer ol[type="a" s] {
  list-style-type: lower-alpha;
}

.MarkpromptAnswer ol[type="I"] {
  list-style-type: upper-roman;
}

.MarkpromptAnswer ol[type="i"] {
  list-style-type: lower-roman;
}

.MarkpromptAnswer ol[type="I" s] {
  list-style-type: upper-roman;
}

.MarkpromptAnswer ol[type="i" s] {
  list-style-type: lower-roman;
}

.MarkpromptAnswer ol[type="1"] {
  list-style-type: decimal;
}

.MarkpromptAnswer ul {
  list-style-type: disc;
  margin-top: 1.1428571em;
  margin-bottom: 1.1428571em;
  padding-left: 1.5714286em;
}

.MarkpromptAnswer ol > li::marker {
  font-weight: 400;
  color: var(--markprompt-foreground);
}

.MarkpromptAnswer ul > li::marker {
  color: var(--markprompt-mutedForeground);
}

.MarkpromptAnswer hr {
  border-color: var(--markprompt-border);
  border-top-width: 1;
  margin-top: 2.8571429em;
  margin-bottom: 2.8571429em;
}

.MarkpromptAnswer blockquote {
  font-weight: 500;
  font-style: italic;
  color: var(--markprompt-foreground);
  border-left-width: 0.25rem;
  border-left-color: var(--markprompt-border);
  quotes: "\201C" "\201D" "\2018" "\2019";
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  padding-left: 1.1111111em;
}

.MarkpromptAnswer blockquote p:first-of-type::before {
  content: open-quote;
}

.MarkpromptAnswer blockquote p:last-of-type::after {
  content: close-quote;
}

.MarkpromptAnswer h1 {
  color: var(--markprompt-foreground);
  font-weight: 800;
  font-size: 2.1428571em;
  margin-top: 0;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

.MarkpromptAnswer h1 strong {
  font-weight: 900;
  color: inherit;
}

.MarkpromptAnswer h2 {
  color: var(--markprompt-foreground);
  font-weight: 700;
  font-size: 1.4285714em;
  margin-top: 1.6em;
  margin-bottom: 0.8em;
  line-height: 1.4;
}

.MarkpromptAnswer h2 strong {
  font-weight: 800;
  color: inherit;
}

.MarkpromptAnswer h3 {
  color: var(--markprompt-foreground);
  font-weight: 600;
  font-size: 1.2857143em;
  margin-top: 1.5555556em;
  margin-bottom: 0.4444444em;
  line-height: 1.5555556;
}

.MarkpromptAnswer h3 strong {
  font-weight: 700;
  color: inherit;
}

.MarkpromptAnswer h4 {
  color: var(--markprompt-foreground);
  font-weight: 600;
  margin-top: 1.4285714em;
  margin-bottom: 0.5714286em;
  line-height: 1.4285714;
}

.MarkpromptAnswer h4 strong {
  font-weight: 700;
  color: inherit;
}

.MarkpromptMessageAnswer img {
  max-width: 100%;
  max-height: 80vh;
}

.MarkpromptAnswer img {
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
}

.MarkpromptAnswer figure > * {
  margin-top: 0;
  margin-bottom: 0;
}

.MarkpromptAnswer figcaption {
  color: var(--markprompt-mutedForeground);
  font-size: var(--markprompt-text-size);
  line-height: 1.3333333;
  margin-top: 0.6666667em;
}

.MarkpromptAnswer code {
  color: var(--markprompt-foreground);
  border: 1px solid var(--markprompt-border);
  background-color: var(--markprompt-secondary);
  font-size: var(--markprompt-text-size-code);
  padding: 0.125rem 0.25rem;
  border-radius: 4px;
  font-weight: 500;
}

.MarkpromptAnswer code::before {
  content: "`";
}

.MarkpromptAnswer code::after {
  content: "`";
}

.MarkpromptAnswer a code {
  color: inherit;
}

.MarkpromptAnswer h1 code {
  color: inherit;
}

.MarkpromptAnswer h2 code {
  color: inherit;
  font-size: var(--markprompt-text-size-code);
}

.MarkpromptAnswer h3 code {
  color: inherit;
  font-size: var(--markprompt-text-size-code);
}

.MarkpromptAnswer h4 code {
  color: inherit;
}

.MarkpromptAnswer blockquote code {
  color: inherit;
}

.MarkpromptAnswer pre {
  color: var(--markprompt-foreground);
  background-color: var(--markprompt-muted);
  border: 1px solid var(--markprompt-border);
  overflow-x: auto !important;
  font-weight: 400;
  font-family: monospace;
  font-size: var(--markprompt-text-size-code);
  line-height: 1.6666667;
  border-radius: var(--markprompt-button-radius);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.MarkpromptAnswer pre code {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.MarkpromptAnswer pre code::before {
  content: none;
}

.MarkpromptAnswer pre code::after {
  content: none;
}

.MarkpromptAnswer table {
  width: 100%;
  table-layout: auto;
  text-align: left;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: var(--markprompt-text-size);
  line-height: 1.5;
}

.MarkpromptAnswer thead {
  border-bottom-width: 1px;
  border-bottom-color: var(--markprompt-border);
}

.MarkpromptAnswer thead th {
  color: var(--markprompt-foreground);
  font-weight: 600;
  vertical-align: bottom;
  padding-right: 1em;
  padding-bottom: 0.6666667em;
  padding-left: 1em;
}

.MarkpromptAnswer thead th code {
  color: inherit;
}

.MarkpromptAnswer tbody tr {
  border-bottom-width: 1px;
  border-bottom-color: var(--markprompt-border);
}

.MarkpromptAnswer tbody tr:last-child {
  border-bottom-width: 0;
}

.MarkpromptAnswer tbody td {
  vertical-align: baseline;
}

.MarkpromptAnswer tfoot {
  border-top-width: 1px;
  border-top-color: var(--markprompt-border);
}

.MarkpromptAnswer tfoot td {
  vertical-align: top;
}

.MarkpromptAnswer video {
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
}

.MarkpromptAnswer figure {
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
}

.MarkpromptAnswer li {
  margin-top: 0.2857143em;
  margin-bottom: 0.2857143em;
}

.MarkpromptAnswer ol > li {
  padding-left: 0.4285714em;
}

.MarkpromptAnswer ul > li {
  padding-left: 0.4285714em;
}

.MarkpromptAnswer > ul > li p {
  margin-top: 0.5714286em;
  margin-bottom: 0.5714286em;
}

.MarkpromptAnswer > ul > li > *:first-child {
  margin-top: 1.1428571em;
}

.MarkpromptAnswer > ul > li > *:last-child {
  margin-bottom: 1.1428571em;
}

.MarkpromptAnswer > ol > li > *:first-child {
  margin-top: 1.1428571em;
}

.MarkpromptAnswer > ol > li > *:last-child {
  margin-bottom: 1.1428571em;
}

.MarkpromptAnswer ul ul,
.MarkpromptAnswer ul ol,
.MarkpromptAnswer ol ul,
.MarkpromptAnswer ol ol {
  margin-top: 0.5714286em;
  margin-bottom: 0.5714286em;
}

.MarkpromptAnswer hr + * {
  margin-top: 0;
}

.MarkpromptAnswer h2 + * {
  margin-top: 0;
}

.MarkpromptAnswer h3 + * {
  margin-top: 0;
}

.MarkpromptAnswer h4 + * {
  margin-top: 0;
}

.MarkpromptAnswer thead th:first-child {
  padding-left: 0;
}

.MarkpromptAnswer thead th:last-child {
  padding-right: 0;
}

.MarkpromptAnswer tbody td,
.MarkpromptAnswer tfoot td {
  padding: 0.6666667em 1em;
}

.MarkpromptAnswer tbody td:first-child,
.MarkpromptAnswer tfoot td:first-child {
  padding-left: 0;
}

.MarkpromptAnswer tbody td:last-child,
.MarkpromptAnswer tfoot td:last-child {
  padding-right: 0;
}

.MarkpromptPromptFeedback:not([data-show-feedback-always="true"]) {
  transition-timing-function: cubic-bezier(0.4, 0.36, 0, 1);
  transition-property: all;
  transition-duration: 300ms;
  opacity: 0;
  transform: translateY(-2px);
}

.MarkpromptMessage:hover .MarkpromptPromptFeedback {
  opacity: 1;
  transform: translateY(0);
}

.MarkpromptPromptFeedback[data-variant="text"] {
  margin: 0 2rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--markprompt-border);
}

.MarkpromptPromptFeedback[data-variant="icons"] {
  margin-top: -0.5rem;
}

.MarkpromptPromptFeedback[data-variant="text"] h3 {
  animation: markprompt-fade-in 500ms ease-out forwards 1;
  font-size: var(--markprompt-text-size-xs);
  font-weight: 600;
  color: var(--markprompt-mutedForeground);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.MarkpromptPromptFeedback[data-variant="icons"] h3 {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  display: none;
}

.MarkpromptPromptFeedback div {
  display: flex;
  flex-direction: row;
  gap: 0.375rem;
}

.MarkpromptPromptFeedback[data-variant="icons"] div {
  justify-content: flex-end;
}

.MarkpromptPromptFeedback svg {
  transition-property: all;
  transition-duration: 200ms;
  stroke-width: 2.2px;
}

.MarkpromptGhostThumbButton {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  border-radius: var(--markprompt-button-radius);
  color: var(--markprompt-mutedForeground);
  background-color: transparent;
  border: none;
}

.MarkpromptPromptFeedback[data-variant="text"] button {
  border: 1px solid var(--markprompt-border);
}

.MarkpromptGhostThumbButton[data-active="true"] {
  background-color: var(--markprompt-primary);
  color: var(--markprompt-primaryForeground);
  border-color: var(--markprompt-primaryForeground);
}

.MarkpromptGhostThumbButton[data-active="true"]:hover {
  background-color: var(--markprompt-primary);
}

.MarkpromptGhostThumbButton svg {
  display: block;
}

.MarkpromptGhostThumbButton:hover {
  background-color: var(--markprompt-muted);
}

.MarkpromptGhostButton {
  color: var(--markprompt-foreground);
  border: none;
  display: flex;
  place-items: center;
  outline: none;
  background: transparent;
  border-radius: var(--markprompt-button-radius);
  transition-timing-function: cubic-bezier(0.14, 0, 0.16, 1);
  transition-property: all;
  transition-duration: 200ms;
  padding: 0.375rem;
  cursor: pointer;
  gap: 0.5rem;
  font-weight: 500;
  white-space: nowrap;
}

.MarkpromptGhostButton:hover {
  background-color: var(--markprompt-muted);
}

.MarkpromptBorderedButton {
  color: var(--markprompt-foreground);
  border: 1px solid var(--markprompt-border);
  display: flex;
  place-items: center;
  outline: none;
  background: transparent;
  border-radius: var(--markprompt-button-radius);
  transition-timing-function: cubic-bezier(0.14, 0, 0.16, 1);
  transition-property: all;
  transition-duration: 200ms;
  padding: 0.375rem 0.5rem;
  cursor: pointer;
  gap: 0.5rem;
  font-weight: 500;
  white-space: nowrap;
}

.MarkpromptBorderedButton:hover {
  background-color: var(--markprompt-muted);
}

.MarkpromptProgress {
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  background-image: linear-gradient(
    to right,
    var(--markprompt-primaryHighlight),
    var(--markprompt-secondaryHighlight)
  );
  animation-name: markprompt-progress;
  animation-duration: 2s;
  animation-fill-mode: none;
  animation-iteration-count: 9999;
  transition-timing-function: cubic-bezier(0.14, 0, 0.16, 1);
  transition-property: opacity;
  transition-duration: 200ms;
  opacity: 0;
}

[data-loading-state="preload"] .MarkpromptProgress {
  opacity: 1;
}

.MarkpromptMessagePrompt .MarkpromptProgress {
  bottom: -1px;
  top: unset;
}

.MarkpromptReferences {
  position: relative;
  background-color: var(--markprompt-muted);
  border-top: 1px solid var(--markprompt-border);
  font-size: var(--markprompt-text-size-xs);
  color: var(--markprompt-mutedForeground);
  overflow: hidden;
  margin-top: -1.5rem;
  transition-property: opacity, transform;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  padding-left: 4rem;
  width: 100%;
}

.MarkpromptReferences[data-loading-state="cancelled"] {
  display: none;
}

.MarkpromptChatView .MarkpromptReferences {
  background-color: unset;
  border-top: none;
  padding-block-end: 1rem;
}

.MarkpromptMessage:has(+ .MarkpromptMessage) .MarkpromptReferences {
  padding-block-end: 1rem;
}

.MarkpromptMessage:has(.MarkpromptMessageAnswerContainer) {
  padding-bottom: 0;
}

.MarkpromptPromptView .MarkpromptReferences p {
  margin-top: 0;
}

.MarkpromptReferences[data-loading-state="preload"] {
  overflow-x: hidden;
}

.MarkpromptChatView .MarkpromptReferences p {
  animation: markprompt-fade-in 300ms ease-out forwards 1;
  margin: 0;
  margin-bottom: 0.5rem;
}

.MarkpromptReferences ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 0;
  gap: 0.25rem;
  margin-top: -0.25rem;
  list-style-type: none;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.MarkpromptReferences ul li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.MarkpromptReferences ul::-webkit-scrollbar {
  display: none;
}

.MarkpromptReference {
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.MarkpromptReference a {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px dotted var(--markprompt-border-accent);
  color: var(--markprompt-foreground);
  font-weight: 500;
  transition-property: opacity;
  transition-duration: 200ms;
  white-space: nowrap;
  line-height: 1rem;
}

.MarkpromptReference a:hover {
  opacity: 0.8;
}

.MarkpromptCancelledText {
  font-size: var(--markprompt-text-size-xs);
  color: var(--markprompt-mutedForeground);
  margin-top: 0.125rem;
}

.MarkpromptBackButton {
  font-size: var(--markprompt-text-size);
  background-color: var(--markprompt-muted);
  color: var(--markprompt-primary);
  border-bottom: 1px solid var(--markprompt-border);
  display: flex;
  flex: none;
  align-items: center;
  font-weight: 500;
  padding: 0.5rem 1rem;
  gap: 0.25rem;
  cursor: pointer;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  outline: none;
}

.MarkpromptBackButton span:first-child {
  display: flex;
  align-items: center;
}

.MarkpromptBackButton span:last-child {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.MarkpromptSearchResultsContainer {
  padding: 0 0.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.MarkpromptSearchAnswerButton {
  box-sizing: border-box;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--markprompt-muted);
  color: var(--markprompt-foreground);
  font-size: var(--markprompt-text-size);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  width: 100%;
  border: none;
  outline: none;
}

.MarkpromptSearchAnswerButton:hover,
.MarkpromptSearchAnswerButton:focus {
  background-color: var(--markprompt-primary);
  color: var(--markprompt-primaryForeground);
}

.MarkpromptSearchAnswerButton:hover .MarkpromptSearchIcon,
.MarkpromptSearchAnswerButton:focus .MarkpromptSearchIcon {
  color: var(--markprompt-primaryForeground);
}

.MarkpromptSearchAnswerButton :last-child {
  margin-left: auto;
}

.MarkpromptSearchAnswerButton kbd {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 4px;
  color: var(--markprompt-mutedForeground);
}

.MarkpromptSearchAnswerButton:hover kbd svg,
.MarkpromptSearchAnswerButton:focus kbd svg {
  color: var(--markprompt-primaryForeground);
}

.MarkpromptKeyboardKey {
  color: var(--markprompt-mutedForeground);
  stroke-width: var(--markprompt-icon-stroke-width);
  width: calc(var(--markprompt-button-icon-size) * 0.8);
  height: calc(var(--markprompt-button-icon-size) * 0.8);
}

.MarkpromptSearchResults,
.MarkpromptSearchSubResults {
  list-style-position: inside;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.MarkpromptSearchResults:focus {
  outline: none;
}

.MarkpromptSearchResults {
  padding: 0;
}

.MarkpromptSearchSubResults {
  padding: 0;
}

.MarkpromptSearchResult:first-of-type {
  padding-top: 0.5rem;
}

.MarkpromptSearchResult {
  display: list-item;
  text-align: -webkit-match-parent;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0.5rem;
}

.MarkpromptSearchResult a {
  color: inherit;
  text-decoration: none;
}

.MarkpromptSearchResultLink {
  display: block;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--markprompt-muted);
}

[aria-selected="true"] .MarkpromptSearchResultLink {
  background-color: var(--markprompt-primary);
  color: var(--markprompt-primaryForeground);
}

.MarkpromptSearchResultContainer {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  gap: 1rem;
  padding: 0.25rem 0;
}

.MarkpromptSearchResultIconWrapper {
  display: flex;
  flex: none;
  padding: 5px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
}

.MarkpromptSearchResultIconWrapperBordered {
  background-color: var(--markprompt-background);
  border-radius: var(--markprompt-button-radius);
  border-style: solid;
  border-color: var(--markprompt-border);
}

[aria-selected="true"] .MarkpromptSearchResultIconWrapperBordered {
  background-color: transparent;
  border-color: var(--markprompt-primaryMuted);
}

.MarkpromptSearchResultIcon {
  color: var(--markprompt-mutedForeground);
  stroke-width: var(--markprompt-icon-stroke-width);
  width: var(--markprompt-button-icon-size);
  height: var(--markprompt-button-icon-size);
}

[aria-selected="true"] .MarkpromptSearchResultIcon {
  color: var(--markprompt-primaryForeground);
}

.MarkpromptSearchResultContentWrapper {
  display: flex;
  flex-grow: 1;
  font-size: var(--markprompt-text-size);
  flex-direction: column;
  overflow: hidden;
}

.MarkpromptSearchResultSectionHeading {
  padding: 0 8px;
  font-size: var(--markprompt-text-size-xs);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  color: var(--markprompt-mutedForeground);
}

.MarkpromptSearchResultHeading {
  width: min-content;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  background-color: var(--markprompt-background);
  border-radius: 9999px;
  border-color: var(--markprompt-border);
  border-style: solid;
  border-width: 1px;
  padding: 1px 8px;
  font-size: var(--markprompt-text-size-xs);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

[aria-selected="true"] .MarkpromptSearchResultHeading {
  background-color: var(--markprompt-primaryMuted);
  border-color: var(--markprompt-primaryMuted);
}

.MarkpromptSearchResultTitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.MarkpromptSearchResultTitleAccent {
  font-weight: 600;
}

.MarkpromptSearchResultSubtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-size: var(--markprompt-text-size-xs);
  margin-top: 0.25rem;
  color: var(--markprompt-mutedForeground);
}

[aria-selected="true"] .MarkpromptSearchResultSubtitle {
  color: var(--markprompt-primaryForeground);
}

.MarkpromptMatch {
  font-weight: 600;
  color: var(--markprompt-primary);
  border-bottom: 0.1rem solid var(--markprompt-primary);
}

[aria-selected="true"] .MarkpromptSearchResultHeading .MarkpromptMatch,
.MarkpromptSearchResultHeading .MarkpromptMatch {
  border-bottom-color: transparent;
}

[aria-selected="true"] .MarkpromptMatch {
  border-color: var(--markprompt-primaryForeground);
  color: var(--markprompt-primaryForeground);
}

.MarkpromptNoSearchResults {
  font-size: var(--markprompt-text-size-xs);
  display: flex;
  align-items: center;
}

.MarkpromptNoSearchResults p {
  color: var(--markprompt-mutedForeground);
  padding: 0 1rem 0 0.5rem;
}

.MarkpromptNoSearchResults span {
  color: var(--markprompt-foreground);
  font-weight: 600;
}

.MarkpromptChatActions {
  position: absolute;
  top: -100%;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  margin-right: 0.75rem;
  align-self: flex-end;
}

.MarkpromptNewChatIcon {
  width: 1rem;
  height: 1rem;
  color: var(--markprompt-mutedForeground);
}

.MarkpromptSelect {
  position: relative;
}

.MarkpromptSelectToggle {
  all: unset;
  padding: 0.375rem;
  display: flex;
  place-items: center;
  transition-property: all;
  transition-duration: 200ms;
  background-color: var(--markprompt-background);
  border: 1px solid var(--markprompt-border);
  border-radius: var(--markprompt-button-radius);
  color: var(--markprompt-foreground);
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  font-size: var(--markprompt-text-size);
  gap: 0.5rem;
}

.MarkpromptSelectToggle:hover {
  background-color: var(--markprompt-muted);
}

.MarkpromptSelectToggleWithIcon {
  min-width: 8rem;
  justify-content: space-between;
}

.MarkpromptSelectToggleMuted {
  color: var(--markprompt-mutedForeground);
}

.MarkpromptSelectMenu {
  display: none;
  background-color: var(--markprompt-background);
  border: 1px solid var(--markprompt-border);
  border-radius: var(--markprompt-button-radius);
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  list-style-type: none;
  padding-left: 0;
  z-index: 2;
  box-shadow: var(--markprompt-ring-offset-shadow, 0 0 #0000),
    var(--markprompt-ring-shadow, 0 0 #0000), var(--markprompt-shadow);
  max-width: 30ch;
  overflow: hidden;
  will-change: auto;
}

.MarkpromptSelectMenu[data-open="true"] {
  display: block;
  animation: markprompt-fade-in 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.MarkpromptSelectMenu[data-open="false"] {
  animation: markprompt-fade-out 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.MarkpromptSelectMenu li {
  margin-left: 0;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.MarkpromptSelectMenu li[data-highlighted="true"] {
  background-color: var(--markprompt-muted);
}

.MarkpromptSelectMenu li[data-selected="true"] {
  font-weight: 600;
}

.MarkpromptSelectMenu ul {
  padding-left: 0;
}

.MarkpromptSelectMenu li:has(.MarkpromptSelectGroupLabel) {
  padding-bottom: 0;
}

.MarkpromptSelectGroupLabel {
  display: flex;
  margin-block-end: 0.25rem;
}

.MarkpromptNewChatOption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.MarkpromptDefaultViewContainer {
  display: flex;
  flex-direction: column;
  overflow: hidden auto;
  padding-top: 1rem;
  height: 100%;
}

.MarkpromptDefaultViewBranding {
  flex-grow: 0;
}

.MarkpromptDefaultView {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  flex-grow: 1;
}

.MarkpromptDefaultViewMessage {
  font-size: var(--markprompt-text-size);
  padding: 1rem;
  margin: 0.5rem 0 0;
  animation-fill-mode: both;
  animation-name: markprompt-slide-down-subtle;
  animation-duration: 500ms;
  transition-timing-function: ease-in;
}

.MarkpromptDefaultViewMessagePromptsContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem;
  flex-grow: 1;
  width: 100%;
}

.MarkpromptDefaultViewMessagePromptsContainer h3 {
  color: var(--markprompt-mutedForeground);
  font-weight: 400;
  font-size: var(--markprompt-text-size-xs);
  padding: 0;
  margin: 0 0 0.25rem;
}

.MarkpromptDefaultViewExamplePromptButton {
  --base-delay: 0.05s;

  font-size: var(--markprompt-text-size);
  display: inline-block;
  text-decoration: none;
  padding: 0.125rem 0.75rem;
  background-color: var(--markprompt-background);
  border: 1px solid var(--markprompt-border);
  border-radius: 9999px;
  color: var(--markprompt-primary);
  font-weight: 500;
  transition-property: opacity;
  transition-duration: 200ms;
  white-space: nowrap;
  cursor: pointer;
  animation-delay: calc(var(--base-delay) * (var(--index) - 1));
  animation-fill-mode: both;
  animation-name: markprompt-slide-up-subtle;
  animation-duration: 500ms;
  transition-timing-function: ease-in;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(1) {
  --index: 1;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(2) {
  --index: 2;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(3) {
  --index: 3;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(4) {
  --index: 4;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(5) {
  --index: 5;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(6) {
  --index: 6;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(7) {
  --index: 7;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(8) {
  --index: 8;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(9) {
  --index: 9;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(10) {
  --index: 10;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(11) {
  --index: 11;
}

.MarkpromptDefaultViewMessagePromptsContainer > :nth-child(12) {
  --index: 12;
}

.MarkpromptDefaultViewMessagePromptsContainer a:hover {
  opacity: 0.8;
}

.MarkpromptToolCallConfirmation {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding: 1rem;
  font-size: var(--markprompt-text-size);
  border: 1px solid var(--markprompt-border);
  border-radius: var(--markprompt-button-radius);
}

.MarkpromptToolCallConfirmation p {
  margin-top: 0;
}

.MarkpromptToolDescriptionWithStatus {
  display: flex;
  flex-flow: row nowrap;
  gap: 0.5rem;
  align-items: top;
}

.MarkpromptToolDescriptionWithStatus strong {
  font-weight: 500;
}

.MarkpromptToolCallStatusIcon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 2px;
}

.MarkpromptError {
  padding: 0.375rem 4rem;
  color: var(--markprompt-mutedForeground);
}

.MarkpromptDefaultError {
  display: flex;
  flex-direction: column;
  font-size: var(--markprompt-text-size-xs);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.MarkpromptDefaultErrorIcon {
  font-size: 1.25rem;
  font-weight: 500;
  margin-block-end: 1rem;
}

.MarkpromptDefaultError details {
  margin-block-start: 1rem;
  font-size: var(--markprompt-text-size);
}

.MarkpromptAnswer .hljs {
  background: transparent;
  color: var(--markprompt-foreground);
}

.MarkpromptAnswer code.hljs {
  padding: 0;
}

.MarkpromptAnimateSpin {
  animation: markprompt-spin 1s linear infinite;
}

.MarkpromptReferences:has(+ .MarkpromptMessageCreateTicket) {
  padding-block-end: 1.5rem;
}

.MarkpromptMessageCreateTicket {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-inline: 4rem;
  animation-delay: 0.2s;
}

.MarkpromptMessageSectionHeading {
  margin-block: 0;
  font-size: var(--markprompt-text-size-xs);
  color: var(--markprompt-mutedForeground);
}

.MarkpromptChatViewChatContainer {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.MarkpromptMessageCSATContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding-top: 0.5rem;
  padding-left: 4rem;
  padding-right: 1rem;
}

.MarkpromptMessageCSATStar {
  width: 20px;
  height: 20px;
  stroke-width: 1.5px;
  cursor: pointer;
}

.MarkpromptMessageCSATStar[data-active="false"] {
  color: var(--markprompt-mutedForeground);
}

.MarkpromptMessageCSATStar[data-active="true"] {
  color: var(--markprompt-star-active);
}

.MarkpromptMessageCSATStar,
.MarkpromptMessageCSATContainer .MarkpromptMessageSectionHeading {
  --base-delay: 0.05s;

  animation-delay: calc(var(--base-delay) * (var(--index) - 1));
  animation-fill-mode: both;
  animation-name: markprompt-slide-up-subtle;
  animation-duration: 500ms;
  transition-timing-function: ease-in;
}

.MarkpromptMessageCSATStar:nth-child(1) {
  --index: 1;
}

.MarkpromptMessageCSATStar:nth-child(2) {
  --index: 2;
}

.MarkpromptMessageCSATStar:nth-child(3) {
  --index: 3;
}

.MarkpromptMessageCSATStar:nth-child(4) {
  --index: 4;
}

.MarkpromptMessageCSATStar:nth-child(5) {
  --index: 5;
}

.MarkpromptCreateTicketView {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr;
  height: 100%;
  overflow-y: auto;
}

.MarkpromptTicketViewButtonRow {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding-bottom: 1rem;
  flex: none;
}

.MarkpromptTicketViewButtonRow :first-child {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.MarkpromptTicketViewFormGroupMessage {
  animation-fill-mode: both;
  animation-name: markprompt-slide-down-subtle;
  animation-duration: 500ms;
  font-size: var(--markprompt-text-size);
  margin: 0.25rem 0;
}

.MarkpromptTicketViewButtonRowMessage {
  animation-fill-mode: both;
  animation-name: markprompt-slide-down-subtle;
  animation-duration: 500ms;
}

.MarkpromptTicketViewButtonRow .MarkpromptButton {
  flex: none;
}

.MarkpromptTicketViewButtonRow p {
  margin: 0;
  font-size: var(--markprompt-text-size);
  color: var(--markprompt-foreground);
}

.MarkpromptCreateTicket {
  display: flex;
  padding-inline: 1rem;
  padding-top: 1rem;
  padding-bottom: 0;
  overflow: scroll;
  scrollbar-width: none;
  height: 100%;
}

.MarkpromptCreateTicket h1 {
  font-size: calc(var(--markprompt-text-size) * 1.5);
}

.MarkpromptCreateTicketForm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-grow: 1;
  width: 100%;
}

.MarkpromptCreateTicketForm label {
  color: var(--markprompt-foreground);
  font-weight: 500;
  font-size: var(--markprompt-text-size);
}

.MarkpromptFormGroup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 100%;
  gap: 0.25rem;
}

.MarkpromptFormGroup input,
.MarkpromptFormGroup textarea {
  font-size: var(--markprompt-text-size);
  background-color: var(--markprompt-muted);
  border: 1px solid var(--markprompt-border);
  border-radius: var(--markprompt-button-radius);
  transition-property: all;
  transition-duration: 150ms;
  outline: none;
}

.MarkpromptFormGroup input {
  padding: 0.5rem 0.75rem;
  width: 100%;
  max-width: 400px;
}

.MarkpromptFormGroup textarea {
  padding: 0.75rem;
  min-width: 100%;
  height: 100%;
  min-height: 10rem;
  font-family: inherit;

  /* upcoming future property */
  field-sizing: normal;
}

.MarkpromptFormGroup input:not([type="file"]):focus-within,
.MarkpromptFormGroup textarea:focus-within {
  box-shadow: 0 0 0 3px var(--markprompt-border);
  border-color: var(--markprompt-border-accent);
}

.MarkpromptFormGroup input[type="file"] {
  font-family: inherit;
  background-color: var(--markprompt-background);
  border: 0;

  /* allow the box-shadow outline to show without clipping */
  padding: 3px;
  margin: -3px;
}

.MarkpromptFormGroup input[type="file"]::file-selector-button {
  background: var(--markprompt-muted);
  padding: 0.375rem 0.75rem;
  outline: none;
  border-radius: var(--markprompt-button-radius);
  font-size: var(--markprompt-text-size);
  font-weight: 600;
  border: 1px solid var(--markprompt-border);
  color: var(--markprompt-foreground);
  background-color: var(--markprompt-muted);
  cursor: pointer;
  margin-right: 1rem;
}

.MarkpromptFormGroup input[type="file"]::file-selector-button:focus {
  box-shadow: 0 0 0 var(--markprompt-input-focus-shadow-width)
    var(--markprompt-border);
  border-color: var(--markprompt-border-accent);
}

.MarkpromptCreateTicketForm > *:nth-child(1) {
  --form-group-index: 1;
}

.MarkpromptCreateTicketForm > *:nth-child(2) {
  --form-group-index: 2;
}

.MarkpromptCreateTicketForm > *:nth-child(3) {
  --form-group-index: 3;
}

.MarkpromptCreateTicketForm > *:nth-child(4) {
  --form-group-index: 4;
}

.MarkpromptCreateTicketForm > *:nth-child(5) {
  --form-group-index: 5;
}

.MarkpromptCreateTicketForm > *:nth-child(6) {
  --form-group-index: 6;
}

.MarkpromptCreateTicketForm > *:nth-child(7) {
  --form-group-index: 7;
}

.MarkpromptCreateTicketForm > *:nth-child(8) {
  --form-group-index: 8;
}

.MarkpromptCreateTicketForm > *:nth-child(9) {
  --form-group-index: 9;
}

.MarkpromptCreateTicketForm > *:nth-child(10) {
  --form-group-index: 10;
}

.MarkpromptCreateTicketForm > div {
  --base-delay: 0.05s;

  animation-fill-mode: both;
  animation-name: markprompt-slide-up-subtle;
  animation-duration: 500ms;
  transition-timing-function: ease-in;
  animation-delay: calc(var(--base-delay) * (var(--form-group-index) - 1));
}

.MarkpromptFormGroupGrow {
  flex-grow: 1;
}

.MarkpromptDropdownMenuContent {
  width: 240px;
  background-color: var(--markprompt-background);
  border: 1px solid var(--markprompt-border);
  border-radius: var(--markprompt-radius);
  padding: 1rem 1rem 0.5rem;
  box-shadow: 0 10px 38px -10px rgba(22 23 24 / 35%), 0 10px 20px -15px
    rgba(22 23 24 / 20%);
  animation-duration: 400ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.MarkpromptDropdownMenuContent[data-state="open"] {
  animation-name: dropdownMenuSlideGrow;
}

.MarkpromptDropdownMenuContent[data-state="closed"] {
  animation-name: dropdownMenuSlideGrowReverse;
}

.MarkpromptDropdownMenuTitle {
  color: var(--markprompt-foreground);
  font-weight: 600;
  font-size: var(--markprompt-text-size);
  margin-bottom: 0.25rem;
}

.MarkpromptDropdownMenuSubtitle {
  color: var(--markprompt-mutedForeground);
  font-size: var(--markprompt-text-size);
}

.MarkpromptDropdownMenuLabel {
  font-size: var(--markprompt-text-size);
  line-height: 25px;
  color: var(--markprompt-mutedForeground);
}

.MarkpromptDropdownMenuSeparatorSpace {
  height: 1rem;
}

.MarkpromptDropdownMenuSeparatorLine {
  height: 1px;
  background-color: var(--markprompt-border);
  margin: 0.5rem -1rem;
}

.MarkpromptDropdownMenuSections {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.MarkpromptDropdownMenuItem {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--markprompt-text-size);
  border-radius: var(--markprompt-button-radius);
  position: relative;
  user-select: none;
  outline: none;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding: 0 0.5rem;
  font-weight: 500;
  transition-timing-function: cubic-bezier(0.4, 0.36, 0, 1);
  transition-property: all;
  transition-duration: 150ms;
  cursor: pointer;
  text-decoration: none;
}

.MarkpromptDropdownMenuItem[data-type="link"] {
  color: var(--markprompt-foreground);
  height: 28px;
}

.MarkpromptDropdownMenuItem[data-theme="purple"] {
  --markprompt-button-background: var(--markprompt-background-purple);

  color: #fff;
}

.MarkpromptDropdownMenuItem[data-type="button"] {
  background-color: var(--markprompt-button-background);
  height: 30px;
  justify-content: center;
}

.MarkpromptDropdownMenuItem[data-highlighted][data-type="link"] {
  background-color: var(--markprompt-highlight);
}

.MarkpromptDropdownMenuItem[data-highlighted][data-type="button"]::before {
  opacity: 1;
}

.MarkpromptMenuIcon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2px;
}

.MarkpromptLoadingDots {
  display: inline-flex;
  align-items: center;
  margin-left: -1.5px;
  margin-top: -15px;
  transform: translateY(-4px);
}

.MarkpromptLoadingDots span {
  background-color: var(--markprompt-mutedForeground);
  animation-name: markprompt-blink;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  display: inline-block;
  margin: 0 1.5px;
}

.MarkpromptLoadingDots span:nth-of-type(2) {
  animation-delay: 0.2s;
}

.MarkpromptLoadingDots span:nth-of-type(3) {
  animation-delay: 0.4s;
}

/* MarkpromptNavigationMenu */

.MarkpromptNavigationMenu {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.675rem 1rem;
  border-bottom: 1px solid var(--markprompt-border);
  background-color: var(--markprompt-background-accent);
  overflow: hidden;
  width: 100%;
}

.MarkpromptNavigationMenuTitleContainer {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.MarkpromptNavigationMenuTitle {
  font-weight: 500;
  font-size: var(--markprompt-text-size-lg);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.MarkpromptNavigationMenuSubtitle {
  font-size: var(--markprompt-text-size);
  color: var(--markprompt-mutedForeground);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.MarkpromptStandaloneTicketDeflectionForm {
  border: 1px solid var(--markprompt-border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.MarkpromptTicketDeflectionForm .MarkpromptNavigationMenu {
  flex: none;
}

.MarkpromptTicketDeflectionForm .MarkpromptChatView {
  flex-grow: 1;
  height: 100%;
  overflow: hidden;
}

.MarkpromptTicketDeflectionForm {
  width: 100%;
  height: 400px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation-duration: 200ms;
  animation-fill-mode: forwards;
  background-color: var(--markprompt-background);
}

.MarkpromptTicketDeflectionForm[data-expanded="true"] {
  transition-timing-function: cubic-bezier(0.25, 0.4, 0.55, 1.4);
  animation-name: markprompt-grow-dialog;
}

.MarkpromptTicketDeflectionForm[data-expanded="false"][data-animate-shrink="true"] {
  animation-name: markprompt-shrink-dialog;
}

/* MarkpromptDialogFooter */

.MarkpromptDialogFooter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  border-top: 1px solid var(--markprompt-border);
  background-color: var(--markprompt-background-accent);
  overflow: hidden;
  width: 100%;
  font-size: var(--markprompt-text-size-xs);
  color: var(--markprompt-mutedForeground);
  gap: 0.5rem;
}

.MarkpromptDialogFooter > :first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.MarkpromptDialogFooter > :last-child {
  flex: none;
}

/* Buttons */

.MarkpromptButton {
  padding: 0.375rem 0.75rem;
  outline: none;
  border-radius: var(--markprompt-button-radius);
  font-size: var(--markprompt-text-size);
  font-weight: 600;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  flex: none;
}

.MarkpromptButton:disabled {
  cursor: not-allowed;
  background-color: transparent !important;
}

.MarkpromptButton[data-variant="primary"]:not(:disabled)::before {
  content: "";
  background-image: linear-gradient(
    oklch(100% 0 0deg / 25%),
    oklch(100% 0 0deg / 0%)
  );
  position: absolute;
  inset: 0;
  transition-timing-function: cubic-bezier(0.4 0.36 0 / 100%);
  transition-property: opacity;
  transition-duration: 300ms;
  opacity: 0.7;
  overflow: hidden;
  border-radius: var(--markprompt-button-radius);
}

.MarkpromptButton:hover::before {
  opacity: 1;
}

.MarkpromptButton:focus {
  box-shadow: 0 0 0 var(--markprompt-input-focus-shadow-width)
    var(--markprompt-border);
  border-color: var(--markprompt-border-accent);
}

.MarkpromptButton[data-variant="primary"] {
  border: 1px solid transparent;
  color: var(--markprompt-primaryForeground);
  background-color: var(--markprompt-primary);
}

.MarkpromptButton[data-variant="primary"]:disabled {
  border: 1px solid var(--markprompt-border);
  color: var(--markprompt-mutedForeground);
  background-color: var(--markprompt-muted);
}

.MarkpromptButton[data-variant="outline"] {
  border: 1px solid var(--markprompt-border);
  color: var(--markprompt-foreground);
  background-color: var(--markprompt-muted);
}

.MarkpromptButton[data-variant="outline"]:disabled {
  color: var(--markprompt-mutedForeground);
}

:not(.MarkpromptTicketDeflectionForm)
  .MarkpromptPromptWrapper
  .MarkpromptButton,
:not(.MarkpromptTicketDeflectionForm)
  .MarkpromptPromptWrapper
  .MarkpromptThreadSelect {
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.MarkpromptTicketDeflectionForm .MarkpromptPromptWrapper .MarkpromptButton {
  margin-bottom: 1rem;
}

.MarkpromptIconLink {
  display: flex;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: var(--markprompt-button-radius);
  align-items: center;
  color: var(--markprompt-mutedForeground);
  font-weight: 500;
  font-size: var(--markprompt-text-size);
  cursor: pointer;
  transition-timing-function: cubic-bezier(0.4, 0.36, 0, 1);
  transition-property: all;
  transition-duration: 300ms;
}

.MarkpromptIconLink:hover {
  background-color: var(--markprompt-muted);
  color: var(--markprompt-foreground);
}

.MarkpromptButtonIcon {
  width: 0.875rem;
  height: 0.875rem;
  stroke-width: 2.5px;
}

/* Animations */

@keyframes markprompt-show-content {
  0% {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes markprompt-hide-content {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.98);
  }
}

@keyframes markprompt-show-sheet {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes markprompt-hide-sheet {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(50px);
  }
}

@keyframes markprompt-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes markprompt-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes markprompt-progress {
  0% {
    width: 0;
    transform: translateX(0);
  }

  50% {
    width: 100%;
    transform: translateX(0);
  }

  100% {
    width: 100%;
    transform: translateX(100%);
  }
}

@keyframes markprompt-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes markprompt-slide-up-subtle {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  99% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    transform: unset;
  }
}

@keyframes markprompt-slide-down-subtle {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes markprompt-slide-up-message {
  0% {
    opacity: 0;
    transform: translateY(var(--markprompt-slide-up-translation-from));
  }

  100% {
    opacity: 1;
    transform: translateY(var(--markprompt-slide-up-translation-to));
  }
}

@keyframes markprompt-slide-from-left {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes markprompt-slide-from-right {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dropdownMenuSlideGrow {
  from {
    opacity: 0;
    transform: translateX(6px) translateY(12px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

@keyframes dropdownMenuSlideGrowReverse {
  from {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateX(6px) translateY(12px) scale(0.95);
  }
}

@keyframes markprompt-blink {
  0% {
    opacity: 0.2;
    transform: translateY(1px);
  }

  20% {
    opacity: 1;
    transform: translateY(-1px);
  }

  100% {
    opacity: 0.2;
    transform: translateY(1px);
  }
}

@keyframes markprompt-grow-dialog {
  0% {
    height: 400px;
  }

  100% {
    height: 80vh;
  }
}

@keyframes markprompt-shrink-dialog {
  0% {
    height: 80vh;
  }

  100% {
    height: 400px;
  }
}
