  /* tighten the header's outer padding */
  #id_Header > div {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  /* turn the layout table into a single flex row */
  #id_FCzB2EY > .WaLayoutTable,
  #id_FCzB2EY > .WaLayoutTable > tbody {
    display: block !important;
    width: 100% !important;
  }
  #id_FCzB2EY > .WaLayoutTable > tbody > .WaLayoutRow {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 8px;
  }

  /* cells: undo the stacking and the inline width:6% */
  #id_FCzB2EY > .WaLayoutTable > tbody > .WaLayoutRow > .WaLayoutItem {
    display: block !important;
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
  }
  /* logo cell stays at its natural size */
  #id_pSXdNk {
    flex: 0 0 auto !important;
  }

  /* remove the logo's inline 16px padding and 100px height */
  #id_pSXdNk .placeHolderContainer > div {
    padding-top: 0 !important;
  }
  #id_WBZSjeK {
    height: auto !important;
  }

  /* the logo itself */
  #id_WBZSjeK img {
    height: 40px !important;
    width: auto !important;
    max-width: none !important;
  }
}