/*
 * 2026-10-29 site redesign (owner's decisions): 1200 px page, flat cards on a light grey background, system fonts,
 * plain blue menu. Loaded by inc/head.jsp on every page after the page's own (2012) style sheets, which it overrides;
 * the home page's own blocks are in css/home.css.
 */
:root {
	--blue: #1f6fbf;
	--blue-d: #175a9e;
	--blue-l: #f3f7fc;
	--line: #e5eaf0;
	--text: #26303b;
	--muted: #8b95a3;
	--bg: #f2f4f7;
	--radius: 8px;
	--shadow: 0 1px 3px rgba(20, 40, 70, .05);
}

body {
	background: var(--bg) !important;
	font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif !important;
	font-size: 14px !important;
	line-height: 1.6;
	color: var(--text);
	margin: 0;
}

a { color: inherit; }

.wrap {
	width: 1200px !important;
	margin: 0 auto;
	background: none !important;
	overflow: visible !important;
}

/* header */
.site-head {
	position: relative;
	width: 1200px;
	height: 115px;
	background: linear-gradient(90deg, #fff 0, #fff 600px, #7eb8d0 1000px, #7cb6cf 100%);
}
.site-head .banner {
	width: 1000px !important;
	height: 115px;
	margin: 0 !important;
	background: url(../images/banner.jpg) no-repeat 0 0 !important;
}
.user-bar {
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	gap: 8px;
}
.user-bar a {
	background: rgba(255, 255, 255, .92);
	color: var(--blue-d) !important;
	border-radius: 16px;
	padding: 0 14px;
	line-height: 32px;
	font-size: 13px;
	text-decoration: none;
}
.user-bar a.strong { background: var(--blue); color: #fff !important; }

/* menu */
.menu_navcc, .menu_nav {
	width: 1200px !important;
	height: 50px !important;
	margin: 0 !important;
	float: none !important;
	background: var(--blue) !important;
}
.menu_nav .nav_content {
	display: flex;
	width: 1200px !important;
	margin: 0;
	padding: 0 !important;
	background: none !important;
}
.menu_nav .nav_content li {
	flex: 1 1 0;
	width: auto !important;
	height: 50px !important;
	padding: 0 !important;
	background: none !important;
	line-height: 50px !important;
	text-align: center;
}
.menu_nav .nav_content li a {
	display: block;
	width: auto !important;
	height: 50px !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background .2s;
}
.menu_nav .nav_content li a span { padding: 0 !important; }
.menu_nav .nav_content li a:hover, .menu_nav .nav_content li.current a {
	background: var(--blue-d);
	box-shadow: inset 0 -3px 0 #ffcf40;
	color: #fff !important;
}
.menu_nav_right { display: none !important; }

/* footer */
#siteBottom {
	width: 1200px !important;
	margin: 24px 0 0 !important;
	padding: 24px 32px !important;
	box-sizing: border-box;
	background: #1d2b3a !important;
	border-radius: var(--radius) var(--radius) 0 0;
	text-align: left !important;
}
#siteCopy {
	border: none !important;
	text-align: left !important;
	color: #aeb9c7;
	font-size: 13px;
	line-height: 26px !important;
}
#siteCopy p { margin: 0; }
#siteCopy a { color: #d5dde7 !important; text-decoration: none; }

/* cards: block headings with a blue bar, "更多 ›" on the right */
.card-h, .formList h4, .detail > h4 {
	position: relative;
	height: 50px !important;
	line-height: 50px !important;
	margin: 0 !important;
	padding: 0 18px 0 20px !important;
	background: none !important;
	border-bottom: 1px solid var(--line);
	color: var(--text) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
}
.card-h::before, .formList h4::before, .detail > h4::before {
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	width: 4px;
	height: 20px;
	background: var(--blue);
	border-radius: 0 2px 2px 0;
}
h4 em {
	height: 50px !important;
	line-height: 50px !important;
	margin: 0 !important;
}
.more, h4 em a {
	display: inline-flex;
	align-items: center;
	color: var(--muted) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	text-decoration: none;
}
.more::after, h4 em a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 5px;
	border-right: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
	transform: rotate(45deg);
}
.more:hover, h4 em a:hover { color: var(--blue) !important; }

