html, body, #app { height: 100%; margin: 0; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: #f5f7fa; }

.login-wrap {
  height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2b579a 0%, #4a90d9 100%);
}
.login-card { width: 380px; padding: 32px; }
.login-title { text-align: center; margin-bottom: 20px; color: #2b579a; font-size: 20px; font-weight: 600; }

.layout { height: 100%; }
.app-header { background: #2b579a; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 56px; }
.app-header h2 { margin: 0; font-size: 18px; font-weight: 600; }
.app-header .user { font-size: 14px; }

.page { padding: 20px; }
.filter-bar { margin-bottom: 16px; }
.stat-card { border-radius: 8px; color: #fff; padding: 16px 20px; }
.stat-card .label { font-size: 13px; opacity: .9; }
.stat-card .value { font-size: 26px; font-weight: 700; margin-top: 6px; }
.stat-blue { background: linear-gradient(135deg,#2b579a,#4a90d9); }
.stat-green { background: linear-gradient(135deg,#3a9d6f,#67c23a); }
.stat-orange { background: linear-gradient(135deg,#e6a23c,#f8a500); }
.stat-red { background: linear-gradient(135deg,#c0392b,#e74c3c); }
.stat-purple { background: linear-gradient(135deg,#7d3c98,#9b59b6); }

.el-table .cell { font-size: 13px; }
.section-title { font-size: 16px; font-weight: 600; color: #2b579a; margin: 18px 0 12px; }
/* 侧边菜单：强制单列纵向、全宽块级，杜绝横向换行成多列 */
.layout .el-aside { display: flex; flex-direction: column; overflow-x: hidden; }
.layout .el-menu { display: block !important; flex-direction: column !important; flex-wrap: nowrap !important; width: 100% !important; border-right: none; overflow-y: auto; }
.layout .el-menu .el-menu-item { display: block !important; width: 100% !important; box-sizing: border-box; white-space: nowrap; text-align: left; }
.layout .el-menu--horizontal { display: block !important; }

.tag-normal { background:#e6f4ff; color:#1677ff; }
.tag-highend { background:#fff1e6; color:#e6a23c; }
.tag-corporate { background:#e8f7ef; color:#3a9d6f; }
