/* Страницы документов: лист бумаги, узкая колонка, нумерация пунктов */
body { background: var(--paper); }
.doc-top { background: var(--wine); color: var(--on-wine); padding: 18px var(--pad-x); }
.doc-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 860px; }
.doc-top a:not(.logo) { font-size: var(--fs-small); color: var(--on-wine-muted); }
.doc { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pad-x) 96px; }
.doc h1 { font-size: clamp(2.25rem, 1.2rem + 3vw, 3.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; text-wrap: balance; }
.doc__meta { margin: 16px 0 40px; color: var(--ink-muted); font-size: var(--fs-small); }
.doc h2 { margin: 40px 0 14px; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.015em; scroll-margin-top: 24px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ol, .doc ul { padding-left: 1.4em; margin-bottom: 12px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule-paper); }
.doc th { font-weight: 600; background: var(--paper-2); }
.doc .req { padding: 20px 24px; border-radius: var(--radius); background: var(--paper-2); }
.doc .req p { margin-bottom: 4px; }
