pre {
  padding: 12px;
  border-radius: 10px;
  overflow: auto;
  background: #0b1020;
  color: #e6edf3;
  border: 1px solid rgba(255,255,255,0.08);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
}

.badge-verified {
  background: #198754;
  color: #fff;
}

.solution-summary {
  color: #6c757d;
}

.hero { background: linear-gradient(180deg, rgba(13,110,253,0.06), rgba(25,135,84,0.04)); }

.card { border-radius: 14px; }

/* --- Executable Solution UI polish (detail pages) --- */

.es-page-header {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.es-card {
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.06);
}

.es-sticky {
  position: sticky;
  top: 1rem;
}

.es-section-label {
  font-size: .8rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}

/* Paywall module */
.es-paywall {
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: .75rem;
  padding: 1rem;
}

.es-paywall-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .65rem;
  background: rgba(255,193,7,.15);
  color: #856404;
  font-size: 1.1rem;
}

/* Prose improvements for rendered markdown HTML */
.es-prose {
  line-height: 1.65;
}

.es-prose h1, .es-prose h2, .es-prose h3 {
  margin-top: 1.25rem;
  margin-bottom: .75rem;
}

.es-prose h2 {
  font-size: 1.25rem;
}

.es-prose h3 {
  font-size: 1.1rem;
}

.es-prose p {
  margin-bottom: .85rem;
}

.es-prose ul, .es-prose ol {
  margin-bottom: 1rem;
}

.es-prose pre {
  padding: 1rem;
  border-radius: .75rem;
  border: 1px solid rgba(0,0,0,.10);
  background: #0d1117; /* aligns with highlightjs github-dark */
  overflow: auto;
}

/* Evidence thumbnails */
.es-evidence-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Truncate to 2 lines */
.es-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.es-modal-img { max-height: 80vh; width: 100%; object-fit: contain; }

