#dashboard {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1em;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: .9em;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;

  background-color: transparent;
}

#dashboard-left-side {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1em;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 0 0 auto;  /* let it size to content but not force right side to shrink */
  min-height: 0;
  /*width: 320px;*/
  height: auto;
  overflow-y: auto;
  box-sizing: content-box;
}

.dashboard-left-container {
  font-size: .85em;
  min-width: 300px;
  width: 300px;
  max-width: 300px;
  margin: 0.5em 0;
  border-top: 2px solid lightgrey;
  border-bottom: 2px solid lightgrey;
  height: fit-content;
}

#dashboard-right-side {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1em;
  padding: 0 .5em .5em 0; /* right side and bottom padding for child shadows */

  /* critical parts ↓ */
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  min-width: 0;

  /*background-color: darkgreen;*/
}

#dashboard-right-side > * {
  /* ensure child elements take full available width */
  /*width: 100%;*/
  box-sizing: border-box;
}

.dashboard-title-container {
  display: flex;
  justify-content: space-between;
  /*border-bottom: 1px solid silver;*/
  margin-bottom: .5em;
}

.dashboard-title {
  font-weight: 600;
  font-size: 1.1em;
  margin: 0 .5em;
}

hr {
  margin: 6pt 0;
}

td, th {
  padding: 0 .5em;
}

th.row-label {
  font-weight: 500;
  white-space: nowrap;
}

.toggle-display-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #838383;
  transform: translateY(-2px);
}

.toggle-arrow-icon {
  transition: transform 0.3s ease;
}

.toggle-arrow-up {
  transform: rotate(180deg);
}

.display-none {
  display: none;
}