/* The pages of pages.js (Commands, Ranks, Permissions): style.css's .list of .row, .rk and .mbtn, and page.css's
   pg- pieces; only these are its own, every name `pg-`. Home's expiry (.expiry) is drawn by style.css's .exp. */

/* a command's rank, to choose: style.css's chip (.rk) as a select, with its own small arrow */
.pg-pick{appearance:none;-webkit-appearance:none;font:inherit;font-size:12px;font-weight:700;padding:6px 26px 6px 12px;cursor:pointer;
background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
background-position:calc(100% - 14px) 52%,calc(100% - 10px) 52%;background-size:4px 4px;background-repeat:no-repeat}
.pg-pick option{color:var(--ink);background:var(--solid)}
/* a list of people: its title with its clear at the end; the clear's yes and no in its place */
.pg-block{display:grid;gap:10px}
.pg-block .pg-head{padding:0;margin:16px 4px 0}
.pg-block .pg-head h2{flex:1;margin:0}
.pg-block .list{margin:0}
.pg-sure{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.mbtn.pg-danger{color:#fff;background:var(--bad);border-color:transparent}
/* a list's add: a person picked from a group's members (page.js's pickPerson), never a mid typed */
.mbtn.pg-add{justify-self:start;padding-inline:18px}
/* Home's expiry: between the face's card and the numbers, as far from each */
.expiry{margin:0 0 12px}
/* the word under an Add pressed empty: no room taken while there is none */
.pg-block .pg-bad{margin:-4px 4px 0;font-size:13px}
.pg-block .pg-bad:empty{display:none}
