* { box-sizing: border-box; }
body {
	margin: 0;
	background: #f5f7fb;
	font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
	color: #1f2937;
}
.page {
	max-width: 820px;
	margin: 40px auto;
	padding: 24px;
}
.topbar {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #ffffff;
	border-radius: 16px;
	padding: 22px 28px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.logo {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 16px;
	background: #f3f4f6;
}
.title-wrap h1 {
	margin: 0;
	font-size: 2rem;
	line-height: 1.2;
}
.topbar p {
	margin: 8px 0 0;
	color: #4b5563;
	line-height: 1.8;
	font-size: 0.98rem;
}
.form-panel {
	background: #ffffff;
	border-radius: 16px;
	padding: 28px;
	margin-top: 24px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px 24px;
}
.field {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.field.full {
	grid-column: 1 / -1;
}
label {
	font-weight: 600;
	color: #374151;
}
.required {
	color: #dc2626;
	margin-left: 4px;
}
.optional {
	color: #6b7280;
	font-size: 12px;
	margin-left: 6px;
	font-weight: 500;
}
input, textarea {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 1rem;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background: #fff;
	color: #111827;
}
input:focus, textarea:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.is-error {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important;
}
.error-text {
	min-height: 18px;
	color: #dc2626;
	font-size: 0.82rem;
	line-height: 1.5;
}
textarea {
	min-height: 120px;
	resize: vertical;
}
.submit-wrap {
	margin-top: 15px;
	text-align: center;
}
.submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	color: #fff;
	padding: 14px 30px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.2s ease;
}
.submit-btn:hover { transform: translateY(-1px); }
.submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}
@media (max-width: 640px) {
	.page { padding: 16px; }
	.topbar { flex-direction: column; align-items: flex-start; }
	.grid { grid-template-columns: 1fr; }
	.form-panel { padding: 20px 16px; }
}

body { margin: 0; background: #eef2f3; color: #172126; font-family: "Microsoft YaHei", sans-serif; }
.shell { max-width: 1480px; margin: 0 auto; padding: 34px 22px; }
h1 { margin: 0; font-size: 26px; }
.subtle { color: #647277; margin: 8px 0 22px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #d9e1e2; border-radius: 8px; }
table { width: 100%; min-width: 1100px; border-collapse: collapse; }
th, td { padding: 13px 14px; border-bottom: 1px solid #e7ecec; text-align: left; white-space: nowrap; }
th { background: #f7faf9; color: #31504e; font-weight: 700; }
td { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
tr:last-child td { border-bottom: 0; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 18px; }
.pager a, .pager span { padding: 8px 12px; border: 1px solid #ccd8d8; border-radius: 5px; text-decoration: none; color: #16655e; background: #fff; }
.pager .current { color: #fff; background: #16655e; border-color: #16655e; }
.empty, .error { padding: 32px; text-align: center; color: #687777; }
.error { color: #a83232; }
.modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 33, 35, .58); z-index: 5; }
.login-box { width: min(92vw, 390px); padding: 28px; background: #fff; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.login-box h2 { margin: 0 0 8px; }
.login-box p { color: #6b797a; margin: 0 0 20px; }
label { display: block; margin: 14px 0 7px; color: #344547; font-weight: 600; }
input { width: 100%; padding: 11px 12px; border: 1px solid #cbd6d5; border-radius: 5px; font-size: 15px; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { min-width: 0; }
.captcha { width: 112px; height: 42px; border: 1px solid #d5dddd; cursor: pointer; }
button { width: 100%; margin-top: 1px; padding: 12px; border: 0; border-radius: 5px; background: #16655e; color: #fff; font-size: 15px; cursor: pointer; }
.login-error { padding: 9px 10px; border-radius: 4px; background: #fff1f1; color: #b42318; }
