.pisell-sale-summary-detail {
  max-height: min(72vh, 620px);
  padding: 10px 12px;
  overflow: auto;
  color: #f5f8ff;
  background: #05070d;

  &__list.pisell-hierarchical-summary-list {
    padding: 0;
    background: transparent;
  }

  .pisell-hierarchical-summary-list-node {
    padding: 0 !important;
    margin-top: 0 !important;
    border-top: 0 !important;

    & + .pisell-hierarchical-summary-list-node {
      margin-top: 0 !important;
    }
  }

  .pisell-hierarchical-summary-list-node:has(
      > .pisell-sale-summary-detail__section-row
    ) {
    & + .pisell-hierarchical-summary-list-node {
      margin-top: 10px !important;
    }

    > .pisell-hierarchical-summary-list-children {
      margin-top: 4px !important;
    }
  }

  .pisell-hierarchical-summary-list-node:has(
      > .pisell-hierarchical-summary-list-row-expandable
    ):not(:has(> .pisell-sale-summary-detail__section-row)) {
    > .pisell-hierarchical-summary-list-children {
      padding-left: 16px !important;
    }
  }

  .pisell-sale-summary-detail__standalone-row {
    .pisell-hierarchical-summary-list-row-label,
    .pisell-hierarchical-summary-list-row-value {
      color: #f5f8ff !important;
      font-size: 13px !important;
      font-weight: 900 !important;
    }
  }

  .pisell-sale-summary-detail__payment-surcharge-row {
    .pisell-hierarchical-summary-list-row-label,
    .pisell-hierarchical-summary-list-row-value {
      color: #f5f8ff !important;
    }
  }

  .pisell-sale-summary-detail__divider-row {
    min-height: 0 !important;
    margin: 3px 0 !important;
    border-top: 1px solid rgba(169, 184, 238, 0.22);

    .pisell-hierarchical-summary-list-row-left,
    .pisell-hierarchical-summary-list-row-value {
      display: none;
    }
  }

  .pisell-hierarchical-summary-list-row {
    min-height: 19px;
    padding: 0 !important;
  }

  .pisell-hierarchical-summary-list-row-left {
    min-width: 0;
  }

  .pisell-hierarchical-summary-list-row-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pisell-hierarchical-summary-list-row-value {
    font-variant-numeric: tabular-nums;
  }

  .pisell-hierarchical-summary-list-children {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 1px !important;
  }
}
