/* PDO · People & Access */
.people-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:5px;border:1px solid #e0e7f0;border-radius:11px;background:#f7f9fc;width:max-content;max-width:100%}
.people-tabs button{font-size:13px;font-weight:600;border:0;background:transparent;color:#5c6c82;padding:11px 17px;border-radius:8px;cursor:pointer;white-space:nowrap}
.people-tabs button.active{background:#fff;color:#205cb1;box-shadow:0 1px 7px #16345e15}
.people-panel .people-section-head{margin-bottom:22px}
.people-panel .people-section-head h2{margin-bottom:6px}
.people-panel .people-section-head .hint{margin-top:3px}
.people-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.people-field-grid .field{margin-bottom:0}
.people-subpanel{background:#fafcff;border:1px solid #dfe8f4;border-radius:11px;padding:20px;margin-top:18px}
.people-subpanel h3{font-size:14px;color:#18375d;margin:0 0 10px}
.people-subpanel .hint{line-height:1.65}
.people-mapping-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:12px 0 15px}
.people-mapping-summary>div{border:1px solid #e2eaf4;border-radius:10px;padding:17px;background:#fff;display:flex;flex-direction:column;gap:7px}
.people-mapping-summary strong{font-size:23px;color:#205cb1}
.people-mapping-summary span{font-size:12px;color:#718098}
.people-district-grid{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
.people-district-pill{padding:10px 12px;border-radius:9px;background:#f3f7fd;border:1px solid #dfeafa;display:flex;align-items:center;gap:12px}
.people-district-pill b{font-size:12px;color:#18375d}
.people-district-pill small{font-size:11px;color:#7588a3}
.people-unit-results{border:1px solid #e0e7f0;border-radius:9px;max-height:200px;overflow:auto;margin:10px 0;background:#fff}
.people-unit-results button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;border:0;border-bottom:1px solid #eef2f8;background:white;color:#1f3959;text-align:left;cursor:pointer}
.people-unit-results button:hover{background:#eef6ff}
.people-unit-results button:last-child{border-bottom:0}
.people-unit-results span{color:#7c8a9f;font-size:11px}
.people-picked{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0;min-height:34px}
.people-unit-chip{background:#e9f3ff;border:1px solid #cadffb;color:#1d4c93;border-radius:999px;padding:6px 10px;font-size:12px;cursor:pointer}
.people-check{display:flex;align-items:center;gap:9px;font-size:12px;color:#50647e;margin-top:13px}
.people-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.people-agent-list,.people-roster{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.people-agent{border:1px solid #e0e8f2;border-radius:10px;background:#fff}
.people-agent summary{display:flex;gap:10px;justify-content:space-between;padding:14px;cursor:pointer;align-items:center;font-size:12px}
.people-agent summary strong{color:#173a62}
.people-agent summary span{color:#7b8aa0;font-size:11px}
.people-district-checks{border-top:1px solid #e8eff6;padding:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.people-district-checks label{display:flex;align-items:center;gap:7px;font-size:12px;color:#425b78}
.people-roster-row{border-bottom:1px solid #e6edf6;display:flex;justify-content:space-between;gap:12px;padding:9px 2px;font-size:12px}
.people-roster-row b{color:#213b5d}
.people-roster-row span{color:#7c8a9f}
@media(max-width:900px){.people-field-grid{grid-template-columns:1fr}.people-district-checks{grid-template-columns:repeat(2,minmax(0,1fr))}.people-mapping-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){.people-tabs{width:100%}.people-tabs button{flex:1;padding:10px 5px;font-size:11px}.people-mapping-summary{grid-template-columns:1fr}.people-district-checks{grid-template-columns:1fr}.people-agent summary{flex-direction:column;align-items:flex-start}}

.people-access-note{padding:12px 15px;margin:16px 0;background:#f1f7fd;border:1px solid #dce8f6;border-radius:9px;color:#4d6784;font-size:12px}

/* People & Access reference layout — scoped to this page and its dialogs. */
.people-table-wrap{overflow:auto;border:1px solid #dce6f4;border-radius:15px;margin-top:22px}
.people-table{width:100%;border-collapse:collapse;text-align:left;background:#fff;font-size:13px}
.people-table thead th{background:#f5f8fc;color:#607d9f;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:500;padding:20px 22px;border-bottom:1px solid #dce6f4}
.people-table td{padding:22px;vertical-align:top;border-bottom:1px solid #e9eff7;color:#193653}
.people-table tr:last-child td{border-bottom:0}.people-table td:first-child{min-width:260px;width:32%}.people-table td:nth-child(2){min-width:180px;width:17%}.people-table td:nth-child(3){width:28%}.people-table td:last-child{white-space:nowrap}
.people-table strong{font-weight:650}.people-table small,.people-identity small,.people-sections small{display:block;color:#7990ae;font-size:12px;margin-top:7px;line-height:1.5}
.people-identity{display:flex;align-items:center;gap:16px}.people-identity small{overflow-wrap:anywhere}.people-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:15px;background:#eaf2ff;color:#4680bc;font-weight:700}
.people-project-tags{display:flex;flex-wrap:wrap;gap:6px}.people-project-tags span{padding:6px 8px;border-radius:6px;background:#f1f5fa;border:1px solid #dce6f4;color:#204b78;font-size:12px;white-space:nowrap}
.people-status{display:inline-flex;align-items:center;gap:7px;border-radius:22px;padding:7px 11px;font-size:12px;white-space:nowrap}.people-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.people-status.active{background:#e9f7f1;color:#258668}.people-status.leave{background:#fff4dc;color:#99621e}.people-status.inactive{background:#eef1f5;color:#738095}
.people-table button{border:1px solid #d3e1f5;border-radius:10px;background:#fff;color:#245991;padding:12px 15px;font-size:12px}
.people-access-modal .modal{width:min(1080px,calc(100vw - 32px));max-width:1080px;border-radius:22px;max-height:92dvh;display:flex;flex-direction:column;overflow:hidden}
.people-access-modal .modalhead{flex-shrink:0;padding:27px 32px;border-bottom:1px solid #e2eaf5;background:#fff}.people-access-modal .modalhead h2{font-size:24px;font-weight:550;color:#19477f}.people-access-modal .modalbody{padding:30px 32px;overflow:auto;min-height:0}.people-access-modal .modalfoot{flex-shrink:0;padding:20px 32px;border-top:1px solid #e2eaf5;background:#fff}
.people-summary{padding:24px 22px;background:#f7faff;border:1px solid #e0eafb;border-radius:15px;margin-bottom:24px}.people-summary strong{font-size:16px}.people-sections{display:grid;gap:14px}.people-sections button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:24px 22px;text-align:left;background:white;border:1px solid #dce6f4;border-radius:15px;color:#193653}.people-sections button>span:last-child{color:#5a8dc9;font-size:25px}.people-sections button:disabled{opacity:.45;cursor:not-allowed}
.people-access-modal .project-area-row{grid-template-columns:1.4fr 1fr 1fr auto}.people-access-modal .grid2{gap:24px}.people-access-modal .people-sidebar-options{display:flex;flex-direction:column;gap:0;border:1px solid #dce6f4;border-radius:12px;overflow:hidden}.people-sidebar-options>label{padding:17px 22px;border-bottom:1px solid #e9eff7;display:flex;gap:17px}.people-sidebar-options>label:last-child{border-bottom:0}
.people-leave-panel{border:1px solid #dce6f4;border-radius:12px;padding:20px;margin-top:18px}.people-recovery-project{border-top:1px solid #e9eff7;margin-top:16px;padding-top:10px}.people-recovery-project h4{margin:5px 0 15px}.people-recovery-project details{margin:12px 0}.people-recovery-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:10px;max-height:240px;overflow:auto}.people-recovery-list label{display:flex;gap:10px;padding:12px;background:#f7faff;border-radius:8px}.people-recovery-list small{display:block;color:#7990ae;margin-top:4px}
@media(max-width:640px){.people-access-modal .modalhead,.people-access-modal .modalbody,.people-access-modal .modalfoot{padding:18px}.people-access-modal .modalhead h2{font-size:18px}.people-access-modal .project-area-row,.people-recovery-list{grid-template-columns:1fr}.people-access-modal .grid2{grid-template-columns:1fr}.people-sections button{padding:18px}.people-table td,.people-table th{padding:14px}}

/* Simple leave coverage: a single employee picker, no per-project cards. */
.people-recovery-simple{margin-top:12px;max-height:250px;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));padding:2px}
.people-recovery-simple label{align-items:flex-start;border:1px solid #e4ebf5;background:#f8fbff;cursor:pointer}
.people-recovery-simple label input{margin-top:2px;accent-color:#2b73c6}
#peopleRecoveryCount{padding-top:8px;font-weight:600;color:#255991}
@media(max-width:640px){.people-recovery-simple{grid-template-columns:1fr}}
