/* THE REPLICANTS PAGE (/replicants/; replicants.py). The top is the home page's band; the cards under it are the site's navigation
   card (navcards.css). Palette (R-021): grey, black, white and the site's cyan; a photograph is the only other colour. Lettering
   (R-017): nothing under 16 px; the profile is a reading surface, body 19 px (Michael, bus post 878). */
.rp-top .home-top,.rp-bar-row,.rp-tools,.rp-split{max-width:1760px;margin-left:auto;margin-right:auto}
.rp-split{margin-top:0}
.rp-small{font:500 calc(16px * var(--scale,1))/1.5 Barlow,sans-serif;color:var(--hd);margin:0}
.rp-bar-row{margin-top:14px}
.rp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rp-tools{margin-top:22px;border:1px solid var(--hl);border-radius:6px;background:var(--hs);padding:14px 16px;display:flex;flex-direction:column;gap:12px}
.rp-tools-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.rp-tools input,.rp-tools select{font:500 18px/1.2 Barlow,sans-serif;padding:12px 14px;border:1px solid var(--hl);border-radius:0;background:var(--hb,transparent);color:var(--hi);min-width:240px}
.rp-find{flex:0 1 520px;display:flex}.rp-find input{width:100%}
.rp-tools input:focus,.rp-tools select:focus{outline:3px solid var(--s1);outline-offset:1px}
.rp-count{margin-left:auto;font:600 18px Barlow,sans-serif;color:var(--hd)}
.rp-split{display:grid;grid-template-columns:minmax(420px,2fr) minmax(0,3fr);gap:18px;align-items:start}
.rp-split>*{min-width:0}
.rp-pane{position:sticky;top:76px;max-height:calc(100vh - 92px);overflow:auto}
/* the profile: dark in both themes, as the chart cards are */
.rp-pop{background:#0d0e10;color:#ededed;border:1px solid #2a2d33;border-radius:6px;font:500 19px/1.5 Barlow,sans-serif}
.rp-pop:focus{outline:3px solid #4fc3f7;outline-offset:2px}
.rp-bar{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #2a2d33;font:700 16px "JetBrains Mono",monospace;letter-spacing:.12em;color:#a3a7ae}
.rp-pf-top{display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;padding:18px}
.rp-big{width:170px;height:170px;background:#2a2d33;display:flex;align-items:center;justify-content:center;overflow:hidden;font:italic 800 56px "Barlow Condensed","Arial Narrow",sans-serif;color:#a3a7ae}
.rp-big img{width:100%;height:100%;object-fit:cover;display:block}
.rp-credit{font:500 16px/1.4 Barlow,sans-serif;color:#a3a7ae;margin:8px 0 0;overflow-wrap:anywhere}
.rp-credit a,.rp-pop p a{color:#ededed;text-decoration:underline;text-underline-offset:3px}
.rp-credit a:hover,.rp-pop p a:hover{color:#4fc3f7}
.rp-rank{font:700 17px "JetBrains Mono",monospace;letter-spacing:.12em;color:#4fc3f7}
.rp-name{font:italic 800 48px/.95 "Barlow Condensed","Arial Narrow",sans-serif;text-transform:uppercase;margin:4px 0 8px;color:#ededed;overflow-wrap:anywhere}
.rp-role{font:600 21px/1.3 Barlow,sans-serif}
.rp-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.rp-pop .rp-chip{border-color:#3a3d44;color:#a3a7ae;font-size:16px;padding:4px 10px}
.rp-pop .rp-chip.rp-il{color:#ededed;border-color:#ededed}
.rp-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.rp-links a,.rp-links span{font:700 16px "JetBrains Mono",monospace;letter-spacing:.08em;border:1px solid #ededed;padding:8px 14px;text-decoration:none;color:#ededed;text-transform:uppercase}
.rp-links a:hover,.rp-links a:focus{background:#4fc3f7;border-color:#4fc3f7;color:#04121a}
.rp-links span{border-color:#3a3d44;color:#a3a7ae}
.rp-blk{padding:16px 18px;border-top:1px solid #2a2d33}
.rp-blk h3{font:italic 800 28px/1 "Barlow Condensed","Arial Narrow",sans-serif;text-transform:uppercase;margin:0 0 10px;color:#ededed}
.rp-blk p{margin:0 0 8px}
.rp-why{font:500 16px/1.45 Barlow,sans-serif;color:#a3a7ae}
.rp-blank{color:#a3a7ae;font-style:italic;padding:16px 18px;margin:0}
.rp-rel{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.rp-rel a{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;background:#15171a;border:1px solid #2a2d33;color:#ededed;padding:8px;text-decoration:none;font:600 17px/1.2 Barlow,sans-serif}
.rp-rel a:hover,.rp-rel a:focus{border-color:#4fc3f7;outline:none}
.rp-rel .rp-f{width:44px;height:44px;border-radius:50%;background:#2a2d33;display:flex;align-items:center;justify-content:center;overflow:hidden;font:italic 800 18px "Barlow Condensed",sans-serif;color:#a3a7ae}
.rp-rel .rp-f img{width:100%;height:100%;object-fit:cover}
.rp-rel small{display:block;font:500 16px/1.25 Barlow,sans-serif;color:#a3a7ae}
/* the ties: a face that loads the person, the relation and years, and the source beside it */
.rp-ties{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.rp-tie{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.rp-tie>a[data-rp-go]{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;background:#15171a;border:1px solid #2a2d33;color:#ededed;padding:8px;text-decoration:none;font:600 17px/1.2 Barlow,sans-serif}
.rp-tie>a[data-rp-go]:hover,.rp-tie>a[data-rp-go]:focus{border-color:#4fc3f7;outline:none}
.rp-tie .rp-f{width:44px;height:44px;border-radius:50%;background:#2a2d33;display:flex;align-items:center;justify-content:center;overflow:hidden;font:italic 800 18px "Barlow Condensed",sans-serif;color:#a3a7ae}
.rp-tie .rp-f img{width:100%;height:100%;object-fit:cover}
.rp-tie small{display:block;font:500 16px/1.3 Barlow,sans-serif;color:#a3a7ae}
.rp-src{font:500 16px Barlow,sans-serif;color:#ededed;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.rp-src:hover{color:#4fc3f7}
.rp-orgs{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.rp-orgs li{font:500 17px/1.4 Barlow,sans-serif;color:#ededed;border-top:1px solid #2a2d33;padding-top:6px}
.rp-orgs li span{color:#a3a7ae}
/* the people */
.rp-groups{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.rp-only{font:600 18px Barlow,sans-serif;color:var(--hd);margin-right:4px}
.rp-g{font:600 18px/1.2 Barlow,sans-serif;border:1px solid var(--hl);border-radius:0;background:transparent;color:var(--hi);padding:12px 14px;cursor:pointer}
.rp-g[aria-pressed="true"]{background:var(--hi);color:var(--hs);border-color:var(--hi);box-shadow:inset 0 -3px 0 var(--s1)}
.rp-g:hover,.rp-g:focus-visible{outline:3px solid var(--s1);outline-offset:1px}
.rp-head{max-width:1760px;margin:22px auto 12px}
.rp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rp-p{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:1fr auto;gap:6px 14px;align-items:start;border:1px solid var(--hl);border-radius:6px;background:var(--hs);color:var(--hi);padding:14px;text-decoration:none}
.rp-p[hidden]{display:none}
.rp-p:hover,.rp-p:focus-visible{outline:2px solid var(--s1);outline-offset:-2px}
.rp-p.rp-sel{outline:3px solid var(--s1);outline-offset:-3px}
.rp-ph{width:76px;height:76px;border-radius:50%;background:#2a2d33;display:flex;align-items:center;justify-content:center;overflow:hidden;font:italic 800 30px "Barlow Condensed","Arial Narrow",sans-serif;color:#a3a7ae}
.rp-ph img{width:100%;height:100%;object-fit:cover;display:block}
.rp-who{display:flex;flex-direction:column;min-width:0}
.rp-rk{font:700 16px "JetBrains Mono",monospace;letter-spacing:.1em;color:var(--hd)}
.rp-nm{font:700 21px/1.15 Barlow,sans-serif;margin:2px 0 4px;overflow-wrap:anywhere}
.rp-rl{font:500 17px/1.3 Barlow,sans-serif;color:var(--hd)}
/* the labels: quiet, at the floor size, on one line where they fit, the interlinked one first (bus post 892) */
.rp-tg{grid-column:1/-1;align-self:end;font:500 16px/1.3 Barlow,sans-serif;color:var(--hd);border-top:1px solid var(--hl);padding-top:8px;margin-top:4px}
.rp-lab[hidden]{display:none}
.rp-lab.rp-il{color:var(--hi)}
.rp-lab.rp-il:not([hidden])::after{content:" \00b7 ";color:var(--hd)}
.rp-chip{font:700 16px "JetBrains Mono",monospace;letter-spacing:.04em;border:1px solid var(--hl);padding:2px 8px;color:var(--hd);text-transform:uppercase}
.rp-none{border:1px dashed var(--hl);padding:26px;color:var(--hd);font:600 20px Barlow,sans-serif}
body:has(.rp-top) main{padding-bottom:80px}
@media(max-width:1150px){.rp-split{grid-template-columns:1fr}.rp-pane{position:static;max-height:none}.rp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){.rp-grid{grid-template-columns:1fr}.rp-pf-top{grid-template-columns:1fr}.rp-rel{grid-template-columns:1fr}.rp-name{font-size:40px}.rp-tools input,.rp-tools select{min-width:100%}.rp-find{flex-basis:100%}.rp-count{margin-left:0}.rp-tie{grid-template-columns:1fr}}
@media(min-width:2200px){.rp-top .home-top,.rp-bar-row,.rp-tools,.rp-split,.rp-head{max-width:2200px}.rp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* the floor is 17 px at 2200 wide and over (R-017): everything set at 16 goes up */
@media(min-width:2200px){.rp-small,.rp-rk,.rp-tg,.rp-chip,.rp-pop .rp-chip,.rp-bar,.rp-credit,.rp-why,.rp-rel small,.rp-tie small,.rp-src,.rp-links a,.rp-links span,.rp-rl{font-size:17px}.rp-rank{font-size:18px}}
/* the same card on a sector page's Humans pane (sector_page.py): the people of that sector, each a link to the person here */
.sx-humans{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin:14px 0}
