/* The wiki pages (/wiki/<slug>/). First, the Fluid Theme tokens that the vendored table of contents (ln-toc.css, from the-fluid-theme
   src/components/toc.css) reads, mapped to this site's own; then the page. */
:root{
  --page-edge:var(--space-gutter);
  --space-1:.25rem; --space-s:.75rem; --space-m:1.25rem; --space-l:2rem; --space-xl:3rem; --space-section:4rem;
  --step--1:.875rem; --step-0:1.0625rem;
  --color-text:var(--cream); --color-text-muted:var(--muted); --color-surface:var(--bg-2); --color-surface-raised:var(--bg-3); --color-border:var(--line-dark);
  --border-width:1px; --border-width-thick:3px; --accent-ink:var(--accent-2);
  --weight-medium:500; --weight-display:700; --_dark-weight:0;
  --duration-normal:.25s; --ease-settle:cubic-bezier(.2,.7,.2,1); --z-sticky:1100; /* the theme's value: the pinned player (z-index 1101, player.css) sits above the dock */
  --toc-dock-bg:var(--bg-2);
}
/* The TOC's two offsets (the-fluid-theme v2.8.0). The dock sits on the pinned player when it shows as a bottom bar (--lnp-h is the bar's full
   height; the player shows only with script, so the rule does too; "dock-right" is a bottom bar until it docks as a column); the rail and the top bar stay below this site's fixed header (--bar-h). Nothing copied: the module reads these two properties. */
