.xtd-reviews-profile {
  color: #20242a;
  margin: 2rem auto;
  max-width: 1040px;
  padding: 0 1rem;
}

.xtd-reviews-profile__hero {
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid #dde4ec;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(35, 45, 60, .08);
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.xtd-reviews-profile__avatar {
  align-items: center;
  background: #1f7a8c;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 72px;
  font-size: 2rem;
  font-weight: 700;
  height: 72px;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
  width: 72px;
}

.xtd-reviews-profile__identity {
  min-width: 0;
}

.xtd-reviews-profile__eyebrow {
  color: #657080;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 .35rem;
  text-transform: uppercase;
}

.xtd-reviews-profile h1 {
  color: #20242a;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  overflow-wrap: anywhere;
}

.xtd-reviews-profile__summary {
  color: #657080;
  margin: .55rem 0 0;
}

.xtd-reviews-profile__counts {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0 2rem;
}

.xtd-reviews-profile__counts span {
  background: #fff;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(35, 45, 60, .05);
  color: #657080;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-height: 88px;
  padding: 1rem;
}

.xtd-reviews-profile__counts strong {
  color: #20242a;
  font-size: 1.7rem;
  line-height: 1;
}

.xtd-reviews-profile__section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 0 1rem;
}

.xtd-reviews-profile__section-head h2,
.xtd-reviews-profile__empty h2 {
  color: #20242a;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.xtd-reviews-profile__timeline {
  display: grid;
  gap: 1rem;
}

.xtd-reviews-profile__activity {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(35, 45, 60, .05);
  display: grid;
  gap: 1rem;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 1.1rem;
}

.xtd-reviews-profile__activity-icon {
  align-items: center;
  background: #eef7f9;
  border: 1px solid #c9e5ea;
  border-radius: 50%;
  color: #1f7a8c;
  display: flex;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.xtd-reviews-profile__activity-body {
  min-width: 0;
}

.xtd-reviews-profile__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .55rem;
}

.xtd-reviews-profile__type {
  background: #f0f3f6;
  border-radius: 999px;
  color: #3b4654;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  padding: .4rem .6rem;
}

.xtd-reviews-profile__activity time {
  color: #657080;
  font-size: .88rem;
}

.xtd-reviews-profile__activity h3 {
  color: #20242a;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .5rem;
  overflow-wrap: anywhere;
}

.xtd-reviews-profile__activity p {
  color: #3b4654;
  line-height: 1.6;
  margin: 0 0 .9rem;
  overflow-wrap: anywhere;
}

.xtd-reviews-profile__product {
  align-items: center;
  color: #1f7a8c;
  display: inline-flex;
  flex-wrap: wrap;
  font-weight: 700;
  gap: .4rem;
  text-decoration: none;
}

.xtd-reviews-profile__product:hover,
.xtd-reviews-profile__product:focus {
  color: #155b68;
  text-decoration: underline;
}

.xtd-reviews-profile__product span {
  color: #3b4654;
  font-weight: 600;
}

.xtd-reviews-profile__owner-action {
  margin: .75rem 0;
}

.xtd-reviews-profile__owner-action summary {
  cursor: pointer;
  display: inline-flex;
  list-style: none;
}

.xtd-reviews-profile__owner-action summary::-webkit-details-marker {
  display: none;
}

.xtd-reviews-profile .xtd-review-inline-form {
  background: #f7f9fb;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  display: grid;
  gap: .75rem;
  margin: .75rem 0;
  padding: 1rem;
}

.xtd-reviews-profile .xtd-review-inline-form label {
  display: grid;
  gap: .35rem;
}

.xtd-reviews-profile .xtd-review-inline-form__grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xtd-review-owner-action {
  display: inline-block;
  margin: .35rem .5rem .35rem 0;
}

.xtd-reviews-account {
  color: #20242a;
  font-size: .8rem;
  line-height: 1.45;
  max-width: 100%;
}

.xtd-reviews-account__header {
  align-items: center;
  border-bottom: 1px solid #dde4ec;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.xtd-reviews-account__avatar {
  align-items: center;
  background: #1f7a8c;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 48px;
  font-size: 1.35rem;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
  width: 48px;
}

.xtd-reviews-account__title {
  min-width: 0;
}

.xtd-reviews-account__title p {
  color: #657080;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 .2rem;
  text-transform: uppercase;
}

.xtd-reviews-account__title h2 {
  color: #20242a;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  overflow-wrap: anywhere;
}

.xtd-reviews-account__nav {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 1.25rem;
}

.xtd-reviews-account__nav a {
  align-items: center;
  background: #fff;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  color: #20242a;
  display: flex;
  font-size: .78rem;
  font-weight: 700;
  gap: .5rem;
  min-height: 40px;
  padding: .55rem .65rem;
  text-decoration: none;
}

.xtd-reviews-account__nav a:hover,
.xtd-reviews-account__nav a:focus {
  border-color: #1f7a8c;
  color: #155b68;
  text-decoration: none;
}

