:root {
  --md-primary-fg-color: #3949ab;
  --md-primary-fg-color--light: #5c6bc0;
  --md-primary-fg-color--dark: #283593;
  --md-accent-fg-color: #00897b;
  --md-accent-fg-color--light: #26a69a;
  --md-accent-fg-color--dark: #00695c;
}

.md-typeset h1 {
  font-weight: 600;
  color: var(--md-primary-fg-color);
}

.md-typeset h2 {
  border-bottom: 2px solid var(--md-primary-fg-color--light);
  padding-bottom: 0.2em;
}

.md-typeset table {
  font-size: 0.85em;
}

.md-typeset table th {
  background-color: var(--md-primary-fg-color);
  color: white;
}

.md-typeset .nr-about-logo {
  display: block;
  margin: 0.5rem auto 1.2rem;
  height: 7rem;
  width: 7rem;
}

/* Per-product manual: primary sidebar shows only the active product */
.nr-guide-hide {
  display: none !important;
}

/* Landing hero */
.nr-hero {
  text-align: center;
  padding: 2.4rem 1rem 1.6rem;
  margin: -1.2rem -0.8rem 1.6rem;
  border-radius: 0.4rem;
  background: linear-gradient(135deg, rgba(57, 73, 171, 0.10), rgba(0, 137, 123, 0.10));
}

.nr-hero h1 {
  font-size: 2.2rem;
  margin: 0 0 0.4rem;
  border: none;
}

.nr-hero .nr-logo {
  height: 6.5rem;
  width: 6.5rem;
  margin: 0 auto 0.6rem;
  display: block;
}

.nr-hero p.nr-tagline {
  font-size: 1.05rem;
  max-width: 46rem;
  margin: 0 auto 0.4rem;
  color: var(--md-default-fg-color--light);
}

.nr-hero p.nr-tagline-sub {
  font-size: 0.9rem;
  max-width: 44rem;
  margin: 0.35rem auto 0;
  opacity: 0.75;
}

.nr-cta {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nr-cta a.md-button {
  border-radius: 2rem;
}

.md-typeset .grid.cards > ul > li {
  border-top: 3px solid var(--md-accent-fg-color);
}

.md-typeset .nr-loop pre,
.md-typeset .nr-loop .mermaid {
  text-align: center;
}

/* Site-wide: hide the per-page right-side table of contents */
.md-sidebar--secondary {
  display: none !important;
}

label[for="__toc"] {
  display: none !important;
}

/* Prominent open-source status banner (home page) */
:root {
  --md-admonition-icon--nr-status: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 9h2v2h-2zm0 4h2v6h-2zm1-9C6.48 4 2 8.48 2 14s4.48 10 10 10 10-4.48 10-10S17.52 4 12 4zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>');
}

.md-typeset .admonition.nr-status,
.md-typeset details.nr-status {
  border: 2px solid var(--md-primary-fg-color);
  border-radius: 0.4rem;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(57, 73, 171, 0.18);
}

.md-typeset .nr-status > .admonition-title,
.md-typeset .nr-status > summary {
  background-color: rgba(57, 73, 171, 0.12);
  font-weight: 700;
}

.md-typeset .nr-status > .admonition-title::before,
.md-typeset .nr-status > summary::before {
  background-color: var(--md-primary-fg-color);
  -webkit-mask-image: var(--md-admonition-icon--nr-status);
  mask-image: var(--md-admonition-icon--nr-status);
}
