:root {
  color-scheme: light;
  --chat-bg: #fbfaf5;
  --chat-sidebar: #f7f5ee;
  --chat-surface: #fffefa;
  --chat-surface-strong: #ffffff;
  --chat-border: #e8e4d9;
  --chat-border-strong: #dcd7ca;
  --chat-text: #181a18;
  --chat-muted: #6f726d;
  --chat-soft: #eeece5;
  --chat-accent: #176d52;
  --chat-accent-dark: #0f4f3c;
  --chat-accent-soft: #e1eee8;
  --chat-error: #a8382c;
  --chat-error-soft: #f8e8e4;
  --chat-shadow: 0 12px 36px rgba(32, 35, 30, 0.08);
  --chat-sidebar-width: 276px;
  --chat-transcript-width: 48rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--chat-bg);
  color: var(--chat-text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
select,
textarea,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(23, 109, 82, 0.24);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--chat-text);
  color: white;
  transform: translateY(-150%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.chat-loading {
  display: flex;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--chat-bg);
  color: var(--chat-muted);
  font-size: 0.92rem;
}

.chat-brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #123c30;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.chat-shell {
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  grid-template-columns: var(--chat-sidebar-width) minmax(0, 1fr);
}

.chat-sidebar {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid var(--chat-border);
  background: var(--chat-sidebar);
}

.chat-sidebar-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.chat-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  border-radius: 12px;
}

.chat-brand strong {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  cursor: pointer;
  place-items: center;
  border-radius: 12px;
  background: transparent;
  color: var(--chat-muted);
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.chat-icon-button:hover {
  background: var(--chat-soft);
  color: var(--chat-text);
}

.chat-sidebar-close,
.chat-mobile-menu {
  display: none;
}

.chat-nav {
  display: grid;
  gap: 3px;
  padding: 8px 14px 14px;
}

.chat-nav-item {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-radius: 13px;
  background: transparent;
  color: #2c2f2b;
  font-size: 0.94rem;
  font-weight: 590;
  text-align: left;
  transition:
    background-color 150ms ease,
    color 150ms ease;
  padding-inline: 13px;
}

.chat-nav-item:hover {
  background: rgba(232, 228, 217, 0.72);
}

.chat-nav-item.is-active {
  background: #e8e6df;
  color: #111310;
}

.chat-nav-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
}

.chat-nav-icon svg {
  width: 21px;
  height: 21px;
}

.conversation-section {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--chat-border);
}

.conversation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 7px 10px;
  color: var(--chat-muted);
}

.conversation-heading h2 {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.conversation-heading span {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.conversation-search {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #ebe9e2;
  color: #969992;
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
}

.conversation-search:focus-within {
  border-color: var(--chat-border-strong);
  background: var(--chat-surface);
}

.conversation-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.conversation-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.86rem;
}

.conversation-search input::placeholder {
  color: #989b95;
}

.conversation-list {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.conversation-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  border-radius: 12px;
}

.conversation-item.is-active {
  background: var(--chat-surface);
  box-shadow: inset 0 0 0 1px var(--chat-border);
}

.conversation-open {
  min-width: 0;
  cursor: pointer;
  padding: 11px 8px 11px 11px;
  border-radius: 12px;
  background: transparent;
  text-align: left;
}

.conversation-open strong,
.conversation-open small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-open strong {
  font-size: 0.83rem;
  font-weight: 590;
}

.conversation-open small {
  margin-top: 3px;
  color: var(--chat-muted);
  font-size: 0.71rem;
}

.conversation-delete {
  display: grid;
  width: 34px;
  height: 34px;
  cursor: pointer;
  place-items: center;
  border-radius: 9px;
  background: transparent;
  color: #8b8e88;
  opacity: 0;
}

.conversation-delete svg {
  width: 17px;
  height: 17px;
}

.conversation-item:hover .conversation-delete,
.conversation-delete:focus-visible,
.conversation-item.is-active .conversation-delete {
  opacity: 1;
}

.conversation-delete:hover {
  background: var(--chat-error-soft);
  color: var(--chat-error);
}

.conversation-empty {
  margin: 14px 8px;
  color: var(--chat-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.conversation-storage-note {
  margin: auto 7px 0;
  padding-top: 10px;
  color: #8a8d87;
  font-size: 0.7rem;
  line-height: 1.5;
}

.chat-sidebar-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--chat-border);
}

.chat-account-link {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 12px;
}

.chat-avatar {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d8d3c7;
  border-radius: 50%;
  background: linear-gradient(135deg, #cae9df, #f0d8d0);
  color: #174c3c;
  font-size: 0.86rem;
  font-weight: 750;
  text-transform: uppercase;
}

.chat-account-link > span:last-child {
  min-width: 0;
}

.chat-account-link strong,
.chat-account-link small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-account-link strong {
  font-size: 0.79rem;
  font-weight: 620;
}

.chat-account-link small {
  margin-top: 3px;
  color: var(--chat-muted);
  font-size: 0.68rem;
}

.chat-main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background:
    radial-gradient(
      circle at 52% 38%,
      rgba(255, 255, 255, 0.82),
      transparent 32rem
    ),
    var(--chat-bg);
}

.chat-topbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.model-picker {
  display: inline-flex;
  max-width: min(340px, 45vw);
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--chat-border);
  border-radius: 13px;
  background: rgba(255, 254, 250, 0.9);
  box-shadow: 0 2px 8px rgba(32, 35, 30, 0.03);
}

