body {
  color: #202124;
  font-family: "Noto Sans", sans-serif;
}

a {
  color: #0f766e;
}

a:hover {
  color: #0b5f59;
}

.navbar {
  border-bottom: 1px solid #e5e7eb;
}

.brand-mark {
  color: #202124;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
}

.publication-header .hero-body {
  padding-bottom: 1.5rem;
}

.publication-kicker {
  color: #be123c;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.publication-title {
  font-family: "Google Sans", sans-serif;
  line-height: 1.08;
}

.publication-authors {
  font-family: "Google Sans", sans-serif;
  margin-bottom: 1rem;
}

.publication-authors sup,
.publication-affiliations sup,
.publication-notes sup {
  font-size: 0.72em;
}

.publication-affiliations {
  color: #374151;
  font-family: "Google Sans", sans-serif;
  line-height: 1.55;
  margin-bottom: 0.35rem;
}

.affiliation-block {
  display: inline-block;
  margin: 0 0.45rem;
}

.publication-notes {
  color: #6b7280;
  font-family: "Google Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.publication-notes span {
  display: inline-block;
  margin: 0 0.45rem;
}

.publication-email {
  font-family: "Google Sans", sans-serif;
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
}

.publication-venue {
  color: #4b5563;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.author-block {
  display: inline-block;
}

.publication-links {
  margin-top: 0.75rem;
}

.link-block a {
  margin: 0.25rem;
}

.hero-summary {
  color: #4b5563;
  font-size: 1.14rem;
  line-height: 1.65;
  margin: 1.1rem auto 0;
  max-width: 760px;
}

.teaser {
  font-family: "Google Sans", sans-serif;
}

.teaser .hero-body {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.figure-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  padding: 1rem;
}

.figure-panel img,
.figure-panel video {
  display: block;
  height: auto;
  width: 100%;
}

.placeholder-panel {
  min-height: 220px;
}

.placeholder-visual {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    #f8fafc;
  background-size: 22px 22px;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  color: #475569;
  display: flex;
  font-family: "Google Sans", sans-serif;
  justify-content: center;
  min-height: 220px;
  padding: 1.5rem;
  text-align: center;
}

.method-section {
  background: #f8fafc;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.feature-card,
.result-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.1rem;
}

.feature-card .title,
.result-card .title {
  margin-bottom: 0.55rem;
}

.feature-card p,
.result-card p {
  color: #4b5563;
  line-height: 1.55;
}

.feature-icon {
  align-items: center;
  background: #e0f2f1;
  border-radius: 8px;
  color: #0f766e;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  margin-bottom: 0.9rem;
  width: 2.5rem;
}

.feature-icon.accent-amber {
  background: #fef3c7;
  color: #b45309;
}

.feature-icon.accent-rose {
  background: #ffe4e6;
  color: #be123c;
}

.timeline {
  border-left: 2px solid #d1d5db;
  margin: 1.5rem auto 0;
  max-width: 820px;
  padding-left: 1.25rem;
}

.timeline-step {
  display: grid;
  gap: 1rem;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  margin-bottom: 1.1rem;
  position: relative;
}

.timeline-step::before {
  background: #0f766e;
  border: 3px solid #ffffff;
  border-radius: 999px;
  content: "";
  height: 0.9rem;
  left: -1.77rem;
  position: absolute;
  top: 0.45rem;
  width: 0.9rem;
}

.step-index {
  align-items: center;
  background: #111827;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  height: 2.2rem;
  justify-content: center;
  width: 3.1rem;
}

.timeline-step .title {
  margin-bottom: 0.35rem;
}

.timeline-step p {
  color: #4b5563;
}

.results-section {
  background: #fbf7f0;
}

pre {
  border-radius: 8px;
  font-size: 0.92rem;
  max-width: 100%;
  overflow-x: auto;
}

code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

pre code {
  display: block;
  white-space: pre-wrap;
}

.section-heading-row {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.section-heading-row .title {
  margin-bottom: 0;
}

.copy-bibtex-button.is-success {
  background-color: #0f766e;
  border-color: #0f766e;
}

.scroll-top-button {
  align-items: center;
  background: #111827;
  border: 0;
  border-radius: 999px;
  bottom: 1.25rem;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.18);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  height: 2.9rem;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 1.25rem;
  transform: translateY(0.5rem);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
  width: 2.9rem;
  z-index: 30;
}

.scroll-top-button:hover {
  background: #0f766e;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer .icon-link {
  color: #202124;
  font-size: 1.55rem;
  margin: 0 0.45rem;
}

