html[data-surface="white-oath"] .wo-profile-feedback-head {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--wo-space-5);
  align-items: end;
}

html[data-surface="white-oath"] .wo-profile-feedback-head > div:first-child > span {
  color: var(--wo-crimson);
  font-family: var(--wo-font-data);
  font-size: var(--wo-text-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
}

html[data-surface="white-oath"] .wo-profile-feedback-head h3 {
  margin: 0.25rem 0 0;
  font-family: var(--wo-font-display);
  font-size: var(--wo-text-xl);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

html[data-surface="white-oath"] .wo-profile-feedback-head p {
  max-width: 45rem;
  margin: 0.55rem 0 0;
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-xs);
  line-height: 1.75;
}

html[data-surface="white-oath"] .wo-profile-feedback-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(6.4rem, auto));
  border: var(--wo-hairline) solid var(--wo-night-24);
  background: var(--wo-night-07);
}

html[data-surface="white-oath"] .wo-profile-feedback-switch button {
  display: flex;
  min-height: var(--wo-touch);
  gap: 0.48rem;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.85rem;
  background: transparent;
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-xs);
  font-weight: 680;
  transition: color var(--wo-duration-fast), background var(--wo-duration-fast);
}

html[data-surface="white-oath"] .wo-profile-feedback-switch button + button {
  border-left: var(--wo-hairline) solid var(--wo-night-12);
}

html[data-surface="white-oath"] .wo-profile-feedback-switch button i {
  display: grid;
  min-width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--wo-indigo-38);
  color: var(--wo-night);
  font-family: var(--wo-font-data);
  font-size: 0.58rem;
  font-style: normal;
}

html[data-surface="white-oath"] .wo-profile-feedback-switch button:hover,
html[data-surface="white-oath"] .wo-profile-feedback-switch button.is-active {
  background: var(--wo-night);
  color: var(--wo-light);
}

html[data-surface="white-oath"] .wo-profile-feedback-switch button.is-active i {
  background: var(--wo-profile-accent);
  color: var(--wo-night);
}

html[data-surface="white-oath"] .wo-profile-feedback-form > footer > div {
  display: flex;
  gap: var(--wo-space-2);
  align-items: center;
}

html[data-surface="white-oath"] .wo-profile-feedback-form > footer button[type="reset"] {
  min-height: var(--wo-touch);
  padding: 0.65rem 0.85rem;
  border-bottom: var(--wo-hairline) solid var(--wo-night-24);
  background: transparent;
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-xs);
}

html[data-surface="white-oath"] .wo-profile-feedback-form > footer button[type="reset"]:hover {
  border-color: var(--wo-crimson);
  color: var(--wo-night);
}

html[data-surface="white-oath"] .wo-profile-feedback-history__toolbar {
  display: flex;
  gap: var(--wo-space-4);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--wo-space-3);
}

html[data-surface="white-oath"] .wo-profile-feedback-history__toolbar p {
  margin: 0;
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-xs);
}

html[data-surface="white-oath"] .wo-profile-feedback-history__toolbar button,
html[data-surface="white-oath"] .wo-profile-feedback-history > footer button,
html[data-surface="white-oath"] .wo-profile-feedback-empty button {
  min-height: var(--wo-touch);
  padding: 0.6rem 0.85rem;
  border-bottom: var(--wo-hairline) solid var(--wo-night-24);
  background: transparent;
  color: var(--wo-night);
  font-size: var(--wo-text-xs);
  font-weight: 680;
  transition: color var(--wo-duration-fast), border-color var(--wo-duration-fast);
}

html[data-surface="white-oath"] .wo-profile-feedback-history__toolbar button:hover,
html[data-surface="white-oath"] .wo-profile-feedback-history > footer button:hover,
html[data-surface="white-oath"] .wo-profile-feedback-empty button:hover {
  border-color: var(--wo-profile-accent);
  color: var(--wo-indigo);
}

html[data-surface="white-oath"] .wo-profile-feedback-history__toolbar button[aria-busy="true"]::after {
  display: inline-block;
  width: 0.78rem;
  aspect-ratio: 1;
  margin-left: 0.48rem;
  border: 1px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: wo-spin 700ms linear infinite;
  vertical-align: -0.1rem;
}

html[data-surface="white-oath"] .wo-profile-feedback-history__list {
  border-top: var(--wo-rule) solid var(--wo-night);
}