.model-picker:focus-within {
  border-color: var(--chat-border-strong);
  box-shadow: 0 0 0 3px rgba(23, 109, 82, 0.1);
}

.model-indicator {
  width: 5px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 6px;
  background:
    linear-gradient(
      to bottom,
      var(--chat-accent) 0 22%,
      transparent 22% 31%,
      var(--chat-accent) 31% 69%,
      transparent 69% 78%,
      var(--chat-accent) 78%
    );
}

.model-picker select {
  min-width: 0;
  max-width: 260px;
  cursor: pointer;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.96rem;
  font-weight: 680;
  text-overflow: ellipsis;
}

.model-picker select:disabled {
  cursor: default;
  color: var(--chat-muted);
}

.model-picker > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--chat-muted);
  pointer-events: none;
}

.chat-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  background: rgba(255, 254, 250, 0.9);
  font-size: 0.78rem;
}

.balance-chip span {
  color: var(--chat-muted);
}

.balance-chip strong {
  font-size: 0.87rem;
  font-variant-numeric: tabular-nums;
}

.topbar-account {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
}

.chat-workspace {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.chat-empty {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 24px 8px;
}

.empty-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--chat-border);
  border-radius: 17px;
  background: var(--chat-surface);
  color: var(--chat-accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(31, 60, 49, 0.07);
}

.chat-empty h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.9rem);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.message-list {
  width: 100%;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  scrollbar-width: thin;
  padding: 32px 24px 44px;
}

.message {
  display: block;
  width: min(100%, var(--chat-transcript-width));
  margin: 0 auto 34px;
}

.message.is-user {
  display: flex;
  justify-content: flex-end;
}

.message-body {
  width: 100%;
  min-width: 0;
}

.message.is-user .message-body {
  width: auto;
  max-width: min(72%, 42rem);
  padding: 10px 16px;
  border: 0;
  border-radius: 18px 18px 5px;
  background: #f4f4f4;
}

.message-content {
  color: #1f1f1f;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.message-content p {
  margin: 0 0 1em;
}

.message-content > :first-child {
  margin-top: 0;
}

.message-content > :last-child {
  margin-bottom: 0;
}

.message.is-user .message-content p {
  white-space: pre-wrap;
}

.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4,
.message-content h5,
.message-content h6 {
  margin: 1.45em 0 0.55em;
  color: #171817;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.message-content h1 {
  font-size: 1.38rem;
}

.message-content h2 {
  font-size: 1.22rem;
}

.message-content h3 {
  font-size: 1.09rem;
}

.message-content h4,
.message-content h5,
.message-content h6 {
  font-size: 1rem;
}

.message-content strong {
  font-weight: 660;
}

