:root {
  color-scheme: light;
  --page: #f9fafb;
  --text: #202123;
  --muted: #6f7280;
  --footer: #6b7280;
  --green: #087f63;
  --green-hover: #06664f;
  --border: #d9d9e3;
  --danger: #b42318;
}

@font-face {
  font-family: "Sohne";
  src: url("https://cdn.openai.com/common/fonts/soehne/soehne-buch.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("https://cdn.openai.com/common/fonts/soehne/soehne-halbfett.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}


* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Sohne", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.gate-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gate-main {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.gate-panel {
  width: 24rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-mark {
  width: 41px;
  height: 41px;
  margin: 0 auto 20px;
  display: block;
  color: #111;
  object-fit: contain;
}

.gate-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.gate-copy {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.button-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
}

.primary-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  cursor: default;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease;
}

.primary-button:hover {
  background: var(--green-hover);
}

.primary-button:active {
  transform: translateY(1px);
}

.gate-footer {
  padding: 12px 24px;
  color: var(--footer);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  text-align: center;
}

.gate-footer a {
  text-decoration: none;
}

.gate-footer a:hover {
  text-decoration: underline;
}

.footer-separator {
  display: inline-block;
  color: #4b5563;
}

.gate-footer a {
  margin: 0 12px;
}

.auth-card {
  width: min(100%, 360px);
  margin: 0 auto;
  text-align: left;
}

.auth-card .brand-mark {
  margin-bottom: 25px;
}

.auth-heading {
  margin: 0 0 24px;
  text-align: center;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
}

.field {
  margin-bottom: 13px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #4a4c56;
  font-size: 14px;
  font-weight: 500;
}

.input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 0 13px;
  outline: none;
}

.input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.auth-button {
  width: 100%;
  margin-top: 8px;
}

.switch-copy,
.message {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.switch-copy a {
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
}

.switch-copy a:hover {
  text-decoration: underline;
}

.message {
  padding: 10px 12px;
  border-radius: 5px;
  background: #fff;
}

.message.error {
  color: var(--danger);
  border: 1px solid #f5c2c0;
}

@media (max-width: 520px) {
  .gate-main {
    padding: 0 20px;
  }
}

.chat-app-page {
  min-height: 100vh;
  overflow: hidden;
  background: #343541;
  color: #ececf1;
  font-weight: 300;
}

.chat-app-page a {
  text-decoration: none;
}

.chat-shell {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  background: #343541;
}

.chat-sidebar {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #202123;
  padding: 7px;
  color: #fff;
}

.sidebar-top {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}

.new-chat-button,
.conversation-row,
.sidebar-action {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.new-chat-button {
  height: 46px;
  gap: 13px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: transparent;
}

.new-chat-button svg,
.conversation-link svg,
.conversation-tool svg,
.sidebar-action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.conversation-row {
  height: 44px;
  gap: 8px;
  margin-top: 13px;
  padding: 0 7px 0 13px;
  border-radius: 6px;
}

.conversation-row.active {
  background: rgba(255, 255, 255, 0.08);
}

.conversation-link {
  width: 16px;
  height: 44px;
  display: flex;
  align-items: center;
  flex: 0 0 16px;
}

.rename-form {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.conversation-title-input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font: inherit;
  line-height: 20px;
  padding: 3px 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.conversation-title-input:not([readonly]) {
  background: #343541;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
  padding: 3px 6px;
  cursor: text;
}

.conversation-title-input[readonly],
.conversation-title-input[readonly]:hover {
  cursor: default;
}

.delete-form {
  flex: 0 0 auto;
}

.conversation-tool {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #c5c5d2;
  cursor: pointer;
  opacity: 1;
  padding: 0;
}

.conversation-row:hover .conversation-tool,
.conversation-row.active .conversation-tool,
.rename-form.is-editing .conversation-tool {
  opacity: 1;
}

.conversation-tool:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.delete-title:hover {
  color: #fca5a5;
}

.conversation-title-input,
.sidebar-action span:not(.new-pill) {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sidebar-bottom {
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sidebar-action {
  position: relative;
  height: 48px;
  gap: 13px;
  padding: 0 13px;
  border-radius: 6px;
}

.new-chat-button:hover,
.conversation-row:hover,
.sidebar-action:hover {
  background: rgba(255, 255, 255, 0.08);
}

.new-pill {
  margin-left: auto;
  border-radius: 6px;
  background: #fae69e;
  color: #111827;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  padding: 0 7px;
}

.mobile-bar {
  display: none;
}

.chat-main {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #343541;
}

.chat-error {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: min(calc(100% - 48px), 760px);
  transform: translateX(-50%);
  border: 1px solid rgba(248, 113, 113, 0.55);
  border-radius: 6px;
  background: rgba(127, 29, 29, 0.45);
  color: #fee2e2;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 36px 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.chat-error-text {
  flex: 1;
  min-width: 0;
}

.chat-error-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fca5a5;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.chat-error-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fee2e2;
}

.chat-thread {
  width: 100%;
  min-height: 0;
  flex: 1 1 0;
  overflow-y: auto;
  padding: 26px 0 36px;
}

.message-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 720px);
  justify-content: center;
  gap: 18px;
  padding: 24px 24px;
  color: #ececf1;
}

.message-row.assistant {
  background: #444654;
}

.message-row.assistant.is-pending {
  min-height: 78px;
}

.message-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: #10a37f;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.message-row.user .message-avatar {
  background: #5436da;
}

.message-avatar img {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

.message-content {
  min-width: 0;
  color: #ececf1;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
  overflow-wrap: anywhere;
  white-space: normal;
}

.answer-text {
  white-space: pre-wrap;
}

.song-progress {
  width: 100%;
  margin: 0 0 12px;
  padding: 8px 0;
}

.song-progress-bar {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 6px;
}

.song-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--green);
  transition: width 0.5s ease;
  min-width: 0;
}

