/* Colours follow the University of Colorado Boulder brand palette (colours only; no logo or wordmark).
   One edit here changes the whole site. Gold is used as background/accent only — never as text on white (WCAG AA). */
:root{--cu-gold:#CFB87C;--cu-black:#000000;--cu-dark-gray:#565A5C;--cu-light-gray:#A2A4A3;
  --cu-bronze:#A88B4A;--cu-pale-gray:#D9D9D9;--cu-pale-gold:#F3EEDD;
  --ink:var(--cu-black);--muted:var(--cu-dark-gray);--line:var(--cu-pale-gray);--bg:#ffffff;--panel:#F5F5F4;
  --accent:var(--cu-gold);--accent-text:#7A6A3C;--accent2:var(--cu-gold);--warn:#8A4A1A;
  --r1:var(--cu-gold);--r2:var(--cu-dark-gray);--r3:var(--cu-bronze);--r4:var(--cu-pale-gray);--maxw:1240px;font-size:15px}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.45}
a{color:var(--accent-text);text-decoration:underline;text-decoration-color:var(--cu-gold);text-underline-offset:2px}a:hover{color:var(--cu-black);text-decoration-color:var(--cu-black)}
code,pre,.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}
pre{background:var(--panel);padding:.75rem;overflow:auto;border:1px solid var(--line);border-radius:6px}
h1{font-size:1.7rem;margin:.4rem 0 .6rem}h2{font-size:1.25rem;margin:1.6rem 0 .5rem;border-bottom:2px solid var(--cu-gold);padding-bottom:.2rem}h3{font-size:1.05rem;margin:1.1rem 0 .4rem}
.topnav{background:var(--cu-black);color:#fff;position:sticky;top:0;z-index:20;border-bottom:4px solid var(--cu-gold)}
.topnav .in{max-width:var(--maxw);margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:.2rem 1rem;padding:.45rem 1rem}
.topnav a{color:#fff;opacity:.92;padding:.25rem .3rem;border-radius:4px;text-decoration:none}.topnav a:hover{opacity:1;background:rgba(207,184,124,.25);color:#fff}
.topnav .brand{font-weight:600;margin-right:auto;opacity:1;color:var(--cu-gold)}
.topnav a.active{background:var(--cu-gold);color:var(--cu-black)}
main{max-width:var(--maxw);margin:0 auto;padding:1rem 1rem 3rem}
.crumbs{font-size:.85rem;color:var(--muted);margin:.2rem 0 .6rem}.crumbs a{color:var(--muted)}
footer{border-top:4px solid var(--cu-gold);color:var(--muted);font-size:.85rem;max-width:var(--maxw);margin:2rem auto;padding:1rem}
.lead{font-size:1.05rem;color:var(--cu-dark-gray);max-width:900px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem;margin:1rem 0}
.card{background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--cu-gold);border-radius:8px;padding:.7rem .8rem}
.card .num{font-size:1.5rem;font-weight:600;color:var(--ink)}.card .lbl{font-size:.8rem;color:var(--muted)}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem}
table.tbl{border-collapse:collapse;width:100%;font-size:.9rem}
table.tbl th,table.tbl td{border-bottom:1px solid var(--line);padding:.35rem .5rem;text-align:left;vertical-align:top}
table.tbl th{background:var(--cu-black);color:#fff}
table.tbl.compact th,table.tbl.compact td{padding:.2rem .4rem}
table.kv td:first-child{color:var(--muted);white-space:nowrap;width:220px}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
tr.final td{background:var(--cu-pale-gold)}
tr.masked td{color:var(--cu-dark-gray);text-decoration:line-through;text-decoration-color:var(--cu-dark-gray)}tr.masked td .tag{text-decoration:none}
.tag{display:inline-block;font-size:.75rem;padding:.05rem .4rem;border-radius:10px;background:var(--panel);border:1px solid var(--cu-light-gray);color:var(--cu-dark-gray)}
.tag.R1{background:var(--cu-gold);color:var(--cu-black);border-color:var(--cu-gold)}.tag.R2{background:var(--cu-dark-gray);color:#fff;border-color:var(--cu-dark-gray)}.tag.R3{background:var(--accent-text);color:#fff;border-color:var(--accent-text)}.tag.R4{background:var(--cu-pale-gray);color:var(--cu-black);border-color:var(--cu-light-gray)}
.tag.included{background:var(--cu-gold);color:var(--cu-black);border-color:var(--cu-gold)}.tag.excluded{background:var(--cu-dark-gray);color:#fff;border-color:var(--cu-dark-gray)}.tag.human_review{background:#fff;color:var(--cu-black);border:1px dashed var(--cu-dark-gray)}
.bar{display:inline-block;height:10px;background:var(--line);border-radius:3px;width:100px;vertical-align:middle;position:relative;overflow:hidden}
.bar>span{position:absolute;left:0;top:0;bottom:0;background:var(--cu-gold)}
.covrow{display:grid;grid-template-columns:200px 1fr 60px;gap:.5rem;align-items:center;font-size:.88rem;padding:.12rem 0}
.covrow .bar{width:100%}
.btn{display:inline-block;background:var(--cu-gold);color:var(--cu-black);padding:.4rem .8rem;border-radius:6px;border:1px solid var(--cu-gold);cursor:pointer;font-size:.9rem;text-decoration:none;font-weight:500}
.btn:hover{filter:brightness(1.06);color:var(--cu-black)}.btn.sec{background:#fff;color:var(--cu-black);border:1px solid var(--cu-dark-gray)}
.btn.flag{background:var(--cu-black);color:var(--cu-gold);border-color:var(--cu-black)}.btn.confirm{background:#fff;color:var(--cu-black);border:1px solid var(--cu-gold)}
.btn.xs{padding:.05rem .4rem;font-size:.75rem;border-radius:4px}
.btn:disabled{opacity:.5;cursor:default}
.btns{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}
.quote{font-style:italic;color:var(--cu-black)}
.note{background:var(--cu-pale-gold);border:1px solid var(--cu-gold);border-radius:6px;padding:.6rem .8rem;font-size:.9rem}
.small{font-size:.85rem;color:var(--muted)}
.searchbox{width:100%;max-width:640px;font-size:1.05rem;padding:.5rem .7rem;border:1px solid var(--cu-dark-gray);border-radius:6px}
#search-results{list-style:none;padding:0;margin:.4rem 0;max-width:640px}
#search-results li{padding:.3rem .5rem;border-bottom:1px solid var(--line)}
.sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem;margin:1rem 0}
.sections a.card{display:block;color:var(--ink);text-decoration:none}.sections a.card:hover{border-color:var(--cu-black)}
.sections .card b{color:var(--cu-black)}
img.fig{max-width:100%;height:auto;border:1px solid var(--line);border-radius:6px}
.exp{display:grid;grid-template-columns:300px 1fr;gap:1rem}
.filters{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:.7rem;font-size:.88rem;align-self:start;position:sticky;top:56px;max-height:calc(100vh - 64px);overflow:auto}
.filters label{display:block;margin:.5rem 0 .15rem;color:var(--muted);font-size:.8rem}
.filters .lbl{display:block;font-size:.8rem;color:var(--muted);margin-top:.5rem}
.filters select,.filters input{width:100%;padding:.25rem .35rem;border:1px solid var(--cu-light-gray);border-radius:4px;font-size:.88rem;background:#fff}
.filters .row2{display:flex;gap:.4rem}
.filters .chk{display:inline-flex;align-items:center;gap:.25rem;margin-right:.6rem;color:var(--ink)}
.filters .chk input{width:auto}
.filters input[type=range]{accent-color:var(--cu-gold)}
#result-wrap{overflow:auto}
#result-table td{white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis}
#result-table tbody tr{cursor:pointer}#result-table tbody tr:hover{background:var(--cu-pale-gold)}
.pager{display:flex;gap:.5rem;align-items:center;margin:.5rem 0;flex-wrap:wrap}
.status{color:var(--muted);font-size:.88rem}
.detail{position:fixed;right:0;top:0;bottom:0;width:min(640px,100%);background:#fff;border-left:4px solid var(--cu-gold);box-shadow:-4px 0 18px rgba(0,0,0,.12);z-index:30;overflow:auto;padding:1rem;display:none}
.detail.open{display:block}
.detail .close{float:right;cursor:pointer;font-size:1.3rem;border:0;background:none}
.conf{color:var(--muted);font-size:.8rem}
/* stacked composition bars (study pages) and horizontal bars (explorer detail) */
.stackrow{display:grid;grid-template-columns:110px 1fr;gap:.6rem;align-items:center;margin:.4rem 0 .1rem}
.stacklbl{font-size:.85rem;color:var(--muted)}
.stack{position:relative;height:22px;background:#fff;border:1px solid var(--cu-dark-gray);border-radius:4px;overflow:hidden}
.stack>span{position:absolute;top:0;bottom:0;border-right:1px solid var(--cu-dark-gray)}
.legend .sw{display:inline-block;width:.8em;height:.8em;border:1px solid var(--cu-dark-gray);vertical-align:-1px;margin-right:.2em}
.hbars{display:grid;gap:.15rem;margin:.3rem 0}
.hbar{display:grid;grid-template-columns:170px 1fr 52px;gap:.4rem;align-items:center;font-size:.85rem}
.hbar .trk{display:block;height:12px;background:var(--panel);border:1px solid var(--line);border-radius:3px;overflow:hidden}
.hbar .trk>span{display:block;height:100%}
.hbar .val{text-align:right;font-variant-numeric:tabular-nums}
.hbar .lbl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
tr.hist.rejected td,tr.hist.dropped td{color:var(--cu-dark-gray)}
/* DataTables in brand colours */
.dt-container{font-size:.88rem}
.dt-container .dt-search input,.dt-container select{padding:.3rem .5rem;border:1px solid var(--cu-light-gray);border-radius:4px}
.dt-container .dt-paging .dt-paging-button.current,.dt-container .dt-paging .dt-paging-button.current:hover{background:var(--cu-gold)!important;color:var(--cu-black)!important;border-color:var(--cu-gold)!important}
.dt-container .dt-paging .dt-paging-button:hover{background:var(--cu-pale-gold)!important;color:var(--cu-black)!important;border-color:var(--cu-gold)!important}
table.dataTable thead>tr>th.dt-orderable-asc:hover,table.dataTable thead>tr>th.dt-orderable-desc:hover{outline-color:var(--cu-gold)}
table.dataTable thead>tr>th span.dt-column-order:before,table.dataTable thead>tr>th span.dt-column-order:after{color:var(--cu-gold)}
.md table{border-collapse:collapse;font-size:.88rem;margin:.6rem 0}.md th,.md td{border:1px solid var(--line);padding:.3rem .5rem;vertical-align:top}.md th{background:var(--panel);color:var(--ink)}
.md h2{margin-top:1.4rem}
details summary{cursor:pointer}
@media (max-width:820px){.exp{grid-template-columns:1fr}.filters{position:static;max-height:none}.covrow{grid-template-columns:130px 1fr 50px}table.kv td:first-child{width:auto}.hbar{grid-template-columns:110px 1fr 48px}}

/* F12: visible keyboard focus everywhere; the detail panel is focusable */
#result-table tbody tr:focus,#result-table th:focus,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--cu-black);outline-offset:1px}
#result-table tbody tr:focus td{background:var(--cu-pale-gold)}
.detail:focus{outline:none}

/* R2026.1 releases / timelines */
.cite{margin:1rem 0}.cite img{vertical-align:middle}
tr.retired td{color:var(--muted)}tr.retired td b{color:var(--ink)}

/* R2026.2 contribute/ worklist + 'Help complete this study' panel */
.chip{display:inline-block;font-size:.78rem;padding:.05rem .4rem;margin:.1rem .15rem .1rem 0;border-radius:4px;border:1px solid var(--cu-light-gray);background:#fff;color:var(--cu-dark-gray);white-space:nowrap}
.chip.miss{border-color:var(--cu-black);color:var(--cu-black);background:var(--cu-pale-gold);font-weight:500}
.chip.ok{opacity:.65}
.blk{font-weight:500;color:var(--cu-black)}
.btn.contribute{background:var(--cu-black);color:var(--cu-gold);border-color:var(--cu-black)}
.help-panel{background:var(--cu-pale-gold);border:1px solid var(--cu-gold);border-left:6px solid var(--cu-black);border-radius:8px;padding:.6rem .9rem .3rem;margin:1rem 0}
.help-panel h2{border-bottom:none;margin-top:.2rem}
.wl-filters{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:end;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:.6rem .8rem;margin:.6rem 0;font-size:.85rem;position:sticky;top:48px;z-index:10}
.wl-filters label{display:flex;flex-direction:column;gap:.15rem;color:var(--muted)}
.wl-filters select,.wl-filters input{font-size:.9rem;padding:.25rem .4rem;border:1px solid var(--cu-dark-gray);border-radius:4px;background:#fff}
table.wl td{font-size:.85rem}table.wl td:nth-child(5){min-width:260px}table.wl td:nth-child(7){max-width:320px}
a.card.contribute-card{text-decoration:none;color:var(--ink);border-left-color:var(--cu-black);background:var(--cu-pale-gold)}

/* nav group label for the curated-scope pages (rebrand 2026-09-28) */
.topnav .navgroup{color:#7a7f87;font-size:.85em;margin-left:.9rem;margin-right:-.2rem;white-space:nowrap}
/* v3 (all-age site): stacked route bar on the Fields page */
.routebar{position:relative;display:inline-block;width:160px;height:10px;background:var(--panel);border:1px solid var(--line);border-radius:3px;vertical-align:middle;overflow:hidden}
.routebar .seg{position:absolute;top:0;bottom:0}.routebar .seg.R1{background:var(--cu-gold)}.routebar .seg.R2{background:#565A5C}.routebar .seg.R3{background:#A88B4A}.routebar .seg.R4{background:#8C8F91}
.doc{max-width:1000px}

/* R2026.12 site restructure: home tiles, facet bar lists, field-tier tags, author preview cards */
.find{margin:.6rem 0 1rem}
.cards.tiles{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.cards.tiles a.card{text-decoration:none;color:var(--ink)}.cards.tiles a.card:hover{border-color:var(--cu-black)}
.facet .hbars{margin-top:.5rem}
.facet a.hbar{text-decoration:none;color:var(--ink);grid-template-columns:200px 1fr 64px;padding:.1rem 0;border-radius:4px}
.facet a.hbar:hover{background:var(--cu-pale-gold)}
.facet .hbar .trk>span{background:var(--cu-gold)}
.tag.tier-core{background:var(--cu-gold);color:var(--cu-black);border-color:var(--cu-gold)}
.tag.tier-key{background:#fff;color:var(--cu-black);border-color:var(--cu-dark-gray)}
.tag.tier-infant{background:var(--panel);color:var(--cu-dark-gray)}
.evlist{list-style:none;padding:0;margin:.3rem 0}.evlist li{padding:.15rem 0;border-bottom:1px solid var(--line)}
.scards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.5rem;margin:.3rem 0 .8rem}
a.card.scard{display:block;text-decoration:none;color:var(--ink);padding:.5rem .7rem}a.card.scard:hover{border-color:var(--cu-black)}
@media (max-width:820px){.facet a.hbar{grid-template-columns:120px 1fr 56px}}

/* R2026.15 grouped navigation: drop-down menus (hover, keyboard focus, or click/tap via site.js) */
.topnav .navdd{position:relative}
.topnav .navbtn{background:none;border:0;color:#fff;opacity:.92;font:inherit;padding:.25rem .3rem;border-radius:4px;cursor:pointer}
.topnav .navbtn:hover,.topnav .navdd:focus-within .navbtn{opacity:1;background:rgba(207,184,124,.25)}
.topnav .navdd.active>.navbtn{background:var(--cu-gold);color:var(--cu-black);opacity:1}
.topnav .navmenu{display:none;position:absolute;left:0;top:100%;min-width:15rem;background:var(--cu-black);border:1px solid #333;border-top:3px solid var(--cu-gold);border-radius:0 0 6px 6px;padding:.3rem 0;z-index:30;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.topnav .navmenu a{display:block;padding:.35rem .8rem;border-radius:0;white-space:nowrap}
.topnav .navmenu a.active{background:rgba(207,184,124,.35);color:#fff}
.topnav .navdd:hover .navmenu,.topnav .navdd:focus-within .navmenu,.topnav .navdd.open .navmenu{display:block}
@media (max-width:700px){.topnav .navmenu{position:static;box-shadow:none;border:0;min-width:0}}

/* Studies / registry tables: clipped titles (full title on hover) */
.clip{display:inline-block;max-width:26rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
@media (max-width:1100px){.clip{max-width:16rem}}
.tag.incat{background:var(--cu-gold);color:var(--cu-black);font-weight:600;white-space:nowrap}
.muted{color:var(--muted)}
.notcat{color:#7a4a00;white-space:nowrap}

/* R2026.16 minimalist home */
.hero{max-width:760px;margin:9vh auto 4rem;text-align:center}
.hero h1{font-size:2.6rem;letter-spacing:-.02em;margin:0 0 .6rem}
.hero-lead{font-size:1.12rem;color:var(--cu-dark-gray);line-height:1.55;margin:0 auto 1.6rem;max-width:640px}
.hero-search{position:relative;text-align:left}
.searchbox.big{display:block;width:100%;max-width:none;margin:0 auto;font-size:1.15rem;padding:.85rem 1.1rem;border:2px solid var(--cu-gold);border-radius:999px;box-shadow:0 4px 18px rgba(0,0,0,.07);outline:none}
.searchbox.big:focus{box-shadow:0 0 0 4px rgba(207,184,124,.35)}
.hero-search #search-results{list-style:none;margin:.4rem 0 0;padding:0;text-align:left;max-height:50vh;overflow:auto}
.hero-search #search-results li{padding:.35rem .6rem;border-bottom:1px solid var(--line)}
.hero-try{margin:.9rem 0 1.8rem;color:var(--muted)}
.hero-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem .6rem}
.hero-links a{padding:.45rem .95rem;border:1px solid var(--line);border-radius:999px;text-decoration:none;color:var(--cu-black)}
.hero-links a:hover{border-color:var(--cu-gold);background:rgba(207,184,124,.15)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.topnav .navhead{display:block;padding:.45rem .8rem .15rem;color:var(--cu-gold);font-size:.78em;text-transform:uppercase;letter-spacing:.06em;border-top:1px solid #333;margin-top:.2rem}
.topnav .navmenu{right:auto}
.topnav .navdd:last-child .navmenu,.topnav .navdd:nth-last-child(2) .navmenu{left:auto;right:0}
.pfilters{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:end;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:.6rem .8rem;margin:.6rem 0 .8rem}
.pfilters label{display:flex;flex-direction:column;font-size:.85rem;gap:.15rem}
.pfilters label:has(input[type=checkbox]){flex-direction:row;align-items:center;gap:.3rem}
pre.prompt{white-space:pre-wrap;background:#fff;border:1px solid var(--line);border-left:4px solid var(--cu-gold);border-radius:6px;padding:.7rem .9rem;font-size:.92rem}
.hero-credit{margin-top:2.4rem;color:var(--muted);font-size:.9rem}
.hero-credit a{color:inherit}
.hero-lead a{color:inherit;font-weight:600;text-decoration-color:var(--cu-gold)}

/* R2026.16 wide table pages (Project sheet, Sample sheet): use the window width; tables scroll inside their box, never off the page */
body.wide main{max-width:min(1800px,100%)}
.exp>*{min-width:0}
#result-wrap{overflow-x:auto;max-width:100%}
#result-table td,#result-table th{white-space:nowrap}
#studies_wrapper{max-width:100%}
#studies td{vertical-align:top}
#studies td .mono.small{white-space:nowrap}
body.wide .lead{max-width:1000px}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem;margin:1rem 0}
.step{background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--cu-gold);border-radius:8px;padding:.7rem .9rem}
#wl-table .btn{white-space:nowrap}

/* per-project source checkmarks (R2026.18) */
.srcmk{display:inline-block;min-width:1.1em;text-align:center;font-weight:700}
.srcmk.u{color:#1a7f37}.srcmk.c{color:var(--cu-dark-gray);font-weight:400}.srcmk.n{color:var(--cu-light-gray);font-weight:400}
th.srch{font-size:.72rem;white-space:nowrap;padding-left:.3rem;padding-right:.3rem}td.srcc{text-align:center;padding-left:.2rem;padding-right:.2rem}
.srcgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.5rem;margin:.6rem 0 1.2rem}
.srcbox{border:1px solid var(--cu-light-gray);border-radius:8px;padding:.5rem .7rem;background:#fff}
.srcbox.used{border-color:#1a7f37;background:#f3fbf5}.srcbox.none{opacity:.75}
.srcbox .srcmk{font-size:1.15rem;margin-right:.25rem}

/* ---- project page (R2026.18): minimalist, compact, home-page aesthetic ---- */
.pg{max-width:1180px;margin:0 auto}
.pg-head{padding:1.4rem 0 .8rem;border-bottom:1px solid var(--cu-light-gray);margin-bottom:.4rem}
.pg-acc{font-size:.85rem;letter-spacing:.02em;color:var(--cu-dark-gray)}
.pg-title{font-size:1.55rem;line-height:1.25;font-weight:600;margin:.2rem 0 .45rem;max-width:62rem}
.pg-facts{margin:.1rem 0 .5rem;color:var(--cu-dark-gray);font-size:.95rem}
.pg-links{margin:.2rem 0 0;font-size:.85rem}.pg-links a{margin-right:1.1rem;text-decoration:none;border-bottom:1px solid var(--cu-light-gray)}
.pg-links a:hover{border-bottom-color:currentColor}.pg-links a.flag{color:#a33}
.muted{color:#8a8d8f}
.pg-sec{padding:.9rem 0 .7rem;border-bottom:1px solid #eee}
.pg-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#8a8d8f;margin-bottom:.45rem;font-weight:600}
.pg-label .muted{text-transform:none;letter-spacing:0;font-weight:400}
.srcrow{display:flex;flex-wrap:wrap;gap:.35rem .5rem}
.srcitem{font-size:.82rem;padding:.12rem .55rem;border:1px solid #e3e3e3;border-radius:999px;white-space:nowrap;cursor:help}
.srcitem.used{border-color:#1a7f37;background:#f3fbf5}.srcitem.none{color:#9a9a9a}
.pg-more summary,.pg-details summary{font-size:.82rem;color:var(--cu-dark-gray);cursor:pointer;margin:.35rem 0}
.pg-details details{border-top:1px solid #f0f0f0;padding:.15rem 0}.pg-details details:first-of-type{border-top:0}
.dists{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.4rem 1.6rem}
.dist-h{font-size:.8rem;font-weight:600;margin-bottom:.15rem}
.distrow{display:grid;grid-template-columns:minmax(0,1fr) 70px 3.4rem;align-items:center;gap:.4rem;font-size:.78rem;line-height:1.5;cursor:default}
.distrow .dk{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--mono,monospace)}
.distrow .db,.cbar{display:inline-block;height:6px;background:#eee;border-radius:3px;overflow:hidden;vertical-align:middle}
.distrow .db>span,.cbar>span{display:block;height:100%;background:var(--cu-gold,#CFB87C)}
.cbar{width:90px}
.distrow .dn{text-align:right;color:#666;font-variant-numeric:tabular-nums}
.covt{width:auto;min-width:520px}.covt tr.core td:first-child a{font-weight:600}
.covt td,.covt th{padding:.12rem .55rem}
.stbl th,.stbl td{padding:.15rem .4rem;font-size:.76rem;white-space:nowrap}
.stbl td.tclip{max-width:11rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-wrap{overflow-x:auto;max-width:100%}
.stbl th.ecol,.stbl td.ecol{width:10px;min-width:10px;max-width:10px;padding:0 1px;background:#fafafa;border-left:1px solid #f0f0f0}
.stbl th.ecol span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:.6rem;font-weight:400;color:#b0b0b0;white-space:nowrap;display:inline-block;max-height:7rem;overflow:hidden}
.plist{margin:.1rem 0;padding-left:1.1rem;font-size:.85rem}.plist li{margin:.12rem 0}

/* sheets (R2026.18): compact headers, narrow one-line cells, details on hover */
.sheet-head{padding:1.1rem 0 .3rem}.sheet-head h1{font-size:1.6rem;margin:0 0 .2rem;font-weight:600}
.sheet-sub{color:var(--cu-dark-gray);margin:0 0 .6rem;font-size:.92rem}
.ptbl th,.ptbl td{padding:.18rem .35rem!important;font-size:.78rem;white-space:nowrap}
.ptbl thead th{font-size:.72rem}
.ptbl td.clipc{max-width:9rem}.ptbl td:nth-child(2){max-width:20rem}
.clip1{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:help}

.wl-filters{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;align-items:center;margin:.4rem 0 .6rem}.wl-filters label{font-size:.85rem}
.tag.warnchip{background:#fff6e5;border-color:#e0b25b;color:#7a4b00}

/* ===== R2026.18 site-wide theme: the home page's minimalist look on every page =====
   quiet type, thin dividers instead of boxes, pill links instead of button rows, compact light tables, details on hover */
main{padding-top:1.2rem}
h1{font-size:1.6rem;font-weight:600;letter-spacing:-.01em;margin:.5rem 0 .35rem;line-height:1.25}
h2{font-size:1.02rem;font-weight:600;margin:1.7rem 0 .45rem;border-bottom:0;border-top:1px solid #ececec;padding:.8rem 0 0}
h3{font-size:.95rem;font-weight:600}
.lead{font-size:.98rem;color:var(--cu-dark-gray);max-width:780px;line-height:1.5;margin:.1rem 0 .9rem}
.crumbs{font-size:.78rem;margin:0 0 .3rem}.crumbs a{text-decoration:none}
table.tbl{font-size:.84rem}
table.tbl th{background:#fafafa;color:#333;font-weight:600;font-size:.76rem;border-bottom:1px solid #ddd;white-space:nowrap}
table.tbl th,table.tbl td{padding:.24rem .45rem;border-bottom:1px solid #f0f0f0}
table.tbl tr:hover td{background:#fcfbf7}
table.dataTable thead th{background:#fafafa!important;color:#333!important}
.card{background:#fff;border:1px solid #ececec;border-left:1px solid #ececec;border-radius:12px;padding:.65rem .8rem}
.card .num{font-size:1.3rem}.card .lbl{font-size:.76rem}
.cards{gap:.5rem;margin:.7rem 0}
.sections .card{border-radius:12px}.sections a.card:hover{border-color:var(--cu-gold);background:rgba(207,184,124,.06)}
.btn{border-radius:999px;padding:.32rem .85rem;font-size:.85rem;font-weight:500}
.btn.sec{border:1px solid var(--line);background:#fff}.btn.sec:hover{border-color:var(--cu-gold);background:rgba(207,184,124,.12)}
.btn.flag{background:#fff;color:#a33;border:1px solid #f0d4d4}
.btns{gap:.35rem;margin:.4rem 0 .8rem}
.pfilters,.filters{background:#fff;border:1px solid #ececec;border-radius:12px}
.pfilters{padding:.5rem .7rem;gap:.4rem .9rem}.pfilters label{font-size:.8rem;color:var(--cu-dark-gray)}
.pfilters select,.pfilters input[type=search],.pfilters input[type=number],.filters select,.filters input{border:1px solid #ddd;border-radius:8px;padding:.2rem .4rem;font:inherit;font-size:.82rem}
.searchbox{border:1px solid #ccc;border-radius:999px;padding:.5rem 1rem;font-size:.98rem}
.searchbox:focus{outline:none;border-color:var(--cu-gold);box-shadow:0 0 0 3px rgba(207,184,124,.3)}
.note{background:#fbf8ef;border:1px solid #eee3c6;border-radius:10px;font-size:.86rem}
.step{background:#fff;border:1px solid #ececec;border-left:1px solid #ececec;border-radius:12px}
.small{font-size:.82rem}
footer{border-top:1px solid #ececec;font-size:.78rem;line-height:1.5;margin-top:3rem}
footer>div{margin:.15rem 0}
details>summary{cursor:pointer}
.tag{border-radius:999px;font-size:.72rem}
img.fig{border:1px solid #eee;border-radius:10px}
.dataTables_wrapper .dataTables_filter input,.dt-search input{border:1px solid #ccc!important;border-radius:999px!important;padding:.25rem .7rem!important}
div.dt-container .dt-paging .dt-paging-button{border-radius:999px!important}
/* shared page header used by the sheet pages and the simple pages */
.page-head{padding:.4rem 0 .5rem;margin-bottom:.4rem}
.page-head h1{margin:.2rem 0 .25rem}.page-head p{margin:0;color:var(--cu-dark-gray);font-size:.93rem;max-width:860px}
.page-head .pg-links{margin-top:.35rem}
details.about-page{margin:.3rem 0 .8rem;font-size:.86rem;color:var(--cu-dark-gray);max-width:900px}
details.about-page>summary{font-size:.8rem;color:#8a8d8f}

/* mini globe + sparklines (R2026.18) */
.glance{display:flex;gap:1.6rem;align-items:flex-start;flex-wrap:wrap}.glance-main{flex:1;min-width:280px}
.glance-globe{text-align:center;position:relative}.globe-box{width:190px;height:190px;position:relative;cursor:grab}
svg.globe .g-sphere{fill:#f7f9fb;stroke:#d8dde2}svg.globe .g-grat{fill:none;stroke:#eef1f4;stroke-width:.5}
svg.globe .g-land{fill:#e4e6e8;stroke:#fff;stroke-width:.4}svg.globe .g-pt{fill:#7A6A3C;fill-opacity:.75;stroke:#fff;stroke-width:.6}
.globe-tip{position:absolute;left:50%;top:6px;transform:translateX(-50%);background:#fff;border:1px solid #ddd;border-radius:8px;padding:.15rem .5rem;font-size:.75rem;white-space:nowrap;pointer-events:none;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.sparks{display:flex;gap:2rem;flex-wrap:wrap;margin-top:.6rem}
svg.spark rect{fill:var(--cu-gold)}svg.spark.depth rect.repo{fill:none;stroke:#7d7d7d;stroke-width:1;stroke-dasharray:none}svg.spark.depth rect.proj{fill:var(--cu-gold);fill-opacity:.5}svg.spark.depth rect.proj:hover{fill-opacity:.8}svg.spark.depth rect.repo:hover{stroke:#000}svg.spark line.med{stroke:#333;stroke-width:1.5;stroke-dasharray:2 2}svg.spark rect:hover{fill:#7A6A3C}svg.spark .spark-l{font-size:9px;fill:#8a8d8f}

.sheet-top{display:flex;align-items:center;gap:1.2rem}.sheet-top .globe-box{width:150px;height:150px;flex:none}

/* Sample sheet (R2026.18) */
.sheet-hero{text-align:center;padding-top:1.2rem}.sheet-hero p{margin:0 auto}
.sheet-search{display:flex;gap:.6rem;align-items:center;max-width:760px;margin:.6rem auto 1rem}.sheet-search .searchbox.big{flex:1}
.exp.nofilters{grid-template-columns:1fr}.exp.nofilters>aside.filters{display:none}
#result-table th,#result-table td{padding:.16rem .38rem!important;font-size:.76rem}
#result-table td.tclip{max-width:9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#result-table td{cursor:pointer}

.pg-origtitle{font-size:.82rem;margin:-.2rem 0 .35rem}.pg-desc{max-width:62rem;font-size:.96rem;line-height:1.5;margin:.2rem 0 .5rem}
.mlabel{font-size:.68rem;color:#8a8d8f;border:1px solid #e3e3e3;border-radius:999px;padding:0 .45rem;margin-left:.3rem;white-space:nowrap;cursor:help}

/* R2026.19: persistent search in the top bar */
.navsearch{margin-left:.4rem;padding:.15rem 0}
.navsearch input{background:#1f1f1f;border:1px solid #444;color:#fff;border-radius:999px;padding:.3rem .8rem;font-size:.82rem;width:15rem;max-width:40vw}
.navsearch input::placeholder{color:#9a9a9a}
.navsearch input:focus{outline:none;border-color:var(--cu-gold);background:#111}
/* R2026.20: instant tooltips (site.js) */
.tip{position:fixed;z-index:100;max-width:22rem;background:#1b1b1b;color:#fff;font-size:.76rem;line-height:1.35;padding:.35rem .55rem;border-radius:6px;box-shadow:0 4px 14px rgba(0,0,0,.25);pointer-events:none;white-space:normal}
.lg-proj,.lg-repo{display:inline-block;width:.7em;height:.7em;vertical-align:-.05em;margin:0 .15em 0 .4em}.lg-proj{background:var(--cu-gold);opacity:.6}.lg-repo{border:1px solid #7d7d7d}

/* R2026.20: project-page Sandpiper bar (full width) */
.spbar{display:flex;width:100%;height:22px;border:1px solid #565A5C;border-radius:3px;overflow:hidden;margin:.3rem 0 .45rem 0}
.spbar .spseg{display:block;height:100%;border-right:1px solid rgba(0,0,0,.25);min-width:1px}
.spbar .spseg:last-child{border-right:0}
.splegend{display:flex;flex-wrap:wrap;gap:.2rem .9rem;margin-bottom:.3rem}
.splegend > span{white-space:nowrap}
.splegend i:not(.it){display:inline-block;width:.75em;height:.75em;border:1px solid #565A5C;margin-right:.3em;vertical-align:-1px}
.splegend i.it{font-style:italic}

/* R2026.22 study groups */
.pg-group{margin:.2rem 0 .5rem 0;padding:.35rem .6rem;border-left:3px solid #CFB87C;background:#faf7ef}
.tag.grp{font-size:.7rem;padding:0 .3rem;text-decoration:none}
/* R2026.22 value-sources page */
.vsdot{display:inline-block;width:.75em;height:.75em;border:1px solid #565A5C;vertical-align:-1px;margin-right:.2em}
.spbar.thin{height:14px;margin:.1rem 0}
.vsf tr.vsgroup td{background:#f5f5f3;padding-top:.5rem}

/* R2026.23 sampling design + relatedness */
.dz-badges{margin:.1rem 0 .4rem 0}
.dzb{display:inline-block;font-size:.74rem;padding:.08rem .45rem;border-radius:999px;margin:0 .3rem .2rem 0;border:1px solid #ccc}
.dzb.lg{background:#e8f0fa;border-color:#4477AA;color:#234}
.dzb.lg2{background:#f4f4f4;border-color:#999}
.dzb.rel{background:#faf3e3;border-color:#CFB87C;color:#5a4a1a}
.tline-box{max-width:900px}
.motifs{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin:.3rem 0}
.motif-item{text-align:center}
.tag.lgt{background:#e8f0fa;color:#234}.tag.rdt{background:#faf3e3;color:#5a4a1a}
.tag.unres{background:transparent;border:1px dashed currentColor;opacity:.8}
.dzb.ok{background:#eaf5ea;border-color:#5a9a5a;color:#234a23}
.dzb.unres{background:#fff;border-style:dashed;border-color:#999;color:#555}

/* contribute page (R2026.25) */
ol.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.8rem;margin:1rem 0}
ol.steps .step{display:flex;gap:.7rem;align-items:flex-start;padding:.8rem 1rem}
ol.steps .step p{margin:.2rem 0 0;font-size:.88rem;color:#444}
.step-n{flex:none;width:1.7rem;height:1.7rem;border-radius:50%;background:var(--cu-gold);color:var(--cu-black);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem}
.step-list{margin:.25rem 0 0;padding-left:1.05rem;font-size:.88rem;color:#444;line-height:1.45}
#wl-table td{vertical-align:middle}
#wl-table td.wl-miss{font-size:.82rem;color:#555;white-space:nowrap}
#wl-table td.wl-miss .sep{color:#bbb}
#wl-table td.wl-paper{font-size:.82rem;white-space:nowrap}
.dot-warn{color:#c8892a;font-size:.7rem;vertical-align:middle}
.btn.btn-sm{padding:.22rem .7rem;font-size:.8rem}
.wl-filters label{flex-direction:row;align-items:center;gap:.35rem}

/* home globe (R2026.25) */
.home-globe-wrap{margin:.4rem auto 1.6rem;display:flex;flex-direction:column;align-items:center}
.home-globe{width:300px;height:300px;position:relative}
.home-globe .globe{width:300px;height:300px}
.home-globe-cap{margin:.3rem 0 0;font-size:.78rem}
@media (max-width:520px){.home-globe,.home-globe .globe{width:240px;height:240px}}


.dzb.unres,.dzb.lg.unres,.dzb.rel.unres{background:transparent;border-style:dashed}
.tag.lgt.unres,.tag.unres{border-style:dotted;border-width:1.5px}

/* relationship networks (R2026.25) */
.relnet{display:flex;flex-wrap:wrap;gap:.5rem .7rem;align-items:flex-end;margin:.6rem 0 .3rem}
.relnet-c{margin:0;padding:.25rem .35rem;border:1px solid var(--line);border-radius:8px;background:#fff}
.relnet-c svg{display:block}
.relnet-cap{margin-top:.2rem}
.relnet-k{white-space:nowrap;margin-right:.55rem}.relnet-k i{display:inline-block;width:.6rem;height:.6rem;border-radius:50%;margin-right:.25rem;vertical-align:-1px}

/* self-contradictory metadata badge (R2026.25) */
.tag.cxt{background:#c0392b;color:#fff;border-color:#c0392b;font-weight:700;padding:0 .38em;border-radius:3px}
.tag.ivt{background:#efe4c4;border-color:#a88b4a;color:#5a4a1a}
.dzb.iv{background:#faf3e3;border-color:#a88b4a;color:#5a4a1a}
.iv-box{margin:.4rem 0 .2rem}.iv-box svg{max-width:100%;height:auto}
