/* Guide-only layout; colors inherit the shared light/dark theme tokens. */
.guide-article main { max-width: 960px; }
.guide-article p { line-height: 1.85; overflow-wrap: anywhere; }
.guide-article h2 { scroll-margin-top: 100px; }
.guide-answer, .guide-toc { padding: 22px; margin: 24px 0; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.guide-answer { border-left: 4px solid var(--accent); }
.guide-answer > strong { color: var(--brand); }
.guide-toc li { margin: 8px 0; }
.guide-article figure { margin: 28px 0; padding: 16px; background: var(--surface); border-radius: var(--r-md); }
.guide-article figcaption { color: var(--muted); margin-top: 12px; line-height: 1.7; }
.guide-art { display: block; width: 100%; height: auto; }
.guide-art text { font: 16px var(--font); fill: var(--ink); }
.guide-art .ga-accent { fill: var(--accent); }
.guide-art .ga-soft { fill: var(--tint); }
.guide-art .ga-muted { fill: var(--muted); }
.guide-art .ga-ghost { fill: var(--accent); opacity: .25; }
.guide-art .ga-line { fill: none; stroke: var(--ink-2); stroke-width: 3; }
.guide-art .ga-grid { fill: none; stroke: var(--brand); stroke-width: 1; }
.guide-article .table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r-md); }
.guide-article table { display: table; min-width: 560px; width: 100%; border-collapse: collapse; }
.guide-article caption { text-align: left; padding: 14px; font-weight: 700; }
/* Guide tables need their column headers: undo the visually-hidden head that spec tables use (.page thead). */
.guide-article thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.guide-article thead th { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.guide-article tbody { display: table-row-group; }
.guide-article tbody tr { display: table-row; }
.guide-article th, .guide-article tbody th, .guide-article tbody td { display: table-cell; width: auto; padding: 12px; text-align: left; border-bottom: 1px solid var(--line); }
.guide-models { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.guide-models li { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.guide-models a { display: flex; flex-direction: column; gap: 12px; }
.guide-model-stage { position: relative; display: block; height: 140px; }
.guide-model-stage svg { width: 100%; height: 100%; }
.guide-model-stage .product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 10px; }
.guide-related { border-top: 1px solid var(--line); margin-top: 30px; }
