/* The help pages (build-help-pages.ts), on top of legal.css: the same light
   style, with room for screenshots, the list of pages, the search and the
   previous and next links. */
main { max-width: 50rem; }
.help h1 { margin-top: .25rem; }
.help h2 { font-size: 1.2rem; }
.help ol > li { margin: .6rem 0; padding-left: .2rem; }
.help strong { font-weight: 650; }

.shot { margin: .75rem 0 1.25rem; }
.shot a { display: block; text-decoration: none; }
/* A tall screenshot (a long form) is held to a readable height, so it never fills the screen; a click opens it at full size. */
.shot img { display: block; max-width: 100%; max-height: 30rem; width: auto; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); background: #fff; }
.help li .shot { margin-top: .6rem; }

.lead { font-size: 1.1rem; color: var(--muted); }
.help-group h2 { margin-top: 2.25rem; }
.group-intro { color: var(--muted); margin: 0 0 .5rem; }
.help-list { padding-left: 1.4rem; }
ul.help-list { list-style: none; padding-left: 0; }
.help-list li { margin: .6rem 0; }
.help-list a { font-weight: 600; }
.help-list span { display: block; color: var(--muted); font-size: .95rem; }

.help-search { margin: 1.5rem 0 1rem; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.help-search label { display: block; font-weight: 600; margin-bottom: .4rem; }
.help-search input { width: 100%; font: inherit; padding: .55rem .7rem; border: 1px solid #d6d3d1; border-radius: 8px; background: #fff; color: var(--ink); }
.help-search input:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; }
.results-count { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }
.results-count:empty { display: none; }

.feedback { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 0; }
.pager a { display: block; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--primary); }
.pager a span { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }
.pager .next { text-align: right; }
@media (max-width: 560px) {
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
}
@media print {
  .pager, .feedback, .help-search { display: none; }
}
