:root {
  color-scheme: light;
}

html.dark {
  color-scheme: light;
}

html.dark body {
  background: #f7f7f5;
  color: #111111;
}

/* Header styling */
#header {
  background: #0b0b0b;
  color: #ffffff;
  border-bottom: 3px solid #c79200;
}

#header * {
  color: inherit;
}

#header .tu-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  text-decoration: none;
}

#header .tu-logo img {
  height: 32px;
  width: auto;
  display: block;
}

#header .cook-logo {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  text-decoration: none;
}

#header .cook-logo img {
  height: 32px;
  width: auto;
  display: block;
}

#header button {
  color: #ffffff;
}

#header button:hover {
  background: rgba(199, 146, 0, 0.16);
}

/* Remove theme/readme controls */
#readme-button,
#theme-toggle {
  display: none !important;
}

#new-chat-button {
  display: none !important;
}

.watermark .text-xs {
  display: none !important;
}

#upload-button {
  display: none !important;
}

.watermark {
  pointer-events: none !important;
  cursor: default !important;
}

/* Chat links: black text with gold underline */
.message-content a,
.prose a,
main a {
  color: #111111 !important;
  text-decoration: underline !important;
  text-decoration-color: #c79200 !important;
  text-underline-offset: 2px;
}

/* Submit button (Towson gold) */
#chat-submit {
  background: #c79200 !important;
  color: #0b0b0b !important;
  border: 1px solid #a77700 !important;
}

#chat-submit[data-state],
#chat-submit[aria-label*="Stop"],
#chat-submit[aria-label*="Cancel"],
button[data-testid="stop-button"] {
  background: #c79200 !important;
  color: #0b0b0b !important;
  border: 1px solid #a77700 !important;
}

#chat-submit:hover {
  background: #b78500 !important;
}

#chat-submit:disabled {
  background: #e2c16a !important;
  color: #3a2a00 !important;
}

/* Force primary token colors (overrides Tailwind utility classes) */
.bg-primary {
  background: #c79200 !important;
}

.text-primary-foreground {
  color: #0b0b0b !important;
}
