.guide-shell { width: min(100% - 64px, 1120px); margin: 0 auto; padding: 40px 0 96px; }
.guide-breadcrumbs { font-size: .88rem; color: var(--muted); }
.guide-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; margin: 0; padding: 0; }
.guide-breadcrumbs li + li::before { content: "/"; margin-right: 12px; color: var(--muted); }
.guide-heading { max-width: 860px; margin: 48px 0; }
.guide-heading h1 { margin: 12px 0 24px; font-size: clamp(2.25rem, 4.6vw, 3.8rem); line-height: 1.16; letter-spacing: -.035em; overflow-wrap: anywhere; }
.guide-intro { font-size: 1.15rem; line-height: 1.8; }
.guide-scope { padding: 20px 24px; border-left: 3px solid var(--teal); background: var(--surface-soft); line-height: 1.7; }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.guide-contents { position: sticky; top: calc(var(--header-height) + 24px); padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-strong); font-size: .94rem; line-height: 1.6; }
.guide-contents ol { padding-left: 20px; margin: 16px 0 0; }
.guide-contents li + li { margin-top: 12px; }
.guide-document { min-width: 0; }
.guide-document section { scroll-margin-top: calc(var(--header-height) + 28px); }
.guide-document section + section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.guide-document h2 { font-size: 1.4rem; line-height: 1.45; margin: 0 0 16px; }
.guide-document p { line-height: 1.85; overflow-wrap: anywhere; }
.guide-shell a:not(.button) { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.guide-shell a:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 4px; }
.guide-next { margin-top: 40px; padding: 28px; background: var(--surface-soft); border-radius: 16px; }
@media (max-width: 800px) { .guide-layout { grid-template-columns: 1fr; gap: 36px; } .guide-contents { position: static; } }
@media (max-width: 520px) { .guide-shell { width: calc(100% - 36px); padding: 28px 0 64px; } .guide-heading { margin: 32px 0; } .guide-next { padding: 22px; } }
@media print { .site-header, .mobile-nav, .site-footer, .guide-contents, .guide-next { display: none; } .guide-shell { width: 100%; padding: 0; } .guide-layout { display: block; } .guide-document h2 { break-after: avoid; } }
