:root {
  --bg: #1b1b1d;
  --bg-deep: #151516;
  --side: #171718;
  --side-hover: #222224;
  --surface: #242426;
  --surface-2: #2d2d30;
  --surface-3: #343438;
  --text: #f3f3f1;
  --text-soft: #d6d2ca;
  --muted: #9a9994;
  --muted-2: #696864;
  --accent: #a8c7d9;
  --accent-2: #73a0bc;
  --accent-fg: #10161a;
  --ok: #8aa28c;
  --danger: #d28a7f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  --field: #202022;
  --composer: #252527;
  --send-fg: #141414;
  --status-ok: #abc7ad;
  --focus: rgba(168, 199, 217, 0.5);
  --backdrop: rgba(0, 0, 0, 0.5);
  --sans: Inter, "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

html[data-theme="light"] {
  --bg: #f6f6f2;
  --bg-deep: #ecebe5;
  --side: #f1f0ea;
  --side-hover: #e5e3db;
  --surface: #ffffff;
  --surface-2: #e9e8e1;
  --surface-3: #dedcd3;
  --text: #1f2325;
  --text-soft: #36383a;
  --muted: #6f7274;
  --muted-2: #8c8d8d;
  --accent: #276f8f;
  --accent-2: #155b78;
  --accent-fg: #f7fbff;
  --ok: #477b55;
  --danger: #b24b42;
  --line: rgba(21, 24, 26, 0.1);
  --line-strong: rgba(21, 24, 26, 0.18);
  --shadow: 0 18px 44px rgba(39, 42, 44, 0.14);
  --field: #ffffff;
  --composer: #ffffff;
  --send-fg: #ffffff;
  --status-ok: #477b55;
  --focus: rgba(39, 111, 143, 0.4);
  --backdrop: rgba(20, 20, 18, 0.32);
}

* {
  box-sizing: border-box;
}

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

html {
  background: var(--bg);
  transition: background 160ms ease, color 160ms ease;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  transition: background 160ms ease, color 160ms ease;
}

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

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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

.hh-app {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  background: var(--bg);
  isolation: isolate;
}

.hh-backdrop {
  display: none;
}

.hh-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: var(--side);
  border-right: 1px solid var(--line);
  z-index: 20;
}

.hh-sidebar-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
}

.hh-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px;
  border-radius: 8px;
}

.hh-brand:hover {
  background: var(--side-hover);
}

.hh-mark,
.hh-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--serif);
  font-weight: 700;
}

.hh-mark {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.hh-brand strong {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 450;
  line-height: 1;
}

.hh-brand strong span,
.hh-welcome em {
  color: var(--accent);
}

.hh-brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.1;
}

.hh-icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transition: background 140ms ease, color 140ms ease;
}

.hh-icon-button:hover {
  background: var(--side-hover);
  color: var(--text);
}

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

.hh-new-chat {
  min-height: 42px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 8px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  transition: background 140ms ease, color 140ms ease;
}

.hh-new-chat:hover {
  background: var(--surface-2);
}

.hh-new-chat svg {
  width: 17px;
  height: 17px;
}

.hh-search {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--muted);
}

.hh-search svg {
  width: 15px;
  height: 15px;
}

.hh-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.hh-search input::placeholder,
.hh-composer textarea::placeholder {
  color: var(--muted);
}

.hh-conversations {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 8px 4px 8px 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.hh-conversations::-webkit-scrollbar,
.hh-settings-panel::-webkit-scrollbar {
  width: 10px;
}

.hh-conversations::-webkit-scrollbar-track,
.hh-settings-panel::-webkit-scrollbar-track {
  background: transparent;
}

.hh-conversations::-webkit-scrollbar-thumb,
.hh-settings-panel::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  background-color: rgba(140, 142, 137, 0.48);
}

.hh-conversations::-webkit-scrollbar-thumb:hover,
.hh-settings-panel::-webkit-scrollbar-thumb:hover {
  background-color: rgba(168, 199, 217, 0.62);
}

.hh-conversation-group {
  padding: 14px 8px 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hh-conversation,
.hh-empty-list {
  width: 100%;
  border-radius: 8px;
  color: var(--text-soft);
  text-align: left;
}

.hh-conversation {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  background: transparent;
}

.hh-conversation:hover {
  background: var(--side-hover);
}

.hh-conversation.is-active {
  background: var(--surface);
  color: var(--text);
}

.hh-conversation strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 560;
}

