/* Remove the 2-column grid on the login page so the form is centered */
.grid.min-h-svh.lg\:grid-cols-2 {
  grid-template-columns: 1fr !important;
}

/* Hide the image panel on the right side of the login page */
.grid.min-h-svh .relative.bg-muted {
  display: none !important;
}

/* Fix double line-break in list items: whitespace-pre-wrap preserves the literal \n after <br>, creating a double gap */
.prose li > div[role="article"] {
  white-space: normal !important;
  overflow-wrap: break-word;
}

/* Constrain the readme dialog so it doesn't cover the full screen */
[role="dialog"].h-screen.w-screen {
  height: 80vh !important;
  width: min(720px, 90vw) !important;
  max-height: 80vh !important;
  max-width: min(720px, 90vw) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}