* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; background: #f3f5f8; color: #202a37; }
button, input { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.shell { max-width: 1400px; min-height: 100vh; margin: auto; background: #ffffff; box-shadow: 0 10px 40px rgba(26, 45, 71, 0.06); }
header { background: #172941; color: #ffffff; padding: 18px 24px; display: flex; align-items: center; gap: 14px; }
header b { font-size: 21px; }
header small { display: block; color: #b8c8d8; letter-spacing: 1px; margin-top: 3px; font-size: 11px; }
.brand-icon { background: #315479; border-radius: 12px; padding: 10px 12px; font-size: 22px; }
.head-link { margin-left: auto; color: #8be0af; text-decoration: none; font-size: 13px; background: #234c49; padding: 7px 12px; border-radius: 30px; }
.head-btn { border: 0; background: transparent; color: #b8c8d8; font-size: 13px; padding: 6px 10px; }
.hamburger { display: none; border: 0; background: transparent; color: #ffffff; font-size: 22px; padding: 2px 6px; }

.body { display: flex; min-height: calc(100vh - 78px); }
aside { background: #1d304d; width: 220px; flex-shrink: 0; padding: 18px 10px; }
.nav-btn { border: 0; background: transparent; color: #c4d0e1; width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; text-align: left; margin: 3px 0; font-size: 14px; }
.nav-btn:hover, .nav-btn.selected { background: #36577b; color: #ffffff; }

main { flex: 1; min-width: 0; padding: 26px; max-width: 1100px; }
.top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
h1 { font-size: 26px; margin: 0 0 5px; }
h2 { font-size: 17px; margin: 0 0 16px; }
.top p, .note { color: #75808d; font-size: 13px; margin: 0; }
.note { margin: 6px 0 14px; line-height: 1.6; }
.note a, .para a { color: #386b9e; }
.para { font-size: 14px; line-height: 1.8; color: #40495a; margin: 0 0 12px; }
.tabs { display: flex; gap: 6px; }
.tabs button { border: 0; background: transparent; color: #738091; padding: 8px 16px; border-radius: 20px; white-space: nowrap; }
.tabs .on { background: #e8edf3; color: #182c46; font-weight: 700; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.metric { border-radius: 15px; background: #f1f3f6; padding: 18px; min-width: 0; }
.metric span { display: block; color: #697482; font-size: 13px; }
.metric strong { display: block; font-size: 28px; margin-top: 12px; color: #19283b; }
.metric small { display: block; color: #8c96a3; font-size: 12px; margin-top: 6px; }

section { border: 1px solid #e7eaf0; border-radius: 16px; padding: 22px; margin: 0 0 18px; background: #ffffff; }
.legend { font-size: 12px; color: #697482; margin-bottom: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: middle; }
.legend .c1 { background: #4d7fb8; }
.legend .c2 { background: #3fae7a; }
.legend .c3 { background: #d9534f; }
.trend { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; overflow-x: auto; }
.trend .col { flex: 1; min-width: 22px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.trend .stack { width: 100%; display: flex; flex-direction: column-reverse; align-items: stretch; height: 130px; justify-content: flex-start; }
.trend .seg { width: 100%; border-radius: 3px 3px 0 0; }
.trend .seg.c1 { background: #4d7fb8; }
.trend .seg.c2 { background: #3fae7a; }
.trend .seg.c3 { background: #d9534f; }
.trend .lbl { font-size: 10px; color: #8c96a3; margin-top: 6px; white-space: nowrap; }

.barrow { padding: 10px 0; }
.barrow .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 8px; }
.bar { height: 10px; border-radius: 10px; background: #edf0f3; overflow: hidden; }
.bar i { display: block; height: 100%; background: #6792bd; border-radius: 10px; }

.task { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e3e7ed; border-radius: 12px; padding: 14px; background: #ffffff; margin-bottom: 10px; }
.task .main { min-width: 0; }
.task b { font-size: 14px; }
.task small { display: block; color: #778291; margin-top: 6px; font-size: 12px; line-height: 1.5; }
.task em { font-style: normal; border-radius: 30px; padding: 5px 9px; background: #f2f2f2; white-space: nowrap; font-size: 12px; }
.task em.ok { background: #e1f5e8; color: #267547; }
.task em.bad { background: #fce9e7; color: #b33c32; }
.task a { color: #386b9e; font-size: 12px; text-decoration: none; white-space: nowrap; }
.empty { color: #8c96a3; font-size: 13px; padding: 10px 0; }

input[type=text], input[type=password] { width: 100%; border: 1px solid #d9e0e8; padding: 12px; border-radius: 11px; margin-bottom: 16px; font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.cards section { margin: 0; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.three div { background: #f3f5f7; padding: 10px; border-radius: 8px; font-size: 12px; color: #677384; }
.three b { display: block; font-size: 17px; color: #233c59; margin-top: 6px; }
.cards p { font-size: 12px; color: #778291; margin: 12px 0 0; line-height: 1.6; }
.btn-dark { display: inline-block; background: #172941; color: #ffffff; text-decoration: none; padding: 11px 16px; border-radius: 10px; font-size: 14px; }
footer { margin: 32px 0 0; color: #8c96a3; text-align: center; font-size: 12px; }

.login-layer { position: fixed; inset: 0; background: #172941; display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.login-card { background: #ffffff; border-radius: 18px; padding: 32px 28px; width: 100%; max-width: 380px; text-align: center; }
.login-mark { width: 54px; height: 54px; border-radius: 14px; background: #315479; color: #ffffff; font-size: 26px; line-height: 54px; margin: 0 auto 14px; }
.login-card h1 { font-size: 20px; margin: 0 0 6px; }
.login-card p { color: #75808d; font-size: 13px; margin: 0 0 20px; }
.login-card button { width: 100%; border: 0; background: #172941; color: #ffffff; padding: 13px; border-radius: 11px; font-size: 15px; }
.login-msg { color: #b33c32; font-size: 13px; margin-top: 12px; min-height: 18px; }

@media (max-width: 850px) {
	.metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards { grid-template-columns: 1fr; }
	aside { width: 160px; }
	.nav-btn { font-size: 13px; padding: 12px 8px; }
	main { padding: 18px; }
}
@media (max-width: 620px) {
	header { padding: 12px 14px; gap: 10px; }
	header b { font-size: 16px; }
	header small { font-size: 9px; }
	.head-link { display: none; }
	.hamburger { display: block; }
	.brand-icon { padding: 7px 9px; font-size: 18px; }
	aside { display: none; position: absolute; z-index: 5; top: 62px; left: 0; bottom: 0; width: 230px; box-shadow: 10px 10px 25px rgba(21, 35, 59, 0.2); }
	aside.show { display: block; }
	main { padding: 14px; width: 100%; }
	.top { flex-direction: column; }
	h1 { font-size: 22px; }
	.metric strong { font-size: 24px; }
	section { padding: 16px; }
}
