/*! StiffStruct, (c) 2026 StiffStruct. All rights reserved. Proprietary: copying, mirroring or reusing this code is not permitted without written permission (see terms.html#intellectual-property). build 20261103-2030 */
/* Guide pages (SEO landing pages: guides.html and the worked-example guides). Tokens only; link tokens.css and site.css first. */

.seo-article { padding-bottom: 24px; }
.seo-article h2 { scroll-margin-top: 80px; }
.seo-article .katex-display { overflow-x: auto; overflow-y: hidden; padding: 4px 0; }
.seo-article .katex { font-size: 1.08em; }

.seo-quick { margin: 0 0 28px; padding: 16px 20px; border: 1px solid var(--border-strong); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--bg-elev); }
.seo-quick > :last-child { margin-bottom: 0; }
.seo-quick strong { color: var(--fg); }

.seo-sketch { margin: 22px 0; padding: 14px 12px 12px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elev); }
.seo-sketch svg { display: block; margin: 0 auto; width: 100%; max-width: 580px; height: auto; color: var(--fg); }
.seo-sketch figcaption { margin-top: 8px; font-size: .9rem; color: var(--fg-muted); }
.seo-sketch .t { fill: currentColor; font: 600 13px var(--font-ui); }
.seo-sketch .ts { fill: var(--fg-muted); font: 500 12px var(--font-ui); }
.seo-sketch .m { stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; }
.seo-sketch .f { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.seo-sketch .ax { stroke: var(--fg-muted); stroke-width: 1.4; fill: none; }
.seo-sketch .n { fill: var(--bg-elev); stroke: currentColor; stroke-width: 2; }
.seo-sketch .fa { fill: var(--accent); }

.seo-busy { margin: 0; padding: 72px 16px; text-align: center; color: var(--fg-muted); }
.seo-live { margin: 26px 0; }

.seo-table .s-table { min-width: 0; }
.seo-table .s-table th, .seo-table .s-table td { padding: 9px 12px; }
.seo-table td.num, .seo-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.seo-steps { padding-left: 1.3em; }
.seo-steps li { margin: .55em 0; }

.seo-cta { margin: 36px 0 8px; }

.seo-related { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin: 0 0 8px; padding: 0; list-style: none; }
.seo-related a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); color: var(--fg); text-decoration: none; font-weight: 650; transition: border-color .15s, background-color .15s; }
.seo-related a span { display: block; margin-top: 4px; font-weight: 450; font-size: .92rem; color: var(--fg-muted); }
@media (hover: hover) and (pointer: fine) { .seo-related a:hover { border-color: var(--accent); background: var(--accent-soft); } }
