.support-message {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 15px 0;
}
.checkout-address-field {
  margin-bottom: 20px;
}
.member-layout {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 42px;
  min-height: 720px;
}
.member-nav {
  gap: 1px;
}
.member-nav a {
  padding: 10px 12px;
}
.member-heading {
  align-items: flex-start;
  margin-bottom: 26px;
}
.member-heading h1 {
  font-size: 28px;
}
.member-heading .eyebrow {
  font-size: 10px;
}
.member-section {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.member-section > h2 {
  font-size: 19px;
  margin-bottom: 20px;
}
.member-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  margin-bottom: 25px;
}
.member-metrics > div {
  padding: 22px 18px;
}
.member-metrics > div + div {
  border-inline-start: 1px solid var(--line);
}
.member-metrics small {
  color: var(--muted);
  display: block;
}
.member-metrics strong {
  font-size: 28px;
  display: block;
  line-height: 1.5;
}
.member-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
  font-size: 12px;
}
.member-search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  flex: 1;
  max-width: 350px;
}
.member-search input {
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  background: transparent;
}
.transaction-row {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}
.transaction-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--wash);
  padding: 12px 17px;
  font-size: 11px;
}
.transaction-meta time {
  color: var(--muted);
}
.transaction-meta .state-badge {
  margin-inline-start: auto;
}
.transaction-body {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 25px;
}
.member-product {
  display: flex;
  gap: 15px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.member-product img {
  width: 80px;
  height: 76px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.member-product > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.member-product strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.member-product small {
  font-size: 10px;
  color: var(--muted);
}
.transaction-price {
  display: flex;
  flex-direction: column;
  align-items: end;
}
.transaction-price strong {
  font-size: 19px;
  white-space: nowrap;
}
.transaction-price small {
  font-size: 10px;
  color: var(--muted);
}
.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: normal;
  background: #edf0ed;
  color: #58645b;
}
.state-badge:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.state-active,
.state-completed,
.state-paid,
.state-defaultAddress {
  background: #eaf4ee;
  color: #167052;
}
.state-pending,
.state-waiting {
  background: #fff3d9;
  color: #8b641b;
}
.state-shipped,
.state-delivered {
  background: #edf2fa;
  color: #3c6895;
}
.state-hold,
.state-rejected,
.state-refund {
  background: #fbece8;
  color: #a44737;
}
.member-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.member-table-wrap {
  overflow: auto;
  margin-top: 18px;
}
.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.member-table th {
  text-align: start;
  font-size: 10px;
  color: var(--muted);
  background: var(--wash);
  padding: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.member-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.member-table td .btn {
  margin-inline-start: 10px;
}
.member-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 35px;
}
.order-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 25px 0;
  margin: 0;
  gap: 14px;
}
.order-progress li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-align: center;
  color: #89968d;
  position: relative;
}
.order-progress li > span {
  width: 34px;
  height: 34px;
  background: #f0f2ef;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 1;
}
.order-progress li:before {
  content: "";
  position: absolute;
  width: calc(100% + 14px);
  height: 2px;
  background: #e6eae5;
  inset-inline-start: 50%;
  top: 16px;
}
.order-progress li:last-child:before {
  display: none;
}
.order-progress .done {
  color: var(--green);
}
.order-progress .done > span {
  background: var(--mint);
}
.order-progress .done:before {
  background: #c4dfcc;
}
.order-product {
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.order-product .member-actions {
  max-width: 45%;
  justify-content: end;
}
.info-list {
  margin: 0 0 22px;
}
.info-list > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.info-list dt {
  color: var(--muted);
}
.info-list dd {
  margin: 0;
  text-align: end;
  overflow-wrap: anywhere;
  min-width: 0;
}
.message-thread {
  min-height: 180px;
  max-height: 460px;
  overflow: auto;
  padding-block: 5px 20px;
}
.conversation-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 150px;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.message-bubble {
  background: var(--mint);
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 12px;
  max-width: 95%;
  margin-inline-start: auto;
}
.message-bubble strong {
  font-size: 11px;
}
.message-bubble p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 5px 0;
}
.message-bubble time {
  font-size: 9px;
  color: var(--muted);
}
.address-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.address-item {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 6px;
}
.address-item p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}
.address-item .section-head {
  margin-bottom: 15px;
}
.wallet-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 24px;
  border-block: 1px solid var(--line);
}
.wallet-balance small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.wallet-balance strong {
  font-size: 32px;
  display: block;
  margin-top: 8px;
}
.wallet-balance > div:nth-child(2) strong {
  font-size: 25px;
  color: var(--muted);
}
.bank-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  padding: 15px 0;
  flex-wrap: wrap;
}
.bank-line span {
  color: var(--muted);
}
.member-upload {
  margin-top: 20px;
}
.member-upload img {
  max-height: 130px;
}
.member-review {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.member-review .section-head {
  margin-block: 18px 10px;
}
.member-review p {
  margin-bottom: 15px;
  font-size: 13px;
}
.review-stars {
  color: #ab7a21;
  font-size: 17px;
}
.notification-row {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 22px 15px;
}
.notification-row.unread {
  background: #f3f8f3;
}
.notification-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint);
  border-radius: 50%;
  flex-shrink: 0;
}
.notification-row > a {
  flex: 1;
  font-size: 13px;
}
.notification-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.help-top {
  padding: 20px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.help-top p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.help-questions details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.help-questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.help-questions p {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0;
}
.identity-steps {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 12px 0 25px;
}
.identity-steps li {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--green);
  font-size: 12px;
}
.rating-choice {
  border: 0;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  gap: 10px;
}
.rating-choice legend {
  font-size: 12px;
  margin-bottom: 12px;
}
.rating-choice input {
  accent-color: var(--green);
}
.rating-choice span {
  color: #ab7a21;
}
.member-quicklinks {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.member-quicklinks a {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding: 10px;
  color: var(--green);
  font-size: 12px;
}
.member-checkout-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
@media (max-width: 1050px) {
  .member-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 25px;
  }
  .transaction-body {
    gap: 15px;
    flex-wrap: wrap;
  }
  .member-columns {
    grid-template-columns: 1fr;
  }
  .wallet-balance {
    flex-wrap: wrap;
  }
  .wallet-balance strong {
    font-size: 27px;
  }
  .address-list {
    grid-template-columns: 1fr;
  }
  .order-product {
    flex-wrap: wrap;
  }
  .order-product .member-actions {
    max-width: 100%;
    justify-content: start;
  }
  .identity-steps {
    flex-wrap: wrap;
    gap: 15px;
  }
}
@media (max-width: 640px) {
  .member-layout {
    display: block;
    min-height: 0;
  }
  .member-nav {
    display: flex;
    flex-direction: row;
    overflow: auto;
  }
  .member-nav a {
    flex-shrink: 0;
  }
  .member-heading h1 {
    font-size: 24px;
  }
  .member-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .member-heading .btn {
    font-size: 11px;
  }
  .member-metrics strong {
    font-size: 24px;
  }
  .member-metrics > div {
    padding: 16px 10px;
  }
  .member-metrics small {
    font-size: 10px;
  }
  .member-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .member-search {
    max-width: none;
    flex-basis: 100%;
  }
  .transaction-body {
    padding: 15px;
    gap: 15px;
  }
  .member-product img {
    width: 67px;
    height: 67px;
  }
  .member-product strong {
    font-size: 12px;
  }
  .transaction-price strong {
    font-size: 16px;
  }
  .transaction-body > .btn {
    width: 100%;
  }
  .transaction-meta {
    padding: 11px;
    font-size: 10px;
    gap: 8px;
  }
  .order-progress {
    gap: 5px;
  }
  .order-progress li {
    font-size: 9px;
  }
  .order-progress li:before {
    width: calc(100% + 5px);
  }
  .member-section {
    padding: 20px 0;
  }
  .member-section .section-head h2 {
    font-size: 19px;
  }
  .member-table {
    font-size: 11px;
  }
  .member-table th,
  .member-table td {
    padding: 12px 8px;
  }
  .member-table {
    min-width: 380px;
  }
  .wallet-balance {
    gap: 22px;
    padding: 22px 0;
  }
  .wallet-balance .btn {
    width: 100%;
  }
  .wallet-balance strong {
    font-size: 28px;
  }
  .wallet-balance > div:nth-child(2) strong {
    font-size: 22px;
  }
  .address-item {
    padding: 18px;
  }
  .member-columns {
    gap: 5px;
  }
  .member-heading .eyebrow {
    font-size: 9px;
  }
  .notification-row {
    gap: 12px;
    padding: 18px 10px;
  }
  .identity-steps {
    gap: 13px;
  }
  .identity-steps li {
    font-size: 10px;
  }
  .rating-choice {
    gap: 5px;
  }
  .member-actions .btn {
    font-size: 11px;
  }
  .order-product .member-actions {
    width: 100%;
  }
  .order-product .member-actions .btn {
    flex: 1;
  }
  .member-table-wrap {
    max-width: 100%;
  }
}
