/* css/people.css — consulta rápida de pessoas / de-para de áreas */
/* CONSULTA RÁPIDA DE PESSOAS / DE-PARA ÁREAS */
.people-search-box { position: relative; width: 100%; max-width: 440px; }
.people-search-input { width: 100%; padding: 8px 12px 8px 34px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--ink); font-size: 13px; }
.people-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.people-results-card { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,0.14); max-height: 280px; overflow-y: auto; z-index: 1000; display: none; }
.people-result-item { padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.people-result-item:last-child { border-bottom: none; }
.people-result-item:hover, .people-result-item.active { background: var(--soft); }
.people-name { font-weight: 600; font-size: 13px; color: var(--ink); }
.people-area-badge { align-self: flex-start; font-size: 11px; font-weight: 600; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); padding: 1px 6px; border-radius: 4px; }
.people-mail { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.people-results-card.contact-mode { left: auto; right: 0; width: 360px; max-width: calc(100vw - 24px); max-height: min(78vh, 560px); padding: 12px 14px 14px; }
.pc-top { margin: -2px 0 8px; }
.pc-back { background: none; border: none; padding: 2px 4px; margin-left: -4px; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 4px; }
.pc-back:hover { color: var(--ink); background: var(--soft); }
.pc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pc-avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.pc-id { min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pc-name { font-size: 15px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; line-height: 1.25; }
.pc-list { display: flex; flex-direction: column; }
.pc-row { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.pc-row span { flex: 0 0 104px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pc-row b { min-width: 0; flex: 1; font-size: 13px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pc-row a { color: var(--accent); text-decoration: none; }
.pc-row a:hover { text-decoration: underline; }
.pc-none { color: var(--muted); font-weight: 500; }
.pc-copy { margin-left: 8px; padding: 1px 8px; font: inherit; font-size: 11px; font-weight: 500; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); color: var(--muted); cursor: pointer; }
.pc-copy:hover { border-color: var(--accent); color: var(--ink); }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pc-stats > div { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 8px 6px; text-align: center; }
.pc-stats b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.pc-stats span { font-size: 10.5px; color: var(--muted); }
.pc-meta { margin: 8px 0 10px; font-size: 11.5px; color: var(--muted); }
.pc-recent { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pc-rec { display: grid; grid-template-columns: 88px 1fr auto; gap: 8px; align-items: center; padding: 6px 9px; font-size: 11.5px; border-bottom: 1px solid var(--line); }
.pc-rec:last-child { border-bottom: none; }
.pc-rec-num { font-family: monospace; font-weight: 600; color: var(--ink); }
.pc-rec-desc { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-rec-st { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pc-filter { width: 100%; justify-content: center; margin-bottom: 12px; }
.pc-recent-title { margin-bottom: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pc-empty { margin-top: 12px; padding: 12px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 12px; }

