.detail-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}
header {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--mat-sys-primary-container);
  font: var(--mat-sys-title-large);
  font-weight: 700;
}
h1,
h2,
p {
  margin: 0;
}
header p,
header span {
  color: var(--mat-sys-on-surface-variant);
}
.history article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--mat-sys-outline-variant);
}
.history article div {
  display: flex;
  flex-direction: column;
}
.history span {
  color: var(--mat-sys-on-surface-variant);
}
.negative {
  color: var(--mat-sys-error);
}
.state {
  min-height: 180px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5rem;
  color: var(--mat-sys-on-surface-variant);
}
