.guide-document { max-width: 1000px; margin: 0 auto; padding: 28px 0 64px; }
.guide-document .doc-head { max-width: 760px; }
.guide-document h1 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; line-height: 1.3; }
.guide-document .toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; padding: 24px; margin: 32px 0 48px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.guide-document .toc a { display: flex; align-items: center; min-height: 48px; text-decoration: none; line-height: 1.5; }
.guide-chapter { padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.guide-chapter h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.4; margin: 0 0 24px; }
.guide-chapter > p, .guide-steps, .guide-chapter details { max-width: 760px; }
.guide-steps { padding-left: 1.55em; line-height: 1.9; }
.guide-steps li { padding-left: .4em; margin-bottom: 18px; }
.guide-steps li::marker { color: var(--accent); font-weight: 650; }
.guide-shots { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; margin: 36px 0; }
.guide-shots figure { flex: 0 1 265px; min-width: 0; margin: 0; }
.guide-shots a, .guide-home-shot a { display: block; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); }
.guide-shots img, .guide-home-shot img { display: block; width: 100%; height: auto; }
.guide-shots figcaption { margin-top: 14px; font-size: .9rem; line-height: 1.7; color: var(--muted); text-align: center; }
.guide-home-shot { width: min(100%, 285px); margin: 32px auto; }
.guide-chapter details { padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin: 24px 0; }
.guide-chapter summary { cursor: pointer; min-height: 48px; align-content: center; font-weight: 600; }
.guide-chapter details p { margin: 12px 0 0; }
.guide-chapter code { overflow-wrap: anywhere; }
.guide-help { border: 1px solid var(--line); border-radius: 24px; background: var(--paper); padding: 32px; margin-top: 24px; }
.journey-showcase { display: grid; grid-template-columns: 1fr 330px; align-items: center; gap: 72px; }
.journey-showcase .section-heading { margin: 0; }
.journey-showcase img { display: block; width: 100%; height: auto; }
@media (max-width: 680px) {
  .guide-document .toc { grid-template-columns: 1fr; padding: 18px; gap: 0; }
  .guide-chapter { padding: 32px 0; }
  .guide-shots { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 18px; padding: 8px 2px 20px; scroll-snap-type: x proximity; }
  .guide-shots figure { flex: 0 0 78%; max-width: 285px; scroll-snap-align: center; }
  .guide-shots.single { justify-content: center; }
  .journey-showcase { grid-template-columns: 1fr; gap: 30px; }
  .journey-showcase > a { max-width: 300px; margin: 0 auto; }
  .guide-help { padding: 24px; }
}
