/* dataviz - reading pages (format reference).
   Copyright (C) 2024-2026 cetome. SPDX-License-Identifier: AGPL-3.0-or-later */
.doc { max-width: 52rem; margin: 0 auto; padding: 2rem var(--gutter) 3rem; }
.doc h2 { font-size: 1.35rem; margin: 2.2rem 0 0.75rem; color: var(--blue); }
.doc h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.doc p, .doc li { line-height: 1.65; }
.doc ol { padding-left: 1.3rem; }
.doc ul { list-style: none; padding-left: 0; }
.doc ul > li { position: relative; padding-left: 1.5rem; }
.doc ul > li::before { content: ''; position: absolute; top: 0.6em; left: 0; width: 0.5rem; height: 0.5rem; background-color: var(--blue); }
.doc code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface-alt); padding: 0.05rem 0.3rem; border-radius: 4px; }
.doc pre { overflow-x: auto; padding: 1rem; background: var(--ink); color: #e2e8f0; border-radius: var(--radius); font-size: 0.85rem; line-height: 1.5; }
.doc pre code { background: none; padding: 0; color: inherit; }
.doc .table-wrap { overflow-x: auto; margin: 0.75rem 0 1rem; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--line-soft); }
.doc th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); border-bottom-color: var(--line); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .doc { padding: 1.25rem 16px 2rem; } }
.doc blockquote { margin: 1rem 0; padding: 0.75rem 1rem; border-left: 4px solid var(--blue); background: var(--blue-tint); color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
.doc blockquote p { margin: 0; }
.doc code { overflow-wrap: anywhere; }
