/* Reports page + desk additions to the Activity page (package P2). Colours come from the tokens in app.css only. */
.page.reports { max-width: 1120px; }
.rep-bar { flex-wrap: wrap; margin: 12px 0 4px; }
.rep-bar .chip { min-height: 30px; padding: 3px 10px; font-size: 13px; }
.rep-bar .chip.on { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.rep-csv { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.rep-summary { margin: 8px 0 4px; }
.rep-summary .chip { cursor: default; }
.rep-summary .chip:hover { border-color: var(--line); color: inherit; }
.rep-summary .n { font-variant-numeric: tabular-nums; margin-left: 6px; font-weight: 600; }
.rep-h { font-size: 15px; font-weight: 600; margin: 18px 0 6px; }
.rep-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.rep-table table.t td, .rep-table table.t th { height: 40px; }   /* compact rows, one line each */
.rep-reasons { max-width: 260px; }
.rep-empty { margin: 16px 0; }
.rep-note { max-width: 760px; margin-top: 14px; }
/* colour = state only: amber past the reply target, red past twice it or a customer still waiting */
.rep-amber { color: var(--amber); }
.rep-red { color: var(--red); }
.chip.rep-red { border-color: var(--red-soft); }

/* Activity page: desk chips, customer filter, evidence drill-down */
.act-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 4px; }
.act-chips .chip { min-height: 30px; padding: 3px 10px; font-size: 13px; }
.act-chips .chip.on { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.act-chips .chip .n { font-variant-numeric: tabular-nums; opacity: .85; margin-left: 4px; }
.act-phone { width: 170px; }
.act-what.amber { color: var(--amber); }
.act-open { border: 0; background: none; color: var(--acc); font-size: 13px; padding: 0 6px; white-space: nowrap; }
.act-evidence { border-left: 2px solid var(--line); margin: 2px 0 8px 122px; padding: 4px 0 4px 12px; font-size: 13px; }
.act-evidence div { padding: 2px 0; }
.act-evidence .k { display: inline-block; width: 92px; color: var(--muted); }
@media (max-width: 760px) {
  .act-evidence { margin-left: 0; }
  .rep-table table.t { font-size: 12px; }
}
