/* The user guide on the web (/guide, server/guide.py). The site's header and footer are in shadow roots with the
   site's own style sheet; this file is for the guide's page between them: the site's typeface, and the website's
   own additions (the live-demo link, the version line, the trade mark note). Colours are the guide's own
   variables (guide/assets/guide.css), which already follow the website's palette. */

/* The site's typeface, declared here because a face declared inside a shadow root is not loaded. */
@font-face { font-family: "Public Sans"; src: url("/static/fonts/PublicSans-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/static/fonts/PublicSans-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/static/fonts/PublicSans-Semibold.ttf") format("truetype"); font-weight: 600 700; font-style: normal; font-display: swap; }
:root { --sans: "Public Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; }

/* Until the header's style sheet has loaded, hold its place in the site's colour, so the page does not jump. */
.web-site { display: block; background: #0b1014; }
.web-site--header { min-height: 70px; }

/* The site's header carries the logo, so the guide's bar keeps its name only. */
.topbar .brand img { display: none; }

.web-try { margin: -4px 0 22px; }
.web-try a {
  display: inline-block;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 7px 14px;
  font-weight: 600;
  text-decoration: none;
}
.web-try a:hover, .web-try a:focus-visible { border-color: var(--accent); }

.web-note, .web-version { color: var(--muted); font-size: 13.5px; }
.web-note { margin-top: 34px; }
.web-version { margin: 34px 0 0; }
.web-note + .web-version { margin-top: 6px; }

@media print { .web-site, .web-try { display: none; } }
