/* Scriptorium-specific blocks only. Layout, color tokens, header, footer, and the shared blocks come from the
   fleet showcase kit (css/kit.css, css/rk-tokens.css); the amber accent comes from site.yml. */
.tour-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.tour-nav a { display: inline-flex; align-items: center; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--surface); font-weight: 600; font-size: 0.92rem; min-height: 44px; }

/* A printed page has no light or dark look: one file, shown on paper in both themes. */
.page-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.page-figure { margin: 0; scroll-margin-top: 90px; }
.page-figure.page-wide { grid-column: 1 / -1; }
.page-frame { background: #ffffff; border: 1px solid var(--line); border-radius: var(--r); padding: 0.75rem; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.12); }
.page-frame img { display: block; width: 100%; height: auto; }
.page-wide .page-frame { max-width: 56rem; margin: 0 auto; }
.page-figure figcaption { margin-top: 0.9rem; font-size: 0.95rem; color: var(--text-muted); max-width: 46rem; }
.page-wide figcaption { margin-left: auto; margin-right: auto; max-width: 56rem; }
.page-figure figcaption strong { color: var(--text); }
