
/* Compact: small type and tight spacing for long reference pages. */

:root {
    --paper: #fff;
    --ink: #202122;
    --soft: #5f6368;
    --rule: #d5d8dc;
    --wash: #f3f4f6;
    --line: #9aa0a8;
    --link: #1b5cb3;
    --seen: #6a4aa5;
    --body-font: system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
    --size: .9375rem;
    --leading: 1.46;
    --measure: 48em;
    --gap: .72em;
}
@media (prefers-color-scheme: dark) {
    :root {
        --paper: #1a1b1e;
        --ink: #d6d8dc;
        --soft: #9aa0a8;
        --rule: #34373d;
        --wash: #24262a;
        --line: #6b7079;
        --link: #8db8f2;
        --seen: #bba3e6;
        --picture: #e8e8e8;
    }
}

.page { padding-top: clamp(1.25rem, 4vw, 2.75rem); }
.head { margin-bottom: 1.4em; }
.title { font-size: 1.85em; font-weight: 700; letter-spacing: -.012em; }
.lede { font-size: 1em; }
.source { margin-top: .9em; padding-bottom: .55em; }

/* Reference pages are mostly links. Colour marks them, underlines would
   turn every paragraph into stripes. */
.content a { color: var(--link); text-decoration: none; }
.content a:visited { color: var(--seen); }
.content a:hover, .content a:focus-visible { color: var(--mark-ink); }

.content h1, .content h2, .content h3, .content h4 { margin: 1.5em 0 .45em; font-weight: 700; }
.content h1, .content h2 { padding-bottom: .25em; border-bottom: 1px solid var(--rule); font-size: 1.3em; }
.content h3 { font-size: 1.08em; }
.content li { margin: .12em 0; }
.content figure { margin: 1em 0; }
.content th, .content td { padding: .3em .6em; border: 1px solid var(--rule); }
.content th { background: var(--wash); }

/* Pictures step aside so the text keeps going. */
@media (min-width: 46em) {
    .content figure { float: right; clear: right; width: 15.5em; margin: .25em 0 .9em 1.4em; }
    .content h1, .content h2, .content hr { clear: both; }
}
