/* Analysis Health — supplemental styles */

/* === Markdown heading hierarchy === */
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: "Montserrat", sans-serif;
}

.prose h1,
.prose h2 {
  font-weight: 600;
}

.prose h3,
.prose h4 {
  font-weight: 500;
}

.prose h5,
.prose h6 {
  font-family: "Lexend", sans-serif;
  font-weight: 500;
}

/* === Starter buttons === */
#starters button {
  border: 1px solid hsl(203.5 65.2% 48.4% / 0.25);
  transition: border-color 0.2s, background-color 0.2s;
}

#starters button:hover {
  border-color: hsl(203.5 65.2% 48.4% / 0.5);
  background-color: hsl(203.5 65.2% 48.4% / 0.05);
}

/* === Login page heading === */
.grid.min-h-svh .text-2xl.font-bold {
  color: hsl(203.5 65.2% 48.4%);
}

/* === Hide login page right-side image panel === */
.grid.min-h-svh > .hidden.lg\:block {
  display: none !important;
}

.grid.min-h-svh {
  grid-template-columns: 1fr !important;
}

/* === Scrollbar tint === */
::-webkit-scrollbar-thumb {
  background-color: hsl(203.5 65.2% 48.4% / 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(203.5 65.2% 48.4% / 0.4);
}

/* === Dark theme variants === */
.dark #starters button {
  border-color: hsl(203.5 65.2% 55% / 0.3);
}

.dark #starters button:hover {
  border-color: hsl(203.5 65.2% 55% / 0.55);
  background-color: hsl(203.5 65.2% 55% / 0.08);
}

.dark .grid.min-h-svh .text-2xl.font-bold {
  color: hsl(203.5 65.2% 55%);
}

.dark ::-webkit-scrollbar-thumb {
  background-color: hsl(203.5 65.2% 55% / 0.3);
}

.dark ::-webkit-scrollbar-thumb:hover {
  background-color: hsl(203.5 65.2% 55% / 0.45);
}

/* === Mobile: make dialog close button reachable & tappable === */
@media (max-width: 768px) {
  [role="dialog"] button.absolute.top-4.right-4 {
    top: 2.75rem !important;
    min-width: 2.75rem !important;
    min-height: 2.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
