input, select, button {
	font-size: 1em;
}

#table_condsSim input,
#table_condsSim select,
#table_unitTrace input,
#table_unitTrace select {
	width: 100%;
	min-width: 12em;
	box-sizing: border-box;
}

#table_condsSim label {
	width: 100%;
}

#table_condsSim {
	margin-bottom: 1em;
}

#table_condsSim td {
	white-space: nowrap;
}
#table_condsSim td:first-child {
	padding-right: .75em;
}

#table_1,
#table_2,
#table_3,
#table_4,
#table_prefSim,
#table_unitTrace {
	border-collapse: collapse;
	margin-top: .5em;
	margin-bottom: 2em;
}
#table_4 {
	margin-bottom: 0;
}
#table_unitTrace {
	margin-bottom: 1em;
}
#table_1 td,
#table_2 td,
#table_3 td,
#table_4 td,
#table_prefSim td,
#table_unitTrace td {
	text-align: right;
	padding: 0 .25em;
	white-space: nowrap;
}
#table_1 td,
#table_2 td,
#table_3 td {
	border: solid 1px #888888;
	min-width: 7em;
}
#table_4 td,
#table_prefSim td {
	border-top: solid 1px #888888;
	border-bottom: solid 1px #888888;
}
#table_prefSim td/*,
#table_unitTrace td*/ {
	padding: .15em .25em;
}
#table_4 td:first-child {
	border-left: solid 1px #888888;
}
#table_prefSim td:first-child,
#table_unitTrace td:first-child {
	text-align: left;
}
#table_prefSim td:nth-child(n + 2) {
	min-width: 7em;
}
#table_4 td:last-child {
	border-right: solid 1px #888888;
}
#table_1 tr:first-child td,
#table_2 tr:first-child td,
#table_3 tr:first-child td,
#table_prefSim tr:first-child td {
	text-align: center;
}
#table_prefSim tr:first-child td {
	border: none;
}
#table_1 td:first-child,
#table_2 td:first-child,
#table_3 td:first-child {
	min-width: 5em;
	text-align: center;
}

section ul {
	margin: .5em 0 .5em 1.5em;
	list-style-type: disc;
}

.inline_if {
	display: inline-block;
	vertical-align: top;
	margin-top: .5em;
}
.inline_if:first-child {
	padding-right: 30px;
}
#chartResult {
	height: 324px;
	opacity: var(--brightness);
}

#shTC_result td:first-child {
	text-align: left;
}
#shTC_result td:nth-child(n + 2) {
	text-align: right;
	min-width: 7em;
}

#calc_progress {
	display: none;
	margin-left: 1em;
}

#progress_screen {
	display: none;
	box-sizing: border-box;
	position: fixed;
	font-size: 200%;
	color: var(--color-invert-text);
	background-color: hsl(var(--hsldecomposed-bg-primary-theme, 182deg, 42%, 43%), 80%);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border: solid 2px var(--color-invert-text);
	border-radius: 1em;
	width: 12em;
	height: 4em;
	left: calc(50vw - 6em);
	top: calc(50vh - 2em);
	text-align: center;
	user-select: none;
	/* filter: drop-shadow(0px 0px 6px hsl(var(--hsldecomposed-bg-primary-theme, 182deg, 42%, 43%))); */
}
#progress_screen > span {
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	white-space: nowrap;
	transform: translate(-50%, -50%);
}

#recalculate_container {
	text-align: center;

	> button {
		width: 8em;
	}
}
