.account {
  max-width: 980px;
  margin: auto;
}
.identity {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  color: white;
  padding: 22px 19px 16px;
  background:
    linear-gradient(90deg, #122d2df5 2%, #133434d9 49%, #1b353b45),
    url("./assets/delta.webp") center 50% / cover;
}
.identity-person {
  display: flex;
  align-items: center;
  gap: 11px;
}
.identity-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ecf0d9;
  display: grid;
  place-items: center;
  color: #29463b;
  flex: none;
}
.identity-person h2 {
  font-size: 22px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.identity-person p {
  font-size: 13px;
  color: #e4ede7;
  margin-top: 4px;
}
.identity-person button {
  margin-left: auto;
  white-space: nowrap;
  padding: 7px 9px;
  border: 1px solid #b7ccbd78;
  border-radius: 18px;
  background: #14302ca3;
  color: white;
  font-size: 12px;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid #d4e1d54a;
  padding-top: 12px;
}
.account-stats a {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.account-stats b {
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.account-stats span {
  font-size: 12px;
  color: #ecf2eb;
}
.account-box {
  border: 1px solid #e0e5df;
  border-radius: 12px;
  padding: 14px 13px;
  margin-top: 13px;
}
.account-box .chapter {
  margin: 0 0 12px;
}
.account-box .chapter h2 {
  font-size: 18px;
}
.role-switch {
  display: inline-flex;
  background: #f0f2ef;
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}
.role-switch a {
  border-radius: 5px;
  font-size: 13px;
  padding: 5px 12px;
  color: #59675d;
}
.role-switch a.on {
  background: #fff;
  color: #223d2c;
  font-weight: 650;
  box-shadow: 0 1px 3px #142b1714;
}
.order-states {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding-top: 14px;
}
.order-states a {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  font-size: 12px;
}
.order-states a > span {
  position: relative;
  color: #344a3b;
}
.order-states sup {
  border-radius: 10px;
  background: var(--blue);
  color: white;
  position: absolute;
  top: -4px;
  left: 17px;
  text-align: center;
  min-width: 15px;
  font-size: 10px;
  padding: 1px 3px;
}
.account-tool {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  text-align: left;
}
.account-tool > i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #edf2ea;
  color: #45634b;
}
.account-tool b {
  display: block;
  font-size: 15px;
  font-weight: 590;
}
.account-tool span {
  flex: 1;
}
.account-tool small {
  font-size: 12px;
  color: var(--muted);
}
.account-tool + .account-tool {
  border-top: 1px solid #eef0ed;
}
.account-content {
  margin-top: 16px;
}
.empty-cta {
  display: flex;
  justify-content: center;
}
.listing-state {
  font-size: 12px;
  color: #42654b;
}
.order-filters {
  display: flex;
  gap: 6px;
  overflow: auto;
  padding: 14px 0;
}
.order-filters a {
  white-space: nowrap;
  flex: none;
  font-size: 13px;
  background: #f1f3ef;
  border-radius: 16px;
  padding: 7px 10px;
}
.order-filters a.on {
  background: #2b4032;
  color: white;
}
@media (min-width: 820px) {
  .identity {
    padding: 24px 30px;
    background-position: center 53%;
  }
  .identity-person h2 {
    font-size: 26px;
  }
  .account-stats {
    max-width: 460px;
  }
  .account-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 15px;
    margin-top: 16px;
    align-items: start;
  }
  .account-box {
    margin: 0;
    padding: 18px;
  }
  .account-box:first-child {
    grid-column: 1/-1;
  }
  .order-states {
    max-width: 640px;
  }
  .identity-person button {
    font-size: 14px;
  }
}
