/* Open pages share the same book, woven bookmark and illustrated margins as the cabinet. */
.guest-account { margin-top: 34px; }
.guest-account p { font-size: .8125rem; color: var(--muted); line-height: 1.6; margin: 12px 0 18px; }
.guest-welcome .margin-portal { filter: drop-shadow(0 10px 20px #85644320); }
.guest-account .button { width: 100%; padding-inline: 10px; font-size: .75rem; }
.guest-welcome { padding: 10px 0 30px; }
.guest-welcome h1 { font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 550; line-height: 1.35; margin: 14px 0 24px; }
.guest-welcome .lead { color: var(--heading); font-size: 1.125rem; line-height: 1.75; max-width: 52ch; }
.guest-intro { color: var(--muted); line-height: 1.7; max-width: 52ch; margin: 18px 0 24px; }
.guest-section { border-top: 1px solid var(--binding); padding-top: 26px; }
.guest-lesson-shelf { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.guest-lesson-preview { min-width: 0; padding: 0 20px 4px 0; border-right: 1px solid var(--line); }
.guest-lesson-preview:last-child { border-right: 0; padding-right: 0; }
.guest-lesson-preview h3 { font-size: 1.0625rem; line-height: 1.55; margin: 12px 0 10px; }
.guest-lesson-preview h3 a { color: var(--heading); text-underline-offset: 4px; }
.guest-lesson-preview .sheet-links { flex-direction: column; gap: 0; align-items: flex-start; }
.guest-season-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.guest-season-filter label { font-size: .875rem; margin: 0; }
.guest-season-filter select { width: auto; max-width: 100%; min-width: 190px; }
.guest-pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 32px; }
.guest-pagination > span { font-size: .8125rem; color: var(--muted); }
.guest-article .prose { max-width: 78ch; line-height: 1.8; }
.guest-article .page-header { max-width: 80ch; }
.guest-main .latex-content { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .guest-lesson-shelf { gap: 18px; }
  .guest-lesson-preview { padding-right: 12px; }
}
@media (max-width: 767px) {
  .guest-welcome { padding: 0 0 24px; gap: 20px; }
  .guest-welcome h1 { font-size: 2rem; margin: 12px 0 18px; }
  .guest-welcome .lead { font-size: 1rem; line-height: 1.65; }
  .guest-intro { font-size: .9375rem; }
  .guest-welcome .home-margin { display: none; }
  .guest-lesson-shelf { grid-template-columns: 1fr; gap: 22px; }
  .guest-lesson-preview { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
  .guest-lesson-preview:last-child { border-bottom: 0; padding-bottom: 0; }
  .guest-season-filter { gap: 8px; }
  .guest-season-filter label { width: 100%; }
  .guest-season-filter select { flex: 1; min-width: 0; }
  .guest-account { margin-top: auto; }
  .guest-account .button { font-size: .8125rem; }
}
