:root {
  --bg: #ffffff;
  --panel: #f7f7f7;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --bubble: #f4f4f4;
  --dark: #111111;
  --accent: #8a53fb;
  --glow: rgba(138, 83, 251, 0.20);
  --font-scale: 1;
  --keyboard-offset: 0px;
}

:root[data-theme="dark"] {
  --bg: #212121;
  --panel: #2f2f2f;
  --text: #f4f4f4;
  --muted: #b4b4b4;
  --line: #3f3f3f;
  --bubble: #303030;
  --dark: #f4f4f4;
  --accent: #e184d5;
  --glow: rgba(225, 132, 213, 0.24);
}

:root[data-font-size="small"] {
  --font-scale: 0.92;
}

:root[data-font-size="large"] {
  --font-scale: 1.12;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: calc(16px * var(--font-scale));
  background: var(--bg);
}

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

button,
a.download {
  border-radius: 999px;
}

button,
a.download {
  border: 0;
  cursor: pointer;
  font-weight: 650;
}


.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;
}
.plain-button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
}

.brand-button img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-only-button {
  display: inline-grid;
  width: 36px;
  min-height: 34px;
  place-items: center;
  padding: 0;
}

.icon-only-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-action svg,
.install-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plain-button:hover {
  color: var(--text);
  background: var(--panel);
}

button:disabled,
a.disabled {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}

.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
}

.chat-app {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  width: min(980px, 100%);
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin: 0 auto;
  background: #ffffff;
  background: var(--bg);
  overflow: hidden;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

:root[data-theme="dark"] .app-header {
  background: rgba(33, 33, 33, 0.92);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-menu {
  position: relative;
}

.settings-menu summary {
  display: inline-grid;
  width: 36px;
  min-height: 34px;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
  list-style: none;
}

.settings-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-menu summary::-webkit-details-marker {
  display: none;
}

.settings-menu[open] summary {
  color: var(--text);
  background: var(--panel);
}

.brand-button {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text);
  background: transparent;
  font-size: 1.05rem;
}

.brand-button::after {
  content: "⌄";
  margin-left: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill {
  min-height: 24px;
  padding: 3px 7px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: 1px;
}

.settings-bar {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  width: min(520px, calc(100vw - 24px));
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.settings-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.86rem;
}

.settings-footprint {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 10px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.74rem;
  line-height: 1.35;
}

.settings-footprint strong {
  color: var(--text);
}

.settings-footprint a {
  color: var(--accent);
  text-decoration: none;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

select,
textarea {
  width: 100%;
  color: var(--text);
  background: #ffffff;
  background: var(--bg);
  border: 1px solid var(--line);
  outline: none;
}

select {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
}

textarea {
  border-radius: 10px;
}

textarea {
  min-height: 52px;
  max-height: 180px;
  padding: 14px 46px 14px 14px;
  resize: vertical;
  line-height: 1.5;
}

select:focus,
textarea:focus {
  border-color: #bcbcbc;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.07);
}

.prompt-accordion {
  padding: 8px 18px;
}

.prompt-accordion summary {
  display: none;
}

.quick-prompts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0;
}

.quick-prompts button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 0.82rem;
}

.quick-prompts .install-chip {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 28px 18px 22px;
  min-height: 0;
}

.message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  width: min(760px, 100%);
  margin: 0 auto;
}

.message.user {
  grid-template-columns: minmax(0, 1fr);
}

.message.user .avatar {
  display: none;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--dark);
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 750;
}

.bubble {
  width: fit-content;
  max-width: 100%;
  padding: 12px 14px;
  line-height: 1.58;
  white-space: pre-wrap;
}

.message.assistant .bubble {
  background: transparent;
}

.message.user .bubble {
  justify-self: end;
  max-width: min(620px, 88%);
  background: var(--bubble);
  border-radius: 8px;
}

.bubble p {
  margin: 0;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.message-actions button {
  min-height: 32px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 0.86rem;
}

.message-actions button:hover {
  color: var(--text);
  background: var(--panel);
}

.audio-dock {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto 12px;
  padding: 10px 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--panel) 88%, transparent), color-mix(in srgb, var(--bg) 96%, transparent));
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.audio-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.audio-info strong,
.audio-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-info strong {
  font-size: 0.86rem;
}

.audio-info span {
  color: var(--muted);
  font-size: 0.76rem;
}

.audio-controls {
  display: grid;
  grid-template-columns: auto auto 130px auto;
  gap: 7px;
  align-items: center;
}

