/* Scoped to selection and tools; the sky, stars and Golden Threads are unchanged. */
#peopleMapHost .pm-selection{padding:clamp(18px,3vw,28px);border:1px solid #dfd3a9;border-radius:24px;background:#fbf8ed;color:#202647}
#peopleMapHost .pm-person-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
#peopleMapHost .pm-selected-name{margin:0 0 4px;font:400 clamp(27px,4vw,36px)/1.2 Georgia,serif}
#peopleMapHost .pm-identity{margin:4px 0;color:#65718a;font:15px/1.5 system-ui,sans-serif}
#peopleMapHost .pm-dismiss{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;border:1px solid #dfd3a9;border-radius:50%;background:transparent;color:#202647;font:28px/1 system-ui;cursor:pointer}
#peopleMapHost .pm-primary-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}
#peopleMapHost .pm-primary-actions>a,#peopleMapHost .pm-primary-actions>button{flex:1 1 180px;min-height:52px;max-width:300px;box-sizing:border-box;padding:13px 20px;border-radius:999px;font:600 16px/1.4 system-ui,sans-serif;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center}
#peopleMapHost .pm-primary-actions .add-submit{background:#202647;color:white;border:1px solid #202647}
#peopleMapHost .pm-primary-actions .quiet-button{background:transparent;color:#202647;border:1px solid #d7c99c}
#peopleMapHost .pm-action-groups{display:flex;flex-direction:column;border-top:1px solid #e5dcc1}
#peopleMapHost .pm-action-group{border-bottom:1px solid #e5dcc1;padding:0;margin:0}
#peopleMapHost .pm-action-group summary,.pe-tools-menu>summary{cursor:pointer;min-height:48px;padding:13px 4px;color:#202647;font:500 16px/1.5 system-ui,sans-serif}
#peopleMapHost .pm-group-content{display:flex;flex-wrap:wrap;gap:10px;padding:2px 0 16px}
#peopleMapHost .pm-group-content>.quiet-button,#peopleMapHost .pm-neighbor-list .quiet-button{min-height:44px;font:15px/1.4 system-ui,sans-serif;padding:10px 15px;text-decoration:none}
#peopleMapHost .pm-neighbor-list{flex:1 0 100%;list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:10px 0 0;margin:0;border-top:1px solid #e5dcc1}
#peopleMapHost .pm-neighbor-list li{margin:0}
.people-action.pe-library-tools{display:flex;align-items:flex-start;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px}
.pe-library-tools>.add-person,.pe-library-tools>.quiet-button{margin:0;min-height:48px;box-sizing:border-box;font:500 16px/1.4 system-ui,sans-serif;text-decoration:none;padding:12px 20px}
.pe-tools-menu{min-width:145px;border:1px solid #dfd3a9;border-radius:22px;text-align:left}
.pe-tools-menu>summary{padding:11px 18px}
.pe-tools-content{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:0 12px 12px}
.pe-tools-content .quiet-button{min-height:44px;text-align:left;justify-content:flex-start;font:15px/1.4 system-ui,sans-serif}
#peopleMapHost .pm-selection :is(button,a,summary):focus-visible,.pe-library-tools :is(button,a,summary):focus-visible{outline:3px solid #b88d43;outline-offset:3px}
@media(max-width:560px){
 #peopleMapHost .pm-primary-actions>a,#peopleMapHost .pm-primary-actions>button{flex:1 1 100%;max-width:none}
 .pe-library-tools>.add-person{flex:1 0 100%;max-width:none}
 .pe-library-tools>.quiet-button,.pe-library-tools>.pe-tools-menu{flex:1 1 150px}
}
