.doc { max-width: 880px; padding-top: 40px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; margin: 0.3em 0 0.5em; }
.doc h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 1.6em; }
.doc h3 { margin-top: 1.4em; }
.doc h4 { font-size: 1rem; margin: 1.2em 0 0.3em; }
.doc .tag a { color: inherit; }
/* Nothing may push the page sideways: long links, file names and number strings break anywhere; wide tables, code and formulas scroll in their own box. */
.doc h1, .doc h2, .doc h3, .doc h4, .doc p, .doc li, .doc a, .doc strong, .doc em, .doc figcaption, .doc dd, .doc dt, .doc blockquote { overflow-wrap: anywhere; }
.doc .tscroll { overflow-x: auto; margin: 1em 0; }
.doc table { font-size: 0.82rem; width: auto; min-width: 60%; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 6px 12px 6px 0; text-align: left; vertical-align: top; min-width: 4.5em; }
.doc th { color: var(--fg2); font-weight: 600; }
.doc pre { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; overflow-x: auto; font-size: 0.8rem; line-height: 1.45; max-width: 100%; }
.doc code { font-family: var(--mono); font-size: 0.88em; overflow-wrap: anywhere; }
.doc pre code { overflow-wrap: normal; }
.doc math { max-width: 100%; }
.doc math[display="block"] { overflow-x: auto; overflow-y: hidden; }
.doc img { display: block; max-width: 100%; height: auto; background: #fff; border-radius: 4px; }
.doc figure { margin: 1.6em 0; }
.doc figure a { display: block; }
.doc figcaption { font-size: 0.85rem; color: var(--fg2); margin: 8px 0 0; max-width: none; }
.doc figcaption a { display: inline; white-space: nowrap; }
.doc .state { font-size: 0.93rem; color: var(--fg2); border-left: 3px solid var(--sig); padding: 2px 0 2px 14px; margin: 0 0 1.4em; max-width: 68ch; }
.doc li { margin: 0.35em 0; }
.doc .lede { font-size: 1.12rem; color: var(--fg); }
.doc .verdict { border-left: 3px solid var(--sig); padding: 2px 0 2px 16px; margin: 1.2em 0; }
.doc .list { list-style: none; padding: 0; }
.doc .list li { border-top: 1px solid var(--line); padding: 14px 0; margin: 0; }
.doc .list .t { font-weight: 600; font-size: 1.05rem; }
.doc .list .n { color: var(--fg2); font-size: 0.93rem; display: block; margin-top: 4px; }
.doc .files a { font-family: var(--mono); font-size: 0.85rem; margin-right: 14px; white-space: nowrap; }
