.ai-usage { min-width: 0; }
.ai-usage .usage-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
  gap: 8px;
  margin-block: 12px;
}
.ai-usage .usage-totals > div { padding: 7px 9px; border-radius: 4px; background: var(--subtle, #f5f5f5); }
.ai-usage .usage-totals dt { color: var(--muted, #555b63); font-size: .85em; }
.ai-usage .usage-totals dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.ai-usage .usage-table { overflow-x: auto; margin-block: 8px; }
.ai-usage table { border-collapse: collapse; width: 100%; font-size: .9em; }
.ai-usage :is(th, td) { padding: 6px 9px; text-align: end; border-bottom: 1px solid var(--border, #d9e0e6); }
.ai-usage :is(th, td):first-child { text-align: start; min-width: 125px; }
.ai-usage td { white-space: nowrap; font-variant-numeric: tabular-nums; }
