/* Per-file evidence dashboard (assets/perfile-evidence.js): same palette and panels as the scientific figures.
   Filetype hues validated (light #fff and dark #10283a surfaces): C #187bc4, Lisp #2f9e7a, Pascal #8a5cc2. */
.pf-root{display:flex;flex-direction:column;gap:1.2rem}
.pf-terms{margin:0;padding:1rem 1.2rem;border:1px solid var(--line,#d5e0eb);border-radius:.8rem;font-size:.9rem;line-height:1.55}
.pf-terms dt{font-weight:650;margin-bottom:.3rem}.pf-terms dd{margin:0 0 .25rem}
.pf-legend{display:flex;flex-wrap:wrap;gap:1rem;margin:.2rem 0;font-size:.9rem}
.pf-swatch{display:inline-block;width:.75rem;height:.75rem;border-radius:50%;vertical-align:-.05rem}
.pf-c-swatch{background:#187bc4}.pf-lisp-swatch{background:#2f9e7a}.pf-pascal-swatch{background:#8a5cc2}
.pf-svg{width:100%;min-width:430px;display:block;margin:.5rem 0;color:inherit}
.pf-svg.pf-small{min-width:0}
.pf-frame{fill:none;stroke:var(--line,#d5e0eb)}
.pf-grid{stroke:#8a99ad33;stroke-width:1}
.pf-axis{stroke:#8a99ad;stroke-width:1}
.pf-diagonal{stroke:#8a99ad;stroke-width:1.5;stroke-dasharray:6 5}
.pf-dot{fill:#55a6b7;stroke:var(--panel,#fff);stroke-width:2;fill-opacity:.9}
.pf-dot.pf-loss{stroke:#c47747;stroke-width:2.2}
.pf-c,.pf-box.pf-c{fill:#187bc4}.pf-lisp,.pf-box.pf-lisp{fill:#2f9e7a}.pf-pascal,.pf-box.pf-pascal{fill:#8a5cc2}
.pf-bar{fill:#55a6b7}.pf-bar.pf-c{fill:#187bc4}.pf-bar.pf-lisp{fill:#2f9e7a}.pf-bar.pf-pascal{fill:#8a5cc2}.pf-bar.pf-html{fill:#b3263f}.pf-html,.pf-box.pf-html{fill:#b3263f}.pf-html-swatch{background:#b3263f}.pf-html-stroke{stroke:#b3263f}.pf-bar.pf-loss-bar{fill:#c47747}
.pf-box{fill-opacity:.35;stroke:currentColor;stroke-width:1}
.pf-median{stroke:currentColor;stroke-width:2.5}
.pf-whisker{stroke:currentColor;stroke-width:1.2}
.pf-outlier{fill:none;stroke:#c47747;stroke-width:2}
.pf-line{fill:none;stroke:#187bc4;stroke-width:2}
.pf-dot.pf-last{fill:#187bc4}
.pf-curve-srd{fill:none;stroke:#187bc4;stroke-width:2.5}
.pf-curve-cmp{fill:none;stroke:#8a99ad;stroke-width:2.5;stroke-dasharray:8 5}
.pf-mark-srd{fill:#187bc4;stroke:var(--panel,#fff);stroke-width:2}
.pf-mark-cmp{fill:#8a99ad;stroke:var(--panel,#fff);stroke-width:2}
.pf-front{fill:none;stroke:#2f9e7a;stroke-width:2}
.pf-pt{fill:#8a99ad;stroke:var(--panel,#fff);stroke-width:2}
.pf-pt-srd{fill:#187bc4;stroke:var(--panel,#fff);stroke-width:2}
.pf-pt-dom{fill-opacity:.35}
.pf-calc-out p{margin:.2rem 0;font-variant-numeric:tabular-nums}
.pf-tick{fill:currentColor;font:13px system-ui,sans-serif;font-variant-numeric:tabular-nums;opacity:.85}
.pf-axis-title{fill:currentColor;font:14px system-ui,sans-serif}
.pf-swatch-line{display:inline-block;width:1.8rem;height:0;border-top:3px solid #187bc4;vertical-align:middle}
.pf-swatch-dash{border-top:3px dashed #8a99ad}
.pf-ecdf{fill:none;stroke-width:2.2}.pf-c-stroke{stroke:#187bc4}.pf-lisp-stroke{stroke:#2f9e7a}.pf-pascal-stroke{stroke:#8a5cc2}
.pf-composition{margin:1.2rem 0 .4rem}.pf-composition figcaption{font-weight:650;margin-bottom:.5rem}
.pf-comp-svg{width:100%;height:auto;display:block}.pf-seg-prog{fill:#55a6b7}.pf-seg-lib{fill:#8a99ad}
.pf-seg-prog-swatch{background:#55a6b7}.pf-seg-lib-swatch{background:#8a99ad}
.pf-comp-legend{list-style:none;padding:0;margin:.6rem 0 0;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;font-size:.9rem;font-variant-numeric:tabular-nums}
.pf-worst{width:100%;border-collapse:collapse;font-size:.9rem;font-variant-numeric:tabular-nums}.pf-worst th,.pf-worst td{padding:.35rem .6rem;border-bottom:1px solid var(--line,#d5e0eb);text-align:right}.pf-worst th:first-child,.pf-worst td:first-child,.pf-worst th:nth-child(2),.pf-worst td:nth-child(2){text-align:left}
/* the worst-inputs table follows its panel's colours (the panel turns dark in dark mode; .table-shell alone is white) */
.science-panel .table-shell{background:var(--panel,#fff);border-color:var(--line,#d5e0eb)}
.pf-worst th{background:#e9f1f5;color:#142a3b;font-size:.78rem;letter-spacing:.04em}.pf-worst td{color:#142a3b}
.pf-worst tbody tr:nth-child(even) td{background:#f5f8fb}
@media(prefers-color-scheme:dark){.science-panel .table-shell{background:#0c2131;border-color:#3a5266}.pf-worst th{background:#16324a;color:#edf5fc}.pf-worst td{color:#edf5fc;border-bottom-color:#2a4358}.pf-worst tbody tr:nth-child(even) td{background:#112a3e}}
