body {
  font-family: arial,sans serif;
  font-size: 11pt;
  margin: 0;
}
main {
	margin: auto;
	width: fit-content;
  block-size: fit-content;
  padding: 0px 1em 0px 1em;
}
table {
	margin-top: 14px;
	border-spacing: 0px;
	border-collapse: collapse;
}
thead {
	background-color: lightblue;
}
td, th {
	border: 1px solid black;
	padding-left: 5px;
	padding-right: 5px;
}
table tbody tr:nth-child(even) {
	background-color: #ddd;
}
td > p, th > p {
	margin-top:7px;
	margin-bottom:7px;
}
td > p:first-child, th > p:first-child  {
	margin-top:0;
}
td > p:last-child, td > p:last-child {
	margin-bottom:0;
}
tr > td:first-child {
	white-space: nowrap;
}
select, input[type=number] {
	width: 6em;
}
input[type=number] {
	text-align: right;
}
header, footer {
  padding: 1em;
  clear: both;
  margin: 0px;
  color: #fff !important;
  background-color: #3a3a3a !important;
}
footer {
  margin-top: 16px !important;
}
footer p:first-child {
	margin-top: 0;
}
footer p:last-child {
	margin-bottom: 0;
}
header a, footer a {
  color: inherit;
}
fieldset.hidefls > legend {
	display: none;
}
fieldset.hidefls {
	border: none;
	padding: 0;
}
fieldset.hidefls .firstinfls {
	margin-top: 0;
}

#cat tbody > tr > td {
	text-align: right;
	font-family: monospace;
}
#cat tbody tr > *:first-child {
	text-align: left !important;
}
#cat tbody tr.sub > td:first-child {
	padding-left: 1.5em;
}
#cat tbody > tr:first-child {
	background-color: gold;
}
.rango {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    gap: 10px;
}
.rango code {
	text-align: right;
}
#res dl {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    gap: 10px;
}
#res dt {
	grid-column: 1;
	font-weight: bold;
}
#res dt::after {
	content: ":"
}
#res dd {
  margin: 0;
	text-align: right;
	font-family: monospace;
}
fieldset {
	margin-bottom: 16px;
}
#cat tr > *:nth-child(3) ~ * {
	display: none;
}

#chart canvas {
	margin-top: 16px;
	margin-bottom: 16px;
	max-width: 800px;
}
fieldset label {
	font-weight: bold;
}