.weight-model h2 {
	margin: 22px 0 10px;
	font-size: 22px;
	line-height: 1.3;
}
.weight-model h3 {
	margin-bottom: 8px;
}
.weight-intro {
	max-width: 42em;
}
.weight-toolbar,
.weight-compare-form,
.weight-calc-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: flex-end;
	margin: 12px 0 16px;
}
.weight-toolbar label,
.weight-compare-form label,
.weight-calc label,
.weight-model > .l-col1 label {
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
}
.weight-year-jump select,
.weight-compare-form select,
#weight-config-finder,
.weight-toolbar select,
.weight-calc input {
	min-height: 36px;
	padding: 6px 8px;
	border: 1px solid #cfcfcf;
	border-radius: 3px;
	background: #fff;
	color: #333;
	max-width: 100%;
}
.weight-unit-switch {
	display: inline-flex;
	border: 1px solid #2fa4e7;
	border-radius: 3px;
	overflow: hidden;
}
.weight-unit {
	background: #fff;
	color: #2d7caa;
	border: 0;
	padding: 7px 12px;
	cursor: pointer;
	font: inherit;
}
.weight-unit.is-active {
	background: #2fa4e7;
	color: #fff;
}
.weight-unit:focus,
.weight-model a:focus,
.weight-model select:focus,
.weight-model input:focus,
.weight-model button:focus,
.weight-model summary:focus {
	outline: 2px solid #2d7caa;
	outline-offset: 2px;
}
.weight-spec-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 12px;
	background: #fff;
}
.weight-spec-table th,
.weight-spec-table td {
	text-align: left;
	padding: 7px 10px;
	border-bottom: 1px solid #e3e3e3;
	vertical-align: top;
}
.weight-spec-table thead th {
	background: #f6f5f5;
	font-weight: 700;
}
.weight-caption {
	caption-side: bottom;
	text-align: left;
	color: #555;
	font-size: 13px;
	padding-top: 6px;
}
.weight-kind {
	display: inline-block;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 3px;
	background: #e7f4fc;
	color: #2d7caa;
	font-size: 12px;
	line-height: 1.6;
}
.weight-missing,
.weight-muted {
	color: #666;
}
.weight-note {
	color: #444;
	font-size: 14px;
	line-height: 1.45;
	max-width: 46em;
}
.weight-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.weight-chart svg {
	width: 100%;
	height: auto;
	max-width: 720px;
	display: block;
}
.weight-chart a:focus {
	outline: none;
}
.weight-chart a:focus circle,
.weight-chart a:focus line {
	stroke: #2d7caa;
}
.weight-details {
	margin: 8px 0 18px;
}
.weight-details summary {
	cursor: pointer;
	color: #2d7caa;
	margin-bottom: 8px;
}
.weight-compare-col {
	flex: 1 1 240px;
}
.weight-compare-col select,
#weight-config-finder {
	width: 100%;
}
.weight-submit {
	border: 0;
	padding: 8px 14px;
	cursor: pointer;
}
.weight-config-result {
	margin-top: 12px;
	padding: 10px 12px;
	background: #f6f5f5;
	border-radius: 3px;
}
.weight-calc-grid {
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(120px, 180px);
	align-items: center;
	max-width: 460px;
}
.weight-calc-result {
	font-weight: 700;
	padding: 10px 12px;
	background: #f6f5f5;
	border-radius: 3px;
}
.weight-calc-result.is-negative {
	background: #fde8e8;
	color: #8a1f1f;
}
.weight-links {
	padding-left: 18px;
}
.weight-links li {
	margin: 0 0 6px;
}
.weight-model label {
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
}
tr.weight-filtered {
	display: none;
}
@media (max-width: 640px) {
	.weight-model h2 {
		font-size: 20px;
	}
	.weight-calc-grid {
		grid-template-columns: 1fr;
	}
	.weight-spec-table th,
	.weight-spec-table td {
		padding: 6px 8px;
	}
	.weight-year-jump,
	.weight-year-jump select,
	.weight-unit-switch {
		width: 100%;
	}
	.weight-unit {
		flex: 1 1 auto;
	}
}
