.guide-page { --guide-accent: #4c7863; --guide-tint: #edf5ee; max-width: 1280px; }
.guide-video { padding: 26px; margin-bottom: 32px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.guide-video-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.guide-video h2 { font-size: 23px; line-height: 1.5; margin: 0 0 8px; }
.guide-video-heading p, .guide-video-note { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }
.guide-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #f5f8f5; border-radius: 10px; }
.guide-video .guide-video-note { margin-top: 12px; }
.guide-heading { margin-bottom: 24px; }
.guide-heading .button-primary, .guide-end .button-primary { background: var(--guide-accent); border-color: var(--guide-accent); }
.guide-welcome { display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid #dce8df; background: var(--guide-tint); border-radius: 14px; padding: 25px 30px; margin-bottom: 32px; }
.guide-welcome h2 { font-family: var(--display-font); font-size: 27px; color: #365b47; margin-bottom: 9px; }
.guide-welcome p { color: #5e7768; margin: 0; font-size: 13px; }
.guide-book { display: grid; place-items: center; width: 60px; height: 72px; border: 1px solid #bfd1c3; border-left: 6px solid #96b29f; border-radius: 3px 10px 10px 3px; background: #fffdf7; color: #6c8d77; font-size: 32px; font-family: var(--display-font); transform: rotate(5deg); flex-shrink: 0; }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.guide-toc { position: sticky; top: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 22px 18px; }
.guide-toc .eyebrow { color: var(--guide-accent); }
.guide-toc ol { list-style: none; margin: 0; padding: 0; }
.guide-toc li + li { border-top: 1px solid #edf0f3; }
.guide-toc a:not(.text-link) { display: flex; gap: 10px; align-items: baseline; padding: 12px 0; color: #485b52; font-size: 12px; line-height: 1.7; }
.guide-toc a:hover { color: var(--guide-accent); text-decoration: underline; }
.guide-toc a span { font: 11px ui-monospace, monospace; color: #8c9e93; flex-shrink: 0; }
.guide-download-note { font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); margin: 10px 0 15px; padding-top: 16px; }
.guide-toc > .text-link { font-size: 12px; color: var(--guide-accent); }
.guide-chapters { display: grid; gap: 24px; min-width: 0; }
.guide-chapter { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 32px; scroll-margin-top: 24px; }
.guide-chapter-heading { display: flex; align-items: center; gap: 15px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.guide-chapter-number { display: grid; place-items: center; width: 43px; height: 50px; background: var(--guide-tint); border-radius: 8px; color: var(--guide-accent); font: 20px ui-monospace, monospace; flex-shrink: 0; }
.guide-chapter-heading .eyebrow { color: var(--guide-accent); margin-bottom: 6px; font-size: 10px; }
.guide-chapter-heading h2 { font-size: 22px; line-height: 1.5; margin: 0; letter-spacing: -.4px; }
.guide-summary { color: var(--muted); margin: 20px 0 24px; font-size: 13px; }
.guide-block { margin: 24px 0; }
.guide-chapter h3 { font-size: 15px; margin-bottom: 12px; }
.guide-block p, .guide-steps, .guide-callout p, .guide-question p { font-size: 14px; line-height: 1.95; color: #43536a; }
.guide-block p { margin: 0; }
.guide-steps { margin: 0; padding-left: 24px; }
.guide-steps li { padding-left: 6px; margin-bottom: 14px; }
.guide-steps li:last-child { margin-bottom: 0; }
.guide-steps li::marker { color: var(--guide-accent); font-weight: 700; }
.guide-callout { padding: 18px 20px; background: #f2f6f3; border-left: 3px solid #85a38d; border-radius: 0 9px 9px 0; margin: 24px 0; }
.guide-callout h3 { color: #3d6450; font-size: 14px; margin-bottom: 7px; }
.guide-callout p { margin: 0; font-size: 13px; }
.guide-example { background: #f9f5eb; border-color: #cdb171; }
.guide-example h3 { color: #816438; }
.guide-table-wrap { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.guide-chapter table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.8; }
.guide-chapter th, .guide-chapter td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.guide-chapter th:first-child { width: 29%; }
.guide-chapter thead th { font-size: 12px; background: #f4f7f5; color: #53705f; }
.guide-chapter tbody th { font-weight: 500; background: #fcfdfc; }
.guide-chapter tbody tr:last-child > * { border-bottom: 0; }
.guide-question { border-bottom: 1px solid var(--line); padding: 17px 0; }
.guide-question summary { font-size: 14px; font-weight: 600; cursor: pointer; line-height: 1.8; }
.guide-question summary::marker { color: var(--guide-accent); }
.guide-question p { margin: 12px 0 0; }
.guide-back-top { display: block; text-align: right; color: #698376; font-size: 11px; padding-top: 8px; }
.guide-end { text-align: center; padding: 20px 0 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 950px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .guide-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .guide-toc li + li { border-top: 0; }
  .guide-toc a:not(.text-link) { padding: 8px 0; }
}
@media (max-width: 650px) {
  .guide-video { padding: 18px; }
  .guide-video-heading { display: block; }
  .guide-video-heading .button { margin-top: 14px; }
  .guide-video h2 { font-size: 20px; }
  .guide-welcome { padding: 22px 19px; }
  .guide-welcome h2 { font-size: 23px; }
  .guide-welcome p { font-size: 12px; line-height: 1.8; }
  .guide-book { width: 41px; height: 55px; font-size: 23px; }
  .guide-heading .button { padding: 9px 12px; }
  .guide-heading h1 { font-size: 25px; }
  .guide-heading p { font-size: 11px; }
  .guide-toc ol { grid-template-columns: 1fr; }
  .guide-toc a:not(.text-link) { font-size: 13px; }
  .guide-chapter { padding: 24px 18px; }
  .guide-chapter-heading { align-items: start; gap: 12px; padding-bottom: 18px; }
  .guide-chapter-heading h2 { font-size: 20px; }
  .guide-chapter-number { width: 34px; height: 42px; font-size: 16px; }
  .guide-chapter-heading .eyebrow { font-size: 9px; }
  .guide-callout { padding: 16px 14px; }
  .guide-chapter table { font-size: 12px; }
  .guide-chapter th, .guide-chapter td { padding: 11px 9px; }
  .guide-chapter th:first-child { width: 33%; }
}
@media print {
  .guide-video { display: none; }
  .guide-toc, .guide-heading > a, .guide-back-top, .guide-end { display: none; }
  .guide-layout { display: block; }
  .guide-chapter { border: 0; padding: 0; break-before: page; }
  .guide-chapter:first-child { break-before: auto; }
  .guide-question::details-content { display: block; }
}
