/* Shared by every page of the illustrated guide. Bootstrap 5.3 does the heavy lifting; this is
   only what the guide adds - screenshots, the "Where" line, and the two audience colours. */
:root {
  --patroller: #0d6efd;
  --admin: #8a2be2;
  --where-bg: #e7f1ff;
  --where-border: #cfe2ff;
  --note-bg: #fff3cd;
  --note-fg: #6b5000;
}
body { background-color: #f8f9fa; }
.guide { max-width: 900px; }
.guide h2 { margin-top: 2.25rem; font-size: 1.4rem; color: var(--patroller); scroll-margin-top: 1rem; }
.guide.admin h2 { color: var(--admin); }
.guide h3 { margin-top: 1.4rem; font-size: 1.1rem; }

.crumbs { font-size: .9rem; }
.crumbs a { text-decoration: none; }

.menu-name { background: var(--where-bg); border: 1px solid var(--where-border); border-radius: 4px;
             padding: 0 .35rem; font-weight: 600; white-space: nowrap; }
.where { background: var(--where-bg); border-left: 4px solid var(--patroller); border-radius: 4px;
         padding: .6rem .9rem; margin: 1rem 0 1.25rem; }
.admin .where { border-left-color: var(--admin); }
.note { background: var(--note-bg); color: var(--note-fg); border-radius: 6px; padding: .75rem 1rem; }

/* Screenshots: framed so a white page reads as a picture, linked so a tap opens it full size. */
figure.shot { margin: 1.25rem 0 1.75rem; }
figure.shot a { display: inline-block; max-width: 100%; }
figure.shot img { max-width: 100%; height: auto; border: 1px solid #ccd3da; border-radius: 6px;
                  box-shadow: 0 2px 10px rgba(0,0,0,.08); background: #fff; }
figure.shot figcaption { font-size: .9rem; color: #555; margin-top: .4rem; }

/* Index */
.audience { border-top: 5px solid var(--patroller); }
.audience.admin { border-top-color: var(--admin); }
.audience h2 { margin-top: 0; }
.audience.admin h2 { color: var(--admin); }
.audience ol, .audience ul { padding-left: 1.25rem; }
.audience li { margin: .2rem 0; }
.audience .sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: #6c757d;
                 margin: 1.25rem 0 .4rem; font-weight: 600; }
.badge-new { font-size: .65rem; vertical-align: middle; }

.pager-links { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
               border-top: 1px solid #dee2e6; margin-top: 2.5rem; padding-top: 1rem; }

@media print {
  .crumbs, .pager-links { display: none; }
  figure.shot img { box-shadow: none; }
}

/* Long button names ("Apply 'day of week' named templates ...") must be allowed to wrap in the
   Where line, or the page scrolls sideways on a phone. */
.where .menu-name { white-space: normal; }