html[data-surface="white-oath"] .wo-profile-feedback-record {
  border-bottom: var(--wo-hairline) solid var(--wo-night-24);
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary {
  position: relative;
  display: grid;
  min-height: 5.2rem;
  grid-template-columns: 0.5rem minmax(0, 1fr) auto auto 1.25rem;
  gap: var(--wo-space-3);
  align-items: center;
  padding: 0.8rem 0;
  cursor: pointer;
  list-style: none;
  transition: background var(--wo-duration-fast), padding var(--wo-duration-fast);
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary::-webkit-details-marker {
  display: none;
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary::marker {
  content: "";
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary:hover {
  padding-inline: 0.65rem;
  background: linear-gradient(90deg, rgba(145, 194, 200, 0.12), transparent 74%);
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary > i {
  grid-column: 1;
  width: 0.42rem;
  height: 2.5rem;
  background: var(--wo-indigo);
}

html[data-surface="white-oath"] .wo-profile-feedback-record.is-reviewing > summary > i { background: var(--wo-cyan); }
html[data-surface="white-oath"] .wo-profile-feedback-record.is-planned > summary > i { background: var(--wo-gold); }
html[data-surface="white-oath"] .wo-profile-feedback-record.is-resolved > summary > i { background: var(--wo-profile-accent); }
html[data-surface="white-oath"] .wo-profile-feedback-record.is-closed > summary > i { background: var(--wo-ash); }

html[data-surface="white-oath"] .wo-profile-feedback-record > summary > span {
  grid-column: 2;
  min-width: 0;
}

html[data-surface="white-oath"] .wo-profile-feedback-record__unread {
  grid-column: 3;
  padding: 0.23rem 0.5rem;
  border: var(--wo-hairline) solid rgba(198, 98, 116, 0.56);
  background: rgba(198, 98, 116, 0.1);
  color: var(--wo-crimson);
  font-family: var(--wo-font-data);
  font-size: var(--wo-text-2xs);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary small,
html[data-surface="white-oath"] .wo-profile-feedback-record > summary b,
html[data-surface="white-oath"] .wo-profile-feedback-record > summary time {
  display: block;
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary small {
  color: var(--wo-crimson);
  font-size: var(--wo-text-2xs);
  font-weight: 680;
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary b {
  margin-top: 0.15rem;
  overflow: hidden;
  font-size: var(--wo-text-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary time {
  margin-top: 0.16rem;
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-2xs);
}

html[data-surface="white-oath"] .wo-profile-feedback-record > summary em {
  grid-column: 4;
  padding: 0.24rem 0.52rem;
  border-left: var(--wo-rule) solid var(--wo-indigo);
  background: var(--wo-night-07);
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-2xs);
  font-style: normal;
  font-weight: 680;
  white-space: nowrap;
}

html[data-surface="white-oath"] .wo-profile-feedback-record.is-reviewing > summary em { border-color: var(--wo-cyan); }
html[data-surface="white-oath"] .wo-profile-feedback-record.is-planned > summary em { border-color: var(--wo-gold); }
html[data-surface="white-oath"] .wo-profile-feedback-record.is-resolved > summary em { border-color: var(--wo-profile-accent); }

html[data-surface="white-oath"] .wo-profile-feedback-record > summary svg {
  grid-column: 5;
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform var(--wo-duration) var(--wo-ease-out);
}

html[data-surface="white-oath"] .wo-profile-feedback-record[open] > summary svg {
  transform: rotate(180deg);
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body {
  padding: var(--wo-space-3) clamp(1rem, 3vw, 3rem) var(--wo-space-5);
  border-top: var(--wo-hairline) solid var(--wo-night-12);
  background: rgba(248, 245, 236, 0.5);
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body > p {
  margin: 0;
  color: var(--wo-night);
  font-size: var(--wo-text-sm);
  line-height: 1.82;
  white-space: pre-wrap;
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body > code {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 0.28rem 0.52rem;
  margin-top: var(--wo-space-3);
  overflow: hidden;
  border-left: var(--wo-rule) solid var(--wo-indigo);
  background: var(--wo-night-07);
  color: var(--wo-text-muted-paper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: var(--wo-text-2xs);
  text-overflow: ellipsis;
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote {
  position: relative;
  padding: var(--wo-space-3) var(--wo-space-4);
  margin: var(--wo-space-4) 0 0;
  border: 0;
  border-left: 0.28rem solid var(--wo-profile-accent);
  background: var(--wo-night);
  color: var(--wo-text-on-night);
}

html[data-surface="white-oath"] .wo-profile-feedback-record__timeline {
  display: grid;
  gap: 0.55rem;
  margin-top: var(--wo-space-4);
}

html[data-surface="white-oath"] .wo-profile-feedback-record__timeline blockquote {
  margin: 0;
}

html[data-surface="white-oath"] .wo-profile-feedback-record__timeline blockquote.is-unread {
  border-left-color: var(--wo-crimson);
  background:
    linear-gradient(105deg, rgba(198, 98, 116, 0.17), transparent 48%),
    var(--wo-night);
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote > span i,
html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote > span em {
  margin-left: 0.5rem;
  font-style: normal;
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote > span i {
  color: var(--wo-text-muted-night);
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote > span em {
  padding: 0.15rem 0.36rem;
  background: var(--wo-crimson);
  color: var(--wo-light);
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote:focus-visible {
  outline: var(--wo-rule) solid var(--wo-cyan);
  outline-offset: 0.2rem;
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote > span {
  color: var(--wo-cyan);
  font-family: var(--wo-font-data);
  font-size: var(--wo-text-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote p {
  margin: 0.45rem 0 0;
  font-size: var(--wo-text-sm);
  line-height: 1.75;
  white-space: pre-wrap;
}

html[data-surface="white-oath"] .wo-profile-feedback-record__body blockquote time {
  display: block;
  margin-top: 0.65rem;
  color: var(--wo-text-muted-night);
  font-size: var(--wo-text-2xs);
}

html[data-surface="white-oath"] .wo-profile-feedback-record__pending {
  display: block;
  padding-top: var(--wo-space-3);
  margin-top: var(--wo-space-3);
  border-top: var(--wo-hairline) solid var(--wo-night-12);
  color: var(--wo-text-muted-paper);
  font-size: var(--wo-text-xs);
}

html[data-surface="white-oath"] .wo-profile-feedback-empty {
  display: grid;
  min-height: 14rem;
  place-items: center;
  align-content: center;
  padding: var(--wo-space-5);
  color: var(--wo-text-muted-paper);
  text-align: center;
}

html[data-surface="white-oath"] .wo-profile-feedback-empty > span {
  color: var(--wo-crimson);
  font-family: var(--wo-font-data);
  font-size: var(--wo-text-2xs);
  font-weight: 700;
  letter-spacing: 0.12em;
}

html[data-surface="white-oath"] .wo-profile-feedback-empty > i {
  width: 1.8rem;
  aspect-ratio: 1;
  margin-bottom: var(--wo-space-2);
  border: 2px solid var(--wo-indigo);
  border-right-color: transparent;
  border-radius: 50%;
  animation: wo-spin 700ms linear infinite;
}

html[data-surface="white-oath"] .wo-profile-feedback-empty p {
  margin: var(--wo-space-2) 0 0;
}

html[data-surface="white-oath"] .wo-profile-feedback-empty small {
  margin-top: 0.25rem;
  font-size: var(--wo-text-xs);
}

html[data-surface="white-oath"] .wo-profile-feedback-history > footer {
  display: flex;
  min-height: var(--wo-touch);
  gap: var(--wo-space-3);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--wo-space-3);
}

html[data-surface="white-oath"] .wo-profile-feedback-history > footer p {
  margin: 0;
  color: var(--wo-crimson);
  font-size: var(--wo-text-xs);
}

@media (max-width: 46rem) {
  html[data-surface="white-oath"] .wo-profile-feedback-head {
    grid-template-columns: 1fr;
    gap: var(--wo-space-3);
  }

  html[data-surface="white-oath"] .wo-profile-feedback-switch {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  html[data-surface="white-oath"] .wo-profile-feedback-form > footer > div {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
  }

  html[data-surface="white-oath"] .wo-profile-feedback-history__toolbar,
  html[data-surface="white-oath"] .wo-profile-feedback-history > footer {
    align-items: stretch;
    flex-direction: column;
  }

  html[data-surface="white-oath"] .wo-profile-feedback-history__toolbar button,
  html[data-surface="white-oath"] .wo-profile-feedback-history > footer button {
    width: 100%;
  }

  html[data-surface="white-oath"] .wo-profile-feedback-record > summary {
    grid-template-columns: 0.38rem minmax(0, 1fr) auto;
    gap: var(--wo-space-2);
  }

  html[data-surface="white-oath"] .wo-profile-feedback-record > summary em {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: start;
  }

  html[data-surface="white-oath"] .wo-profile-feedback-record__unread {
    grid-column: 2;
    grid-row: 2;
    width: fit-content;
  }

  html[data-surface="white-oath"] .wo-profile-feedback-record > summary svg {
    display: none;
  }

  html[data-surface="white-oath"] .wo-profile-feedback-record__body {
    padding-inline: var(--wo-space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-surface="white-oath"] .wo-profile-feedback-empty > i,
  html[data-surface="white-oath"] .wo-profile-feedback-history__toolbar button[aria-busy="true"]::after {
    animation: none;
  }
}