.hh-conversation small {
  color: var(--muted-2);
  font-size: 11px;
}

.hh-empty-list {
  margin: 8px 0 0;
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hh-sidebar-footer {
  position: relative;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}

.hh-settings-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 76px;
  z-index: 35;
  display: grid;
  gap: 10px;
  max-height: min(74vh, 640px);
  overflow: auto;
  scrollbar-gutter: stable;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
}

.hh-settings-panel[hidden] {
  display: none;
}

.hh-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 2px;
}

.hh-settings-head strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.hh-settings-head a,
.hh-settings-actions button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.hh-settings-head a:hover,
.hh-settings-actions button:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.hh-setting-row,
.hh-setting-field {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--text);
  text-align: left;
}

.hh-setting-row:hover {
  border-color: var(--line-strong);
}

.hh-setting-row strong,
.hh-setting-field span {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 680;
}

.hh-setting-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.hh-setting-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.hh-setting-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.hh-setting-field select {
  height: 32px;
  max-width: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: var(--surface);
  color: var(--text-soft);
  padding: 0 8px;
  font-size: 12px;
}

.hh-profile-editor {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--field) 72%, transparent);
}

.hh-profile-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.hh-profile-top strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.hh-profile-top small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.hh-profile-avatar {
  width: 42px;
  height: 42px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 760;
  background-size: cover;
  background-position: center;
}

.hh-profile-avatar:hover {
  border-color: var(--accent);
}

.hh-profile-avatar.has-image span,
.hh-avatar.has-image {
  color: transparent;
  text-shadow: none;
}

.hh-profile-field {
  align-items: start;
}

.hh-profile-field input,
.hh-profile-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: var(--surface);
  color: var(--text-soft);
  padding: 8px;
  font: inherit;
  font-size: 12px;
}

.hh-profile-field textarea {
  resize: vertical;
  min-height: 54px;
  line-height: 1.35;
}

.hh-profile-bio {
  grid-template-columns: 1fr;
}

.hh-switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  transition: background 160ms ease, border-color 160ms ease;
}

.hh-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 160ms ease, background 160ms ease;
}

.hh-switch.is-on {
  background: var(--accent);
  border-color: transparent;
}

.hh-switch.is-on::after {
  transform: translateX(18px);
  background: var(--accent-fg);
}

.hh-settings-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hh-avatar {
  width: 32px;
  height: 32px;
  font-size: 11px;
}

.hh-sidebar-footer strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.hh-sidebar-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.hh-sidebar-footer i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ok);
}

.hh-chat {
  min-width: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr) auto;
  background: var(--bg);
  transition: background 160ms ease;
}

.hh-topbar {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.hh-title-wrap {
  min-width: 0;
}

.hh-topbar h1 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 15px;
  font-weight: 640;
  line-height: 1.25;
}

.hh-topbar span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

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

.hh-status {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(138, 162, 140, 0.35);
  border-radius: 999px;
  background: rgba(138, 162, 140, 0.12);
  color: var(--status-ok);
  font-family: var(--mono);
  font-size: 10px;
}

.hh-status[data-state="busy"] {
  border-color: rgba(168, 199, 217, 0.38);
  background: rgba(168, 199, 217, 0.12);
  color: var(--accent);
}

.hh-status[data-state="error"] {
  border-color: rgba(210, 138, 127, 0.38);
  background: rgba(210, 138, 127, 0.12);
  color: var(--danger);
}

.hh-stage {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.hh-welcome {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: min(760px, calc(100% - 48px));
  padding: 26px 0 34px;
  color: var(--text);
  text-align: center;
}

.hh-welcome.is-hidden {
  display: none;
}

.hh-ready {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.hh-ready span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: 1px;
}

.hh-welcome h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 330;
  line-height: 1.04;
}

.hh-welcome p {
  max-width: 480px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hh-starters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.hh-starters button {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--text);
  text-align: left;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.hh-starters button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--surface);
}

.hh-starters span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.hh-starters button {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
}

.hh-starters small {
  margin-top: auto;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
}

.hh-messages {
  grid-area: 1 / 1;
  min-height: 0;
  overflow: auto;
  padding: 30px 24px 18px;
  scroll-behavior: smooth;
}

