a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Combine with hstack (and vstack) to get rid of Bootstrap's default
   centering alignment -- see hyperphor.nlq.frontend.sql-query/ui, whose
   top-level card-stack/results row already carries this class waiting for
   an app stylesheet to define it (same fix as okc's own okc.css). Without
   this, the (usually much shorter) query-card column sits vertically
   centered against the taller results column instead of top-aligned. */
.istack {
  align-items: inherit;
}

/* ── Site header ──────────────────────────────────────────────────────── */
/* Colors/gradient match hyperphor.com's own header exactly (its inline
   <style>, checked 2026-08-20) -- reusing the real Hyperphor brand rather
   than inventing a new palette for this one small demo app. On every page
   (app-ui), not just the about tab. */

.site-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #b08968 0%, #8b9a8e 50%, #9d8b88 100%);
  color: #fff;
  padding: 16px 32px;
  margin-bottom: 20px;
}

.site-hero h2 {
  margin: 0;
  font-size: 1.6em;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Pushed to the far right of the flex header, title stays left. */
.site-hero-logo-link {
  margin-left: auto;
  flex: 0 0 auto;
  line-height: 0; /* no extra gap under the inline img */
}

.site-hero-logo {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

/* ── About tab ────────────────────────────────────────────────────────── */

.about-credits {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e3e3e3;
  font-size: 0.9em;
  color: #6b6b6b;
}

.about-credits p {
  margin: 0 0 4px 0;
}

.about-credits a {
  color: #7a8a7f;
}

.credit-logo {
  height: 16px;
  width: auto;
  vertical-align: middle;
  margin-right: 4px;
  border-radius: 2px;
}

/* ── NL_query tab ─────────────────────────────────────────────────────── */
/* ag-grid needs an explicit height on its container to render any rows --
   without one it silently renders a 0-height viewport (row count/header
   still correct, but no rows visible). hyperphor.nlq.frontend.sql-query's
   inspector-grid passes :class "aggrid-inspector" expecting the consuming
   app to size it (same contract okc.css fulfills for okc's own inspector). */
.aggrid-inspector {
  width: 100%;
  height: 60vh;
}
