/* EILA People Phase 1: ACE-style contact control plane */
.page[data-page="people"] .section-head{align-items:flex-end;margin-bottom:12px}
.page[data-page="people"] .section-head h3{font-size:20px;letter-spacing:-.025em}
.page[data-page="people"] .toolbar{background:#fff;border:1px solid var(--line);border-radius:17px;padding:9px;box-shadow:0 7px 22px rgba(18,24,32,.04);margin-bottom:13px}
.page[data-page="people"] .toolbar .search{border:0;background:var(--soft);min-height:39px}
.page[data-page="people"] .toolbar .btn{white-space:nowrap}
.page[data-page="people"] #peopleNotice .notice{margin:0 0 10px}
.people-list.people-control-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:11px;align-items:stretch}
.people-control-card{background:#fff;border:1px solid #e1e4e8;border-top:3px solid #111;border-radius:16px;padding:12px;min-width:0;box-shadow:0 8px 24px rgba(16,18,22,.045);display:flex;flex-direction:column;gap:10px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.people-control-card:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(16,18,22,.075);border-color:#d2d6dc}
.pc-head{display:flex;gap:10px;align-items:flex-start;min-width:0}
.pc-avatar{width:46px;height:46px;border-radius:13px;background:#111;color:#fff;display:grid;place-items:center;overflow:hidden;flex:none;font-size:12px;font-weight:850;letter-spacing:.02em;border:1px solid rgba(0,0,0,.08);position:relative}
.pc-avatar>span{position:relative;z-index:0}
.pc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:1}
.pc-identity{min-width:0;flex:1;padding-top:1px}
.pc-name-row{display:flex;align-items:flex-start;gap:7px;justify-content:space-between}
.pc-name{font-size:13px;font-weight:850;letter-spacing:-.012em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-status{font-size:7px;font-weight:850;letter-spacing:.06em;padding:5px 6px;border-radius:999px;background:#f2f3f5;color:#5f6670;flex:none}
.pc-status.owner{background:#111;color:#fff}
.pc-status.auto{background:#eaf7f1;color:#14784d}
.pc-status.notify{background:#fff5e8;color:#9b5b09}
.pc-sub{font-size:9px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-contact-lines{display:grid;gap:5px;border-top:1px solid #eff0f2;border-bottom:1px solid #eff0f2;padding:9px 0}
.pc-line{display:flex;gap:7px;align-items:center;min-width:0;font-size:9px;color:#525a64}
.pc-line-icon{width:18px;text-align:center;color:#858c95;flex:none}
.pc-line-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-chip-area{min-height:27px;display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap}
.pc-chip{font-size:8px;background:#f5f6f7;color:#4f5660;border:1px solid #edf0f2;padding:5px 7px;border-radius:999px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-chip.tag{background:#eef4ff;color:#34547c;border-color:#e2ebfb}
.pc-more{font-size:8px;color:#777;padding:5px 2px}
.pc-actions{margin-top:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.pc-action{height:34px;border:1px solid #dfe2e6;background:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#353b43;text-decoration:none;font-size:14px;font-weight:750;transition:background .12s ease,border-color .12s ease,transform .12s ease;cursor:pointer;padding:0}
.pc-action:hover:not(:disabled){background:#f5f6f7;border-color:#cdd2d8;transform:translateY(-1px)}
.pc-action:disabled,.pc-action.disabled{opacity:.35;cursor:not-allowed;pointer-events:none}
.pc-eila-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.pc-eila-btn{border:0;background:#111;color:#fff;border-radius:9px;padding:8px 8px;font-size:8px;font-weight:850;letter-spacing:.01em;cursor:pointer;white-space:nowrap}
.pc-eila-btn.secondary{background:#f1f2f4;color:#222;border:1px solid #e1e4e7}
.pc-eila-btn:disabled{opacity:.4;cursor:not-allowed}
.pc-status-line{font-size:8px;min-height:12px;color:#17764e;margin-top:-3px}
.people-sms-wrap{display:none;position:fixed;inset:0;background:rgba(10,12,15,.38);z-index:80;padding:16px;align-items:flex-end;justify-content:center}
.people-sms-wrap.open{display:flex}
.people-sms-modal{width:min(540px,100%);background:#fff;border-radius:22px;padding:16px;box-shadow:0 20px 70px rgba(0,0,0,.18)}
.people-sms-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.people-sms-head h3{font-size:15px;margin:0}
.people-sms-head p{font-size:9px;color:var(--muted);margin:3px 0 0}
.people-sms-modal textarea{width:100%;min-height:130px;border:1px solid var(--line);border-radius:14px;padding:12px;resize:vertical;outline:none;font:inherit;font-size:11px;line-height:1.5}
.people-sms-modal textarea:focus{border-color:#bfc5cc;box-shadow:0 0 0 3px #f2f3f5}
.people-sms-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.people-sms-actions button{border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 12px;font-size:10px;font-weight:800;cursor:pointer}
.people-sms-actions button.send{background:#111;color:#fff;border-color:#111}
.people-photo-preview{display:flex;align-items:center;gap:10px}
.people-photo-preview .pc-avatar{width:54px;height:54px}
.people-photo-tools{display:grid;gap:6px;flex:1}
.people-photo-tools input[type="file"]{padding:7px 0;border:0;background:transparent;border-radius:0}
.people-inline-hint{font-size:8px;color:var(--muted);line-height:1.45}
@media(max-width:760px){.people-list.people-control-grid{grid-template-columns:1fr}.page[data-page="people"] .toolbar{display:grid;grid-template-columns:1fr 1fr}.page[data-page="people"] .toolbar .search{grid-column:1/-1}.pc-actions{grid-template-columns:repeat(4,1fr)}.pc-eila-actions{grid-template-columns:1fr 1fr}.people-sms-wrap{align-items:flex-end;padding:10px}.people-sms-modal{border-radius:20px 20px 14px 14px}}
