main[data-page="wallets"] {
  [data-wallet="activity"] {
    display: grid;
    gap: 1.25rem;

    :is(h2, h3, p) {
      margin: 0;
    }

    h2 {
      color: var(--white);
      font-size: var(--font-size-lg);
      font-weight: var(--font-weight-regular);
      line-height: var(--line-height-lg);
    }

    h3 {
      color: var(--gray);
      font-size: var(--font-size-xs);
      font-weight: var(--font-weight-regular);
      line-height: var(--line-height-xs);
      text-transform: uppercase;
    }

    > section {
      display: grid;
      gap: 0.5rem;

      > ol {
        display: grid;
        gap: 0.25rem;
        margin: 0;
        padding: 0;
        list-style: none;

        > li {
          border-bottom: 1px solid color-mix(
            in oklch,
            var(--gray) 18%,
            transparent
          );

          > details {
            &[open] {
              display: grid;
              gap: 0.75rem;
            }

            > summary {
              display: grid;
              gap: 0.25rem;
              padding: 0.875rem 0;
              list-style: none;
              cursor: pointer;

              &::marker,
              &::-webkit-details-marker {
                display: none;
                content: "";
              }

              > header {
                display: flex;
                gap: 1rem;
                align-items: baseline;
                justify-content: space-between;
                min-width: 0;

                strong {
                  color: var(--white);
                  font-weight: var(--font-weight-strong);
                }

                > span {
                  color: var(--white);
                  white-space: nowrap;

                  &[data-tone="positive"] {
                    color: var(--green);
                  }

                  &[data-tone="negative"] {
                    color: var(--red);
                  }
                }
              }

              > p {
                min-width: 0;
                color: var(--gray);
                font-size: var(--font-size-sm);
                line-height: var(--line-height-sm);

                code {
                  color: inherit;
                  font-family: inherit;
                }
              }
            }

            > section {
              display: grid;
              gap: 1rem;

              code {
                overflow-wrap: anywhere;
                color: var(--white);
                font-family: inherit;
              }

              > ul {
                display: grid;
                gap: 0.75rem;
                margin: 0;
                padding: 0;
                list-style: none;
              }
            }
          }
        }
      }
    }
  }
}
