/* sploink docs — extra polish on top of MkDocs Material */

:root {
  --md-primary-fg-color: #ffffff;
  --md-primary-fg-color--light: #ffffff;
  --md-primary-bg-color: #0f172a;
  --md-accent-fg-color: #3b82f6;
}

/* Tighter top bar */
.md-header {
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
}

.md-tabs {
  border-bottom: 1px solid #e2e8f0;
}

/* Cleaner code blocks */
.md-typeset code {
  font-size: 0.85em;
}

/* Less neon, more neutral table styling */
.md-typeset table:not([class]) th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
}

/* TOC is integrated into the LEFT sidebar (via toc.integrate). Style the
   inline subheading entries so they're readable and visually distinct from
   the page-level nav. */
@media screen and (min-width: 76.25em) {
  /* Left sidebar a touch wider to fit nested TOC entries comfortably */
  .md-sidebar--primary {
    width: 14rem;
  }
  /* H2/H3 TOC entries: smaller, muted, allow wrapping */
  .md-sidebar--primary .md-nav .md-nav .md-nav__link {
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--md-default-fg-color--light);
    white-space: normal;
    word-break: break-word;
    padding: 0.2rem 0;
  }
  /* Currently-active section: bold + accent color */
  .md-sidebar--primary .md-nav__link--active {
    color: var(--md-accent-fg-color);
    font-weight: 600;
  }
  /* Main content can now stretch since right sidebar is gone */
  .md-grid {
    max-width: 64rem;
  }
}
