html {
	padding: 0;
	margin: 0;
  overflow-y: hidden;
}
table {
	max-width: 100%;
	border-collapse: collapse;
	max-height: calc(100vh - 3.5rem);
	overflow: auto;
	display: block;

}
thead {
	background: #88F;
	border-bottom: 1px solid black;
	position: sticky;
	top: 0;

}
tbody {
	
}
tr {
	border-right: 1px solid #888;
  white-space: nowrap;
}
th {
	
}
td, th {
	border-left: 1px solid #888;
	padding: 2px 4px;
	max-width: 8rem;
	overflow:clip;
	cursor: pointer;
}
tbody tr:nth-child(2n-1) {
	background: #EEE;
}
tbody tr:nth-child(2n-2) {
	background: #DDD;
}

#tables, #charts, #menuTables, #menuCharts {
  display: none;
}
#tables {
  display: block;
}
#menuTables {
  display: inline-block;
}

#menu {
  z-index: 2;
  position: relative;
  height: 1.5rem;
  overflow: visible;
}
details {
  max-width: 60ch;
  display: inline-block;
  vertical-align: top;
  border: 1px solid black;
  background: #EEE;

}
summary {
  background: white;
  padding: 2px 0.5rem 2px 0;
}
details > div {
  padding: 0.5rem 0.5rem;
}
details ul {
  list-style-type: none;
  padding: 0;
}

#myChart {
  max-width: min(80rem,90vw);
  max-height: min(80rem,90vh);
}