.audio-controls button,
a.download {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  color: #ffffff;
  background: var(--dark);
  text-decoration: none;
  font-size: 0.82rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

:root[data-theme="dark"] .audio-controls button,
:root[data-theme="dark"] a.download,
:root[data-theme="dark"] .composer button:not(.tool-button) {
  color: #111111;
}

.audio-controls label {
  color: var(--muted);
  font-size: 0.72rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--dark);
}

.composer {
  position: relative;
  bottom: var(--keyboard-offset);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 10px 0 18px;
  background: #ffffff;
  background: var(--bg);
}

.ad-slot {
  display: none;
  width: min(760px, calc(100% - 36px));
  min-height: 1px;
  margin: 4px auto 0;
}

.contact-dialog {
  width: min(460px, calc(100% - 28px));
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.contact-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.contact-head div {
  display: grid;
  gap: 3px;
}

.contact-head strong {
  font-size: 1rem;
}

.contact-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-head button {
  display: grid;
  width: 34px;
  min-height: 34px;
  place-items: center;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 1.2rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

.contact-card textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-hp {
  position: absolute;
  left: -9999px;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.contact-actions button {
  min-height: 38px;
  padding: 8px 14px;
  color: #ffffff;
  background: var(--dark);
}

.contact-actions button:last-child {
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
}

.composer-field {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 94%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08), 0 0 0 4px transparent;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.composer-field:focus-within {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08), 0 0 0 4px var(--glow);
}

.composer textarea {
  min-height: 88px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.mode-toggle {
  display: inline-flex;
  width: 100%;
  max-width: none;
  padding: 3px;
  background: color-mix(in srgb, var(--panel) 80%, var(--bg));
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.mode-toggle label {
  display: inline-flex;
  flex: 1;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mode-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-toggle span {
  display: inline-flex;
  width: 100%;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
}

.mode-toggle input:checked + span {
  color: var(--text);
  background: var(--bg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.composer-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--line);
}

.composer-options button,
.exact-toggle {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
}

.composer-options button {
  width: 28px;
  min-height: 28px;
  justify-content: center;
  padding: 4px;
}

.composer-options svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.composer-options button:hover {
  color: var(--text);
}

.collapse-composer-button {
  display: none;
  margin-left: auto;
}

.exact-toggle input {
  margin: 0;
}

.composer button {
  width: 42px;
  min-height: 42px;
  color: #ffffff;
  background: var(--dark);
  border-radius: 50%;
  font-size: 1.15rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.loading-dot {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.voice-send-stack {
  display: grid;
  gap: 8px;
  align-items: end;
}

.composer .tool-button {
  color: var(--text);
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 90%, var(--bg)), var(--panel));
  border: 1px solid var(--line);
  touch-action: none;
  user-select: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.composer #voiceBtn {
  position: relative;
  color: #ffffff;
  background: linear-gradient(135deg, #8a53fb 0%, #e184d5 100%);
  border-color: transparent;
  outline: 5px solid rgba(138, 83, 251, 0.14);
  box-shadow: 0 18px 42px rgba(138, 83, 251, 0.30);
}

.mic-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.composer .tool-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, #8a53fb, #e184d5);
  border-color: var(--accent);
  animation: micPulse 900ms ease-in-out infinite alternate;
}

@keyframes micPulse {
  from {
    box-shadow: 0 18px 42px rgba(138, 83, 251, 0.30);
  }

  to {
    box-shadow: 0 22px 56px rgba(225, 132, 213, 0.42);
  }
}

.composer .mobile-type-button {
  display: none;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  width: min(420px, calc(100% - 32px));
  padding: 13px 15px;
  color: #ffffff;
  background: var(--dark);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .prompt-accordion {
    padding: 8px 12px;
  }

  .prompt-accordion summary {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 10px;
    color: var(--muted);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 750;
    list-style: none;
  }

  .prompt-accordion summary::-webkit-details-marker {
    display: none;
  }

  .prompt-accordion summary::after {
    content: "⌄";
    margin-left: 7px;
  }

  .prompt-accordion:not([open]) .quick-prompts {
    display: none;
  }

  .prompt-accordion .quick-prompts {
    padding-top: 8px;
  }

  .settings-bar,
  .composer {
    grid-template-columns: 1fr;
  }

  .settings-bar {
    position: fixed;
    top: 58px;
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr;
    width: auto;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.18);
  }

  .composer {
    grid-template-columns: minmax(0, 1fr) 76px;
    position: relative;
    bottom: auto;
    background: transparent;
    padding: 4px 0 max(16px, env(safe-area-inset-bottom));
  }

  .composer .mobile-type-button {
    display: grid;
    width: 54px;
    min-height: 54px;
    place-items: center;
    color: var(--text);
    background: var(--panel);
    border: 1px solid var(--line);
    font-size: 0.86rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .composer.composer-collapsed {
    grid-template-columns: 44px 44px 78px 44px;
    align-items: center;
    justify-content: center;
    width: min(260px, calc(100% - 12px));
    gap: 8px;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .composer.composer-collapsed .composer-field {
    display: none;
  }

  .composer.composer-collapsed .voice-send-stack {
    display: contents;
  }

  .composer.composer-expanded .mobile-type-button {
    display: none;
  }

  .composer.composer-collapsed .mobile-type-button {
    grid-column: 1;
    align-self: center;
    justify-self: center;
    width: 44px;
    min-height: 44px;
  }

  .composer.composer-collapsed #voiceBtn {
    grid-column: 3;
    align-self: center;
    justify-self: center;
  }

  .composer.composer-collapsed #sendBtn {
    grid-column: 4;
    align-self: center;
    justify-self: center;
  }

  .composer.composer-collapsed #cameraBtn {
    display: grid;
    grid-column: 2;
    align-self: center;
    justify-self: center;
    width: 44px;
    min-height: 44px;
    place-items: center;
    padding: 0;
    color: #ffffff;
    background: var(--dark);
    border-color: transparent;
    line-height: 1;
  }

  .composer.composer-collapsed #cameraBtn svg {
    display: block;
    width: 19px;
    height: 19px;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .collapse-composer-button {
    display: inline-flex;
  }

  #voiceBtn {
    width: 66px;
    min-height: 66px;
    color: #ffffff;
    background: linear-gradient(135deg, #8a53fb, #e184d5);
    border-color: transparent;
    outline: 7px solid rgba(138, 83, 251, 0.14);
    box-shadow: 0 18px 44px rgba(138, 83, 251, 0.34);
  }

  #voiceBtn .mic-icon {
    width: 30px;
    height: 30px;
    stroke-width: 2.2;
  }

  .composer.composer-collapsed #voiceBtn {
    width: 78px;
    min-height: 78px;
  }

  .composer.composer-collapsed #sendBtn {
    width: 44px;
    min-height: 44px;
  }

  .audio-dock {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(420px, calc(100% - 16px));
    min-height: 34px;
    margin-bottom: 4px;
    padding: 4px 6px 4px 10px;
    gap: 6px;
  }

  .audio-info span {
    display: none;
  }

  .audio-info strong {
    font-size: 0.76rem;
  }

  .audio-controls {
    display: flex;
    gap: 4px;
  }

  .audio-controls label,
  a.download {
    display: none;
  }

  .audio-controls button {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 760px) {
  .settings-menu[open] .settings-bar {
    position: fixed !important;
    top: 58px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 76px) !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    transform: none !important;
    border-radius: 10px !important;
  }

  #clearChatBtn.icon-only-button,
  #clearChatBtn {
    display: inline-grid !important;
    width: 36px !important;
    min-width: 36px !important;
    min-height: 34px !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
  }

  #clearChatBtn svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .status-pill {
    max-width: 82px !important;
    min-height: 24px !important;
    padding: 3px 4px !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0.62rem !important;
  }
}

@media (max-width: 520px) {
  .settings-bar {
    gap: 8px;
    padding: 10px 12px;
  }

  .quick-prompts {
    padding: 10px 12px;
  }

  .messages {
    padding: 22px 12px 18px;
  }

  .message {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .avatar {
    width: 30px;
    height: 30px;
  }

  .composer {
    width: calc(100% - 24px);
  }

  .audio-dock {
    width: min(390px, calc(100% - 14px));
  }

  .composer {
    gap: 7px;
  }

  .composer button {
    width: 36px;
    min-height: 36px;
  }

  #voiceBtn {
    width: 64px;
    min-height: 64px;
  }

  .composer.composer-collapsed #voiceBtn {
    width: 76px;
    min-height: 76px;
  }

  .voice-send-stack {
    justify-items: center;
  }

  #sendBtn {
    width: 44px;
    min-height: 44px;
  }

  .mode-toggle span {
    padding: 4px 6px;
    font-size: 0.76rem;
  }

  .composer-options {
    gap: 5px;
  }
}
