/* Granite docs guides: plain, readable, light and dark. */
:root { --bg: #fbfaf8; --fg: #1f1d1a; --muted: #6b665e; --line: #e6e2db; --accent: #3f5bd9; --code: #f1eee9; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #161513; --fg: #ece9e4; --muted: #a39d93; --line: #2e2b27; --accent: #8ea2ff; --code: #22201d; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
.top, .bottom { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bottom { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-size: 14px; justify-content: center; }
.brand { font-weight: 600; color: var(--fg); text-decoration: none; }
.top nav { display: flex; gap: 16px; font-size: 14px; }
.top nav a[aria-current] { color: var(--fg); font-weight: 600; text-decoration: none; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 48px 0 12px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 17px; margin: 28px 0 8px; }
.lead { font-size: 18px; color: var(--muted); }
.toc { border: 1px solid var(--line); border-radius: 8px; padding: 8px 16px; margin: 24px 0; }
.steps li { margin-bottom: 10px; }
pre { background: var(--code); border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; }
:not(pre) > code { background: var(--code); border-radius: 4px; padding: 1px 4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; table-layout: fixed; }
th:first-child { width: 38%; } th:last-child { width: 18%; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guidance li { margin-bottom: 10px; }
dt { font-weight: 600; margin-top: 12px; }
dd { margin: 4px 0 0; color: var(--muted); }
td code { overflow-wrap: anywhere; }
@media (max-width: 600px) { table { font-size: 13px; } th, td { padding: 6px 4px; } }
