.agent-performance {
  grid-column: 1 / -1;
  --ap-ink: var(--material-ink, var(--ink, #18282d));
  --ap-muted: var(--material-secondary, var(--muted, #46565c));
  --ap-edge: var(--material-edge, var(--line, #c1d7d5));
  --ap-focus: var(--turquoise-dark, #007f82);
  color: var(--ap-ink);
  min-width: 0;
  width: 100%;
  margin-block: 24px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
:is([data-theme="dark"], .dark-mode) .agent-performance {
  --ap-ink: var(--material-ink, #f3f8f7);
  --ap-muted: var(--material-secondary, #cbd8d6);
  --ap-edge: var(--material-edge, #546e6b);
  --ap-focus: #71dbd1;
}
.agent-performance :is(h3, h4, p, ol, ul, dl, dd) { margin: 0; }
.agent-performance :is(h3, h4, strong) { color: var(--ap-ink); }
.agent-performance h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 1.4; }
.agent-performance h4 { font-size: 16px; line-height: 1.5; }
.agent-performance p, .agent-performance time { color: var(--ap-muted); font-size: 13px; line-height: 1.6; }
.agent-performance p { padding: 0; }
.agent-performance__header, .agent-performance__property { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; }
.agent-performance__assignment { border-top: 1px solid var(--ap-edge); padding-block: 20px; margin-top: 16px; min-width: 0; }
.agent-performance__property > div { min-width: 0; flex: 1 1 220px; }
.agent-performance__property p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.agent-performance__counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 12px 20px; padding-block: 16px; }
.agent-performance__counts > div { min-width: 0; }
.agent-performance dt { display: flex; align-items: flex-start; gap: 6px; color: var(--ap-muted); font-size: 13px; line-height: 1.5; }
.agent-performance dd { padding-inline-start: 24px; font-size: 20px; font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; }
.agent-performance__icon { display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; vertical-align: middle; }
.agent-performance__icon > :is(svg, img) { width: 18px; height: 18px; }
.agent-performance details { margin-top: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.agent-performance summary { cursor: pointer; padding: 8px 0; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--ap-ink); }
.agent-performance summary .agent-performance__icon { margin-inline: 4px 8px; }
.agent-performance summary:focus-visible { outline: 2px solid var(--ap-focus); outline-offset: 3px; border-radius: 4px; }
.agent-performance :is(ol, ul) { list-style: none; padding: 0; }
.agent-performance li { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; border-top: 1px solid var(--ap-edge); padding-block: 12px; font-size: 14px; line-height: 1.5; }
.agent-performance li > div { flex: 1 1 180px; min-width: 0; }
.agent-performance li > time { flex: 0 1 190px; min-width: 0; font-variant-numeric: tabular-nums; }
.agent-performance .agent-performance__empty { padding-block: 16px; }
@media (max-width: 480px) {
  .agent-performance__property { display: block; }
  .agent-performance__property > p { margin-top: 8px; }
  .agent-performance li > time { flex-basis: 100%; padding-inline-start: 30px; }
}
