.seller-trust-marks {
  display: grid;
  width: min(100%, 14.5rem);
  gap: 5px;
  margin-top: 7px;
}

.seller-trust-mark {
  min-width: 0;
  max-width: 100%;
}

.seller-trust-mark > summary,
.seller-trust-rules > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.seller-trust-mark > summary::-webkit-details-marker,
.seller-trust-rules > summary::-webkit-details-marker { display: none; }

.seller-trust-mark > summary {
  width: 100%;
  max-width: 100%;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.22;
}

.seller-trust-mark > summary:hover { background: var(--catalog-tint); }
.seller-trust-mark .catalog-caret { flex: none; width: 5px; height: 5px; margin-inline-start: auto; }
.seller-trust-mark[open] .catalog-caret,
.seller-trust-rules[open] .catalog-caret { transform: rotate(225deg); }

.seller-trust-check {
  display: inline-grid;
  flex: none;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #dff7e8;
  color: #047042;
  font-size: .75rem;
  line-height: 1;
}

.seller-trust-mark > p {
  margin: 5px 0 2px;
  max-width: 35ch;
  padding-inline: 7px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.4;
}

.seller-trust-profile,
.seller-trust-violations {
  display: grid;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.seller-trust-profile h3,
.seller-trust-violations h3,
.seller-trust-review h3,
.seller-trust-review p,
.seller-trust-profile .cp-note { margin: 0; }

[data-trust-profile-status] { display: grid; gap: 10px; }
.seller-trust-rules > summary { font-weight: 700; }
.seller-trust-rules dl { margin-bottom: 0; }
.seller-trust-rules dt { font-weight: 700; margin-top: 12px; }
.seller-trust-rules dd { margin: 4px 0 0; color: var(--muted); max-width: 65ch; }

.seller-trust-review-list { display: grid; gap: 14px; }
.seller-trust-review {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.seller-trust-review h3 { overflow-wrap: anywhere; }
.seller-trust-fns { display: grid; gap: 7px; }
.seller-trust-fns > a { width: fit-content; text-underline-offset: 3px; }
.seller-trust-fns > label,
.seller-trust-attestation {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.25;
}

.seller-trust-fns input,
.seller-trust-attestation input { flex: none; accent-color: var(--catalog-accent); }
.seller-trust-review .cp-actions { margin: 0; }
.seller-trust-violations { margin-top: 20px; }
.seller-trust-violation-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.seller-trust-violation-list > li { border-top: 1px solid var(--line); padding: 10px 0 0; }
.seller-trust-violation-list small { margin-inline-start: .5em; color: var(--muted); }
.seller-trust-violation-list p { margin: 4px 0; overflow-wrap: anywhere; }
