nav.pane-select {
  // values Copy/pasted from _Tabs.scss....
  $tabs-border: $document-blue;
  $report-button-padding: 0.8rem 1.5rem 0.6rem;
  $overlap-width: 3px;

  display: flex;
  line-height: 0; // there are some `display: inline-block` elements and we want them to line up
  //border-top: 2px solid $tabs-border;
  color: $pane-select-tab-fg;
  background: $pane-select-tab-bg;
  padding: 0 1.5rem 0;
  min-height: 3.5rem;

  .tabs {
    //flex: 1 1 auto; // consume all the space
    height: 3.5rem;
  }

  .report {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-left: 2rem;

    button {
      // Sorta copy/pasted from _Tabs.scss
      font: inherit;
      font-size: 1.4rem;
      line-height: 1.5; // 2.1rem
      border: 0;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      padding: $report-button-padding;
      background: transparent;
      color: inherit;

      svg {
        margin-right: 0.5rem;
        font-size: 1.6rem;
      }

      &:disabled {
        background: $pane-select-selected-tab-bg;
        color: $pane-select-selected-tab-fg;
      }
    }
  }
}