.hh-message {
  width: min(760px, 100%);
  display: flex;
  margin: 0 auto 26px;
}

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

.hh-message.is-assistant {
  justify-content: flex-start;
}

.hh-bubble {
  max-width: 100%;
  color: var(--text-soft);
}

.is-user .hh-bubble {
  max-width: min(620px, 86%);
  padding: 12px 15px;
  border-radius: 18px;
  background: var(--surface-2);
  color: var(--text);
}

.is-assistant .hh-bubble {
  width: 100%;
}

.hh-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.is-user .hh-message-meta {
  display: none;
}

.hh-message-meta strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.hh-message-meta span {
  font-family: var(--mono);
  font-size: 10px;
}

.hh-answer {
  color: inherit;
  font-size: 15.5px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.hh-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: rgba(168, 199, 217, 0.08);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.hh-actions {
  display: flex;
  gap: 8px;
  margin-top: 13px;
  flex-wrap: wrap;
}

.hh-copy,
.hh-source-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.hh-copy:hover,
.hh-source-link:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.hh-citations {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.hh-citation {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}

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

.hh-citation strong {
  color: var(--text);
  font-size: 13px;
}

.hh-source-kind {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
}

.hh-citation p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.hh-composer {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 24px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--composer);
  box-shadow: var(--shadow);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hh-composer textarea {
  width: 100%;
  min-height: 42px;
  max-height: 190px;
  resize: none;
  display: block;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 4px 4px 8px;
  font-size: 16px;
  line-height: 1.55;
}

.hh-composer-bar {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hh-mode select {
  height: 32px;
  max-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: var(--field);
  color: var(--text-soft);
  padding: 0 9px;
  font-size: 12px;
}

.hh-mode select:focus,
.hh-search:focus-within,
.hh-composer:focus-within {
  border-color: var(--focus);
}

.hh-error {
  min-width: 0;
  flex: 1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--danger);
  font-size: 13px;
}

.hh-tool,
.hh-send {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
}

.hh-tool {
  gap: 7px;
  padding: 0 11px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.hh-tool:hover {
  background: var(--surface);
  color: var(--text);
}

.hh-tool svg {
  width: 15px;
  height: 15px;
}

.hh-send {
  width: 34px;
  background: var(--text);
  color: var(--send-fg);
}

.hh-send:hover {
  background: var(--accent);
}

.hh-send:disabled {
  opacity: 0.45;
}

.hh-send svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.hh-hint {
  margin: 8px 4px 0;
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .hh-app {
    height: 100dvh;
    grid-template-columns: 1fr;
  }

  .hh-backdrop {
    position: fixed;
    inset: 0;
    z-index: 18;
    display: block;
    background: var(--backdrop);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease;
  }

  body.is-sidebar-open .hh-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .hh-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, calc(100vw - 48px));
    height: 100dvh;
    transform: translateX(-102%);
    transition: transform 180ms ease;
    box-shadow: 18px 0 44px rgba(0, 0, 0, 0.34);
  }

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

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

  .hh-chat {
    height: 100dvh;
    min-height: 100vh;
  }

  .hh-topbar {
    padding: 0 12px;
  }

  .hh-top-actions .hh-status {
    display: none;
  }

  .hh-welcome {
    width: min(640px, calc(100% - 32px));
  }

  .hh-welcome h2 {
    font-size: 42px;
  }

  .hh-starters {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .hh-topbar {
    min-height: 54px;
  }

  .hh-topbar span {
    display: none;
  }

  .hh-welcome {
    align-self: start;
    padding-top: 48px;
  }

  .hh-welcome h2 {
    font-size: 34px;
  }

  .hh-welcome p {
    font-size: 14px;
  }

  .hh-starters {
    margin-top: 28px;
  }

  .hh-messages {
    padding: 22px 14px 12px;
  }

  .hh-message {
    margin-bottom: 22px;
  }

  .is-user .hh-bubble {
    max-width: 92%;
  }

  .hh-composer {
    width: calc(100% - 20px);
    margin-bottom: 10px;
    border-radius: 20px;
  }

  .hh-mode select {
    max-width: 118px;
  }

  .hh-tool span,
  .hh-hint {
    display: none;
  }
}
