/* Integral [+] Facticity Wiki, prototype revision 4 (local review, 27 Nov 2026).
   Wiki entries use the publication's article styles as they are (inline on every article page, Article Information included).
   This file adds only: the Wiki type colour, the manuscripts' reference sections, the "Links to this entry" row, note previews. */
.nw-is-wiki { color:#b9a7e0; }
.wk-site .nw-sheet .nw-is-wiki { color:inherit; }
.wk-ahead h1 { margin-bottom:0; }

/* the manuscripts' end matter: Bibliography, Further reading, Other internet resources, Related entries */
.wk-refs ul { margin:0; padding:0; list-style:none; }
.wk-refs li { margin:0 0 .72em; padding-left:1.6em; text-indent:-1.6em; }
.wk-related-entries p { padding-left:0 !important; text-indent:0 !important; }

/* GFM footnotes, if a manuscript ever uses them: numbered references, lettered notes */
.wk-fn { font:600 .62em/0 var(--sans); vertical-align:super; margin-left:1px; }
.wk-fn a { color:var(--nw-gold); text-decoration:none; padding:0 1px; }
.wk-fn + .wk-fn::before { content:","; color:var(--nw-faint); margin-right:1px; }
.wk-ref-list, .wk-note-list { margin:0; padding-left:1.8em; list-style:decimal; }
.wk-note-list { list-style:lower-alpha; }
.wk-ref-list li, .wk-note-list li { display:list-item; padding-left:.3em !important; text-indent:0 !important; margin:0 0 .6em; }
.wk-fn-back { color:var(--nw-faint); text-decoration:none; margin-left:3px; }
.wk-tip { position:fixed; z-index:30; max-width:min(380px,calc(100vw - 32px)); padding:12px 15px; color:var(--nw-text,#dfdbce); background:var(--nw-ink,#0b1112); border:1px solid var(--nw-rule-2,rgba(231,238,220,.3)); border-radius:2px; box-shadow:0 14px 40px rgba(0,0,0,.55); font:400 14.5px/1.45 var(--serif); pointer-events:none; }
.wk-tip b { margin-right:6px; color:var(--nw-gold,#e2bd70); font:600 11px/1 var(--sans); }

/* backlinks (Flowershow's native "links to this page") */
.wk-end { margin-top:2.6em; padding-top:1.2em; border-top:1px solid var(--nw-rule); font-size:.86em; }
.wk-end-row { display:grid; grid-template-columns:150px minmax(0,1fr); gap:6px 18px; margin:0 0 .9em; }
.wk-end-k { color:var(--nw-gold); font:600 10px/2 var(--sans); letter-spacing:.2em; text-transform:uppercase; }
.wk-end-v { display:flex; flex-wrap:wrap; gap:2px 14px; min-width:0; }
.wk-end-v a { white-space:nowrap; }
.wk-afoot .wk-tools { margin:18px 0 0; font:400 13px/1.4 var(--sans); }
.wk-raw { color:var(--nw-soft); }
.wk-raw:hover { color:var(--nw-gold); }
@media (max-width:760px) { .wk-end-row { grid-template-columns:1fr; gap:2px; } }
