/* 
#1684ac	主色（导航栏、标题）
#16a7ac	辅助色（背景、边框）
#ac4a16	强调色（按钮、图标） */
body,
p,
td,
div,
span,
input,
th,
li,
textarea {
	font-family: pingfang sc, arial, helvetica, sans-serif;
	font-size: 16px;
	color: #000;
}

body {
	background: #fff;
	margin: 0px;
	padding: 0px;
	border: 0;
}

p {
	margin: 5px 0 8px 0;
}

img {
	border: 0px;
}

h1 {
	font-size: 26px;
	font-weight: bold;
	padding: 0;
	margin: 0;
}

h2 {
	font-size: 22px;
	font-weight: bold;
	color: #333;
	padding: 0;
	margin-bottom: 10px;
}

h3 {
	font-size: 19px;
	font-weight: bold;
}

hr {
	border: 0;
	color: #aaa;
	background-color: #aaa;
	height: 1px;
}

a {
	color: #069;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

input {
	padding: 5px;
	color: #000;
	box-sizing: border-box;
}

select {
	padding: 4px;
	color: #000;
	box-sizing: border-box;
}

option {
	font-size: 16px;
}

input[type=text],
input[type=url],
input[type=tel],
input[type=number],
input[type=color],
input[type=date],
input[type=email],
select {
	border: 1px solid #1684ac;
	border-radius: 2px;
	box-shadow: 1px 1px 2px #666;
	font-size: 16px;
	background-color: #fff;
	outline: none;
}

input[type=submit] {
	border: 0px;
	color: #fff;
	padding: 11px 50px 11px 16px;
	font-size: 16px;
	font-weight: bold;
	background-color: #4c7b25;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180px" height="40px"><circle cx="112" cy="20" r="11" fill="darkseagreen" /><path d="M110 12 L120 20 L110 28 Z" fill="white" /></svg>');
	background-repeat: no-repeat;
}

input[type=submit]:hover {
	background-color: #444;
}

input[type=reset],
input[type=button] {
	border: 0px;
	color: #fff;
	padding: 11px 8px;
	font-size: 16px;
	background: #ababab;
}

input[type=reset]:hover,
input[type=button]:hover {
	background: #444;
}

input[type=image],
input[type=image]:hover {
	background: #518428;
	color: #fff;
	padding: 0px;
	margin: 0px;
}

a {
	text-decoration: none;
}

#app {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	color: #1684ac;
}

.header {
	display: flex;
	justify-content: space-between;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 24px;
	align-items: center;
}

.header h1 {
	color: #1684ac;
}

.language {
	font-size: 12px;
}

.language a {
	margin-left: 10px;
}

.language a.active {
	background-color: #1684ac;
	color: #fff;
	padding: 4px 6px;
	border-radius: 4px;
}

.calculate {
	display: flex;
	margin-bottom: 48px;
}

/* 计算入口 */
.calculate-enter {
	width: 350px;
}

.calculate-enter-tab {
	display: flex;
}

.calculate-enter-tab a {
	text-align: center;
	line-height: 30px;
	color: #1684ac;
	padding: 0 14px;
	border-radius: 4px 4px 0 0;
}

.calculate-enter-tab a.active {
	background-color: #1684ac;
	color: #fff;
}

.calculate-enter-box {
	border: 1px solid #1684ac;
	padding: 24px 24px 12px 24px;
	height: 280px;
}

.calculate-enter-box-item {
	display: flex;
	line-height: 30px;
	margin-bottom: 16px;
	align-items: center;
}

.entry-name {
	width: 50px;
	text-align: right;
	padding-right: 12px;
}

.entry-select {
	width: 60px;
	height: 30px;
	font-size: 14px !important;
}

select option[value=""] {
	display: none;
}

.entry-input {
	width: 95px;
	height: 30px;
	margin-left: -1px;
	font-size: 14px !important;
}

.entry-radio {
	width: 16px;
	height: 16px;
	margin-top: 0;
}

input[type="radio"]+label::before {
	content: " ";
	display: inline-block;
	vertical-align: middle;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid #1684ac;
	margin-right: 6px;
	box-sizing: border-box;
}

input[type="radio"]:checked+label::before {
	background-color: #1684ac;
	background-clip: content-box;
	padding: 2px;
	box-sizing: border-box;
}

input[type="radio"] {
	position: absolute;
	clip: rect(0, 0, 0, 0);
}

.entry-unit {
	color: #666;
	font-size: 14px;
	margin-left: 6px;
	margin-right: 10px;
}

.entry-unit-no-margin {
	margin-left: 0;
}

.calculate-btn,
.clear-btn {
	padding: 10px 20px;
	border-radius: 4px;
	border: 0px;
	color: #fff;
	font-size: 14px;
	background-color: #16a7ac;
}

.calculate-btn:hover {
	background-color: #ac4a16;
}