/* article lists: title left, light date right */
.list-ul, .formList ul {
	margin: 0 !important;
	padding: 8px 18px 12px !important;
	border: none !important;
	height: auto !important;
	width: auto !important;
	list-style: none;
}
.list-ul li, .formList ul li {
	display: flex !important;
	align-items: center;
	width: auto !important;
	margin: 0 !important;
	line-height: 38px;
	border-bottom: 1px solid #f1f3f6;
}
.list-ul li:last-child, .formList ul li:last-child { border-bottom: none; }
.list-ul li a, .formList ul li a {
	flex: 1;
	min-width: 0;
	width: auto !important;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	border: none !important;
	color: var(--text) !important;
	text-decoration: none;
}
.list-ul li a:hover, .formList ul li a:hover { color: var(--blue) !important; }
.list-ul li span, .formList ul li span {
	order: 2;
	flex: none;
	float: none !important;
	position: static !important;
	margin-left: 16px;
	color: var(--muted);
	font-size: 13px;
}
.list-ul li .new {
	order: 1;
	flex: none;
	margin-left: 6px;
	padding: 0 5px;
	border-radius: 3px;
	background: #e8553e;
	color: #fff;
	font-size: 12px;
	font-style: normal;
	line-height: 18px;
}

/* inner pages: breadcrumb, section menu on the left, content card on the right */
.cur {
	display: flex;
	align-items: center;
	padding: 16px 2px 12px !important;
	background: none !important;
	color: var(--muted);
	font-size: 13px;
}
.cur em { display: none !important; }
.cur a, .cur span, .cur i { float: none !important; }
.cur a { color: var(--muted) !important; text-decoration: none; }
.cur a:hover { color: var(--blue) !important; }
.cur span { color: var(--text) !important; }
.cur i {
	width: 6px !important;
	height: 6px !important;
	margin: 0 12px !important;
	background: none !important;
	border-right: 1.5px solid #b5bdc8;
	border-top: 1.5px solid #b5bdc8;
	transform: rotate(45deg);
}
.cur + .sbar, .cur ~ .sbox, .cur ~ .sbox1 { margin-top: 0; }
.sbar {
	width: 220px !important;
	padding: 8px 0 !important;
	margin-right: 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.sbar ul, .sbar li { width: auto !important; float: none !important; padding: 0 !important; list-style: none; margin: 0; }
.sbar li a {
	display: block;
	width: auto !important;
	height: auto !important;
	padding: 0 20px !important;
	line-height: 42px !important;
	background: none !important;
	border-left: 3px solid transparent;
	color: var(--text) !important;
	text-decoration: none;
}
.sbar li a:hover { background: var(--blue-l) !important; color: var(--blue) !important; }
.sbar li a.slect { border-left-color: var(--blue); background: var(--blue-l) !important; color: var(--blue) !important; font-weight: 600; }
.sbox { width: 962px !important; }
.sbox1 { width: 1200px !important; }
.sbox .st_lb, .sbox1 .st_lb { width: auto !important; float: none !important; }
.formList, .sbox .formList, .sbox1 .formList {
	width: auto !important;
	height: auto !important;
	min-height: 360px;
	background: #fff;
	border: 1px solid var(--line) !important;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

/* article / form page */
.detail {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding-bottom: 24px;
	background: #fff;
	border: 1px solid var(--line) !important;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.detail > h4 {
	height: auto !important;
	line-height: 1.5 !important;
	padding: 22px 32px 18px !important;
	font-size: 22px !important;
	text-align: center;
}
.detail > h4::before { display: none; }
.detail > p[align="right"], .detail > .meta {
	margin: 0 !important;
	padding: 10px 32px;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
	border-bottom: 1px solid var(--line);
}
.detail > .meta span + span { margin-left: 28px; }
.detail > .meta a { color: var(--blue) !important; }
.detail pre {
	white-space: pre-wrap;
	word-break: break-word;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.9;
	margin: 20px 12px;
}
.detail pre img { max-width: 100%; height: auto; }

/*
 * Article body. Most bodies were pasted from Word into the old editor and carry its fonts and sizes inline
 * (楷体_gb2312, <font size="5">, 15pt ...), so they read like headings; here every body reads the same.
 * Bold, colours, alignment, tables and pictures are kept.
 */
.detail .article {
	padding: 24px 56px 8px;
	color: #333;
	font-size: 16px;
	line-height: 1.85;
	word-break: break-word;
}
.detail .article.plain { white-space: pre-line; }
.detail .article * {
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	letter-spacing: normal !important;
}
.detail .article p, .detail .article div { margin: 0 0 .9em !important; }
.detail .article p[style*="text-indent"] { text-indent: 2em !important; }
.detail .article h1, .detail .article h2, .detail .article h3 { font-size: 18px !important; margin: 1.2em 0 .6em; }
.detail .article h4, .detail .article h5, .detail .article h6 { font-size: 16px !important; margin: 1em 0 .5em; }
.detail .article img { max-width: 100%; height: auto !important; }
.detail .article table { max-width: 100%; border-collapse: collapse; margin: 0 auto 1em; font-size: 14px !important; }
.detail .article table * { font-size: 14px !important; line-height: 1.6 !important; }
.detail .article td, .detail .article th { padding: 6px 10px; border-color: #d5dbe3; }
.detail .article td p, .detail .article th p { margin: 0 !important; text-indent: 0 !important; }
.detail .article a { color: var(--blue); }

/*
 * Breadcrumb: on an article it becomes the top strip of the article card, at the card's inset; on list pages the
 * menu, the section list and the card title already say where one is, so it is left out.
 */
.cur:has(+ .detail) {
	margin: 20px 0 0 !important;
	padding: 16px 32px 0 !important;
	background: #fff !important;
	border: 1px solid var(--line);
	border-bottom: 0;
	border-radius: var(--radius) var(--radius) 0 0;
	box-shadow: var(--shadow);
	clip-path: inset(-6px -6px 0 -6px);
}
.cur + .detail { margin-top: -1px !important; border-top: 0 !important; border-radius: 0 0 var(--radius) var(--radius); clip-path: inset(0 -6px -6px -6px); }
.cur + .detail > h4 { padding-top: 14px !important; }
.cur span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cur > a:first-of-type { display: inline-flex; align-items: center; }
.cur > a:first-of-type::before {
	content: "";
	width: 14px;
	height: 14px;
	margin-right: 5px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cur:has(+ .sbar), .cur:has(+ .sbox1) { display: none !important; }
.cur:has(+ .sbar) ~ .sbar, .cur:has(+ .sbar) ~ .sbox, .cur:has(+ .sbox1) ~ .sbox1 { margin-top: 20px !important; }

/* buttons and inputs */
.btn, input.btn {
	height: 38px;
	padding: 0 24px !important;
	width: auto !important;
	border: none !important;
	border-radius: 6px;
	background: var(--blue) !important;
	color: #fff !important;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
}
.btn:hover { background: var(--blue-d) !important; }
input.input, .regTable input[type=text], .regTable input[type=password], .regTable select, .regTable textarea {
	height: 36px;
	padding: 0 10px;
	border: 1px solid #d5dce5 !important;
	border-radius: 6px;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
	background: #fff;
}
.regTable textarea { height: auto; padding: 8px 10px; }
input.input:focus, .regTable input:focus, .regTable select:focus, .regTable textarea:focus {
	outline: none;
	border-color: var(--blue) !important;
	box-shadow: 0 0 0 3px rgba(31, 111, 191, .12);
}
.regTable td { border-bottom: none !important; padding: 8px 6px 8px 0 !important; color: var(--text); }
.regTable td span { color: var(--muted); font-size: 13px; }

/* pagination */
.paginator {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	padding: 16px 4px !important;
	border: none !important;
	color: var(--muted);
	font-size: 13px;
}
.paginator a:link, .paginator a:visited, .paginator .thispage, .paginator a span, .paginator .thispage span,
.paginator .prev, .paginator .next, .paginator .pageGo:link, .paginator .pageGo:visited {
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
	height: auto !important;
	width: auto !important;
}
.paginator a, .paginator .thispage, .paginator span.prev, .paginator span.next {
	min-width: 32px;
	height: 32px !important;
	line-height: 32px !important;
	padding: 0 8px !important;
	box-sizing: border-box;
	text-align: center;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #fff !important;
	color: var(--text) !important;
	text-decoration: none;
}
.paginator a:hover { border-color: var(--blue); color: var(--blue) !important; }
.paginator .thispage { background: var(--blue) !important; border-color: var(--blue); color: #fff !important; }
.paginator .prev, .paginator .next { font-size: 0; position: relative; }
.paginator .prev::after, .paginator .next::after {
	content: "";
	position: absolute;
	top: 12px;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
}
.paginator .prev::after { left: 14px; transform: rotate(-135deg); }
.paginator .next::after { left: 11px; transform: rotate(45deg); }
.paginator span.prev, .paginator span.next { color: #c5ccd6 !important; }
.paginator .break { background: none !important; text-indent: 0 !important; width: auto !important; }
.paginator .break::after { content: "…"; }
.paginator input { width: 44px; height: 32px; border: 1px solid var(--line); border-radius: 6px; text-align: center; }

/* slider captcha (js/slide-captcha.js) */
.sc { position: relative; width: 100%; max-width: 320px; user-select: none; -webkit-user-select: none; }
.sc-bar {
	position: relative;
	height: 38px;
	border: 1px solid #d5dce5;
	border-radius: 6px;
	background: #f6f8fb;
	overflow: hidden;
}
.sc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #e6f0fb; }
.sc-text { position: absolute; inset: 0; padding-left: 44px; text-align: center; line-height: 36px; color: var(--muted); font-size: 13px; }
.sc-knob {
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 36px;
	background: #fff;
	border-right: 1px solid #d5dce5;
	border-radius: 6px 0 0 6px;
	box-shadow: 1px 0 3px rgba(0, 0, 0, .06);
	cursor: grab;
	touch-action: none;
}
.sc-knob::after {
	content: "";
	position: absolute;
	left: 16px;
	top: 14px;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--blue);
	border-top: 2px solid var(--blue);
	transform: rotate(45deg);
}
.sc-drag .sc-knob { background: var(--blue); cursor: grabbing; border-radius: 6px; }
.sc-drag .sc-knob::after { border-color: #fff; }
.sc-panel {
	display: none;
	position: absolute;
	left: 50%;
	bottom: 46px;
	z-index: 50;
	width: 320px;
	margin-left: -160px;
	padding: 12px;
	box-sizing: content-box;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(20, 40, 70, .2);
}
.sc-open .sc-panel { display: block; }
.sc-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.sc-refresh { color: var(--muted) !important; font-weight: 400; font-size: 13px; text-decoration: none; }
.sc-refresh:hover { color: var(--blue) !important; }
.sc-pic { position: relative; width: 320px; height: 160px; border-radius: 6px; overflow: hidden; background: #eef1f5; }
.sc-bg { display: block; width: 100%; height: 100%; }
.sc-piece { position: absolute; left: 0; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.sc-ok .sc-bar { border-color: #52c41a; background: #f0faeb; }
.sc-ok .sc-fill, .sc-ok .sc-knob { display: none; }
.sc-ok .sc-text { padding-left: 0; color: #389e0d; }
.sc-ok .sc-text::before { content: "✓ "; }
.sc-fail .sc-bar { border-color: #e8553e; }
.sc-fail .sc-text { color: #e8553e; }
.sc-need .sc-bar { animation: sc-shake .4s; border-color: #e8553e; }
@keyframes sc-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* common.css gives every element #666; let them inherit the page colour instead */
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, th, td, em, label { color: inherit; }
.formList ul li { background: none !important; border-bottom: 1px solid #f1f3f6 !important; }
.sbox1 { padding-left: 0 !important; }
.sbar li a { float: none !important; }

/* menu text: an old rule positions spans absolutely, which left each label starting at the middle of its cell */
.menu_nav .nav_content li a span { position: static !important; display: inline !important; float: none !important; }

/* pagination (js/page.js, 2026-10-29): total left, compact page list in the middle, "前往 [ ] 页" right */
.pager {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 4px 6px;
	color: var(--muted);
	font-size: 13px;
}
.pg-total { flex: none; }
.pg-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 4px; }
.pg-num, .pg-btn {
	min-width: 34px;
	height: 34px;
	line-height: 34px;
	padding: 0 10px;
	box-sizing: border-box;
	border-radius: 17px;
	text-align: center;
	color: var(--text) !important;
	text-decoration: none;
	transition: background .15s, color .15s;
}
.pg-num:hover, a.pg-btn:hover { background: #e8eef6; color: var(--blue) !important; }
.pg-num.on { background: var(--blue); color: #fff !important; font-weight: 600; }
.pg-btn { padding: 0 14px; }
.pg-btn.off { color: #c5ccd6 !important; cursor: default; }
.pg-gap { width: 24px; text-align: center; color: var(--muted); }
.pg-go { flex: none; display: flex; align-items: center; gap: 6px; }
.pg-go input {
	width: 48px;
	height: 30px;
	border: 1px solid #d5dce5;
	border-radius: 15px;
	text-align: center;
	font-size: 13px;
	font-family: inherit;
	color: var(--text);
}
.pg-go input:focus { outline: none; border-color: var(--blue); }

/* older content pages: the body block under the title had 20 px at the sides and none above */
.detail > div[style*="margin-left:20px"] { margin: 0 !important; padding: 24px 56px 8px; line-height: 1.85; }
.detail > div[style*="margin-left:20px"] > p { margin: 0 0 .9em; }

/* member registration (registerPre.jsp, member1/2/3.jsp, inc/reg-top.jsp, js/register.js) */
.reg-page { margin-top: 20px !important; padding-bottom: 40px; }
.reg-page > .cur { padding: 16px 32px 0 !important; }
.reg-top { padding: 28px 56px 0; }
.reg-steps { display: flex; margin: 0 auto; padding: 0; max-width: 640px; list-style: none; counter-reset: s; }
.reg-steps li {
	flex: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 13px;
}
.reg-steps li::before {
	content: "";
	position: absolute;
	top: 15px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: var(--line);
	z-index: 0;
}
.reg-steps li:first-child::before { display: none; }
.reg-steps li.on::before, .reg-steps li.done::before { background: var(--blue); }
.reg-steps b {
	position: relative;
	z-index: 1;
	width: 32px;
	height: 32px;
	line-height: 32px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--line);
	box-sizing: border-box;
	text-align: center;
	font-weight: 600;
	line-height: 28px;
}
.reg-steps li.on { color: var(--blue); font-weight: 600; }
.reg-steps li.on b { background: var(--blue); border-color: var(--blue); color: #fff; }
.reg-steps li.done { color: var(--text); }
.reg-steps li.done b { border-color: var(--blue); color: var(--blue); }
.reg-types {
	display: flex;
	justify-content: center;
	gap: 4px;
	width: max-content;
	margin: 32px auto 0;
	padding: 4px;
	background: var(--bg);
	border-radius: 10px;
}
.reg-types a {
	padding: 9px 28px;
	border-radius: 8px;
	color: var(--muted) !important;
	text-decoration: none;
	font-size: 14px;
}
.reg-types a:hover { color: var(--blue) !important; }
.reg-types a.on { background: #fff; color: var(--blue) !important; font-weight: 600; box-shadow: 0 1px 3px rgba(20, 40, 70, .12); }

.agreement { max-width: 860px; margin: 0 auto; padding: 36px 56px 0; color: #333; }
.agreement h2 { margin: 0 0 8px; font-size: 22px; text-align: center; color: var(--text); }
.agreement .lead { margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); }
.agreement ol { margin: 0; padding: 0; list-style: none; counter-reset: a; }
.agreement li { position: relative; margin: 0 0 16px; padding-left: 40px; font-size: 15px; line-height: 1.9; counter-increment: a; }
.agreement li::before {
	content: counter(a);
	position: absolute;
	left: 0;
	top: 4px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	border-radius: 50%;
	background: var(--blue-l);
	color: var(--blue);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}
.reg-actions { display: flex; justify-content: center; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.btn-primary, .btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	height: 44px;
	padding: 0 28px;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	text-decoration: none !important;
	cursor: pointer;
	box-sizing: border-box;
}
.btn-primary { border: none; background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--blue-d); }
.btn-ghost { border: 1px solid #d5dce5; background: #fff; color: var(--text) !important; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue) !important; }

.reg-form { max-width: 760px; margin: 0 auto; padding: 8px 56px 0; }
.reg-form .hp { position: absolute; left: -9999px; }
.reg-note { margin: 28px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.reg-note em, .reg-form label em { color: #e5484d; font-style: normal; margin-right: 3px; }
.reg-alert { margin: 24px 0 0; padding: 12px 16px; border-radius: 8px; background: #fff1f0; border: 1px solid #ffccc7; color: #cf1322; font-size: 14px; }
.reg-sec {
	margin: 36px 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
	color: var(--text);
}
.reg-sec::before { content: ""; display: inline-block; width: 4px; height: 15px; margin-right: 10px; vertical-align: -2px; border-radius: 2px; background: var(--blue); }
.reg-form .f { display: flex; align-items: flex-start; margin-bottom: 18px; }
.reg-form .f > label { flex: 0 0 120px; padding: 10px 16px 0 0; text-align: right; color: var(--text); font-size: 14px; box-sizing: border-box; }
.reg-form .fc { flex: 1; min-width: 0; }
.reg-form .fc > input:not([type=checkbox]), .reg-form .pw input, .reg-form textarea {
	width: 340px;
	max-width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #d5dce5;
	border-radius: 8px;
	box-sizing: border-box;
	background: #fff;
	color: var(--text);
	font-family: inherit;
	font-size: 14px;
	transition: border-color .15s, box-shadow .15s;
}
.reg-form .fc > input.wide { width: 100%; }
.reg-form textarea { width: 100%; height: auto; padding: 10px 12px; line-height: 1.7; resize: vertical; }
.reg-form input:focus, .reg-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 191, .12); }
.reg-form .tip { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.reg-form .tip:empty { display: none; }
.reg-form .f.err input:not([type=checkbox]), .reg-form .f.err textarea { border-color: #e5484d; }
.reg-form .f.err input:focus, .reg-form .f.err textarea:focus { box-shadow: 0 0 0 3px rgba(229, 72, 77, .12); }
.reg-form .f.err .tip { display: block; color: #e5484d; }
.reg-form .f.err .tip::before { content: "!"; display: inline-block; width: 14px; height: 14px; line-height: 14px; margin-right: 5px; border-radius: 50%; background: #e5484d; color: #fff; font-size: 10px; font-weight: 700; text-align: center; vertical-align: 1px; }
.reg-form .f.ok > .fc > input, .reg-form .f.ok .pw input {
	padding-right: 36px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318a058' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}
.reg-form .f.ok .pw input { background-position: right 44px center; padding-right: 66px; }
.reg-form .tip a.fix { color: var(--blue); }
.reg-form .pw { position: relative; width: 340px; max-width: 100%; }
.reg-form .pw input { width: 100%; padding-right: 40px; }
.reg-form .eye {
	position: absolute;
	right: 4px;
	top: 4px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 6px;
	background: none;
	cursor: pointer;
	color: var(--muted);
}
.reg-form .eye::before {
	content: "";
	position: absolute;
	inset: 8px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.reg-form .eye.on::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.reg-form .eye:hover { color: var(--blue); }
.reg-form .meter { display: flex; align-items: center; gap: 4px; width: 340px; max-width: 100%; margin-top: 8px; }
.reg-form .meter i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background .2s; }
.reg-form .meter span { width: 28px; text-align: right; font-size: 12px; color: var(--muted); }
.reg-form .meter.l1 i:nth-child(1) { background: #e5484d; }
.reg-form .meter.l2 i:nth-child(-n+2) { background: #f5a623; }
.reg-form .meter.l3 i { background: #18a058; }
.reg-form .meter.l1 span { color: #e5484d; }
.reg-form .meter.l2 span { color: #f5a623; }
.reg-form .meter.l3 span { color: #18a058; }
.reg-form .rules { margin: 8px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.9; color: var(--muted); }
.reg-form .rules li::before { content: "○"; display: inline-block; width: 16px; color: #c5ccd6; }
.reg-form .rules li.ok { color: #18a058; }
.reg-form .rules li.ok::before { content: "✓"; color: #18a058; font-weight: 700; }
.reg-form .f.err .rules { display: none; }
.reg-form .chks { display: flex; flex-wrap: wrap; gap: 8px 10px; padding-top: 4px; }
.reg-form .chk { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #d5dce5; border-radius: 6px; font-size: 13px; cursor: pointer; }
.reg-form .chk:has(input:checked) { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }
.reg-form .chk input { margin: 0; accent-color: var(--blue); }
.reg-form .sc { max-width: 340px; }
.reg-form .agree { display: flex; align-items: center; gap: 6px; margin: 4px 0 20px; font-size: 13px; color: var(--muted); cursor: pointer; }
.reg-form .agree input { margin: 0; accent-color: var(--blue); }
.reg-form .agree a { color: var(--blue); }
.reg-form .f.err .agree { color: #e5484d; }
.reg-form button[type=submit] { width: 340px; max-width: 100%; }
.reg-form .sub { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.reg-form .sub a { color: var(--blue); }

/* member centre (member/index.jsp, member/member1/2/3.jsp, member/passwdInc.jsp, member/inc/memMenu.jsp) */
.mc, #mem_main { display: flex; align-items: flex-start; gap: 16px; margin-top: 20px; }
#mem_main { flex-direction: row-reverse; }
#mem_main > .mem_main { flex: 1; min-width: 0; float: none !important; width: auto !important; padding: 24px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.mc-nav {
	position: sticky;
	top: 16px;
	flex: 0 0 220px;
	padding: 8px 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.mc-who { padding: 16px 20px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.mc-who b { display: block; font-size: 15px; color: var(--text); word-break: break-all; }
.mc-who span { display: inline-block; margin-top: 6px; padding: 1px 8px; border-radius: 10px; background: var(--blue-l); color: var(--blue); font-size: 12px; }
.mc-nav a {
	display: block;
	padding: 0 20px;
	line-height: 42px;
	border-left: 3px solid transparent;
	color: var(--text) !important;
	text-decoration: none;
	font-size: 14px;
}
.mc-nav a:hover { background: var(--blue-l); color: var(--blue) !important; }
.mc-nav a.on { border-left-color: var(--blue); background: var(--blue-l); color: var(--blue) !important; font-weight: 600; }
.mc-nav a.hot { color: var(--blue) !important; font-weight: 600; }
.mc-nav a.hot i { margin-left: 4px; font-style: normal; }
.mc-nav a.out { margin-top: 6px; border-top: 1px solid var(--line); color: var(--muted) !important; }
.mc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mc-card { padding: 28px 40px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.mc-head { padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mc-head h2 { margin: 0 0 6px; font-size: 20px; color: var(--text); }
.mc-head p { margin: 0; color: var(--muted); font-size: 13px; }
.mc-head em { color: #e5484d; font-style: normal; }
.mc-form { max-width: none; padding: 0; }
.mc-form .reg-sec:first-of-type { margin-top: 20px; }
.reg-ok { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; background: #effaf3; border: 1px solid #b7ebc6; color: #18794e; font-size: 14px; }
.mc-card > .reg-alert { margin-top: 16px; }
.mc-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 8px 0 0; }
.mc-info > div { display: flex; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.mc-info dt { flex: 0 0 80px; color: var(--muted); }
.mc-info dd { margin: 0; color: var(--text); word-break: break-all; }
.mc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mc-act {
	display: block;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-decoration: none !important;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.mc-act:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(20, 40, 70, .08); transform: translateY(-1px); }
.mc-act b { display: block; margin-bottom: 6px; font-size: 15px; color: var(--text); }
.mc-act span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.mc-act.primary { background: var(--blue); border-color: var(--blue); }
.mc-act.primary b, .mc-act.primary span { color: #fff; }
.mc-act.primary span { opacity: .85; }
.mc-welcome { text-align: center; }
.mc-welcome .reg-steps { margin-bottom: 24px; }
.mc-welcome h2 { margin: 0 0 8px; font-size: 20px; color: #18794e; }
.mc-welcome p { margin: 0; color: var(--muted); }
.reg-form select {
	width: 340px;
	max-width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #d5dce5;
	border-radius: 8px;
	background: #fff;
	color: var(--text);
	font-family: inherit;
	font-size: 14px;
}
.reg-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 191, .12); }
.reg-form .rds { display: flex; gap: 10px; padding-top: 4px; }
.reg-form .rd { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border: 1px solid #d5dce5; border-radius: 6px; font-size: 14px; cursor: pointer; }
.reg-form .rd:has(input:checked) { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }
.reg-form .rd input { margin: 0; accent-color: var(--blue); }
.reg-form .f.warn > .fc > input { border-color: #f5a623; }
.reg-form .f.warn .tip { color: #b26a00; }
.reg-form .count { display: block; margin-top: 4px; text-align: right; font-size: 12px; color: var(--muted); }
.reg-form .count.near { color: #b26a00; }
.reg-form .count + .tip:empty { display: none; }
.reg-form .f.actions { margin-top: 28px; }
.reg-form button[disabled] { opacity: .7; cursor: progress; }

/* member centre before the 入园申请 is approved (MemberApprovalFilter) */
.mc-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.mc-fs[disabled] input, .mc-fs[disabled] select, .mc-fs[disabled] textarea { background: var(--bg) !important; color: var(--text); }
.reg-info { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; background: var(--blue-l); border: 1px solid #cfe0f3; color: var(--blue-d); font-size: 14px; }
.mc-nav span.off { display: block; padding: 0 20px; line-height: 42px; border-left: 3px solid transparent; color: #b5bdc8; cursor: not-allowed; font-size: 14px; }
.mc-act.off { display: block; padding: 20px 22px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fafbfc; cursor: not-allowed; }
.mc-act.off b { display: block; margin-bottom: 6px; color: var(--muted); font-size: 15px; }
.mc-act.off span { color: #b5bdc8; font-size: 13px; }
.mc-welcome h2.wait { color: #8a5a00; }
.mc-welcome h2.bad { color: #cf1322; }
.mc-welcome .mc-go { margin-top: 18px; }
.mc-welcome .mc-count { color: var(--muted); font-size: 13px; }
.reg-steps li.bad b { border-color: #e5484d; background: #e5484d; color: #fff; }