.message-content ul,
.message-content ol {
  margin: 0.75em 0 1em;
  padding-left: 1.55em;
}

.message-content ul {
  list-style: disc;
}

.message-content ol {
  list-style: decimal;
}

.message-content li {
  padding-left: 0.15em;
}

.message-content li + li {
  margin-top: 0.35em;
}

.message-content li > ul,
.message-content li > ol {
  margin: 0.35em 0 0.2em;
}

.message-content blockquote {
  margin: 1em 0;
  padding: 0.05em 0 0.05em 1em;
  border-left: 3px solid #d7d8d4;
  color: #5f6360;
}

.message-content blockquote > :last-child {
  margin-bottom: 0;
}

.message-content hr {
  margin: 1.7em 0;
  border: 0;
  border-top: 1px solid #e4e5e2;
}

.message-content a {
  color: #176b50;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.message-content :not(pre) > code {
  padding: 0.14em 0.38em;
  border: 1px solid #e5e5e2;
  border-radius: 5px;
  background: #f4f4f2;
  color: #272927;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
}

.markdown-table-wrap {
  width: 100%;
  margin: 1.15em 0;
  overflow-x: auto;
  border: 1px solid #e1e2df;
  border-radius: 10px;
}

.message-content table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.55;
}

.message-content th,
.message-content td {
  padding: 10px 12px;
  border-right: 1px solid #e1e2df;
  border-bottom: 1px solid #e1e2df;
  text-align: left;
  vertical-align: top;
}

.message-content th {
  background: #f6f6f4;
  font-weight: 650;
}

.message-content tr:last-child td {
  border-bottom: 0;
}

.message-content th:last-child,
.message-content td:last-child {
  border-right: 0;
}

.code-block {
  margin: 1.15em 0;
  overflow: hidden;
  border: 1px solid #30342f;
  border-radius: 12px;
  background: #1f221f;
  color: #f1f4ef;
}

.code-block-toolbar {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px 0 14px;
  border-bottom: 1px solid #343834;
  background: #272b27;
}

.message-content pre {
  margin: 0;
  overflow-x: auto;
  background: #1f221f;
  color: #f1f4ef;
  scrollbar-width: thin;
}

.message-content pre code {
  display: block;
  min-width: max-content;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.83rem;
  line-height: 1.65;
  white-space: pre;
}

.code-language {
  color: #aeb5ac;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.68rem;
}

.code-copy {
  min-height: 28px;
  cursor: pointer;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: #30352f;
  color: #dce2da;
  font-size: 0.68rem;
}

.message-reasoning {
  margin: 0 0 16px;
  border-left: 2px solid #cfd7d2;
  color: var(--chat-muted);
}

.message-reasoning summary {
  cursor: pointer;
  padding: 2px 11px 7px;
  font-size: 0.78rem;
  font-weight: 650;
}

.message-reasoning-content {
  padding: 0 11px 7px;
  font-size: 0.82rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.message-pending {
  color: var(--chat-muted);
}

.message-meta {
  display: flex;
  min-height: 24px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--chat-muted);
  font-size: 0.72rem;
}

.message-error {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--chat-error-soft);
  color: var(--chat-error);
  font-size: 0.78rem;
}