.xtd-reviews-account__nav span {
  align-items: center;
  background: #eef7f9;
  border-radius: 50%;
  color: #1f7a8c;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: .75rem;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.xtd-reviews-account__section {
  margin: 0 0 1.5rem;
}

.xtd-reviews-account__section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: .6rem;
}

.xtd-reviews-account__section-head h3 {
  color: #20242a;
  font-size: .98rem;
  font-weight: 700;
  margin: 0;
}

.xtd-reviews-account__table-wrap {
  border: 1px solid #dde4ec;
  border-radius: 8px;
  overflow: visible;
}

.xtd-reviews-account__table {
  background: #fff;
  border-collapse: collapse;
  margin: 0;
  min-width: 920px;
  table-layout: fixed;
  width: 100%;
}

.xtd-reviews-account__table th,
.xtd-reviews-account__table td {
  border-bottom: 1px solid #eef1f5;
  font-size: .75rem;
  padding: .62rem .3rem;
  text-align: left;
  vertical-align: top;
}

.xtd-reviews-account__table th {
  background: #f7f9fb;
  color: #3b4654;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.xtd-reviews-account__table--waiting th:nth-child(2),
.xtd-reviews-account__table--waiting td:nth-child(2) {
  width: 43%;
}

.xtd-reviews-account__table--reviews th:nth-child(1),
.xtd-reviews-account__table--reviews td:nth-child(1) {
  width: 30%;
}

.xtd-reviews-account__table--reviews th:nth-child(3),
.xtd-reviews-account__table--reviews td:nth-child(3) {
  width: 24%;
}

.xtd-reviews-account__table--reviews th:nth-child(6),
.xtd-reviews-account__table--reviews td:nth-child(6) {
  width: 92px;
}

.xtd-reviews-account__table--questions th:nth-child(1),
.xtd-reviews-account__table--questions td:nth-child(1),
.xtd-reviews-account__table--comments th:nth-child(1),
.xtd-reviews-account__table--comments td:nth-child(1) {
  width: 42%;
}

.xtd-reviews-account__table--questions th:nth-child(2),
.xtd-reviews-account__table--questions td:nth-child(2),
.xtd-reviews-account__table--comments th:nth-child(2),
.xtd-reviews-account__table--comments td:nth-child(2),
.xtd-reviews-account__table--rewards th:nth-child(3),
.xtd-reviews-account__table--rewards td:nth-child(3) {
  width: 28%;
}

.xtd-reviews-account__table--waiting,
.xtd-reviews-account__table--reviews,
.xtd-reviews-account__table--questions,
.xtd-reviews-account__table--comments {
  min-width: 0;
}

.xtd-reviews-account__table tr:last-child td {
  border-bottom: 0;
}

.xtd-reviews-account__product {
  align-items: center;
  color: #20242a;
  display: grid;
  font-weight: 400;
  gap: .55rem;
  grid-template-columns: 42px minmax(0, 1fr);
  line-height: 1.35;
  text-decoration: none;
}

.xtd-reviews-account__product:hover,
.xtd-reviews-account__product:focus {
  color: #155b68;
  text-decoration: none;
}

.xtd-reviews-account__product img {
  border: 1px solid #eef1f5;
  border-radius: 4px;
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.xtd-reviews-account__product span,
.xtd-reviews-account__text {
  overflow-wrap: anywhere;
}

.xtd-reviews-account__text {
  color: #3b4654;
  display: block;
  line-height: 1.55;
  margin-top: .25rem;
}

.xtd-reviews-account__status {
  border-radius: 999px;
  display: inline-flex;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  padding: .4rem .55rem;
  white-space: nowrap;
}

.xtd-reviews-account__action {
  align-items: center;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(35, 45, 60, .12);
  display: inline-flex;
  font-size: .72rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  padding: .48rem .65rem;
  text-decoration: none;
  white-space: nowrap;
}

.xtd-reviews-account__action:hover,
.xtd-reviews-account__action:focus {
  text-decoration: none;
}

.xtd-reviews-account__action--primary {
  background: #238457;
  border-color: #238457;
  color: #fff;
}

.xtd-reviews-account__action--primary:hover,
.xtd-reviews-account__action--primary:focus {
  background: #1c6d47;
  border-color: #1c6d47;
  color: #fff;
}

.xtd-reviews-account__action--secondary {
  background: #eef7f9;
  border: 1px solid #b9dde5;
  color: #155b68;
}

.xtd-reviews-account__action--danger {
  background: #fff1f1;
  border: 1px solid #efc2c2;
  color: #9f2a2a;
}

.xtd-reviews-account__status.is-success {
  background: #e8f6ed;
  color: #1d733b;
}

.xtd-reviews-account__status.is-warning {
  background: #fff4d6;
  color: #8a5d00;
}

.xtd-reviews-account__status.is-danger {
  background: #fde9e9;
  color: #9f2a2a;
}

.xtd-reviews-account__status.is-muted {
  background: #eef1f5;
  color: #657080;
}

.xtd-reviews-account__details {
  display: inline-block;
  margin: .25rem .4rem .25rem 0;
  position: relative;
  z-index: 5;
}

.xtd-reviews-account__details[open] {
  z-index: 80;
}

.xtd-reviews-account__details[open]:before {
  background: rgba(32, 36, 42, .28);
  bottom: 0;
  content: "";
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 70;
}

.xtd-reviews-account__details summary {
  cursor: pointer;
  display: inline-flex;
  list-style: none;
}

.xtd-reviews-account__details summary::-webkit-details-marker {
  display: none;
}

.xtd-reviews-account .xtd-review-inline-form {
  background: #f7f9fb;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(35, 45, 60, .26);
  display: grid;
  gap: .75rem;
  left: 50%;
  margin: 0;
  max-height: calc(100vh - 4rem);
  max-width: calc(100vw - 2rem);
  min-width: 0;
  overflow: auto;
  padding: 1.1rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  z-index: 90;
}

.xtd-reviews-account .xtd-review-inline-form label {
  display: grid;
  gap: .35rem;
}

.xtd-reviews-account .xtd-review-inline-form__grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xtd-reviews-account .xtd-review-inline-form__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.xtd-reviews-account__cancel {
  background: #fff;
  border: 1px solid #c8d1dc;
  color: #3b4654;
}

.xtd-reviews-account__empty {
  color: #657080;
  padding: 1.5rem;
  text-align: center;
}

.xtd-reviews-profile__empty {
  background: #fff;
  border: 1px dashed #c8d1dc;
  border-radius: 8px;
  color: #657080;
  padding: 2rem;
  text-align: center;
}

.xtd-reviews-profile__empty p {
  margin: .5rem 0 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .xtd-reviews-account__table--waiting .xtd-reviews-account__product,
  .xtd-reviews-account__table--reviews .xtd-reviews-account__product,
  .xtd-reviews-account__table--questions .xtd-reviews-account__product,
  .xtd-reviews-account__table--comments .xtd-reviews-account__product {
    display: inline-flex;
    grid-template-columns: none;
  }

  .xtd-reviews-account__table--waiting .xtd-reviews-account__product span,
  .xtd-reviews-account__table--reviews .xtd-reviews-account__product span,
  .xtd-reviews-account__table--questions .xtd-reviews-account__product span,
  .xtd-reviews-account__table--comments .xtd-reviews-account__product span {
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}

@media (max-width: 767px) {
  .xtd-reviews-profile {
    margin: 1rem auto;
    padding: 0 .75rem;
  }

  .xtd-reviews-profile__hero {
    align-items: flex-start;
    padding: 1rem;
  }

  .xtd-reviews-profile__avatar {
    flex-basis: 56px;
    font-size: 1.45rem;
    height: 56px;
    width: 56px;
  }

  .xtd-reviews-profile h1 {
    font-size: 1.8rem;
  }

  .xtd-reviews-profile__counts {
    grid-template-columns: 1fr;
  }

  .xtd-reviews-profile__activity {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: .9rem;
  }

  .xtd-reviews-profile__activity-icon {
    height: 36px;
    width: 36px;
  }

  .xtd-reviews-profile .xtd-review-inline-form__grid {
    grid-template-columns: 1fr;
  }

  .xtd-reviews-account__nav {
    grid-template-columns: 1fr;
  }

  .xtd-reviews-account__table-wrap {
    border: 0;
    overflow-x: visible;
  }

  .xtd-reviews-account__table {
    background: transparent;
    min-width: 0;
    table-layout: auto;
  }

  .xtd-reviews-account__table thead {
    display: none;
  }

  .xtd-reviews-account__table,
  .xtd-reviews-account__table tbody,
  .xtd-reviews-account__table tr,
  .xtd-reviews-account__table td {
    box-sizing: border-box;
    display: block;
    width: 100%;
  }

  .xtd-reviews-account__table tr {
    background: #fff;
    border: 1px solid #dde4ec;
    border-radius: 8px;
    margin-bottom: .75rem;
  }

  .xtd-reviews-account__table td {
    align-items: flex-start;
    border-bottom: 1px solid #eef1f5;
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    font-size: .8rem;
    padding: .75rem;
  }

  .xtd-reviews-account__table th:nth-child(n),
  .xtd-reviews-account__table td:nth-child(n) {
    width: 100%;
  }

  .xtd-reviews-account__table td:before {
    color: #657080;
    content: attr(data-label);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .xtd-reviews-account__table td > .xtd-reviews-account__action,
  .xtd-reviews-account__table td > .xtd-reviews-account__details,
  .xtd-reviews-account__table td > .xtd-review-owner-action {
    grid-column: 2;
    justify-self: start;
  }

  .xtd-reviews-account__empty {
    display: block;
  }

  .xtd-reviews-account__empty:before {
    content: none;
  }

  .xtd-reviews-account .xtd-review-inline-form,
  .xtd-reviews-account .xtd-review-inline-form__grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .xtd-reviews-account .xtd-review-inline-form {
    max-height: calc(100vh - 2rem);
    padding: .9rem;
    width: calc(100vw - 1.5rem);
  }

  .xtd-reviews-account__product {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .xtd-reviews-account__product img {
    height: 38px;
    width: 38px;
  }
}