:root{--toc-top-offset:var(--bar-h)}
:root.has-js:has(#lnp[data-position="drawer"], #lnp[data-position="bar-bottom"], #lnp[data-position="dock-right"]:not([data-docked])){--toc-dock-offset:var(--lnp-h)}
.wiki-wide{padding-inline:0}
.wiki-wide .article__body{padding-inline:max(var(--page-edge),(100% - var(--container-content))/2);padding-block:0 var(--space-section)}
/* space after the list only while it is an inline list: the dock and the top bar are fixed or sticky and keep their own (zero) margin */
.wiki-wide .article__body > .toc:is(:not([data-toc-mode]), [data-toc-mode="inline"]){margin-block:0 var(--space-l)}
.wiki-body{max-width:46rem;min-width:0}
.wiki-body h1{overflow-wrap:anywhere}
.wiki-banner{margin:0 0 1rem;padding:.55rem .8rem;border:1px solid var(--line-dark);border-radius:.4rem;background:var(--bg-2);color:var(--cream-2);font-size:.9rem;line-height:1.4}
.wiki-tabs{margin:1rem 0 1.5rem;color:var(--cream-2)}
.wiki-tabs a[aria-current]{color:var(--accent-2);text-decoration:none;font-weight:700}
.wiki-body .acct-sec{scroll-margin-top:calc(var(--bar-h) + 1rem)}
@media print{.wiki-banner{border-color:#000;color:#000}}

/* The wiki's navigation, search and index (src/wiki-kit.mjs; D21) */
.wk-bar .bar-in{gap:.75rem}
.wk-bar .rv-link,.wk-bar .rv-logout{margin-left:auto;white-space:nowrap}
.wk-home{flex:none;font-weight:700;font-size:.92rem;line-height:1;color:var(--accent-2);text-decoration:none;padding:.5rem .75rem;border:1px solid var(--line-dark);border-radius:.4rem;white-space:nowrap} /* the same size as .bar-top (News) beside it */
.wk-search{display:flex;gap:.4rem;flex:1 1 14rem;max-width:30rem;margin:0}
.wk-search input[type=search]{flex:1;min-width:0;padding:.45rem .65rem;border:1px solid var(--line-dark);border-radius:.4rem;background:var(--bg-2);color:var(--cream);font:inherit}
.wk-search button{padding:.45rem .8rem;border:1px solid var(--line-dark);border-radius:.4rem;background:var(--bg-2);color:var(--cream);font:inherit;cursor:pointer}
.wk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wk-crumbs{margin:0 0 .75rem;font-size:.9rem;color:var(--cream-2)}
.wk-crumbs ol{display:flex;flex-wrap:wrap;gap:.25rem;margin:0;padding:0;list-style:none}
.wk-crumbs li+li::before{content:"\203A";margin-right:.25rem;color:var(--cream-2)}
.wk-crumbs a{color:var(--cream-2)}
.wk-chip{display:inline-block;padding:.05rem .45rem;border:1px solid var(--line-dark);border-radius:999px;font-size:.75rem;color:var(--cream-2);vertical-align:middle;white-space:nowrap}
.wk-facts{display:grid;grid-template-columns:max-content 1fr;gap:.3rem 1rem;margin:1rem 0}
.wk-facts dt{color:var(--cream-2)}
.wk-facts dd{margin:0;overflow-wrap:anywhere}
.wk-note{padding:.5rem .75rem;border-left:3px solid var(--accent-2);background:var(--bg-2)}
.wk-list li{margin:.15rem 0}
/* index */
.wk-index{max-width:70rem;margin-inline:auto;min-width:0}
.wk-hero{padding:1.25rem 0 1rem;border-bottom:1px solid var(--line-dark);margin-bottom:1rem}
.wk-hero h1{margin:.2rem 0 .5rem;font-size:clamp(1.8rem,5vw,3rem);line-height:1.05}
.wk-search-big{max-width:36rem;margin-top:1rem}
.wk-search-big input[type=search]{padding:.7rem .9rem;font-size:1.05rem}
.wk-pills{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 .75rem}
.wk-pill{padding:.3rem .7rem;border:1px solid var(--line-dark);border-radius:999px;color:var(--cream-2);text-decoration:none;font-size:.9rem}
.wk-pill b{font-weight:600;color:var(--cream)}
.wk-pill[aria-current]{background:var(--accent-2);color:#000;border-color:var(--accent-2)}
.wk-pill[aria-current] b{color:#000}
.wk-az a[aria-current]{color:var(--accent-2);font-weight:700;text-decoration:none}
.wk-az{display:flex;flex-wrap:wrap;gap:.1rem .15rem;margin:.5rem 0 1rem}
.wk-az a{display:inline-flex;align-items:center;justify-content:center;min-width:1.6rem;min-height:1.6rem;padding:.15rem .4rem;border-radius:.3rem;color:var(--cream-2);text-decoration:none;font-family:var(--font-mono,monospace);font-size:.85rem}
.wk-az a:hover{background:var(--bg-2)}
.wk-grid,.wk-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.6rem;list-style:none;margin:0 0 1rem;padding:0}
.wk-card{display:flex;flex-direction:column;gap:.3rem;padding:.75rem .85rem;border:var(--vs-card-border,1px solid var(--line-dark));border-radius:var(--vs-card-radius,.6rem);background:var(--vs-card-bg,var(--bg-2));min-width:0}
.wk-card:hover{border-color:var(--accent-2)}
.wk-card-name{font-weight:700;font-size:1.02rem;overflow-wrap:anywhere}
.wk-card-sub{font-size:.85rem;color:var(--cream-2);overflow-wrap:anywhere}
.wk-card .wk-chip{align-self:flex-start}
.wk-shelf{margin:0 0 1.5rem}
.wk-shelf h2{margin:.5rem 0}
.wk-pager a{margin-right:1rem}
@media (max-width:40rem){.wk-bar .logo-t{display:none}.wk-bar .wk-search button{display:none}.wk-search{flex-basis:auto}.wk-facts{grid-template-columns:1fr}.wk-facts dd{margin-bottom:.4rem}}

/* layouts: the view switcher (src/view-pref.mjs). A theme restyles it with --vs-radius, --vs-border, --vs-active-bg, --vs-active-fg,
   --vs-card-radius, --vs-card-border, --vs-card-bg (square corners: --vs-radius:0; --vs-card-radius:0). (Neil 2026-11-14: every layout visible to visitors; one is the default) */
.wk-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem;margin:.25rem 0 1rem}
.wk-seg{display:inline-flex;border:var(--vs-border,1px solid var(--line-dark));border-radius:var(--vs-radius,.55rem);overflow:hidden}
.wk-seg a{padding:.45rem .85rem;color:var(--cream-2);text-decoration:none;font-size:.92rem;white-space:nowrap}
.wk-seg a+a{border-left:1px solid var(--line-dark)}
.wk-seg a[aria-current]{background:var(--vs-active-bg,var(--accent-2));color:var(--vs-active-fg,#000);font-weight:700}
.wk-seg a:not([aria-current]):hover{background:var(--bg-2);color:var(--cream)}
.wk-tools .wk-az{margin:0}
.wk-active{margin:0 0 1rem;color:var(--cream-2)}
/* list */
.wk-lines{list-style:none;margin:0 0 1rem;padding:0;border-top:1px solid var(--line-dark)}
.wk-line{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:1rem;align-items:baseline;padding:.55rem .25rem;border-bottom:1px solid var(--line-dark)}
.wk-line:hover{background:var(--bg-2)}
.wk-line a{font-weight:600;overflow-wrap:anywhere}
.wk-line-sub{color:var(--cream-2);font-size:.88rem}
/* shelves: one horizontal row per kind, state or letter */
.wk-shelf{margin:0 0 1.75rem}
.wk-shelf h2{margin:.25rem 0 .6rem;font-size:1.25rem}
.wk-shelf h2 a{text-decoration:none}
.wk-row{display:flex;gap:.6rem;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 .6rem;margin:0;list-style:none}
.wk-row .wk-card{flex:0 0 13.5rem;scroll-snap-align:start}
.wk-more{flex:0 0 8rem;display:flex;align-items:center;justify-content:center;border:1px dashed var(--line-dark);border-radius:.6rem}
/* A to Z: the letter in its own gutter, names in calm columns, no chips when one type is shown */
.wk-letter{display:grid;grid-template-columns:3.5rem 1fr;gap:0 1rem;padding:.9rem 0;border-top:1px solid var(--line-dark)}
.wk-letter-k{margin:0;font-size:2rem;line-height:1;color:var(--accent-2);position:sticky;top:calc(var(--bar-h) + .5rem);align-self:start}
.wk-cols{columns:15rem 3;column-gap:2rem;list-style:none;margin:0;padding:0}
.wk-cols li{break-inside:avoid;padding:.18rem 0;line-height:1.35}
.wk-cols .wk-line-sub{font-size:.8rem}
.wk-cols .wk-chip{font-size:.68rem}
@media (max-width:40rem){.wk-line{grid-template-columns:1fr auto}.wk-line .wk-line-sub{grid-column:1/-1;order:3}.wk-letter{grid-template-columns:2.2rem 1fr}.wk-letter-k{font-size:1.5rem}}
.wk-letnav{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:.5rem 0 1rem;padding:.5rem 0;border-block:1px solid var(--line-dark)}
.wk-letnav a{padding:.35rem .8rem;border:1px solid var(--line-dark);border-radius:var(--vs-radius,.55rem);text-decoration:none;font-weight:700}
.wk-letnav b{font-size:1.1rem;color:var(--accent-2)}
.wk-dock{position:sticky;bottom:0;z-index:15;display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1.5rem calc(-1 * var(--space-gutter,1rem)) 0;padding:.45rem var(--space-gutter,1rem);background:var(--vs-dock-bg,var(--accent-2));color:var(--vs-dock-fg,#000);font-size:.95rem;box-shadow:0 -6px 16px rgba(0,0,0,.35)}
.wk-dock a{color:inherit;font-weight:700;text-decoration:none;padding:.2rem .5rem;border-radius:var(--vs-radius,.4rem)}
.wk-dock a:hover{background:rgba(0,0,0,.12)}
.wk-dock b{font-weight:700;opacity:.8}
/* the funding directory, /wiki/funding/ (src/funding-pages.mjs, D33) */
.fd-region{margin:1.75rem 0 0}
.fd-region>h2{font-size:clamp(1.4rem,3.5vw,2rem);margin:0 0 .5rem;padding-top:.75rem;border-top:1px solid var(--line-dark)}
.fd-type>h3{font:400 .82rem/1.2 var(--font-mono);text-transform:uppercase;letter-spacing:.08em;color:var(--accent-2);margin:1.1rem 0 .6rem}
.fd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(19rem,1fr));gap:.7rem;list-style:none;margin:0;padding:0}
.fd-card{display:flex;flex-direction:column;gap:.45rem;padding:.9rem 1rem;border:var(--vs-card-border,1px solid var(--line-dark));border-radius:var(--vs-card-radius,.6rem);background:var(--vs-card-bg,var(--bg-2));min-width:0}
.fd-name{margin:0;font-size:1.05rem;line-height:1.3;overflow-wrap:anywhere}
.fd-funder{margin:0;font-size:.88rem;color:var(--cream-2)}
.fd-facts{margin:0;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.3rem .75rem;font-size:.9rem}
.fd-facts dt{color:var(--cream-2);font-size:.8rem;padding-top:.1rem}
.fd-facts dd{margin:0;overflow-wrap:anywhere}
.fd-links{margin:auto 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .8rem;padding-top:.3rem}
.fd-links .btn{padding:.5rem 1rem;font-size:.9rem}
.fd-src{font-size:.82rem;color:var(--cream-2)}
.fd-src a{padding:.2rem .3rem}
.fd-checked{margin:0;font-size:.78rem;color:var(--cream-2)}
@media (max-width:520px){.fd-grid{grid-template-columns:minmax(0,1fr)}.fd-facts{grid-template-columns:minmax(0,1fr)}.fd-facts dd{margin-bottom:.25rem}}
/* phones: Wiki, News and Funding up top (D33); the bar's search gives way (the wiki index and search pages have their own box) */
@media (max-width:520px){.wk-bar .bar-in{gap:.4rem}.wk-home{padding:.42rem .5rem;font-size:.8rem}.wk-bar .wk-search{display:none}}

/* Band articles (src/wiki-article.mjs): citations and the numbered sources */
.wk-cite{font:700 .68em/0 var(--font-mono,monospace);margin-left:.08em}
.wk-cite a{text-decoration:none;padding:0 .1em}
.wk-sources ol{padding-left:1.4rem}
.wk-sources li{margin:.25rem 0;overflow-wrap:anywhere}
