/* SPDX-License-Identifier: MIT
 *
 * The markup of Flight Manual in the look of the ztcl and ztk sites,
 * where it differs from the markup of tools/build-docs.py of ztcl, which
 * the style sheet of the sites (docs/site/site.css) styles:
 *
 * - The slot {{nav}} writes each group as <details> with a <ul> of
 *   links, and a part as <p class="part">. build-docs.py writes links of
 *   the class "item" with no list, and <p class="navpart">.
 * - A note of GitHub is <blockquote class="alert KIND"> with a title.
 *   build-docs.py writes <div class="alert"> with no title, and no
 *   max-width of 68ch. The title stays for a screen reader. */
.sidebar nav ul { list-style: none; margin: 0; padding: 0; }
.sidebar nav li { margin: 0; padding: 0; }
.sidebar nav li > a { display: block; padding: 3px 10px; margin: 1px 0; border-radius: 0; color: var(--text-3); text-decoration: none; line-height: 1.4; }
.sidebar nav li > a:hover { color: var(--text); background: var(--bg-soft); }
.sidebar nav li > a[aria-current] { color: var(--accent); font-weight: 600; background: none; box-shadow: inset 3px 0 var(--accent); }
.sidebar nav p.part { font: 600 12px/1.3 var(--sans); color: var(--text-3); margin: 12px 0 2px; padding: 0 10px; }
.prose > blockquote.alert { max-width: none; color: inherit; }
.prose .alert.important, .prose .alert.caution { border-left-color: var(--warn); background: var(--warn-soft); }
.prose .alert-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The search box of the slot {{search}} in the header. */
.top form.search { margin-left: auto; }
.top form.search input { font: 14px/1.2 var(--sans); padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--bg); color: var(--text); width: 14em; max-width: 40vw; }
.top form.search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The image of the key logo in the header: the slot {{logo}}. */
.logo .mark { width: 26px; height: 26px; }
