/* Screenshot placeholder — a visibly-styled figure block used until real
   console screenshots are captured. Grep for "screenshot-placeholder" to find
   every image that still needs capturing. */
.screenshot-placeholder {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0;
  padding: 1.1rem 1.2rem;
  border: 2px dashed var(--md-default-fg-color--lighter);
  border-radius: 6px;
  background: var(--md-code-bg-color);
  color: var(--md-default-fg-color--light);
  font-size: 0.72rem;
  line-height: 1.5;
}
.screenshot-placeholder code {
  background: none;
  padding: 0;
}

/* Real captured screenshots — framed so UI shots read as figures, not page art. */
.md-typeset img.screenshot {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* The public docs share the site's account control. site-auth.js appends a
   visible Log in link, then upgrades it to the username when signed in. */
.md-header__inner .docs-site-user {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 1.8rem;
  margin-left: 0.4rem;
  color: var(--md-primary-bg-color);
  text-decoration: none;
}
.md-header__inner .site-user-name {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.6rem;
  font-weight: 600;
}
.md-header__inner .site-user-avatar {
  display: none;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 0.4rem;
  color: #fff;
  background: #2e7d32;
  font-size: 0.58rem;
  font-weight: 700;
}
.md-header__inner .site-user.is-authenticated .site-user-avatar { display: grid; }
@media (max-width: 600px) {
  .md-header__inner .site-user.is-authenticated .site-user-name { display: none; }
}

/* Heading permalinks: the "¶" is drawn by CSS, not written into the heading's
   text. tools/mkdocs_hooks.py empties the anchor so the character never lands
   in the H1's extracted text (search snippets, scrapers, screen-reader heading
   lists); this puts the same affordance back visually. */
.md-typeset .headerlink .headerlink-glyph::before {
  content: "¶";
}
