* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
#app { height: 100vh; }

/* 登录页 */
.login-wrap {
    height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex; align-items: center; justify-content: center;
}
.login-box {
    width: 380px; padding: 40px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.login-title { font-size: 28px; font-weight: bold; text-align: center; color: #303133; margin-bottom: 8px; }
.login-sub { text-align: center; color: #909399; margin-bottom: 30px; font-size: 14px; }
.login-tip { text-align: center; color: #909399; font-size: 12px; margin-top: 16px; }

/* 侧边栏 */
.aside { background: #1f2d3d !important; }
.logo {
    height: 60px; line-height: 60px; text-align: center;
    color: #fff; font-size: 18px; font-weight: bold;
    background: #18222f; letter-spacing: 1px;
}
.el-menu { border-right: none !important; }

/* 头部 */
.header {
    background: #fff !important; border-bottom: 1px solid #e6e6e6;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px !important;
}
.header-title { font-size: 16px; color: #303133; font-weight: 500; }
.user-info { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: #606266; }
.user-info .el-icon { font-size: 18px; }

/* 主区域 */
.main { padding: 0 !important; background: #f0f2f5; }
.page-frame { width: 100%; height: calc(100vh - 60px); border: none; background: #fff; }

/* 通用 */
.page-padding { padding: 16px; }
.toolbar {
    background: #fff; padding: 16px; margin-bottom: 12px;
    border-radius: 6px; display: flex; gap: 12px; align-items: center;
    flex-wrap: wrap;
}
.card-section {
    background: #fff; padding: 16px; border-radius: 6px; margin-bottom: 12px;
}
.text-muted { color: #909399; font-size: 12px; }
.money { color: #f56c6c; font-weight: 600; }