.song-progress-indeterminate {
  animation: progress-indeterminate 1.8s ease-in-out infinite;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 30%, rgba(16, 163, 127, 0.3) 50%, var(--green) 70%, var(--green) 100%);
  background-size: 200% 100%;
}

@keyframes progress-indeterminate {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.song-progress-label {
  font-size: 12px;
  line-height: 16px;
  color: #acacbe;
  font-weight: 300;
}

.tool-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 20px;
  color: #acacbe;
  font-weight: 300;
  padding: 6px 0;
  margin-bottom: 8px;
}

.tool-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: #acacbe;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audio-player {
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  margin: 8px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-player .song-audio {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
}

.message-media:empty { display: none; }
.song-status { flex: 1 0 100%; min-width: 0; font-size: 13px; opacity: 0.8; overflow-wrap: anywhere; }
.song-play { border: 1px solid currentColor; border-radius: 6px; padding: 7px 12px; background: transparent; color: inherit; font: inherit; }
.song-audio:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }

.song-download {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #acacbe;
  transition: background 140ms ease, color 140ms ease;
}

.song-download:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ececf1;
}

.attached-file {
  margin-top: 8px;
}

.attached-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(16, 163, 127, 0.12);
  color: var(--green);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: background 140ms ease;
}

.attached-file-link:hover {
  background: rgba(16, 163, 127, 0.2);
}

.attached-file-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.song-download svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.song-audio {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  outline: none;
}

.song-audio::-webkit-media-controls-panel {
  background: #40414f;
}

.song-audio::-webkit-media-controls-current-time-display,
.song-audio::-webkit-media-controls-time-remaining-display,
.song-audio::-webkit-media-controls-play-button {
  color: #ececf1;
}

.answer-text p {
  margin: 0 0 14px;
}

.answer-text p:last-child,
.answer-text ul:last-child,
.answer-text pre:last-child,
.answer-text h2:last-child,
.answer-text h3:last-child,
.answer-text hr:last-child {
  margin-bottom: 0;
}

.answer-text h2 {
  margin: 22px 0 10px;
  color: #f7f7f8;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.answer-text h3 {
  margin: 18px 0 8px;
  color: #f7f7f8;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.answer-text hr {
  height: 1px;
  margin: 20px 0;
  border: 0;
  background: rgba(197, 197, 210, 0.18);
}

.answer-text strong {
  font-weight: 600;
}

.answer-text em {
  font-style: italic;
}

.answer-text a {
  color: #c5c5d2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.answer-text ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.answer-text li {
  margin: 4px 0;
}

.answer-text code {
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  padding: 2px 5px;
}

.answer-text pre {
  position: relative;
  margin: 0 0 14px;
  overflow: auto;
  border-radius: 6px;
  background: #202123;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 12px;
  white-space: pre;
}

.answer-text pre code {
  display: block;
  background: transparent;
  padding: 0;
}

.thinking-panel {
  width: 100%;
  margin: 0 0 12px;
  border-left: 0;
  color: #acacbe;
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
  padding: 2px 0 2px 12px;
}

.thinking-panel[open] {
  border-left: 2px solid rgba(197, 197, 210, 0.24);
}

.thinking-panel summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  color: #c5c5d2;
  cursor: pointer;
  font-size: 13px;
  line-height: 20px;
  user-select: none;
}

.thinking-panel summary::-webkit-details-marker {
  display: none;
}

.thinking-panel summary::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 120ms ease;
}

.thinking-dots i {
  font-style: normal;
  animation: dotPulse 1.4s infinite;
}
.thinking-dots i:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 60%, 100% { opacity: 0.2; }
  30% { opacity: 1; }
}

.thinking-panel[open] summary::before {
  transform: rotate(45deg);
}

.thinking-text {
  margin-top: 6px;
  white-space: pre-wrap;
  width: 100%;
}

.empty-state {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
}

.empty-state > * {
  width: min(100%, 760px);
  flex-shrink: 0;
}

.empty-state h1 {
  margin: 30px 0 6px;
  color: #f7f7f8;
  font-size: 34px;
  line-height: 40px;
  font-weight: 450;
  letter-spacing: -0.01em;
}