.retry-button {
  cursor: pointer;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.streaming-cursor::after {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 3px;
  animation: chat-cursor 900ms steps(1) infinite;
  background: var(--chat-accent);
  content: "";
  vertical-align: -0.16em;
}

.composer-dock {
  flex: 0 0 auto;
  padding: 14px 28px max(22px, env(safe-area-inset-bottom));
  background: linear-gradient(
    to bottom,
    rgba(251, 250, 245, 0),
    var(--chat-bg) 20px
  );
}

.chat-composer {
  width: min(var(--chat-transcript-width), 100%);
  margin: 0 auto;
  padding: 15px 16px 12px;
  border: 1px solid var(--chat-border-strong);
  border-radius: 22px;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: var(--chat-shadow);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.chat-composer:focus-within {
  border-color: #bfcac4;
  box-shadow:
    0 0 0 3px rgba(23, 109, 82, 0.07),
    var(--chat-shadow);
}

.chat-composer textarea {
  display: block;
  width: 100%;
  min-height: 32px;
  max-height: 168px;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.99rem;
  line-height: 1.55;
}

.chat-composer textarea::placeholder {
  color: #9a9c97;
}

.chat-composer textarea:disabled {
  cursor: not-allowed;
}

.composer-footer {
  display: flex;
  min-height: 40px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 7px;
}

.composer-hint {
  align-self: center;
  color: #92958f;
  font-size: 0.69rem;
}

.send-button,
.stop-button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  cursor: pointer;
  place-items: center;
  border-radius: 50%;
  background: var(--chat-text);
  color: white;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    opacity 150ms ease;
}

.send-button:hover:not(:disabled),
.stop-button:hover {
  transform: translateY(-1px);
  background: var(--chat-accent-dark);
}

.send-button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.send-button svg {
  width: 19px;
  height: 19px;
}

.stop-button span {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: currentColor;
}

.composer-status {
  width: min(var(--chat-transcript-width), 100%);
  min-height: 18px;
  margin: 7px auto 0;
  color: var(--chat-muted);
  font-size: 0.7rem;
  text-align: center;
}

.composer-status.is-error {
  color: var(--chat-error);
}

.chat-toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100vw - 44px));
  padding: 12px 15px;
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  background: #20231f;
  color: white;
  box-shadow: 0 14px 40px rgba(22, 24, 21, 0.22);
  font-size: 0.82rem;
}

.chat-toast.is-error {
  background: #7d2c24;
}

.chat-sidebar-overlay {
  position: fixed;
  z-index: 45;
  inset: 0;
  background: rgba(25, 27, 24, 0.32);
  backdrop-filter: blur(2px);
}

@keyframes chat-cursor {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .chat-shell {
    display: block;
  }

  .chat-sidebar {
    position: fixed;
    z-index: 50;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(var(--chat-sidebar-width), calc(100vw - 48px));
    transform: translateX(-105%);
    transition: transform 180ms ease;
    box-shadow: 18px 0 44px rgba(27, 30, 26, 0.12);
  }

  .chat-sidebar.is-open {
    transform: translateX(0);
  }

  .chat-sidebar-close,
  .chat-mobile-menu {
    display: inline-grid;
  }

  .chat-main {
    height: 100vh;
    height: 100dvh;
  }

  .chat-topbar {
    min-height: 68px;
    padding: 10px 15px;
  }

  .model-picker {
    max-width: min(390px, calc(100vw - 190px));
    min-height: 44px;
  }

  .model-picker select {
    max-width: calc(100vw - 270px);
  }

  .message-list {
    padding-inline: 20px;
  }
}

@media (max-width: 620px) {
  .chat-topbar {
    gap: 8px;
    padding-inline: 10px;
  }

  .chat-mobile-menu {
    width: 42px;
    height: 42px;
  }

  .model-picker {
    min-width: 0;
    flex: 1;
    gap: 7px;
    padding-inline: 10px;
  }

  .model-picker select {
    width: 100%;
    max-width: none;
    font-size: 0.86rem;
  }

  .balance-chip {
    display: none;
  }

  .topbar-account {
    width: 42px;
    height: 42px;
  }

  .topbar-account .chat-avatar {
    width: 34px;
    height: 34px;
  }

  .chat-empty {
    justify-content: center;
    padding-bottom: 28px;
  }

  .chat-empty h1 {
    font-size: 1.8rem;
  }

  .message-list {
    padding: 22px 14px 26px;
  }

  .message {
    margin-bottom: 28px;
  }

  .message.is-user .message-body {
    max-width: 85%;
  }

  .message-content {
    font-size: 1rem;
  }

  .composer-dock {
    padding: 8px 10px max(10px, env(safe-area-inset-bottom));
  }

  .chat-composer {
    padding: 12px 12px 9px;
    border-radius: 18px;
  }

  .composer-hint {
    display: none;
  }

  .composer-footer {
    justify-content: flex-end;
  }

  .composer-status {
    margin-top: 5px;
    font-size: 0.65rem;
  }

  .chat-toast {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
