/* knobit.org: plain, product-neutral. System fonts, no scripts. */
:root { --ink: #1d2433; --muted: #5b6475; --rule: #dde1e8; --paper: #fcfcfd; --link: #1f5fa8; --code: #f1f3f6; color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root { --ink: #e6e9ef; --muted: #a3abba; --rule: #2e3646; --paper: #141922; --link: #8fbaf0; --code: #1e2531; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif; }
header, main, footer { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }
header { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; padding-top: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
header .home { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
header nav a { margin-right: 1rem; color: var(--muted); text-decoration: none; font-size: .95rem; }
header nav a:hover { color: var(--ink); text-decoration: underline; }
main { padding-top: 1.5rem; padding-bottom: 3rem; }
h1 { font-size: 1.8rem; line-height: 1.2; margin: 0 0 .4rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .3rem; }
a { color: var(--link); }
.lede { font-size: 1.1rem; max-width: 46rem; }
.type, .note, .id, .lang { color: var(--muted); font-size: .9rem; }
.type a { color: var(--muted); }
.iri code, .iri { font: .9rem ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; }
.iri code { background: var(--code); padding: .15rem .4rem; border-radius: 4px; user-select: all; }
.formats { font-size: .92rem; }
table { border-collapse: collapse; width: 100%; margin: .5rem 0 1rem; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .4rem .5rem; border-bottom: 1px solid var(--rule); }
th { width: 14rem; font-weight: 600; color: var(--muted); }
code { background: var(--code); padding: .05rem .3rem; border-radius: 3px; font-size: .92em; }
ul.list { padding-left: 1.1rem; } ul.list li { margin: .2rem 0; }
ul.cols { columns: 3 14rem; padding-left: 1.1rem; font-size: .92rem; }
section { border-top: 1px solid var(--rule); }
footer { border-top: 1px solid var(--rule); padding-top: 1rem; padding-bottom: 2.5rem; color: var(--muted); font-size: .88rem; }
footer a { color: var(--muted); }
@media (max-width: 40rem) { th { width: auto; display: block; border-bottom: 0; padding-bottom: 0; } td { display: block; } }