.prompt-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 70px;
}

.prompt-column {
  min-width: 0;
}

.column-icon {
  height: 26px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ececf1;
}

.column-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prompt-column h2 {
  margin: 0 0 16px;
  color: #f7f7f8;
  font-size: 18px;
  line-height: 24px;
  font-weight: 300;
}

.prompt-card {
  width: 100%;
  min-height: 64px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: #3e3f4b;
  box-shadow: 0 0 0 1px rgba(32, 33, 35, 0.04);
  color: #f7f7f8;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  text-align: center;
  padding: 11px 13px;
}

button.prompt-card {
  cursor: pointer;
}

button.prompt-card:hover {
  background: #444654;
}

.composer {
  position: relative;
  flex: 0 0 auto;
  width: min(calc(100% - 48px), 768px);
  margin: 12px auto 0;
}

.composer textarea {
  width: 100%;
  height: 49px;
  border: 0;
  border-radius: 5px;
  outline: none;
  background: #40414f;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  color: #ececf1;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  padding: 12px 44px 12px 44px;
  resize: none;
  overflow-y: auto;
}

.composer.is-streaming textarea {
  opacity: 0.72;
}

.composer button[type="submit"] {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8e8ea0;
  cursor: pointer;
}

.composer button[type="submit"]:hover {
  background: rgba(255, 255, 255, 0.08);
}

.composer button[type="submit"]:disabled {
  cursor: default;
  opacity: 0.5;
}

.attach-btn {
  position: absolute;
  top: 9px;
  left: 8px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8e8ea0;
  cursor: pointer;
  padding: 0;
}

.attach-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ececf1;
}

.attach-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  background: rgba(16, 163, 127, 0.12);
  border-radius: 4px;
  font-size: 12px;
  color: #acacbe;
}

.upload-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.upload-remove {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #acacbe;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.upload-remove:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fca5a5;
}

.composer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.composer .icon-stop {
  display: none;
}

.research-note {
  flex: 0 0 auto;
  width: min(calc(100% - 32px), 800px);
  margin: 10px auto 14px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
  text-align: center;
  white-space: normal;
}

.research-note a {
  color: #9ca3af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.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;
}


[hidden] { display: none !important; }
:where(a, button, textarea, input, summary):focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}
button { cursor: pointer; }
button.sidebar-action {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}
.sidebar-bottom form { margin: 0; }
.conversation-tool { min-width: 28px; min-height: 32px; }
.chat-sidebar-overlay { display: none; }
.composer textarea { min-height: 52px; }
.composer .attach-btn { left: 8px; top: 9px; color: #d1d5db; }
.composer button[type="submit"] { left: auto; right: 8px; top: 9px; color: #ececf1; }
.composer textarea:focus-visible { outline-offset: 2px; }
.upload-remove { min-width: 28px; min-height: 28px; }
.message-content a { text-decoration: underline; text-underline-offset: 3px; }
.message-content pre { max-width: 100%; overflow-x: auto; }
.message-row.is-error { border-left: 3px solid #fca5a5; }
.chat-error { flex-wrap: wrap; background: #591f26; }
.chat-error a { text-decoration: underline; }
.chat-error-close { min-width: 24px; min-height: 24px; }
.thinking-text { white-space: pre-wrap; }
.document-page { min-height: 100%; padding: 32px 20px; }
.document-main { max-width: 760px; margin: 0 auto; line-height: 1.7; }
.document-main h1 { line-height: 1.2; }
.document-main h2 { margin-top: 1.7em; font-size: 1.25rem; }
.document-nav { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0; }
.document-main a { color: #076c55; text-underline-offset: 3px; }
html.light-mode .chat-app-page,
html.light-mode .chat-shell,
html.light-mode .chat-main { background: #f7f7f8; color: #202123; }
html.light-mode .message-row,
html.light-mode .message-content,
html.light-mode .empty-state h1,
html.light-mode .prompt-column h2,
html.light-mode .column-icon { color: #202123; }
html.light-mode .message-row.assistant { background: #e8e8ed; }
html.light-mode .prompt-card { background: #e4e4eb; color: #202123; }
html.light-mode .composer textarea { background: #fff; color: #202123; box-shadow: 0 0 0 1px #9ca3af; }
html.light-mode .composer .attach-btn,
html.light-mode .composer button[type="submit"] { color: #374151; }
html.light-mode .research-note,
html.light-mode .research-note a,
html.light-mode .tool-indicator,
html.light-mode .thinking-panel,
html.light-mode .upload-indicator { color: #4b5563; }
@media (max-width: 1050px) and (min-width: 761px) {
  .chat-shell { grid-template-columns: 240px minmax(0, 1fr); }
  .prompt-columns { gap: 10px; margin-top: 28px; }
  .empty-state { justify-content: flex-start; }
}
@media (max-height: 750px) {
  .empty-state { justify-content: flex-start; }
  .prompt-columns { margin-top: 24px; }
}
