/* Guide pages only (site/guides/<slug>.html). Shares tokens with site.css. */
.guide-wrap { display: grid; gap: 48px; }
@media (min-width: 1024px) { .guide-wrap { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } }
.guide-toc { font-size: 14px; }
@media (min-width: 1024px) { .guide-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; } }
.guide-toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid #E3DFD7; }
.guide-toc li { border-bottom: 1px solid #E3DFD7; }
.guide-toc a { display: block; padding: 8px 0; color: #5A5A5A; line-height: 1.35; }
.guide-toc a:hover { color: #B4431C; }

.guide-byline { font-size: 14px; color: #5A5A5A; }
.guide-byline a { color: #141414; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.guide-summary { background: #fff; border: 1px solid #E3DFD7; border-top: 3px solid #B4431C; border-radius: 2px; padding: 22px 26px; }
.guide-summary ul { list-style: none; margin: 0; padding: 0; }
.guide-summary li { padding: 8px 0; border-top: 1px solid #E3DFD7; font-size: 15px; line-height: 1.5; }
.guide-summary li:first-child { border-top: 0; padding-top: 0; }
.guide-summary strong { font-weight: 600; }

.guide-body { max-width: 72ch; font-size: 17px; line-height: 1.7; color: #2a2a2a; }
.guide-body h2 { font-size: 28px; line-height: 1.2; margin: 56px 0 16px; scroll-margin-top: 96px; color: #141414; }
.guide-body h3 { font-size: 20px; line-height: 1.3; margin: 32px 0 10px; scroll-margin-top: 96px; color: #141414; }
.guide-body p { margin: 0 0 16px; }
.guide-body ul, .guide-body ol { margin: 0 0 18px; padding-left: 22px; }
.guide-body ol { list-style: decimal; }
.guide-body ul { list-style: none; padding-left: 0; }
.guide-body ul > li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.guide-body ul > li::before { content: ""; position: absolute; left: 0; top: .85em; width: 9px; border-top: 1px solid #B4431C; }
.guide-body ol > li { margin-bottom: 8px; padding-left: 4px; }
.guide-body a { color: #B4431C; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.guide-body strong { font-weight: 600; color: #141414; }
.guide-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid #B4431C; color: #3a3a3a; font-style: italic; }
.guide-body table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; line-height: 1.45; }
@media (max-width: 640px) { .guide-body table { display: block; overflow-x: auto; } }
.guide-body th, .guide-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #E3DFD7; }
.guide-body th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #5A5A5A; font-weight: 600; border-bottom-color: #141414; }
.guide-body .guide-note { background: #fff; border: 1px solid #E3DFD7; padding: 16px 20px; font-size: 15px; margin: 0 0 20px; }
.guide-body .guide-label { display: inline-block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #5A5A5A; border: 1px solid #E3DFD7; padding: 2px 7px; border-radius: 2px; background: #fff; margin-bottom: 10px; font-style: normal; }

.guide-help { background: #fff; border: 1px solid #E3DFD7; border-radius: 2px; padding: 26px 28px; margin: 48px 0 0; }
.guide-help .owner-line { font-style: italic; color: #5A5A5A; margin-top: 12px; }

.guide-faq details { border-top: 1px solid #E3DFD7; padding: 14px 0; }
.guide-faq details:last-child { border-bottom: 1px solid #E3DFD7; }
.guide-faq summary { cursor: pointer; font-weight: 600; color: #141414; list-style: none; position: relative; padding-right: 28px; }
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; font-weight: 400; color: #B4431C; }
.guide-faq details[open] summary::after { content: "\2212"; }
.guide-faq details > div { margin-top: 10px; }

.guide-sources { font-size: 14px; line-height: 1.6; color: #5A5A5A; }
.guide-sources li::before { display: none; }
.guide-sources li { padding-left: 0 !important; }

.guide-figure { margin: 1.75rem 0; padding: 1.25rem; background: #FFFFFF; border: 1px solid #E3DFD7; }
.guide-figure svg { display: block; width: 100%; height: auto; max-width: 720px; margin: 0 auto; }
