@font-face {
  font-family: Vazirmatn;
  src: url(/assets/vazirmatn-arabic.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Vazirmatn;
  src: url(/assets/vazirmatn-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+2000-200B, U+2010-206F;
}

:root {
  color-scheme: light;
  --canvas: #f4f6f3;
  --paper: #fff;
  --ink: #182920;
  --muted: #596961;
  --soft: #edf5ef;
  --accent: #13644b;
  --accent-hover: #0c513c;
  --line: #e3e9e3;
  --input-line: #d9e3db;
  --shadow: 0 2px 6px #15362605, 0 14px 30px #15362604;
  font: 400 15px/1.6 Vazirmatn, "Noto Sans Arabic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: var(--canvas); color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled, select:disabled { cursor: default; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #318567; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
.icon-library { display: none; }
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.external { width: 14px; height: 14px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.button, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--input-line);
  border-radius: 9px;
  background: var(--paper);
  font-size: .87rem;
  font-weight: 650;
  white-space: nowrap;
}
.button:hover:not(:disabled), .icon-button:hover:not(:disabled) { background: var(--soft); }
.button:disabled, .icon-button:disabled { opacity: .53; }
.icon-button { border: 0; min-height: 32px; width: 32px; padding: 0; color: var(--muted); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar {
  max-width: 1472px;
  min-height: 67px;
  margin: auto;
  padding-inline: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand, .site-actions, .docs-link { display: flex; gap: 10px; align-items: center; }
.brand { direction: ltr; }
.wordmark { font-size: 1.49rem; line-height: 1; letter-spacing: -.055em; font-weight: 800; }
.docs-link { color: var(--muted); font-size: .88rem; font-weight: 650; gap: 7px; }
.docs-link:hover { color: var(--accent); }
.mobile-action, .mobile-docs { display: none; }

.workspace {
  width: 100%;
  max-width: 1472px;
  margin: auto;
  padding: 26px 33px 28px;
  height: calc(100dvh - 68px);
  min-height: 705px;
  display: grid;
  grid-template-columns: minmax(262px, 302px) minmax(0, 1fr);
  gap: 19px;
}
.panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-heading {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 19px;
  border-bottom: 1px solid var(--line);
}
.heading-label { display: flex; align-items: center; gap: 10px; }
.heading-label h2 { font-size: 1.03rem; font-weight: 750; }
.heading-icon, .endpoint-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--accent);
}
.settings-content { padding: 19px; }
.connection-status {
  min-height: 36px;
  border-radius: 9px;
  background: #f4f6f4;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 11px;
  font-size: .83rem;
  font-weight: 650;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #849087; flex: none; }
.connection-status[data-state="ready"], .connection-status[data-state="verified"] {
  background: var(--soft);
  color: var(--accent);
}
.connection-status[data-state="ready"] .status-dot, .connection-status[data-state="verified"] .status-dot { background: #36966c; }
.connection-status[data-state="invalid"] { background: #fff0ef; color: #983b34; }
.connection-status[data-state="invalid"] .status-dot { background: #bc5348; }
.key-form { margin-top: 21px; }
.field-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.field-heading label, .field-heading a { display: inline-flex; align-items: center; gap: 6px; }
.field-heading label { font-size: .94rem; font-weight: 750; }
.field-heading label .icon { width: 17px; height: 17px; color: #557164; }
.field-heading a { font-size: .77rem; font-weight: 650; white-space: nowrap; }
.key-field, .select-field {
  display: flex;
  align-items: center;
  min-height: 43px;
  border: 1px solid var(--input-line);
  border-radius: 9px;
  background: #fbfcfa;
}
.key-field:focus-within, .select-field:focus-within, .composer:focus-within {
  border-color: #60977e;
  box-shadow: 0 0 0 3px #4c987522;
}
.key-field { direction: ltr; padding-right: 4px; }
.key-field input, .select-field select {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 9px 10px;
  font-size: .87rem;
}
.key-field input::placeholder { color: #697970; }
.key-field input { font-family: ui-monospace, monospace; }
.key-field .icon { width: 17px; height: 17px; }
.apply-key {
  padding: 0 13px;
  min-height: 39px;
  width: 100%;
  margin-top: 9px;
  background: var(--soft);
  color: var(--accent);
  border-color: #e0ece3;
}
.apply-key:hover:not(:disabled) { background: #dfeee4; }
.key-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: .76rem;
  color: var(--muted);
}
.key-note .icon { width: 14px; height: 14px; }
.model-section { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line); }
.model-section .field-heading { margin-bottom: 5px; }
.model-section .icon-button .icon { width: 16px; height: 16px; }
.select-field { position: relative; }
.select-field select { appearance: none; padding-right: 31px; cursor: pointer; text-overflow: ellipsis; }
.select-field > .icon { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); width: 16px; height: 16px; }
.model-note { color: var(--muted); font-size: .77rem; margin-top: 7px; }
.api-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 19px 19px;
  padding: 10px;
  border: 1px solid #e8eee8;
  border-radius: 11px;
  background: #f8faf7;
}
.endpoint-icon { width: 34px; height: 34px; }
.endpoint-label { display: block; font-size: .75rem; color: var(--muted); }
.api-endpoint code { display: block; font: 11px/1.7 ui-monospace, monospace; color: #36584a; }

.chat-heading { padding-inline: 22px; }
.new-chat { min-height: 35px; padding: 0 10px; color: var(--accent); }
.new-chat .icon { width: 16px; height: 16px; }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.welcome {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 100%;
  padding: 30px 22px 35px;
  text-align: center;
  isolation: isolate;
}
.welcome::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, #61978058 .85px, transparent .95px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse 365px 235px at 50% 42%, #0009, transparent 96%);
  pointer-events: none;
}
.welcome-content { width: min(100%, 688px); }
.hero-motif { position: relative; width: 146px; height: 115px; margin: 0 auto 13px; display: grid; place-items: center; }
.orbit { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid #e6eee6; border-radius: 50%; }
.orbit-outer { width: 117px; height: 117px; }
.orbit-inner { width: 96px; height: 96px; border-color: #dfece1; }
.orbit-dot { position: absolute; width: 7px; height: 7px; left: 21px; top: 33px; border-radius: 50%; background: #99c5a9; box-shadow: 0 0 0 4px #f0f7f0; z-index: 1; }
.orbit-star { position: absolute; right: 14px; bottom: 14px; font-size: 17px; line-height: 1; color: #78aa8d; z-index: 1; }
.hero-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: var(--accent);
  border: 1px solid #d5e9d8;
  border-radius: 23px;
  background: linear-gradient(145deg, #f3fbf2, #dcefe1);
  box-shadow: inset 0 0 0 4px #ffffff70, 0 8px 18px #3f8e6230;
}
.hero-icon .icon { width: 44px; height: 44px; stroke-width: 1.65; }
.welcome h1 { font-size: clamp(2rem, 3.6vw, 2.85rem); font-weight: 800; line-height: 1.45; letter-spacing: -.025em; }
.welcome-description { margin-top: 5px; color: var(--muted); font-size: 1.02rem; }
.suggestions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 29px; }
.suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: var(--paper);
  min-height: 69px;
  box-shadow: 0 2px 4px #173a2310;
}
.suggestion:hover { border-color: #a9cab5; background: #f9fcf9; }
.suggestion-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; flex: none; }
.suggestion-icon .icon { width: 17px; height: 17px; }
.mint { background: #e6f4e9; color: #247658; }
.lavender { background: #f0edff; color: #6554a0; }
.sand { background: #fbf0dd; color: #88612c; }
.suggestion strong, .suggestion small { display: block; }
.suggestion strong { font-size: .89rem; font-weight: 750; }
.suggestion small { font-size: .75rem; color: var(--muted); }
.suggestion-arrow { margin-inline-start: auto; width: 13px; height: 13px; color: #637a6d; }

.composer-area { width: min(100%, 750px); margin-inline: auto; padding: 5px 18px 13px; }
.composer {
  border: 1px solid var(--input-line);
  border-radius: 15px;
  padding: 9px;
  box-shadow: 0 4px 14px #214c3510;
}
.composer textarea {
  display: block;
  width: 100%;
  padding: 5px 7px 2px;
  min-height: 51px;
  max-height: 180px;
  background: transparent;
  outline: none;
  resize: none;
  border: 0;
}
.composer textarea:placeholder-shown { direction: rtl; text-align: right; }
.composer textarea::placeholder { color: #68786d; }
.composer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.active-model {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: #f8faf7;
  font-size: .77rem;
}
.active-model .icon { width: 14px; height: 14px; }
.active-model bdi { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.send { background: var(--accent); color: white; border-color: transparent; min-width: 77px; padding-inline: 10px; }
.send:hover:not(:disabled) { background: var(--accent-hover); }
.send:disabled { opacity: 1; background: #deebe2; color: #476253; }
.send .icon { width: 16px; height: 16px; }
.shortcut { margin-top: 9px; color: var(--muted); text-align: center; font-size: .72rem; }
.shortcut span { margin-inline: 4px; }
kbd { font: .68rem ui-monospace, monospace; background: #f6f8f5; color: #4a6053; padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; }
.error { color: #973a33; font-size: .83rem; }
.key-form .error { margin-top: 6px; }
.chat-error { margin-bottom: 9px; padding: 7px 11px; background: #fff2f1; border-radius: 8px; }
.messages { width: min(100%, 750px); margin-inline: auto; padding: 0 18px; }
.message { display: flex; align-items: flex-start; gap: 10px; margin-block: 22px; }
.message-avatar { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; color: var(--accent); background: var(--soft); flex: none; }
.message-avatar .icon { width: 16px; height: 16px; }
.message.user .message-avatar { display: none; }
.message-inner { min-width: 0; }
.message.user .message-inner { background: #edf5ef; padding: 9px 13px; border-radius: 12px; max-width: min(91%, 610px); }
.message-author { color: var(--muted); font-size: .81rem; font-weight: 700; margin-bottom: 3px; }
.message-body { white-space: pre-wrap; overflow-wrap: anywhere; text-align: start; line-height: 1.85; unicode-bidi: plaintext; }
.message-actions { margin-top: 5px; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .76rem; }
.message-actions .icon-button { min-height: 27px; width: 27px; }
.message-actions .icon { width: 15px; height: 15px; }
.message[data-waiting] .message-body { color: var(--muted); }

@media (max-width: 1110px) {
  .workspace { grid-template-columns: 262px minmax(0, 1fr); gap: 14px; padding-inline: 20px; }
  .topbar { padding-inline: 20px; }
  .suggestion-arrow { display: none; }
}
@media (max-width: 540px) {
  .wordmark { font-size: 1.28rem; }
  .brand { gap: 5px; }
  .brand img { width: 30px; height: 30px; }
  .welcome { padding: 17px 12px; }
  .hero-motif { transform: scale(.8); height: 89px; margin-bottom: 2px; }
  .welcome-description { font-size: .87rem; }
  .suggestions { margin-top: 15px; gap: 5px; grid-template-columns: 1fr; }
  .suggestion { min-height: 39px; padding: 4px 8px; }
  .suggestion-text { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; }
  .suggestion-icon { width: 25px; height: 25px; }
  .suggestion-icon .icon { width: 14px; height: 14px; }
  .suggestion-arrow { display: block; }
}

.composer-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.active-model { max-width: 100%; }
.web-search { min-height: 29px; padding: 0 7px; gap: 4px; color: var(--muted); font-size: .77rem; }
.web-search .icon { width: 14px; height: 14px; }
.web-search[aria-pressed="true"] { color: var(--accent); background: var(--soft); border-color: #abcbba; }
.message-sources { margin-top: 11px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .85rem; }
.message-sources summary { cursor: pointer; font-weight: 650; }
.message-sources ol { margin: 5px 0 1px; padding-inline-start: 21px; }
.message-sources li + li { margin-top: 3px; }
.message-sources a:hover { text-decoration: underline; }

.key-actions { display: flex; gap: 6px; margin-top: 9px; }
.key-actions .apply-key { margin-top: 0; width: auto; flex: 1; }
.clear-key { padding-inline: 8px; color: var(--muted); font-size: .79rem; }
.source-note, .source-query { margin-block: 4px; color: var(--muted); }
.source-query { overflow-wrap: anywhere; font-weight: 650; }
.source-publisher { display: inline-block; margin-inline-start: 6px; color: var(--muted); }


.message-body.markdown {
  white-space: normal;
  unicode-bidi: isolate;
  line-height: 1.8;
}
.markdown > :first-child { margin-block-start: 0; }
.markdown > :last-child { margin-block-end: 0; }
.markdown p, .markdown ul, .markdown ol, .markdown blockquote, .markdown pre, .markdown .table-scroll {
  margin-block: .72em;
}
.markdown :is(h1, h2, h3, h4, h5, h6) {
  margin-block: 1em .36em;
  line-height: 1.5;
  font-weight: 800;
}
.markdown h1 { font-size: 1.4em; }
.markdown h2 { font-size: 1.22em; }
.markdown h3 { font-size: 1.12em; }
.markdown :is(h4, h5, h6) { font-size: 1em; }
.markdown strong { font-weight: 800; }
.markdown a { text-decoration: underline; text-underline-offset: .16em; }
.markdown ul, .markdown ol { padding-inline-start: 1.6em; }
.markdown li + li { margin-block-start: .2em; }
.markdown li > p:first-child { margin-block-start: 0; }
.markdown li > p:last-child { margin-block-end: 0; }
.markdown blockquote {
  margin-inline: 0;
  padding: .08em .85em;
  border-inline-start: 3px solid #9abdab;
  background: #f5f8f5;
  color: #43574c;
}
.markdown code { font: .88em/1.65 ui-monospace, monospace; }
.markdown :not(pre) > code {
  unicode-bidi: isolate;
  direction: ltr;
  background: #edf2ee;
  border-radius: 4px;
  padding: .1em .3em;
}
.markdown pre {
  padding: 11px 13px;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  border-radius: 10px;
  background: #182b25;
  color: #eff8f2;
  overflow-wrap: normal;
}
.markdown pre code { white-space: pre; }
.markdown hr { border: 0; border-top: 1px solid var(--line); margin-block: 1em; }
.markdown .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; }
.markdown table { border-collapse: collapse; width: max-content; min-width: 100%; }
.markdown th, .markdown td { padding: .46em .7em; text-align: start; border-bottom: 1px solid var(--line); }
.markdown th { background: #edf5ef; }
.markdown tr:last-child td { border-bottom: 0; }

@media (max-width: 800px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  html, body { overflow: hidden; overscroll-behavior: none; background: var(--paper); }
  body {
    position: fixed;
    inset: var(--app-top, 0px) 0 auto;
    height: var(--app-height, 100dvh);
    display: flex;
    flex-direction: column;
  }
  .site-header { flex: none; padding-block-start: env(safe-area-inset-top); }
  .topbar {
    min-height: 60px;
    padding-inline: max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-left));
  }
  .site-actions { gap: 6px; }
  .site-actions .docs-link, .chat-heading, .shortcut { display: none; }
  .mobile-action {
    display: inline-flex;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 13px;
    background: #f4f7f4;
    border-color: var(--line);
    color: var(--accent);
  }
  .mobile-action .icon { width: 21px; height: 21px; }
  .workspace { display: flex; padding: 0; gap: 0; height: auto; flex: 1; min-height: 0; }
  .chat { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
  .settings { display: none; }
  .settings-open .settings {
    display: flex;
    position: absolute;
    z-index: 3;
    inset: 0;
    padding-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
    border: 0;
    border-radius: 0;
    overflow-y: auto;
  }
  .settings > * { flex-shrink: 0; }
  .settings .panel-heading { min-height: 60px; padding-inline: 14px; }
  .settings .mobile-docs { display: flex; width: fit-content; min-height: 44px; margin-inline: 19px; }
  .settings .api-endpoint { margin-top: 12px; }
  .key-field input, .select-field select, .composer textarea {
    font-size: 17px;
    touch-action: manipulation;
  }
  .chat-scroll { scrollbar-width: thin; }
  .messages { padding-inline: max(13px, env(safe-area-inset-right)) max(13px, env(safe-area-inset-left)); }
  .message { margin-block: 16px 21px; }
  .message.assistant { gap: 8px; }
  .message-avatar { width: 24px; height: 24px; border-radius: 7px; }
  .message-avatar .icon { width: 13px; height: 13px; }
  .composer-area {
    flex: none;
    width: 100%;
    padding: 8px max(10px, env(safe-area-inset-left)) max(9px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
    border-top: 1px solid var(--line);
    background: #f7f9f6;
  }
  .composer { background: var(--paper); padding: 6px 8px; border-radius: 17px; box-shadow: 0 2px 6px #214c350a; }
  .composer textarea {
    min-height: 38px;
    max-height: min(120px, calc(var(--app-height, 100dvh) * .24));
    padding: 4px 4px 0;
  }
  .composer-toolbar { gap: 7px; }
  .composer-tools { flex: 1; flex-wrap: nowrap; }
  .active-model { flex: 0 1 auto; }
  .web-search { min-height: 40px; padding-inline: 6px; border-radius: 9px; flex: none; }
  .send { flex: none; min-height: 44px; min-width: 44px; padding: 0; border-radius: 13px; }
  .send span { display: none; }
  .send .icon { width: 20px; height: 20px; }
}

@media (max-width: 350px) {
  .active-model .icon { display: none; }
}

.chat-actions { display: flex; align-items: center; gap: 7px; }
.history-dialog {
  width: min(460px, calc(100% - 28px));
  max-height: min(650px, calc(100dvh - 26px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 22px 80px #102f2633;
}
.history-dialog::backdrop { background: #15291f55; }
.history-close { width: 40px; min-height: 40px; padding: 0; color: var(--accent); }
.history-content { padding: 14px; }
#history-empty { margin: 20px 4px; color: var(--muted); text-align: center; }
#history-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.history-item { display: flex; gap: 4px; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.history-item[data-active] { border-color: #9abdab; background: #f3f8f3; }
.history-entry {
  border: 0;
  background: transparent;
  text-align: start;
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
}
.history-entry strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.history-entry time { display: block; color: var(--muted); font-size: .78rem; }
.history-delete { margin-inline-end: 4px; width: 42px; min-height: 42px; }
.history-delete:hover { color: #983b34; }
@media (max-width: 800px) {
  .history-dialog {
    position: fixed;
    inset: var(--app-top, 0px) 0 auto;
    margin: 0;
    width: 100%;
    max-width: none;
    height: var(--app-height, 100dvh);
    max-height: none;
    border: 0;
    border-radius: 0;
    padding-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
  }
  .history-dialog .panel-heading { position: sticky; inset-block-start: 0; background: var(--paper); min-height: 60px; padding-inline: 14px; }
  .history-close { width: 44px; min-height: 44px; }
}

.markdown .code-block {
  margin-block: .72em;
  overflow: hidden;
  border-radius: 10px;
  background: #182b25;
}
.markdown .code-block pre {
  margin: 0;
  border-radius: 0;
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 8px;
  padding: 3px 8px;
  border-bottom: 1px solid #3b5449;
  background: #243a32;
  color: #e4f0e9;
}
.code-language { font: .78rem ui-monospace, monospace; overflow-wrap: anywhere; }
.code-copy {
  min-height: 30px;
  padding-inline: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: .79rem;
}
.code-copy:hover:not(:disabled) { background: #365346; }
.code-copy:focus-visible { outline-color: #9cdbc0; }
.code-copy .icon { width: 14px; height: 14px; }
.message[data-streaming] .code-copy { visibility: hidden; }

@media (max-width: 800px) {
  .code-copy { min-height: 42px; }
}

.continue-response {
  min-height: 36px;
  padding-inline: 8px;
  color: var(--accent);
}

.message[data-streaming] .message-actions button { display: none; }
