/* people.css: the pieces Memory Lane (public/memories.html) and the Admin page (public/admin.html) share:
   the lists of people, the tick boxes and the dialogs that go with them. It builds on lock.css and unlock.css. */
h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus{outline:none}
.gate h1.small{font-size:clamp(32px,5vw,44px)}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wait{display:flex;align-items:center;gap:14px;padding-block:24px}

/* ---- people, tick boxes and their dialogs ---- */
dialog .dfoot{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--line);margin-top:8px}
.people{display:grid;gap:10px}
.person{display:grid;gap:10px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--bg)}
.personwho{display:grid}
.personwho b{overflow-wrap:anywhere}
.personwho .note{overflow-wrap:anywhere}
.person .row{justify-content:space-between}
.switch{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;cursor:pointer}
input[type=checkbox]{width:20px;height:20px;flex:none;margin:0;accent-color:var(--accent)}
.pickrow{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;background:var(--bg);cursor:pointer}
.pickrow:hover{border-color:var(--ink)}
.picktext{display:grid;min-width:0}
.picktext b,.picktext .note{overflow-wrap:anywhere}
.addperson{display:grid;gap:12px;margin:0;min-width:0;padding:14px;border:1.5px dashed var(--line);border-radius:12px}
.addperson legend{padding:0 6px;font-size:15px;font-weight:700;color:var(--muted)}
.addperson .btn{justify-self:start}
#dlg-confirm .dbody p{overflow-wrap:anywhere}