@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 2.1rem !important;
  }

  .hero-summary {
    font-size: 1rem;
  }

  .affiliation-block,
  .publication-notes span {
    display: block;
    margin: 0.15rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    margin-left: 0.3rem;
  }

  .timeline-step {
    grid-template-columns: 2.7rem minmax(0, 1fr);
  }

  .step-index {
    height: 2rem;
    width: 2.45rem;
  }

  .section-heading-row {
    align-items: flex-start;
  }

  .scroll-top-button {
    bottom: 1rem;
    right: 1rem;
  }
}

/* SQLStructEval: blue accents echo the paper's structural representation. */
:root { --accent: #155aa8; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
a { color: var(--accent); } a:hover { color: #103e73; }
.navbar { padding: .3rem max(1rem, calc((100vw - 1152px) / 2)); }
.navbar-burger { border: 0; background: transparent; cursor: pointer; }
.brand-mark, .publication-title, .publication-kicker, .publication-authors, .publication-affiliations, .publication-notes, .publication-email, .publication-venue, .teaser, .step-index { font-family: inherit; }
.publication-header .hero-body { padding-top: 3.5rem; }
.publication-kicker { color: var(--accent); font-size: .95rem; letter-spacing: .09em; }
.publication-title { font-size: 2.8rem !important; font-weight: 650; line-height: 1.18; margin-bottom: 1.6rem !important; }
.project-wordmark { color: var(--accent); font-weight: 800; display: inline-block; margin-bottom: .35rem; }
.publication-authors { line-height: 1.9; }
.publication-venue { font-size: 1rem !important; }
.hero-summary { font-size: 1.16rem; }
.teaser .subtitle { font-size: 1rem; line-height: 1.6; margin-top: 1.2rem; }
.content.has-text-justified { text-align: left !important; }
.section { padding-top: 3.5rem; padding-bottom: 3.5rem; scroll-margin-top: 1rem; }
.section-intro { max-width: 740px; text-align: center; margin: 0 auto 2rem; color: #4b5563; }
.feature-icon { color: var(--accent); background: #e9f2fc; }
.feature-card { border-top: 3px solid var(--accent); }
.results-section { background: #f3f7fc; }
.headline-results { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin: 2rem 0 2.5rem; }
.headline-results > div + div { border-left: 1px solid #cddbeb; }
.headline-results strong { color: var(--accent); font-size: 2.8rem; line-height: 1.4; font-weight: 750; }
.headline-results strong span { font-size: 1.3rem; }
.headline-results p { color: #45536a; font-size: 1rem; }
.result-table { border: 1px solid #d9e2ee; font-variant-numeric: tabular-nums; }
.result-table th, .result-table td { padding: .85rem 1rem; vertical-align: middle; }
.result-table thead { background: #e6eef8; }
.result-table th:not(:first-child), .result-table td { text-align: right; white-space: nowrap; }
.result-table caption { text-align: left; margin-bottom: .6rem; color: #374151; font-size: 1rem; }
.result-table .best { font-weight: 750; color: #104a8b; background: #e6f0fd; }
.result-note { color: #475569; font-size: 1rem; margin: 1.3rem auto; max-width: 900px; }
.analysis-panels { margin-top: 1.8rem; } .analysis-panels .result-card { height: 100%; }
.ast-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ast-comparison figure { display: flex; flex-direction: column; justify-content: space-between; }
figcaption { text-align: center; font-size: 1rem; color: #475569; margin-top: 1rem; }
.citation-note { color: #475569; }
#BibTeX pre { padding: 1rem; }
#bibtex-code {
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: normal;
}
@media (max-width: 768px) {
  #BibTeX pre { font-size: 0.875rem; }
}
.skip-link { position: absolute; left: 1rem; top: -4rem; background: white; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { top: .5rem; }
:focus-visible { outline: 3px solid #297dcc; outline-offset: 3px; }
.footer { background: #f8fafc; font-size: .95rem; }
@media(max-width: 768px) {
 .publication-header .hero-body { padding-top: 2rem; }
 .publication-title { font-size: 2.15rem !important; }
 .desktop-break { display: none; }
 .headline-results { grid-template-columns: 1fr; gap: 1.5rem; }
 .headline-results > div + div { border-left: 0; }
 .ast-comparison { grid-template-columns: 1fr; }
 .table-container { font-size: .95rem; }
 .section { padding: 2.5rem 1.25rem; }
 .navbar { padding: 0; }
 .publication-authors { font-size: 1.12rem !important; }
}
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
