:host {
  display: block;

  .holdings-table {
    table-layout: auto;

    tr {
      &:not(.expanded) + tr.holding-detail td {
        border-bottom: 0;
      }

      &.expanded {
        > td {
          font-weight: bold;
        }
      }

      &.holding-detail {
        height: 0;
      }

      .holding-parents-table {
        --table-padding: 0.5em;

        tr {
          height: auto;

          td {
            padding: var(--table-padding);
          }
        }
      }
    }
  }
}