.clear-btn {
	background-color: #999;
	margin-left: 20px;
}

.calculate-error {
	color: #ac4a16;
	font-size: 12px;
	line-height: 1;
}

/* 计算结果 */
.calculate-result {
	flex: 1;
	margin-left: 50px;
}

.result-title {
	margin: 0;
	height: 30px;
}

.result-chart {
	position: relative;
	margin-top: 20px;
	padding-bottom: 36px;
}

.result-line {
	text-align: center;
}

.result-line-arrow {
	position: absolute;
	left: 0%;
	top: 62px;
	width: 0;
	height: 0;
	z-index: 1;
	margin: 0 auto;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 10px solid #1684ac;
	transform: translateX(-50%);
	transition: left 0.3s ease-in-out;
}

.result-line-text {
	font-size: 24px;
	margin-top: 48px;
	height: 41px;
	line-height: 41px;
	overflow: hidden;
}

.result-line-text span {
	font-size: 36px;
	width: 60px;
	display: inline-block;
	font-weight: 600;
	vertical-align: baseline;
}

.chart-male {
	display: flex;
}

.chart-male .chart-color {
	height: 30px;
	position: relative;
}

.chart-male .chart-text {
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-size: 14px;
	flex: 1;
}

.chart-1 {
	width: 21.7%;
}

.chart-2 {
	width: 27.8%;
}

.chart-3 {
	width: 22.1%;
}

.chart-4 {
	width: 28.4%;
}

.chart-1 .chart-text {
	color: orange;
}

.chart-1 .chart-color {
	background-color: orange;
}

.chart-2 .chart-text {
	color: green;
}

.chart-2 .chart-color {
	background-color: green;
}

.chart-3 .chart-text {
	color: Orange;
}

.chart-3 .chart-color {
	background-color: Orange;
}

.chart-4 .chart-text {
	color: red;
}

.chart-4 .chart-color {
	background-color: red;
}

.chart-male .chart-color span {
	position: absolute;
	left: 100%;
	top: 0px;
	transform: translateX(-50%);
	color: #fff;
	z-index: 2;
	font-size: 16px;
	line-height: 30px;
	font-weight: 600;
	-webkit-text-stroke: .5px #000;
}

.result-tips {
	display: none;
	line-height: 1.5;
	padding: 0 30px;
}

.result-tips-weight {
	color: #16a7ac;
	font-size: 18px;
	font-weight: 500;
	padding: 0 4px;
}

.result-normal {
	display: none;
	text-align: center;
	padding-top: 16px;
}

.result-normal p {
	display: none;
	padding-top: 16px;
}

.result-age {
	display: none;
}

.bmi-item {
	margin-bottom: 48px;
	color: #333;
}
#bmi-chart hr {
	margin: 48px 0;
}
#bmi-chart .bmi-item:first-child {
	position: relative;
	height: 705px;
}

.bmi-item h2 {
	color: #333;
	font-size: 18px;
	font-weight: 600;
}
.bmi-item h4 {
	color: #333;
	font-size: 16px;
	font-weight: 500;
	margin: 12px 0;
	text-indent: 1em;
}
.bmi-item ul {
	line-height: 1.5;
	margin-left: 1em;
}
.bmi-item p {
	line-height: 1.5;
	text-indent: 2em;
}

#bmi-chart {
	margin-top: -48px;
	position: relative;
	margin-bottom: 48px;
	display: none;

}
#bmi-chart >div {
	margin-bottom: 0;
}

.chart-point {
	position: absolute;
	width: 10px;
	height: 10px;
	background-color: #000;
	border-radius: 50%;
	/* 初始位置 年龄5 bmi 12 */
	/* 年龄 +50.5px bmi +52px */
	left: 134px;
	bottom: 97px;
	transform: translate(-4px, -50%);
	/* display: none; */
}

.chart-point::after {
	content: '';
	position: absolute;
	top: 0px;
	/* 阴影范围 = 中心尺寸 + 扩展半径 */
	left: 0px;
	right: 0px;
	bottom: 0px;
	border-radius: 50%;
	box-shadow: 0 0 0 1 rgba(0, 0, 0, 0.7);
	/* 初始阴影（圆环） */
	animation: ripple 1s infinite;
	/* 外扩动画 */
}

@keyframes ripple {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
		/* 初始大小（紧贴中心） */
		opacity: 1;
	}

	100% {
		box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
		/* 扩展到 40px 并透明 */
		opacity: 0;
	}
}
.table{
	border: 1px solid #e0e0e0;
	border-collapse: collapse;
	margin-left: 2em;
	margin-top: 24px;
}
.table td,.table th{
	border: 1px solid #e0e0e0;
	padding: 8px 16px;
	text-align: left;
}
hr{
	margin-bottom: 36px;
	background-color: #e0e0e0;
}