/* /develop and /use. The shell and the content are Vanilla's components (imported below).
   What remains here is the code in the prose: a chip in a sentence, and a query block that wraps
   on spaces. base.css breaks a <pre> mid-word, which splits a GraphQL query. */
@import "../../vanilla/fonts/fonts.css";
@import "../../vanilla/tokens.css";
@import "../../vanilla/base.css";
@import "../../vanilla/components/theme-toggle.css";
@import "../../vanilla/components/callout.css";
@import "../../vanilla/components/app/doc-content.css";
@import "../../vanilla/components/docs/tokens.css";
@import "../../vanilla/components/docs/skip-link.css";
@import "../../vanilla/components/docs/layout.css";
@import "../../vanilla/components/docs/header.css";
@import "../../vanilla/components/docs/brand.css";
@import "../../vanilla/components/docs/crumb.css";
@import "../../vanilla/components/docs/icon-button.css";
@import "../../vanilla/components/docs/docs-progress.css";
@import "../../vanilla/components/docs/docs-search.css";
@import "../../vanilla/components/docs/nav.css";
@import "../../vanilla/components/docs/toc.css";
@import "../../vanilla/components/docs/pager.css";
@import "../../vanilla/components/docs/page.css";
@import "../../vanilla/components/header-icons.css";

vn-doc-page :is(p, li, h3) code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--vn-app-doc-line);
  border-radius: 6px;
  background: var(--vn-app-doc-field);
  font-size: 0.86em;
  hyphens: none;
  overflow-wrap: anywhere;
}
vn-doc-page pre {
  margin: 0 0 14px;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--vn-app-doc-line);
  border-radius: 10px;
  background: var(--vn-app-doc-field);
  font-size: 12.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-overflow-scrolling: touch;
}
vn-doc-page pre code { padding: 0; border: 0; background: none; font-size: inherit; }
/* Develop and Use are the two contents categories. Their pages sit indented beneath them. */
vn-docs-nav .vn-docs-nav__list > li > a { color: var(--vn-color-ink); font-weight: 500; }
vn-docs-nav .vn-docs-nav__list > li > a:hover,
vn-docs-nav .vn-docs-nav__list > li > a[aria-current="true"] { color: var(--vn-color-accent); }
/* The contents and sections drawers fill the page colour, which is a step off --vn-color-bg. */
@media (max-width: 720px) {
  vn-docs[contents-open] vn-docs-nav,
  vn-docs[toc-open] vn-docs-toc { background: var(--vn-docs-page); }
}
