/* Estilo das páginas de guia. Usa os tokens do styles.css do app. */
.guide { max-width: 720px; margin: 0 auto; padding: max(8px, env(safe-area-inset-top)) var(--pad) 48px; line-height: 1.6; }
.guide header { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--border); }
.guide header a { color: inherit; text-decoration: none; font-weight: 700; padding: 10px 0; }
.guide .wordmark { display: block; height: 24px; }
.guide header .nav a { color: var(--accent-text); font-weight: 600; }
.crumbs { margin: 20px 0 0; font-size: 13px; color: var(--text-muted); }
.crumbs a { color: var(--text-secondary); }
.eyebrow { margin: 16px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
h1 { margin: 6px 0 12px; font-size: clamp(28px, 6vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
h2 { margin: 40px 0 8px; font-size: 22px; line-height: 1.3; scroll-margin-top: 16px; }
h3 { margin: 24px 0 4px; font-size: 17px; }
p, li { color: var(--text-primary); }
.meta { margin: 0 0 20px; font-size: 13px; color: var(--text-muted); }
.guide a:not(.btn) { color: var(--accent-text); text-underline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border-radius: 26px; text-align: center; line-height: 1.3; background: var(--action); color: var(--on-action); font-weight: 700; text-decoration: none; }
.toc { margin: 24px 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-surface); }
.toc b { font-size: 13px; color: var(--text-secondary); }
.toc ol { margin: 6px 0 0; padding-left: 22px; }
.toc li { padding: 2px 0; }
code { font-family: inherit; font-weight: 600; background: var(--bg-raised); padding: 2px 6px; border-radius: 6px; display: inline-block; max-width: 100%; }
.note { font-size: 14px; color: var(--text-secondary); }
.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 10px 12px 0; font-size: 13px; color: var(--text-muted); }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
th[scope="col"] { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
th[scope="row"] { white-space: normal; font-weight: 400; }
td.n, th.n { text-align: right; }
@media (max-width: 400px) { th, td { padding: 10px 8px; } table { font-size: 14px; } }
tfoot td, tfoot th { font-weight: 700; border-bottom: 0; }
.cta-end { margin: 48px 0 0; padding: 24px; border-radius: 20px; background: var(--bg-surface); border: 1px solid var(--border); }
.cta-end h2 { margin-top: 0; }
footer { margin-top: 40px; font-size: 13px; color: var(--text-muted); }
.related { margin: 40px 0 0; }
.related ul { padding-left: 20px; }
.cards { list-style: none; padding: 0; display: grid; gap: 12px; }
.cards a { display: block; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-surface); text-decoration: none; color: inherit; }
.cards a b { display: block; color: var(--accent-text); font-size: 17px; }
.cards a span { display: block; margin-top: 4px; font-size: 14px; color: var(--text-secondary); }

