.watermark {
    display: none !important;
  }

#readme-button {
  display: none;
}

/* Hide favicon in the login page */
/* 
img[src*="favicon"] {
  display: none !important;
}  */


/* Hide right empty pane in the login page */
div.relative.hidden.bg-muted.lg\:block {
  display: none !important;
}

/* Center login form when right pane is hidden */
.grid.min-h-svh {
  display: flex !important;
  justify-content: center !important;
}

.grid.min-h-svh > .flex.flex-col {
  width: 100% !important;
  max-width: 480px !important;
  align-items: center !important;
}

/* Login title styling */
.grid.min-h-svh h1.text-2xl {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  letter-spacing: 0.02em !important;
}

/* Login button styling */
.grid.min-h-svh form button {
  border-radius: 8px !important;
  font-weight: 500 !important;
  transition: box-shadow 0.2s ease !important;
}

.grid.min-h-svh form button:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.version-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  z-index: 20;
  background: transparent;
  border: none;
  pointer-events: none;
}

.version-footer-text {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #b7bfcb;
}

.version-label {
  color: #adb6c2;
}

.version-divider {
  display: inline-block;
  width: 1px;
  height: 11px;
  margin: 0 10px -1px;
  background-color: #d9dfe7;
}

@media (max-width: 640px) {
  .version-footer-text {
    font-size: 11px;
  }
}

/* Response time statistics — subtle styling */
.markdown-body em:last-child,
.message-content em:last-child,
[class*="message"] em:last-child {
  color: #c0c7d0 !important;
  font-size: 0.7rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
}
/* DSC RAG Triad blue cards */
.rag-triad-heading { margin: 1rem 0; font-size: 1rem; font-weight: 600; }
.wella-groundedness {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  border-radius: 14px;
  background: linear-gradient(110deg, #f5faff, #ffffff);
  color: #172554;
  max-width: 48rem;
  min-width: 0;
  line-height: 1.55;
}
.wella-groundedness-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #1d4ed8;
}
.wella-groundedness-heading h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.wella-groundedness-heading span {
  background: #dbeafe;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.wella-groundedness-provider { margin: .4rem 0 0; font-size: .85rem; color: #475569; }
.rag-triad-description, .rag-triad-normalized { margin: 0; font-size: .85rem; }
.wella-groundedness summary { color: #1d4ed8; cursor: pointer; }
.wella-groundedness summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wella-groundedness progress {
  display: block;
  width: 10rem;
  max-width: 100%;
  height: .85rem;
  margin: .2rem 0 .4rem;
  accent-color: #008000;
}
.wella-groundedness progress::-webkit-progress-value { background: #008000; }
.wella-groundedness progress::-moz-progress-bar { background: #008000; }
.rag-triad-note { font-size: .85rem; }
.rag-triad-reason { white-space: pre-wrap; overflow-wrap: anywhere; }
.dark .wella-groundedness { background: #172554; color: #eff6ff; border-color: #60a5fa; }
.dark .wella-groundedness-heading, .dark .wella-groundedness summary { color: #bfdbfe; }
.dark .wella-groundedness-heading span { background: #1e3a8a; }
.dark .wella-groundedness-provider { color: #cbd5e1; }