.profile {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 16px;
  margin: 17px 0;
}
.profile > .panel { min-width: 0; margin: 0; }
.profile > :last-child { grid-column: 1 / -1; }
.profile .receive-head { margin-bottom: 1rem; }
.profile-details { margin: 0; }
.profile-details > div {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: .8rem;
  align-items: center;
  padding: .4rem .55rem;
  border-bottom: 1px solid #d0d8d3;
}
.profile-details > div:first-child { border-top: 1px solid #d0d8d3; }
.profile-details > div:nth-child(odd) { background: #f5f8f5; }
.profile-details dd { text-align: left; overflow-wrap: anywhere; }
.profile-role { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.profile-role button { display: inline-flex; flex: none; }
.profile-hours select {
  max-width: 100%;
  color: inherit;
  background: white;
  border: 1px solid #c9d2cc;
  border-radius: 8px;
  padding: .48rem .6rem;
}
.profile .profile-totals { table-layout: fixed; font-variant-numeric: tabular-nums; }
.profile-totals th:first-child { width: 39%; white-space: normal; }
.profile-totals tbody th { background: white; font-weight: 500; }
.profile-totals :is(td, th):not(:first-child) { text-align: center; }
.profile-totals td:nth-child(2) { background: #eff6ee; color: #20582e; font-weight: 650; }
.profile-totals .pixel { width: 1em; height: 1em; margin-right: .32rem; }
.profile-explanation { margin: .65rem 0 1rem; font-size: .84rem; line-height: 1.45; }
.profile-lifetime {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  padding: .6rem .75rem;
  background: #edf3ee;
  border-radius: 8px;
}
.profile-lifetime strong { font-variant-numeric: tabular-nums; }
.profile #block-order {
  margin-top: .75rem;
  border: 1px solid #d0d8d3;
  border-radius: 8px;
}
.profile .block-item { gap: .7rem; padding: .5rem .7rem; }
.profile .block-item:nth-child(2) { background: #f5f8f5; }
@media (max-width: 780px) {
  .profile { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .profile .profile-totals :is(th,td) { padding: .45rem .3rem; }
}
