/* ===========================================================================
   WHO'S GOT A WORD. Robot Sandwich's SET UP > PEOPLE, in Panelvan's parts:
   white cards straight on the red, the word in red, a pill for what they
   see. The card being edited spans the row.
   =========================================================================== */
#humans .hm-title{text-align:left; margin:8px 0 6px}
.hm-sub{font-family:var(--label); font-weight:500; font-size:var(--say); letter-spacing:.22em; text-transform:uppercase; margin:0 0 24px; color:var(--white)}

.hm-new{display:block; width:100%; text-align:left; background:none; color:var(--white); cursor:pointer;
  border:1.5px dashed var(--white-hi); border-radius:var(--r-card); padding:16px 22px;
  font-family:var(--display); font-size:var(--head); letter-spacing:.04em; margin-bottom:14px}
.hm-new:hover{border-color:var(--white)}

.hm-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
@media (max-width:720px){.hm-grid{grid-template-columns:1fr}}

.hm-card{background:var(--white); color:var(--ink); border-radius:var(--r-card); padding:18px 22px; cursor:pointer; text-align:left; font:inherit; border:0}
.hm-card:hover{box-shadow:var(--lift-raised)}
.hm-top{display:flex; justify-content:space-between; align-items:baseline; gap:12px}
.hm-nm{font-size:var(--lead); font-weight:600}
.hm-wd{color:var(--red); font-weight:600; font-size:var(--talk); white-space:nowrap}
.hm-em{color:var(--ink-soft); font-size:var(--say); margin:6px 0 12px; overflow:hidden; text-overflow:ellipsis}
.hm-em.owed{color:var(--red-dark)}
.hm-pill{display:inline-block; border-radius:var(--pill); padding:5px 13px; font-size:var(--say); font-weight:500; background:var(--paper)}
.hm-pill.all{background:var(--red); color:var(--white)}
.hm-pill.new{background:var(--yellow); color:var(--ink)}

/* ---- the card being edited ---- */
.hm-edit{grid-column:1/-1; background:var(--white); color:var(--ink); border-radius:var(--r-card); padding:22px; outline:2px solid var(--ink)}
.hm-row{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px}
@media (max-width:720px){.hm-row{grid-template-columns:1fr 1fr}}
.hm-f label{display:block; font-size:var(--whisper); letter-spacing:.14em; text-transform:uppercase; color:var(--mid); font-weight:500; margin-bottom:6px}
.hm-f input{padding:9px 12px}
.hm-f input.owed{outline:1.5px solid var(--red)}
.hm-wordrow{display:flex; gap:6px; align-items:center}
.hm-wordrow input{flex:1; min-width:0}
.hm-reroll{flex:none; background:none; border:0; color:var(--mid); font:inherit; font-size:var(--quiet); cursor:pointer; white-space:nowrap}
.hm-reroll:hover{color:var(--ink)}
.hm-block{margin-top:18px}
.hm-cos{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.hm-co.on{background:var(--ink); color:var(--white); border-color:var(--ink)}
.hm-co.add{border-style:dashed; color:var(--mid)}
.hm-co:disabled,.hm-edit .chip:disabled{opacity:.35; cursor:default}
.hm-newco{width:200px; padding:6px 12px; border-radius:var(--pill)}
.hm-all{display:inline-flex; align-items:center; gap:10px; background:none; border:0; font:inherit; font-size:var(--say); cursor:pointer; padding:0; color:var(--ink)}
.hm-tog{width:38px; height:22px; border-radius:var(--pill); background:var(--border); position:relative; transition:background .15s}
.hm-tog i{position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:var(--white); box-shadow:var(--lift-knob); transition:left .15s}
.hm-all.on .hm-tog{background:var(--red)}
.hm-all.on .hm-tog i{left:19px}
.hm-btns{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:22px; flex-wrap:wrap}
.hm-btns > div{display:flex; gap:10px; align-items:center}
.hm-quiet{background:none; border:0; color:var(--mid); font:inherit; font-size:var(--say); cursor:pointer; padding:0}
.hm-quiet:hover{color:var(--red)}
.hm-owed{color:var(--red-dark); font-size:var(--say); margin:12px 0 0}

/* ---- along the bottom ---- */
.hm-save{margin:22px 0 0}
.hm-save:disabled{background:var(--red-dark); color:var(--white-mid); opacity:1}
.hm-note{text-align:center; color:var(--white); font-size:var(--say); margin:12px 0 0; min-height:1.2em}
.hm-note a{color:var(--white); cursor:pointer; text-decoration:underline}
