:root{--bg:#0f1115;--fg:#d7dce5;--dim:#7f8899;--line:#1b2029;--link:#7cc4ff;--kw:#c792ea;--ty:#ffcb6b;--fn:#82aaff;--st:#c3e88d;--cm:#5c6773;--nu:#f78c6c;--op:#89ddff;--at:#ff9cac;--va:#d7dce5;--ns:#ffcb6b}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}
header{display:flex;gap:.75rem;align-items:baseline;padding:.6rem 1rem;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg)}
header .home{font-weight:700;letter-spacing:.06em}
header nav.crumbs{display:flex;gap:.45rem;align-items:baseline;min-width:0;overflow:hidden;white-space:nowrap}
header nav.crumbs .sep{color:var(--dim)}
header nav.crumbs .here{color:var(--fg)}
header .crumb{color:var(--dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
span.ln{color:var(--dim);user-select:none;padding-right:.9rem}
span.ln:target{color:var(--fg);background:var(--line)}
main{padding:1rem}
ul.listing{list-style:none;margin:0;padding:0;max-width:70rem}
ul.listing li{display:flex;align-items:baseline;gap:1rem;padding:.15rem .3rem;border-bottom:1px solid #151a22}
ul.listing li.dir a{color:var(--ty)}
ul.listing .size{color:var(--dim);margin-left:auto}
ul.listing .raw{color:var(--dim)}
form.share{display:inline}
ul.listing li.dir form.share{margin-left:auto}
ul.listing form.share button{font:inherit;font-size:11px;line-height:1;color:var(--dim);background:none;border:1px solid var(--line);border-radius:3px;padding:.05rem .4rem;cursor:pointer}
ul.listing form.share button:hover{color:var(--link);border-color:var(--link)}
pre.code{margin:0;padding:.75rem 1rem 3rem;overflow-x:auto;tab-size:4}
pre.code .ln{color:#3c4453;user-select:none;display:inline-block;width:4.5em;text-align:right;padding-right:1.2em}
footer{padding:.75rem 1rem;border-top:1px solid var(--line);color:var(--dim);font-size:12px}
.hl-keyword,.hl-module{color:var(--kw)}
.hl-type,.hl-type-builtin{color:var(--ty)}.hl-constructor{color:var(--ty)}.hl-tag{color:var(--ty)}
.hl-function,.hl-function-method,.hl-function-builtin{color:var(--fn)}.hl-function-method{font-style:italic}
.hl-string,.hl-string-special,.hl-embedded{color:var(--st)}.hl-string-escape,.hl-escape{color:var(--nu)}
.hl-comment{color:var(--cm);font-style:italic}.hl-comment-documentation{color:#7c8798;font-style:italic}
.hl-number,.hl-boolean{color:var(--nu)}.hl-constant,.hl-constant-builtin{color:var(--nu)}
.hl-operator{color:var(--op)}
.hl-namespace,.hl-label{color:var(--ns)}.hl-function-macro,.hl-function-special{color:var(--fn)}.hl-property{color:var(--op)}
.hl-variable{color:var(--va)}.hl-variable-parameter,.hl-attribute{color:var(--at)}.hl-variable-builtin{color:var(--at)}
.hl-punctuation-bracket,.hl-punctuation-delimiter,.hl-punctuation-separator{color:#8b95a7}
.hl-delimiter,.hl-punctuation-special{color:#8b95a7}
section.readme,
.md-body{border-top:1px solid var(--line);margin-top:1.25rem;padding:.5rem 0 3rem;max-width:70rem;overflow-wrap:break-word}
/* The page wrapper is a child of body, not of main, so it carries its own 1rem gutter — the site standard — and the preview's text, the source's text and the tabs share one left edge, so toggling views does not shift the text. It is `.md-body`-only on purpose: the README wrapper already sits inside main's 1rem and would double to 2rem. */
.md-body{padding-left:1rem;padding-right:1rem}
section.readme h1,section.readme h2,section.readme h3,section.readme h4,section.readme h5,section.readme h6,
.md-body h1,.md-body h2,.md-body h3,.md-body h4,.md-body h5,.md-body h6{margin:1.3em 0 .5em;line-height:1.25}
section.readme h1,
.md-body h1{font-size:1.5em;border-bottom:1px solid var(--line);padding-bottom:.3em}
section.readme h2,
.md-body h2{font-size:1.2em;border-bottom:1px solid var(--line);padding-bottom:.3em}
section.readme h3,
.md-body h3{font-size:1.05em}
section.readme h4,section.readme h5,section.readme h6,
.md-body h4,.md-body h5,.md-body h6{font-size:1em;color:var(--dim)}
section.readme p,
.md-body p{margin:.7em 0}
section.readme code,
.md-body code{background:var(--line);border-radius:3px;padding:.05em .3em}
section.readme pre.code,
.md-body pre.code{background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:.75rem 1rem;margin:.8em 0}
section.readme pre.code code,
.md-body pre.code code{background:none;padding:0}
section.readme ul,section.readme ol,
.md-body ul,.md-body ol{margin:.6em 0;padding-left:1.5em}
section.readme li,
.md-body li{margin:.15em 0}
section.readme li>input[type=checkbox],
.md-body li>input[type=checkbox]{margin-right:.4em;vertical-align:middle}
section.readme blockquote,
.md-body blockquote{margin:.8em 0;padding:.1em 1em;border-left:3px solid var(--line);color:var(--dim)}
section.readme blockquote.bq,
.md-body blockquote.bq{padding:.5em 1em;border-left-width:4px;color:var(--fg)}
section.readme blockquote.note,
.md-body blockquote.note{border-left-color:var(--link)}
section.readme blockquote.tip,
.md-body blockquote.tip{border-left-color:var(--st)}
section.readme blockquote.important,
.md-body blockquote.important{border-left-color:var(--kw)}
section.readme blockquote.warning,
.md-body blockquote.warning{border-left-color:var(--ty)}
section.readme blockquote.caution,
.md-body blockquote.caution{border-left-color:var(--nu)}
section.readme table,
.md-body table{border-collapse:collapse;margin:.8em 0;font-size:12px}
section.readme th,section.readme td,
.md-body th,.md-body td{border:1px solid var(--line);padding:.25em .6em;text-align:left}
section.readme th,
.md-body th{background:var(--line)}
section.readme .a-left,
.md-body .a-left{text-align:left}section.readme .a-center,.md-body .a-center{text-align:center}section.readme .a-right,.md-body .a-right{text-align:right}
section.readme hr,
.md-body hr{border:0;border-top:1px solid var(--line);margin:1.3em 0}
section.readme .dead-link,
.md-body .dead-link{color:var(--dim);border-bottom:1px dotted var(--dim)}
section.readme .readme-img,
.md-body .readme-img{color:var(--dim);font-style:italic}
section.readme .readme-note,
.md-body .readme-note{color:var(--dim);margin:.2em 0}
section.readme .fn,
.md-body .fn{color:var(--dim);font-size:.95em;margin:.4em 0}
section.readme .fn-label,
.md-body .fn-label{color:var(--fg)}
section.readme .fnref a,
.md-body .fnref a{font-size:.85em}
/* The markdown page's toggle. Radios are the state, labels the tabs, and the
   two `display:none` mirrors are the whole mechanism — no script, so a share
   works from the bytes it copied. Without CSS both views show, preview first. */
input.view{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
input.view:focus-visible~.views nav.tabs label[for=view-preview],input.view:focus-visible~.views nav.tabs label[for=view-raw]{outline:1px solid var(--link)}
nav.tabs{display:flex;gap:.2rem;padding:.5rem 1rem 0}
nav.tabs label{font-size:12px;color:var(--dim);border:1px solid var(--line);border-bottom:0;border-radius:3px 3px 0 0;padding:.2rem .7rem;cursor:pointer}
nav.tabs label:hover{color:var(--link);border-color:var(--link)}
#view-preview:checked~.views nav.tabs label[for=view-preview],#view-raw:checked~.views nav.tabs label[for=view-raw]{color:var(--fg);border-color:var(--fg);background:var(--line)}
#view-raw:checked~.views .md-body{display:none}
#view-preview:checked~.views>pre.code{display:none}
/* A line anchor is a deep link into the source, so it outranks the state it
   cannot be written as: `#L12` targets a span inside the raw view, and a
   `display:none` target cannot be scrolled to. With the preview checked and a
   line targeted, the source is shown instead and the Raw tab is the one drawn
   active. Browsers without `:has()` ignore these four rules and land at the
   top of the preview; nothing breaks. */
#view-raw:checked~.views>pre.code{margin-top:1.25rem}
#view-preview:checked~.views:has(pre.code .ln:target)>.md-body{display:none}
#view-preview:checked~.views:has(pre.code .ln:target)>pre.code{display:block;margin-top:1.25rem}
#view-preview:checked~.views:has(pre.code .ln:target) nav.tabs label[for=view-preview]{color:var(--dim);border-color:var(--line);background:transparent}
#view-preview:checked~.views:has(pre.code .ln:target) nav.tabs label[for=view-raw]{color:var(--fg);border-color:var(--fg);background:var(--line)}
