/* People: files, complaints and staff reports.
   Owned by public/js/people.js and loaded after /styles.css. Class names here belong to this module;
   a look shared by several modules goes in /styles.css (npm run check-styles enforces this). */

/* ---------- files ---------- */
.file-picker { display: grid; gap: .5rem; }
.file-preview img { max-width: 100%; max-height: 220px; border-radius: 8px; border: 1px solid var(--border); }
.file-links { display: inline-flex; flex-wrap: wrap; gap: .3rem .6rem; }
.file-links a { font-size: .85rem; white-space: nowrap; }

/* ---------- complaints ---------- */
.complaint-body { white-space: pre-wrap; background: var(--accent-soft); padding: .8rem; border-radius: 8px; }
.complaint-reply { border-left: 3px solid var(--border); padding: .3rem .7rem; }
.complaint-reply.mine { border-left-color: var(--accent); }
.complaint-reply div { white-space: pre-wrap; margin-top: .2rem; }

/* ---------- staff reports ---------- */
.report-card .task-top { align-items: flex-start; }
.report-score { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.report-score strong { font-size: 1.8rem; color: var(--accent); }
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .5rem; margin-top: .6rem; }
.report-metric { border: 1px solid var(--border); border-radius: 8px; padding: .45rem .6rem; display: flex; flex-direction: column; gap: .1rem; }
.report-metric strong { font-variant-numeric: tabular-nums; }
